Re: Some questions

2003-08-04 Thread Satish Talim
Hi, I read about this in the Oreilly's Book - Tomcat The Definitive Guide. Thanks for the information. Satish - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Satish Talim" <[EMAIL PROTECTED]> Sent: Monday, August 04, 2003 8:41

RE: Problem confinguring MySQL JNDI Datasource RH Linux 7.2

2003-08-04 Thread Don Ross
In case anyone else runs into the following error message: Error: DBCP borrowObject failed: java.sql.SQLException: Server connection failure during >transaction The cause of the error was the mysql user I was using to access the database didn't have permission to access it. The JNIDI Datasourc

servlet-Mapping using Tomcat 4

2003-08-04 Thread Fred Feuerstein
Hi, I am a newby to JSP's, but I already love it. The Situation: -- 1. ServletServer = Tomcat 4 (Standalone) 2. Name of JSP = whoKnows.war 3. Using to deploy = Tomcats-Manager-Interface (FileUpload) 4. Servlet-Mapping (in whoKnows's web.xml) to = /foo/bar 5. Host of VirtuellServer = l

apache + tomcat permissions problem

2003-08-04 Thread Brian Menke
Hi Everyone, I have set up apache 2, tomcat 4.18 to connect to each other. I think I'm most of the way there but I have on problem. If I have an index.html file in my c:\tomcat\webapps\nnmall2 directory, and then I have my web.xml file that has a welcome-file entry for index.html like the one bel

How to map mime-extentions to mime-types in an Tomcat/Axis service

2003-08-04 Thread William Barber
Greetings, I sent this query to the Axis user list last week, but never received any replys. Perhaps it was the wrong list. Hopefully someone on the Tomcat list will know the answer? I've written an Axis client/service pair that uses "soapConnection.call()" to send SOAP attachments to the servi

sendRedirect() doesnt work in https (posted again)

2003-08-04 Thread Vijay Kandy
Help anyone? Hello Everyone, I recently installed mod_ssl on an Apache 2.0.44/Tomcat 4.0.3/Debian 2.4.18 machine. I used openssl to create certificate and key and most of the web application works fine. The only part that seems broken is when sendRedirect() is used. I used something along the lin

Re: Netbeans screwed up my Tomcat install

2003-08-04 Thread Carlos Cajina
1. Delete Tomcat from the IDE. 2. Delete the $TOMCAT_HOME/conf/.nbattrs file and try replacing server.xml with original Tomcat installation file (attached)... I asked about Netbeans/Tomcat integration last week but apparently it is still a mistery ;-) Good luck!!! Hope this helps...

RE: Persistent Sessions

2003-08-04 Thread Kal Govindu
Hi Yoav, Ok, now my listener class implements a HttpSessionActivationListener and neither of the function; sessionDidActivate or sessionWillPassivate are being called. Do I need anything special to implement this and so that Did Activate and will Passivate events fire? I am running on Tomcat4.1.1

Re: Jasper, JSPC, Ant and Precompiling JSP's

2003-08-04 Thread Mark R. Diggory
Bingo! Thats pretty tight. I hadn't thought of using regexp, but I'll give this a try, it seems pretty logical. I didn't realize someone had contributed a forEach task. I'd still like to hear about if theres any work ongoing in relation to JspC and precompilation of entire webapplications in To

Stable tomcat + apache + mod_j2 + ssl

2003-08-04 Thread Ramanan Ramadoss
Dear friends, I am a newbie and have to set up a secure enviroment between tomcat and apache. Can someone tell me which is the stable production ssl version of tomcat and apache? Is there a ssl version of mod_jk or mod_j2 connector? If no which connector should we use? Where can I get a

RE: Jasper, JSPC, Ant and Precompiling JSP's

2003-08-04 Thread Steph Richardson
Mark, I have a working solution for pre-compiling jsp, that I am using successfully with all our tomcat installations. The target looks like :

RES: Where can i set Groups and user roles?

