deploy fails

2005-12-20 Thread Nehal Sangoi
Hi, Below is the build.xml and build.properties files i am using for my app deployments. Tomcat 5.5.9 Using Tomcat Virtual Instance Platform - Solaris/Linux Manager Deployer used When i do execute the ant command (ant -f abc.xml), it gives me follwoing output. What could be the possible reason f

Re: How to make a redirector?

2005-12-20 Thread Seak, Teng-Fong
Caldarale, Charles R wrote: From: Seak, Teng-Fong [mailto:[EMAIL PROTECTED] Subject: How to make a redirector? I've seen some URL which contains two URL's, something like http://www.siteA.com/x/http://www.siteB.com/some/path/here/ Are you sure you're not missing a rather importan

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.

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 fo

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

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\cacerts"And 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 e

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 r

Re: Please Help! Error in using Packages

2005-12-20 Thread Teh Noranis Mohd Aris
The web.xml looks like this: http://java.sun.com/j2ee/dtds/web-app_2_3.dtd";> MyFirstServlet com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet MyFirstServlet /MyFirstServlet I placed the web.xml in c:\jakarta-tomcat-4.1.31\webapps\ch03\WEB-INF direc

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 Tom

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;

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=ind9811&L=servlet-interest&F=&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. Howev

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 status

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 a

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 >Kart

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. Ses

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 > Subject: Re: Re: problem with stopping Tomcat > > Warren I have solved it. The server.xml and web.xml were currupt.I replace > them with the original

Re: tomcat error

2005-12-20 Thread marju jalloh
something wrong about the coyoto protocol context what is your enviroment.operating system,version tomcat Marju James Taylor <[EMAIL PROTECTED]> wrote: 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.apac

Re: How does tomcat parse multipart requests?

2005-12-20 Thread marju jalloh
The servlet container create a single instance when tomcat is started and listen for request.Each request spawn a new thread that execute the service methods (doGet,doPost etc).So miltiple request will spawn multiple threads. You can understand it more when you are familiar with Threads. That i

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: 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, be

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.

Re: Invoking webservice from servlet

2005-12-20 Thread Prasad
Lincoln Dalgado wrote: Hi, I am invoking a SSL based web service from inside a servlet. The service is invoked successfully when I use startup.bat to start tomcat. However if I start tomcat as a service, I get a Caused by: sun.security.validator.ValidatorException: No trusted certificate fou

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 acceptConn

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 and in your web.xml. Moreover as David said, you can find all the information in the Docs. -Prasad.

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: jk uriworkermap per web site on iis

2005-12-20 Thread Mladen Turk
Allistair Crossley wrote: For example, one website is dom.co.uk and another is dom.com. We wish for /a/* to work for dom.co.uk but not dom.com because /a/* on dom.com has a legacy site that needs to be left in place. I had a go at using www.dom.co.uk/a/*=ajp13 as a mapping but JK doesn't appea

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

Re: Re: c:import doesn't work right with HEAD requests --> Ref #[1M8EmBBCnE0fSre]

2005-12-20 Thread referrals
Hello, Thank you for contacting Juno. This is an automated response sent to email messages suspected to be spam by our spam filters. This process will help us filter spam messages and respond to genuine customer concerns quickly. We apologize if your email is mistakenly identified as spam. Ple

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

2005-12-20 Thread erh
On Sun, Dec 18, 2005 at 03:20:09PM -0800, Bill Barker wrote: > > <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > My guess is that tomcat uses a "HEAD" request to retrieve content with > > c:import if the request for the jsp page containing the c:import was > > requested with a "

jk uriworkermap per web site on iis

2005-12-20 Thread Allistair Crossley
Hello all, I've tried my best googling skills to no avail on this one and also the manual. Perhaps you can help. We have found ourselves in a tech migration situation whereby we have a requirement to specify uriworkermap mappings per website in iis. For example, one website is dom.co.uk and ano

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

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: Apache Portable Runtime not found on the java.library.path

2005-12-20 Thread Caldarale, Charles R
> From: William Claxton [mailto:[EMAIL PROTECTED] > Subject: Apache Portable Runtime not found on the java.library.path > > "The Apache Portable Runtime which allows optimal performance in > production environments was not found on the java.library.path." > > Any suggestion on how to resolve th

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."

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

How to clean up work directory on shutdown (Tomcat 5.5.12)

2005-12-20 Thread Edmon Begoli
Is there an instruction that enables automatic clean up of the work directory on the shutdown of Tomcat 5.5.12. -- Thank you, Edmon Begoli http://blogs.ittoolbox.com/eai/software

RE: compatibility package for Tomcat 5.5

2005-12-20 Thread Caldarale, Charles R
> From: Ariel Pashtan [mailto:[EMAIL PROTECTED] > Subject: compatibility package for Tomcat 5.5 > > I tried searching for this compatibility package in the > Tomcat pages. Can you please let me know where can I find > this package? It's the one cleverly disguised as "JDK 1.4 Compatability Packa

Vedr.: compatibility package for Tomcat 5.5

2005-12-20 Thread Thomas Nybro Bolding
Same sweet spot as the rest of the downloads for TC5.x: http://tomcat.apache.org/download-55.cgi Choose JDK 1.4 Compability Package as either zip http://www.apache.org/dist/tomcat/tomcat-5/v5.5.14-beta/bin/apache-tomcat-5.5.14-compat.zip or tar.gz http://www.apache.org/dist/tomcat/tomcat-5/v5.5.

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

compatibility package for Tomcat 5.5

2005-12-20 Thread Ariel Pashtan
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 searching for this compatibility package in the Tomcat pages. Can you please let me know where can I find this package? Thanks! Ariel

Re: How does tomcat parse multipart requests?

2005-12-20 Thread Jon Wingfield
It doesn't. But there are 3rd party apis to help. Two popular ones are: http://servlets.com/cos/ (read the, not very onerous, license before commercial use) http://jakarta.apache.org/commons/fileupload/ HTH, Jon Sam Lee wrote: > Dear Guys, > > I want to know how tomcat parse multipart requests

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 con

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 http://localhost/a/b/images

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 woul

Re: Please Help! Error in using Packages

2005-12-20 Thread David Smith
Don't use the classpath if you can possibly avoid it. Tomcat has a classloader scheme to handle this stuff for you. The good old days of messing with the classpath weren't so good (early tomcat 3 releases). :-) This website might help you get things together: http://tomcat.apache.org/tomcat-4

How does tomcat parse multipart requests?

2005-12-20 Thread Sam Lee
Dear Guys, I want to know how tomcat parse multipart requests? Or tomcat does not parse multipart requests at all? I try to find the answer from tomcat 5.5 source,but failed because don't know where to begin. Thanks, Sam - T

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 Users

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 chose

Re: Please Help! Error in using Packages

2005-12-20 Thread Teh Noranis Mohd Aris
Hi, I'm using Windows XP operating system, I've already set the servlet.jar file to the CLASSPATH. I'm using Tomcat version 4.1.31. I haven't made the context for "myfirstwebapp" in server.xml. How can it be done? The explanation in the book I'm using is not that clear. Please help. Thank you so mu

Re: Re: problem with stopping Tomcat

2005-12-20 Thread Warren Pace
mariju, This is puzzling. At this point, I would do exactly what you're planning. Good thing you saved the original files . . . after that, I'm at a loss short of removing the app and re-installing with apt. > > From: marju jalloh <[EMAIL PROTECTED]> > Date: 2005/12/19 Mon PM 02:18:22 EST

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 m

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 m

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 web

JBoss 4.0.3SP1 (Tomcat 5.0) Failed to determine servlet message

2005-12-20 Thread Stanislav
I have very strange problem. As far as i see my web application works just fine, but when i look into log file i see message: 2005-12-20 08:34:58,864 DEBUG [org.jboss.web.tomcat.security.SecurityAssociationValve] Failed to determine servlet java.lang.ClassCastException: org.apache.catalina.realm

Re: Tomcat 5.5.12 clustering - messages lost under high load

2005-12-20 Thread Peter Rossbach
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 used when primary node crashed!! I looked into the serv