Re: Logging and Tomcat 5.0.16

2004-01-11 Thread Jacob Kjome
At 02:44 PM 1/10/2004 -0800, you wrote: Shapira, Yoav wrote: 1) Is there a reason why the startup.sh script that comes bundled with Tomcat 5.0.16 adds commons-logging-api.jar to the CLASSPATH? As far as I can tell, it's the only script that uses it. Yes, there's a good reason: tomcat internals

Re: tomcat 5 will not start

2004-01-11 Thread Remy Maucherat
Anthony Gray wrote: Hi All, I've recently unpacked tomcat 5.0.16 and am trying to use it with Apache 2 and the Coyote/JK2 AJP 1.3 connector (on Redhat linux 7.3). When I try to start tomcat using the startup.sh script, it appears to start briefly (I can see Java processes) then all the

Re: Datasource - OK in app context - Fails in Global context

2004-01-11 Thread Antonio Fiol Bonnín
So, could someone summarize for me the different ways of creating a JDBC DataSource in Tomcat? I will start the summary, so that it's easier to correct/complete. Please fill in the gaps ;-) 1. Have the DataSource defined in your application's context. That way, if you have two apps, you

Possible to disable session persistence at shutdown?

2004-01-11 Thread Marc Guillemot
Hi, is there a possibility to disable the session persistence performed by Tomcat (4 and 5) when shutting down? I'm not interested in this feature and it reports many exceptions as my objects stored in session scope aren't serializable. Marc.

Re: Problems after creating new hosts / contexts

2004-01-11 Thread Robert Zoehrer
At 1/8/2004 10:45 PM Patrick Willart worte: is your WEB-INF directory fully in uppercase? For this simple test.jsp I've no WEB-INF directory in the DocBase dirs of the contexts. Must I create one in any case? The older hosts also don't have WEB-INF directories. Now we have restartet the TC

Re: Problems after creating new hosts / contexts

2004-01-11 Thread Robert Zoehrer
Am 1/8/2004 10:49 PM meinte Howard Watson folgendes: Do you need a webapps directory? I don't understand your question correctly? You mean, that I need an extra DocBase directory for the context in the new host? Like $HOME/html/servlet/myapp In my understanding of the TC docs there must be a

Re: Mapping in workers2.properties

2004-01-11 Thread Nikola Milutinovic
There are actually several ways to map between Apache and Tomcat via mod_jk2. The first is using workers2.properties. If you've compiled with -pcre, then perl regular expressions should work as well as individual names. Also, remember that servlets traditionally live in

RE: ServletInputStream comes up closed.

