Re: Please Help! Error in using Packages

2005-12-20 Thread marju jalloh
What is your enviroment,which version are you using. Have you made context for myfirstwebapp in server.xml -Marju Teh Noranis Mohd Aris [EMAIL PROTECTED] wrote: Hi, I'm learning to use packages from a book example to create my own servlet instead of putting the code in the examples

Regarding tomcat 5.x context path

2005-12-20 Thread foo java
Hi, I am trying to find a documented solution for one of my problems with tomcat contexts. I would like to ask about the tomcat servlet container( 5.x) and it's prioritised handling of the context paths in the following situation. A pointer to official documentation will be of much help to

tomcat 5.x context path priority

2005-12-20 Thread foo java
Hi, I am trying to find a documented solution for one of my problems with tomcat contexts. I would like to ask about the tomcat servlet container( 5.x) and it's prioritised handling of the context paths in the following situation. A pointer to official documentation will be of much help to

Re: tomcat 5.x context path priority

2005-12-20 Thread David Smith
I'm not sure there is a documented spec on this at the container (tomcat) level. One of the tomcat developers would know best about this, but I would imagine tomcat handles such issues the same way servlet mappings within a webapp are handled. The longest matching path is the one that's

RE: Which is better Option

2005-12-20 Thread Karthik
Hi Form *Which Option [ advantages /limitations ] is Better ?* Certenly yes ,but need more clarifications [ assuming running on same JVM ] with regards Karthik -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, December 19, 2005 7:18 PM To: Tomcat

Re: tomcat 5.x context path priority

2005-12-20 Thread David Smith
Just looking up some other info, I ran accross this which directly answers your question: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html --David David Smith wrote: I'm not sure there is a documented spec on this at the container (tomcat) level. One of the tomcat developers

Re: how are relative pages/images retrieved?

2005-12-20 Thread Seak, Teng-Fong
Caldarale, Charles R wrote: From: hanasaki [mailto:[EMAIL PROTECTED] Subject: how are relative pages/images retrieved? the page http://localhost/a/b/c has an href to ../images/image1.gif how is it that the websever knows to convert this into

Re: how are relative pages/images retrieved?

2005-12-20 Thread David Smith
Seak, Teng-Fong wrote: Caldarale, Charles R wrote: From: hanasaki [mailto:[EMAIL PROTECTED] Subject: how are relative pages/images retrieved? the page http://localhost/a/b/c has an href to ../images/image1.gif how is it that the websever knows to convert this into

Re: compatibility package for Tomcat 5.5

2005-12-20 Thread Rafal Zawadzki
### Ariel Pashtan [EMAIL PROTECTED] wrote message to users@tomcat.apache.org ### ### this is reply for: compatibility package for Tomcat 5.5 ### Hi, I am running Tomcat 5.5 and 1.4 JRE. I understand that I need to install the compatibility package in the Tomcat home folder. I tried

Apache Portable Runtime not found on the java.library.path

2005-12-20 Thread William Claxton
Running Java JDK 1.4. After upgrading to Tomcat 5.5 I get this error. I have also installed the compatability upgrade for the Java Runtime. The Apache Portable Runtime which allows optimal performance in production environments was not found on the java.library.path. Any suggestion on how

Re: Apache Portable Runtime not found on the java.library.path

2005-12-20 Thread Adam Constabaris
William Claxton wrote: Running Java JDK 1.4. After upgrading to Tomcat 5.5 I get this error. I have also installed the compatability upgrade for the Java Runtime. The Apache Portable Runtime which allows optimal performance in production environments was not found on the java.library.path.

Re: c:import doesn't work right with HEAD requests

2005-12-20 Thread erh
Hassan Schroeder [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] No. But I wouldn't have *any* expectations of an ambiguous situation. Out of curiousity, have you tried this with any different containers (Jetty, Resin, JRun, ...)? no, I haven't. I think I've got a

RE: jk uriworkermap per web site on iis

2005-12-20 Thread Allistair Crossley
;c) thanks Mladen :) -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 20 December 2005 17:29 To: Tomcat Users List Subject: Re: jk uriworkermap per web site on iis Allistair Crossley wrote: For example, one website is dom.co.uk and another is dom.com. We wish

Re: Please Help! Error in using Packages

2005-12-20 Thread Prasad
Can you post your web.xml. I think I can help you with this but only after looking at your web.xml. I think the problem is with servlet and servlet-mapping in your web.xml. Moreover as David said, you can find all the information in the Docs. -Prasad.

tomcat error

2005-12-20 Thread James Taylor
Hi there, Can someone please help me resolve the following error I keep getting; INFO: Server startup in 9072 ms Dec 20, 2005 6:18:58 PM org.apache.coyote.http11.Http11BaseProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-1979 Dec 20, 2005 6:18:58 PM org.apache.jk.common.ChannelSocket

Re: Apache Portable Runtime not found on the java.library.path

2005-12-20 Thread FTP
I face the same problem with: Tomcat 5.5.12 jdk: 1.5.06 and cannot find the library you suggest in order to include it! Any hint why? Thanks George On Tue, Dec 20, 2005 at 11:23:11AM -0500, Adam Constabaris wrote: William Claxton wrote: Running Java JDK 1.4. After upgrading to Tomcat 5.5

Re: Apache Portable Runtime not found on the java.library.path

2005-12-20 Thread Adam Constabaris
FTP wrote: I face the same problem with: Tomcat 5.5.12 jdk: 1.5.06 and cannot find the library you suggest in order to include it! APR integration isn't yet fully part of the Tomcat distribution, as far as I can tell (I think it's misleading of them to enable the APR listener on startup,

