I haven't looked at the source, but I'm willing to bet there is at least
one sync block -- the pooling implementation would have to perform a
brief sync when it borrows a connection object from the pool. In
addition, if this is from a fresh startup of tomcat without a minIdle
setting
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Daad,
[EMAIL PROTECTED] wrote:
| No, my test is done with threads that connect using sockets. Server
| listen with ServerSocket and 30 Threads are started connecting to it.
Er... did you write your own server, or are you using Tomcat?
I'm
Hi,
I can start and stop Tomcat 5.5 with the jsvc program but the problem is
that the pid file is created with permissions 600 and owned by root.
I want to be able to read the pid file to check if the Tomcat process is up
and running
and also for other purposes.
Is it possible to make the pid
Hi,
regarding the error-page idea i have tried this and this does not work but
thinking about it, for form based authentication you have to define a
mandatory error page anyway so this would have precendence over any error
page defined else where. A login failure always flows back to the page
Hi Dear
Our projects are running in tomcat 5.5.23. We have done load balancing also.
However i am getting following error in my production server. Not all the
time. What may be the reason?
The requested resource (/ematrix/common/emxRouteFindContentDialogFS.jsp) is
not available.
Could
Hi All,
I'm a new Cocoon user and I've come across and I'm having a really
bizarre problem at the moment which has stopped my site development in
it's tracks. I originally posted this messge to the Cocoon mailing list but
as seems the problem might be Tomcat related I thought I'd try here too.
Hi,
Need Help...
I am using ibatis with JNDI connection in Tomcat 6x.
I am getting JVM heap size error when I refresh my application through
browser around 25 to 30 time it call the servlet to retrieve data from
database using ibatis.
I have not configured JVM setting for Tomcat.
Well ... here's the problem. jsvc needs that pid file to shutdown
tomcat. It would be a real PITA if some user or script were to muck
around and damage or delete that file.
Having said that, most *nix systems have a sticky bit ability to force
permissions on newly created files in specific
Hi,
I just got a short question.
In the context of an actual project it would be helpful to change the path
of the webapps directory to some other location, e.g. network drive Z:\.
We are currently using the Apache Tomcat version 6 on Windows XP.
We already changed the appBase in server.xml to
From: Tobias Meissner [mailto:[EMAIL PROTECTED]
I just got a short question.
In the context of an actual project it would be helpful to
change the path
of the webapps directory to some other location, e.g. network
drive Z:\.
We are currently using the Apache Tomcat version 6 on Windows XP.
From: CommonGround Softworks/Phil McNamara
[mailto:[EMAIL PROTECTED]
Subject: RE: Mod_JK on OSX server 10.5
Thanks. I found this:
http://commons-daemon.darwinports.com/
Why not look at the real doc?
http://commons.apache.org/daemon/
- Chuck
Hi Chuck,
Thank you. I looked it over.
[Mid-post - sorry!]
From: David Smith [mailto:[EMAIL PROTECTED]
Well ... here's the problem. jsvc needs that pid file to shutdown
tomcat. It would be a real PITA if some user or script were to muck
around and damage or delete that file.
Having said that, most *nix systems have a sticky
From: Dan Eriksson [mailto:[EMAIL PROTECTED]
Subject: [SOLVED] tomcat not able to connect to postgresql?
Host name=myapp.mydomain.com appBase=webapps/myapp
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
Context path= docBase=
From: Praful Sinha [mailto:[EMAIL PROTECTED]
Subject: JVM heap size error while using ibatis on Tomcat 6x
I am getting JVM heap size error when I refresh my application through
browser around 25 to 30 time it call the servlet to retrieve data from
database using ibatis.
Read the FAQ and
CommonGround Softworks/Phil McNamara schrieb:
Hi Folks,
Wondered if someone could help me with ideas on this?
Have a configuration where a separate tomcat instance is installed (So
apple can't break it :)). Apple's copy of tomcat provided with the
machine in not running. The new Tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
david.melia wrote:
| Also, i have checked out the JNDIRealm source code and it only seems
to log
| any exception but not throw it back (seems to pass a null Principal
back to
| the calling code to signify you could not log on). If this is
Hmm. I think the answer here is one of resource starvation - the
resource in this case being the CPU. It seems that core of your test is
'Select * from table1'
Where is the database? Is it another application on the same box? What
mechanism do you use to connect between the database and the
This is solution of my problem, thanks =)
David Smith-2 wrote:
I'm guessing these requests are from the same browser. The browser
limits the number of connections it makes to the server to 2. If you
really need more, google for hacks to the browser to allow more.
--David
Hi,
can you set the umask before you run jsvc ?
Rgds
Fred
Gunnar Boström wrote:
Hi,
I can start and stop Tomcat 5.5 with the jsvc program but the problem is
that the pid file is created with permissions 600 and owned by root.
I want to be able to read the pid file to check if the
Do you *really* want that file to be world-writable? Why not 644?
--
Mark H. Wood, Lead System Programmer [EMAIL PROTECTED]
Typically when a software vendor says that a product is intuitive he
means the exact opposite.
pgp8EEJOzvw1S.pgp
Description: PGP signature
Consider also that, depending on your Windows version and perhaps
other factors, your service may have *no network credentials* and be
unable to map drives. Recent versions (sorry, I have been away from
Windows for a while) added several system accounts specifically for
the use of services that
yeah, Dave, will do.
-Original Message-
From: david.melia [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 10, 2008 3:59 AM
To: users@tomcat.apache.org
Subject: RE: JNDIRealm - how to display login exceptions/error msg
within form-error-page when using Form based authentication?
Hi,
it's in the java directory of the zip file
Filip
neil davudo wrote:
Where?
I downloaded the entire Tomcat source code. Can you point me to the
directories?
TIA
Neil
markt-2 wrote:
neil davudo wrote:
Where can I find the source code for the NIO connector that uses the
Environment:
Windows Server 2k3 R2 EE
Apache Tomcat 5.5.17 installed in: C:\Program Files\Apache Software
Foundation\Tomcat-5.5.17
Microsoft IIS 6.0
IE 6.0.X.X SP2
Java:
C:\Program Files\Java\jre1.6.0_05
C:\Program Files\Java\jdk1.6.0_05
Whenever I go to
Did you put your connector on port 80?
By default it is on port 8080 so the correct address would be
http://localhost:8080
-Original Message-
From: Gary Opela (Corporate) [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 10 de Abril de 2008 16:20
To: users@tomcat.apache.org
Subject: Tomcat
Is there a way to change it after install? I had no control over the install,
as my 3rd party application installed it for me.
Thanks,
Gary Opela, Jr., RSP
Remedy Engineer
Leader Communications, Inc.
Best Product, Best People, Best PriceTM
An ISO 9001:2000 Certified, CMMI® Level 3 Rated
Guys,
Any idea why a new version of my jsp is not compiled and changes shown.
Tomcat is running in development mode and the time on the new jsp is later
than the previous. I manually have to delete the
tomcat_home/work/catalina/localhost directory and restart for changes to
go into effect. It is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jed,
Jed wrote:
| As a test, I've put helloworld.xml and its associated xsl file in
| docroot and set-up a matcher so that and request for /*.jhtml
| effectively loads and transforms that file. This works fine. However,
| if I then make a
Next time, take a look at the timestamp on the files in
work/catalina/localhost/* and compare them to the timestamp on the
jsps. I'll bet your transfer client is setting the timestamp on your
jsps and the local machine's time isn't in sync with the remote
server's. When the remote server
We have some servlets that take rather general path-info's. When these
include a /properly escaped /semicolon, invoking getPathInfo() in Tomcat
results in a truncated path info.
Is this a known bug?
For example, one might have the request
Hi Gary-
so if port 80 is ok in other words
http://localhost:80 Browser shows ok
and none of the other configurations work you might have a misconfiguration
with workers.properties
Start here for configuring Tomcat redirect capability with IIS Webserver
You could use jsvc instead of the shell scripts.
--David
fredk2 wrote:
Hi,
Currently the pid file is set when you run catalina.sh (unix/linux)
if [ ! -z $CATALINA_PID ]; then
echo $! $CATALINA_PID
fi
In some situation (when using sudo, su, catalina.out piped to a log
Hi,
Currently the pid file is set when you run catalina.sh (unix/linux)
if [ ! -z $CATALINA_PID ]; then
echo $! $CATALINA_PID
fi
In some situation (when using sudo, su, catalina.out piped to a log rotation
program) it is harder and possibly prone to error to get the right
Localhost:80 works, localhost:8080 does not.
Awesome page: http://neosmart.net/blog/2006/configuring-jsp-for-iis/
I followed advice there, and of course, had to alter some stuff to update the
paths in the conf files, but still no luck.
I am not using neosmart, I'm using a 3rd party application
Mark H. Wood [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
iSeriesNavigator sounds like some application that came with your IBM
i-Series hardware.
iSeriesNavigator is an IBM product. I'm not sure how it all works. We
define tasks (e.g., schjob) that go in one of their XML
Jess Holle schrieb:
We have some servlets that take rather general path-info's. When these
include a /properly escaped /semicolon, invoking getPathInfo() in Tomcat
results in a truncated path info.
Is this a known bug?
For example, one might have the request
Update on this:
I uninstalled tomcat, and remedy (mid-tier), rebooted. Next, I installed tomcat
5.5 from the apache.org download.
Tested, and tomcat worked great!
Then, I re-installed remedy (mid-tier/web-tier) and now tomcat stopped working.
By stopped working, I meant my manager page won't
Correction: It is working. The tomcat service was set to manual, so whenever I
rebooted, it didn't come back up.
Thanks,
Gary Opela, Jr., RSP
Remedy Engineer
Leader Communications, Inc.
Best Product, Best People, Best PriceTM
An ISO 9001:2000 Certified, CMMI® Level 3 Rated Company
That's a question for your logs. If the logs don't help, is there a
core dump hanging around indicating the JVM crashed?
--David
Gary Opela (Corporate) wrote:
Update on this:
I uninstalled tomcat, and remedy (mid-tier), rebooted. Next, I installed tomcat
5.5 from the apache.org download.
Interestingly I cannot use jsvc. We are using a Java 5 jvm option -javaagent
which is not supported by jsvc. I was looking at jws which does a little
bit more (although missing the cool -user option), but that seems to have
become a commercial venture.
Fred
David Smith-2 wrote:
You could
hi everyone...
i have an application which was running perfectly on tomcat 5.0 and now i
just deployed it on tomcat 5.5
and i'm getting the following error
Apr 9, 2008 3:42:43 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
You're right -- this works fine in the direct case.
So I need to file a bug against mod_proxy_ajp instead? Or is there some
chance this is in the AJP connector?
Rainer Jung wrote:
So are you saying, that th request goes through httpd/mod_proxy or
mod_jk? If so, you should first test with
Is there any reasonable way I can tell where the issue resides,
mod_proxy_ajp or the Tomcat AJP connector.
I'm using Apache 2.2.8 and the Java (non-native, non-NIO) AJP
connector. [The native connector is just too painful to build on half a
dozen platforms...]
Jess Holle wrote:
You're
Jess Holle wrote:
Is there any reasonable way I can tell where the issue resides,
mod_proxy_ajp or the Tomcat AJP connector.
I'll do a quick test and get back to you.
Mark
-
To start a new topic, e-mail:
Hi, Tobias-
Is ROOT a subdirectory of z:\webapps?
-Terence M. Bandoian
Subject:
Changing the Webapps directory
From:
Tobias Meissner [EMAIL PROTECTED]
Date:
Thu, 10 Apr 2008 13:47:52 +0200
To:
users@tomcat.apache.org
Hi,
I just got a short question.
In the context of an actual
Jess Holle wrote:
You're right -- this works fine in the direct case.
So I need to file a bug against mod_proxy_ajp instead? Or is there some
chance this is in the AJP connector?
Only if there is a bug - we haven't shown that yet ;)
Could you provide some version numbers please (httpd,
Hi,
I'm migrating an application from one server to another. On the old server
the application runs perfectly, but on the new one I'm getting this message
of error only on the .jsp that are in subfolders (when I move then to root
folder they run ok):
An error occurred at line: 8 in the generated
From: Gary Opela (Corporate) [mailto:[EMAIL PROTECTED]
Subject: How to stop having to put :8080 in the url?
How do I set it to where I just have to hit http://localserver/arsys,
without the :8080?
Change the port attribute of the Connector element in conf/server.xml.
You should probably
Mark Thomas wrote:
Jess Holle wrote:
Is there any reasonable way I can tell where the issue resides,
mod_proxy_ajp or the Tomcat AJP connector.
I'll do a quick test and get back to you.
Looks like a mod_proxy_ajp bug/configuration error.
Using mod_jk (1.2.24-dev but relevant code hasn't
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gary,
Gary Opela (Corporate) wrote:
| I have a website that is located under http://localserver:8080/arsys
|
| How do I set it to where I just have to hit http://localserver/arsys,
| without the :8080?
The only way to remove the port number from
Mark Thomas wrote:
Jess Holle wrote:
You're right -- this works fine in the direct case.
So I need to file a bug against mod_proxy_ajp instead? Or is there
some chance this is in the AJP connector?
Only if there is a bug - we haven't shown that yet ;)
Could you provide some version numbers
Thanks, Chris, for the assistance.
Thanks,
Gary Opela, Jr., RSP
Remedy Engineer
Leader Communications, Inc.
Best Product, Best People, Best PriceTM
An ISO 9001:2000 Certified, CMMI® Level 3 Rated Company
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent:
Jess Holle wrote:
Mark Thomas wrote:
Jess Holle wrote:
You're right -- this works fine in the direct case.
So I need to file a bug against mod_proxy_ajp instead? Or is there
some chance this is in the AJP connector?
Only if there is a bug - we haven't shown that yet ;)
Could you provide
Mark Thomas wrote:
Jess Holle wrote:
Mark Thomas wrote:
Jess Holle wrote:
You're right -- this works fine in the direct case.
So I need to file a bug against mod_proxy_ajp instead? Or is there
some chance this is in the AJP connector?
Only if there is a bug - we haven't shown that yet ;)
Folks,
A few weeks ago (around march 25th) there was a post about a fellow trying
to use jk_isapi_plugin and getting an error while adding request headers
and the following output to the browser:
The parameter is incorrect.
It was determined that the request wasn't even getting to tomcat and the
Jess Holle wrote:
Mark Thomas wrote:
Jess Holle wrote:
Mark Thomas wrote:
Jess Holle wrote:
You're right -- this works fine in the direct case.
So I need to file a bug against mod_proxy_ajp instead? Or is
there some chance this is in the AJP connector?
Only if there is a bug - we haven't
Jess Holle wrote:
Mark Thomas wrote:
I couldn't see anything either. This looks like a mod_proxy_ajp
bug/missing feature.
I jumped the gun once by filing this against Tomcat, but it seems
everything is pointing to mod_proxy_ajp. Is it time to file a bug
against it?
Looks like it to me.
Assume I get to an already installed and running TomCat server.
How can I find out if Axis is already (successfully) installed on this server
and if yes which version it is?
Ben
-
To start a new topic, e-mail:
Mark Thomas wrote:
Jess Holle wrote:
Mark Thomas wrote:
I couldn't see anything either. This looks like a mod_proxy_ajp
bug/missing feature.
I jumped the gun once by filing this against Tomcat, but it seems
everything is pointing to mod_proxy_ajp. Is it time to file a bug
against it?
Looks
Hi,
I have a ubuntu server which has apache web server 2 pre - configured, it is
port 80, now I install tomcat 6 and I'd like to use port 80 as well, how can
i stop apache2 in this machine? i don't need apache 2. thanks.
--
View this message in context:
something like:
sudo apt-get remove apache2
- if you have problems see the ubuntu users list
HTH
Angelo Chen wrote:
Hi,
I have a ubuntu server which has apache web server 2 pre - configured, it is
port 80, now I install tomcat 6 and I'd like to use port 80 as well, how can
i stop apache2
On Fri, Apr 11, 2008 at 12:19 AM, Jess Holle [EMAIL PROTECTED] wrote:
Done. [https://issues.apache.org/bugzilla/show_bug.cgi?id=44803]
Guys, you've been going crazy about a (known) security issue: CVE-2007-1860
See http://tomcat.apache.org/security-jk.html
Rémy
Jess Holle schrieb:
Mark Thomas wrote:
Jess Holle wrote:
Mark Thomas wrote:
I couldn't see anything either. This looks like a mod_proxy_ajp
bug/missing feature.
I jumped the gun once by filing this against Tomcat, but it seems
everything is pointing to mod_proxy_ajp. Is it time to file a
Rémy Maucherat schrieb:
On Fri, Apr 11, 2008 at 12:19 AM, Jess Holle [EMAIL PROTECTED] wrote:
Done. [https://issues.apache.org/bugzilla/show_bug.cgi?id=44803]
Guys, you've been going crazy about a (known) security issue: CVE-2007-1860
See http://tomcat.apache.org/security-jk.html
Rémy
Could you post the Host element of your server.xml? I know people have
had this problem and solved it in the past, but it's been a while.
--David
OpenP2M Open wrote:
Hi,
I'm migrating an application from one server to another. On the old server
the application runs perfectly, but on the new
I refer to tomcat 5.5.17. Assuming SSL client side authentication is used,
I am trying to access the underlying client's X509 certificate of the SSL
socket in a webapp. However, it appears such information can only be
extracted from the SSL session, which is not made available to the servlet.
I
s/Http12Processor/Http11Processor/
On Thu, Apr 10, 2008 at 6:18 PM, Hanson Char [EMAIL PROTECTED] wrote:
I refer to tomcat 5.5.17. Assuming SSL client side authentication is
used, I am trying to access the underlying client's X509 certificate of the
SSL socket in a webapp. However, it
On Fri, Apr 11, 2008 at 1:58 AM, Rainer Jung [EMAIL PROTECTED] wrote:
Rémy,
I know that we cleaned reencoding of forwarded URLs up in the context of
the CVE and mod_jk. The semicolon wasn't involved in the CVE though and at
that time it would have been easier, if the AJP connectors had
Rainer Jung wrote:
Hmmm. Unfortunately I couldn't follow the thread earlier.
As far as I know the problem is the following:
A semicolon is used to separate the jsessionid in case you are using
URL encoded sessions. As far as I remember the AJP connnector does
*not* recognize %3Bjsessionid.
Hi Rainier,
CommonGround Softworks/Phil McNamara schrieb:
Hi Folks,
Wondered if someone could help me with ideas on this?
Have a configuration where a separate tomcat instance is installed (So
apple can't break it :)). Apple's copy of tomcat provided with the
machine in not running. The
Rémy Maucherat wrote:
On Fri, Apr 11, 2008 at 1:58 AM, Rainer Jung [EMAIL PROTECTED] wrote:
Rémy,
I know that we cleaned reencoding of forwarded URLs up in the context of
the CVE and mod_jk. The semicolon wasn't involved in the CVE though and at
that time it would have been easier, if the
Hello,
I am setting up Tomcat to connect to an Oracle RAC cluster using the
Oracle OCI driver.
The documentation I have read says to configure LD_LIBRARY_PATH under
Linux topoint
to the Oracle OCI library file directories, but no matter where I set
LD_LIBRARY_PATH it
does not get
From: Ben Stover [mailto:[EMAIL PROTECTED]
Subject: How to detect which version of Axis is currently
running in TomCat ?
How can I find out if Axis is already (successfully)
installed on this server and if yes which version it is?
If you're doing this from a browser, use:
Hi,
Look carefully at the LD_LIBRARY_PATH man page.
At least under Solaris, if you are sudo'ing in some way to root then
it will not reset LD_LIBRARY_PATH. This is a security measure.
You may need to configure the root to include these libraries.
This was 7 years ago that we encountered
74 matches
Mail list logo