Re: Re: Error at tomcat start up

2005-05-22 Thread tushar S Kulkarni
Thanks for your email! 

no my web.xml doesnt have 331 lines. I had added entire web.xml in previous 
email. 
I have created a dir called jsfApp under webapps and have set this context. 
so will any other application cause problem? 

Thanks 


On Sun, 22 May 2005 Shinji Miyamoto wrote :
Hi,


The error say that web-app element is invlid for DTD.
The order of child elements of web-app is not correct, maybe.

But your web.xml seem correct.

 SEVERE: Parse Error at line 331 column 11:

Does your web.xml have 331 lines?
I think the error is cause by other web application.


---
Shinji Miyamoto
[EMAIL PROTECTED]



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





RE: Error at tomcat start up

2005-05-22 Thread Dale, Matt

The error may be in your main tomcat web.xml rather than your webapps as it 
appears to be at line 331 and your webapp web.xml does not have that many lines.

Ta
Matt

-Original Message-
From: tushar S Kulkarni [mailto:[EMAIL PROTECTED]
Sent: 21 May 2005 19:10
To: tomcat-user@jakarta.apache.org
Subject: Error at tomcat start up


Hi All,
I am getting following error at tomcat start up.

Nov 6, 2000 3:27:04 PM org.apache.struts.util.PropertyMessageResources init
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', retur
nNull=true
Nov 6, 2000 3:27:13 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 331 column 11: The content of element type web-app
 must match (icon?,display-name?,description?,distributable?,context-param*,fil
ter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-ma
pping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se
curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-re
f*).
org.xml.sax.SAXParseException: The content of element type web-app must match
(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-
mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welco
me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-const
raint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*).
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown S
ource)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.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:1548)
at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCo
nfig.java:282)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:63
9)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:243)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
587)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)

at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:307)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:788)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:559)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:358)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:219
0)

Here is web.xml
?xml version=1.0?
!DOCTYPE web-app PUBLIC
  -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
  http://java.sun.com/dtd/web-app_2_3.dtd;

web-app 
display-nameJavaServer Faces Guess Number Sample Application
 /display-name
 description
 JavaServer Faces Guess Number Sample Application
 /description
 
 context-param
 param-namejavax.faces.STATE_SAVING_METHOD/param-name
 param-valueclient/param-value
 /context-param
 
 context-param
 param-namejavax.faces.application.CONFIG_FILES/param-name
 param-value/WEB-INF/faces-config.xml

Re: RE: Error at tomcat start up

2005-05-22 Thread tushar S Kulkarni
  Hi 
Thanks for your email, problem is sorted out, it was due to another web.xml 
which was not in order.



On Sun, 22 May 2005 Dale,Matt wrote :

The error may be in your main tomcat web.xml rather than your webapps as it 
appears to be at line 331 and your webapp web.xml does not have that many 
lines.

Ta
Matt

-Original Message-
 From: tushar S Kulkarni [mailto:[EMAIL PROTECTED]
Sent: 21 May 2005 19:10
To: tomcat-user@jakarta.apache.org
Subject: Error at tomcat start up


Hi All,
I am getting following error at tomcat start up.

Nov 6, 2000 3:27:04 PM org.apache.struts.util.PropertyMessageResources init
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', 
retur
nNull=true
Nov 6, 2000 3:27:13 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 331 column 11: The content of element type 
web-app
  must match 
 (icon?,display-name?,description?,distributable?,context-param*,fil
ter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-ma
pping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se
curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-re
f*).
org.xml.sax.SAXParseException: The content of element type web-app must match
(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-
mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welco
me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-const
raint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*).
 at 
 org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known Source)
 at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
 at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
 at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
 at 
 org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown S
ource)
 at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown 
 Source)

 at 
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
Unknown Source)
 at 
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
 at 
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.DTDConfiguration.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:1548)
 at 
 org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCo
nfig.java:282)
 at 
 org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:63
