Hello Everybody;
I'am asking for help because I have a problem that it's making me crazy.
To do some query to the Database, I am using a Class named DBConnection.
It's like around 1 week, I didn't do anything on the code (perhaps I did
because it doesn't working now).
Well... , in order to find
Hi,
My Tomcat with Apache httpd mod_jk and JDK 1.4 on Redhat 9 Linux runs
my applications but it does not shutdown as expected.
My servlets' destroy() methods are not called even though I use jsvc,
the commons daemon, with the script provided in the distribution.
I get the following error:
I modify my function, and I verify that the Mbean exists. But how can I get
the value of my Mbean attributes ?
here is my code:
try {
ObjectName timer = new
ObjectName(Catalina:type=Realm,path=/DJLRWebapp,host=localhost);
List list = MBeanServerFactory.findMBeanServer(null);
Hi all,
Is it possible to know what version of Tomcat is running behind an
Apache. The connector used is JK.
--
rgds
Antony Paul
http://www.geocities.com/antonypaul24/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
We have an application running as a webapp which requires legacy
systems and network resources which are not fault-tolerant. Luckily
these resources are stateless. So we have replicated these
resources so
that one is available per tomcat instance. When we attempt
to use one
of
Hi Bernhard!
Bernard wrote:
I get the following error:
jsvc.exec error: Service exit with a return value of 143
There was a Thread here in December called Session restart replication
when using jsvc. Bill Barker recommended to use CVS HEAD of the
commons-daemon.
Kind regards
Wolfgang
I answer to my questions...
try {
ObjectName JNDIRealm = new
ObjectName(Catalina:type=Realm,path=/DJLRWebapp,host=localhost);
List list = MBeanServerFactory.findMBeanServer(null);
MBeanServer server = (MBeanServer) list.iterator().next();
If you just want to see it in your browser, use Mozilla Firefox and install
this extension:
http://livehttpheaders.mozdev.org/
Then you can see all the http headers, including server, which will tell you
which version of Tomcat.
-Original Message-
From: Antony Paul [mailto:[EMAIL
Thanks for the reply.
That is not useful. I already have this installed and tried curl also.
It is saying the server is Apache.
On Wed, 16 Mar 2005 08:05:56 -0500, Fenderbosch, Eric
[EMAIL PROTECTED] wrote:
If you just want to see it in your browser, use Mozilla Firefox and install
this
That status page is what I'm looking for, but its introduced in jk
1.2.9-dev. The current stable release is 1.2.8 and it does not appear
to have the scorebaord functionality. The presentation claims 1.2.10
would be out in March, yet its march and 1.2.9 hasn't even been marked
as stable. I've
Hi all,
Is it possible to know what version of Tomcat is running behind an
Apache. The connector used is JK.
Try asking for a non-existant servlet in your web-app. The 404 page is issued
by Tomcat and, I think, tells you the version.
Regards
Roger
Hi,
Basically here's my problem: I make a jsp page that works correctly.
OK. Then, I make a fault in it that shows a compile error page -
also fine.
The problem is, when I reload it a second time, Tomcat serves me the
old compiled JSP scriptlet, instead of giving me the compile error
message
Maxime wrote:
I'am asking for help because I have a problem that it's making me crazy.
[Program code and logs snipped]
Thank you very much for the help, it will be very appreciated !
I am not familiar with MySQL therefore just a guess: I do not see a
single close() statement. Close your
Hi,
we are using a reporting webapp wich is deployed on 20 client systems
in different companies. all is working fine except for one customer.
if he generates an long report, the report will displayed correct, but
after finishing the request tomcat is crashing. the error is there
replicable but
Upgrade to 1.4.2_04
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4927116
-Original Message-
From: Thomas Chille [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 16, 2005 9:49 AM
To: Tomcat Users List
Subject: Unexpected Signal : 11
Hi,
we are using a reporting webapp wich is
Yes, any word on when jk 1.2.9 will be released? days, weeks?
On Wed, 16 Mar 2005 09:00:55 -0500, Guernsey, Byron (GE Consumer
Industrial) [EMAIL PROTECTED] wrote:
That status page is what I'm looking for, but its introduced in jk
1.2.9-dev. The current stable release is 1.2.8 and it does
Hi,
Right now we use tc-5.0.27 in production. There are some enhancements in
5.0.28 that are important for us such as collections-3.1.
I see that 5.0.29 and 30 are also available but they are beta.
Is 5.0.28 as stable as 5.0.20? Which version should I use?
Zsolt
Hi,
I am using Tomcat 5.5.7. In a regular servlet, I am trying to do
something like this:
doGet(.)
{
ServletContext app2 = getServletContext().getContext(/anotherApp);
variable app2 is null after this statement.
I think, context sharing is turned off in Tomcat, but I am not sure
how to
On Wed, 16 Mar 2005 14:45:07 + (GMT), Asfand Qazi
[EMAIL PROTECTED] wrote:
Hi,
Basically here's my problem: I make a jsp page that works correctly.
OK. Then, I make a fault in it that shows a compile error page -
also fine.
The problem is, when I reload it a second time, Tomcat
e wrote:
Yes, any word on when jk 1.2.9 will be released? days, weeks?
Beta will be tagged tomorrow (see tomcat-dev),
vote is about a week.
Regards,
Mladen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
take a look at the crossContext attribute in your Context element in the server
configuration xml file. set it to true
-Original Message-
From: N G [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 16, 2005 5:10 PM
To: tomcat-user@jakarta.apache.org
Subject: Context sharing between 2 web
Hi,
TC 5.0.30 is the best (of TC5.0.x versions) but it is beta because nobody work
for it and they didn't vote for passing it stable.
TC 5.0.28 is stable for production.
TC 5.5 is the only one to pay attention for developpers.
On Wed, 16 Mar 2005 16:05:31 +0100
Zsolt Koppany [EMAIL PROTECTED]
Tony Stocker wrote:
All,
I believe that I found my problem, and for the sake of posterity I'm
posting it for the next poor fool who is forced to chase around the
web and through books looking for decent documentation.
When I set up Tomcat I copied the sample workers.properties file from
From: Asfand Qazi [mailto:[EMAIL PROTECTED]
Subject: Problem with Tomcat caching old pages that it shouldn't
The problem is, when I reload it a second time, Tomcat serves me the
old compiled JSP scriptlet, instead of giving me the compile error
message again!
Please include the exact
Hi,
on a performance point of view,
is it better to configure (for example)
JkMount /toto/*.jgi ajp13
or
JkUnMount /toto/*.htm
JkUnMount /toto/*.gif
JkUnMount /toto/*.jpeg
JkUnMount /toto/*.gif
JkUnMount /toto/*.png
JkUnMount /toto/*.css
JkUnMount /toto/*.js
?
I need some best practices advice regarding the use of Log4J, Commons
Logging, Tomcat 5.0.x, Digester, multiple third party support
applications (such as Jakarta Struts, Hibernate 3
(http://www.hibernate.org), Spring Framework
(http://www.springframework.org), and others.
For the past 2
Try adding:
init-param
param-namemodificationTestInterval/param-name
param-value0/param-value
/init-param
to your definition of the JSP servlet in %TOMCAT_HOM#%\conf\web.xml
By default it is 4 seconds but I'm not sure why the compile would
fail
once and
Please include the exact Tomcat level in problem descriptions, so
people will have some idea of which documentation pages to tell you
to read.
5.7
Here's some to look at that may have some bearing on the issue, and
specific parameters on each:
Hi,
in our webapp we are using a native c sytem library. after reloading
this webapp via the manager app i step into the following error:
java.lang.UnsatisfiedLinkError: Native Library
C:\eclipse3\eclipse\workspace\Phoenix\etc\bin\resmgr.dll already
loaded in another classloader
I know that for
--- Asfand Qazi [EMAIL PROTECTED] wrote:
Try adding:
init-param
param-namemodificationTestInterval/param-name
param-value0/param-value
/init-param
to your definition of the JSP servlet in
%TOMCAT_HOM#%\conf\web.xml
By default it is 4 seconds
Asfand Qazi wrote:
Basically here's my problem: I make a jsp page that works correctly.
OK. Then, I make a fault in it that shows a compile error page -
also fine.
The problem is, when I reload it a second time, Tomcat serves me the
old compiled JSP scriptlet, instead of giving me the compile
If I see many of the following log record, should I increase my cachesize
higher than the default of 1?
[Fri Mar 11 13:23:41 2005] [info] jk_ajp_common.c (1947): could not find empty
cache slot from 1 for worker qailt002:8009. Rise worker cachesize
The info from
All the compiled JSP servlet classes are stored under
jakarta-tomcat-5.5.4\work\Catalina\localhost\yourwebcontext. Please
check the timestamp of the compiled file. If you think that it's a old
file then I would delete the context directory under
jakarta-tomcat-5.5.4\work\Catalina\localhost\ as
Paul,
My virtualhost file is automatically generated by Tomcat on startup,
so IT is defining the worker (ajp13) by default. The problem arose
because the sample workers.properties file doesn't use the same name,
by default, for illustrating how the file is used. I'm sure there's a
way to change
--- Hassan Schroeder [EMAIL PROTECTED] wrote:
Asfand Qazi wrote:
Basically here's my problem: I make a jsp page that works
correctly.
OK. Then, I make a fault in it that shows a compile error page -
also fine.
The problem is, when I reload it a second time, Tomcat serves me
the
I'm in the process of installing tomcat (5.0.28) under Windows (XP).
Installed apache 1.13.33 and ran tomcat installer.
At this point I was asked for a JVM to choose (with an empty
listbox).
So I downloaded j2eesdk-1_4_01_2005Q1 from java.sun.com and installed it.
Strange install, this Sun
J2EE is just the enterprise pack for Java. Think of it as an add on to
the JDK. You need to get, or should get the JDK 1.5.
On Wed, 16 Mar 2005 17:43:12 +0100 (CET), Christoph Kukulies
[EMAIL PROTECTED] wrote:
I'm in the process of installing tomcat (5.0.28) under Windows (XP).
Installed
Elihu Smails wrote:
J2EE is just the enterprise pack for Java. Think of it as an add on to
the JDK. You need to get, or should get the JDK 1.5.
On Wed, 16 Mar 2005 17:43:12 +0100 (CET), Christoph Kukulies
[EMAIL PROTECTED] wrote:
I'm in the process of installing tomcat (5.0.28) under Windows
Hi all,
After some tests on TC4.1.31,
deployment with context.xml and war unpacked,
my unpacked tree is incomplete : static files, JSPs files and properties files
(including web.xml) are missing :-(
(but the Context is working fine)
Is it the normal behaviour or I miss something ?
This is the
For Tomcat, you need a JVM : so a jsdk or a jre.
You have choosen a J2EE SDK (too complete).
re-try with : j2sdk 1.4.2 for example,
install it in a directory and put JAVA_HOME=this directory
On Wed, 16 Mar 2005 17:43:12 +0100 (CET)
Christoph Kukulies [EMAIL PROTECTED] wrote:
I'm in the process
It's a NullPointerException causing all your woes. In the Connect method
of DBConnection you are assigning to a local variable of type Connection
instead of the instance variable. The instance variable is always null,
which causes issues in the QueryDataBase and TotalRows methods.
The code as
Fenderbosch Eric, Wolfgang Hackl and Jon Wingfield. Hi and thank you!
It's looks like I have a lot of thing to learn (it's nice to learn everyday
hehe). For closing connection + ResultSet and Statement, I wanted to include
them later.
Anyway, thank you very very much for these advices and
Does anyone know how to configure a ServletFilter to only respond to
JSPs and Servlets?
If I set it to everything using * it triggers for all the images as
well.
Thanks!
/Fredrik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
I would suggest
For JSP's,use url-pattern*.jsp/url-pattern.
And for Servlets. You could add a common starting name that maps to a
servlet path in the container. For instance, let's say all the URLs
starting with the path servlets map to some kind of servlet in the
container. Now add
Attempting to install tomcat 5.0.28 on AIX 5.2, from source and using ant,
ultimately fails because it cannot download nsis20.exe. Of course, when I
download it, it won't run. When I acquire the linux version, install.sh
won't run under AIX. This, of course, occurs after 16 other file set
Bob Wyatt wrote:
When I run the binary version of 5.0.28, tomcat works until it runs the
following script:
String FilePath=request.getRealPath(/Web-inf/admin.properties.xml);
^^^
Not surprising you get an NPE after that... it's /WEB-INF/ eh?
Case
Hassan,
That was it! Thanks a lot...the scripts were provided by a third party, who
insisted the problem was tomcat not knowing about the jdk...and I don't know
beans about java...or jsp...but I should have looked and known that AIX is
case-sensitive...
Regards,
Bob Wyatt
-Original
I have tried over and over again to configure https for tomcat using the
instructions found on the apache tomcat web site. I am unable to get https
to work. I am running tomcat on a linux core 2 server, version 5.0.28
tomcat and version 1.4.2_05 jdk. I am lost. Help.
Thank youJames T.
LeavesTry these instructions - they are specificly for SOAP, but the
instructions apply to just plain ole tomcat SSL.. When you get to Step 3,
ignore the instructions and just go to your server.xml file and uncomment the
connector for port 8443.
Thanks Wolfgang!
Still problems.
I downloaded from
http://cvs.apache.org/builds/jakarta-commons/nightly/commons-daemon/
the latest file:
commons-daemon-20050316.zip
autoconf worked fine.
./configure worked fine.
make failed with many errors.
How to fix this? Is it worth it? When is the next
Thanks Wolfgang!
Sorry about my previous email - I found my mistake.
Regards,
Bernard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have searched thru the mailing list and not found a solution for the
following problem. Please help
I am currently using tomcat 5.0.27 on Windows Xp and am trying to point
the service to a specific server.xml. I have edited service.bat and have
specified the -config option. I am currently
From: James T. Studebaker [mailto:[EMAIL PROTECTED]
Subject: Configuration of https in tomcat failure
I have tried over and over again to configure https for
tomcat using the instructions found on the apache tomcat web
site. I am unable to get https to work.
You need to be more specific
Hi,
Anyone had a chance to look at this one yet?
Thanks
Sanjay
-Original Message-
From: Karanjkar, Sanjay V (IT)
Sent: 15 March 2005 11:19
To: tomcat-user@jakarta.apache.org
Subject: Problem with BASIC authentication
Hi,
I have the following setup:
1. A copied version of Tomcat
From: David Gladstone [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5 Service Windows
I am currently using tomcat 5.0.27 on Windows Xp and am
trying to point the service to a specific server.xml.
Are you saying you want to use a server.xml other than the one in
%CATALINA_HOME%\conf?
I am
IE displays:
The page cannot be displayed
No errors in the log files. I do not have a tool to trace packets. The
firewall does not block port 8443.
Here is connectors in server.xml:
Connector
port=8089
redirectPort=8443
/Connector
Connector port=8009 protocol=AJP/1.3
Hi!
I have a problem with an webapp with deploying webapps. The problem is the
contextfile that since my development environment differs a little to my
deployment environment have to be edited a little after deployment. But how
do I force tomcat to re-load the context? Right now the only way I
57 matches
Mail list logo