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
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
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
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
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
2004/11/08 から不在にしております。2004/11/10 に帰社いたします。
ご迷惑をおかけしますが帰社しましてから、返答いたします。
宜しくお願たします。
*
PRIVILEGED AND
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
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
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
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
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
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
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
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
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
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.
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]
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
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
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
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
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
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
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
24 matches
Mail list logo