2003-08-04 Thread Jose Euclides da Silva Junior - DATAPREVRJ
I think so. My needs are: 1- user authentication 2- user authorization by roles The question is: if i work with tomcat-user.xml, how can i customize an on-line real-time authentication process ( like a browser form )? Euclides. -Mensagem original- De: Shapira, Yoav [mailto:[EMAIL PROTECTE

RE: Netbeans screwed up my Tomcat install

2003-08-04 Thread Shapira, Yoav
Howdy, Look for the web.xml file where there's a element with that netbeans class, and remove the definition (and any filter-mapping elements related to it) from the web.xml file. Just doing a clean install of tomcat is another option: it's quick and easy. Yoav Shapira Millennium ChemInformatic

RE: Where can i set Groups and user roles?

2003-08-04 Thread Shapira, Yoav
Howdy, You mean like tomcat-users.xml where you can define roles and users? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Jose Euclides da Silva Junior - DATAPREVRJ >[mailto:[EMAIL PROTECTED] >Sent: Monday, August 04, 2003 4:01 PM >To: '[EMAIL PROTECTED]' >Subject:

Netbeans screwed up my Tomcat install

2003-08-04 Thread Jim Lynch
How do I get rid of it? I can always reinstall tomcat, but I sure don't want to. I installed netbeans 3.5 on Linux. Somehow it screwed up my Tomcat server configuration. I wasn't using it with tomcat, just debugging a stand alone java program. When I went to start Tomcat, it doesn't with this

Where can i set Groups and user roles?

2003-08-04 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi guys, my application should ask for user's authentication and then, associate him to some skills. My question is easy: what is the easiest way to make it possible on TomCat's environment? Is there any xml tag? Thanks in advance, Euclides. ---

Re: Nimda attack on Tomcat

2003-08-04 Thread Tim Funk
If you use apache - you'd be better off since apache will return the 404 much quicker. ;) -Tim Abhinav Gautam wrote: Well, I analyzed my logs using Sawmill, and it said that there was a Nimda attack. I guess as Tim said it was DOSed and not really exploited. No I don't have an IIS front-end. I u

Mod_jk2 error when starting tomcat

2003-08-04 Thread Brian Menke
Hi everyone, I have been attempting to connect apache and tomcat. Apache 2, tomcat 4.1.18. I think that I have most thing set up (it's very confusing) but I'm getting this error when tomcat starts. It looks to me that I'm, missing a class called LogFactory, but I never saw instructions anywhere abo

RE: Nimda attack on Tomcat

2003-08-04 Thread Abhinav Gautam
Well, I analyzed my logs using Sawmill, and it said that there was a Nimda attack. I guess as Tim said it was DOSed and not really exploited. No I don't have an IIS front-end. I used to be running Apache on Tomcat, but now after the incident I have Tomcat handle all requests directly. thnx On M

RE: Problem: Tomcat server went down ...

2003-08-04 Thread Bing Zhang
Well, there isn't much information in the tomcat's tomcat.log and error.log. It didn't provide any hint on which particular part of the server or which particular servlet did something and made the server shut down. what's the general approach people would use to find out the source of the pro

RE: Tomcat 5.0.2 Service

2003-08-04 Thread vikas jain
I have it as service rt now. and service stops once you log off. From: "Shapira, Yoav" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Subject: RE: Tomcat 5.0.2 Service Date: Mon, 4 Aug 2003 12:11:20 -0400 Howdy, How do you have it

RE: Many java-processes left after shutdown.sh

2003-08-04 Thread Shapira, Yoav
Howdy, Search the list archives on AIMS for "shutdown thread daemon" and you'll see many threads with this information. Read the VM documentation on using CTRL-BREAK (or SIGQUIT) to get a thread dump. This will show you what the lingering processes are, so you can kill them. Yoav Shapira Millen

AW: Many java-processes left after shutdown.sh

2003-08-04 Thread Philipp Leusmann
Hi, thanks for your answer first. I think i?ve removed the database now, but I still have a similiar problem with a mailsession to an imap-server I create in ContextListener.contextInitialized(). I put this session into the servlet-cotext to easily write mails or provide mailbox-creation during ru

sendRedirect() doesnt work in https

2003-08-04 Thread Vijay Kandy
Hello Everyone, I recently installed mod_ssl on an Apache 2.0.44/Tomcat 4.0.3/Debian 2.4.18 machine. I used openssl to create certificate and key and most of the web application works fine. The only part that seems broken is when sendRedirect() is used. I used something along the lines of: res.sen

RE: Persistent Sessions

2003-08-04 Thread Shapira, Yoav
Howdy, I'm sorry, I meant use an activation listener instead of the context listener to invalidate them. That should work. contextDestroyed() is too late as all the session handling has already happened. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Shapira, Yoav

RE: Persistent Sessions

2003-08-04 Thread Shapira, Yoav
Howdy, It could be that my advice was slightly off in terms of timing: try to substitute a SessionActivationListener instead of the SessionListener, and using the sessionWillPassivate event to invalidate. Although come to think of it, that will be too late as well as the container has already dec

Re: Nimda attack on Tomcat

2003-08-04 Thread Tim Funk
Tomcat is immune to the nimbda/cod red/{IIS variant} attack. (Except for being DOS'd) -Tim Abhinav Gautam wrote: Hello, Thanks everyone for help on the Tomcat with Virtual Hosting thread. After analyzing the log files it seems that there was a Nimda worm attack on the Tomcat webserver. Does any

RE: Nimda attack on Tomcat

2003-08-04 Thread Shapira, Yoav
Howdy, How did you reach this conclusion? Do you have an IIS front-end or are you running tomcat stand-alone? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Abhinav Gautam [mailto:[EMAIL PROTECTED] >Sent: Monday, August 04, 2003 3:22 PM >To: [EMAIL PROTECTED] >Subje

RE: Persistent Sessions

2003-08-04 Thread Kal Govindu
Hi Yoav, Thank you for you suggestion, I have it implemented and seem to be having some problem with it. Below is the code I have in my listener. I have collection of Session Objects and I am adding an removing the Sessions from the collection as required but, when I get to my contextDestroyed met

Nimda attack on Tomcat

2003-08-04 Thread Abhinav Gautam
Hello, Thanks everyone for help on the Tomcat with Virtual Hosting thread. After analyzing the log files it seems that there was a Nimda worm attack on the Tomcat webserver. Does any one have a fix for this? Any help would be highly appreciated. Thanks. -abhinav

RE: request/session handling

2003-08-04 Thread Angus Mezick
All requests will keep executing. The user should get the last result. Hitting reload forces the browser to drop its connection and open another one to the server I think. The server doesn't know the connection has gone AWOL until it tries to send data to the client. --Angus > -Original Mess

request/session handling

2003-08-04 Thread Hans Wichman
Hi, can anyone tell me what happens if a user requests a servlet which might take 5 seconds to complete the request, and the user starts hitting reload a number of times? (I know the typical programming answer is 'why?! why would the user do such a thing?' but I am afraid I'm gonna have to give

Faking ServletContextListener with Tomcat 3.3.1a? [Was: Singleton and Reloadable Contexts.]

2003-08-04 Thread Matt E
After looking through the archives more (why is it that you always find something after you've asked.) I found this message: http://mikal.org/interests/java/tomcat/archive/view?mesg=51529 That's exactly what I want to do. However the server is running Tomcat 3.3.1a. Short of updating the server

Re: Singleton and Reloadable Contexts.

2003-08-04 Thread Tim Funk
A singleton is only a singleton to the classloader it lives in. A webapp is loaded in its own classloader, so when it is start/stopped or reloaded - a new classloader is made. And so is a brand new set of singletons. The easy workaround is to create a ServletContextListener which listens for th

RE: Connection Pooling HELP

2003-08-04 Thread Gregg Bolinger
Thanks. But if this is the case, the download documentation might need some updating. The documentation used to specify that if you have JDK 1.4.x you only needed the LE version. It said nothing about commons jar files. And now, I can't find anything anywhere that specifies which one you should

RE: Connection Pooling HELP

2003-08-04 Thread Angus Mezick
Simple solution, don't use the LE version. Use the full version. Your problems will disappear. > -Original Message- > From: Gregg Bolinger [mailto:[EMAIL PROTECTED] > Sent: Monday, August 04, 2003 2:07 PM > To: 'Tomcat Users List' > Subject: RE: Connection Pooling HELP > > > I found o

Singleton and Reloadable Contexts.

2003-08-04 Thread Matt E
Hello All! Our team here has written a simple Connection Pool class that is a singleton. I've noticed that whenever Tomcat reloads my webapps context (when I add a new class or something like that), that it the next call to the Connection Pool get instance method doesn't see the previous singleto

RE: Connection Pooling HELP

2003-08-04 Thread Gregg Bolinger
I found out you also need the commom-pool.jar file also. Why does Tomcat provide Connection Pooling but doesn't distribute all necessary files to do so with the Binary release? These 2 jar files are not specific to the database, so you would think Tomcat would come with them. Not to mention Tomc

Re: custom taglib problem

2003-08-04 Thread Jesús Antonio Sánchez A.
I'll do that, thanks --- Tim Funk <[EMAIL PROTECTED]> wrote: > I thought I saw a bug report similar to this that > had to do something with > jdk1.4.2. Try using 1.4.1 or lower and see what > happens. > > -Tim > > Jesús Antonio Sánchez A. wrote: > > Hi I wrote some custom taglibs, but I get th

Re: custom taglib problem

2003-08-04 Thread Tim Funk
I thought I saw a bug report similar to this that had to do something with jdk1.4.2. Try using 1.4.1 or lower and see what happens. -Tim Jesús Antonio Sánchez A. wrote: Hi I wrote some custom taglibs, but I get the following error: org.apache.jasper.JasperException: File "/dodo" not found I have

RE: Connection Pooling HELP

2003-08-04 Thread Gregg Bolinger
You might be right. I don't have the commons-dbpc.jar file. Why isn't this included with the Binary release of Tomcat and where can I get it? I can't find it with all the other Commons downloads. Thanks Gregg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RES: RES: Cookie problem max age problem - Best practice to solve it

2003-08-04 Thread Jose Euclides da Silva Junior - DATAPREVRJ
thanks, Steve. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 4 de agosto de 2003 11:52 Para: 'Tomcat Users List' Assunto: Re: RES: Cookie problem max age problem - Best practice to solve it > one information isnt right! First, using Sniffe

Re: Causing a dump with a signal?

2003-08-04 Thread Tim Funk
kill -s 3 PID (Or very similar) -Tim Ben Ricker wrote: I remember reading where oen can send a kill signal with Unix that will cause the JVM to do a thread dump before exiting. Does this sound familiar to anyone? Ben Ricker Wellinx.com --

RE: Causing a dump with a signal?

2003-08-04 Thread Shapira, Yoav
Howdy, >I remember reading where oen can send a kill signal with Unix that will >cause the JVM to do a thread dump before exiting. Does this sound >familiar to anyone? Send a CTRL-BREAK (SIGQUIT) to the JVM and it'll show you what it's doing ;) I've tried it on Solaris 8, Win 2000, without a pr

Re: Connection Pooling HELP

2003-08-04 Thread Geralyn M Hollerman
Gregg Bolinger wrote: > I am trying to get connection pooling working with Tomcat 4.1.24-LE. > Below is some relevant code. Tomcat starts up just fine. I have all my > JAR files I need in the right place. If I create my own connection > using JDBC it all works just fine. But using a connection

custom taglib problem

2003-08-04 Thread Jesús Antonio Sánchez A.
Hi I wrote some custom taglibs, but I get the following error: org.apache.jasper.JasperException: File "/dodo" not found I have the following configuration in my web.xml /dodo /WEB-INF/jsp/csajsp.tld and I call it in my jsp file in the following way: <%@ taglib uri="/dodo" pr

Causing a dump with a signal?

2003-08-04 Thread Ben Ricker
I remember reading where oen can send a kill signal with Unix that will cause the JVM to do a thread dump before exiting. Does this sound familiar to anyone? Ben Ricker Wellinx.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For

custom taglib problem

2003-08-04 Thread Jesús Antonio Sánchez A.
Hi I wrote some custom taglibs, but I get the following error: org.apache.jasper.JasperException: File "/dodo" not found I have the following configuration in my web.xml /dodo /WEB-INF/jsp/csajsp.tld and I call it in my jsp file in the following way: <%@ taglib uri="/dodo" pr

RE: JVM tuning

2003-08-04 Thread Angus Mezick
Ok, so if I set to 512M it isn't that effective? Would this be better in a 2xproc 512M heap environment: ConcurrentGC with ParNewGC (ParNewGC on Multi-CPU machines): -XX:+UseConcMarkSweepGC -XX:+UseParNewGC > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sen

Connection Pooling HELP

2003-08-04 Thread Gregg Bolinger
I am trying to get connection pooling working with Tomcat 4.1.24-LE. Below is some relevant code. Tomcat starts up just fine. I have all my JAR files I need in the right place. If I create my own connection using JDBC it all works just fine. But using a connection pool is failing. The error me

Jvmroute and worker2.properties worker name

2003-08-04 Thread Angus Mezick
Does the name of the JvmRoute in server.xml have to equal the name of the host in worker2.properties when linking apache and tomcat to get proper session affinity? Angus Mezick GuideStar - Philanthropic Research Inc. 427 Scotland St. Williamsburg, Virginia 23185 PHONE: (757)299-4631 x35 FAX:(757)

RE: JVM tuning

2003-08-04 Thread pete . storey
Isnt the adaptive sizing only relevant to much larger memory configurations (Im running this JVM with a max heap of 1-1.5Gb? Pete "Angus Mezick" <[EMAIL PROTECTED]> 04/08/2003 17:51 Please respond to "Tomcat Users List" To: "Tomcat Users List" <[EMAIL PROTECTED]> cc:

Debugging and Running as NT Service

2003-08-04 Thread John De Lello
Can someone explain how to configure a Tomcat server that is running as a Windows service to be debugable via dt_socket? Thank you John

connection pooling - user vs. username

2003-08-04 Thread Geralyn M Hollerman
A question regarding Tomcat connection pooling - according to the JNDI Datasource HOW-TO, the parameter for username should be placed in the section thusly: username /parameter> But I've also seen this parameter also called just "user". According to the docs, "Resource parameters are d

RE: Some questions

2003-08-04 Thread Angus Mezick
One thing: UPGRADE TOMCAT FAST! 44M isn't much memory, how much do you have available? > -Original Message- > From: Satish Talim [mailto:[EMAIL PROTECTED] > Sent: Monday, August 04, 2003 11:04 AM > To: Tomcat Users List > Subject: Some questions > > > Hello, > > In our company, we are

Re: Securing Apache/Tomcat Communication

2003-08-04 Thread Tim Funk
The way to do this is using stunnel. (From what I heard) I have never tried to do this but google might be helpful. -Tim Carl Walker wrote: Hi, Does anyone know if it's possible to secure the connection (AJP or otherwise) between Apache and Tomcat? I'm currently using mod_jk. I'm most interes

RE: JVM tuning

2003-08-04 Thread Angus Mezick
Wouldn't AdaptiveSizePolicy help? (saves you the work of Java Heap usage analyzing :-) : I use this on my 2x proc machine. -XX:UseParallelGC -XX:+UseAdaptiveSizePolicy > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Monday, August 04, 2003 9:55 AM > T

RE: Docs

2003-08-04 Thread Angus Mezick
The Apache Tomcat Bible from Wiley. > -Original Message- > From: Werner vd Merwe [mailto:[EMAIL PROTECTED] > Sent: Monday, August 04, 2003 5:27 AM > To: Tomcat Users List > Subject: Docs > > > Good day, > > We are moving over from IIS to Jakarta, but my knowledge of > the product is >

RE: Problem: Tomcat server went down ...

2003-08-04 Thread Shapira, Yoav
Howdy, Hmmm... Any information in the logs? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Bing Zhang [mailto:[EMAIL PROTECTED] >Sent: Monday, August 04, 2003 12:36 PM >To: '[EMAIL PROTECTED]' >Subject: Problem: Tomcat server went down ... > > >Our Tomcat server just

Problem: Tomcat server went down ...

2003-08-04 Thread Bing Zhang
Our Tomcat server just shut down by itself. It caused an application error( 0xc05 ) in Java.exe and shut down. Any ideas or directions about what could cause this ? Our platform is Apache 1.3.9, Tomcat 3.3, JDK 1.3, and FOP 0.20.4 running on NT servers. Well, I know this configuration is

Is this possible to use Tomcat realms if...

2003-08-04 Thread Daniel Kowalik
Hi, ...If tomcat is running behind apache httpd? I just want to get rid of .htaccess files. Bests daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Jasper, JSPC, Ant and Precompiling JSP's

2003-08-04 Thread Mark R. Diggory
In fact, I'm curious to the status of this in 5.0 and the directions that this will take in the future, I may be willing to do a little work to add "work directory" compilation to the capabilities of JspC, if they do not already exist. -Mark Mark R. Diggory wrote: Thanks Ian, We actually alr

RE: Persistent Sessions

2003-08-04 Thread Shapira, Yoav
Howdy, Consider a container-independent approach instead: write an HttpSessionListener that's also a ServletContextListener. Have it keep a static list of HttpSession objects, adding the session to the list on its creation and removing on its destruction. Then, have the contextDestroyed method g

RE: Tomcat 5.0.2 Service

2003-08-04 Thread Shapira, Yoav
Howdy, How do you have it configured now? Also, if you could use 5.0.6 for your testing instead that'd be great! Yoav Shapira Millennium ChemInformatics >-Original Message- >From: vikas jain [mailto:[EMAIL PROTECTED] >Sent: Monday, August 04, 2003 12:06 PM >To: [EMAIL PROTECTED] >Subje

Persistent Sessions

2003-08-04 Thread Kal Govindu
I am trying to clean-up ( invalidate ) all the session when Tomcat is restarted for any reason. I have the following Tag in my server.xml. The session created for my web application still seem to persist, is there another place or way the session is being store or persisted? Please help, thanks in

Tomcat 5.0.2 Service

2003-08-04 Thread vikas jain
Hey there, I have windows XP, tomcat 5.0 and jdk1.4.1_01. when I log out from the system, tomcat stops itself. Do you have any idea how I can configure tomcat or some other services so that it can run after logging off windows. Thanks, Vikas ___

Re: Jasper, JSPC, Ant and Precompiling JSP's

2003-08-04 Thread Mark R. Diggory
Thanks Ian, We actually already have a shell script that does this too. I was hoping to get some details on how to make the jspc and tomcat behaviors more consistent with each other so that I could move away from this strategy and use the compiler directly. Unfortunately, its often the case th

RE: Re-routing messages from the console on Win NT/2000

2003-08-04 Thread Shapira, Yoav
Howdy, >I am running Tomcat 4.1.24 on Windows NT 4.0. When I get a runtime error >in my servlet, I'm getting stack traces on the console instead of in the >log. Is there a way to force all output to the log. I have a log >specified that it writes to while the container loads, but for some reas

RE: tutorial question

2003-08-04 Thread Raffi
Martin, Check this out, it should help... http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets11.html#63281 Raffi -Original Message- From: Martin Mauri [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 11:23 AM To: Tomcat Users List Subject: tutorial question Hi, does

Re-routing messages from the console on Win NT/2000

2003-08-04 Thread Goehring, Chuck Mr., RCI - San Diego
Tomcatters, I am running Tomcat 4.1.24 on Windows NT 4.0. When I get a runtime error in my servlet, I'm getting stack traces on the console instead of in the log. Is there a way to force all output to the log. I have a log specified that it writes to while the container loads, but for some r

tutorial question

2003-08-04 Thread Martin Mauri
Hi, does anybody here know about a good tutorial on JSP, specially working with sessions? thanks. Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Securing Apache/Tomcat Communication

2003-08-04 Thread Carl Walker
Hi, Does anyone know if it's possible to secure the connection (AJP or otherwise) between Apache and Tomcat? I'm currently using mod_jk. I'm most interested in SSL (or other encryption) between the two rather than the JServ-style secret key mechanism. Thanks, Carl ---

RE: Some questions

2003-08-04 Thread Shapira, Yoav
Howdy, >In our company, we are using Tomcat Version 4.0.1 and Java 2 SDK, Standard >Edition Version 1.4.0 If possible, update to 4.1.27 and JDK 1.4.2. >a. I read that if one uses 'catalina nonaming >start' instead of >'startup', it would help disable the use of JNDI within Tomcat. >(1) Is this

Why integrate Tomcat with a web server?

2003-08-04 Thread Nathan Ward
I have a question for John Turner about a statement in the book Apache Tomcat Security. Page 12 says: "As discussed earlier, running publicly available web services as root or superuser is typically a bad idea, so the solution is to avoid using Tomcat as a stand-alone web server on port 80 by

Some questions

2003-08-04 Thread Satish Talim
Hello, In our company, we are using Tomcat Version 4.0.1 and Java 2 SDK, Standard Edition Version 1.4.0 a. I read that if one uses 'catalina nonaming start' instead of 'startup', it would help disable the use of JNDI within Tomcat. (1) Is this feature available with Tomcat 4.0.1 ? (2) Does it mea

Re: Tomcat 4.1x running as NT Service Issue

2003-08-04 Thread Nathan Ward
I told you wrong about how to set the memory limits when running as a service. You can set the memory options in the Windows registry using regedit. In regedit, open HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Apache Tomcat 4.1\Parameters Add a string value named: JVM Option Number 3 and set

Re: RES: Cookie problem max age problem - Best practice to solve it

2003-08-04 Thread srevilak
> one information isnt right! First, using Sniffer to monitor all http > traffic, i found out one important news: the authentication app's plugin > works with Session object instead of Cookie object. What kind of information > would you like to receive about it? Does Session object work different >

RE: how to run web application in different modes like test, production

2003-08-04 Thread Shapira, Yoav
Howdy, You could have different tomcat instances, each with a copy of the app that has different property file settings. Or you could deploy the app multiple times with different names to one tomcat instance (e.g. webapps/MyApp-Test, webapp/MyApp-Dev) etc. Yoav Shapira Millennium ChemInformati

how to run web application in different modes like test, production

2003-08-04 Thread Astrid Wagner
Hi all, I have a web application that runs -depending on the content of a property file - in different modes. But the application can only run in either one of these modes at a time. I want to be able to run the web application in serveral modes at the same time (e.g to test different DBs, email

RES: Cookie problem max age problem - Best practice to solve it

2003-08-04 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Sorry Steve, one information isnt right! First, using Sniffer to monitor all http traffic, i found out one important news: the authentication app's plugin works with Session object instead of Cookie object. What kind of information would you like to receive about it? Does Session object work differ

Re: HELP!! TOMCAT and MYSQL

2003-08-04 Thread Mauricio Nuñez
Hi Replace & for & to get a valifd XML Bye El Dom 03 Ago 2003 06:39, engp0510 escribió: > Thanks very much! > Y, I have tried. But always throw org.xml.sax.SAXParseException said a ";" > is needed to end the quote of "password". > Any advice? > > > - Original Message - > From: "Emmanu

Jasper, JSPC, Ant and Precompiling JSP's

2003-08-04 Thread Mark R. Diggory
Hello, I've done my best to review the archives to resolve my problem, but I've not found a solution there so I'm posting it. I'm stuck back on Tomcat 4.1.24 (LE) and I'm encountering some issues with JSP Precompilation using Ant and JSPC. First let me outline my problem. Most messages I've read t

RE: JVM tuning

2003-08-04 Thread pete . storey
Ah sorry I should really have said that I was focusing specifically on memory managment; general performance tuning is a completely different matter in which I do agree with you! On the memory front however I would stand by the fact that most tomcat webapps (big or small) would benefit from a

Re: tomcat 4.1.27 reload webapp

2003-08-04 Thread Tim Funk
Yup a bug. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096 -Tim Edwin Eversdijk wrote: Hi, When i reload a webapp in tomcat 4.1.27 (win2000/jdk1.4.1) and load a jsp from that webapp I get the message: "Compiling 1 source file [javac] C:\Apache-tomcat\temp\check_jsp.java:7: package com

Re: Docs

2003-08-04 Thread Tim Funk
I recommend a server admin book. There was a recent flame war about this. Check the user archives. http://jakarta.apache.org/tomcat/faq/ -Tim Werner vd Merwe wrote: Good day, We are moving over from IIS to Jakarta, but my knowledge of the product is null. I googled around for help, but can not

Re: What is that maximum file size tomcat can serve?

2003-08-04 Thread Tim Funk
Can you post the stack trace, versions used, and your config? Standalone vs jk ... I tried tomcat5 with its standalone http connector with a 2,349,092,191 byte file and all was ok for me. I would expect the same result from tomcat 4.1 -Tim Lee Peik Feng wrote: I think this is due to the conte

RE: JVM tuning

2003-08-04 Thread Shapira, Yoav
Howdy, >Well not really; we know that we are running Tomcat, a web container which >has its own (fixed) characteristics. It is a server side app which is >processing non state based transactions which are thus highly like to >involve a lot of objects being created and destroyed without too many

RE: JVM tuning

2003-08-04 Thread pete . storey
Well not really; we know that we are running Tomcat, a web container which has its own (fixed) characteristics. It is a server side app which is processing non state based transactions which are thus highly like to involve a lot of objects being created and destroyed without too many hanging a

RE: What is that maximum file size tomcat can serve?

2003-08-04 Thread Shapira, Yoav
Howdy, >-Original Message- >From: Lee Peik Feng [mailto:[EMAIL PROTECTED] >Sent: Monday, August 04, 2003 8:02 AM >To: Tomcat Users List >Subject: Re: What is that maximum file size tomcat can serve? > >I think this is due to the content-length (in the HTTP header) generated by >Tomcat. >S

RE: JVM tuning

2003-08-04 Thread Shapira, Yoav
Howdy, >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Sent: Monday, August 04, 2003 9:27 AM >To: Tomcat Users List >Subject: RE: JVM tuning > >Hmm well only a profiler could tell me that; I was more looking for some >(subsequently discovered) things such as you

Pb with tomcat examples

2003-08-04 Thread Franck Arnulfo
Hi, I've got a little problem with tomcat examples. When I go to Tomcat Administration and look at Tomcat Server/Service/Host/Context(/examples)/Resources/Data Sources I can see: JNDI NameJDBC Driver Class jdbc/EmployeeAppDb org.hsql.jdbcDriver But when I click on jdbc/EmployeeAppD

RE: Servlets & JSPs log to different files

2003-08-04 Thread Shapira, Yoav
Howdy, >Can anyone expand on this further and explain how to use a Log4j logger >reference in beans that do not have a notion of what the underlying servlet >context is? The only way I can see how to get this to work is to pass the >logger reference as an argument in the bean's constructor. You

RE: JVM tuning

2003-08-04 Thread pete . storey
Hmm well only a profiler could tell me that; I was more looking for some (subsequently discovered) things such as you should reseize the young generation to be much larger than the default 25% and so on; there are some rules of thumb such as this which I was looking for! cheers Pete "Shap

RE: Re[2]: Servlets & JSPs log to different files

2003-08-04 Thread Shapira, Yoav
Howdy, I would point out a couple of things, since you posted this code as an example, but they are subjective. >I have a servlet that is loaded at the time tomcat starts. The container is free to destroy and reload this servlet as it deems necessary. Accordingly, use a ServletContextListener i

RE: Many java-processes left after shutdown.sh

2003-08-04 Thread Shapira, Yoav
Howdy, >when I stop tomcat using shutdown.sh there are still many tomcat-processes >running in linux. Is this normal or do I have a configuration problem >(contexts are not closed properly)? >I use a connection pool to a Mysql-database in my application >(BasicDatasourceFactory). Do I have to clo

RE: Many java-processes left after shutdown.sh

2003-08-04 Thread Shapira, Yoav
Howdy, > Since your question is regarding tomcat on linux, so I thought it best >to put my question to you as well. I have downloaded the rpm file for >the SDK or jdk 1.4. When I see the file on linux machine, I see >___.rpm.bin >How do I install it ? Any suggestions ? Bad idea: start another th

RE: JVM tuning

2003-08-04 Thread Shapira, Yoav
Howdy, >Has anyone got any clues on JVM tuning for Tomcat on Windows 2000, Sun 141 I would venture at least a few people on this list have clues. But it's impossible to help you without a clue about your webapp. Yoav Shapira This e-mail, including any attachments, is a confidential business

RE: Docs

2003-08-04 Thread Shapira, Yoav
Howdy, >I googled around for help, but can not seem to find anything starting from >scratch. Does anybody know of a good place to start teaching yourself the >product? Need to define three separate sites from the main site. E.g. >www.ourdomain.com/site1-site3 Each "site" would likely be a web a

RE: Configuration Error?

2003-08-04 Thread Shapira, Yoav
Howdy, >But do I have to import my own classes? If so what is the purpose of >having the Bean code separated from the JSP code? Yes, you have to import your classes so the JVM knows what classes you're using. The point of separation is two-fold (probably more): - Other components can use the Be

DataSource + Oracle + Tomcat

2003-08-04 Thread v.siguier
Hello, I try to connect to Oracle 8.1.7 using a DataSource (Tomcat 4.1.24). In the code, my datasource object is not null (Oracle driver have been founded) but on getConnection method I have the following error message : "org.apache.commons.dbcp.DbcpException: java.sql.SQLException: invalid argu

  1   2   >