Re: JDBC pooling prob: javax.servlet.ServletException: Communication link failure: java.io.IOException

2003-01-17 Thread Jacob Kjome
Here's my validation query... validationQuery SELECT MAX(id) FROM Users The Database being used is Oracle 8i Hope that helps. Jake At 07:59 PM 1/17/2003 -0800, you wrote: I got a tip here from Craig about using a query in server.xml to make sure the

JDBC pooling prob: javax.servlet.ServletException: Communication link failure: java.io.IOException

2003-01-17 Thread Garrett Smith
I got a tip here from Craig about using a query in server.xml to make sure the connection was good before executing a statement, but I lost it. Is this correct? validationQuery SELECT 0; Also, should I use ";" or not? an extra ";" will cause an error. Garrett = ht

Re: Integrating Tomcat with Apache

2003-01-17 Thread Lajos Moczar
Brian - Have a look at http://www.galatea.com/flashguides for my integration instructions. Or, post the relevant sections of your httpd.conf, server.xml and workers.properties. Regards, Lajos Brian Pisano wrote: I am having trouble Integrating Tomcat with Apache I am running: Tomcat 4.1.1

Re: Filters - get content-type of a response?

2003-01-17 Thread Craig R. McClanahan
On Fri, 17 Jan 2003, David Orriss Jr wrote: > Date: Fri, 17 Jan 2003 18:02:32 -0800 > From: David Orriss Jr <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Filters - get content-type of a response? > > Hey there... > > The only examples I'

request.getContextPath() not working when Tomcat/ Apache

2003-01-17 Thread neal
We use request.getContextPath() in a few situations on a current project. Using Standalone Tomcat we're fine to try to navigate to "/project/servlet?cmd=abc" however Apache doesn't know what do do with this url. I presume that Apache would prefer an absolute path rather than one relative to the to

Integrating Tomcat with Apache

2003-01-17 Thread Brian Pisano
I am having trouble Integrating Tomcat with Apache I am running: Tomcat 4.1.18 Apache 1.3.27 Java 1.4.1_01 Red Hat 7.2 I was following the instructions in Professional Tomcat Apache. Tomcat runs correctly standalone. When I

Filters - get content-type of a response?