Re: Re: problem with stopping Tomcat

2005-12-20 Thread marju jalloh
Warren I have solved it. The server.xml and web.xml were currupt.I replace them with the original server.xml and web.xml configuration file and rebooted no error message and its working perfact. Advice for everyone.Always backup the original config file or the last working config file so that

Re: Re: problem with stopping Tomcat

2005-12-20 Thread Warren Pace
Marju, Glad to hear that. Warren From: marju jalloh [EMAIL PROTECTED] Date: 2005/12/20 Tue PM 01:49:31 EST To: Tomcat Users List users@tomcat.apache.org Subject: Re: Re: problem with stopping Tomcat Warren I have solved it. The server.xml and web.xml were currupt.I replace them

Re: Tomcat 5.5.12 clustering - messages lost under high load

2005-12-20 Thread Yogesh Prajapati
On 12/19/05, Peter Rossbach [EMAIL PROTECTED] wrote: Hey, Am 20.12.2005 um 01:09 schrieb Yogesh Prajapati: On 12/18/05, Peter Rossbach [EMAIL PROTECTED] wrote: Hey, a) Servlet Spec say: You must have sticky session when you use distributable web apps. Session Replication is only

Re: RE: Which is better Option

2005-12-20 Thread Raja Neravati
Karthik, I sent a reply yesterday on this. Did you not receive it ?   RS On Tue, 20 Dec 2005 Karthik wrote : Hi Form *Which Option [ advantages /limitations ] is Better ?* Certenly yes ,but need more clarifications [ assuming running on same JVM ] with regards Karthik

Re: Which is better Option

2005-12-20 Thread Yogesh Prajapati
On 12/20/05, Karthik [EMAIL PROTECTED] wrote: Hi Form *Which Option [ advantages /limitations ] is Better ?* Certenly yes ,but need more clarifications [ assuming running on same JVM ] It is possible to implement JMS based solution within same JVM. JMS is the way to go as long as

Redirect from CGI servlet

2005-12-20 Thread Bob Faist
Tomcat 5.5 Windows XP I'm trying to retro-fit a perl CGI web app into Tomcat and the only remaining issue is redirects. I have enabled the CGI servlet in the conf/web.xml file. I have a CGI script which is setting the HTTP response header to a redirect type but Tomcat seems to setting the

Re: Redirect from CGI servlet

2005-12-20 Thread Martin Gainty
Good Afternoon Bob- I found an asnswer here http://archives.java.sun.com/cgi-bin/wa?A2=ind9811L=servlet-interestF=S=P=94953 to quote When most browsers receive a reply with status 302 (Moved Temporarily), they look at the Location header, and automatically call the page specified there. However,

RE: Redirect from CGI servlet

2005-12-20 Thread Bob Faist
The from and to URLs are definitely different in this case as they are different CGI scripts. Someone posted a similar question previously based a Google search but I can not connect to the MARC archives. 'RE: Tomcat CGI and HTTP status codes' - MARC When I try to access the cgi, It doesn;t

Re: Redirect from CGI servlet

2005-12-20 Thread Mark Thomas
Bob Faist wrote: Tomcat 5.5 Windows XP I'm trying to retro-fit a perl CGI web app into Tomcat and the only remaining issue is redirects. I have enabled the CGI servlet in the conf/web.xml file. I have a CGI script which is setting the HTTP response header to a redirect type but Tomcat

Re: Please Help! Error in using Packages

2005-12-20 Thread Teh Noranis Mohd Aris
The web.xml looks like this: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/j2ee/dtds/web-app_2_3.dtd; web-app servlet servlet-nameMyFirstServlet/servlet-name

Re: tomcat error

2005-12-20 Thread Bill Barker
Let me guess: You're using Solaris :). I've got no clue why Sun suddenly changed this The message has been down-graded to DEBUG level in 5.5.14+, and is pretty much harmless. James Taylor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi there, Can someone please help me

Re: Invoking webservice from servlet

2005-12-20 Thread Lincoln Dalgado
Thanks Prasad. I just added the servers certificate to C:\ProgramFiles\Java\j2re1.4.2_05\lib\security\cacertsAnd the ssl validation exception disappeared.It looks like tomcat uses different keystores when it is started as service as opposed to it being started with startup.bat Note that I had

Re: Apache Portable Runtime not found on the java.library.path, resolved

2005-12-20 Thread William Claxton
At 02:46 AM 12/21/2005, Adam Constabaris wrote: FTP wrote: I face the same problem with: Tomcat 5.5.12 jdk: 1.5.06 and cannot find the library you suggest in order to include it! APR integration isn't yet fully part of the Tomcat distribution, as far as I can tell (I think it's misleading of

access denied to Tomcat manager

2005-12-20 Thread Ariel Pashtan
Hi, For some reason I cannot access the Tomcat Manager application from the Tomcat home page. While I can access Tomcat Administration, access to the manager is denied: HTTP Status 403 - Access to the requested resource has been denied Any suggestions on how to resolve this? Thanks for

Re: access denied to Tomcat manager

2005-12-20 Thread vineesh kumar
you may not have access permission to the directory containing the manager utils, check the permission of the directory webapps an others On 12/21/05, Ariel Pashtan [EMAIL PROTECTED] wrote: Hi, For some reason I cannot access the Tomcat Manager application from the Tomcat home page. While