9)
 at 
 org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:243)
 at 
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
 at 
 org.apache.catalina.core.StandardContext.start(StandardContext.java:3
587)
 at 
 org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:821)
 at 
 org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
 at 
 org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)

 at 
 org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:307)
 at 
 org.apache.catalina.core.StandardHost.install(StandardHost.java:788)
 at 
 org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:559)
 at 
 org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401
)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
 at 
 org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:358)
 at 
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
 at 
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)

 at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
 at 
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)

 at 
 org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363
)
 at 
 org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
 at 
 org.apache.catalina.core.StandardServer.start(StandardServer.java:219
0)

Here is web.xml
?xml version=1.0?
!DOCTYPE web-app PUBLIC
   -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
   http://java.sun.com/dtd/web-app_2_3.dtd;

web-app
display-nameJavaServer Faces Guess Number Sample Application
  /display-name
  description
  JavaServer Faces Guess Number Sample Application

Error at tomcat start up

2005-05-21 Thread tushar S Kulkarni
Hi All,
I am getting following error at tomcat start up.

Nov 6, 2000 3:27:04 PM org.apache.struts.util.PropertyMessageResources init
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', retur
nNull=true
Nov 6, 2000 3:27:13 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 331 column 11: The content of element type web-app
 must match (icon?,display-name?,description?,distributable?,context-param*,fil
ter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-ma
pping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se
curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-re
f*).
org.xml.sax.SAXParseException: The content of element type web-app must match
(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-
mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welco
me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-const
raint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*).
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown S
ource)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.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:1548)
at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCo
nfig.java:282)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:63
9)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:243)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
587)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)

at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:307)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:788)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:559)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:358)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:219
0)

Here is web.xml
?xml version=1.0?
!DOCTYPE web-app PUBLIC
  -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
  http://java.sun.com/dtd/web-app_2_3.dtd;

web-app 
display-nameJavaServer Faces Guess Number Sample Application
 /display-name
 description
 JavaServer Faces Guess Number Sample Application
 /description
 
 context-param
 param-namejavax.faces.STATE_SAVING_METHOD/param-name
 param-valueclient/param-value
 /context-param
 
 context-param
 param-namejavax.faces.application.CONFIG_FILES/param-name
 param-value/WEB-INF/faces-config.xml/param-value
 /context-param
 
context-param
 param-namecom.sun.faces.validateXml/param-name
 param-valuetrue/param-value
 /context-param
listener
 listener-classcom.sun.faces.config.ConfigListener/listener-class
 /listener
 
 !-- Faces Servlet --
 servlet
 servlet-nameFaces Servlet/servlet-name
 servlet-classjavax.faces.webapp.FacesServlet

Re: Error at tomcat start up

2005-05-21 Thread Shinji Miyamoto
Hi,


The error say that web-app element is invlid for DTD.
The order of child elements of web-app is not correct, maybe.

But your web.xml seem correct.

SEVERE: Parse Error at line 331 column 11: 

Does your web.xml have 331 lines?
I think the error is cause by other web application.


---
Shinji Miyamoto
[EMAIL PROTECTED]



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



RE: org.apache.commons.digester.Digester error--- at tomcat start up...

2004-09-30 Thread Phillip Qin
Move resource-ref down to the end. You have to follow the order of each
element.

-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] 
Sent: September 30, 2004 9:39 AM
To: Tomcat Users List
Subject: org.apache.commons.digester.Digester error--- at tomcat startup...


I added some elements in web.xml on linux machine and i get this error, but
i cannot see any problem with web.xml, the same web.xml works fine on
windows...below is my web.xml...can someone please suggest


Sep 30, 2004 9:03:31 AM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 26 column 11: The content of element type
web-app must match
(icon?,display-name?,description?,distributable?,context-param*,filter*,fil
ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mappin
g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se
curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-loca
l-ref*).
org.xml.sax.SAXParseException: The content of element type web-app must
match
(icon?,display-name?,description?,distributable?,context-param*,filter*,fil
ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mappin
g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se
curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-loca
l-ref*).
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHand
lerWrapper.java:236)
at
org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:17
2)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:38
0)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:31
4)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.
java:2049)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:9
33)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocu
mentFragmentScannerImpl.java:1083)


