Apache+mod_jk+Tomcat in openSUSE 10.3

2008-05-21 Thread Tomás Tormo
Hi 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... should I create

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

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 Tomcat install directory/conf/[enginename]/[hostname]/ file which has below code. Context Resource name=jdbc/mylogger auth=Container

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

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

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 Tomcat

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 below

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

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 GlobalNamingResources element ,my connection polling code is

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

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

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

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

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

Tomcat Users List

2008-05-21 Thread Riaz, Bob
Hi, This is my web.xml file. Nothing special. I'm just getting started. ?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/dtd/web-app_2_3.dtd; web-app xmlns=http://java.sun.com/xml/ns/j2ee;

Re: Tomcat Users List

2008-05-21 Thread Antonio Petrelli
2008/5/21 Riaz, Bob [EMAIL PROTECTED]: web-app xmlns=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

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]: web-app xmlns=http://java.sun.com/xml/ns/j2ee;

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

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

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

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

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

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

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?

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

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. Care to

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

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 to

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

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

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,

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/your project name/index.html ? There is no context in server.xml for my project. Yes, there should not be any. Have a look into

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

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

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,

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: 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 (JRE or

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.14. I

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:\Program

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

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/OtherWebApp1

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 users@tomcat.apache.org Date: Tue, 20 May 2008 10:27:49 +0200 Subject: Re: possible bug for mod_jk configure for cygwin