Hi buddies,
I want to ask a question about connection pool, and my environment is
apache-tomcat-5.5.27, mysql-5.0.67(mysql-connection-j-5.1.8) and default
apache DBCP. Here is a short description of the problem I met.
I configured a datasource in $catalina.base/conf/server.xml, and get a
neo anderson wrote:
I read the document at
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html and have a
question. What is the class loading order if the classes are located under
/WEB-INF/classes/ and /WEB-INF/lib/ respectively?
The search order is always:
/WEB-INF/classes
Why SIGBUS is Cool?
What is strange is that running 32 bit java helped.
Of course i can explain it that the 32 have less address space and it does
not get
to the bad RAM ,but still ...
Evgeny
On Fri, Sep 4, 2009 at 12:32 AM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN
Dear Mark,
thanks for your response and cooperation. For the evaluation of our research
work, we would like to run experiments on the last 12 months activity on
Tomcat project.
I would like to have the tomcat-dev archives of last 12 months (Aug2008 -
Aug 2009). It would be even
I do not put the same class i.e. TapestryFilter.java in both location
(WEB-INF/classes and WEB-INF/lib).
The way how I test is by copying TapestryFilter.java to another foler under
WEB-INF/classes and renaming it to another name e.g. MyTapestryFilter.java.
Then configure web.xml to use
Hello everybody,
i got many errors about mod_jk but i don't know whether it's the good forum ...
I have configured 4 tomcat identical servers reached by a front server apache
through mod_jk.
When I look at the jkstatus page, I can note a strange behaviour: only the same
server (4) is under
2009/9/4 Iqbal, Aftab aftab.iq...@deri.org:
Any update or news about the maling list archives and bug tracker dumps ?
regards
Aftab Iqbal
By the way, the mail archives are available here:
http://tomcat.apache.org/mail/dev/
Those are gzipped mbox files. Though I do not see that location to
Hello,
Try using yourkit.
Ramzi
On Fri, Sep 4, 2009 at 12:34 AM, Zaki Akhmad zakiakh...@gmail.com wrote:
Hello,
I am using tomcat on my web application. I want to monitor my tomcat
performance. What tools I can use? From the cacti graph, shows that
the memory usage is very big (90%).
I am attempting to migrate a servlet from Tomcat 5.0.25 to 6.0.18, but
my efforts to access it while running under 6.0.18 have been
unsuccessful. The servlet is accessed on the server via HTTP, but has
web interfaces for simple testing and to check servlet loading and
client-server message
From: Lataxes, Karl [mailto:karl.lata...@nielsen.com]
Subject: Unable to Access Servlet After Migrating From Tomcat 5.0.25 to
6.0.18
The context.xml and web.xml files as described are similar to what we
have running under Tomcat 5.0.25.
Which is likely the problem. The Context element has
As configured below, try http://d1uap:4901/UMI/UMI/servlet/HUControlServlet
The servlet mapping in WEB-INF/web.xml should not include the context
path of the webapp.
--David
Lataxes, Karl wrote:
I am attempting to migrate a servlet from Tomcat 5.0.25 to 6.0.18, but
my efforts to access it
From: Zaki Akhmad [mailto:zakiakh...@gmail.com]
Subject: Monitor Tomcat Performance
I am using tomcat on my web application.
Congratulations. Care to tell us the version of Tomcat and JVM you're using?
I want to monitor my tomcat performance.
If you're running on a reasonably recent JVM,
From: vicattomcat [mailto:vicattom...@googlemail.com]
Subject: why datasource get an already closed connection?
Who can give me any advice to solve this problem in another way or tell
me which is the best way among the ways I talked about?
Look at the validationQuery and testOnBorrow
From: neo anderson [mailto:javadeveloper...@yahoo.co.uk]
Subject: Re: Class loading question (with aspectj)
I do not put the same class i.e. TapestryFilter.java in both location
(WEB-INF/classes and WEB-INF/lib).
A .java file is not a class file.
The way how I test is by copying
I'm using the Tomcat Web Application Manager to deploy and undeploy
servlet applications on a Windows 2003 server box. Sometimes, not all of
the files are deleted from the application directory during an undeploy,
because something has them locked. The files that are locked are one or
more
I made the recommended changes but am still getting the exception. The
context file that I renamed to UMI.xml contains only the following:
Context docBase=/amd/homes/lataxeks/umi/ap/DataColl
reloadable=true
/Context
Context still is being loaded at startup, so that is not the issue.
From: Lataxes, Karl [mailto:karl.lata...@nielsen.com]
Subject: RE: Unable to Access Servlet After Migrating From Tomcat
5.0.25 to 6.0.18
I made the recommended changes but am still getting the exception. The
context file that I renamed to UMI.xml contains only the following:
Context
From: jo...@catholic-doc.org [mailto:jo...@catholic-doc.org]
Subject: Can't fully undeploy a servlet application in Tomcat 6.0.18
Are there any options that can be set in a Windows environment, that
will prevent this from happening?
Look at the antiJARLocking and antiResourceLocking
Rainer,
Apparently apache is calling /server-status - I see that mod_status is
enabled in httpd.conf and exercises that context.
One of the frustrations, and I dont know Apache well, is that the
access log seldom updates.
The error log in the same folder does update, but contains little
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bill,
On 9/3/2009 10:47 PM, Bill Barker wrote:
Christopher Schultz ch...@christopherschultz.net wrote in message
news:4aa03ca3.4010...@christopherschultz.net...
Muthu,
On 9/3/2009 11:17 AM, muthu.chan...@sectra.se wrote:
I am using tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jamez,
On 9/3/2009 11:15 PM, jamez smith wrote:
This is the exception when removing the context element from the
server.xml:
[ERROR] [Cannot create JDBC driver of class '' for connect URL
'null']org.apache.commons.dbcp.SQLNestedException:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rainer,
On 9/4/2009 12:52 AM, Rainer Jung wrote:
On 03.09.2009 23:31, Christopher Schultz wrote:
Whenever a client browses to webapps found on / and /foo, the requests
to /foo will get TWO cookies, and confusion may occur (I'm not sure what
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tsirkin,
On 9/4/2009 5:12 AM, Tsirkin Evgeny wrote:
Why SIGBUS is Cool?
I've never seen one. The description of SIGBUS seems to indicate that
it's pretty bad: http://en.wikipedia.org/wiki/SIGBUS (bad physical
memory address, virtual memory pages
Dear Konstantin,
By the way, the mail archives are available here:
http://tomcat.apache.org/mail/dev/
Those are gzipped mbox files. Though I do not see that location to be
documented/mentioned anywhere.
Best regards,
Konstantin Kolinko
thanks for the link to the archives.
regards
Aftab
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Karl,
On 9/4/2009 8:56 AM, Lataxes, Karl wrote:
I am attempting to migrate a servlet from Tomcat 5.0.25 to 6.0.18, but
my efforts to access it while running under 6.0.18 have been
unsuccessful.
[snip]
Here is the stack trace I received when
2009/9/4 Christopher Schultz ch...@christopherschultz.net
I've never seen one. The description of SIGBUS seems to indicate that
it's pretty bad: http://en.wikipedia.org/wiki/SIGBUS (bad physical
memory address, virtual memory pages have disappeared, etc.).
Or a misaligned physical memory
Chris,
I tried your suggestion and replaced the trailing / in the url-pattern
of the servlet-mapping tag with *, but got the same result. I even
tried commenting out servlet-mapping altogether, but still received the
file not found exception.
The HUSim class is part of an application that I
Hi,
I got the the below exception while i was accessing web application. I think
this issue is related to Tomcat 6.0.20. Did anyone have fix for this?
SEVERE: Servlet.service() for servlet debugjsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error
achittela wrote:
Hi,
I got the the below exception while i was accessing web application. I think
this issue is related to Tomcat 6.0.20. Did anyone have fix for this?
SEVERE: Servlet.service() for servlet debugjsp threw exception
org.apache.jasper.JasperException: Unable to compile class
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 9/4/2009 10:50 AM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: Unable to Access Servlet After Migrating From Tomcat
5.0.25 to 6.0.18
what happens if you change your URI
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: Unable to Access Servlet After Migrating From Tomcat
5.0.25 to 6.0.18
what happens if you change your URI mapping to:
servlet-mapping
servlet-nameHUControlServlet/servlet-name
Thanks Mark.
markt-2 wrote:
achittela wrote:
Hi,
I got the the below exception while i was accessing web application. I
think
this issue is related to Tomcat 6.0.20. Did anyone have fix for this?
SEVERE: Servlet.service() for servlet debugjsp threw exception
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Karl,
On 9/4/2009 11:10 AM, Lataxes, Karl wrote:
I tried your suggestion and replaced the trailing / in the url-pattern
of the servlet-mapping tag with *, but got the same result. I even
tried commenting out servlet-mapping altogether, but still
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 9/4/2009 11:21 AM, Mark Thomas wrote:
Christopher Schultz wrote:
Jamez,
On 9/3/2009 11:15 PM, jamez smith wrote:
This is the exception when removing the context element from the
server.xml:
[ERROR] [Cannot create JDBC driver of class
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
On 9/3/2009 8:30 PM, Filip Hanik - Dev Lists wrote:
The Apache Tomcat team announces (a bit late) the immediate availability
of Apache Tomcat 5.5.28 stable.
Great!
I see this in the changelog, with no bug id or commit id:
Enable the
Christopher Schultz wrote:
Filip,
On 9/3/2009 8:30 PM, Filip Hanik - Dev Lists wrote:
The Apache Tomcat team announces (a bit late) the immediate availability
of Apache Tomcat 5.5.28 stable.
Great!
I see this in the changelog, with no bug id or commit id:
Enable the CGIServlet to
Mark Thomas wrote:
Christopher Schultz wrote:
Filip,
On 9/3/2009 8:30 PM, Filip Hanik - Dev Lists wrote:
The Apache Tomcat team announces (a bit late) the immediate availability
of Apache Tomcat 5.5.28 stable.
Great!
I see this in the changelog, with no bug id or commit id:
Enable the
Christopher Schultz wrote:
Mark,
On 9/4/2009 11:21 AM, Mark Thomas wrote:
Christopher Schultz wrote:
Jamez,
On 9/3/2009 11:15 PM, jamez smith wrote:
This is the exception when removing the context element from the
server.xml:
[ERROR] [Cannot create JDBC driver of class '' for connect
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 9/4/2009 12:31 PM, Mark Thomas wrote:
Christopher Schultz wrote:
Sorry, it's been a while since I used Tomcat 4.1, but I was suggesting
that he disable autoDeply, in which case using an XML file in webapps
wouldn't help.
Sorry missed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 9/4/2009 12:18 PM, Mark Thomas wrote:
Christopher Schultz wrote:
Filip,
On 9/3/2009 8:30 PM, Filip Hanik - Dev Lists wrote:
The Apache Tomcat team announces (a bit late) the immediate availability
of Apache Tomcat 5.5.28 stable.
Christopher Schultz wrote:
Mark,
On 9/4/2009 12:31 PM, Mark Thomas wrote:
Christopher Schultz wrote:
Sorry, it's been a while since I used Tomcat 4.1, but I was suggesting
that he disable autoDeply, in which case using an XML file in webapps
wouldn't help.
Sorry missed that. In that case
Thanks Chris. Still not having any luck. Let me give you the snippet of
the code so that you can understand the problem better:
I have a servlet like this
protected void doGet(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
// some
Mohit Anchlia wrote:
Something like this:
(DESCRIPTION=(FAILOVER=ON)(ADDRESS_LIST=(LOAD_BALANCE=ON)(ADDRESS=(PROTOCOL=TCP)(HOST=x)(PORT=1526))(ADDRESS=(PROTOCOL=TCP)(HOST=)(PORT=1526)))(CONNECT_DATA=(SERVICE_NAME=somesid)))
I still haven't been able to locate the documentation,
I changed the servlet mapping to /servlet/HUControlServlet/* and it
worked.
Thanks, Chuck and Chris.
Karl
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Friday, September 04, 2009 12:00 PM
To: Tomcat Users List
Subject: Re: Unable to Access
I have Tomcat 6 installed on a W2K3 R2 Enterprise SP2 VM. It was
running just fine. VMware had a stroke, and I had to reboot the
physical host. When this VM came back up, Tomcat won't start. The only
error I can see is stdout_log, and it says:
Error occurred during initialization of VM
From: John Oliver [mailto:joli...@john-oliver.net]
Subject: Tomcat 6 for Windows won't start
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Your JVM installation has been corrupted; you need to reinstall it.
- Chuck
THIS COMMUNICATION MAY
Hi, I have been trying to implement form based authentication using
container managed security.
I had tried originally to use the DataSource Realm but after struggling with
that for so long I gave up because I had tried everything I could think of
as far as putting the Realm declaration in
I don't explain well. I appologize for it.
Those .java source were already compiled into .class file (I use maven I
checked the war file. Class files are stored in the correct path.) It just
looks like the webapp class loder doesn't load the aspectj class (whose
source is ended with .aj and it
Christopher Schultz ch...@christopherschultz.net wrote in message
news:4aa12265.3020...@christopherschultz.net...
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bill,
On 9/3/2009 10:47 PM, Bill Barker wrote:
Christopher Schultz ch...@christopherschultz.net wrote in message
muthu.chan...@sectra.se wrote in message
news:of85b6a7da.49853bd1-on85257627.006211ee-85257627.00657...@sectra.se...
Thanks Chris. Still not having any luck. Let me give you the snippet of
the code so that you can understand the problem better:
I have a servlet like this
protected void
50 matches
Mail list logo