web.xml...
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app

display-nameMyPub XmlRpc/display-name
description
  This is the container to hold the MLRPC calls
/description
resource-ref
descriptionDB Connection/description
res-ref-namejdbc/mydb/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
servlet
servlet-nameXmlRpcServlet/servlet-name
servlet-classXmlRpcServlet/servlet-class
/servlet
servlet-mapping
servlet-nameXmlRpcServlet/servlet-name
url-pattern/rpc/url-pattern
/servlet-mapping
 /web-app
~


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


!DSPAM:415c0db286331880812122!


RE: at the tomcat start up...log4j error..

2004-09-11 Thread Shilpa Nalgonda
Thanks a lot jake it works.

-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 11, 2004 1:43 AM
To: Tomcat Users List
Subject: Re: at the tomcat start up...log4j error..


At 05:21 PM 9/10/2004 -0400, you wrote:
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.D
igester).
log4j:WARN Please initialize the log4j system properly.
Starting service Tomcat-Standalone

I am getting the above error as the tomcat starts up, i hav elog4j.jar
under
commom/lib and log4j.proprties
under webapps/myapps/WEB-INF/lib... any clue..

Tomcat itself won't see the log4j.properties in your webapp.  There are two
issues here:

1.  Log4j tries to perform autoconfiguration at Tomcat startup and isn't
finding a config file.  The solution here is to put a simple
log4j.properties or log4j.xml file in common/classes

2.  Log4j won't perform automatic configuration for your webapp since the
one in common/lib can't see WEB-INF/classes.  In this case, there are a few
different solutions
a.  add a copy of log4j.jar to WEB-INF/lib and your config file to
WEB-INF/classes and autoconfiguration will happen and only affect your
webapp logging.

b.  perform manual configuration at webapp startup and provide Log4j
with the URL of the config file.  However, keep in mind that this will
configure logging not only for your webapp, but also for any other app that
is using Log4j.  This is because Log4j is global to all apps.  The solution
is to do as described in a or do c below...

c.  use a repository selector so that Log4j can be global, but use a
separate logger repository for each application.  This is certainly more
complex than a, but it is a good option.  See more here...
http://wiki.apache.org/logging-log4j/AppContainerLogging

If you check out the log4j-sandbox code mentioned at that link, make sure
to checkout the 0_3_alpha tag, as there are certain files that are required
that were removed from the HEAD branch because they were moved into
Log4j-1.3 HEAD.

Jake


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


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



at the tomcat start up...log4j error..

2004-09-10 Thread Shilpa Nalgonda
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.D
igester).
log4j:WARN Please initialize the log4j system properly.
Starting service Tomcat-Standalone

I am getting the above error as the tomcat starts up, i hav elog4j.jar under
commom/lib and log4j.proprties
under webapps/myapps/WEB-INF/lib... any clue..



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



Re: at the tomcat start up...log4j error..

2004-09-10 Thread Jacob Kjome
At 05:21 PM 9/10/2004 -0400, you wrote:
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.D
igester).
log4j:WARN Please initialize the log4j system properly.
Starting service Tomcat-Standalone
I am getting the above error as the tomcat starts up, i hav elog4j.jar under
commom/lib and log4j.proprties
under webapps/myapps/WEB-INF/lib... any clue..
Tomcat itself won't see the log4j.properties in your webapp.  There are two 
issues here:

1.  Log4j tries to perform autoconfiguration at Tomcat startup and isn't 
finding a config file.  The solution here is to put a simple 
log4j.properties or log4j.xml file in common/classes

2.  Log4j won't perform automatic configuration for your webapp since the 
one in common/lib can't see WEB-INF/classes.  In this case, there are a few 
different solutions
   a.  add a copy of log4j.jar to WEB-INF/lib and your config file to 
