Re: DataSource and initialContext.lookup(java:comp/env)

2004-11-07 Thread Frank W. Zammetti
java:comp/env is the default namespace defined by JNDI. The call to lookup() with this as an argument is returning an instance of a context corresponding to that namespace, which you need to do a further lookup for your specific resource. On a related note, I'm pretty sure you could condense

Accessing resource in WEB-INF outside servlet

2004-11-07 Thread Morkeleb
Hi. I have a file in WEB-INF which I want to access. However, this is done in a static class which is not a servlet, so I do not have the servlet context. Is there a way to access the servlet context non the less? Is there a way to make getResource find the file anyway? I know a resource is

Tomcat not starting...Tomcat4.1.30

2004-11-07 Thread Shilpa Nalgonda
Hi My Tomcat instance is so badly messed up , i am not able to start it...at all...while i was redeploying my app , it gave me some email related classes not found error...so i copied all the relevant jar into Tomcat/common/lib directory...Then it gave me some other other, so to eliminate the

Re[2]: DataSource and initialContext.lookup(java:comp/env)

2004-11-07 Thread Allen Holub
It's also helpful, I think, to look at a JNDI directory as a database that's organized in a directory-like fashion. The database contains objects, not arbitrary data, however. The context is effectively the database name, and when you lookup something in the context, you're effectively looking it

RE: Tomcat not starting...Tomcat4.1.30

2004-11-07 Thread Filip Hanik \(lists\)
look at all the logs files, there is always something in there, if you are running on windows, go to the bin directory in a dos prompt and type catalina.bat run and see why its failing, and also, get yourself a version control system, that way you won't lose data :) Filip -Original

Naoki Ando は不在にしております。

2004-11-07 Thread Naoki . Ando
2004/11/08 から不在にしております。2004/11/10 に帰社いたします。 ご迷惑をおかけしますが帰社しましてから、返答いたします。 宜しくお願たします。 * PRIVILEGED AND

RE: Tomcat not starting...Tomcat4.1.30

2004-11-07 Thread Shilpa Nalgonda
i looked in all the logs, there is no error at the time i ran the tomcat, and the way i run tomcat is : catalina start from the cmd prompt from directory /tomcat/bin. The window closes so that that i cannot see anything. But i tried to install another tomcat in different directory and even it

Re: Tomcat 5.0.28 fails to start

2004-11-07 Thread sven morales
Am curious, this jmx.jar is required in all Tomcat 5.x? I thought it was only for the jmxproxy servlet under the manager webapp? --- Bill Barker [EMAIL PROTECTED] wrote: The problem is that Tomcat isn't finding the classes in $CATALINA_HOME/bin/jmx.jar. Either this jar got corrupted

Re: yoav, can u suggest something?

2004-11-07 Thread Peter Johnson
Hi Vaneet, Rather than reiterate Yoav's comments I will simply suggest that you learn a little about HTML and HTTP or even better RTFM. Your site is operating within a frameset thus the URL in the browser stays the same whilst the underlying URL for each page changes within a frame. When

FW: Configuring JAAS realm for a web appplication (Catalina class loader bug)

2004-11-07 Thread Reingold Genna
Title: FW: Configuring JAAS realm for a web appplication (Catalina classloader bug) Hi, My company isusing Tomcat 4.1.29 and I'm investigating a transition to version 5.0.28. We use JAAS for authentication. The realm is decleared inside the web application context. The authentication code

Re: Tomcat 5.0.28 fails to start

2004-11-07 Thread Bill Barker
It is required for all Tomcat 5.x unless you are using a 1.5 JVM (which ships with the javax.management.* classes). Hence the message below if Tomcat can't find a JMX implementation. sven morales [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Am curious, this jmx.jar is required

Re: Root directory...

