We have a small problem with our connection pool that is setup using Tomcat
5.5.20..
When the database is rebooted, the only way to get a valid connection again is
to completely restart Tomcat..
Is there a way to configure this, so the connection pool reconnects
automatically?
Regards,
BTJ
I have a similar behavior with geronimo 1.1 and oracle. It's web container is
Tomcat 5.5.20.
Let me know if there is any solution for this for Tomcat or Geronimo.
--Pav
- Original Message
From: Bjørn T Johansen <[EMAIL PROTECTED]>
To: users@tomcat.apache.org
Sent: Monday, February 12,
users@tomcat.apache.org
Hi,
I have the following file structure:
1. C:\tomcat\webapps\StandardCategoryModule\start.jsp
2. C:\tomcat\webapps\StandardCategoryModule\WEB-INF\web.xml
3. C:\tomcat\webapps\StandardCategoryModule\WEB-
INF\classes\servlet\CallService
Start.jsp should in
Hello and good morning (at least from Germany),
I'm running Tomcat 5.5.17 under Solaris 9 and have created a
webapplication that
starts some repeating background-tasks as soon as the application has
been started
the first time (in other words: I have a single controller-servlet and
the init()-
we also face the same here.
after mysql (configured as master/slave) is rebooted, tomcat's
datapool loses the connection to it and has to be rebooted, too.
i figure that the datapool is caching the connections and does not get
noticed about the db-reboot and thus using the wrong handles to the
d
Dear all,
How can my applet communicate with JSP using POST and GET? I have an applet
with a Save button to save data in a file at Apache Tomcat server. The applet
also contain JTextField to input the file name and JTextArea to input the text
to be saved. How can the applet and JSP communi
it seems this class javax/xml/rpc/ServiceException
is not in the classpath.
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : lundi 12 février 2007 09:39
À : users@tomcat.apache.org
Objet : Error instantiating servlet class
users@tomcat.apache.org
Hi,
I ha
System Init Servlet
initializer
be.rmi.intranet.servlet.SetupServlet
1
En l'instant précis du 02/12/07 09:49, Oliver Schoenwald s'exprimait en
ces termes:
> Hello and good morning (at least from Germany),
>
> I'm running Tomcat 5.5.17 under Solaris 9
Thanks. I have already put in the classpath the path to jaxrpc.jar. I
presume this is the one, but it still doesn't work.
Regards,
Magdalena
Ursprüngliche Nachricht
Von: [EMAIL PROTECTED]
Datum: 12.02.2007 10:20
An: "Tomcat Users List",
<[EMAIL PROTECTED]>
Betreff: RE: Error instantiatin
Use common-httpclient in you applet to do GET/POST operation from inside
the applet. Server side, all you need is a servlet or JSP that
understand the requests from your applet.
http://jakarta.apache.org/commons/httpclient/
En l'instant précis du 02/12/07 10:15, Teh Noranis Mohd Aris s'exprimait
Where did you put it?
En l'instant précis du 02/12/07 10:27, [EMAIL PROTECTED]
s'exprimait en ces termes:
> Thanks. I have already put in the classpath the path to jaxrpc.jar. I
> presume this is the one, but it still doesn't work.
>
> Regards,
> Magdalena
> Ursprüngliche Nachricht
> Von:
I have set up the classpath environmantal variable to include the
path to jaxrpc.jar
Thanks
Magdalena
Ursprüngliche Nachricht
Von: [EMAIL PROTECTED]
Datum: 12.02.2007 10:51
An: "Tomcat Users List"
Betreff: Re: AW: RE: Error instantiating servlet class
Where did you put it?
En l'instant
in your distribution, put the jar here
C:\tomcat\webapps\StandardCategoryModule\WEB-INF\lib\jaxrpc.jar
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : lundi 12 février 2007 11:00
À : users@tomcat.apache.org
Objet : AW: Re: AW: RE: Error instantiating servle
tomcat does not use CLASSPATH. Put your webapp jars inside the
WEB-INF/lib/ folder
En l'instant précis du 02/12/07 11:00, [EMAIL PROTECTED]
s'exprimait en ces termes:
> I have set up the classpath environmantal variable to include the
> path to jaxrpc.jar
>
> Thanks
>
> Magdalena
> Ursprüngli
Thanks.
It seems that things have moved on, but I get another error now:
exception
javax.servlet.ServletException: Error instantiating servlet class
servlet.CallService
org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
org.apache.catalina.connector.
This is same error as before, only the class is different, as long as
you get those errors, just put the libraries you require inside your
WEB-INF/lib folder.
En l'instant précis du 02/12/07 11:28, [EMAIL PROTECTED]
s'exprimait en ces termes:
> Thanks.
>
> It seems that things have moved on, but I
Yes, search the archive. (try nabble)
I've posted complete configs into several threads in the last 6 months.
p
Eric Chow wrote:
Hello,
Is there any complete configuration for Apache2.x + Tomcat 5.5 (Load
Balance and Cluster, Session Replication) ?
I tested some many times and found some
Hi All,
I'm facing a situation here whereby a JRE 1.5 is pre-installed on a server, and
a JAVA_HOME variables is thus created and pointed to the JRE.
However i'll need to have it point to my JDK in order for me to use Tomcat. Any
tricks or settings that i can use to make this possible?
I can't c
Thank you, this was exactly what I was seeking. Works properly.
:-)
David Delbecq schrieb:
System Init Servlet
initializer
be.rmi.intranet.servlet.SetupServlet
1
-
To start a new top
> From: Foo Shyn [mailto:[EMAIL PROTECTED]
> I'm facing a situation here whereby a JRE 1.5 is
> pre-installed on a server, and a JAVA_HOME variables is thus
> created and pointed to the JRE.
> However i'll need to have it point to my JDK in order for me
> to use Tomcat. Any tricks or settings t
Hi,
I did just that but my Tomcat doesn't start completely. When i try to access
the jsp page there'll be error thrown out...
Thanx.
Regards,
FooShyn
- Original Message -
From: "Peter Crowther" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, February 12, 2007 6:41 PM
Subje
> From: Foo Shyn [mailto:[EMAIL PROTECTED]
> I did just that but my Tomcat doesn't start completely. When
> i try to access
> the jsp page there'll be error thrown out...
We'd be able to help you better if you told us *what* error :-).
- Peter
-
Hi ,
After re-installed my Tomcat with everything (no custom settings) and using
the suggestion by Peter it seems fine now. Hopefully there won't be any
problem with it
Thanx man.
Regards,
FooShyn
- Original Message -
From: "Foo Shyn" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Hi all,
Wanted to know if tomcat 5.5.x is fully compatible with JDK 6 since we are
thinking of a JDK upgrade for our production system.
Has the compatibility been tested thoroughly ? (I cannot find any info about
this on tomcat.apache.org) Are there any known issues ? How about Tomcat 6
and JDK 6
Bjørn T Johansen wrote:
> We have a small problem with our connection pool that is setup using Tomcat
> 5.5.20..
> When the database is rebooted, the only way to get a valid connection again
> is to completely restart Tomcat..
> Is there a way to configure this, so the connection pool reconnects
Sriram Saroop wrote:
> Hi all,
> Wanted to know if tomcat 5.5.x is fully compatible with JDK 6 since we are
> thinking of a JDK upgrade for our production system.
> Has the compatibility been tested thoroughly ? (I cannot find any info
> about
> this on tomcat.apache.org) Are there any known issues
Hi Everyone !
As Tomcat can also be used as normal HTTP server, is there a
possibility to run a Tomcat behind another Tomcat?
What exactly I am trying to do is,
http://localhost:8080/console/* should fetch response from
http://localhost:9090/console/*
I saw the balancer app that comes with Tom
Not sure about this but you can probably use Apache Web Server to do the job
of first Tomcat. Or maybe you can use some port forwarding mechanism.
Gaurav Singh Kushwaha
http://www.chakpak.com
Ph: +91-9880110695
Bangalore, India.
On 2/12/07, siddharth karandikar <[EMAIL PROTECTED]> wrote:
Hi Ev
This may do the trick:
http://j2ep.sourceforge.net/
-Tim
siddharth karandikar wrote:
Hi Everyone !
As Tomcat can also be used as normal HTTP server, is there a
possibility to run a Tomcat behind another Tomcat?
What exactly I am trying to do is,
http://localhost:8080/console/* should fetch
Hello,
I have this problem:
Tomcat adds (or at least did in the 4.1 branch) certain response
headers, directives to clients and proxy caches to not cache the data,
when it is to serve something within a security-constraint.
[It seems that] When IE downloads something with a mime-type it thin
Hei,
I am trying to develop a server which uses Comet. According to
http://tomcat.apache.org/tomcat-6.0-doc/aio.html I need a nio http
connector. I have surf through Internet, and I have found Grizzly
(https://glassfish.dev.java.net/javaee5/webtier/webtierhome.html) that
is an HTTP connector
There are a few things to look at:
1. Check that the examples webapp is present in the webapps directory.
2. Check with the manager webapp that the examples webapp is deployed.
(http://localhost:8080/manager/html)
3. Check the logs around the time tomcat was started for other errors
attempting t
j2ep seems to be small but useful package.
What I see is ... HTTPS is still in TODO list and author himself
agrees that there hasn't been enough testing done.
On 2/12/07, Tim Funk <[EMAIL PROTECTED]> wrote:
This may do the trick:
http://j2ep.sourceforge.net/
-Tim
siddharth karandikar wrote:
> From: siddharth karandikar [mailto:[EMAIL PROTECTED]
> What I see is ... HTTPS is still in TODO list and author himself
> agrees that there hasn't been enough testing done.
Ah. If in your original message you said "possibility to run" when you
meant "solid, documented, tested system to run"...
> From: Iván Sánchez [mailto:[EMAIL PROTECTED]
> Subject: Using Grizzly with Tomcat
>
> I am trying to develop a server which uses Comet. According to
> http://tomcat.apache.org/tomcat-6.0-doc/aio.html I need a nio http
> connector.
What's wrong with Tomcat's NIO connector? Just specify:
Yeah, Apache is always there to help. But I am trying to find out if
there is any easy but well tested and stable :) way with tomcat
itself. Just trying to avoid one more program installation on client's
overloaded server.
On 2/12/07, Peter Crowther <[EMAIL PROTECTED]> wrote:
> From: siddharth k
> From: siddharth karandikar [mailto:[EMAIL PROTECTED]
> Yeah, Apache is always there to help. But I am trying to find out if
> there is any easy but well tested and stable :) way with tomcat
> itself. Just trying to avoid one more program installation on client's
> overloaded server.
I assume yo
On 2/12/07, Iván Sánchez <[EMAIL PROTECTED]> wrote:
Hei,
I am trying to develop a server which uses Comet. According to
http://tomcat.apache.org/tomcat-6.0-doc/aio.html I need a nio http
connector.
I think you need to read the Tomcat documentation again then. This is
not what is written on the
Thanks. It is working now.
Ursprüngliche Nachricht
Von: [EMAIL PROTECTED]
Datum: 12.02.2007 11:33
An: "Tomcat Users List"
Betreff: Re: AW: RE: Re: AW: RE: Error instantiating servlet class
This is same error as before, only the class is different, as long
as
you get those errors, just pu
A little side note, using a context listener instead of servlet would
be the "sprucer" solution.
regards
Leon
On 2/12/07, Oliver Schoenwald <[EMAIL PROTECTED]> wrote:
Thank you, this was exactly what I was seeking. Works properly.
:-)
David Delbecq schrieb:
>
>
>System Init Servl
You can use an apache server on front-end, using ajp to send requests to
these two tomcats. Use
Jkmount /console/* to send requests for the tomcat listening on
9090, and other requests are sent to the principal tomcat.
Iratxe Etxebarria
siddharth karandikar escribió:
Hi Everyone !
As To
You can use an apache server on front-end, using ajp to send requests to
these two tomcats. Use
Jkmount /console/* to send requests for the tomcat listening on
9090, and other requests are sent to the principal tomcat.
Iratxe Etxebarria
siddharth karandikar escribió:
Hi Everyone !
As To
I have been trying to nail down how to configure the combination of Apache
2.2.4 + Tomcat 6.0.9 using mod_proxy to pass ColdFusion templates to an
instance of a ColdFusion server for processing which is loaded as an
application in Tomcat.
After some very helpful responses from Pid on the apac
we switched to apache httpd to serve static content and thus avoided
the problem, tomcat behind is only serving dynamic content.
before we did this, we've created a filter for the specific webapps
that needed the headers to be changed, however, you'll have to do that
for each webapp where you wan
In Tomcat 4.1, a request to a directory containing a welcome-file would
*redirect* the user to a URL with any applicable welcome-file's name
appended. In Tomcat 5.5, the request is instead *forwarded* to the welcome
file.
Is there a way to make Tomcat 5.5 act like Tomcat 4.1 in this respect?
For
I am using Tomcat 5.5.20 with Eclipse in the test environment and cannot
run my application. This
all worked yesterday. The error (below) says that /WEB-INF/web.xml cannot
be found, but it's in
my application. Can anyone help with this?
Feb 12, 2007 2:19:42 PM org.apache.catalina.core.AprLifecyc
I am using Tomcat 5.5.20 in the Eclipse test environment and cannot
run my application. This all worked yesterday. The error (below) says that
/WEB-INF/web.xml cannot be found, but it's in my application's WEB-INF.
My workspace points to C:\Documents and Settings\KBB\eclipse.
Can anyone help w
Hi list,
I'm running Tomcat 4.0.5 on UNIX and I am experiencing compilation
errors when trying to compile a simple index.jsp file, which is only
twenty lines or so, as I'm trying to learn JSP and starting small. First
however, I'd like to get this question out of the way:
I've searched the w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Daniel,
Daniel Gresh wrote:
> I've searched the web for information on Tomcat's directory structure.
> According to one page I found, Tomcat should have a /bin directory,
> which contains binary executables, such as startup.sh, which I can use
> to re
> From: Daniel Gresh [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 4.0 on UNIX: no /bin directory in
> $CATALINA_HOME, and JSPcompilation errors
>
> I assume this is a major problem. If so, should I re-install
> Tomcat (and update to Tomcat 6.0 while I'm at it)?
You may well have some bizarre 3r
Hello,
to continue the development of our web application it is crucial to
avoid caching of some static resources (server side) regardless of
request headers send by clients. I did not succeed nor do I have any
idea, what to try next. I start to assume either a bug/weakness of
tomcat or a weaknes
Todd Gamber schrieb:
In Tomcat 4.1, a request to a directory containing a welcome-file would
*redirect* the user to a URL with any applicable welcome-file's name
appended. In Tomcat 5.5, the request is instead *forwarded* to the welcome
file.
Is there a way to make Tomcat 5.5 act like Tomcat 4.1
Todd Gamber schrieb:
In Tomcat 4.1, a request to a directory containing a welcome-file would
*redirect* the user to a URL with any applicable welcome-file's name
appended. In Tomcat 5.5, the request is instead *forwarded* to the welcome
file.
Is there a way to make Tomcat 5.5 act like Tomcat 4.1
On 2/12/07, Todd Gamber <[EMAIL PROTECTED]> wrote:
I realize that populating content based on what's in the URL bar is not the
best design, but I can't seem to find another way to definitively get the
name of the actual JSP being requested.
TSSIYF -- The Servlet Spec is your friend :-)
SRV.8.
Quoting "Caldarale, Charles R" <[EMAIL PROTECTED]>:
java.lang.ClassCastException: javax.mail.Session cannot be cast to
javax.mail.Session
at utils.MailHelper.sendMail(MailHelper.java:36)
This would indicate you've got the javax.mail.Session class in multiple
places.
Thank you for ex
HI, today i have test an application, and i have put a wrong path for the
file i would like to read, but the thing that surprise me is that it crash
the tomcat server.
The only things in log is :
(Location of error unknown)java.io.FileNotFoundException: /home/myfile (No
such file or directory)
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Daniel,
Daniel Gresh wrote:
I've searched the web for information on Tomcat's directory structure.
According to one page I found, Tomcat should have a /bin directory,
which contains binary executables, such as startup.
Hi, there,
In windows XP I use JDK1.6, Tomcat 6.0.9 and Internet Explorer 7.
I use keytool -genkey -alias tomcat -keyalg RSA to create keystore and keys
( I used default path and password as password, not default value changit),
then configure server.xml in Tomcat. I redo the same process on thre
Hassan,
I couldn't seem to get
request.getAttribute("javax.servlet.forward.servlet_path") to work in my
situation (it returns null, maybe because its being called from a custom
tag?), but Stefan's suggestion of request.getServletPath() accomplishes just
what I need.
Thank you for your response,
> From: Stefan [mailto:[EMAIL PROTECTED]
> Subject: Context attribute "cachingAllowed" does not work as
> expected. Isthis a bug?
>
> That means once set to false, that tomcat will not cache any static
> resources like the index.html page regardless which headers the client
> sends. So tomcat sh
mast schrieb:
HI, today i have test an application, and i have put a wrong path for
the file i would like to read, but the thing that surprise me is that
it crash the tomcat server.
The only things in log is :
(Location of error unknown)java.io.FileNotFoundException: /home/myfile
(No such file
On searching for "index$jsp.java (Permission denied)" one of the results came
up with:
http://mail-archives.apache.org/mod_mbox/tomcat-users/200209.mbox/[EMAIL
PROTECTED]
It is probably some security setting (set by your Admin) with Tomcat, to limit
access/view permission of the source code o
Caldarale, Charles R schrieb:
From: Stefan [mailto:[EMAIL PROTECTED]
Subject: Context attribute "cachingAllowed" does not work as
expected. Isthis a bug?
That means once set to false, that tomcat will not cache any static
resources like the index.html page regardless which headers the client
s
Good Evening.
I was wondering which Tomcat releases if any currently support J2SE 6.0?
Thanks.
Dennis Nack
APM Systems Engineer
Compuware Corporation
Phone: 800-358-3048 X1345
Cell:952-250-8480
Fax:612-851-2300
email: [EMAIL PROTECTED]
The contents of this e-mail are intended fo
Hi, there,
In windows XP I use JDK1.6, Tomcat 6.0.9 and Internet Explorer 7.
I use keytool -genkey -alias tomcat -keyalg RSA to create keystore and keys
( I used default path and password as password, not default value changit),
then configure server.xml in Tomcat. I redo the same process o
Thank you very Howard.
Dennis Nack
APM Systems Engineer
Compuware Corporation
Phone: 800-358-3048 X1345
Cell:952-250-8480
Fax:612-851-2300
email: [EMAIL PROTECTED]
-Original Message-
From: Howard Zhou [mailto:[EMAIL PROTECTED]
Sent: Monday, February 12, 2007 5:43 PM
To: [E
Nack, Dennis wrote:
> Good Evening.
>
> I was wondering which Tomcat releases if any currently support J2SE 6.0?
>
> Thanks.
The archives (eg http://marc.theaimsgroup.com/?l=tomcat-user&r=1&w=2)
are your friend. The following is from about 12 hours ago:
http://marc.theaimsgroup.com/?l=tomcat-us
smime.p7s
Description: S/MIME Cryptographic Signature
Hello,
I have configured tomcat (5.5.20 on a windows server 2003) to use SSL
on port 443 on a specific IP, using a java keystore file:
Additionally I have verified that the redirect port settings are ok:
maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" m
Hello,
I have configured tomcat (5.5.20 on a windows server 2003) to use SSL
on port 443 on a specific IP, using a java keystore file:
Additionally I have verified that the redirect port settings are ok:
When starting tomcat i get no erros in any logs:
Feb 13, 2007 2:28:41 AM org
Jan Eldenmalm wrote:
> Feb 13, 2007 2:28:43 AM org.apache.coyote.http11.Http11AprProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-88.208.211.112-443
You are using the APR connector. SSL is configured differently in this
case. See http://tomcat.apache.org/tomcat-5.5-doc/apr.html for details.
Dear Friends,
I am having a problem running servlets on the browser using Tomcat.I am using
Apache Tomcat 4.1.34 and am saving the .class file at the following location in
my system:-
E:\Program Files\apache-tomcat-4.1.34\webapps\rahul\Web-Inf\classes
rahul\Web-Inf\classes being
Thx for the reply siras mentioned earlier I have upgraded to Apache 4.1.34
and I have posted another problem being faced by me.
David Smith <[EMAIL PROTECTED]> wrote: There are a few things to look at:
1. Check that the examples webapp is present in the webapps directory.
2. Check with the
Thank you Mark - that was it.
For others:
Swapping from java keystore to open ssl was a little tricky (I ordered
my certs from comodo for "tomcat" ...which is only correct if you don't
use APR) this information helped me alot:
Extracting the *private key*
Download, compile & run Ex
> From: Rahul Choubey [mailto:[EMAIL PROTECTED]
> Subject: Problem running servlets on tomcat
>
> E:\Program Files\apache-tomcat-4.1.34\webapps\rahul\Web-Inf\classes
Even on Windows, directory and file names defined in the servlet spec
are case sensitive. The directory name should be WEB-INF,
I want to shut down everything and prevent everyone from being able to get
anything accomplished. If I could blow blue smoke out the back of the
machine, I would. will work on an API and attachment for this.
L
reno-2 wrote:
>
> Le mercredi 07 février 2007 à 23:17 -0800, Lisa a écrit :
>
>>
So how do I detect that an exception is thrown when Tomcat starts up?
thanks
L
Lisa wrote:
>
> I want to shut down everything and prevent everyone from being able to get
> anything accomplished. If I could blow blue smoke out the back of the
> machine, I would. will work on an API and at
Hi,
I run Tomcat from inside Eclipse. I pass the start up parameters to boot
strap class. I want to specify server.xml as an argument so I could switch
between run configuration to run different applications rather than edit
server.xml context element or have 2 tomcat installations. Is it possibl
But it s a recent version tomcat 5.5.20 and i have install it not much time
ago, the message i copy you was from the catalina.out.
- Original Message -
From: "Stefan" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, February 12, 2007 11:43 PM
Subject: Re: tomcat crash with a
79 matches
Mail list logo