Don't be misleaded by the name of the dir.

I wanted to use the struts framework, but for this one of the pre-requisites
was to have a servlet container, which the documentation suggested tomcat
and I went for that.

Before jumping into writing the app., I thought I would first write a simple
"HelloServlet"
and test the servlet container.

This is how my dir structure goes. Under D:\

struts
       |
       |__ Ant
       |
       |__ jakarta-struts
       |
       |__ tomcat
       |
       |__ Xalan
       |
       |__ jaxp


Thanks,
Prasad


> -----Original Message-----
> From: Adam Fowler [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, February 26, 2001 4:50 PM
> To:   [EMAIL PROTECTED]
> Subject:      RE: Tomcat running inprocess with Netscape 3.62 webserver.
> 
> Hi,
> 
> Should it be looking under the d:\struts directory? I thought struts was
> another jakarta project?
> 
> Regards,
> Adam.
> 
> ----
> Adam Fowler
> Second year Computer Science undergraduate
> University of Wales, Aberystwyth
> Carroll College, WI, USA(2000-2001)
> web: http://gucciboy.dyndns.org/aff9
> e-mail: [EMAIL PROTECTED]
> "Every new beginning comes from some other beginning's end"
> ----
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 26, 2001 4:31 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat running inprocess with Netscape 3.62 webserver.
> 
> 
> Hi guys,
> 
> I am trying to set up tomcat to run inside the Netscape's webserver
> process.
> Using Netscape Enterprise Server 3.62
> 
> I followed all the steps mentioned in the documentation to run tomcat
> inside
> the webserver
> process. Downloaded the jni_connect.dll, changed the server.xml and
> worker.properties file
> as mentioned.
> 
> But when I try to start tomcat using the command "tomcat run" from the bin
> dir,
> it gives a null pointer exception.
> 
> **************************************************************************
> **
> *******
> 2001-02-26 02:29:52 - ContextManager: Adding context Ctx( /examples )
> 2001-02-26 02:29:52 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-02-26 02:29:52 - ContextManager: Adding context Ctx( /firstJSP.jsp )
> 2001-02-26 02:29:52 - ContextManager: Adding context Ctx( /Hello.class )
> 2001-02-26 02:29:52 - ContextManager: Adding context Ctx( /Hello.java )
> 2001-02-26 02:29:52 - ContextManager: Adding context Ctx(  )
> 2001-02-26 02:29:52 - ContextManager: Adding context Ctx( /test )
> Failed to loadLibrary()
> d:/struts/tomcat/jakarta-tomcat-3.2.1/bin/win32/i386/jni
> _connect.dll
> Library
> d:/struts/tomcat/jakarta-tomcat-3.2.1/bin/win32/i386/jni_connect.dll
> loa
> ded
> FATAL:java.lang.NullPointerException
> java.lang.NullPointerException
>         at
> org.apache.tomcat.service.JNIEndpointConnector.start(JNIEndpointConne
> ctor.java:110)
>         at
> org.apache.tomcat.core.ContextManager.start(ContextManager.java,
> Comp
> iled Code)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> 
> 
> **************************************************************************
> **
> *********
> 
> I searched the archive, but still couldn't find any answer to this.
> Am I missing something here? Many thanks for any feedback on this
> 
> 
> Thanks,
> Prasad M
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

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

Reply via email to