javax.servlet.ServletException: Name java:comp is not bound in this Context

2002-09-06 Thread Richard Chamberlain
Hello, I'm struggling setting up a database resource. I've copied the xml pretty much verbatim from the docs in the JNDI Datasource HOW-TO. However when I try and access the database I get a ServletException as follows: javax.servlet.ServletException: Name java:comp is not bound in this Con

RE: tomcat v. resin

2002-09-06 Thread Martin Cooper
> -Original Message- > From: micael [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 06, 2002 10:52 PM > To: Tomcat Users List > Subject: Re: tomcat v. resin > > > Resin is, I think, noticeably faster in my limited > experience. But, Resin > has serious features restrictions for

RE: tomcat v. resin

2002-09-06 Thread Martin Cooper
> -Original Message- > From: neal [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 06, 2002 8:28 PM > To: Tomcat Users List > Subject: RE: tomcat v. resin > > > Yeah true. I know I'll find mostly tomcat fans on the tomcat list. > > Still, practically every book and every person I

RE: tomcat v. resin

2002-09-06 Thread micael
I see. Okay dokay. Misunderstood. Would not count on people that have those errors.. (I AM KIDDING!) ///;-) At 10:58 PM 9/6/2002 -0700, you wrote: >Oh, that wasn't to say that Tomcat caused errors ... I mean people's >scripting errors. 404s and the like. It tells which http/app server you'r

RE: tomcat v. resin

2002-09-06 Thread neal
Oh, that wasn't to say that Tomcat caused errors ... I mean people's scripting errors. 404s and the like. It tells which http/app server you're using. :) -Original Message- From: micael [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:56 PM To: Tomcat Users List Subject:

RE: tomcat v. resin

2002-09-06 Thread micael
I have had absolutely no problems with Tomcat causing errors. Again, Resin has features limitations. At 08:28 PM 9/6/2002 -0700, you wrote: >Yeah true. I know I'll find mostly tomcat fans on the tomcat list. > >Still, practically every book and every person I know working with >openSource is us

Re: tomcat v. resin

2002-09-06 Thread micael
Resin is, I think, noticeably faster in my limited experience. But, Resin has serious features restrictions for me. At 05:30 PM 9/6/2002 -0700, you wrote: >Hey does anyone here have an opinion on Resin versus Tomcat? I've heard >that Resin is screaming fast but I never see anyone using it ...

RE: Tomcat standalone Versus Apache

2002-09-06 Thread micael
Depends on if you have static content, neal. Apache is way, way, way faster, of course, if you have static content running. At 05:25 PM 9/6/2002 -0700, you wrote: >Alright, > >So there's no taboo here that I'm not aware of. It sounds like a lot of >people do run Tomcat with Apache but not all a

Re: Using a different Xerces library in Tomcat 4.1 on jdk1.4

2002-09-06 Thread Robert L Sowders
This excerpt is from the bottom of the page at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html JDK 1.4 supports a mechanism called the "Endorsed Standards Override Mechanism" to allow replacement of APIs created outside of the JCP (i.e. DOM and SAX from W3C). It can als

IllegalStateException while using SSL

2002-09-06 Thread [EMAIL PROTECTED]
Hi, I setup SSL in Tomcat using JSEE and the key is generated using the keytool utility. The system is working fine, but the server is throwing an IllegalStateException continuously while accessing any page through HTTPS. This never stops and after few minutes of throwing the exception, it gices

Re: Permission denied trying to connect tomcat to port 80...

2002-09-06 Thread Mark Eggers
Make sure the startup script is not suid/sgid to something. Also, make sure there is not an httpd configured in /etc/inetd.conf. /mde/ just my two cents . . . . __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.co

Re: Tomcat standalone Versus Apache

2002-09-06 Thread Randy Secrist
You can search the web until your blue - but the truth is - this is really new territory. I say it mostly depends on your needs. There is nothing foolish about running tomcat standalone. I've set up a few small companies using TC standalone only. Servlets DO handle multiple requests pretty wel

Re: Permission denied trying to connect tomcat to port 80...

2002-09-06 Thread Ben Walding
Does it work if you pick a port like 2343 or some other random unused port (just to rule out some other service / odd configuration error). Keith Pemberton wrote: >Here is the output I get from running tomcat4 run. Hope this helps: > >Using CATALINA_BASE: /var/tomcat4 >Using CATALINA_HOME:

Re: How to make apache work both for https

2002-09-06 Thread Robert L Sowders
Assuming you already have a openssl.cnf file setup, cd into openssl/bin and run these commands: openssl req -config openssl.cnf -new -out server.csr openssl rsa -in privkey.pem -out server.key openssl x509 -in server.csr -out server.crt -req -signkey server.key -days 365 "Raj Mettai" <[EMA

Re: tomcat as nt serice

2002-09-06 Thread Robert L Sowders
Newer versions of Tomcat have an option for installing as an NT service during the install. Here is an install for the latest of everything on windows 2k. I should work for NT as well. ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.10_JSDK1.4.zip rls "Pragnesh Kumar" <[EMAIL P

Re: Permission denied trying to connect tomcat to port 80...

2002-09-06 Thread Keith Pemberton
Here is the output I get from running tomcat4 run. Hope this helps: Using CATALINA_BASE: /var/tomcat4 Using CATALINA_HOME: /var/tomcat4 Using CATALINA_TMPDIR: /var/tomcat4/temp Using JAVA_HOME: /usr/java/j2sdk1.4.0 Catalina.start: LifecycleException: null.open: java.net.BindException

Re: Permission denied trying to connect tomcat to port 80...

2002-09-06 Thread Ben Walding
Might be best to post the dump of your error message. Although from the sounds of it, it might be that your catalina.sh / startup.sh is not set for execute Try chmod a+x catalina.sh Then ./catalina.sh run See if that helps Keith Pemberton wrote: >I'm trying to point my tomcat server over to

Is tomcat a javabean container?

2002-09-06 Thread Vartan Nazarian
Hi, Is Tomcat a javabean container as well as a JSP container? Does it use introspection like the Sun's BeanBox to "look inside" the bean class file? If so, does it run the introspection process during the run-time? Thanks in advance. Vartan -- _

RE: Permission denied trying to connect tomcat to port 80...

2002-09-06 Thread Keith Pemberton
hmm, I guess that I was not clear in my email... after already shutting down the httpd server (and using netsta to make sure that it wasn't running) I tried as the root user to start the service and it was giving me that error message. Any other suggestions? Thanks! Keith On Fri, 2002-09-06 a

RE: tomcat v. resin

2002-09-06 Thread neal
Yeah true. I know I'll find mostly tomcat fans on the tomcat list. Still, practically every book and every person I know working with openSource is using Tomcat. And, every site that I've run across that has a JSP error ... is apparently Tomcat too. ;-) So it seems like a huge user base. On the

Re: Permission denied trying to connect tomcat to port 80...

2002-09-06 Thread Larry Meadors
You have to be root to access ports < 1000. I think you could su or sudo it. Larry >>> [EMAIL PROTECTED] 09/06/02 20:44 PM >>> I'm trying to point my tomcat server over to port 80 in Redhat Linux, but I am having a little trouble with it. I have apache installed as well but I have both disable

RE: Permission denied trying to connect tomcat to port 80...

2002-09-06 Thread John Naldoza
Hi, Kindly check if your web server is currently running, netstat -vat or ps -aux |grep httpd if it is, shut it down via /etc/rc.d/init.d/httpd stop and then try to start your tomcat server. If this still doesn't work, then you may need to be with root priveledges to start-up applications l

Permission denied trying to connect tomcat to port 80...

2002-09-06 Thread Keith Pemberton
I'm trying to point my tomcat server over to port 80 in Redhat Linux, but I am having a little trouble with it. I have apache installed as well but I have both disabled the service and commented out the two lines in the /etc/services file that deal specifically with port 80. Anyone have a sugges

RE: tomcat v. resin

2002-09-06 Thread Martin Cooper
Well, you're asking this on the tomcat-user list, so you'll primarily find Tomcat users here... ;-) Actually, I use Resin most of the time, including in production. It *is* very fast, but I don't honestly know how it compares to Tomcat 4.1.10. It used to beat the pants off earlier versions of Tom

RE: Tomcat standalone Versus Apache

2002-09-06 Thread Milt Epstein
On Fri, 6 Sep 2002, neal wrote: > Alright, > > So there's no taboo here that I'm not aware of. It sounds like a lot > of people do run Tomcat with Apache but not all and its simply a > matter of what fits my needs best. So, there are no silver bullet > issues (other than posibly this roon daemon

Re: Apache 2.0.40 - NOT working

2002-09-06 Thread Milt Epstein
On Fri, 6 Sep 2002, Manoj Kithany wrote: > Hi Peter, > > I tried to check the logs but there were NO log files stored in > /usr/local/apache/logs directory. I then checked httpd.conf for entry for > Error Logs and it showed: > -- > ErrorLog /logs/error.log > Cu

Re: Apache 2.0.40 - NOT working

2002-09-06 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Sep 06, 2002 at 11:20:13PM +, Manoj Kithany wrote: > I tried to check the logs but there were NO log files stored in > /usr/local/apache/logs directory. I then checked httpd.conf for entry for > Error Logs and it showed: > --

RE: Error in tomcat but not in resin (caucho)

2002-09-06 Thread Justin Ruthenbeck
Many app servers buffer the response output and allow anything to be done to the response until the first time the buffer is flushed to the client. This can lead to runtime situations where you can call response.setHeader() AFTER writing something to the response... so long as you don't writ

tomcat v. resin

2002-09-06 Thread neal
Hey does anyone here have an opinion on Resin versus Tomcat? I've heard that Resin is screaming fast but I never see anyone using it ... always Tomcat if they want something free. Thanks. Neal -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Tomcat standalone Versus Apache

2002-09-06 Thread neal
Alright, So there's no taboo here that I'm not aware of. It sounds like a lot of people do run Tomcat with Apache but not all and its simply a matter of what fits my needs best. So, there are no silver bullet issues (other than posibly this roon daemon thing) which suggests running Tomcat standa

RE: Error with Tomcat 4.1.10

2002-09-06 Thread Dan Payne
Got it. User error. -Original Message- From: Dan Payne [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 7:08 PM To: Tomcat Users List Subject: RE: Error with Tomcat 4.1.10 There was indeed a type. Using 4.1.10. -Original Message- From: Han Ming Ong [mailto:[EMAIL PR

RE: Error with Tomcat 4.1.10

2002-09-06 Thread Dan Payne
There was indeed a type. Using 4.1.10. -Original Message- From: Han Ming Ong [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 6:54 PM To: Tomcat Users List Subject: Re: Error with Tomcat 4.1.0 They just released 4.1.10-stable. Unless there is a typo in your mail, you might w

Re: Error with Tomcat 4.1.0

2002-09-06 Thread Han Ming Ong
They just released 4.1.10-stable. Unless there is a typo in your mail, you might want to try this first: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.10/ On Friday, September 6, 2002, at 04:36 PM, Dan Payne wrote: > I've just upgraded to the latest release of Tomcat (4.1.

Error with Tomcat 4.1.0

2002-09-06 Thread Dan Payne
I've just upgraded to the latest release of Tomcat (4.1.0) from 4.0.4. I'm also using Struts. Evrything worked fine under the older tomcat and previous versions, but since the upgrade, all my action mappings are returning a "No action instance for path /home could be created" error. Anybody? -

RE: Error in tomcat but not in resin (caucho)

2002-09-06 Thread Curwen, Michael
Because this: <% response.setHeader("Cache-Control","no-cache"); response.setHeader("Pragma","no-cache"); will commit the response, after which you cannot redirect. Not sure why Resin would allow this. -Original Message- From: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]] Sent: F

uugh stuck again =P getting client side information with JSP/Servlets

2002-09-06 Thread Richard Diaz
Is it possible to NOT use JavaScript and JUST use JSP Script alone? Specifically I need the user's screen size and images that are placed on their browser window (for click and drag functionality) Maybe use a client-side applet? Or can I get the above info in the servlet Response object? If I ha

Re: Apache 2.0.40 - NOT working

2002-09-06 Thread Manoj Kithany
Hi Peter, I tried to check the logs but there were NO log files stored in /usr/local/apache/logs directory. I then checked httpd.conf for entry for Error Logs and it showed: -- ErrorLog /logs/error.log CustomLog logs/access_log ---

Bean questions

2002-09-06 Thread Vartan Nazarian
Hi, Is Tomcat a javabean container on top of being a JSP/Servlet container? Does it use introspection like the Sun's BeanBox to "look inside" the bean class file? If so, does it run the introspection process during the run-time? Thanks in advance. Vartan --

Using a different Xerces library in Tomcat 4.1 on jdk1.4

2002-09-06 Thread Sam Cheung
Hi, The Web Application I am running needs an old version of Xerces. I put that xerce.jar file in WEB-INF/lib, but I still get java.lang.NoClassDefFoundError: org/apache/xerces/framework/XMLParser? Could you please tell me how to fix that? type Exception report message description The serve

Re: error

2002-09-06 Thread Justin Ruthenbeck
You're (probably -- don't know without seeing the code) calling sendRedirect() on a response that has already been written. Check to make sure you haven't already written something to the response. Once you start your output (or actually -- once the server sends output to the client), you

Error in tomcat but not in resin (caucho)

2002-09-06 Thread Dionisio Ruiz de Zarate
Why bellow code is error in tomcat? this code runs well in resin. there is any error? thanks code: <% response.setHeader("Cache-Control","no-cache"); response.setHeader("Pragma","no-cache"); String login= (String)session.getAttribute("login"); String usuario= (String)session.getAttribute("usua

error

2002-09-06 Thread Dionisio Ruiz de Zarate
Anybody knows whoat is this error?: Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal

Re: Apache 2.0.40 - NOT working

2002-09-06 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Sep 06, 2002 at 09:51:29PM +, Manoj Kithany wrote: > I tried to do "ps -ef | grep httpd" after I execute "./apachectl start" but > it did'nt show me any process with httpd-that was my concern. then apache is not running. what do the log

Re: Tomcat standalone Versus Apache

2002-09-06 Thread Milt Epstein
On Fri, 6 Sep 2002, Manoj Kithany wrote: > Hi Mr. Neal, > > Apache is a Web Server and Tomcat is a Servlet/JSP Container and one > has to Integrate both Apache + Tomcat to use Java Servlets/JSP's. > > Hope this information helps. Unfortunately it's incorrect. One can use either Tomcat standalon

Re: Apache 2.0.40 - NOT working

2002-09-06 Thread Manoj Kithany
Hi Peter, THANKS! I tried to do "ps -ef | grep httpd" after I execute "./apachectl start" but it did'nt show me any process with httpd-that was my concern. Also, I READ ALL the documentation and try it firet before shooting it on to the Message List - I apologize it that is bothering you. On

Re: Apache 2.0.40 - NOT working

2002-09-06 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Sep 06, 2002 at 09:18:23PM +, Manoj Kithany wrote: > After installation I tried to see if my Web Server is working. So, I tried > to execute the following command but there was no reply. > - > # ./apachectl

Re: Tomcat standalone Versus Apache

2002-09-06 Thread Randy Secrist
I have heard reports, (although never seen actual numbers or data) that suggest that if you have a lot of static pages for a large site, standalone Tomcat decreases in performace pretty quickly. That said - Apache has also been tested and proven with static pages, and has a great system for addin

RE: Tomcat standalone Versus Apache

2002-09-06 Thread Blackmore, John
Not true!!! Again, RTFM... I'm a newbie, but I can read... Tomcat will serve static pages, just slower than Apache. That's one reason you integrate with Apache instead of Tomcat standalone. For more reasons, try reading the Introduction in the Tomcat-Apache HOWTO... http://jakarta.apache.org/tomc

Re: Tomcat standalone Versus Apache

2002-09-06 Thread Manoj Kithany
Hi Mr. Neal, Apache is a Web Server and Tomcat is a Servlet/JSP Container and one has to Integrate both Apache + Tomcat to use Java Servlets/JSP's. Hope this information helps. Manoj G. Kithany >From: "neal" <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: "Tomca

Tomcat standalone Versus Apache

2002-09-06 Thread neal
What do most people run for production and why? Tomcat standalone or Tomcat with Apache? And for that matter, isn't the http server for Tomcat Apache - or is it something else? John Turner mentioned the possible concern with running Tomcat as root. Are there any other concerns? Performance? S

Apache 2.0.40 - NOT working

2002-09-06 Thread Manoj Kithany
Hi Experts, I tried to install Apache 2.0.40 on IBM AIX System for DSO with: #./configure --prefix=/usr/local/apache --enable-module=mod_so After installation I tried to see if my Web Server is working. So, I tried to execute the following command but there was no reply. ---

RE: SSL - cannot find /root/.keystore

2002-09-06 Thread neal
Actually, I just did a more thorough read of the docs and found the answer. It's still not working ... but I found the answer to the two questions. :) -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 1:46 PM To: Tomcat Users List Subject: SSL -

Communicating with Tomcat3 through shell scripts.

2002-09-06 Thread Srinadh Karumuri
Hi, I used Tomcat 3 for a while but didn't work on customizing it. We need to disable the user input sometimes and typically we store a flag in the session. To modify this flag we use a jsp page. If I can communicate with tomcat from shell scripts while it is running, I will be able to able to

JNDI + NIS Authentication + Tomcat

2002-09-06 Thread Michael R. Schwab
Hi, I've run into a bit of a stumbling block attempting to configure a and associated in /etc/tomcat4/server.xml for web based NIS authentication using JAAS's com.sun.security.auth.module.JndiLoginModule. I have written a Principal and CallbackHandler class as well as the configuration file a

SSL - cannot find /root/.keystore

2002-09-06 Thread neal
I'm getting this error while attempting to setup SSL on port 443 on Tomcat on Linux: initKeyStore: java.io.FileNotFoundException: /root/.keystore (No such file or directory) java.io.FileNotFoundException: /root/.keystore (No such file or directory) A temporary certificate has been generated and

Re: Tomcat 4.03 Problems Setting up a

2002-09-06 Thread Steve Russell
Good to know, but I don't have the option of putting my project in the webapps folder. I need to set it up elsewhere. Steve Ravindra K. Bhat wrote: > I dont think you need to create a context in 4.X ..include your folder in > the webapps folder ie for example test then you can access it by ty

Re: Tomcat 4.03 Problems Setting up a

2002-09-06 Thread Ravindra K. Bhat
I dont think you need to create a context in 4.X ..include your folder in the webapps folder ie for example test then you can access it by typing http://localhost:8080/test in you browser... The context was needed in 3.x.. On Fri, 6 Sep 2002, Steve Russell wrote: > Hi; > > I'm using Tomcat 4.03

RE: Tomcat shutdown & security

2002-09-06 Thread Przemyslaw Wegrzyn
On Fri, 2002-09-06 at 21:04, Turner, John wrote: > > Very interesting. I hadn't investigated this scenario until now. I like > your suggestion. Even more, I've checked what exactly goes there, and you can stop default Tomcat installation by simply telneting localhost 8005 and typing SHUTDOW fr

Tomcat 4.03 Problems Setting up a

2002-09-06 Thread Steve Russell
Hi; I'm using Tomcat 4.03 with Red Hat 7.3. I'm having trouble setting up a for a web application and I was hoping someone could give me a clue to what I missed in reading the manual. First I set up a "test" web app like this: It worked. Then, I did the same thing, but for a different d

trouble creating file object

2002-09-06 Thread Rutledge, Aaron
Hello List, I am simply trying to browse a file server for a list of filenames with the following JSP snipit below. For some reason, It is returning null for the listfiles() method. I know there are files in the directory and when I run the same piece of code inside of a main() from the

RE: JDBC connection persistence

2002-09-06 Thread Andrew Conrad
No, because DBCP doesn't actually close connections, it returns them to the connection pool for reuse. - Andrew > -Original Message- > From: William Wragg [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 06, 2002 12:33 PM > To: Tomcat Users List > Subject: RE: JDBC connection persi

Re: integeration of Apache with TOCAAT

2002-09-06 Thread Ravindra K. Bhat
I am not sure it is integrated...I commented out the 8080 port in the server.xml file but then http://servername/examples says not found..if it was integrated I should have succeeded Ravi On Fri, 6 Sep 2002, Dionisio Ruiz de Zarate wrote: > the normal isntalation integrates both. > they are in

Re: Apache 2.0.40 with DSO???

2002-09-06 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Sep 06, 2002 at 03:33:54PM -0400, Turner, John wrote: > > RTFM i'm going to second this. manoj, you need to read the docs for apache, tomcat and jboss. you might not think so but it would be better for you if you understood those produ

RE: Best practice advice sought: Classes shared by >1 webapp

2002-09-06 Thread Andy Eastham
Jim, If you want the webapps to share the same static values in the same class, put them in common/classes. (this allows a webapps to affect the data in another webapp). If you want the webapps to be totally independent, put a separate copy in each webapp's individual classes directory. Or you

RE: Apache 2.0.40 with DSO???

2002-09-06 Thread Turner, John
RTFM ./configure --prefix=/usr/local/apache --enable-module=so To check for DSO: /usr/local/apache/bin/httpd -l and look for "mod_so.c". John > -Original Message- > From: Manoj Kithany [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 06, 2002 3:30 PM > To: [EMAIL PROTECTED] >

Re: integeration of Apache with TOCAAT

2002-09-06 Thread Dionisio Ruiz de Zarate
the normal isntalation integrates both. they are integrated, but tomcat response, else, to the 8080 port ---> comment the 8080 lines in the server.xml - Original Message - From: "Sivaraman, Srinivasan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 06, 2002 9:30 PM Su

RE: Best practice advice sought: Classes shared by >1 webapp

2002-09-06 Thread wbchmura
BDY.RTF Description: RTF file

RE: integeration of Apache with TOCAAT

2002-09-06 Thread Turner, John
http://www.johnturner.com/howto For Redhat, but SuSE shouldn't be that much different. John Turner [EMAIL PROTECTED] > -Original Message- > From: Sivaraman, Srinivasan > [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 06, 2002 3:31 PM > To: [EMAIL PROTECTED] > Subject: integeratio

Apache 2.0.40 with DSO???

2002-09-06 Thread Manoj Kithany
Hi Experts, How do I install Apache 2.0.40 with DSO? What options to include in configure? ./configure --prefix=/usr/local/apache --enable How can I check if it is installed for DSO??? THANKS! Manoj G. Kithany _ Join the

integeration of Apache with TOCAAT

2002-09-06 Thread Sivaraman, Srinivasan
Hi ALL, I am a newbie to Tomcat. I have SuSE Linux 8.0 I have installed Apache 1.3.26 and Tomcat which comes with SuSE 8.0. Both hte services are running. (Apache at prot 80 and Tomcat at 8080) Can someone please tell me how to integerate these two, i.e how to make servlet requests to apache b

Re: Best practice advice sought: Classes shared by >1 webapp

2002-09-06 Thread Josiel S. Oliveira
> I am developing two web applications that will share a few classes in > common. What is the best practice for handling this? Put a copy of the > class in the WEB-INF/classes/ directory structure of both web applications? > Or put the class in Tomcat's common/classes/ directory structure? Thes

RE: jk_nt_service.exe

2002-09-06 Thread Whitcomb, Roger
Joe - Your stderr.log shows the jni_connect.dll not being found. I'm not familiar with JNI, but it sounds like a "path" issue -- it can't find this DLL where it wants to. If Tomcat starts up NOT as a service, then I would check your system environment settings to see if PATH or maybe

RE: new tomcat 4.1.0, linux and mod_webapp

2002-09-06 Thread Turner, John
The instructions are in README.txt in this directory: /some/path/to/jakarta-tomcat-connectors-4.0.4-src/webapp John > -Original Message- > From: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 06, 2002 3:11 PM > To: [EMAIL PROTECTED] > Subject: new tomcat 4.

new tomcat 4.1.0, linux and mod_webapp

2002-09-06 Thread Dionisio Ruiz de Zarate
i'll try to install the tomcat 4.1.0 in my linux (SuSE 8), with apache. but how can i build the mod_webapp.so file? thanks -- To unsubscribe, e-mail: For additional commands, e-mail:

Best practice advice sought: Classes shared by >1 webapp

2002-09-06 Thread Jim Coble
I am developing two web applications that will share a few classes in common. What is the best practice for handling this? Put a copy of the class in the WEB-INF/classes/ directory structure of both web applications? Or put the class in Tomcat's common/classes/ directory structure? These common

RE: Tomcat shutdown & security

2002-09-06 Thread Turner, John
Very interesting. I hadn't investigated this scenario until now. I like your suggestion. John > -Original Message- > From: Przemyslaw Wegrzyn [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 06, 2002 2:20 PM > To: Tomcat Users List > Subject: RE: Tomcat shutdown & security > >

any way to get just two days of logger files?

2002-09-06 Thread Rick Reumann
If I set the timestamp value to "false" in the logger settings like below: Will this only keep one day of log files or will it just be one file that gets keeps getting larger? Ideally what I would like is the logger fields in the server.xml to only log the current day and keep a one day prev

New HOWTOs posted

2002-09-06 Thread Turner, John
Hello all - I've posted two new HOWTOs today, and have updated my earlier HOWTO. You can reach the HOWTOs that are available now here: http://www.johnturner.com/howto The updated HOWTO is the Apache 1.3.26/Tomcat 4.0.4 w/ mod_jk HOWTO. I added an alternate method of building mod_jk (much simp

RE: Tomcat 4.0.4 and Apache 2.0.4 integration

2002-09-06 Thread Turner, John
mod_jk.dll is here: http://www.acg-gmbh.de/mod_jk/ Even includes versions for 4.1.10 John > -Original Message- > From: Blackmore, John [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 06, 2002 2:52 PM > To: 'Tomcat Users List' > Subject: RE: Tomcat 4.0.4 and Apache 2.0.4 integratio

RE: Tomcat 4.0.4 and Apache 2.0.4 integration

2002-09-06 Thread Turner, John
If you were using mod_jk, it's essentially the same. If you are getting error messages, or not seeing the results you expect, or have questions about specific changes, can you post those? That will help us help you. John > -Original Message- > From: Ravindra K. Bhat [mailto:[EMAIL PR

RE: Tomcat 4.0.4 and Apache 2.0.4 integration

2002-09-06 Thread Blackmore, John
Welcome to the club, many of us are struggling. You'll find some updated docs for 4.0, but not the Tomcat/Apache integration, hopefully you've discovered that already. I know there are compiled mod_jk's "out there" for NT, but I know not where. HTH- John -Original Message- From: Ravindra

Re: jsp includes in tomcat 4..........

2002-09-06 Thread Raj Mettai
thanks justin, do you know how to do recursive touch on files in multiple directories, because come includes are being used all across the site...thanks again -Raj >>> [EMAIL PROTECTED] 09/06/02 02:27PM >>> Tomcat won't recompile the jsp unless it sees that the jsp has changed... and followin

Tomcat 4.0.4 and Apache 2.0.4 integration

2002-09-06 Thread Ravindra K. Bhat
Hi: Any idea how Tomcat 4.0.4/Apache 2.0.4 integration is done or where I can find the docs for it? I had Tomcat 3.0.2 and Apache 1.3 working but it seems to have changed. The OS in NT. Thanks Ravi -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: jsp includes in tomcat 4..........

2002-09-06 Thread Tim Funk
Tomcat 4.1 now checks included pages. (or at least one of the 4.1.x releases did - but I think it was temporarily yanked out - and I don't know if the functionality is back in yet or not) As for the force recompile everytime - this would be bad since there is a memory leak pre-1.4.1 JDK when c

Re: jsp includes in tomcat 4..........

2002-09-06 Thread Justin Ruthenbeck
Tomcat won't recompile the jsp unless it sees that the jsp has changed... and following includes would be quite a bit of overhead to check every time. If you know precisely which jsp you want to compile, you can touch the file to change the date on the file... this will cause a recompile. A

RE: Tomcat shutdown & security

2002-09-06 Thread Przemyslaw Wegrzyn
On Fri, 2002-09-06 at 14:40, Shapira, Yoav wrote: > Hi, > How about not letting any regular user execute bin/shutdown.sh? ;) ;) ;) Nope, it's not the solution. Anyone can download tomcat, extract shutdown.sh and execute. Shutdown connects to Tomcat through a socket, so it's even possible across

jsp includes in tomcat 4..........

2002-09-06 Thread Raj Mettai
Hi All, I am running tomcat4 on solaris8, when I modify an include in a jsp page (ex: header.inc) the tomcat is not recompiling the page, even after restart the changes are not coming up. If I delete .class files from work folder then tomcat will re-compile the page and the changes are visible

Re: war file deployment problem

2002-09-06 Thread Dave Robbins
Thanks a million for the quick feedback I've got things working now Once you see how this works it's pretty easy, but I must say getting here was kinda tuff maybe when I get a little further along I'll make up a little tutorial titled how to tie your shoes before you learn to walk before you le

Re: war file deployment problem

2002-09-06 Thread hoju
You are confusing Tomcat. If you are going to dynamically deploy your webapp, don't have the .war file sitting in $TOMCAT_HOME/webapps. Have it somewhere else. Everything in $TOMCAT_HOME/webapps is automatically deployed and, yes, it is expanded if you *don't* have a Context entry defined for t

Seting Classpath for Virtual Hosts with Tomcat 3.3.1

2002-09-06 Thread Joshua D. Drake
Hello, I am running RedHat 7.3, Apache 1.3.26 and Tomcat-3.3.1. I am having problems getting Tomcat to pick up new classpaths for virtual hosts. We can successfully run jsp files from the virtual hosts but once we try to add a class (for JavaBeans in this case) it fails. Here is my apps-vh

Re: war file deployment problem

2002-09-06 Thread Dave Robbins
What? Me make it more complicated than it is? surely you jest! I got it to work by putting the war file in $CATALINA_HOME/webapps/ROOT I still don't know what I'm doing but I'll be able to figure it out now that I've got something working. Thanks Dave > Hi Dave. > > I think you're making thi

Re: war file deployment problem

2002-09-06 Thread Peter Davison
Hi Dave. I think you're making this more complicated than it needs to be. Two things: 1. Try putting your war file in the $CATALINA_HOME/webapps directory rather than $CATALINA_HOME/webapps/dummy. If your tomcat installation is set up to unpack war files (this is the default) it will create th

war file deployment problem

2002-09-06 Thread Dave Robbins
Hello All, kindof a newbie here so be gentle I wrote a little dummy app with Forte 4.0 that consists of a jsp page with a link that calls a servlet which does a database lookup and spews out some data. It works fine with the built in copy of Tomcat that comes with Forte. I build a war file and t

Help with UserTransaction using Tyrex 9.7.0/Oracle 8.1.7/Tomcat4.0.4

2002-09-06 Thread Ravindar Roopreddy
I am trying to get the "UserTransaction" working with Following setup : - Tomcat 4.0.4, Oracle 8.1.7 JDBC driver (classes12.zip) and Tyrex 9.7.0 I get the following exception. I tried different combinations without much luck. I saw some posts that seems to think the exception is because the JD

RE: JDBC connection persistence

2002-09-06 Thread William Wragg
Hi, Thanks for the input. I have tried making sure all resources are closed by closing them myself with xxx.close() but I still get connections hanging around. I will look into the DBCP, but if manually closing all the resources does not solve the problem, will DBCP? Regards, Wm. At 16:08 0

RE: Load Balancing Tomcat 3.2.3

2002-09-06 Thread Anthony Milbourne
Hi I found a reasonably good article on this at http://www.ubeans.com/tomcat/. It covers Tomcat 4.0.2 so there may be some differences but I imagine the mod_jk bits will be the same. > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: 06 September 2002 13:29 >

RE: Problem running Tomcat 4.0.4 under JDK 1.4.1

2002-09-06 Thread Ganey, Todd
Do you have the correct tools.jar in your $TOMCAT_HOME\common\lib folder? To me it sounds like you have an older JDK tools.jar in your folder. Just copy the correct jdk tools.jar from the $JDK_DIR\lib\tools.jar into the tomcat\common\lib. Hope that helps, Todd Ganey -Original Message-

RE: Url Mapping with mod_jk

2002-09-06 Thread Turner, John
Actually, posting your mod_jk.conf file would be of more help...that's where the JkMount directives that aren't working should be. You have the Listener elements (*.ApacheConfig) in your server.xml. There's no need to have anything in httpd.conf except: Include /some/path/to/tomcat/conf/auto/m

Re: Running a long transaction with tomcat but responding to userqui ckly

2002-09-06 Thread Ronald Klop
Try something like this in your servlet. void doGet(request, response) { ... // Get request info ... out = response.getOutputStream(); out.write("Hello, everything is ok."); out.close(); ... // Do the transaction here ... }

RE: Url Mapping with mod_jk

2002-09-06 Thread Anthony Milbourne
Hi Thanks for that help - I now realise more about how the server.xml works. I have done what you said and my webapp now appears in the root url when I connect direct to Tomcat (which is great). Unfortunately when I connect via Apache I get back the JSP source, as if it has not gone through Tomc

  1   2   >