Problem:
I have apache server (Apache_1.3.17) and Tomcat 4.0 on Solaris.
I am able to run servlets on http://localhost:8080
But the problem is I have to run it on http://localhost:80
To make it run on port 80 what I need to do?

I have tried to change server.xml but all the servlet stop working.

I am desperately seeking help on this... any body aware of this please
help.

Update
I have changed the port on server.xml
and i get this error ...

Starting service Tomcat-Standalone
Apache Tomcat/4.0
java.lang.IllegalArgumentException: Document base
/gis1/mefta/jakarta-tomcat-4.0/webapps/examples does not exist or is $
not a readable directory
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.fillInStackTrace(Compiled Code)
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Exception.java:42)
        at java.lang.RuntimeException.<init>(RuntimeException.java:47)
        at
java.lang.IllegalArgumentException.<init>(IllegalArgumentException.java:43)
        at org.apache.naming.resources.FileDirContext.setDocBase(Unknown
Source)
        at org.apache.catalina.core.StandardContext.setResources(Unknown
Source)
        at org.apache.catalina.core.StandardContext.start(Unknown Source)
        at org.apache.catalina.core.ContainerBase.start(Compiled Code)
        at org.apache.catalina.core.ContainerBase.start(Compiled Code)
        at org.apache.catalina.core.StandardEngine.start(Unknown Source)
        at org.apache.catalina.core.StandardService.start(Compiled Code)
        at org.apache.catalina.core.StandardServer.start(Compiled Code)
        at org.apache.catalina.startup.Catalina.start(Unknown Source)
        at org.apache.catalina.startup.Catalina.execute(Unknown Source)
        at org.apache.catalina.startup.Catalina.process(Unknown Source)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.lang.reflect.Method.invoke(Compiled Code)
        at org.apache.catalina.startup.Bootstrap.main(Compiled Code)

Can anybody help me? Why I get this error?

Thanks
Mohammad Meftauddin

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to