2004-11-07 Thread e-Denton Subscriber
Create a context for your app with path=. That makes it the root app. - Original Message - From: Luc Vantroys [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, November 06, 2004 9:40 PM Subject: Root directory... Hi, I work in a regular directory but I'm

Re: Root directory...

2004-11-07 Thread Luc Vantroys
Hi, What do you mean by this? thanks, Luc. - Original Message - From: e-Denton Subscriber [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, November 07, 2004 7:44 PM Subject: Re: Root directory... Create a context for your app with path=. That makes it the root

Jason Stahl is out of the office.

2004-11-07 Thread Jason . Stahl
I will be out of the office starting Mon 11.08.2004 and will not return until Fri 11.12.2004. I will respond to your message when I return. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Doubts with tomcat

2004-11-07 Thread Amit Gupta
Hello everybody, I have following section in server.xml Connector port=8080 maxThreads=25 minSpareThreads=5 maxSpareThreads=15 enableLookups=false redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=2 disableUploadTimeout=true / !-- Note : To disable connection timeouts, set

Re: User Authentication Problem LDAP

2004-11-07 Thread Sandeep N
Hi All, I got my problem solved..The culprit was that I hadn't included the attribute digest with value SHA (SHA because my LDAP directory is storing the password in this format) in the realm directive in server.xml. Also, I had to change role-namecn/role-name to role-name*/role-name in web.xml.

Is their any tutorial for optimizing tomcat performance?

2004-11-07 Thread Amit Gupta
Hi, Is their any tutorial for optimizing tomcat performance? I run it on 64 MB RAM and 64 SWAP Space. is it Ok or not? Amit Gupta Email: [EMAIL PROTECTED]

Re: FW: Configuring JAAS realm for a web appplication (Catalina class loader bug)

2004-11-07 Thread Jacob Kjome
Well, the short answer is, move it to common/lib, not server/lib. server/lib is for stuff that *only* Tomcat itself should see. common/lib is for stuff that both the server and applications should see (and shared/lib is the converse of server/lib, but different from WEB-INF/lib since it is

RE: FW: Configuring JAAS realm for a web appplication (Catalina c lass loader bug)

2004-11-07 Thread Reingold Genna
Title: RE: FW: Configuring JAAS realm for a web appplication (Catalina class loader bug) Jake, Thanks for our reply. I have tried common/lib scenario. As a matter of fact I have started with that option. However it produces the same result. I have tried to move ejb-client jar out of of

Re: Environment entries question

2004-11-07 Thread Igor
Hello! I have made some researches and I think, that I have found patch, that solves my problem. I tested it a little. It works fine for me. But I might miss something important while testing. As I mentioned in previous letter, open Bugzilla item is related with my problem, but it is not the

RE: Tomcat 5 - coyote/jk2 connector defaults - maxthreads, timeout?

2004-11-07 Thread Dan Carwin
Resending...anyone know??? -Original Message- From: Dan Carwin Sent: Friday, November 05, 2004 11:01 AM To: [EMAIL PROTECTED] Subject: Tomcat 5 - coyote/jk2 connector defaults - maxthreads, timeout? what is the default maxThreads in tomcat 5 jk2/coyote connector? What is the default

Re: Doubts with tomcat

2004-11-07 Thread Michael Echerer
1) When I start tomcat with above server.xml , it creates 9 process with same output on shell. it is I configured tomcat to run with minSpareThreads=5 then why it start with 9 threads? You configured 5 connector threads that not necessarily match OS threads (or whatever you saw). Check with

Starting Tomcat as an Apache inprocess with Jni

2004-11-07 Thread O . Strobel
Hi, I have problems starting the Tomcat as an inprocess of Apache via Jni. I tried that with the examples of the Jakarta Hompage. Running Apache and Tomcat seperatly and connect both with a Socket-Connection is no problem and works fine. That tells me that the mod_jk2 is well working. My

Re: Doubts with tomcat

2004-11-07 Thread Amit Gupta
With following mod_jk2.conf LoadModule jk2_module modules/mod_jk2.so JkSet config.file /etc/httpd/conf/workers2.properties JkAutoAlias /usr/local/tomcat/webapps JkMount /*.jsp ajp13 JkMount /*/servlet/ ajp13 Following error is coming: service httpd start Starting httpd: Syntax error on