tomcat deployment error

2008-05-21 Thread Shreekanta Prasad
Hi All, I am using tomcat 5.5. Using deployer utility of tomcat to do hot deployment to the server. But it is giving error error like \build.xml:98: java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8080/manager/ deploy?pat

Re: What means the second number of "Next Maintenance" status ?

2008-05-21 Thread Stephanie Wullbieter
E.g. what means "Next Maintenance 42/104" ? Thanks -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] - To start a new topic, e-mail: users@tomca

Re: possible bug for mod_jk configure for cygwin

2008-05-21 Thread Taro App
Hi Rainer, Yes, your patch solved the problem! Thank you. Taro App > -- Forwarded message -- > From: Rainer Jung <[EMAIL PROTECTED]> > To: Tomcat Users List > Date: Tue, 20 May 2008 10:27:49 +0200 > Subject: Re: possible bug for mod_jk configure for cygwin > Taro App wrote: >

RE: Deploy applications using /user/MyServlet as name

2008-05-21 Thread Caldarale, Charles R
> From: Cristian Bullokles [mailto:[EMAIL PROTECTED] > Subject: Re: Deploy applications using /user/MyServlet as name > > Each user could call applications using the browser in that way: > http://myserver:8080/user1/WebApp1 > http://myserver:8080/user1/WebApp2 > http://myserver:8080/user2/OtherWebA

Re: Deploy applications using /user/MyServlet as name

2008-05-21 Thread Cristian Bullokles
Sorry for my confusing terminology. I'll try to explain better. I'm using Tomcat 6.0.16 and as as Jhonny said, I want to have multiple WebApplications for each user in my server. Each user could call applications using the browser in that way: http://myserver:8080/user1/WebApp1 http://myserver:8080

Re: Unable to start Tomcat

2008-05-21 Thread R. Sriram
Chuck, I had pointed it to a wrong directory. Once I set JAVA_HOME to "C:\Program Files\Java\jdk1.6.0_06", I am able to start Tomcat. Thank-you...rs Caldarale, Charles R wrote: From: R. Sriram [mailto:[EMAIL PROTECTED] Subject: Re: Unable to start Tomcat I have set the JAVA_HOME to "C:\Progra

Re: How to make my web application the ROOT application

2008-05-21 Thread ryan webb
*Mr. Mark *Thank you very much for your reply, you have saved me! It is working like heaven. =) You are correct about this, it is a broken link. God bless you man! On Wed, May 21, 2008 at 3:09 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: > ryan webb wrote: > >> Hello, >> >> I am using Tomcat 6.0

RE: Unable to start Tomcat

2008-05-21 Thread Caldarale, Charles R
> From: R. Sriram [mailto:[EMAIL PROTECTED] > Subject: Re: Unable to start Tomcat > > I have set the JAVA_HOME to "C:\Program Files\JSDK2.0". And what exactly is installed in "C:\Program Files\JSDK2.0"? That's not a known JVM naming convention. Sounds like you may need to install a proper one

Re: Unable to start Tomcat

2008-05-21 Thread R. Sriram
Hello, I corrected TOMCAT_HOME and CATALINA_HOME. Now when I do the startup of Tomcat, I get the message JAVA_HOME environment variable is not defined correctly. I have set the JAVA_HOME to "C:\Program Files\JSDK2.0". Thanks...rs -

Re: [Fwd: Tomcat manager]

2008-05-21 Thread Konstantin Kolinko
Aren't you using some national characters in your user name or password? Admin application specifies SetCharacterEncodingFilter in its web.xml and uses FORM authentication. The Manager one does not specify the filter and uses BASIC authentication. Also, https://issues.apache.org/bugzilla/show_bug

Unable to start Tomcat

2008-05-21 Thread R. Sriram
Hello, I just downloaded apache-tomcat-6.0.16.zip, unbundled it and set TOMCAT_HOME and CATALINA_HOME appropriately in the User Variables in System Environment Variables. I also downloaded and installed JDK and set JAVA_HOME and included in PATH in System Variables appropriately. When I run s

Re: Disabling Asserts on Tomcat 5.0.x

2008-05-21 Thread Konstantin Kolinko
> > Program: ...Software Foundation\Tomcat 5.0\bin\tomcat5.exe > File: CheckFailureSnippet.cpp > Line: 41 > Whose code it is? AFAIK, service startup code for TC 5.5 and 6.0 for Windows comes from procrun project (http://commons.apache.org/daemon/procrun.html, search this mailing list archives for

Re: Add context definition

2008-05-21 Thread Konstantin Kolinko
> Created a new web app, and tried to see the index.html page, just to > test. Comes up blank. Have you tried http://localhost:8080//index.html ? > There is no context in server.xml for my project. Yes, there should not be any. Have a look into .metadata/.plugins/org.eclipse.wst.server.core/t

Re: Data lost on response in 6.0.16, works fine in 6.0.14

2008-05-21 Thread Konstantin Kolinko
It is a bug of 6.0.16 / 5.5.26. See https://issues.apache.org/bugzilla/show_bug.cgi?id=44494 It occurs for requests that use multibyte code pages (like UTF-8). Single-byte ones AFAIK are working fine. - To start a new topic, e-ma

Re: Data lost on response in 6.0.16, works fine in 6.0.14

2008-05-21 Thread Alex Barclay
Chris Stewart wrote: We're noticing an interesting behavior after upgrading to Tomcat 6.0.16 from 5.5. Our responses are generally large XML documents. Once we upgraded our QA lab to Tomcat 6.0.16, we've noticed that these XML documents are being truncated. Has there been a change in how Tomcat

Data lost on response in 6.0.16, works fine in 6.0.14

2008-05-21 Thread Chris Stewart
We're noticing an interesting behavior after upgrading to Tomcat 6.0.16 from 5.5. Our responses are generally large XML documents. Once we upgraded our QA lab to Tomcat 6.0.16, we've noticed that these XML documents are being truncated. Has there been a change in how Tomcat handles the size of r

Re: Deploy applications using /user/MyServlet as name

2008-05-21 Thread Johnny Kewl
- Original Message - From: "Cristian Bullokles" <[EMAIL PROTECTED]> Cristian, I think you confusing terminolgy, so the guru's have no idea what you saying ;) I need help here people! I think you mean /User/WebApp yes? If so TC is a little strange in the area, an I'm not sure how t

RE: Add context definition

2008-05-21 Thread Caldarale, Charles R
> From: Riaz, Bob [mailto:[EMAIL PROTECTED] > Subject: Add context definition > > Created a new web app, and tried to see the index.html page, just to > test. Comes up blank. There is no context in server.xml for > my project. That's good, because there shouldn't be. Look in your webapp's META-I

RE: Deploy applications using /user/MyServlet as name

2008-05-21 Thread Caldarale, Charles R
> From: Cristian Bullokles [mailto:[EMAIL PROTECTED] > Subject: Deploy applications using /user/MyServlet as name > > I'd like to deploy a war file using /user/myServlet as path, but when > I tried I've received that error: > > FAIL - Failed to deploy application at context path /user/MyServlet. C

RE: Manager Application (Tomcat 5.5.26)

2008-05-21 Thread Caldarale, Charles R
> From: Nuno Manuel Martins [mailto:[EMAIL PROTECTED] > Subject: RE: Manager Application (Tomcat 5.5.26) > > My only belief at this point in time is that somehow I > screwed up the server.xml file... can someone take a look > (attached) and see something out of place? As Mark said, pretty much eve

Re: tomcat 5.0.27 reload=true

2008-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Susan, Susan G. Conger wrote: | Can someone tell me from experience what happens if a user is using a web | app and I do an update and reload=true. Will the user get kicked off and | have to re-sign on? Will they lose whatever they are working on?

tomcat 5.0.27 reload=true

2008-05-21 Thread Susan G. Conger
Can someone tell me from experience what happens if a user is using a web app and I do an update and reload=true. Will the user get kicked off and have to re-sign on? Will they lose whatever they are working on? Thanks, Susan ==

Deploy applications using /user/MyServlet as name

2008-05-21 Thread Cristian Bullokles
I'd like to deploy a war file using /user/myServlet as path, but when I tried I've received that error: FAIL - Failed to deploy application at context path /user/MyServlet. Id like to have an user with different servlets deployed and use them in that way: http://localhost:8080/user1/MyServlet h

TOMCAT AND RMI or JTDS

2008-05-21 Thread Gustavo A Gonzalez
Hello all! I have five tomcat server sending data to a MS SQL database server through an RMI, over a wan schema. When the link between any tomcat server and the RMI server is down or slow I can’t write data and I lose in the air that information. Im not java developer but I want to understand how R

RE: Manager Application (Tomcat 5.5.26)

2008-05-21 Thread Nuno Manuel Martins
Thanks for the insight... will follow your suggestions. Regards, Nuno -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 21 de Maio de 2008 17:04 To: Tomcat Users List Subject: Re: Manager Application (Tomcat 5.5.26) Nuno Manuel Martins wrote: > Well... b

Re: Manager Application (Tomcat 5.5.26)

2008-05-21 Thread Mark Thomas
Nuno Manuel Martins wrote: Well... basically I untared the package I downloaded from the official website and inserted my webapps which work fine. If you had followed Charles's advice a few posts back, you would know which of your changes broke the config. My only belief at this point in t

RE: Manager Application (Tomcat 5.5.26)

2008-05-21 Thread Nuno Manuel Martins
Well... basically I untared the package I downloaded from the official website and inserted my webapps which work fine. My only belief at this point in time is that somehow I screwed up the server.xml file... can someone take a look (attached) and see something out of place? I know the connec

Re: Apache+mod_jk+Tomcat in openSUSE 10.3

2008-05-21 Thread Juha Laiho
Tomás Tormo wrote: I'm gonna install apache+mod_jk+tomcat in openSuse 10.3, but according to the howto's I've seen on the internet, I should create a virtual host in apache in order to make it work. In my experience in other distros (Ubuntu, CentOs), this is not necessary... then... shoul

Data lost on response in 6.0.16, works fine in 6.0.14

2008-05-21 Thread Chris Stewart
We're noticing an interesting behavior after upgrading to Tomcat 6.0.16 from 5.5. Our responses are generally large XML documents. Once we upgraded our QA lab to Tomcat 6.0.16, we've noticed that these XML documents are being truncated. Has there been a change in how Tomcat handles the size of r

RE: Tomcat Users List

2008-05-21 Thread Riaz, Bob
Thanks, Antonio! -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 21, 2008 10:08 AM To: Tomcat Users List Subject: Re: Tomcat Users List 2008/5/21 Riaz, Bob <[EMAIL PROTECTED]>: > http://java.sun.com/xml/ns/j2ee"; >xmlns:xsi="http://www.w3.org

Re: Tomcat Users List

2008-05-21 Thread Antonio Petrelli
2008/5/21 Riaz, Bob <[EMAIL PROTECTED]>: > http://java.sun.com/xml/ns/j2ee"; >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd > http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0

Tomcat Users List

2008-05-21 Thread Riaz, Bob
Hi, This is my web.xml file. Nothing special. I'm just getting started. http://java.sun.com/dtd/web-app_2_3.dtd";> http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml

What means the second number of "Next Maintenance" status ?

2008-05-21 Thread Stephanie Wullbieter
Hello, with mod_jk 1.2.23 status worker there is the output Next Maintenance The first seems to be the countdown until next maintenance. But what does the second number stand for? Could not find it in the docs. Thank You, Stephanie -- GMX startet ShortView.de. Hier findest Du Leute mit Deine

Add context definition

2008-05-21 Thread Riaz, Bob
Hi, I'm using: * Eclipse JEE * Tomcat 6 * Windows XP Pro Created a new web app, and tried to see the index.html page, just to test. Comes up blank. There is no context in server.xml for my project. Update context definition in Eclipse doesn't do anything. Any thoughts wo

Re: Tomcat 6 and Servlet filter problem

2008-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manoj, ManojS wrote: | Thank you for the reply. I created a sample web app with one JSP and a | filter, in the same way you did with dummy JSP. It is working. So, what you | said will be correct, the problem is in the filter. | | How I know that the

RE: Disabling Asserts on Tomcat 5.0.x

2008-05-21 Thread Andrew Stine
> > From: Andrew Stine [mailto:[EMAIL PROTECTED] > > Subject: Disabling Asserts on Tomcat 5.0.x > > > > I'm having an issue running Tomcat 5.0.x on an IBM JVM.> > > Tomcat 5.0 is deprecated; please try with a supported version. I suggested this a month ago. It is not an option. > Also, > since it

Re: Manager Application (Tomcat 5.5.26)

2008-05-21 Thread David Smith
Can you go through the exact steps you took in installing tomcat? Also where exactly did you get your tomcat? Lastly, what Java are you using? I ask because the binary download of tomcat from one of the Apache mirrors just plain works out of the box with the Sun JVM. The error you are getti

RE: Programatically selecting SSL certificate

2008-05-21 Thread Peter Crowther
> From: Yuval Perlov [mailto:[EMAIL PROTECTED] > Is there a least a way to programatically add connectors at run time? If there is (and I'm not sure), you'll find it via "embedded Tomcat", which allows creation of connectors through code. I don't know whether connectors that are created after T

Re: JNDI look issue with Tomcat during server start up

2008-05-21 Thread Hanmay Udgiri
Hi Filip, After using code StandardServer server = (StandardServer) ServerFactory.getServer(); context = server.getGlobalNamingContext(); And putting the JNDI resource definition into servler.xml element ,my connection polling code is working fine. But m

Re: Programatically selecting SSL certificate

2008-05-21 Thread Yuval Perlov
You are right of course, silly me. Is there a least a way to programatically add connectors at run time? On May 21, 2008, at 1:31 PM, Peter Crowther wrote: From: Yuval Perlov [mailto:[EMAIL PROTECTED] Is anyone aware of a way to programatically decide which SSL certificate to use? I am explo

Re: JNDI Connection Pooling

2008-05-21 Thread Hanmay Udgiri
Is there any issue with It. Does this should work or should not work?? Is there any issue with connection object created using below code?? I implemented even putting context.xml file in /conf and I was able to get is work successfully.Bze we are looking for a JNDI default implementation which sho

RE: Programatically selecting SSL certificate

2008-05-21 Thread Peter Crowther
> From: Yuval Perlov [mailto:[EMAIL PROTECTED] > Is anyone aware of a way to programatically decide which SSL > certificate to use? > I am exploring the option of letting the user upload her own > certificate. Of course > I only want that user to use the newly uploaded certificate. Do you mean the

Programatically selecting SSL certificate

2008-05-21 Thread Yuval Perlov
Hello All, Is anyone aware of a way to programatically decide which SSL certificate to use? I am exploring the option of letting the user upload her own certificate. Of course I only want that user to use the newly uploaded certificate. Any ideas are welcome... Yuval Perlov www.r-u-on.com

Re: JNDI Connection Pooling

2008-05-21 Thread Mark Thomas
Hanmay Udgiri wrote: Yes this is working I am able to get connection pool object... And the database connection works? That surprises me. Mark On 5/21/08, Mark Thomas <[EMAIL PROTECTED]> wrote: Hanmay Udgiri wrote: Hi I am currently using connection pooling in tomcat. The code is as belo

Re: JNDI Connection Pooling

2008-05-21 Thread Hanmay Udgiri
Yes this is working I am able to get connection pool object... Thanks and Regards hanmaya On 5/21/08, Mark Thomas <[EMAIL PROTECTED]> wrote: > > Hanmay Udgiri wrote: > >> Hi >> I am currently using connection pooling in tomcat. >> The code is as below >> I have a context.xml.default placed in >

Faking a login through JAAS into tomcat.

2008-05-21 Thread David Cassidy
Hey Guys, I've got a page that allows a user to join up to the service. I want them then to continue using the site as a logged in user. I'm sure there's a really really easy way to fake the login. I've got a custom JAAS login module which authenticates the user. The flow is User goes to join p

RE: Manager Application (Tomcat 5.5.26)

2008-05-21 Thread Nuno Manuel Martins
Hi, I did just that, unfortunately I am getting the same error :( May 21, 2008 9:27:20 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Allocate exception for servlet HTMLManager java.lang.ClassNotFoundException: org.apache.catalina.manager.HTMLManagerServlet at java.net.UR

Re: JNDI Connection Pooling

2008-05-21 Thread Mark Thomas
Hanmay Udgiri wrote: Hi I am currently using connection pooling in tomcat. The code is as below I have a context.xml.default placed in /conf/[enginename]/[hostname]/ file which has below code. Where as in Java code i am setting the values of Userd,pwd driverclass and URL. *My question here is

Re: excluding one webapp from SSL

2008-05-21 Thread Mark Thomas
Johnny Kewl wrote: If the pages are password protected you can use CONFIDENTIAL This is not correct. You need: Everything /* CONFIDENTIAL And it becomes fun if you using SSL on non protected pages. Then (I think) you have to drop the above techniqu

Re: How to make my web application the ROOT application

2008-05-21 Thread Mark Thomas
ryan webb wrote: Hello, I am using Tomcat 6.0.14. I renamed the original ROOT folder to adminstuff and I made my web app as the ROOT. I checked by typing the *http://localhost/* and I saw my web application. =) Now when I try to access *http://localhost/adminstuff/* It displays the Tomcat Conso