Finally I got it to work. The solution? Well...ehh...just tidying up the
CLASSPATH variable actually. I'm developing with (the j2ee compliant) app
server ATG Dynamo as well and the CLASSPATH was set up with references to
things like "C:\ATG\Dynamo4.5.0\lib\javax.ejb.zip" and
"C:\ATG\Dynamo4.5.0\lib\javax.jts.zip" which I can understand is no good... 

Thus a really obvious answer to my problems, but hopefully this might help
others with the same problem...

Regards
/J



-----Original Message-----
From: Greg Pierce [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 4:30 PM
To: 'jBoss'
Subject: RE: [jBoss-User] Integrated Tomcat won't read JSP:s 


Don't have any ideas but I'm having the exact same problem trying to use
jetty for the ZOL application. It deploys but it never actually runs. I've
tried to find the problem to no avail.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 7:51 AM
To: [EMAIL PROTECTED]
Subject: [jBoss-User] Integrated Tomcat won't read JSP:s 


I can't get the integrated Jboss and Tomcat to run JSP:s. If I run Tomcat on
its own and deploys it (in directory webapps) either with the examples.war
or with the unpacked files everything works. If I try to run the same thing
(but put the .war in jboss' directory deploy) with Tomcat  started from
Jboss (run_with_tomcat), it doesn't seem to like the jsp's. XXXX.html is
works though...
The output in server.log looks like this when I try to point the browser to
http://localhost:8080/examples/jsp/num/numguess.jsp (which works on
Tomcat-only):

----------
[Auto deploy] Starting
[Auto deploy] Auto deploy of
file:/C:/jboss_tomcat/jboss-2.0-FINAL/deploy/examples.war
[J2EE Deployer] Deploy J2EE application:
file:/C:/jboss_tomcat/jboss-2.0-FINAL/deploy/examples.war
[J2EE Deployer] Could not delete temporary file:
/C:/JBOSS_~3/JBOSS-~1.0-F/bin/../tmp/deploy/copy1001.zip
[J2EE Deployer] Create application examples.war
[J2EE Deployer] Installing web package: examples.war
[J2EE Deployer] Starting module examples.war
[EmbeddedTomcat] ContextManager: Adding context Ctx( /examples )
[EmbeddedTomcat] path="/examples" :org.apache.jasper.servlet.JspServlet:
init
[J2EE Deployer] J2EE application:
file:/C:/jboss_tomcat/jboss-2.0-FINAL/deploy/examples.war is deployed.
[Auto deploy] Started
[SpyderMQ] Starting
[SpyderMQ] Testing if SpyderMQ is present....
[SpyderMQ] OK
[SpyderMQ] Starting SpyderMQ...
[SpyderMQ] Started
[JMX RMI Adaptor] Starting
[JMX RMI Adaptor] Started
[JMX RMI Connector] Starting
[JMX RMI Connector] Started
[Default] 23 services and 4 other MBeans started.
[Default] Shutdown hook added
[Default] jBoss 2.0 FINAL Started
[EmbeddedTomcat] JspReader: Exception parsing file \jsp\num\numguess.jsp
[EmbeddedTomcat] Ctx( /examples ): JasperException: R( /examples +
/jsp/num/numguess.jsp + null) Cannot read file: \jsp\num\numguess.jsp
[EmbeddedTomcat] Ctx( /examples ): Exception in: R( /examples +
/jsp/num/numguess.jsp + null)
---------


The browser outputs this:


Error: 500
Location: /examples/jsp/num/numguess.jsp
Internal Servlet Error:

java.lang.NoSuchMethodError
        at
org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:28
1)
        at org.apache.tomcat.core.Handler.service(Handler.java:286)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1149)
        at org.apache.tomcat.core.Handler.service(Handler.java:311)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
9)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:745)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Unknown Source)



Somebody who has any clue?

Regards
/J


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to