WEB-INF/classes and autoconfiguration will happen and only affect your 
webapp logging.

   b.  perform manual configuration at webapp startup and provide Log4j 
with the URL of the config file.  However, keep in mind that this will 
configure logging not only for your webapp, but also for any other app that 
is using Log4j.  This is because Log4j is global to all apps.  The solution 
is to do as described in a or do c below...

   c.  use a repository selector so that Log4j can be global, but use a 
separate logger repository for each application.  This is certainly more 
complex than a, but it is a good option.  See more here...
http://wiki.apache.org/logging-log4j/AppContainerLogging

If you check out the log4j-sandbox code mentioned at that link, make sure 
to checkout the 0_3_alpha tag, as there are certain files that are required 
that were removed from the HEAD branch because they were moved into 
Log4j-1.3 HEAD.

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


Tomcat start-up

2004-05-19 Thread Hollerman Geralyn M
I started up my Tomcat 5.0.16 server the other afternoon at about 4pm. A few 
hours later, I happened to look at the log, and found these entries:

May 18, 2004 6:42:47 PM org.apache.struts.util.PropertyMessageResources init
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', 
returnNull=true
May 18, 2004 6:42:47 PM org.apache.struts.util.PropertyMessageResources init
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
May 18, 2004 6:42:47 PM org.apache.struts.util.PropertyMessageResources init
INFO: Initializing, config='org.apache.struts.taglib.bean.LocalStrings', 
returnNull=true
May 18, 2004 6:42:47 PM org.apache.struts.util.PropertyMessageResources init
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', 
returnNull=true

They appear to be perfectly normal initialization messages - but I'm not using 
Struts. What caused them to appear a few hours after I had started the server, 
rather than at startup with all the other initialization messages? Does this 
indicate a problem, or can I safely disregard these?

Thanks!
--
Lynn Hollerman.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat start-up

2004-05-19 Thread Shapira, Yoav

Hi,
You can safely disregard them.  If you use the Admin webapp, you're
using Struts ;)

To configure tomcat to not output these, see
http://jakarta.apache.org/tomcat/faq/misc.html#commonsLoggingLog4j.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Hollerman Geralyn M [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 10:50 AM
To: Tomcat Users List
Subject: Tomcat start-up

I started up my Tomcat 5.0.16 server the other afternoon at about 4pm.
A
few
hours later, I happened to look at the log, and found these entries:

May 18, 2004 6:42:47 PM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing,
config='org.apache.struts.taglib.html.LocalStrings',
returnNull=true
May 18, 2004 6:42:47 PM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
May 18, 2004 6:42:47 PM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing,
config='org.apache.struts.taglib.bean.LocalStrings',
returnNull=true
May 18, 2004 6:42:47 PM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing,
config='org.apache.struts.taglib.html.LocalStrings',
returnNull=true

They appear to be perfectly normal initialization messages - but I'm
not
using
Struts. What caused them to appear a few hours after I had started the
server,
rather than at startup with all the other initialization messages? Does
this
indicate a problem, or can I safely disregard these?

Thanks!
--
Lynn Hollerman.

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




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: Tomcat start-up

2004-05-19 Thread Daniel Gibby
I was wondering about this as well... thanks for that info. I think I'll 
disable the admin webapp since I only use the manager webapp and my own.

Shapira, Yoav wrote:
Hi,
You can safely disregard them.  If you use the Admin webapp, you're
using Struts ;)
To configure tomcat to not output these, see
http://jakarta.apache.org/tomcat/faq/misc.html#commonsLoggingLog4j.
Yoav Shapira
Millennium Research Informatics
 

