On 6/14/05, ajay kumar <[EMAIL PROTECTED]> wrote:
> Hi Everybody,
>
> This is Ajay Kumar.I implemented DBCP through tomcat
> container.Some times when i run the webpages it is giving the
> following Exception:
>
> org.apache.commons.dbcp.DbcpException: java.sql.SQLException: Server
>
Hi Everybody,
This is Ajay Kumar.I implemented DBCP through tomcat
container.Some times when i run the webpages it is giving the
following Exception:
org.apache.commons.dbcp.DbcpException: java.sql.SQLException: Server
connection failure during transaction. Attempted reconnect 3 time
> From: Rob Tanner [mailto:[EMAIL PROTECTED]
> Subject: Re: Can't get tomcat-5.5.9 to talk SSL
(Please use plain text, not HTML, for list messages. Makes everybody's
lives easier and safer.)
> The other thing I wonder about because it's not clear to me:
> the certs file, /usr/java/security/cace
Caldarale, Charles R wrote:
From: Rob Tanner [mailto:[EMAIL PROTECTED]]
Subject: Can't get tomcat-5.5.9 to talk SSL
I try to access port 8443 (https://www:8443) and Firefox pops up a
dialogue box with the message "Firefox and www cannot communicate
securely because they have no commo
> From: Ed Hamilton [mailto:[EMAIL PROTECTED]
> Subject: Tomcat file activity every 10 seconds
>
> Does anybody know why Tomcat scans my website directories and
> its own webapp directories every 10 seconds?
Do you have autoDeploy enabled in the entry in conf/server.xml?
(It's on by default.)
Darryl L. Miles wrote:
Mark Leone wrote:
It's a silly problem. I ran in to it a while back, and it really
mystified me until I found the bug write-up. Tomcat is doing the
right thing, but MS has declared that IE is working "as designed" in
this. FWIW, the HTTP spec is clear that the no-cach
I recently finished reading the book and found it a little bit nonsensical
since it deals mostly with TC 4.0. Anyway, here are a couple of other things I
noticed
On page 142 listing 7.7 there is a piece of 'good-looking', but, functionally
speaking, really putrid code that made me wondered
> From: Rob Tanner [mailto:[EMAIL PROTECTED]
> Subject: Can't get tomcat-5.5.9 to talk SSL
>
> I try to access port 8443 (https://www:8443) and Firefox pops up a
> dialogue box with the message "Firefox and www cannot communicate
> securely because they have no common encryption algorithms".
Do
Ed.
Why don't you set a maximum heap size and see if it garbage collects
when it hits that size. Sounds like your application does not need that
much memory so try setting it to something like either:
JAVA_OPTS=-Xms64m -Xmx128m
Or
CATALINA_OPTS=-Xms64m -Xmx128m
This assumes you are starting
Ed.
Why don't you set a maximum heap size and see if it garbage collects
when it hits that size. Sounds like your application does not need that
much memory so try setting it to something like either:
JAVA_OPTS=-Xms64m -Xmx128m
Or
CATALINA_OPTS=-Xms64m -Xmx128m
This assumes you are starting
Richard:
Looking at Tomcat with the task manager, it grows unchecked from a boot
value of about 45MB to however big I let it go; biggest I saw was 250MB
after about 6 days. At that point it's affecting system performance and I
have to reboot. I'm pretty sure the GC would have run in there somewhe
Are you actually running out of memory? Or is the heap just growing?
Garbage collection is a bit arbitrary and may not occur until there is a
need.
HTH - Richard
-Original Message-
From: Ed Hamilton [mailto:[EMAIL PROTECTED]
Sent: Monday, June 13, 2005 4:39 PM
To: 'Tomcat Users List'
Are you actually running out of memory? Or is the heap just growing?
Garbage collection is a bit arbitrary and may not occur until there is a
need.
HTH - Richard
-Original Message-
From: Ed Hamilton [mailto:[EMAIL PROTECTED]
Sent: Monday, June 13, 2005 4:39 PM
To: 'Tomcat Users List'
Hi,
I'm trying to setup tomcat-5.5.9 (jvm 1.5.0_03) for SSL. I went through the
applicable steps in the SSL Configuration HOW-TO which for me included
importing my Thawte cert into cacerts, uncommenting out the SSL Coyote
HTTP/1.1 Connector for port 8443 entry in server.xml and adding keystoreFil
Mark Leone wrote:
It's a silly problem. I ran in to it a while back, and it really
mystified me until I found the bug write-up. Tomcat is doing the right
thing, but MS has declared that IE is working "as designed" in this.
FWIW, the HTTP spec is clear that the no-cache behavior applies to
HT
Ich werde ab 13.06.2005 nicht im Büro sein. Ich kehre zurück am
17.06.2005.
Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. In dringenden
Fällen wenden Sie sich bitte an Frau Katharina Eilhard (0 29 41/38 58 81,
[EMAIL PROTECTED]).
Thanks, Robson, for the reply.
I have all the latest versions of everything:
Tomcat: 5.5.9
JDSK: 1.5.0.03
JDBC: 3.18a
Isapi Redirector: 1.2.13
There is no website/database activity, just tomcat running. I believe it's
related to the other posting I made about
"every-10-seconds-tomcat-scans-direc
Hi there!
Please check: Tomcat version, JSDK (or JRE) version, JDBC Drivers.
Probably one of these (maybe all of them)
has a bug. It sounds like Memory Leaking. Last time I had this problem I
updated JDBC Drivers and it worked.
Good luck!
Robson Franca
Ed Hamilton wrote:
Is anybody who is
Is anybody who is running Tomcat on a Win32 installation seeing a slow
growth in memory usage by Tomcat? My system increases threefold over a
period of 2 to 3. Even with all my websites shutdown and no user activity
at all, Tomcat keeps growing in size, until I have to reboot to recover the
lost
Does anybody know why Tomcat scans my website directories and its own webapp
directories every 10 seconds? How do I turn it off?
I thought it had to do with but every reference to that
tag has been commented out and it still does it.
Why does balancer/jsp-examples/ROOT/servelet-examples/tomcat-
Hi,
Thanks all three for answering.
In fact, the error seems to appear because the loading of the file is
done in the static{} initializer of a class. By loading the properties
elsewhere it works (at least there's no FileNotFoundException yet,
having a well configured log4j.properties is anot
Thanks very much Chuck! I'm glad I can help whenever I can. I know how
overwhelming some of this stuff can be, to me as much as anyone else, and
I also know how it feels to not be able to find explanations that are easy
to understand. If I can make that situation just a little better, I am
happy
Hi,
I need to add some context paths to my tomcat configuration. However
the context changes for development/test/qa/production . Just
wondering if there is a way the build system can deploy a file
(sampleapp.xml), deploy to /webapps directory or some place and tomcat
will be able to load this .x
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
> Subject: Re: Help/Examples setting up security settings
>
> Having just spent a couple of weeks integrating a new
> security framework into an existing app, a framework
> that works in concert with J2EE security, let me see
> if I can help.
Sorry for the disturbance... trying to troubleshoot a posting issue...
this will be the only such post to this list from me. Sorry again!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
Having just spent a couple of weeks integrating a new security framework
into an existing app, a framework that works in concert with J2EE
security, let me see if I can help... Hang on, this is going to be a long
post!...
J2EE security (I *thimk* that's what it's called this week!) works with
the
Hi all,
I'm using apache in front of tomcat 5.5.7 connected using mod_jk.
After a few hours, apache takes to long to responde, sometimes a timeout
is returned... after entering in this weird state, all responses take
too long...
Checking log files, the only error messages found are:
[Mon Jun 13 1
Hi,
I need to add some context paths to my tomcat configuration. However
the context changes for development/test/qa/production . Just
wondering if there is a way the build system can deploy a file
(sampleapp.xml), deploy to /webapps directory or some place and tomcat
will be able to load this .x
John C Cartwright wrote:
Hello All,
I've installed the "admin" webapp and it works fine as long as I
access it as http://localhost:8080/admin, otherwise I get the
"Tomcat's administration web application is no longer installed by
default. Download and install the "admin" package to use it."
Hello,
Does anyone have any examples of how to set up my deployment descriptor
(web.xml in Tomcat 5.5.9) to do BASIC authentication (of any of the
other methods, for that matter)?
I've looked at various sources of information on the web (including some
of Sun's sites), but have not yet found good
how exactly does the servlet get called? Are you using the web server?
-Original Message-
From: teknokrat [mailto:[EMAIL PROTECTED]
Sent: 13 June 2005 18:44
To: tomcat-user@jakarta.apache.org
Subject: Re: can anyone make sense of this
Brereton, Stephen wrote:
> That's just your Tomcat se
Brereton, Stephen wrote:
That's just your Tomcat service running. It does take a few moments to get
started - that's just Java getting going. If your task manager isn't running
to show 'all users', you might well not see the service running
-Original Message-
From: teknokrat [mailto:[EMA
Hi,
I need to add some context paths to my tomcat configuration. However
the context changes for development/test/qa/production . Just
wondering if there is a way the build system can deploy a file
(sampleapp.xml), deploy to /webapps directory or some place and tomcat
will be able to load this .x
I'm looking at clustering and have a few questions.
1. In the documentation, the Cluster element is shown
as a child of the Engine element. In the example
server.xml the Cluster element is shown in the Host
element.
When I put the Cluster element in the Host element, I
get clustering messages i
"I have an issue with redirecting my web application from Tomcat
4.1 to IIS 6.0 on Windows 2003 Server. "
>> I assume this to mean you are running Tomcat under Windows IIS6, and are
trying to redirect pages to the IIS6 server. This means you have (or should
have) at least one page under the default
Thanks Chuck. It is working. I was using Firefox and
now tried with Internet Explorer.
I will try to see an option for this setting in
Firefox. If not, probably I will put up a request to
Mozilla to have this option configurable.
Nitin
--- "Caldarale, Charles R"
<[EMAIL PROTECTED]> wrote:
That's just your Tomcat service running. It does take a few moments to get
started - that's just Java getting going. If your task manager isn't running
to show 'all users', you might well not see the service running
-Original Message-
From: teknokrat [mailto:[EMAIL PROTECTED]
Sent: 13 June
I have the latest tomcat 5.0 installed on windows server 2003 with java
5. I run startup.bat and call a servlet that hits a jboss instance
remotely. Looking through the connection events with TDIMon ( from
www.sysinternals.com ) I notice that a process tomcat5.exe sends a UDP
datagram on port 1
> From: nitin dubey [mailto:[EMAIL PROTECTED]
> Subject: Servlet threading Issue. Unexpected behaviour.
>
> Only after the response of either of the first two
> requests is complete then it shows me doGet() and
> then doPost() msg.
As has been discussed before on this list, you're probably encou
Hi Dirk,
thanks for your answer, that's a good point to look at.
Maybe the auto-deployment feature was the problem, I try to switch it off
and use the tomcat task.
Bernhard
> -Ursprüngliche Nachricht-
> Von: Dirk Weigenand [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 13. Juni 2005 14:43
Woodchuck wrote:
hihi Nikola,
where are you placing your JAR files? are any in TC/commons/lib or
TC/shared/lib?
try placing everything together, just as a test. put *all* your
classes and JAR files under TC/commons for example and give it a try...
they should be able to see each other if the
Hello,
When I send my third request to the server (while the
first two are still processing) it should at least
show me a System.out.println("in doGet()"); which is
the first statement in my doGet() method of the
implementation. But the console does not show me any
such msg. Only after the respons
how about instead of using a declared variable, use an appropriately scoped
attribute? You won't get a compile-time error retrieving a named attribute.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
""You are not
authorized to view this page. You do not have permission to view this
directory or page using the credentials you supplied. ""
Would there be anything in Tomcat to cause this to occur?
Using IIS 6 with Tomcat via ISAPI
Robert Keddie
Web Development/MIS
Phone: (3
Hello,
We've recently upgraded several servers from 5.0.28 to 5.5.9. We're now
seeing intermittent occurances of
java.lang.IllegalStateException: getCreationTime: Session already
invalidated
Our code caches sessions in a threadlocal at the beginning of the request.
When code attempts to get
Yeah, I wasn't sure that would work... Seemed like it would still be a
compile error, but worth a shot.
I'm out of ideas at the moment. I agree with what another poster said
though... seems like there must be a better way to check than whether a
variable is declared or not. I understand the prob
Am Montag, 13. Juni 2005 16:01 schrieb Christian Stalp:
>
> But at the Moment I get an error that this is not allowed for a Servlet
> which seems logical to me. So I have to change the catalina.policy.
>
> The question is now: how?
> What I have to do, to enable my servlet to start binarys on my ho
hihi Charles,
perhaps it is possible to use another 'indicator' other than 'if a
variable has been declared or not'.
it suspect there is something else easier you can use...
for example, any session objects/parameters that differ when going to
the page with no declared variable vs declared?
it
hihi Nikola,
where are you placing your JAR files? are any in TC/commons/lib or
TC/shared/lib?
try placing everything together, just as a test. put *all* your
classes and JAR files under TC/commons for example and give it a try...
they should be able to see each other if they are at the same
cl
I upgraded to Apache2 and TC 5.5.8 and that seems to have taken care of
the problem, whatever it was.
On May 25, 2005, at 3:32 PM, Mark Eggers wrote:
--- Grant Ingersoll
<[EMAIL PROTECTED]> wrote:
Thanks for the ideas. I cranked my debugging up to
99.
There are a couple of things that I
I tried the try catch block and that led me to asking this forum. I
tried a generic catch (Exception e) and it resulted in a compile error.
My suspicion is that this is not an easy thing to do.
Any brainstorms out there?
Charles
-Original Message-
From: Frank W. Zammetti [mailto:[EMAI
Am Montag, 13. Juni 2005 16:01 schrieb Christian Stalp:
>
> But at the Moment I get an error that this is not allowed for a Servlet
> which seems logical to me. So I have to change the catalina.policy.
>
> The question is now: how?
> What I have to do, to enable my servlet to start binarys on my ho
Thanks for the WEB-INF hint. Got it solved now.
René
-Ursprüngliche Nachricht-
Von: QM [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 13. Juni 2005 12:49
An: Tomcat Users List
Betreff: Re: Reject access to some files
On Mon, Jun 13, 2005 at 06:57:21AM +0200, Rene Guenther wrote:
: how to r
TC 5.5 says the admin section is now a separate download - fine.
When I try and install it, the admin app is already listed, yet when I click
the link, it can't find the pages?
* * * * * * * * * * * *
This email and any files transmitted with it are confidential and intended
solely for the use of
The only other possible way I can think of, and I would have to do so
experimenting to see if/how exactly it would work, would be something
like:
try {
Object a = b; // Where b might be declared or might not be
} catch () { // Not sure what exception would be thrown
// Do something when b
Hello out there,
I want to start a process, a program by calling a servlet.
The servlet itself is creating a runtime on its vm.
It looks something like this:
[code]
String cmd1 = "/usr/bin/myproc";
Runtime rt = Runtime.getRuntime();
Process myproc = rt.exec( cmd1 );
rueck_gabe = mypro
Thanks. And I do mean declared. I have a jsp that is included by a few
other jsp's. Some of them declare a variable and some do not. Right
now I have two files that are almost identical. One expects the
variable to be present and the other does not. I am looking to
consolidate these two files
Hi,
> --- Ursprüngliche Nachricht ---
> Von: Bernhard Slominski <[EMAIL PROTECTED]>
> An: 'Tomcat Users List'
> Betreff: Hot deployment - Your experience
> Datum: Mon, 13 Jun 2005 14:27:45 +0200
>
> Hi all,
>
> I'm working on a backoffice admin application on Tomcat (5.5.7, Sun
> Solaris
> 9).
Hi,
I used relative path to mount files to Tomcat with the JkMount directive so I
don't think your problem comes from that.
First. Be sure that :
- Aliasses have been created in httpd.conf
- Your JkMount directives are placed between section 2
And 3 of httpd.conf
- Your JkMount directive
Hi all,
I'm working on a backoffice admin application on Tomcat (5.5.7, Sun Solaris
9).
I try to do hot deployment via a war file, but it doesn't work at all for
me.
What I do is just to copy the war file across.
The problems I got (happens randomly):
- application including war file disappears
-
Darrell Bechtel wrote:
Both workers are setup to communicate to the localhost using port 8009??
Perhaps your /etc/hosts file has a entry that resolves the 'localhost'
to that IP address. Anyhow use 127.0.0.1 instead localhost to be sure.
Regards,
Mladen.
--
OK, I think I found out why or at least how it happens and repeatedly
reproduced it step-by-step.
If you use knoppix + Konqueror, and open the ".gz" file directly as you
downloaded with 'ark', it shows you repeated windows ".bat" files instead of
the ".sh" ones.
Maybe it is a 'knoppix
Works for me. (Using wget 1.9.1) Using tomcat 5.0.X.
I don't have a tomcat 5.5.X readily available to quickly test this case.
-Tim
Holger Klawitter wrote:
Hi there,
what might be the reasion that
wget http://theUser:[EMAIL PROTECTED]/someURL
is working, whereas
wget --http-user=theUse
On 6/13/05, teknokrat <[EMAIL PROTECTED]> wrote:
> Marius Scurtescu wrote:
> > teknokrat wrote:
> >
> > Place it as usual in WEB-INF/classes. It doesn't matter where the
> > library (jar) is loaded from as long as the code is executed by your web
> > app.
>
> If there are multiple webapps with the
Hi there, I am using tomcat 5.5 as an RTSP server, and I need to send
response codes back, but I do not need to send any HTML response back. I
know that I can change the response page that is returned by editing web.xml
and adding the following
404
/index.html
But what I need is to pr
On Mon, Jun 13, 2005 at 06:57:21AM +0200, Rene Guenther wrote:
: how to reject access to files? E.g. I got property files and war files in my
: root directory and I they must not be readable via HTTP Request.
Use a servlet filter.
Also, you received some sage advice from another poster: put your
On Mon, Jun 13, 2005 at 11:04:03AM +0200, Holger Klawitter wrote:
: what might be the reasion that
: wget http://theUser:[EMAIL PROTECTED]/someURL
: is working, whereas
: wget --http-user=theUser --http-passwd=thePass http://theHost/someURL
: yields "Authorization failed" (401)? (I also tried -
Marius Scurtescu wrote:
teknokrat wrote:
Normally I place log4j.jar with my webapp. However, I have a number of
libraries that need to be shared across various webapps. These need to
do logging as well. should i place a version of log4j in shared/lib?
Should I still keep the versions in each
thanks, realised that now. I've had a previous install of this working on
another server just fine!
I've now upgraded to TC5.5, which appears to sort that bit out BUT
the app now gets "javax.servlet.jsp.JspException: Fatal Error:
RaidConnection.getConnection(): Cannot create resource instance"
Hi there, I am using tomcat 5.5 as an RTSP server, and I need to send
response codes back, but I do not need to send any HTML response back. I
know that I can change the response page that is returned by editing web.xml
and adding the following
404
/index.html
But what I need is to pr
On 6/13/05, Brereton, Stephen <[EMAIL PROTECTED]> wrote:
> "Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK"
>
> C:\Program Files\Java\jre1.5.0_02 is my JAVA_HOME path, which agrees with
> the jvm path in the tomcat
I've had bad problems with TC 5.5 - so have had to reinstall 5.0
Now, when I try to load an app via the Manager, I get
"Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK"
C:\Program Files\Java\jre1.5.0_02 is my JAVA_HOM
Hi there,
what might be the reasion that
wget http://theUser:[EMAIL PROTECTED]/someURL
is working, whereas
wget --http-user=theUser --http-passwd=thePass http://theHost/someURL
yields "Authorization failed" (401)? (I also tried --cookies=on)
(tomcat 5.5.9, wget 1.9.1, jdk 1.5.0_2)
--
Wi
I'm running a tomcat 5.5.9 and Im trying to set up client certificate
authentication.
I only need users to present client certificate in one of my web
applications, therefore I have tried the following configuration
server.xml
Note - clientAuth set to false, otherwise client certificate
Put it under WEB-INF
-Original Message-
From: Rene Guenther [mailto:[EMAIL PROTECTED]
Sent: 13 June 2005 05:57
To: tomcat-user@jakarta.apache.org
Subject: Reject access to some files
Hello,
how to reject access to files? E.g. I got property files and war files in my
root directory
Hi.
There was a discussion on this topic on Hibernate forum:
http://forum.hibernate.org/viewtopic.php?t=935948&postdays=0&postorder=asc&start=0
If you find how to solve it, please let us know - I'm currently having
the same problem :).
Regards, Sergey.
sudip shrestha wrote:
I have experience
76 matches
Mail list logo