Tomcat 5.0 on Jbuilder X Enterprise
4 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   joey_corleon
Posted On:   Sunday, January 18, 2004 11:39 AM

Hi,


Is it possible, and if yes how, to setup tomcat 5.0 on JbuilderX Enterprise?

Many thanks!

Re: Tomcat 5.0 on Jbuilder X Enterprise

Posted By:   Sid_Bos  
Posted On:   Tuesday, March 2, 2004 11:17 AM

I was able to get this working with JBuilder X Developer. It's kind of ugly, you have to work-around all the JBuilder library features.


I did the following. You'll need to update your paths appropriately.




  1. Install Tomcat 5 to a directory (C:jakarta-tomcat-5.0).
  2. Create a new configuration based on "Application".
  3. Set the Main Class to
    org.apache.catalina.startup.Bootstrap
  4. Set the VM parameters to be -Dcatalina.home="C:jakarta-tomcat-5.0" -classpath "W:commonjrelib ools.jar;C:jakarta-tomcat-5.0inootstrap.jar;ALLYOURCLASSES;"
  5. Set the Application Parameters to be -config "J:javadevTomcatconfserver8080.xml" -nonaming start
  6. On the Library tab, set it to only use specified libraries, and then remove all the libraries.


The key thing you'll need to do is figure out the classpath that would have been used if all the libraries you needed were included. For the classpath string in step #4 above, I actually have really long string that lists all the JDBC drivers and libraries we use.

Re: Tomcat 5.0 on Jbuilder X Enterprise

Posted By:   aa_aa  
Posted On:   Wednesday, February 4, 2004 03:17 PM

aaaa

Re: Tomcat 5.0 on Jbuilder X Enterprise

Posted By:   Anonymous  
Posted On:   Thursday, January 22, 2004 11:03 AM

copy a server installation, name it tomcat5



copy tomcat5 into your thirdparty dir



get the server8080.xml file generated from jbuilder, delete the comments so that is is not regenerated and change






to






then try and sort out the librarys..



thats as far as ive got. it is non functional and ive given up!

Re: Tomcat 5.0 on Jbuilder X Enterprise

Posted By:   Anonymous  
Posted On:   Thursday, January 22, 2004 10:57 AM

Dont bother. In fact dont bother with java, jbuilderx, tomcat5, jndi, pooled database connections, trying to frig the serverxml8080 file, trying to frig the required librarys into the build etc. Give up now before you waste two whole days and break your cordless keyboard against a wall. Give up and by an off the shelf package or something written by microsoft. i Give up! Sorry to be of no more help.

If you get it anywhere near working please please post some tips...!
About | Sitemap | Contact