Shapira, Yoav wrote:
Hi,
Logs look fine. A couple of things: - 5.0.25 is not the latest stable release. Upgrade to 5.0.28 and try to
reproduce the problem.
- Strip away anything that's not essential. For example, if you don't
need them, remove the Tomcat examples, docs, admin, manager, balancer
webapps. Comment out any Connectors, Valves, Realms, and Resources that
you're not using from server.xml. This will help isolate the problem,
if any.
I did a complete new install of tomcat 5.0.28, in webaps dir: there are only
ROOT and my application.
I am doing some "stress" on the system but removing balancer (I did it anyway)
has caused an exception in catalina.out (is at the end of the mail).
Afer 200 queries the system is still alive... but it does not souds
encouraging for me. The crash was not easily reproducible.

======================== server.xml====================================
<Server port="8005" shutdown="SHUTDOWN" debug="0">
  <Service name="Catalina">
    <Connector port="8080"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               debug="0" connectionTimeout="20000"
               disableUploadTimeout="true" />
    <Engine name="Catalina" defaultHost="localhost" debug="0">
      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="catalina_log." suffix=".txt"
              timestamp="true"/>
      <Host name="localhost" debug="0" appBase="webapps"
              unpackWARs="true" autoDeploy="true"
              xmlValidation="false" xmlNamespaceAware="false">
        <Logger className="org.apache.catalina.logger.FileLogger"
                directory="logs"  prefix="localhost_log." suffix=".txt"
                timestamp="true"/>
        <Context path="/GuiDeBook" docBase="GuiDeBook" debug="5" reloadable="true" />
      </Host>
    </Engine>
  </Service>
</Server>
=========================================================================

What JDK are you using, and if there are any Mac OS-level patches
required for it, are they installed?  Is there a core dump file and/or
and hs_err_xxxx file in the running directory of the JVM when it
crashes?  The latter two would indicate an internal JVM crash (not a
Tomcat problem).
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-141.3)
Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode)

the lastest available.

I did a "find / -name "hs_err*" " (and the same with "core" or "dump")
but I can't find any file.
I don't how I can determine the running directory of the JVM.


Thanks a lot for your help, if I can do more tests please tell me how.

Tank you again
Edoardo Panfili






==================== catalina.out [part]================== GRAVE: Error starting static Resources java.lang.IllegalArgumentException: Document base /usr/local/tomcat/webapps/balancer does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3910) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4138) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256) at org.apache.commons.digester.Rule.end(Rule.java:276) at org.apache.commons.digester.Digester.endElement(Digester.java:1058) at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1567) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488) at org.apache.catalina.core.StandardHost.install(StandardHost.java:863) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to