Dear friends,
I have a website in Struts 1.2 and i want to install another Struts
application made by me, in a subfolder of the website. I don't know will
this work,
Both are struts 1.2 applications.
I am using apache 2.x and Tomcat 5, on Cpanel , linux centos 5.5.
I think one of the possible
Hi,
In our production enviroment I have a weird problem and I am trying to
understand if / how can it be fixed.
The error is like above:
*
*
*INFO: Maximum number of threads (250) created for connector with address
null and port 8080*
*
*
*
*
*
*
*# A fatal error has been detected by the Java
I am on something right now like this.
While running, Do a:
netstat -n grep [your port number] | grep CALL_WAIT
See if you are hung in CALL+WAIT status.
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring Agile Consulting
p. (866) BLiNC-411:
Hi,
The command:
netstat -n grep 8080 | grep CALL_WAIT
gives me nothing, yet when I update CALL_WAIT with TIME_WAIT I can see them.
netstat -n grep 8080 | grep TIME_WAIT
P.S: Just restarted the servers. As expected the thread counts dropped to
normal. Now I am on 43 Current and 20 Busy.
TIME_WAIT is fine. Not an issue. That just means they are ready to take
requests. CALL_WAIT is not good, if they stick around.
If this is an OOM error, then have you started this server and attached
javaVisualVM onto it to see what the threads and memory are doing?
---
Thank You…
Mick Knutson,
No, it is not „Urgent” for anyone but you. If you one it to be
urgent for anyone else, pay for it :)
Dear friends,
I have a website in Struts 1.2 and i want to install another Struts
application made by me, in a subfolder of the website. I don't know will
this work,
Both are struts 1.2
On 25.06.2010 11:22, Mick Knutson wrote:
TIME_WAIT is fine. Not an issue. That just means they are ready to take
requests. CALL_WAIT is not good, if they stick around.
If this is an OOM error, then have you started this server and attached
javaVisualVM onto it to see what the threads and memory
On 24/06/2010 19:24, laredotornado wrote:
I tried this too and still got the 404.
servlet-mapping
servlet-nameMusicVenueServlet/servlet-name
url-pattern/play/music/venues/*/url-pattern
hi
thanks for the email,
but the path is like
/usr/local/share/apps
and for the second application:
/usr/local/share/apps/app2
i mean it is a subfolder.
will this still work?
2010/6/25 Paweł Zuzelski z...@xatka.net
No, it is not „Urgent” for anyone but you. If you one it to be
urgent
On Fri, Jun 25, 2010 at 4:16 PM, abhishek jain
abhishek.netj...@gmail.comwrote:
hi
thanks for the email,
but the path is like
/usr/local/share/apps
and for the second application:
/usr/local/share/apps/app2
i mean it is a subfolder.
sorry i think you are right i will give it a
On 25/06/2010 11:46, abhishek jain wrote:
hi
thanks for the email,
but the path is like
/usr/local/share/apps
and for the second application:
/usr/local/share/apps/app2
i mean it is a subfolder.
will this still work?
Depends which Tomcat version you actually have. I don't
On 25/06/2010 11:50, Pid wrote:
On 25/06/2010 11:46, abhishek jain wrote:
hi
thanks for the email,
but the path is like
/usr/local/share/apps
and for the second application:
/usr/local/share/apps/app2
i mean it is a subfolder.
will this still work?
Depends which Tomcat version
On Fri, Jun 25, 2010 at 4:26 PM, Mark Thomas ma...@apache.org wrote:
On 25/06/2010 11:50, Pid wrote:
On 25/06/2010 11:46, abhishek jain wrote:
hi
thanks for the email,
but the path is like
/usr/local/share/apps
and for the second application:
/usr/local/share/apps/app2
On 25/06/2010 11:56, Mark Thomas wrote:
On 25/06/2010 11:50, Pid wrote:
On 25/06/2010 11:46, abhishek jain wrote:
hi
thanks for the email,
but the path is like
/usr/local/share/apps
and for the second application:
/usr/local/share/apps/app2
i mean it is a subfolder.
will this
Im actually using Javamelody to monitor the apps.
Yet still nothing. Any ideas ?
Özgür Özdemircili
http://www.acikkod.org
Code so clean you could eat off it
On Fri, Jun 25, 2010 at 11:22 AM, Mick Knutson mknut...@baselogic.comwrote:
TIME_WAIT is fine. Not an issue. That just means they
On 25/06/2010 12:02, abhishek jain wrote:
On Fri, Jun 25, 2010 at 4:26 PM, Mark Thomas ma...@apache.org wrote:
On 25/06/2010 11:50, Pid wrote:
On 25/06/2010 11:46, abhishek jain wrote:
hi
thanks for the email,
but the path is like
/usr/local/share/apps
and for the second application:
On 25/06/2010 12:19, Pid wrote:
On 25/06/2010 12:02, abhishek jain wrote:
On Fri, Jun 25, 2010 at 4:26 PM, Mark Thomas ma...@apache.org wrote:
On 25/06/2010 11:50, Pid wrote:
On 25/06/2010 11:46, abhishek jain wrote:
hi
thanks for the email,
but the path is like
/usr/local/share/apps
On Fri, Jun 25, 2010 at 4:51 PM, Mark Thomas ma...@apache.org wrote:
On 25/06/2010 12:19, Pid wrote:
On 25/06/2010 12:02, abhishek jain wrote:
On Fri, Jun 25, 2010 at 4:26 PM, Mark Thomas ma...@apache.org wrote:
On 25/06/2010 11:50, Pid wrote:
On 25/06/2010 11:46, abhishek jain wrote:
On 24/06/2010 21:49, Okubo, Yasushi (TSD) wrote:
My bad.
I added *.jsp to the filter since it contains the path to index page as
follows. Now, I am wondering when sso session id is created and
replicated, is it when index.jsp was accessed or login.jsp was accessed?
You had added it and
On 25/06/2010 12:27, abhishek jain wrote:
On Fri, Jun 25, 2010 at 4:51 PM, Mark Thomas ma...@apache.org wrote:
On 25/06/2010 12:19, Pid wrote:
On 25/06/2010 12:02, abhishek jain wrote:
On Fri, Jun 25, 2010 at 4:26 PM, Mark Thomas ma...@apache.org wrote:
On 25/06/2010 11:50, Pid wrote:
On
Oops. You are correct. I have been up for 2 weeks on this and need to sleep.
But that was my issue.
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233
Website:
From: Paweł Zuzelski [mailto:z...@xatka.net]
Subject: Re: Two applications, one in a sub folder - Urgent help needed
app.xml should be something like:
?xml version=1.0 encoding=UTF-8?
Context path=/app docBase=/usr/local/share/app1 privileged=false
allowLinking=true
/Context
From: Ozgur Ozdemircili [mailto:ozgur.ozdemirc...@gmail.com]
Subject: Re: Tomcat current thread count
Im actually using Javamelody to monitor the apps.
Yet still nothing. Any ideas ?
Looks like you have two separate problems. The first is that your
Tomcat-configured threads get stuck
I have some weird behavior going on, I think with my Tomcat 6.0.18 server in
Eclipse.
In my dynamic web project in Eclipse I had created a test index.jsp
(TESTindex.jsp) page and had the original index.jsp page in the same web
content folder. I was renaming these accordingly to TESTindex and
On 25/06/2010 15:03, Savoy, Melinda wrote:
I have some weird behavior going on, I think with my Tomcat 6.0.18 server in
Eclipse.
In my dynamic web project in Eclipse I had created a test index.jsp
(TESTindex.jsp) page and had the original index.jsp page in the same web
content folder. I
On 6/25/2010 10:03 AM, Savoy, Melinda wrote:
I have some weird behavior going on, I think with my Tomcat 6.0.18 server in
Eclipse.
In my dynamic web project in Eclipse I had created a test index.jsp
(TESTindex.jsp) page and had the original index.jsp page in the same web
content folder. I
Hi,
My system consists of:
Rhel 5.3
Tomcat v 6.0.26
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
I do not see anything else in the catalina.out or any other log file apart
from the one I have posted before.
What would be the possible ways of finding where the problem lies ?
Thanks
Can you run jvisualvm.exe against it?
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233
Website: http://www.baselogic.com
Blog: http://www.baselogic.com/blog/
Linked IN:
From: Ozgur Ozdemircili [mailto:ozgur.ozdemirc...@gmail.com]
Subject: Re: Tomcat current thread count
What would be the possible ways of finding where the problem lies ?
As previously stated, take a thread dump *before* the JVM crashes and find out
what your threads are stuck on. Your
Thank you to David and Pid for the responses. It is very much appreciated.
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Friday, June 25, 2010 9:24 AM
To: Tomcat Users List
Subject: Re: Does Tomcat cache pages it's executing?
On 25/06/2010 15:03, Savoy, Melinda wrote:
I
You can force it by:
set JAVA_OPTS=%JAVA_OPTS%
-*XX:+HeapDumpOnCtrlBreak*-XX:+HeapDumpOnOutOfMemoryError
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233
Website:
From: Mick Knutson [mailto:mknut...@baselogic.com]
Subject: Re: Tomcat current thread count
You can force it by:
set JAVA_OPTS=%JAVA_OPTS%
-*XX:+HeapDumpOnCtrlBreak*-XX:+HeapDumpOnOutOfMemoryError
No, that gets you a Java heap dump, not a thread dump - not of interest here.
The
Hi,
Thanks for the useful link. I have gotten a thread dump using kill -3 .
You can find it in the attached file.
Özgür Özdemircili
http://www.acikkod.org
Code so clean you could eat off it
On Fri, Jun 25, 2010 at 4:56 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From:
2010/6/25 Pid p...@pidster.com:
You could try opening the correct index.jsp and making a small edit and
resaving it, the new timestamp might kick off an update of the generated
class.
That should be it. Tomcat recompiles a JSP only if its timestamp is
newer than the one of the class file
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Saurabh,
On 6/25/2010 1:23 AM, Saurabh Agrawal wrote:
Please refer first line in following API doc, you will find that two
problems are reported in it and option suggested us
TimeBasedRollingPolicy.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Özgür,
On 6/25/2010 11:39 AM, Ozgur Ozdemircili wrote:
Thanks for the useful link. I have gotten a thread dump using kill -3 .
You can find it in the attached file.
It looks like almost everything is idle, here. Can you wait a while,
when you
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
While reading another thread (What's going on ... ?), I started to
think about how inconvenient it is to have to put your JDBC driver into
the server's lib directory. As it stands, now, all webapps must share
the same version of the same driver,
On 25.06.2010 17:51, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Özgür,
On 6/25/2010 11:39 AM, Ozgur Ozdemircili wrote:
Thanks for the useful link. I have gotten a thread dump using kill -3 .
You can find it in the attached file.
It looks like almost everything
Hi,
I probably wont be able to get the one close to crash but the jstack.out in
the attached file contains the output while the applicaction is receiving
requests.
Hope it will be more helpful.
Özgür Özdemircili
http://www.acikkod.org
Code so clean you could eat off it
On Fri, Jun 25, 2010
Aaron Clark wrote:
The RDP port is in the registry. It's at
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
Bug or not, it only happens when Tomcat is running.
Maybe. But what people here are telling you is that
- one process cannot change
Did you mean to say, call it WITHOUT the params at the end? If so, when I
did that, everything mapped fine. However, I do need the query params to
process the page correctly. Sadly, this url-pattern didn't work
servlet-mapping
servlet-nameMusicVenueServlet/servlet-name
On 25/06/2010 17:02, Christopher Schultz wrote:
All,
While reading another thread (What's going on ... ?), I started to
think about how inconvenient it is to have to put your JDBC driver into
the server's lib directory. As it stands, now, all webapps must share
the same version of the same
From: laredotornado [mailto:laredotorn...@gmail.com]
Subject: Re: Servlet mapping issue
Did you mean to say, call it WITHOUT the params at the end?
No, leave the params in, but omit the .jsp suffix in the URL.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
Our environment:
Unix Solaris 5.9
Tomcat 6.0.26
JVM 1.6.20
Our application runs in two frameworks. One uses https one does not. I am
trying to configure the tomcat connectors to work but when I get it working
in one framework it does not work in the other.
*I have been told we do not need to
2010/6/24 laredotornado laredotorn...@gmail.com:
I tried this too and still got the 404.
servlet-mapping
servlet-nameMusicVenueServlet/servlet-name
url-pattern/play/music/venues/*/url-pattern
url-pattern/play/music/includes/venue-listing.jsp/url-pattern
On 25/06/2010 17:56, John-Paul Ranaudo wrote:
Our environment:
Unix Solaris 5.9
Tomcat 6.0.26
JVM 1.6.20
Our application runs in two frameworks. One uses https one does not. I am
trying to configure the tomcat connectors to work but when I get it working
in one framework it does not
No offense taken. If I could handle this problem myself I wouldn't be asking
for others help. I don't understand how a bug in the OS would cause the RDP
port to change if (3rd Party Application A) is running.
Aaron K. Clark
Senior Technician
A+, Network+ CCNA
Intellicom, Inc
(308) 237 - 0684
Thanks for the reply.
Ok, so I am assuming I do not have to setup SSL (certificates etc) since my
load balancer is decoding the connection. So even if the load balancer is
decoding the connection I still have to have SSLEnabled=true? However if
I do, does this not make Tomcat try and decode the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Özgür,
On 6/25/2010 12:21 PM, Ozgur Ozdemircili wrote:
I probably wont be able to get the one close to crash but the jstack.out
in the attached file contains the output while the applicaction is
receiving requests.
Hope it will be more helpful.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 6/25/2010 12:44 PM, Pid wrote:
On 25/06/2010 17:02, Christopher Schultz wrote:
All,
While reading another thread (What's going on ... ?), I started to
think about how inconvenient it is to have to put your JDBC driver into
the server's
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 6/25/2010 12:47 PM, Caldarale, Charles R wrote:
From: laredotornado [mailto:laredotorn...@gmail.com]
Subject: Re: Servlet mapping issue
Did you mean to say, call it WITHOUT the params at the end?
No, leave the params in, but omit the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
On 6/24/2010 1:29 PM, laredotornado wrote:
But visiting the URL
http://mydomain.com/context-path/play/music/includes/venue-listing.jsp?id=3type=venues
gives a 404.
Just a thought: are you sure it's the servlet that can't be found? Is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John-Paul,
On 6/25/2010 1:40 PM, John-Paul Ranaudo wrote:
Ok, so I am assuming I do not have to setup SSL (certificates etc) since my
load balancer is decoding the connection. So even if the load balancer is
decoding the connection I still have to
From: Aaron Clark [mailto:acl...@intellicominc.com]
Subject: RE: Apache Tomcat 6.0.18 on Windows Server 2008 R2 Changes RDP
Port
I don't understand how a bug in the OS would cause the RDP
port to change if (3rd Party Application A) is running.
We've seen on numerous occasions that Windows
From: Ozgur Ozdemircili [mailto:ozgur.ozdemirc...@gmail.com]
Subject: Re: Tomcat current thread count
I have gotten a thread dump using kill -3 .
Don't see anything wrong with the Tomcat threads. As Chris noted, they are all
just waiting for another request to show up, which is normal.
2010/6/23 Aaron Clark acl...@intellicominc.com:
1) Terminal Services starts listening on port 80 instead of 3380
2) We determined this by disabling Tomcat. The problem stopped. This is
happening on their website, so we would know it happens because customers
would call in saying the website
Konstantin Kolinko wrote:
2010/6/23 Aaron Clark acl...@intellicominc.com:
1) Terminal Services starts listening on port 80 instead of 3380
2) We determined this by disabling Tomcat. The problem stopped. This is
happening on their website, so we would know it happens because customers would
Do you think its more likey that its a bug in the OS, or the server has been
comprimised.
Aaron K. Clark
A+, Network+, CCNA
Intellicom, Inc
acl...@intellicominc.com
308-237-0684 x228 (Office)
308-440-5500 (Cell)
1700 2nd Ave
Kearney, Ne 68847
From: André
On 25/06/2010 21:49, Aaron Clark wrote:
Do you think its more likey that its a bug in the OS, or the server has been
comprimised.
The latter is easier to analyse, plenty of tools around to do that.
Or nuke the server and start over.
p
Aaron K. Clark
A+, Network+, CCNA
Intellicom, Inc
On 25/06/2010 19:06, Christopher Schultz wrote:
Pid,
On 6/25/2010 12:44 PM, Pid wrote:
On 25/06/2010 17:02, Christopher Schultz wrote:
All,
While reading another thread (What's going on ... ?), I started to
think about how inconvenient it is to have to put your JDBC driver into
the
On Jun 25, 2010, at 3:59 PM, Pid wrote:
Which part of the container hierarchy would the DataSource be attached to?
Wouldn't it make sense to scope it to the Context, since you'd be using the
webapp's classloader?
Jon Brisbin
Portal Webmaster
NPC International, Inc.
From: Jon Brisbin [mailto:jon.bris...@npcinternational.com]
Subject: Re: Self-Contained Web Applications
Wouldn't it make sense to scope it to the Context, since
you'd be using the webapp's classloader?
Correct. Note that the desired effect should be achievable by including
commons-dbcp
On 25/06/2010 22:29, Jon Brisbin wrote:
On Jun 25, 2010, at 3:59 PM, Pid wrote:
Which part of the container hierarchy would the DataSource be attached to?
Wouldn't it make sense to scope it to the Context, since you'd be using the
webapp's classloader?
We can define a DataSource inside
From: Pid [mailto:p...@pidster.com]
Subject: Re: Self-Contained Web Applications
We can define a DataSource inside a Context already, hook up a locally
configured Realm, and it'll use a driver from the web app ClassLoader,
which makes the app completely self contained.
I don't understand
From: Aaron Clark [mailto:acl...@intellicominc.com]
Subject: RE: Apache Tomcat 6.0.18 on Windows Server 2008 R2 Changes RDP
Port
The RDP port is in the registry. It's at
\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\
TerminalServer\WinStations\RDP-Tcp\PortNumber
Grumble... regedit
What is the criteria for send a BAD REQUEST (400) using extensively Mutithread
bulk calculation (50 per time) from TOMCAT with SQLSERVER?
For extensively, I understand as constantly and many times.
Server: CPU 2GHz 4 cores, Mem 8GB, (Linux Server K2.6.16.20 SMP)
Thanks for any help.
66 matches
Mail list logo