2003-01-17 Thread David Orriss Jr
Hey there... The only examples I've found thus far are syntactially incorrect so I'll run my question up the flagpole here... Can I find out the content-type of a *response* in a filter and then act on that accordingly? If so, can someone provide a snippet? Thanks much. -- David Orriss Jr. [E

RE: Tool for HTTP Request Stress Test

2003-01-17 Thread Subir Sengupta
I don't think Micorsoft's WAS is available on their website anymore. http://webtool.rte.microsoft.com/ Subir -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 6:46 AM To: Tomcat Users List Subject: RE: Tool for HTTP Request Stress Test Jme

Re: Mod_JK -2.0.43 compatible with Apache 2.0.40?

2003-01-17 Thread Lajos Moczar
I hear the same thing. Besides, you'll want to go with 2.0.43 as some security issues were fixed post-2.0.40. Regards, Lajos neal wrote: Should the mod_jk-2.0.43.so be compatible with Apache 2.0.40? Its such a minor build I would presume so but I'm getting an error message to the contrary. :

Re: Startup parameters

2003-01-17 Thread Nathan McMinn
Wow, Thanks folks. On a slightly different note, has anyone had any luck using a PCI SSL accelerator card with Tomcat 4.0.6 in a standalone configuration? - Original Message - From: "Hari Venkatesan" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, January 17,

RE: Mod_JK -2.0.43 compatible with Apache 2.0.40?

2003-01-17 Thread neal
Should the mod_jk-2.0.43.so be compatible with Apache 2.0.40? Its such a minor build I would presume so but I'm getting an error message to the contrary. :-\ Thanks. Neal -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 1:36 PM To: Tomcat Users Lis

Re: Require a secure connection

2003-01-17 Thread Milt Epstein
On Thu, 16 Jan 2003, neal wrote: > Does anyone know how to *require* that a page be accessed only via a > secure connection? > > For instance, I *can* request a secure connection to a page by going > to "https://"; and the url ... but how do I prevent a user from going > to "http://"; to request t

RE: Mod_JK.c not compatiable with version of Apache

2003-01-17 Thread neal
Does anyone know why I would get this error when installing mod_JK 2.0.43 on Linux 8, with Tomcat 4.1 and Apache 2.0: "mod_jk.c not compatible with this version of Apache". I presume that when it refers to the "mod_jk.c" it is referring to the cmopuled code it derives from the LoadModule command

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-17 Thread Dan Tran
That is a good news that It works for you. Then It must be something wrong on my configuration. Could you send me your works2.properties and jk2.properties? Thank you for every thing -Dan - Original Message - From: "Mark Eggers" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECT

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-17 Thread Mark Eggers
Dan, I just started up IIS . . . . and things work fine for me (Tomcat 4.1.18, jdk 1.4.1_01, IIS 5, jk2, Windows/2000 Pro). Make sure you have added index.html and index.jsp in the Properties-->Documents tag of your default web site. Otherwise, try http://localhost/examples/jsp/index.html to see

DataSourceRealm and virtual hosts confusion

2003-01-17 Thread Scott Dunbar
Hello, I'm attempting to set up a DataSourceRealm within a virtual host. What I would like to do is have every virtual host have it's own DataSource and have a "private" realm within the virtual host. In this way each virtual host owner can manage their own users in a set of DB tables that th

RE: Tomcat 4.1 takes a long time to start on HP-UX 11

2003-01-17 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Wendy, Our 4.1 tomcat starts up very quickly on HP-UX. Since the delay occurs during the coyote connector startup have you tried using the non-Coyote Connector? Also, in the connector tag do you specify an address atribute? If you do not it will try to bind to every IP address available on yo

RE: Startup parameters

2003-01-17 Thread Hari Venkatesan
Setting the parameters in Catalina.bat would not work if you run Tomcat as a service since you service is calling tomcat.exe directly and not startup.bat or Catalina.bat. But to test out before you start the service you can put the values in CATALINA_OPTS = -Xms128m -Xmx258 etc and run Catalina.b

RE: Tomcat 4.1 takes a long time to start on HP-UX 11

2003-01-17 Thread Wendy Smoak
> Is the set of web applications on the server and the set of what runs on > startup (listeners, filters, load-on-startup servlets) the same? As far as I know... I'm only working on the one webapp, and otherwise there are just the examples and whatever else comes with Tomcat. However, the Win2K/L

Re: Startup parameters

2003-01-17 Thread David Hemingway
Put the following in your catalaina.bat, I have this set just underneath where CATALINA_BASE, JAVA_HOME, and CATALINA)HOME are set. CATALINA_OPTS="-server -Xmx512m -Xms128m" regards, Dave PS all startup parameters get put in under CATALINA_OPTS - Original Message - From: "Nathan McMinn"

RE: Startup parameters

2003-01-17 Thread Hari Venkatesan
Take a look at the following site. It gives you a feeler of how to do it. Once you run the batch file, it updates the Win2000 registry entries for you. From there you can play with it. http://www.mattkelli.com/tech/tomcat/ntservice.htm But the only catch running tomcat as service with the start

Re: Startup parameters

