Re: page not found error using apache/tomcat

2002-01-18 Thread Brown Bay



 When i type in the browser http://x.x.com/examples I get the listings
 of servlets, jsp and images but when i goto servlets  link i get a
 page not found error and the apache log says File does not exist:

 I believe this is a bug in the webapp module and I struggled several
 days about this problem too.
 You must enter the ending '/' for a directory.
 e.g. http://x.x.com/examples/

 The apache server will use the index.html when it is a directory
 (e.g.http://myhost/dir) and tomcat will use the index.html too
 (e.g. http://myhost:8080/examples).

 However the apache-tomcat interface will not automatically add
 the ending '/' for you and will not use the index.html or show the
 files in the directory either.


** when i type http://x.x.com/examples/ i am on win 2k and i see the apache
process running at 99% and the browser seems like it is in an endless loop.
when u say that u were struggling with this for a while what did u do to
resolve it, did u use mod_jk or just the warp connector.

Please let me know..
Thanks.

Brown.


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




page not found error using apache/tomcat

2002-01-17 Thread Brown Bay

Tomcat 4.0, apache 1.3, suse 7.0, os/390

My virtual host settings in apache http.conf are:
VirtualHost x.x.x.x
DocumentRoot /usr/local/tomcat/webapps
ServerName x.x.com
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples
/VirtualHost

My service defination in server.xml in tomcat are:
 !-- Define an Apache-Connector Service --
 Service name=Tomcat-Apache
  Connector className=org.apache.catalina.connector.warp.WarpConnector
port=8008 minProcessors=5 maxProcessors=75 enableLookups=true
acceptCount=10 debug=0/
  !-- Replace localhost with what your Apache ServerName is set to --
  Engine className=org.apache.catalina.connector.warp.WarpEngine
name=localhost debug=0 appBase=webapps
   !-- Global logger unless overridden at lower levels --
   Logger className=org.apache.catalina.logger.FileLogger
prefix=apache_log. suffix=.txt timestamp=true/
   !-- Because this Realm is here, an instance will be shared globally --
   Realm className=org.apache.catalina.realm.MemoryRealm/
  /Engine
 /Service

When i type in the browser http://x.x.com/examples I get the listings of
servlets, jsp and images but when i goto servlets link i get a page not
found error and the apache log says File does not exist:
/examples/servlets/index.html when the file does exist in the virtual path.

Are there any special settings required for apache/tomcat for me to get this
to work. Any suggestions.

Thanks in advance.

Brown.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: page not found error using apache/tomcat

2002-01-17 Thread Tulan W. Hu

When i type in the browser http://x.x.com/examples I get the listings 
of servlets, jsp and images but when i goto servlets  link i get a 
page not found error and the apache log says File does not exist:

I believe this is a bug in the webapp module and I struggled several 
days about this problem too.
You must enter the ending '/' for a directory.
e.g. http://x.x.com/examples/

The apache server will use the index.html when it is a directory 
(e.g.http://myhost/dir) and tomcat will use the index.html too 
(e.g. http://myhost:8080/examples).

However the apache-tomcat interface will not automatically add
the ending '/' for you and will not use the index.html or show the
files in the directory either.




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: page not found error using apache/tomcat

2002-01-17 Thread Marcelo Demestri

 I believe this is a bug in the webapp module and I struggled several
 days about this problem too.
 You must enter the ending '/' for a directory.
 e.g. http://x.x.com/examples/

You can try define a context with examples/ too, in the server.xml...
maybe work ! :-)
Hasta pronto...


Marcelo


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]