Tomcat's automatic reload of classes and Cocoon

2002-09-19 Thread Barbara Post

It works fine if I compile my classes with JBuilder and Tomcat running, but
it says Cocoon was not initialized if I build my webapp with JBuilder and
Tomcat running : i.e : JBuilder copies all the jars to WEB-INF/lib again,
instead of only the classes to WEB-INF/classes.
So Tomcat messes up with so many changed jars to reload at once and has
problems with their order.

Tomcat 4.0.4 with reloadable=true for my webapp.
Cocoon 2.1 from several days ago CVS.
JBuilder 6 Enterprise.
JDK 1.3.1.
Win NT4.

Just my 2 cents, someone may forward to Tomcat users mailing-list...

Babs


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: Tomcat's automatic reload of classes and Cocoon

2002-09-19 Thread Vadim Gritsenko

Barbara Post wrote:

It works fine if I compile my classes with JBuilder and Tomcat running, but
it says Cocoon was not initialized if I build my webapp with JBuilder and
Tomcat running : i.e : JBuilder copies all the jars to WEB-INF/lib again,
instead of only the classes to WEB-INF/classes.
So Tomcat messes up with so many changed jars to reload at once and has
problems with their order.


shameless plug So don't use JBuilder! Use IDEA. :) /shameless plug

Configure project output to WEB-INF/classes, and compile only modified 
classes in there.


another plug
With Resin, you don't have to even (re)compile: have .java and .class in 
WEB-INF/classes, and once you modify .java, Resin recompiles it and 
reloads app.
/another plug

Vadim



Tomcat 4.0.4 with reloadable=true for my webapp.
Cocoon 2.1 from several days ago CVS.
JBuilder 6 Enterprise.
JDK 1.3.1.
Win NT4.

Just my 2 cents, someone may forward to Tomcat users mailing-list...

Babs
  





-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]