2003-01-17 Thread Lajos Moczar
Set CATALINA_OPTS = "-Xmx256" or whatever you want. Either set it in your environment or at the top of catalina.bat (that's what I do). Lajos Nathan McMinn wrote: OK, one quick question that I'm sure anybody here but me can answer. I am running Tomcat as a service on windows 2000 server. I wa

Startup parameters

2003-01-17 Thread Nathan McMinn
OK, one quick question that I'm sure anybody here but me can answer. I am running Tomcat as a service on windows 2000 server. I want to set some JVM parameters when tomcat starts (things like -server, -Xmx, -Xms, etc). Where would I go about making these changes? I've looked through the catalina

Re: Ignore URL Prefix

2003-01-17 Thread Lajos Moczar
Johnny - I just had to deal with this exact same problem but could not come up with a way other than to define each with a path set to "/tomcat/". Lajos [EMAIL PROTECTED] wrote: I'm using Apache + Tomcat 4.1.12. In addition to Tomcat, my Apache serves static content and other CGI applicatio

RE: Tomcat 4.1 takes a long time to start on HP-UX 11

2003-01-17 Thread Shapira, Yoav
Howdy, Is the set of web applications on the server and the set of what runs on startup (listeners, filters, load-on-startup servlets) the same? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Wendy Smoak [mailto:[EMAIL PROTECTED]] >Sent: Friday, January 17, 2003 5:10

Ignore URL Prefix

2003-01-17 Thread johnny
I'm using Apache + Tomcat 4.1.12. In addition to Tomcat, my Apache serves static content and other CGI applications outside of Tomcat. I've got the standard Tomcat webapps directory structure, like: jakarta-tomcat-4.1.12 webapps app1 WEB-INF lib app2

Tomcat 4.1 takes a long time to start on HP-UX 11

2003-01-17 Thread Wendy Smoak
On HP-UX11, Tomcat 4.1, catalina.out shows this: Jan 17, 2003 2:40:50 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8081 Starting service Tomcat-Standalone Apache Tomcat/4.1 Jan 17, 2003 2:42:27 PM org.apache.coyote.http11.Http11Protocol start INF

RE: Can you set a webapp as Tomcat's default page?

2003-01-17 Thread Tim Moore
> -Original Message- > From: Bill [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 17, 2003 11:15 AM > To: Tomcat Users List > Subject: RE: Can you set a webapp as Tomcat's default page? > > > Ok...new development...adding the * to the JkMount directive > now allows the login page to

RE: System.out logs

2003-01-17 Thread Tim Moore
> -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 17, 2003 3:46 PM > To: Tomcat Users List > Subject: RE: System.out logs > > > > > On Fri, 17 Jan 2003, Tim Moore wrote: > > > Date: Fri, 17 Jan 2003 13:34:50 -0500 > > From: Tim Moore <

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-17 Thread Dan Tran
I ran out of option here except to ask that you can verify this with your IIS, could you? ;-) - Original Message - From: "Mark Eggers" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, January 17, 2003 1:33 PM Subject: Re: Tomcat 4.1.18, JK2, IIS - Second try

RE: Mod_JK - JkMount Invalid Command

2003-01-17 Thread neal
John, Your tutorial ROCKS! It turns out there were 4 distinct problems which I was able to identify in part by using the Apache.exe and in part by comparing your steps to the collage I had compiled from other incomplete sources. My primary problem was that mod_jk.dll was not being recognized so

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-17 Thread Mark Eggers
Dan, They should be the same I think . . . The IIS - specific parts should be concerned with the redirector only. As long as you have the green arrow in your IIS properties and the virtual directories set up in IIS I think you should be OK. I may fire up IIS just for grins again to see what hap

Re: Tomcat 4.1.18

2003-01-17 Thread Daniel Bruce Lynes
On Friday 17 January 2003 07:03, Shapira, Yoav wrote: > Howdy, > Perhaps this will shed some light. See Issue 1 at > http://www.jcp.org/aboutJava/communityprocess/maintenance/jsr053/errata_ > 1_2_a_20020321.html > > Yoav Shapira > Millennium ChemInformatics This sort of fixed it. It fixed one p

help needed regarding tomcat jndi database connection pooling

2003-01-17 Thread Prashanth Gane
Hi All, I have integrated tomcat 4.0.4 with apach 1.3.x. I have configured one of my tomcat contexts for database connection pooling and written a small jsp program to test the connection pooling by making use of jndi lookup.. The problem is when i access the context through port 8080 then I am

Re: Tomcat 4/Apache2

2003-01-17 Thread Lajos Moczar
Please post relevant sections of httpd.conf, server.xml, workers.properties. Thanks. Lajos Ravindra K. Bhat wrote: Hi, After integrating tomcat and apache I am able to start them individually without any errors but I am not able to get my servlets or tomcat folders using the apache port (ie do

RE: Can you set a webapp as Tomcat's default page?

2003-01-17 Thread Bill
Ok...new development...adding the * to the JkMount directive now allows the login page to render without any of its images. At least its progress right! :) Funny thing is my first attempt at this, I did have '/*' as the mount point but that didnt work. I'm pretty sure this is because I defined

Tomcat 4/Apache2

2003-01-17 Thread Ravindra K. Bhat
Hi, After integrating tomcat and apache I am able to start them individually without any errors but I am not able to get my servlets or tomcat folders using the apache port (ie domain name url)...any ideas why? Ravi -- To unsubscribe, e-mail: For additional comma

Re: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Sebastiªo Carlos Santos
Lajos, I am also very confused with whole the process of configuration of the Apache, after the initial problem of the integration of the Apache with Tomcat in Linux. I have faith that some points need to be lifted up: "you only need the same four hosts configured in Tomcat is you want to ha

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-17 Thread Dan Tran
Hi Mark thank you for so much help You last note indicate this that you are using apache/tomcat on w2k. So your jk2.properties is for this configuration??? Do you have workers2.properties and jk2.properties that work with IIS/tomcat JK2 connector? -D - Original Message - From: "Mark Egg

RE: System.out logs

2003-01-17 Thread Craig R. McClanahan
On Fri, 17 Jan 2003, Tim Moore wrote: > Date: Fri, 17 Jan 2003 13:34:50 -0500 > From: Tim Moore <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: System.out logs > > > -Original Message- > > From: Shapira, Yoa

RE: Can you set a webapp as Tomcat's default page?

2003-01-17 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
How did it fail? Also you need to use JkMount /* ajp13 otherwise nothing will be mapped to tomcat expect for the root url Jeff -Original Message- From: Bill [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 8:22 AM To: tomcat user Subject: Can you set a webapp as Tomcat's defaul

RE: Can you set a webapp as Tomcat's default page?

2003-01-17 Thread Turner, John
Check out in web.xml. John > -Original Message- > From: Bill [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 17, 2003 10:22 AM > To: tomcat user > Subject: Can you set a webapp as Tomcat's default page? > > > I want to set up my server so that all requests take you to the login > p

RE: Can you set a webapp as Tomcat's default page?

2003-01-17 Thread Raible, Matt
I don't believe Tomcat 4.1.x supports servlets as the welcome page - you could, however, put an index.jsp into your webapp that does a response.redirect to your servlet. The Servlet 2.4 spec supports servlets as welcome files. Can you hit your servlet if you type it in the URL? Matt -Origin

Can you set a webapp as Tomcat's default page?

2003-01-17 Thread Bill
I want to set up my server so that all requests take you to the login page of my webapp. I'm pretty sure this can be done fairly easily however I havent yet figured it out. Is there an online resource for this or has somebody here done it? Basically what I've tried thus far is: 1) set the roo

RE: Adding Tomcat As A Service After Zip Install

2003-01-17 Thread Turner, John
http://www.mattkelli.com/tech/tomcat/ntservice.htm John > -Original Message- > From: John Lindley [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 17, 2003 3:16 PM > To: [EMAIL PROTECTED] > Subject: Adding Tomcat As A Service After Zip Install > > > Hi all. I have already installed

Adding Tomcat As A Service After Zip Install

2003-01-17 Thread John Lindley
Hi all. I have already installed Tomcat 4.0.4 from zip and now want to add it as a service in Win2K. I know that newer versions of the exe installer give the option to install as a service, but I just want to adjust my current system to run it as a service. I would appreciate any help anyone

MissingResourceException on ResourceBundle.getBundle(.)

2003-01-17 Thread Manveen Kaur
Hi, I have a web-app that looks up a properties file. I'm getting a java.util.MissingResourceException on ResourceBundle.getBundle(..); The jar containg the properties file is in WEB-INF/lib. Is this a classpath issue? Is there a workaround? Any help would be greatly appreciated. thanks Manve

Re: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Erik Price
Tim Moore wrote: It wouldn't be hard to write a custom task to do that. Seems like it would be better to fix the source tree structure in CVS, though. It's kind of a PITA, but once it's done, it's done. I agree -- it just doesn't seem right to have a flattened hierarchy in CVS. But I

REPOST: How do you control jk2 logging on tomcat side?

2003-01-17 Thread Raiden
Is there a way to turn this (non-harmful?) messages off, or am I the only one getting a server log full of them? Thanks, -Raiden -- Forwarded message -- Date: Sat, 11 Jan 2003 20:22:17 -0800 (PST) From: Raiden <[EMAIL PROTECTED]> Reply-To: Tomcat Users List <[EMAIL PROTECTED]> To

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-17 Thread Mark Eggers
Dan, In each of your uri definitions, you need to say what worker you will be using: [uri:/examples/jsp/*] info=JSP examples context=/examples/jsp worker=ajp13:localhost:8009 I'm using the following in my jk2.properties file. I am using apache on win/2k, but I haven't started playing with the i

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-17 Thread Dan Tran
You are right I dont have shm configure in my workers2.properties. After added shm property, the error message dissappear (Error: [jk_shm.c (333)]: shm.init(): No file ) However the connector still have problem, I recieved http 404 code. The following contains my workers.properties file [chann

[Off-Topic] Memory ALlocation in Win2K

2003-01-17 Thread Hari Venkatesan
When I start the JVM with -Xms512m, where does the memory gets allocated from. Is it from System main memory or from the virtual Memory. The reason I ask this is when I look at Windows Task manager I could see a bump in the MEM Usage portion. But the amount of Physical Memory (Total + Available) d

RE: Mod_JK - JkMount Invalid Command

2003-01-17 Thread Turner, John
Uncomment those two lines. Then, open up a command window and call Apache like this: SOME_DRIVE:\SOME\PATH\TO\APACHE\BIN\APACHE.EXE -t This will check the syntax of Apache's httpd.conf without starting Apache. Fix the errors, then call it with "-t" again until you see "Syntax OK". The whole

Mod_JK - JkMount Invalid Command

2003-01-17 Thread neal
I'm trying to setup ModJK for the first time between Apache 2.0 and TOmcat 4.0.4, on Windows 2000. I am stuck with an error I was hoping someone might recognize: It tells me "invliad JKMount command. Perhaps mispelled or defined by a module not included in the server configuration". I presume th

RE: Tool for HTTP Request Stress Test

2003-01-17 Thread Lior Shliechkorn
What exactly does doing the HTTP Request Stress Test do? Thanks, Lior - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Tomcat 4.18 and jikes 1.18 - JSP compilation fails

2003-01-17 Thread Jan Ploski
Hello, I am using "Apache Tomcat/4.1.18-LE-jdk14" and jikes 1.18 on Linux. JSP page compilation works with javac. With jikes, the *.java file in the work directory is generated, but the *.class file is not. See the exception pasted below. No additional info appears in catalina.out nor stdout. I s

RE: Parse error in application web.xml

2003-01-17 Thread Lott, Carey
That was it. Thanks I placed welcome-file-list element at the bottom and then grouped all of the servlet elements together and underneath it all of the servlet-mapping elements. It finally started up with out an error. Thanks Again. If anybody is interested below is my corrected version. web.xm

RE: Re: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Tim Moore
> -Original Message- > From: Erik Price [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 17, 2003 1:29 PM > To: Tomcat Users List > Subject: OT: Re: Classes not being found in app's WEB-INF directory. > > > > > Tim Moore wrote: > > >>Can Ant read the package declarations of the sour

RE: Parse error in application web.xml

2003-01-17 Thread Shapira, Yoav
Hi, >Instead of depending on the invoker servlet, I have added our servlets to Good. >2003-01-17 13:07:51 ContextConfig[/esd] Parse error in application web.xml >org.xml.sax.SAXParseException: The content of element type "web-app" must >match >"(icon?,display-name?,description?,distributable?,co

Only one tomcat process for Tomcat 3.3.1 using JDK 1.4.1 on RedHat 8

2003-01-17 Thread nikhil daxini
Hi, I have installed Tomcat 3.3.1, JDK 1.4.1 on RedHat 8 machine. When I start tomcat, I see only one Tomcat thread if I do ps -ef. Earlier I had been using tomcat 3.3.1 on Red Hat 7.3. With these configuration I use to see aroung 40 tomcat threads/processes on startup. I have exactly same con

Re: Parse error in application web.xml

2003-01-17 Thread Lajos Moczar
Carey - Put all tags together and then all tags together AFTER the tags. Regards, Lajos Lott, Carey wrote: Instead of depending on the invoker servlet, I have added our servlets to the web.xml file inside of the app's WEB-INF directory. However, now I am getting the following error when

RE: System.out logs

2003-01-17 Thread Tim Moore
> -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 17, 2003 1:30 PM > To: Tomcat Users List > Subject: RE: System.out logs > > > Howdy, > > >I know we could pipe the output to a file but there should > be something > >better. Like calling Sys

RE: System.out logs

2003-01-17 Thread Vijay Kandy
Hmmm Guess I have to live with that for a while. Thanks for your replies all. Sincerely, Vijay Howdy, >I know we could pipe the output to a file but there should be something >better. Like calling System.setout() or perhapsa Logger tag...?? Those things are available in tomcat 4.x. Upgrade

Parse error in application web.xml

2003-01-17 Thread Lott, Carey
Instead of depending on the invoker servlet, I have added our servlets to the web.xml file inside of the app's WEB-INF directory. However, now I am getting the following error when I try to start tomcat with the changed web.xml: 2003-01-17 13:07:51 ContextConfig[/esd] Parse error in application w

Help with VirtualHost and multiple webapps

2003-01-17 Thread Pascal Robert
Hi list, I'm trying to deploy multiple webapps inside one virtual host with the WARP connector (mod_webapp, Tomcat 4.06, Apache 1.3.27, OS X 10.2.3 Server). I have one directory (outside Tomcat's tree) with 3 apps: - ROOT - mobile - utilitaires The only app I can reach is ROOT, I get 404's (fro

RE: System.out logs

2003-01-17 Thread Shapira, Yoav
Howdy, >I know we could pipe the output to a file but there should be something >better. Like calling System.setout() or perhapsa Logger tag...?? Those things are available in tomcat 4.x. Upgrade to get them ;) For 3.x, you're stuck with OS-dependent, non-portable solutions to this requirement

Re: tomcat configuration with apache 1.3.27 ssl

2003-01-17 Thread Lajos Moczar
Dan, I have several FlashGuides that discuss these issues in detail at http://www.galatea.com/flashguides. After you check them out, let me know if you have any additional questions and I can probably help. Cheers, Lajos Dan Finkelstein wrote: I am trying to do the same thing -- getting SSL

OT: Re: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Erik Price
Tim Moore wrote: Can Ant read the package declarations of the source files to determine where they should be placed, or will I have to hard code the paths into the tasks? It wouldn't be hard to write a custom task to do that. Seems like it would be better to fix the source tree structur

RE: System.out logs

2003-01-17 Thread Vijay Kandy
I am running Red Hat Linux. But is that an OS dependant property? I know we could pipe the output to a file but there should be something better. Like calling System.setout() or perhapsa Logger tag...?? Thank you, Vijay You don't say which OS you are running. On unix, the output is redirected u

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-17 Thread Mark Eggers
Dan, In your workers2.properties file, do you have a section similar to the following? [shm] file=C:/Apache2/logs/shm.file size=1048576 /mde/ just my two cents . . . . __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://

RE: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Tim Moore
> -Original Message- > From: Erik Price [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 17, 2003 1:07 PM > To: Tomcat Users List > Subject: Re: Classes not being found in app's WEB-INF directory. > > > > > Raible, Matt wrote: > > Use Ant to build everything - and tell it where you w

Re: Sevlets not seen

2003-01-17 Thread eric
Ganesh, Thanks! I guess that explains the differences from the books. I wonder what's next :-)) Thanks again. On Friday 17 January 2003 17:23, [EMAIL PROTECTED] wrote: > InvokerServlet is disabled by default in Tomcat 4.1.12 onwards for > security reasons. So either you can uncomment the foll

RE: tomcat configuration with apache 1.3.27 ssl

2003-01-17 Thread Dan Finkelstein
I am trying to do the same thing -- getting SSL to work to Tomcat 4.06 from Apache 1.3 w/OpenSsl and mod_jk ajp13 1.2. I think I'm missing the missing 1-2-3 steps ... or approach. I have everything working except for the ssl communication to Tomcat. * What changes are needed to httpd.

Tomcat 4.1.18, JK2, IIS - Second try

2003-01-17 Thread Dan Tran
Hi, I have my tomcat running W2K professional using NT service. I follow JK2 doc and other recommendations on this archive (word by word) to configure connector. So far no luck. The isapi_redirector2.dll load up in IIS management console looks good, but the NT EventViews shows the following

jk "connection timeout reached"

2003-01-17 Thread Nick Wesselman
I'm seeing a lot of messages like this in my catalina.out with TC 4.1.18. Jan 16, 2003 3:20:40 PM org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached Jan 16, 2003 3:20:40 PM org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached J

Re[2]: Newbie cookie question

2003-01-17 Thread Jacob Kjome
Hello joel, hmmm I assume the problem with the cookie not disappearing upon browser shutdown is solved, but the issue with seeing this cookie across all webapps on the same server is not solved, right? Now that I think about it, I wonder if the path of "/" in servlets is relative to the cont

Re: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Erik Price
Raible, Matt wrote: Use Ant to build everything - and tell it where you want your compiled classes to end up. That's a good idea. I am using Ant currently, but hadn't thought of doing this. The only problem is that I use NetBeans, which requires that the source code be stored in the proper

Re: Sevlets not seen

2003-01-17 Thread Ganesh.K.Rao
InvokerServlet is disabled by default in Tomcat 4.1.12 onwards for security reasons. So either you can uncomment the following lines from ${TOMCAT_HOME}/conf/web.xml or include these lines in ${TOMCAT_HOME}/webapps//WEB-INF/web.xml, invoker /servlet/* Thanks, Ganesh.

Re: Sevlets not seen

2003-01-17 Thread Jacob Kjome
Hello eric, You are attempting to use the "invoker" servlet of which the servlet-mapping is commented out, by default, in Tomcat's conf/web.xml. Uncomment that and it will work. Jake Friday, January 17, 2003, 10:25:41 AM, you wrote: e> Greetings! e> This has got to be so easy I'm missing some

Re: Jasper vs Jasper2

2003-01-17 Thread Peter Lin
I'll chime in on this, since I've done quite a bit of benchmarking and testing with jasper & jasper2. Kin-man, jan, remy and everyone else have made great strides in improving jasper2 performance. jasper1 had serious problems with tags, because it generated deeply nested try/catch blocks. That c

Re: Newbie cookie question

2003-01-17 Thread joel . dewitt
The problem is that it works perfectly on WebSphere 4.x, but not Tomcat ** for the other webapps**. The worst case would be a bug in WebSphere, the production server, that gets fixed someday. This looks right, but am I missing something?--- Cookie aCookie = new Cookie( MY_COOKIE_KEY, cook

Re: Tomcat 4.1.18

2003-01-17 Thread Daniel Bruce Lynes
On Friday 17 January 2003 07:03, Shapira, Yoav wrote: > Howdy, > Perhaps this will shed some light. See Issue 1 at > http://www.jcp.org/aboutJava/communityprocess/maintenance/jsr053/errata_ > 1_2_a_20020321.html > > Yoav Shapira > Millennium ChemInformatics Thanks, Yoav. I will try this out tod

Re: System.out logs

2003-01-17 Thread Dan Lipofsky
> Hello All, > > Tomcat 4 logs all System.out or System.err messages to Catalina.out by > default. How would I do this in a Tomcat 3.2.3 environment. As of now, it > prints on to the window Tomcat was started. I would like to save the > messages on a file. Please help. > > Sincerely, > Vijay You

Re: System.out logs

2003-01-17 Thread Lajos Moczar
On Unix, startup.sh > tomcat.out 2>&1. Windows something similar, I'm sure. Lajos Vijay Kandy wrote: Hello All, Tomcat 4 logs all System.out or System.err messages to Catalina.out by default. How would I do this in a Tomcat 3.2.3 environment. As of now, it prints on to the window Tomcat was st

RE: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Raible, Matt
Use Ant to build everything - and tell it where you want your compiled classes to end up. -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 10:07 AM To: Tomcat Users List Subject: Re: Classes not being found in app's WEB-INF directory. Lior S

RE: Object accessible to all servlets in the container.

2003-01-17 Thread Shapira, Yoav
Howdy, 1. Read up on the ServletContext object and ServletContextListener implementations. This information is in the Servlet specification, v2.3. 2. Read up on the Singleton design pattern. Do a google search for this and you'll find lots of information. You could have a LicenseManager singlet

Re: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Erik Price
Lior Shliechkorn wrote: I had a bunch of problems with that until I packaged the classes and then it had no problem finding the class files. Give that a try. I too made the mistake of putting all of my classes directly under WEB-INF/classes. Now I would like to put them into a proper package

Object accessible to all servlets in the container.

2003-01-17 Thread Robert Priest
Hello all, I was wondering how\where in Tomcat could I create an Objectthat gets loaded when the Tomcat Server startsup and is alive and accessible to all Servlets that are running. It could contain information about the server that a servlet may be interested in knowing, or could do things like

System.out logs

2003-01-17 Thread Vijay Kandy
Hello All, Tomcat 4 logs all System.out or System.err messages to Catalina.out by default. How would I do this in a Tomcat 3.2.3 environment. As of now, it prints on to the window Tomcat was started. I would like to save the messages on a file. Please help. Sincerely, Vijay -- To unsubscribe,

Re: Sevlets not seen

2003-01-17 Thread eric
Lajos, Thank you, thank you, thank you. I should have asked 4 hours ago. :-)) I have three books, followed them to the 'T' and no mention of this. I guess it's hard to stay up-to-date when the Tomcat is changing so fast! :-)) Thanks for the quick reply. On Friday 17 January 2003 17:14, Laj

RE: ConnectionPool with Oracle - connection timeout

2003-01-17 Thread Raible, Matt
This works though! ;-) I got this syntax off this list for configuring an Oracle JDBCRealm. -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 9:42 AM To: Tomcat Users List Subject: RE: ConnectionPool with Oracle - connection timeout jdbc:orac

Unable to connect to Sybase 11.9.2 server -Help please

2003-01-17 Thread Krishna_R . _Nagaraj
Hello Everyone, I am trying to connect to sybase 11.9.2 database server. Has anyone encountered this error. Your help on this will be greatly appreciated. I have created a datasource in Tomcat 4.1.18. I have the jconn2.jar file in webapps/ROOT/WEB_INF/classes/jconn2.jar I have the jconn2.jar

RE: ConnectionPool with Oracle - connection timeout

2003-01-17 Thread Filip Hanik
jdbc:oracle:thin:username/password@host:1521:sid is an invalid URL. password doesn't belong in the url at least I don't think so :) Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect www.filip.net >-Original Message- >From: Raible, Matt [mailto:[EMAIL PROTEC

Re: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Lajos Moczar
Oh, well if his JkMount is /*.jsp like you suggested, then yeah, his path should be "". But if he leaves it at /web/ged/*.jsp, then it is ok. However, the docBase will still get him, I think. Lajos Turner, John wrote: The Context path is going to be wrong, too. Shouldn't it be empty? John

Re: Newbie cookie question

2003-01-17 Thread Jacob Kjome
Hello joel, Look into how the cookie path is set. I think, by default, it is set to the current context of your app, not the whole server. You will need to override this behavior. See the servlet api for details. As far as the cookie disappearing upon browser close, this should happen unless y

ConnectionPool with Oracle - connection timeout

2003-01-17 Thread Raible, Matt
I am using Tomcat's JDBCRealm as well as a DBCP Connection pool. I am connecting to Oracle 9, and everything works fine - for about 24 hours. I've experienced this with MySQL and adding autoReconnect=true to the connectionURL fixed the problem. However, adding this to Oracle's connectionURL cause

Any Tomcat OS390 USS Installations?

2003-01-17 Thread Larry D. Jones
Has anyone out there successfully installed Tomcat on IBM OS390 Unix System Services?

RE: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Turner, John
The Context path is going to be wrong, too. Shouldn't it be empty? John > -Original Message- > From: Lajos Moczar [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 17, 2003 11:21 AM > To: Tomcat Users List > Subject: Re: Difficulties with Virtual Host in the Apache + Tomcat > > > Th

Re: What about the Context tag?

2003-01-17 Thread Jacob Kjome
Hello Steve, It is fine to edit server.xml, but it might be easier to use a Context Configuration File. See the current webapps directory in any recent Tomcat release such as 4.1.8. Notice the admin.xml and manager.xml files? Just make a [myapp].xml file and add your tag with all nested tags n

Re: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Lajos Moczar
That's 'cause your docBase is set to /web/ged while your docBase is set do ged. So Tomcat is looking for your app at /web/ged/ged. Try setting the docBase to /web. Lajos Sebastião Carlos Santos wrote: John, I accomplished the change suggested by you in httpd.conf and however when I open

  1   2   >