2004-01-11 Thread Dinesh V
Hi Folks, Never Mind. Solved the problem. Thanks, Dinesh -Original Message- From: Dinesh V [mailto:[EMAIL PROTECTED] Sent: Sunday, January 11, 2004 1:19 AM To: [EMAIL PROTECTED] Subject: ServletInputStream comes up closed. Hello Folks, I am experiencing a problem with my dump servlet.

Using JNI with Tomcat 4.1.27 and IIS 5

2004-01-11 Thread Yuval Zantkeren
Hi all, Can someone explain me how do I configure the tomcat to work with JNI and IIS 5? Regards, Yuval Zantkeren Domain The Net Technologies Ltd. 81 Sokolov St. Ramat-Hasharon Israel 47238 Tel: 972-3-7600500 Fax: 972-3-7600505 www.DomainTheNet.com This email message and any attachments

AW: ServletInputStream comes up closed.

2004-01-11 Thread SH Solutions
Hi Never Mind. Solved the problem. Please, always also show the solution, since the intention of this list is to share solutions. Someone else might trap into the same problem, others might simlpy learn from mistakes. Thanks, Steffen

Xmx and Xms setting in tomcat 5.0.16

2004-01-11 Thread Pablo Garaitonandia
Hey Folks, I am currently running tomcat 5.0.16 and I am not quite sure how to set the memory parameters at start time nor how to test if they worked. If anybody out there has a good unix startup script with an example I would greatly appreciate it. -Pablo

Re: Xmx and Xms setting in tomcat 5.0.16

2004-01-11 Thread Remy Maucherat
Pablo Garaitonandia wrote: Hey Folks, I am currently running tomcat 5.0.16 and I am not quite sure how to set the memory parameters at start time nor how to test if they worked. If anybody out there has a good unix startup script with an example I would greatly appreciate it. You can

Server.xml Resources and LDAP DirContext Object Factories

2004-01-11 Thread Mark R. Diggory
I'm hoping maybe someone might be able give an example of how to bind an Ldap DirContext as a Resource into the context (using Resource tags in the server.xml). As such I'm hoping to be able to build a Federated Namespace and be able to access my ldap context in a federated fashion from the

RE: remote debugging

2004-01-11 Thread Mark Thomas
I do this with Eclipse all the time. The steps to reproduce my configuration are shown below. 1. Configure the following environment variables: JPDA_ADDRESS=8999 JPDA_TRANSPORT=dt_socket 2. Start tomcat from the command line with: catalina jpda start or catalina jpda run 3. In Eclipse configure

Re: Problems after creating new hosts / contexts

2004-01-11 Thread Robert Zhrer | pronet.at
At 1/8/2004 10:45 PM Patrick Willart worte: is your WEB-INF directory fully in uppercase? For this simple test.jsp I've no WEB-INF directory in the DocBase dirs of the contexts. Must I create one in any case? The older hosts also don't have WEB-INF directories. Now we have restartet the TC

Re: Problems after creating new hosts / contexts

2004-01-11 Thread Robert Zöhrer | pronet.at
Am 1/8/2004 10:49 PM meinte Howard Watson folgendes: Do you need a webapps directory? I don't understand your question correctly? You mean, that I need an extra DocBase directory for the context in the new host? Like $HOME/html/servlet/myapp In my understanding of the TC docs there must be a

Please help me for jk_nt_service problem

2004-01-11 Thread Dreamy Wu
Hi : Please help me for jk_nt_service problem . Description : [I followed your guiding : http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html] After I install JAVA and Jakarta, I run jk_nt_service -I Jakarta wrapper.properties. It's OK, and I ran jk_nt_service -s Jakarta. It

Serialization problems

2004-01-11 Thread bartek
From: bartek [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Date: 11 stycznia 2004 17:59 Hi could anyone give me an example of objects serialization and sending them through http connection? I made simple application and servlet. Servlet was sending object String to application . It was

built mod_jk2 on fedora with tomcat 5.0.16 (working)

2004-01-11 Thread martin grotzke
hi all, after very long nights, i finally got mod_jk2 built so that it now works on a fedora system with with apache2 and tomcat5. i don't know if everything i did when building and configuring is really required, but with the given steps it worked for me. as i read a lot on this list i want to

Re: Please help me for jk_nt_service problem

2004-01-11 Thread Bill Barker
It looks like you commented out the line: Dreamy Wu [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi : Please help me for jk_nt_service problem . wrapper.jvm.options= in your wrapper.properties file. Description : [I followed your guiding :

linking between contexts

2004-01-11 Thread Jerald Powel
Hi, Relating to a similar recent post, how do I configure Tomcat so that I can link between contexts, to appear in the same browser? Many thanks Gerald. - Yahoo! Messenger - Communicate instantly...Ping your friends today! Download Messenger Now

RE: Possible to disable session persistence at shutdown?

2004-01-11 Thread Filip Hanik
you can define a Manager element, using the same class (org.apache.catalina.session.StandardManager) and then setting the path variable to an invalid path. no sessions will be persisted Manager class=org.apache.catalina.session.StandardManager path=/sadasdas/ -Original Message- From:

Problems finding my JDBC driver for Oracle

2004-01-11 Thread Dor Orgad
Hi, Im having a great deal of trouble getting tomcat to see my OracleDriver for the JDBC class. I have tried putting it the file classes.jar in both my tomcat/jakarta-tomcat-4.1.29/common/lib/ directory and my WEB-INF/lib directory in my docroot, and nothing seems to work. It seems to pick

RE: Problems finding my JDBC driver for Oracle

2004-01-11 Thread Filip Hanik
make sure your jar file ends with .jar and also, make sure it is not corrupt Filip -Original Message- From: Dor Orgad [mailto:[EMAIL PROTECTED] Sent: Sunday, January 11, 2004 5:18 PM To: [EMAIL PROTECTED] Subject: Problems finding my JDBC driver for Oracle Hi, Im having a great deal of

Re: Problems finding my JDBC driver for Oracle

2004-01-11 Thread Dor Orgad
It is a .jar file and I can fully unzip it, and the contents contain the directory oracle/jdbc/driver/OracleDriver So i don't think its that. Filip Hanik wrote: make sure your jar file ends with .jar and also, make sure it is not corrupt Filip -Original Message- From: Dor Orgad

RE: Problems finding my JDBC driver for Oracle

2004-01-11 Thread Filip Hanik
can you do this inside of a JSP % try { this.getClass().getClassLoader().loadClass(oracle.jdbc.driver.OracleDriver ); }catch ( Exception x ) { x.printStackTrace(); } % without an exception being thrown? Filip -Original Message- From: Dor Orgad [mailto:[EMAIL PROTECTED] Sent: Sunday,

Re: Problems finding my JDBC driver for Oracle

2004-01-11 Thread Dor Orgad
No, that one bombs out too. Filip Hanik wrote: can you do this inside of a JSP % try { this.getClass().getClassLoader().loadClass(oracle.jdbc.driver.OracleDriver ); }catch ( Exception x ) { x.printStackTrace(); } % without an exception being thrown? Filip -Original Message- From: Dor

Re: Problems finding my JDBC driver for Oracle

2004-01-11 Thread Philipp Taprogge
Hi! Dor Orgad wrote: Im having a great deal of trouble getting tomcat to see my OracleDriver for the JDBC class. I have tried putting it the file classes.jar in both my tomcat/jakarta-tomcat-4.1.29/common/lib/ directory and my WEB-INF/lib directory in my docroot, and nothing seems to work.

Re: Problems finding my JDBC driver for Oracle

2004-01-11 Thread Dor Orgad
Sorry, i screwed up... it does seem to be working So what does that mean? Filip Hanik wrote: can you do this inside of a JSP % try { this.getClass().getClassLoader().loadClass(oracle.jdbc.driver.OracleDriver ); }catch ( Exception x ) { x.printStackTrace(); } % without an exception being thrown?

Re: Problems finding my JDBC driver for Oracle

2004-01-11 Thread Dor Orgad
No no, I got the driver classes12.jar from the net. I was just saying that it can be full unzipped without any problems, to prove the integrity of the file. Other then that, nothing else has been done to the file. Cheers Dor Philipp Taprogge wrote: Hi! Dor Orgad wrote: Im having a great

RE: Problems finding my JDBC driver for Oracle

2004-01-11 Thread Filip Hanik
that means that it works just fine. and that YOU are doing something wrong, not tomcat :) so try this % try { java.sql.Driver driver = new oracle.jdbc.driver.OraceDriver(); String url = jdbc:oracle:thin:@localhost:1521:ora; //of course substitute your own values java.sql.Connection con =

Re: Problems finding my JDBC driver for Oracle

2004-01-11 Thread Dor Orgad
I think this thing is playing funny buggers cos with this new code its giving me the driver not found exception. a i dont know what to d!!! type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request.

RE: Problems finding my JDBC driver for Oracle

2004-01-11 Thread Filip Hanik
did you put the classes12.jar in WEB-INF/lib only, not in common/lib -Original Message- From: Dor Orgad [mailto:[EMAIL PROTECTED] Sent: Sunday, January 11, 2004 7:20 PM To: Tomcat Users List Subject: Re: Problems finding my JDBC driver for Oracle I think this thing is playing funny

Isapi redirector jk2.02 Installer

2004-01-11 Thread kwirirai
Hi I have tried using the Isapi redirector jk2.02 Installer from http://www.shiftomat.com/opensource/ It does not seem to work on my machine .I am running Windows 2000 and IIS 5 and Tomcat v 5, Also tried the documentation from http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html I dont

Re: Problems finding my JDBC driver for Oracle

2004-01-11 Thread Nikola Milutinovic
Dor Orgad wrote: I think this thing is playing funny buggers cos with this new code its giving me the driver not found exception. a i dont know what to d!!! type Exception report message description The server encountered an internal error () that prevented it from fulfilling this