Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
-none-

-none-

2007-09-06       - By Wm.A.Stafford

 Back
Alexey,
   Thanks for taking the time to reply.  I'll try all your suggestions
but I wanted to investigate the windows vs linux possibilities.  Does
the fact that this Tomcat behavior does not occur on the windows-based
development server offer any clue as to  what may be happening on the
linux server when Tomcat hangs?

Thanks again,
-=bill

Alexey Solofnenko wrote:
> There can be a simple problem with locking - see
> http://tomcat.apache.org/faq/windows.html#lock . On Linux the files
> are usually not locked, so you can get "class not found exception"
> when a jar file is replaced with a new one.
>
> Ask administrators to get the stack trace (and check if CPU is at 100%
> or not - maybe it is not a deadlock). Otherwise you can look for a
> problem for a very long time.
>
> You can also add try/catch with finite number of retries  around
> connection code. Please  also check that your application shuts down
> cleanly - no exceptions are thrown during shutdown (but they should be
> logged) and preferably there are no finally() methods.
>
> Wm.A.Stafford wrote:
>> Thanks Alexey.  Unfortunately, the server in question is not ours and
>> we do not even have log in on it, so any kind of sane analysis is
>> probably out of the question.
>> All we can do is try deploying another version with changes that will
>> either fix the problem (we hope) or yield some more information about
>> what is going on.
>>
>>
>> -=bill
>>
>> Alexey Solofnenko wrote:
>>> Everything is possible, but unlikely. Please try running server
>>> stack trace from
>>> http://tmitevski.users.mcs2.netarray.com/stacktrace/app/launch.jnlp
>>> to get a thread dump. It will show the list of threads and what
>>> locks they have acquired and what locks they are waiting for.
>>>
>>> - Alexey.
>>>
>>> Wm.A.Stafford wrote:
>>>> We are deploying a newer version of a web app to run in the same
>>>> Tomcat instance (1.4.31) as the existing version.  On our
>>>> development servers, winXP,  if the new version encounters a
>>>> startup problem the production app will start and only the new
>>>> version will fail.
>>>>
>>>> On the production server, which is linux, Tomcat seems to 'hang' on
>>>> the first failure encountered when starting the new app and nothing
>>>> further happens. Tomcat has to be restarted after deleting the new
>>>> app when it enters this state.  In the localhost log the last log
>>>> entry is the exception logged from the new app and there is no
>>>> further logging.  Since we have been doing some database changes
>>>> the usual error that causes this is Jakarta DBCP connection failure
>>>> but we have also seen it for a missing class file.  So I  don't
>>>> think the error per se is at the root of the problem.
>>>>
>>>> To me this looks like a deadlock.  Is it possible for one Tomcat
>>>> web application to deadlock with another? An obvious difference is
>>>> windows vs linux servers.  Could there be some config issue for
>>>> Tomcat on linux that would lead to this behavior?
>>>>
>>>> We are completely stumped by this, any ideas or suggestions would
>>>> be appreciated.
>>>>
>>>> -=bill
>>>>
>>>>
>>>> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>>>> To start a new topic, e-mail: users@(protected)
>>>> To unsubscribe, e-mail: users-unsubscribe@(protected)
>>>> For additional commands, e-mail: users-help@(protected)
>>>
>>
>>
>> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>> To start a new topic, e-mail: users@(protected)
>> To unsubscribe, e-mail: users-unsubscribe@(protected)
>> For additional commands, e-mail: users-help@(protected)
>


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.