-Original Message-
From: Hollerman Geralyn M [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 10:50 AM
To: Tomcat Users List
Subject: Tomcat start-up
I started up my Tomcat 5.0.16 server the other afternoon at about 4pm.
   

A
 

few
hours later, I happened to look at the log, and found these entries:
May 18, 2004 6:42:47 PM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing,
   

config='org.apache.struts.taglib.html.LocalStrings',
 

returnNull=true
May 18, 2004 6:42:47 PM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
May 18, 2004 6:42:47 PM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing,
   

config='org.apache.struts.taglib.bean.LocalStrings',
 

returnNull=true
May 18, 2004 6:42:47 PM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing,
   

config='org.apache.struts.taglib.html.LocalStrings',
 

returnNull=true
They appear to be perfectly normal initialization messages - but I'm
   

not
 

using
Struts. What caused them to appear a few hours after I had started the
server,
rather than at startup with all the other initialization messages? Does
this
indicate a problem, or can I safely disregard these?
Thanks!
--
Lynn Hollerman.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


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


tomcat start up at boot time

2004-03-09 Thread Lott, Carey
Howdy,
I'm hoping one or more of you can help me with this.  I am running Tomcat
4.1.27 as a standalone webserver / servlet container on HP-UX 11.  It starts
fine when it is executed from the command-line.  However, when it executes
at server boot time it starts and runs for about 3 minutes and then it
stops.  The logs do not provide any data as to why it stops.  It just shows
stop procedures taking place.  The process is set up in platform to execute
as a non-root user.  The environment variables are set up.  Permissions are
correct.  Also the process will start as root at boot time without errors.  
I'd love any ideas you might have about the problem.
 
Thanks,
Carey


Re: tomcat start up at boot time

2004-03-09 Thread Chris Boyce
Just an idea, but would running the startup in a nohup help?

It seemed to help me when Tomcat would mysteriously shutdown (run from
the command line).

On Tue, 2004-03-09 at 13:49, Lott, Carey wrote:
 Howdy,
 I'm hoping one or more of you can help me with this.  I am running Tomcat
 4.1.27 as a standalone webserver / servlet container on HP-UX 11.  It starts
 fine when it is executed from the command-line.  However, when it executes
 at server boot time it starts and runs for about 3 minutes and then it
 stops.  The logs do not provide any data as to why it stops.  It just shows
 stop procedures taking place.  The process is set up in platform to execute
 as a non-root user.  The environment variables are set up.  Permissions are
 correct.  Also the process will start as root at boot time without errors.  
 I'd love any ideas you might have about the problem.
  
 Thanks,
 Carey
-- 
Chris Boyce
Berbee
5520 Research Park Drive, Madison WI  53711
608.298.1286 direct
608.288.3007 fax
www.berbee.com


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



Run my code at tomcat start up

2004-02-19 Thread pabhatia





Hi,

Can i run a code that listens to a socket and reply to those echo requests.
My Problem is that i want to start this when the tomcat starts.

regards
Pankaj




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



Problem at Tomcat Start up

2004-02-11 Thread amit varshney
I am working on Redhat Linux 9 I am using Oracle 9I for JdBc Realm for user 
authentication.the tomcat server could not started. I am getting the  
following error message in Catalina.out.





Feb 11, 2004 4:25:54 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Feb 11, 2004 4:25:54 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 7197 ms
Feb 11, 2004 4:25:55 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 11, 2004 4:25:55 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.18
java.lang.reflect.InvocationTargetException
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.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
Caused by: java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java)
at oracle.jdbc.driver.OracleConnection.init(OracleConnection.java)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:645)
at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:709)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1117)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:518)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
at org.apache.catalina.startup.Catalina.start(Catalina.java:598)
... 6 more
Feb 11, 2004 4:31:10 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Feb 11, 2004 4:31:11 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 6124 ms
Feb 11, 2004 4:31:11 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 11, 2004 4:31:11 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.18
java.lang.reflect.InvocationTargetException
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.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
Caused by: java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java)
at oracle.jdbc.driver.OracleConnection.init(OracleConnection.java)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:645)
at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:709)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1117)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:518)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
at org.apache.catalina.startup.Catalina.start(Catalina.java:598)
... 6 more





Thanks in advance

Amit
-
Still single? Click here to find the perfect match.

http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141

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



RE: Problem at Tomcat Start up

2004-02-11 Thread Francois JEANMOUGIN


