Hi
Download the log4j Source from Apache. Look at the class
org.apache.log4j.helpers.Loader and here you will a logic which is used to
find the log4j.xml. This works for every application.
Hope this will help.
On 5/17/06, Tim Lucia [EMAIL PROTECTED] wrote:
I have always responded with this
This most probably means there is deadlock somewhere in your
webapplication, leading to HTTP threads not being released because they
are stuck waiting for something before sending response to a user that
dropped hours agos.
To get clues on where your problem is when this happens, send signal
Fretzlaff,
path not patch
Context
path=/test
docBase=D:/apps/test
/Context
Alex
--
55.67N 12.588E
CCC7 D19D D107 F079 2F3D BF97 8443 DB5A 6DB8 9CE1
--
-- Videresendt meddelelse --
From: fretzlaff [EMAIL PROTECTED]
To: users@tomcat.apache.org
Date: Wed, 17 May 2006 11:58:24
Thanx for ur interest Dav.I am fairly new to java and tomcat programming so
I am bit low on debugging these.
Yes,I do have some of the data from the dumps, I don't know whether these
will be of any help or not but this what I have.This happened on live about
7 months ago and it has been reopened
Hi,
I'm using RequestDispatcher to dynamically include content. When the target
resource does not exist, a 404 error page returns from Tomcat. Acording to
the API, the included servlet cannot change the response status code or set
headers, and any attempt to make a change is ignored.
I did a
ok, i bet then you problem is in this :D:
au.com.AdmTech.incontrol.secureproxy.SecureProxy.doGet(SecureProxy.java:298)
- locked 0xf227ea88 (a
au.com.alcatel.incontrol.secureproxy.SecureProxy)
at
au.com.AdMtech.incontrol.secureproxy.SecureProxy.doPost(SecureProxy.java:435
)
it
Hi list
I've got a problem restarting an war packed application after succesful
installation.
After installing and running the application succesfully i have to
re-start the application from time to time.
Doing this always results in
Error - Could not start application with context path
Hi everybody,
After restarting Tomcat (5.0.28), it doesn't deliver the requested
jsp-page on the first calls.
I have to hit about 5-8 times the reload-button until tomcat delivers
the requested page (e.g. index.jsp).
Also this problem sometimes turns up when calling servlets for the first
Hi All!
I want to map a single servlet to multiple URLs.
Ofcourse in web.xml I could do this, which works fine:
servlet-mapping
servlet-nameMyServlet/servlet-name
url-pattern/one/*/url-pattern
/servlet-mapping
servlet-mapping
servlet-nameMyServlet/servlet-name
Paul Hamer wrote:
But I know that for instance Resin supports the url-regexp tag, so I could
do:
servlet-mapping
servlet-nameMyServlet/servlet-name
url-regexp/(one|two)/.*/url-regexp
/servlet-mapping
Which I think is much neater :) Is there any way to do this using Tomcat 5.5
?
There is no regex support for URI mapping. At one time it was to be part of
the 2.5 servlet spec - but for reasons unknown to me - it was yanked.
-Tim
Paul Hamer wrote:
Hi All!
I want to map a single servlet to multiple URLs.
Ofcourse in web.xml I could do this, which works fine:
I have finally fixed this problem. It was to do with the Resource tags
name parameter in server.xml not matching the res-ref-name tag in the
applications WEB-INF/web.xml file.
Thanks for all the patient help I got here.
Hugh Morgan
Hello,
I'm trying to use the error handling mechanism described in
http://java.sun.com/developer/EJTechTips/2003/tt0114.html.
When an exception in thrown in JSP1 it is indeed redirected to JSP2. in JSP2
I've put System.out.println(exception.getMessage()); and sure enough the
exception's message
Hi all
I've got webapps deployed in tomcat 5.5.x that use some resources defined in
their respective context.xml files. I'd like to use those resource in a java
program on the same machine (which isn't a webapp). Most resource
descriptions would be easy enough to parse with a bit of xpath, but
Stephen More wrote:
Is there a war file available for download that will do nothing more than:
select 'HelloWorld from MySQL'; using JNDI ?
I have tried following many examples on the web and I keep ending up with:
Cannot create JDBC driver of class '' for connect URL 'null'
At this
Newbie answer: Are you sure you are waiting long enough? The fisrt
timre a page is requested tomcat does the compilation, and so it can
take quite a while (a few seconds). After this the page is servered
much quicker.
HTH,
Hugh
Abid Hussain wrote:
Hi everybody,
After restarting Tomcat
I am using the following mount command in my apache config.:
JkMount /webapp/* worker1
But I have to use this url to make it work..: http://www.domain.no/webapp/
and I would like this url to work also..: http://www.domain.no/webapp
Is that possible?
Regards,
BTJ
--
You are right!
The code does implement a mutex() part. But the problem lasted for 7 days
untill the server was restarted manually.
There were about 15 threads which were found to be in locked state.And for
all these days tomcat was not accepting any requests.
Do you think Dev that this could
It should be mod_jk
On Thu, 18 May 2006 13:11:26 +0200
Bjørn T Johansen [EMAIL PROTECTED] wrote:
I am using the following mount command in my apache config.:
JkMount /webapp/* worker1
But I have to use this url to make it work..: http://www.domain.no/webapp/
and I would like this
I'm trying to use the error handling mechanism described in
http://java.sun.com/developer/EJTechTips/2003/tt0114.html.
When an exception in thrown in JSP1 it is indeed redirected to JSP2. in JSP2
I've put System.out.println(exception.getMessage()); and sure enough the
exception's message
Try this
IfModule mod_jk.c
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel warn
JkMount /webapp ajp13
JkMount /webapp/* ajp13
/IfModule
-- Franck
It should be mod_jk
On Thu, 18 May 2006 13:11:26 +0200
Bjørn T Johansen [EMAIL PROTECTED]
No, I've used the Letting a page define its error page option.
- Original Message -
From: Franck Borel [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, May 18, 2006 14:20
Subject: Re: error page
I'm trying to use the error handling mechanism described
Yes, that did the trick... Thx... :)
BTJ
On Thu, 18 May 2006 13:24:44 +0200
Franck Borel [EMAIL PROTECTED] wrote:
Try this
IfModule mod_jk.c
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel warn
JkMount /webapp ajp13
JkMount /webapp/*
I'm trying to use the Connector-attribute address in the Tomcat 5.5.17
I'm running, as I want the Tomcat to listen to a specific IP-address
(I'm running two Tomcats on the same server). This works fine when I'm
running the Tomcat without APR, but when I run the Tomcat with APR
enabled it refuses
Hi,
I am using the following mount command in my apache config.:
JkMount /webapp/* worker1
But I have to use this url to make it work..: http://www.domain.no/webapp/
and I would like this url to work also..: http://www.domain.no/webapp
Is that possible?
Yes, rewrite it first:
And if it takes long enough the browser will give up and time out. Thus
giving the appearance of Tomcat not serving on the first request.
Doug
- Original Message -
From: Hugh Morgan [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, May 18, 2006 6:59 AM
I think you should not use synchronized sections / mutex to get
informations from client. Common policy in using mutex is to keep them
as little time as possible and do only the critical work inside the
exclusive part.This is to prevent long waiting queues and ... things
like that :)
Ajit
I have an Java app called login, in a package called UserConfig. This is
just a very simple app to help me get started.
The directory structure:
app-name|
|-login.jsp
|-welcome.jsp
|-WEB-INF|
||-classes|
|||-UserConfig|
|
org.apache.jasper.JasperException: access denied (java.io.FilePermission
execute)
java.security.AccessControlException: access denied (java.io.FilePermission
execute)
What means these lines?
--
View this message in context:
I am using the containers JDBCRealm but would like to allow any
authenticated users (without roles) to access protected resources. I realise
that the handling of role-name*/role-name was modified to comply with
the Servlet specification in Tomcat 5.5.x but is it really necessary to give
all users
All,
Is anyone using the org.apache.naming package outside of Tomcat? I am
interested in (possibly) using it for unit testing (w/o needing Cactus). My
main issue with unit testing right now is obtaining JNDI resources as varied
as one can while using Tomcat. For example, I would like mail
Hello, I have a production server tomcat 5.5 java 1.5_06
I have set memory min and max as 2048m and thorows this error
[javajni.c] [error] CreateJavaVM Failed
=) obviosly my server has 4 GB of memory
It work with 1600m , 1024m, etc, but no more than 2000m
Any clue ??
Thanks guys
This
I'm trying to build Tomcat 5.5.15 using the IBM 1.5 JDK.
Why? Because I'm working with a user that wants to run with the IBM 1.5
JDK in production. They want to build Tomcat with the IBM JDK for 2
reasons:
1) To ensure that they can build if they have to fix/change something
(and this is
Are there multiple copies of this class in scope (loaded by different class
loaders)? I know if you have some Oracle classes in WEB-INF/lib AND in
common/lib, you can get a CCE casting from a oracle.X to an oracle.X as they
come from different class loaders.
Tim
-Original Message-
No. This a specific class for my webapp. It is located in the webapp's
/classes tree, and is instantiated only once per session.
Tim Lucia wrote:
Are there multiple copies of this class in scope (loaded by different class
loaders)? I know if you have some Oracle classes in WEB-INF/lib AND in
On 18 May 2006 at 9:10, Allen Williams wrote:
I have an Java app called login, in a package called UserConfig. This
is just a very simple app to help me get started.
The directory structure:
app-name|
|-login.jsp
|-welcome.jsp
|-WEB-INF|
|
On 5/18/06, Allen Williams [EMAIL PROTECTED] wrote:
I have an Java app called login, in a package called UserConfig. This is
just a very simple app to help me get started.
The directory structure:
app-name|
|-login.jsp
|-welcome.jsp
|-WEB-INF|
|
I tried referencing the class with the name UserConfig.login in the .jsp
file, with a directory structure classes/UserConfig/login.class and
classes/UserConfig.login.class. Neither worked, but I could have made a
mistake and will try again.
Where should the name UserConfig.login be used? As the
Aha! I'm not sure which pair I did, but I only put top four lines in my
web.xml file (the servlet-name and servlet-class pair, and surrounding
servlet tag).
Tonight I'll try it with all the lines recommended here, and see. The
book I'm using only had the four lines. Is this a change between
On 5/18/06, Williams, Allen [EMAIL PROTECTED] wrote:
Tonight I'll try it with all the lines recommended here, and see. The
book I'm using only had the four lines. Is this a change between
Tomcat4 and Tomcat5?
Yes. Throw that book away and use the excellent documentation
on the Tomcat web
My application runs fine on my local server (Tomcat bundled with
NetBeans 5.0).
But, I have problem with the virtual host on deployment computer.
Lets say I have ./webapps/mysite
and beneath it I have more directories with JSP's like
./webapps/mysite/widgetA
In my server.xml I have something
Hi,
Someone can tell me the exact URL where I can to download the JDK 1.4
Compatibility package for Tomcat 5.5.x ?, because I can not found this in the
http://tomcat.apache.org/download-55.cgi#5.5.12 URL.
Thanks.
I am a beginner with tomcat..
I worked on a project that was on tomcat, but the whole system was built so
i just sit and started writing in java.
Now i want to build that system on my own computer at home. I have the codes
of the worked project and i want to run them.
Can you tell me what
Start here:
http://tomcat.apache.org/tomcat-5.5-doc/introduction.html
but, I must say, I'm having a lot of trouble with directory structures,
naming conventions, etc. myself.
Allen
-Original Message-
From: Ersin Ersoy [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 18, 2006 6:15 PM
To:
Hi,
I am using Tomcat 5.5.9 on Windows. I use Eclipse to
write my server code. Every time I change my code, I
export the jar directly to the myapp/WEB-INF/lib
directory and restart Tomcat. I found that the new
code is not immediately used by Tomcat, I have to
re-export, re-start Tomcat a
Hi,
I have myapp.war that I'd like to deploy by copying myapp.war to
catalina.base/webapps; but I would like to bind the app to context /.
I have
$tomcat.base/conf/server.xml,
in myapp.war I have:
/META-INF/context.xml
I know that somewhere I should specify Context path= docBase=???.
So
R. Christian Call wrote:
I could use some help in getting Tomcat 4 to build.
I've downloaded the source for Tomcat 4.1.31, and I've installed the
various other packages required by steps 1-11, as documented in
BUILDING.txt, yet I still seem to be missing some pieces--at this point,
the
Tony,
I have the same problem. Eclipse 3.1 WTP install.
I ended up shutting down tomcat and deleting the .war and the folder,
then saving the new .war file and start the tomcat up again.
I also publish to another tomcat server and still have to do the same
thing. On both machines I am running
Stephen Suen wrote:
Can any body tell me where I can find such source code, and give me some
basic explanation on it.
http://svn.apache.org/repos/asf/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/servlets/DefaultServlet.java
Search for SC_NOT_FOUND
Mark
R. Christian Call wrote:
I've been trying to find the jakarta-servletapi-4 binary distribution,
which I need in order to build Tomcat 4.1.24. Although I've browsed all
through the jakarta ftp site, and searched the web, I can't find it
anywhere.
Can anyone tell me how I can get my hands on
Asensio, Rodrigo wrote:
Hello, I have a production server tomcat 5.5 java 1.5_06
I have set memory min and max as 2048m and thorows this error
[javajni.c] [error] CreateJavaVM Failed
=) obviosly my server has 4 GB of memory
It work with 1600m , 1024m, etc, but no more than 2000m
Joe Bohn wrote:
Have other folks built Tomcat using JDKs other than Sun's? How do you
work around problems like this?
Deleting the class any any reference seems like the way to go to me.
Mark
-
To unsubscribe, e-mail:
On Thursday 18 May 2006 20:52, you wrote:
I did find that when I used:
img src=/webapp/path/to/servlet.jpg?recId= + member.getID() + /
The id that was returned had a / after the id which really caused issues.
(ended up looking like 345556/)
I changed the / to / (a space prior to the /)
Carlos Alberto Peláez Ayala wrote:
Someone can tell me the exact URL where I can to download the JDK 1.4
Compatibility package for Tomcat 5.5.x ?, because I can not found this in the
http://tomcat.apache.org/download-55.cgi#5.5.12 URL.
Look down that page until you find JDK 1.4
Nikita Tovstoles wrote:
Hi,
I have myapp.war that I'd like to deploy by copying myapp.war to
catalina.base/webapps; but I would like to bind the app to context /.
Rename it to ROOT.war
Mark
-
To unsubscribe, e-mail: [EMAIL
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread.
Joe Bohn [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm trying to build Tomcat 5.5.15 using the IBM 1.5 JDK.
Why? Because I'm working with a user that wants to run with the IBM 1.5
JDK in production. They want to build Tomcat with the IBM JDK for 2
reasons:
1) To
Hello,
Can you provide a direct link(s) for that Tomcat online
documentation?
Any information is appreciated. Thank you.
fjm
On 06 May 2006, at 13:56, Gaël Lams wrote:
I read Professional Tomcat 5 (Wrox Press). Not bad, but I'd say for
real problems the mailing list is still the best
On 5/19/06, Mark Thomas [EMAIL PROTECTED] wrote:Stephen Suen wrote:
Can any body tell me where I can find such source code, and give me some
basic explanation on it.
http://svn.apache.org/repos
/asf/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/servlets/DefaultServlet.java
http://tomcat.apache.org/tomcat-5.5-doc/index.html
On 5/18/06, Frank Murray [EMAIL PROTECTED] wrote:
Hello,
Can you provide a direct link(s) for that Tomcat online
documentation?
Any information is appreciated. Thank you.
fjm
On 06 May 2006, at 13:56, Gaël Lams wrote:
I read
Arthur van Dorp [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all
I've got webapps deployed in tomcat 5.5.x that use some resources defined
in
their respective context.xml files. I'd like to use those resource in a
java
program on the same machine (which isn't a webapp).
61 matches
Mail list logo