----- Forwarded by Mike Lecza/Applied Management Systems on 02/02/2001
03:06 PM -----
                                                                                       
                                     
                    Mike Lecza                                                         
                                     
                                         To:     [EMAIL PROTECTED]      
                                     
                    02/02/2001           cc:                                           
                                     
                    12:07 PM             Subject:     Tomcat documentation - more - 
more                                    
                                                                                       
                                     
                                                                                       
                                     



Well I got a little further

I can hit the HelloWorld Servlet at:
http://localhost:8080/servlets/servlet/HelloWorldExample

I recreated the example WAR file with the EJB class from you Interest
example

When I hit:
http://localhost:8080/servlets/servlet/EJB

I get the following error.  Fo I need to add something to a classpath
somewhere?

Error: 500
Location: /servlets/servlet/EJB
Internal Servlet Error:

java.lang.NoClassDefFoundError: com.web_tomorrow.interest.InterestHome
     at EJB.class$(EJB.java:32)
     at EJB.init(EJB.java:56)
     at javax.servlet.GenericServlet.init(GenericServlet.java:258)
     at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
     at org.apache.tomcat.core.Handler.init(Handler.java:215)
     at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
     at org.apache.tomcat.core.Handler.service(Handler.java:254)
     at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
     at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
     at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
     at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
     at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
     at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
     at java.lang.Thread.run(Thread.java:484)

----- Forwarded by Mike Lecza/Applied Management Systems on 02/02/2001
11:53 AM -----
                                                                                       
                                     
                    Mike Lecza                                                         
                                     
                                         To:     [EMAIL PROTECTED]      
                                     
                    02/02/2001           cc:                                           
                                     
                    11:29 AM             Subject:     Tomcat documentation - more      
                                     
                                                                                       
                                     
                                                                                       
                                     



Well - I got past the EAR deply prob - had the wrong name in the
application.xml.

I am trying to deply the examples.war file that coems with Tomcat - It
deploys OK but when I hit

http://localhost:8080/servlets/examples/servlet/HelloWorldExample

I get a 404 error.

I can hit this however:
http://localhost:8080/servlets/examples/servlets/index.html.

I figure /servlets/examples/servlet must be the wrong path - How do I get
to the HelloWorldExample?

Thanx,
Mike

----- Forwarded by Mike Lecza/Applied Management Systems on 02/02/2001
11:08 AM -----
                                                                                       
                                     
                    Mike Lecza                                                         
                                     
                                         To:     [EMAIL PROTECTED]      
                                     
                    02/02/2001           cc:                                           
                                     
                    10:58 AM             Subject:     Tomcat documentation             
                                     
                                                                                       
                                     
                                                                                       
                                     





I've downloaded and installed Jboss server and Tomcat as described in
http://www.jboss.org/documentation/jboss_win32_trail_index.html.
I thought this was very easy to follow and I got it working with ease :-).

Then, I clicked in the JBoss/Tomecat link (
http://www.jboss.org/business/jboss-tomcat.html)  and its a bit different
deploying Servlets/Tomcat.  I have been able to get the Tomcat Server to
startup with Jboss (I can hit localhost:8080) - but I cannot get the
servlets working.  It would be great if there was a walk  through for this
like there was for deploying a servlet in the boss_win32_trail_index.html
doc.

Using the Interest EJB/Servlet as an example:
I don't understand if I need to have the EJB jar and the servlet war in
this ear file.  Can I just have the war file in the ear and deply my EJB
just by dropping the jar in the deploy area?

When I tried to deply the ear (localhost:8082) I got the following error
(even though I tried putting the JAR in there as well):

The MBean [J2EE:service=J2eeDeployer] throws an MBeanException when calling
[deploy]:
java.io.FileNotFoundException: JAR entry webmodule.war not found in c:
\jakarta\dist\tomcat\webapps\webmodule.ear

Is there a good walkthrough for deplying the Interest servlet with the
Integrated Tomcat?

Regards,
Mike








--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to