From: amit varshney [mailto:[EMAIL PROTECTED]
 Caused by: java.lang.UnsatisfiedLinkError: no ocijdbc9 in
 java.library.path
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
   at java.lang.Runtime.loadLibrary0(Runtime.java:788)
   at java.lang.System.loadLibrary(System.java:834)
   at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java)
   at oracle.jdbc.driver.OracleConnection.init(OracleConnection.java)

Hi,

I really dislike Java error messages. I don't think you can find less useful output. 
END OF TROLL.

Anyway, this is not a tomcat issue. If I read it well, your Oracle JDBC driver is 
linked with a library (ocijdbc9). This library is not found in the java.library.path. 
Either fix your java.library.path or your Oracle client installation.

Hope this helps,

François.


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



Run Servlet on Tomcat Start-up.

2002-12-10 Thread vim m

Hi:

I would like to automatically run a servlet everytime my Tomcat server is restarted. 
Is there any way that could be done? 

Any pointers appreciated.

Thanks.

 



-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now


RE: Run Servlet on Tomcat Start-up.

2002-12-10 Thread Noel J. Bergman
See the load-on-startup element in the Servlet 2.3 specification.  There is
a commented out example in webapps/webdav/web-inf/web.xml.

--- Noel


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




RE: tomcat start up errors

2002-09-23 Thread Anthony Milbourne

Hi 

I had a problem involving errno = 146 (Connection refused).  It turned out
to be because I had an error in my workers.properties file.  Check that this
file only mentions connectors that you actually have.  Specifically: check
that there isn't config for the ajp14 connector in there.  Also check that
the port numbers in this file tally with the port numbers in server.xml.

Hope that helps,

