RE: StackOverFlowError--Please help

2003-09-30 Thread Shapira, Yoav
Howdy, Can servlet1 also forward to servlet2, or vice versa? Is the code snippet taken from either servlet1 or servlet2? If so, you still could have infinite forwarding - StackOverFlowError. Yoav Shapira Millennium ChemInformatics -Original Message- From: shyam [mailto:[EMAIL

RE: Invalid flag error when the tomcat installation path contains blank spaces.

2003-09-30 Thread Shapira, Yoav
Howdy, The bug you quote was marked as invalid because it's fixed already. The stable release following yours is 4.1.27 and contains the fix. Use it instead of 4.1.24. Yoav Shapira Millennium ChemInformatics -Original Message- From: Paulo Gustavo Veiga [mailto:[EMAIL PROTECTED] Sent:

RE: Web App Using JSTL Is Still Failing Under Tomcat 4.0.6

2003-09-30 Thread Michael Duffy
Yes, I don't even have a CLASSPATH environment variable set up on my machine. When I say CLASSPATH, I mean the union of TOMCAT_HOME/common/lib and the app WEB-INF/classes and WEB-INF/lib, not an environment var. Yes, I believe that's right - the problem is with this one Web app.

RE: NullPointerException during HttpServletRequest.getSession

2003-09-30 Thread Dave Barkan
OK thanks for responding to my first question; I looked around, some interesting discoveries within: On Tue, 30 Sep 2003, Shapira, Yoav wrote: Howdy, The symptom is a NullPointerException when I call getSession() on an HttpServletRequest object. The HttpServletRequest object had

can resultset object be re-used

2003-09-30 Thread Paul
jdbc question (tomcat 4.x, java 1.4.2, jdbc 3.0): can the ResultSet object be re-used to retrieve results from altogether different sql query in same .jsp page? Or does a new ResultSet object need to be created for each distinct sql query? -paul lomack.

Separate xml context snippet for web app causes it to be loaded twice

2003-09-30 Thread dhay
Hi, We have a web app that requires a special classloader. We therefore placed a separate xml file in the webapps directory, and placed inside it an xml snippet containing the context for the webapp: Context path=/Kiosk docBase=Kiosk Loader

RE: Tomcat manager is not working

2003-09-30 Thread cody wang
I just add then restart tomcat but it's not working still. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 12:02 PM To: 'Tomcat Users List' Subject: RE: Tomcat manager is not working When you add roles, do you also add user in

RE: Web App Using JSTL Is Still Failing Under Tomcat 4.0.6

2003-09-30 Thread Shapira, Yoav
Howdy, ...Definitely NOT using common/lib, shared/lib, and other shared repositories. Disk space is cheap. Your time diagnosing classloader issues related to the common repositories is expensive... - so true. Even for JDBC JARs? Yes. I'm pretty strict about keeping webapp

RE: Separate xml context snippet for web app causes it to be loaded twice

2003-09-30 Thread Shapira, Yoav
Howdy, It's not being deployed twice: two apps are being deployed, Kiosk and kiosk. That subtle difference is your problem. Make sure the context XML file has the same name as the docBase, it's case-sensitive. Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL

Re: j2ee.jar - need JMS services from another server

2003-09-30 Thread Marvin D. Toll
Wow - good point! I created a j2ee.servlet.jar (javax.servlet.*) and was able to successfully boot Tomcat 5.0. Shapira, Yoav [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Howdy, I believe if any duplicates are included - the Tomcat server will not boot. That's wrong. The

C:\Program Files\jdk1.3\bin\java problems

2003-09-30 Thread Bilal Ahmed
Hi: I am having problem using C:\Program Files\JDK or C:\Progra~1\JDK directories to work with Tomcat. I have getting error that JSP pages could not be compiled using C:\Program Files\JDK\bin\java. Is Program Files a problem with Tomcat? Thanks, Bilal

RE: JSP Compilation Issues

2003-09-30 Thread Pooleery, Manoj
Cut it into multiple JSPs, with no try catch block, in the header add code to redirect to an error page in case of an exception. You might be better off if you consider alternate options to display it as JSPs, as it may very well become a maintenance nightmare. Thanks -Manoj Pooleery. Sr.

RE: Web App Using JSTL Is Still Failing Under Tomcat 4.0.6

2003-09-30 Thread Michael Duffy
Thank you so much for your wise counsel. Your idiom has now become mine. I'm going through very carefully and trying to make sure that everything is set up properly with my apps. I've stripped my Tomcat installation down to just the JARs that Jakarta put in the common/lib, and I'm rearranging

RE: \Program Files\jdk1.3\bin\java problems

2003-09-30 Thread John Corrigan
Is tomcat started as a service? If so, you need to go into the registry and change the jvm.dll path to the one in the server directory of the JSDK installation. -Original Message- From: Bilal Ahmed [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 1:47 PM To: Tomcat Users List

RE: put, globally works, want only single webapp

2003-09-30 Thread Shapira, Yoav
Howdy, To do this for just one webapp, you need to move the DefaultServlet definition and mapping from conf/web.xml to the webapp's web.xml. You will have one copy of this definition for every webapp. The ones where you want PUT enabled will have listings=true, others will have the default

RE: Web App Using JSTL Is Still Failing Under Tomcat 4.0.6

2003-09-30 Thread Michael Duffy
Now I'm getting a NoClassDefFoundException when I try to run my echo JSP: sun.tools.javac.Main (It used to work.) I see that this class is contained in my JAVA_HOME/lib/tools.jar. I also see from a Google search that lots of folks have had problems with this. The easy fix is to modify the

RE: Separate xml context snippet for web app causes it to be loaded twice

2003-09-30 Thread dhay
Thanks! I guess I just needed another pair of eyes to spot that! Cheers, David Shapira, Yoav [EMAIL PROTECTED] on 30/09/2003 04:30:46 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Separate xml context snippet for

RE: Separate xml context snippet for web app causes it to be loaded twice

2003-09-30 Thread dhay
Hmmm...guess it needed 3 pairs of eyes!!! Problem is, on XP atleast, is seems that webapp gets installed as kiosk not Kiosk :-( Cheers, David Shapira, Yoav [EMAIL PROTECTED] on 30/09/2003 04:30:46 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL

RE: Apache Authentication with Tomcat

2003-09-30 Thread Boemio, Neil (GEI, FGI)
Awesome! Works great now! Thanks a bunch! -Original Message- From: Robert Priest [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 12:03 PM To: 'Tomcat Users List' Subject: RE: Apache Authentication with Tomcat

RE: \Program Files\jdk1.3\bin\java problems

2003-09-30 Thread Bilal Ahmed
Hi John, The tomcat is not started as a service. I have JDK and Tomcat installed in the C:\program files\jdk and c:\program files\tomcat directories. Tomcat won't run from c:\program files directory, or find java either to compile JSP pages. Bilal -Original Message- From: John

Tag Lifecycle

2003-09-30 Thread Lukas Bradley
What is the lifecycle of custom tags? Are tag objects reused throughout a page? It seems as if my tags are not always being created. They are not *always* reused however. Lukas - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: NullPointerException during HttpServletRequest.getSession

2003-09-30 Thread Bill Barker
The short answer is that you can't do this. It's true that Tomcat 3.2.x allowed you to get away with nasty hacks like this, but in subsequent Tomcat versions the Request object is only valid for the lifetime of the request. Dave Barkan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Re: Apache Authentication with Tomcat

2003-09-30 Thread Nikola Milutinovic
When I remove [uri:/*] from workers2.properties and create a dummy htdocs\downloads directory under apache, the apache authentication works fine. But when I put [uri:/*] back, I do not get prompted for ID/Password. Here is what I have in httpd.conf. Any ideas? Directory

Re: Apache Authentication with Tomcat

2003-09-30 Thread Nikola Milutinovic
http://marc.theaimsgroup.com/?l=tomcat-userm=106070071117870w=2 Excellent! Now, when are we going to see an update on the JK2 docs? I'm not expecting a tutorial, just a (complete) list of all the options. I hate digging through the code myself. I know, I can dig through the code, but it is

<    1   2