Hi,
I've searched the Internet for a long time before I asked here this
question, but knowing I'm a noob in this sector, it hopefully is trivial:
I have one server running with apache2 and tomcat6. Moreover I have a
webapplication I can locally access over
http://myserver:8080/myapp
Since I want t
Hi Bill,
Thank you very much for your comments – they are really helpful since as you
said there is little-to-no documentation on the web on how to develop a custom
connector.
Thanks again for your help :)
Best Regards,Sim085
> To: users@tomcat.apache.org> From: [EMAIL PROTECTED]> Subject: Re: T
Hi,
I need autheticate ONLY with client certificate (i.e., I don't want
to check any user's database) . I did that follow:
1. I write a "X509Realm", with a method "authenticate" that
only check the validity of each certificate in the
certification's chain (don't check if the user e
Hi,
I am trying to setup a Tomcat 6.0.16.0/Axis2 1.3 combination using HTTPS
connectivity. The machine is running on AIX with an IBM JDK5...
After configuring HTTPS in server.xml by:
The keystore is properly generated and gets read upon Tomcat starting up:
Hi Guys
I'm new in this ML, I hope that I can be useful and helpful for others.
Now I have a serious problem which take from me a lot of time to get around
it, but until now I have no solution.
So the problem is started when I upgraded tomcat from 5 to 6, I have a
simple application of integratio
Hi,
I started having this problems with Tomcat(s) in my PC a few days ago.
For bug purposes, I have a Tomcat 6.0.16 simple install with default
examples, no app of my own.
For any app Tomcat only gets the first request, showing DumperValve
request info.
The browser (either IE or Opera) generally
Thank you, Jim and David. I've been trying setting a Filter and it works ok.
Now I must figure out how to research the logs to find requests not served,
but I'm afraid it's a topic out of this mailing list.
Álvaro Morillas Correa
VicioJuegos.com - Sortes Ing. Inf., S.L.
Plaza Mayor, 25, 1º, O
FWIW, my filter logs entry/exit stamps along with some extra
info for debugging (thread-id is useful to correlate against
Tomcat thread dumps), roughly:
timestamp
thread-id (e.g. "http80-Processor22")
request_id
user (my application-specific logged-in user)
stamp_type ("processing" or "pr
Hi
Jconsole in jdk1.6 has an button called " Perform GC" under MEMORY Tab
For a Production and Live version Tomcat , Can i hook Jconsole via JMX
on the tomcat and force GC process in REMOTE Mode...
Is this permitted or not ?
JMX used as per "http://tomcat.apache.org/tomcat-5.5-doc/monito
> From: karthikn [mailto:[EMAIL PROTECTED]
> Subject: JMX Perform GC TOMCAT 5.5.23
>
> For a Production and Live version Tomcat, Can i hook
> Jconsole via JMX on the tomcat and force GC process in
> REMOTE Mode...
> Is this permitted or not ?
Depends on what you mean by "permitted". It certainly
Hi
>> Doing a manual GC at arbitrary times can be disruptive in that it
suspends application threads for the duration.
Reason : We have a Production TOMCAT 5.5.23 where in CPU Utilization for
JAVA is going 100% ,
This Tomcat needs to be restarted started every 12+ hrs
We suspect HP supp
> From: karthikn [mailto:[EMAIL PROTECTED]
> Subject: Re: JMX Perform GC TOMCAT 5.5.23
>
> Reason : We have a Production TOMCAT 5.5.23 where in CPU
> Utilization for JAVA is going 100% ,
And for some reason you think a GC will fix that?
> This Tomcat needs to be restarted started every 12+ hrs
Hi,
I would like to know if there is something that I can configure to an
application that force the application to execute that thing before it
executes. I mean I need something that does more or less the same that a
filter but without using the class filter.
I need to configure some applicat
Hi
On a simulator System (same as Production ) with JMeter Load test
performance was good and CPU utilization was not beyond 40% for 900+
users
But for the same application in Production,
We notice Constantly JAVA is 100% CPU utilization.
Any Ideas ?
with regards
Karthik
we were ab
karthikn wrote:
On a simulator System (same as Production ) with JMeter Load test
performance was good and CPU utilization was not beyond 40% for
900+ users
But for the same application in Production,
We notice Constantly JAVA is 100% CPU utilization.
Any Ideas ?
Your jmeter load pla
> From: karthikn [mailto:[EMAIL PROTECTED]
> Subject: Re: JMX Perform GC TOMCAT 5.5.23
>
> But for the same application in Production,
> We notice Constantly JAVA is 100% CPU utilization.
Which just demonstrates that your test environment is not 100% comprehensive
(which, admittedly, is almost i
- Original Message -
From: "Slobodanka Dimitrijevic" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, June 03, 2008 10:18 PM
Subject: RE: How to run own java application within Tomcat
Hi Johnny,
Thanks for the answer but I think I didn't explain my problem correctly.
- Original Message -
From: "Johnny Kewl" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, June 04, 2008 4:43 PM
Subject: Re: How to run own java application within Tomcat
- Original Message -
From: "Slobodanka Dimitrijevic" <[EMAIL PROTECTED]>
To: "Tomcat User
On 04/06/2008, at 4:15 PM, karthikn wrote:
We notice Constantly JAVA is 100% CPU utilization.
I am coming in late on this - what OS are u running?
How are you seeing the 100% CPU utilization, with top?
If you have a multiprocessor machine, you may find that top always
shows 100% when th
Hi everybody,
I am having trouble configuring Tomcat right...
The machine I'm using is a Win2003 server with Tomcat 6.0.14 installed. In
general everything works fine, but for security reasons, I need the server
to pass a Nessus security scan. With Nessus, I receive the following message
about the
hi all,
There is a performance issue in my service, It's a website, using HTML pages
serve static contents and jsp+struts+hibernate(proxool for DB connection pool)
for dynamic contents. If the connections are over 800, the service becomes
quite unstable, some requests get rapid response, b
I managed to solve the problem, by making 3 things, didn't figure out
which one did the trick:
a) commenting AJP connector (I'm using standalone);
b) changing port from 8082 to 10080
c) using -server option in JVM options
My guess would be option b)...
By the way, Eclipse is messing a little wi
Are you maxing out your database connection pool?
On Wed, Jun 4, 2008 at 1:29 PM, Zufeng Huang <[EMAIL PROTECTED]> wrote:
> proxool:
> 9
>20
>450
>100
>
- Original Message -
From: "Propes, Barry L " <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Hi,
I am integrating two websites using single sign on. I have two sites namely
aaa.com and bbb.com.
I enabled SingleSignOn valve in server.xml file, and trying to access
Its not going to w
karthikn wrote:
Will this config work ?
O/s = UNIX 11 PA Risc
SDK : J2SDK16
TOMCAT 5.5.23
RAM = 2 GB
The Web application is simple and uses JNI to connect to UNIX LOCAL
Application
JAVA_OPTS="-server -Xms200m -Xmx2548m -XX:+UseParallelGC -verbose:gc"
As was mentioned in another response,
If there's a better place to ask, please direct me.
I'm tracking down a problem with third-party code which looks more and
more like double URI-decoding. But I can't find anywhere in the
servlet documentation where it says whether getParameter returns
decoded or encoded data.
???
--
Mark H. Wo
Is there any way to precompile a custom jsp type?
E.g. in my config/web.xml I define:
jsp
*.jspf
jsp
*.jspt
Snip
We pre-compile our jsp's and tomcat is hardcoded to only compile certain typ
ApplicationHttpRequest does return encoded
here is why..
package org.apache.catalina.core;
class ApplicationHttpRequest extends HttpServletRequestWrapper
{
public String getParameter(String name)
{
parseParameters();
..which calls...
/** Parses the parameters of this request. If parameters are
Hi , Ive installed Apache 2.2 and Tomcat 6 separately on Windows 2003 and
both are working fine, so, how can I integrate both in order to serve servlets
and jsp on Apache 2.2?
In the future, when both were integrated, where do i need to deploy the jsp
application? (on \htdocs or in \webapps)
> From: Francisco Robredo [mailto:[EMAIL PROTECTED]
> Subject: About Apache 2.2 and Tomcat 6
>
> Hi , Ive installed Apache 2.2 and Tomcat 6 separately on
> Windows 2003 and both are working fine, so, how can I
> integrate both in order to serve servlets and jsp on Apache 2.2?
Do you really need h
I have run into an issue with Tomcat6. In Tomcat5 we were using links
like "../webapps/MCRCServlets/logs/MCRCServlet.log" in the Java Code.
I copied all of the folders over from Tomcat5 to Tomcat6 so that they
have the same directory structure:
webapps
root
Thaks for your reply, but Tomcat can serves JSF ? I guess i need to add a new
module it isnt it?
--- El mié 4-jun-08, Caldarale, Charles R <[EMAIL PROTECTED]> escribió:
De: Caldarale, Charles R <[EMAIL PROTECTED]>
Asunto: RE: About Apache 2.2 and Tomcat 6
Para: "Tomcat Users List"
The terms encoded and decoded need further definition. If you are
referring to a GET request and parameters in the URL, the answer is
decoded. All the %27s and the like are decoded to their character
equivalent. URLs themselves are ASCII character sets per RFC 1738 (at
least that's what HTML
You can use mod jk. Fairly easy to configure when you get your mind
wrapped around it.
Apache will act as a proxy service for "specified" requests. You could
say all requests for an application is pass to tomcat, or everything but
images and word documents.
Landon Fabbricino
IT Applications
Ph
You mention links like ../webapps/MCRCServlets/logs/MCRCServlets.log
which implies these are presented in the browser, but then your talk
about absolute paths like C:/www/ implying a local read of the file
system. These don't normally go together. Could you clarify how you
are using these
Hi,
I am using Tomcat 6.0.16 with JDK 1.6. I created a web application and deployed
it as ROOT. (I removed the default ROOT which comes with tomcat).
The problem I am facing is the Singleton is not working at all in the servlet.
I tried to synchnozed the constructor or make it static. I still
ktou Ho wrote:
Hi,
I am using Tomcat 6.0.16 with JDK 1.6. I created a web application and deployed
it as ROOT.
How did you deploy you app as ROOT? It sounds like your app is deploying twice.
Mark
-
To start a new topic, e-m
I have Apache 2 with SSL, mod_jk connection, and Tomcat. Everything has
worked peachy from one tomcat upgrade after another. However now I upgraded
to tomcat 6 and I am loosing the session when switching from https to http
within the same domain.
For clarity, Apache 2 is handling SSL not tomc
> From: Francisco Robredo [mailto:[EMAIL PROTECTED]
> Subject: RE: About Apache 2.2 and Tomcat 6
>
> Thaks for your reply, but Tomcat can serves JSF ? I guess i
> need to add a new module it isnt it?
Sorry, I'm not sure I understand what you're asking; perhaps you could rephrase
those questions.
- Original Message -
From: "Walter Thompson" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, June 04, 2008 11:25 PM
Subject: Relative internal links
I have run into an issue with Tomcat6. In Tomcat5 we were using links
like "../webapps/MCRCServlets/logs/MCRCServlet.log" in the Java Code.
Hi.
I saw your ongoing discussion, and maybe I can contribute something, but
I need some more info before.
Here is what you explained before :
a) You have one site "aaa.com" to which users access this way :
user ---> tomcat aaa.com
b) and another site "bbb.com" t
I deploy the web app as ROOT.war to TOMCAT/webapps, (I removed the old ROOT
first for sure). And I am pretty sure, I didn't deploy twice.
I google and found someone mentioned that I may need to create a jar file and
delploy it to the TOMCAT/lib, if I want the singleton in the class working. I
Good luck
Have a look at this function...
getServletContext().getRealPath("/");
Thats a nice way to find out where you are and if you make files
relative to something like this, doesnt matter what users do with working
paths.
Something like that ;)
-
> From: ktou Ho [mailto:[EMAIL PROTECTED]
> Subject: RE: Singleton in Tomcat 6.0 not working
>
> I deploy the web app as ROOT.war to TOMCAT/webapps, (I
> removed the old ROOT first for sure). And I am pretty sure, I
> didn't deploy twice.
How do you know you're getting two instances of the singlet
> From: Johnny Kewl [mailto:[EMAIL PROTECTED]
> Subject: Re: Relative internal links
>
> Have a look at this function...
> getServletContext().getRealPath("/");
>
> Thats a nice way to find out where you are
Only if you're running in an environment that supports the call. If you're on
a
>How do you know you're getting two instances of the singleton?
I print out the counter in the constructor. ( I also using a debugger check, my
filter got call twice also).
> By any chance, do you have two elements, both using the same appBase
> value?I guess you talking about the in the ser
> From: ktou Ho [mailto:[EMAIL PROTECTED]
> Subject: RE: Singleton in Tomcat 6.0 not working
>
> I print out the counter in the constructor. ( I also using a
> debugger check, my filter got call twice also).
So you're seeing two print lines from the constructor, the first with a value
of 0, the s
> So you're seeing two print lines from the constructor, the first with a value
> of 0, the second with a value of 1? Is that correct?
Yes.
Elwin> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Date: Wed, 4 Jun
2008 18:33:33 -0500> Subject: RE: Singleton in Tomcat 6.0 not working> > >
- Original Message -
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, June 05, 2008 1:26 AM
Subject: RE: Relative internal links
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Subject: Re: Relative internal links
Have a look at this function...
Hi.
I am setting up a server with lots of applications generating logs, and
would like to simplify my life by handling them all with logrotate,
which generally speaking I am getting done.
But I have a problem with Tomcat.
For one small web-application, there is thus a Tomcat 5.5 server runnin
> From: Johnny Kewl [mailto:[EMAIL PROTECTED]
> Subject: Re: Relative internal links
>
> What devices does tomcat run on that doesnt have a file
> system? Are you thinking cell?
Embedded systems, including routers. (I actually have been toying with putting
Tomcat on a cell phone; admittedly this
Not to beat people over the head with the servlet spec, this citation
from servlet spec 2.4, SRV.4.5 hints at a possible case where a file
system might not be available:
"In situations where the servlet container cannot determine a valid file
path for
these methods, such as when the Web applic
- Original Message -
From: "André Warnier" <[EMAIL PROTECTED]>
To:
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, June 05, 2008 1:06 AM
Subject: RE: Single sign on issue with Tomcat and Apache
Hi.
I saw your ongoing discussion, and maybe I can contribute something, but I
need some more i
> From: ktou Ho [mailto:[EMAIL PROTECTED]
> Subject: RE: Singleton in Tomcat 6.0 not working
>
> I print out the counter in the constructor. ( I also using a
> debugger check, my filter got call twice also).
Do you have any subclasses of the class with the singleton? If so, the static
initialize
Embedded systems, including routers. (I actually have been toying with
putting Tomcat on a cell phone; >admittedly this is a lot like the old
Dilbert cartoon - 1989/09/06 - about him creating a machine that
>transforms pocket lint into a parsely substitute; the punch line is "I'm
technology dr
Johnny Kewl wrote:
- Original Message - From: "André Warnier" <[EMAIL PROTECTED]>
To:
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, June 05, 2008 1:06 AM
Subject: RE: Single sign on issue with Tomcat and Apache
Hi.
I saw your ongoing discussion, and maybe I can contribute something,
bu
> From: Johnny Kewl [mailto:[EMAIL PROTECTED]
> Subject: Re: Relative internal links
>
> Hate to see the cell phone bill ;)
On at least AT&T, data is unlimited on all plans that include it - until you
get outside of the US.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
- Original Message -
From: "David Smith" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, June 05, 2008 2:07 AM
Subject: Re: Relative internal links
Not to beat people over the head with the servlet spec, this citation from
servlet spec 2.4, SRV.4.5 hints at a possible ca
- Original Message -
From: "André Warnier" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, June 05, 2008 2:54 AM
Subject: Re: Single sign on issue with Tomcat and Apache
Johnny Kewl wrote:
- Original Message - From: "André Warnier" <[EMAIL PROTECTED]>
To:
Cc
- Original Message -
From: "ktou Ho" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 05, 2008 12:14 AM
Subject: Singleton in Tomcat 6.0 not working
Hi,
I am using Tomcat 6.0.16 with JDK 1.6. I created a web application and
deployed it as ROOT. (I removed the default ROOT which comes w
I havent used JMX so this might not be relevant
But I'd suggest the following.
1) Install jvmstat it works with java 1.6 and use Visualgc to visual
monitor the garbage collection.
Note: you need to run tomcat as the same user as the account running
visualgc
use "jps" to find out the java vm
> From: Johnny Kewl [mailto:[EMAIL PROTECTED]
> Subject: Re: Singleton in Tomcat 6.0 not working
>
> Doing
> RemoteDBConnections obj = new RemoteDBConnections().getInstance();
> would make 2 counters
Except the constructor is private, so the above can't be done outside of the
RemoteDBConnections
> From: Michael Simmons [mailto:[EMAIL PROTECTED]
> Subject: RE: JMX Perform GC TOMCAT 5.5.23
>
> Allocating more memory to the JVM isn't always best.
> Although it means the GC runs less often it causes it to take
> longer to run. Ie large pauses.
Another myth that won't die. Although it was tru
- Original Message -
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, June 05, 2008 4:18 AM
Subject: RE: Singleton in Tomcat 6.0 not working
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Subject: Re: Singleton in Tomcat 6.0 not working
Doing
Re
Not it doesn't. It is a test class only contains the constructor and the
getInstance() method.
Thanks
Elwin> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Date: Wed, 4 Jun
2008 19:38:09 -0500> Subject: RE: Singleton in Tomcat 6.0 not working> > >
From: ktou Ho [mailto:[EMAIL PROTECTED
Get some hints from this link
http://books.google.com/books?id=bgMKmsXVbTAC&pg=PA304&vq=singleton&dq=tomcat+6+singleton+not+working&source=gbs_search_s&sig=t4ZT0XuVQsO2vs7PbKgTktLMarU#PPA141,M1
After I move the jar file to the TOMCAT/lib, only once instance is created.
weird...
Still don't kn
"Luis Pascual Forner" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I need autheticate ONLY with client certificate (i.e., I don't want
> to check any user's database) . I did that follow:
>
> 1. I write a "X509Realm", with a method "authenticate" that
> only chec
If you are using an older version of mod_jk, the default settings would
double-decode.
"Mark H. Wood" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To un
Ok, I stand corrected.
>Rather, GC time in a modern JVM depends almost entirely on the number
and size of live objects at
>the time of the collection.
So.. giving the JVM many 1000s of times the space taken by live objects
(even under very high load) is a waste.
Should I have said "Allocating a
Hi all,
I'm not sure if this is possible, and I realize it'll be container
specific, but I'm wondering if it's possible to find the app server's
install path from the servlet code. (I'm not looking for the webapp
path, as easily obtained from ServletContext's getRealPath() method)
-- I want to kn
Hi
Pardon me for Re Posting the content , had posted the same some day's ago
The Web application is simple and uses JNI to connect to UNIX LOCAL
Application
O/s = UNIX 11 PA Risc 2 CPU
SDK : J2SDK16
TOMCAT 5.5.23
RAM = 8 GB
JAVA_OPTS="-server -Xms200m -Xmx2548m -XX:+UseParallelGC -verbose
71 matches
Mail list logo