See http://marc.theaimsgroup.com/?l=tomcat-dev&m=99020542608948&w=2 (the
ant-dev mailinglist...).
The Exception btw is caused by a bug... If you call the
http://<servername>/examples/servlets/ you get the nullpointer exception,
because it cannot find what the welcome page should be (eg index.html) and
passes the null value. If you call
http://<servername>/examples/servlets/index.html it works fine..

Have fun,

Martin van den Bemt


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 23, 2001 12:53 PM
> To: [EMAIL PROTECTED]
> Subject: Re:Problem running tomcat 4 in apache 1.3.19
>
>
>
> Would you please tell me how to compile web_apps.so.
> I got error with pthread ... (serveral people had the same error
> but I could not
> find the solution on tomcat list) when i start apache. Someone
> suggested that
> module should be compiled with LD_LIBRARY_PATH properly set up,
> but I checked it
> and it still does not work.
>
> My machine:
> Linux Mandrake with kernel 2.4.1
> IBMJdk1.3
> gcc version: 2.95.3
>
> Regards,
> Tomek
>
>
>
>      /) Tomasz Sucharzewski                                  (\
>     / )    Unix/Sybase Administrator                         ( \
>   _( (_    _  Web-Application Development                    _) )_
>  (((\ \>  /_>   Electronic Data Processing Department  <_\  </ /)))
>  (\\\\ \_/ /      ING Bank N.V.                         \ \_/ ////)
>   \       /                                              \       /
>    \    _/  phone: (+48 22) 820-41-58                     \_    /
>    /   /  mobilephone: (+48 606) 666-015                    \   \
>   /   / email: [EMAIL PROTECTED]               \   \
>
>
>
> ____________________Reply Separator____________________
> Subject:    Problem running tomcat 4 in apache 1.3.19
> Author: [EMAIL PROTECTED]
> Date:       01-05-21 23:58
>
> Hi,
>
> After a struggle to get tomcat 4 running on my systen (running on
> Linux with
> jdk 1.3.1), I tried to configure tomcat 4 to run with apache. After
> following (some) of the instructions in the server.xml and other sources I
> got the web_webapp.so actually compiled and "running" in apache ( which
> means : apache doesn't crash when I start it up..). I mounted the examples
> to be served by tomcat 4 and when I go there (say
> http://<servername>/examples/ I get a nice directory overview and
> I want to
> click on servlets. then I get a nice exception (without exception..) :
>
> java.lang.NullPointerException
>         at javax.servlet.http.HttpUtils.getRequestURL(HttpUtils.java:338)
>         at
> org.apache.catalina.connector.HttpResponseBase.toAbsolute(HttpResp
> onseBase.j
> ava:669)
>         at
> org.apache.catalina.connector.HttpResponseBase.sendRedirect(HttpRe
> sponseBase
> .java:1072)
>         at
> org.apache.catalina.connector.HttpResponseFacade.sendRedirect(Http
> ResponseFa
> cade.java:150)
>         at
> org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultS
> ervlet.jav
> a:1084)
>         at
> org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:519)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>
> <snap a lot>
>
>
> All this stuff is working great on the 8080 port, which is
> handled by tomcat
> itself.
>
> Can anybody enlighten me on what is going on or how to correctly configure
> (and compile) the connection to tomcat
>
> Note : the example of mounting _INFO_ to eg /tomcatinfo/ works...
>
> Thanx for the help..
>
> Mvgr,
> Martin van den Bemt
>
>
>
> -----------------------------------------------------------------
> ATTENTION:
> The information in this electronic mail message is private and
> confidential, and only intended for the addressee. Should you
> receive this message by mistake, you are hereby notified that
> any disclosure, reproduction, distribution or use of this
> message is strictly prohibited. Please inform the sender by
> reply transmission and delete the message without copying or
> opening it.
>
> Messages and attachments are scanned for all viruses known.
> If this message contains password-protected attachments, the
> files have NOT been scanned for viruses by the ING mail domain.
> Always scan attachments before opening them.
> -----------------------------------------------------------------
>

Reply via email to