Hi,

Tomcat is running on Redhat Linux and i start it manually also I'm using jdk 1.4.2.

Has anyone else got any ideas why this might be happening?
It also runs very slowly after the redeploy of the war?

Are there any problems with commons-loggins versions and classloading in Tomcat 5.0.19, do need to use a particular version.

Thanks for any help,
Owen

On Fri, 30 Apr 2004 09:28:15 -0500, Jacob Kjome <[EMAIL PROTECTED]> wrote:

I bet you are running this on Windows as a service.  I'm not sure what settings
are provided for the service upon install of Tomcat using the .exe file because
I never use it.  I always just unzip the package and run the service.bat to
install the service.  Of course, the service.bat that comes with Tomcat doesn't
add tools.jar to the classpath.  Here's a modified service.bat that does
(renamed to service.txt to avoid being removed by email servers).


Jake


Quoting Owen Fellows <[EMAIL PROTECTED]>:

Hi,

In the Manager I

- I undeploy and existing war.
- Then redeploy a new war but in the same context path.
   I use a xml file contaning the context and the war location.
   The war is extracted and the manager interface tells me that it is
deployed and running (the logs seem to indicated it gets deployed twice as i
see the debug information from my application scrolls past twice).

In the host all the following are set to true
- Auto Deploy:
- Deploy On Startup:
- Deploy XML:
- Unpack WARs:

In the web app itself the following are true (others false).
- Cookies:
- Cross Context:
- Reloadable:
- Use Naming:


When i got to the app sometimes it compiles the jsps and runs really slow and some time i get this error.


HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP

No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from
the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat
restart.
If using an alternate Java compiler, please check its installation and access
path.


org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181)
com.pokemonkiller.hibernate.HibernateFilter.doFilter(HibernateFilter.java:77)

note The full stack trace of the root cause is available in the Tomcat logs.
Apache Tomcat/5.0.19


Can anyone help or give me some clues to why this happens. After a restart the app is fine, (but that kind of defeats the point of hot deploying).

Thanks,
Owen


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




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



Reply via email to