RE: other ways to register a Servlet web application

2004-08-01 Thread Robert Hunt
Regarding this thread and another I just inquired about (http://www.mail-archive.com/[EMAIL PROTECTED]/msg132857.html), Yoav, would you have a code example? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [tomcat] Re: Understanding tomcat web administration tool.

2004-08-01 Thread Samuel V . Green III
With respect to user username=samuel password=samuel roles=tomcat,role1,manager,admin/ When I attempt a login at the Admin. Tool screen I'm entering UserName : samuel Password :samuel I get the following errors: HTTP Status 400 - Invalid direct reference to form login

Re: [tomcat] Re: Understanding tomcat web administration tool.

2004-08-01 Thread Samuel V . Green III
I clicked on /admin from within the manager app and entered username and password and WALA! it now works? Who knows? Samuel. On Aug 1, 2004, at 5:34 AM, Samuel V. Green III wrote: With respect to user username=samuel password=samuel roles=tomcat,role1,manager,admin/ When I attempt a login at

Re: [tomcat] Re: Understanding tomcat web administration tool.

2004-08-01 Thread Samuel V . Green III
I now logged out and am getting errors again? Why did it work for a split-second? Samuel. On Aug 1, 2004, at 5:38 AM, Samuel V. Green III wrote: I clicked on /admin from within the manager app and entered username and password and WALA! it now works? Who knows? Samuel. On Aug 1, 2004, at 5:34

Re: [tomcat] Re: Understanding tomcat web administration tool.

2004-08-01 Thread Michael Echerer
And when examining localhost_log.2004-08-01.txt I see these errors: 2004-08-01 04:20:52 StandardHost[localhost]: Error deploying application at context path null java.lang.IllegalStateException: Context path /admin is already in use 2004-08-01 04:20:52 HostConfig[localhost] Error deploying

horrible problems with TC4.1 under RedHat Advanced Server

2004-08-01 Thread Steve Summit
I've got a big, complicated web application (too complicated to go into the details of here), and I'm having problems moving from Red Hat 9 to Red Hat Advanced Server / Enterprise Server. (The move is for support reasons.) Things were working basically okay under Red Hat 9. But under Advanced

Connecting to MS Access DB

2004-08-01 Thread Muhammad Khalid Sohail Khan
Hi everybody, I am a student and new to tomcat. I want to use simple database under MS Access. I have written a simple servlet, which just insert some data into table. But I am getting following exception org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory

Error: -Dsun.io.useCanonCaches=false

2004-08-01 Thread Héctor A . Abreu
Hi, there. I'm trying to start Tomcat 4.1.30 on my XP laptop with j2re1.4.2_05 It throws the following error: C:\jakarta-tomcat-4.1.30\binstartup.bat The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program Using CATALINA_BASE:

RE: [tomcat] Re: Understanding tomcat web administration tool.

2004-08-01 Thread Ernesto Echeverría
Proper jsp support meaning that you have the javac defined in the classpath and that jsp files work fine under your installation. Considering you have access to the manager app, what about stopping restarting admin, do you get errors on screen or do you get an OK message? That application is

proxy to php app

2004-08-01 Thread Vic Cekvenich
I know how to write servlets and filters. How do I create a proxy app on tomcat that would forward to a php app? I do not know how to start. tia, .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: [tomcat] proxy to php app

2004-08-01 Thread Ernesto Echeverría
I've started to use apache with mod_jk2, meaning that apache handles the web server content and forwards request to tomcat according to your configuration. In that way you keep using all your apache goodies, cgi-bin, php, etc... So my recommendation is: use mod_jk2, keep apache for everything

Re: horrible problems with TC4.1 under RedHat Advanced Server

2004-08-01 Thread David Rees
Steve Summit wrote, On 8/1/2004 6:22 AM: I've got a big, complicated web application (too complicated to go into the details of here), and I'm having problems moving from Red Hat 9 to Red Hat Advanced Server / Enterprise Server. (The move is for support reasons.) I suspect that there's some

Jakarta Commons Configuration files

2004-08-01 Thread Wilson, Allen
Good afternoon... I am trying to create a java class that will send HTML mail. I have the class created and compile but it errors out specifying that the org.apache.commons.configurtion.Configuration class cannot be found. Does anyone know where I can locate the jar files for the Commons

Re: Connecting to MS Access DB

2004-08-01 Thread Wade Chandler
Muhammad Khalid Sohail Khan wrote: Hi everybody, I am a student and new to tomcat. I want to use simple database under MS Access. I have written a simple servlet, which just insert some data into table. But I am getting following exception org.apache.commons.dbcp.SQLNestedException: Cannot create

Re: [tomcat] Re: Understanding tomcat web administration tool.

2004-08-01 Thread Dennis Dai
The HTTP Status 400 - Invalid direct reference to form login page error is because you've stayed in the login page for too long that the session associated with that login has expired. It works something like this in tomcat: When you request a protected resource and you're not authenticated

Re: Multiple contexts mapped to single docbase

2004-08-01 Thread Robert Hunt
This seems to work: [server.xml excerpted] --- !-- uses standard web.xml as deployment descriptor -- Context path=myWWW docBase=appXyz ... / !-- uses webdav.xml as deployment descriptor -- Context path=myWebDav

Re: [tomcat] Re: Understanding tomcat web administration tool.

2004-08-01 Thread Samuel V . Green III
I did a fresh install of Tomcat 4.1.3 at /users/myuser/tomcat4. At a previous install I was trying the Mac OSX the first example of Java and Tomcat on Mac OS X, http://developer.apple.com/internet/java/tomcat1.html It took me awhile to figure out the classpath command before the javac command

Re: horrible problems with TC4.1 under RedHat Advanced Server

2004-08-01 Thread Peter Lin
this is most definitely an issue with glibc, since I've seen it in the past on my machine. I've had it happen with Sun jvm and IBM jvm for redhat in the past. your best bet is to search the redhat mailing list for solutions to the problem. peter On Sun, 01 Aug 2004 10:54:51 -0700, David Rees

RE: Connecting to MS Access DB

2004-08-01 Thread Aris Javier
Did you make your DSN as System DSN ? Don't make your DSN inside User DSN when running Tomcat as a service... I've been using Tomcat and Access under win2k... and don't have problems... -Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 3:18

Re: Error: -Dsun.io.useCanonCaches=false

2004-08-01 Thread Endy Muhardin
On Sunday 01 August 2004 21:31, Héctor A. Abreu wrote: Hi, there. I'm trying to start Tomcat 4.1.30 on my XP laptop with j2re1.4.2_05 It throws the following error: C:\jakarta-tomcat-4.1.30\binstartup.bat The JAVA_HOME environment variable is not defined correctly This environment

Re: horrible problems with TC4.1 under RedHat Advanced Server

2004-08-01 Thread Marc Boorshtein
Which JDK are you using? There is an incompatibility between jdk1.3 and redhat enterprise 3.0. -- Marc Boorshtein Sr. Software Engineer, Octet String [EMAIL PROTECTED] On Aug 1, 2004, at 5:34 PM,

Re: horrible problems with TC4.1 under RedHat Advanced Server

2004-08-01 Thread Chong Yu Meng
I think RHAS is running NPTL. If you're using IBM's Java 1.4, 1.3.x or earlier and RH9, RHEL, RHAS , you need to set LD_ASSUME_KERNEL=2.2.5. If you're using IBM's Java 1.4.1 or better on RH9, RHEL (not sure about RHAS), you don't need to set LD_ASSUME_KERNEL at all If you're using IBM's Java

Is it possible to modify request parameter?

2004-08-01 Thread Steve Cheng
Dear all, The question may be not a TC specific one. I am using RequestDispatcher to forward a request object from Servlet1 to Servlet2 as followings. protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { ... RequestDispatcher