Anthony.

 -Original Message-
 From: Kathleen Flores [SMTP:[EMAIL PROTECTED]]
 Sent: 20 September 2002 17:42
 To:   Tomcat Users List
 Subject:  tomcat start up errors
 
 
 
 Hi All,
 
 When I startup tomcat, I receive the following error multiple
 times...until
 what seems to be within 3 hours, tomcat stops running.  Hence, I need to
 restart tomcat every 3 hours - what a pai! =) Does anyone know what these
 error messages mean and how I can prevent this from happening ?
 
 
 [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
 NULL par
 ameter
 [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free,
 NULL p
 arameters
 [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
 NULL par
 ameter
 [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
 NULL par
 ameter
 [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free,
 NULL p
 arameters
 [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
 NULL par
 ameter
 [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free,
 NULL p
 arameters
 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
 
 
 Thanks,
 
 Kat
 
 
 
  ERG Group --
  The contents of this email and any attachments are confidential
  and may only be read by the intended recipient.
 -
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**


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




RE: tomcat start up errors

2002-09-22 Thread Sexton, George

Look around for files named hs_err_pidN.log. This is the crash log the
JVM will write when it falls over.

-Original Message-
From: Kathleen Flores [mailto:[EMAIL PROTECTED]]
Sent: 20 September, 2002 1:29 PM
To: Tomcat Users List
Subject: RE: tomcat start up errors



Thank you for your reply...

When this happens, the java process is not running tomcat.  And I just
verified that the only connector in server.xml is the AJPconnector.


Thanks again,

Kat



:::
Ahh, but you didn't say what JVM...

Seriously, the more complete the initial message is the more likely you are
to get a quick, accurate answer.

It looks to me like these errors are coming from mod_jk trying to connect
to
Tomcat, so they appear to be a symptom of another problem. Is the Java
process still running Tomcat when this happens? Does Tomcat accept
connections on another connector like the HTTP 1.0 connector?

If the JVM is crashing, you need to find the crash logs and troubleshoot
it.




 ERG Group --
 The contents of this email and any attachments are confidential
 and may only be read by the intended recipient.
-


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


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




tomcat start up errors

2002-09-20 Thread Kathleen Flores



Hi All,

When I startup tomcat, I receive the following error multiple times...until
what seems to be within 3 hours, tomcat stops running.  Hence, I need to
restart tomcat every 3 hours - what a pai! =) Does anyone know what these
error messages mean and how I can prevent this from happening ?


[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL par
ameter
[jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free,
NULL p
arameters
[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL par
ameter
[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL par
ameter
[jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free,
NULL p
arameters
[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL par
ameter
[jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free,
NULL p
arameters
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1


Thanks,

Kat



 ERG Group --
 The contents of this email and any attachments are confidential
 and may only be read by the intended recipient.
-


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




RE: tomcat start up errors

2002-09-20 Thread Sexton, George

In order for you to get the help you would really like, it would be helpful
if you could read this article and repost your question.

http://www.tuxedo.org/~esr/faqs/smart-questions.html

George Sexton
MH Software, Inc.
Voice: 303 438 9585
http://www.mhsoftware.com


-Original Message-
From: Kathleen Flores [mailto:[EMAIL PROTECTED]]
Sent: 20 September, 2002 10:42 AM
To: Tomcat Users List
Subject: tomcat start up errors




Hi All,

When I startup tomcat, I receive the following error multiple times...until
what seems to be within 3 hours, tomcat stops running.  Hence, I need to
restart tomcat every 3 hours - what a pai! =) Does anyone know what these
error messages mean and how I can prevent this from happening ?


[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL par
ameter
[jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free,
NULL p
arameters
[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL par
ameter
[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL par
ameter
[jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free,
NULL p
arameters
[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL par
ameter
[jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free,
NULL p
arameters
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1


Thanks,

Kat



 ERG Group --
 The contents of this email and any attachments are confidential
 and may only be read by the intended recipient.
-


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


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




RE: tomcat start up errors

2002-09-20 Thread Kathleen Flores


Okay, so to append to my original email -

my system environment is...

tomcat v3.2.3 and apache v.1.3.26 both running on one server - a sun box
with solaris 9 os.

I hope that's better...sorry!

Best Regards,

Kat


 ERG Group --
 The contents of this email and any attachments are confidential
 and may only be read by the intended recipient.
-


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




RE: tomcat start up errors

2002-09-20 Thread Sexton, George

Ahh, but you didn't say what JVM...

Seriously, the more complete the initial message is the more likely you are
to get a quick, accurate answer.

It looks to me like these errors are coming from mod_jk trying to connect to
Tomcat, so they appear to be a symptom of another problem. Is the Java
process still running Tomcat when this happens? Does Tomcat accept
connections on another connector like the HTTP 1.0 connector?

If the JVM is crashing, you need to find the crash logs and troubleshoot it.

George Sexton
MH Software, Inc.
Voice: 303 438 9585
http://www.mhsoftware.com


-Original Message-
From: Kathleen Flores [mailto:[EMAIL PROTECTED]]
Sent: 20 September, 2002 11:35 AM
To: Tomcat Users List
Subject: RE: tomcat start up errors



Okay, so to append to my original email -

my system environment is...

tomcat v3.2.3 and apache v.1.3.26 both running on one server - a sun box
with solaris 9 os.

I hope that's better...sorry!

Best Regards,

Kat


 ERG Group --
 The contents of this email and any attachments are confidential
 and may only be read by the intended recipient.
-


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


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




RE: tomcat start up errors

2002-09-20 Thread Kathleen Flores


Thank you for your reply...

When this happens, the java process is not running tomcat.  And I just
verified that the only connector in server.xml is the AJPconnector.


Thanks again,

Kat


:::
Ahh, but you didn't say what JVM...

Seriously, the more complete the initial message is the more likely you are
to get a quick, accurate answer.

It looks to me like these errors are coming from mod_jk trying to connect
to
Tomcat, so they appear to be a symptom of another problem. Is the Java
process still running Tomcat when this happens? Does Tomcat accept
connections on another connector like the HTTP 1.0 connector?

If the JVM is crashing, you need to find the crash logs and troubleshoot
it.




 ERG Group --
 The contents of this email and any attachments are confidential
 and may only be read by the intended recipient.
-


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