Hello
I've installed a new server , with the tomcat that comes with the
mandrake 2007 RPM's . (tomcat 5.5.17)
when i load up my application and access the website i get multiple
errors like the one below , At first i thought it was due to the fact
that some of images are located on the loadbalancer proxy and the fact
that the server doesn't see them , but even after redirecting the
traffic via the proxy the error appeared.
Any one ever encountered this error before ?
I've added the error stack trace and the server .xml
Thank you
Assaf
2006-12-04 19:16:27,255 [main] DEBUG
org.apache.commons.modeler.Registry - Found
jar:file:/usr/share/java/tomcat5/catalina-5.5.17.jar!/org/apache/catalina/u
sers/mbeans-descriptors.xml
2006-12-04 19:16:27,264 [main] DEBUG
org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource - Reading
descriptors ( dom ) 8
...skipping...
) for servlet default threw exception
java.lang.NoSuchMethodError:
org.apache.naming.resources.ProxyDirContext.lookupCache(Ljava/lang/String;)Lorg/apache/naming/resources/CacheEntry;
at
org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:679)
at
org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:354)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at tap.web.TAPRequestFilter.doFilter(TAPRequestFilter.java:35)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
Server.xml looks like this :
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<GlobalNamingResources>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase" description="User
database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<!-- Define the Tomcat Stand-Alone Service -->
<Service name="Catalina">
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port
8080 -->
<Connector port="8080" maxThreads="150"
minSpareThreads="25" maxSpareThreads="75" enableLookups="false"
redirectPort="8443" acceptCount="100" debug="0"
connectionTimeout="20000" disableUploadTimeout="true"/>
<!-- Note : To use gzip compression you could set the
following properties :
compression="on"
compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml"
-->
<Connector port="8443" maxThreads="150"
minSpareThreads="25" maxSpareThreads="75" enableLookups="false"
disableUploadTimeout="true" acceptCount="100"
debug="0" />
<!-- Define the top level container in our container
hierarchy -->
<Engine name="Catalina" defaultHost="test.foo.com"
debug="0">
<Host name="test.foo.com" debug="0" appBase="/foo"
unpackWARs="true"
autoDeploy="true" xmlValidation="false"
xmlNamespaceAware="false">
<Valve
className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="test.foo.com_access_log."
suffix=".txt" pattern="common"
resolveHosts="false"/>
<Logger
className="org.apache.catalina.logger.FileLogger" directory="logs"
prefix="test.foo.com_log."
suffix=".txt" timestamp="true"/>
<Context path="" docBase="/TAPfoo"
debug="0" reloadable="true" crossContext="true">
<Manager sessionIdLength="15" />
<Resource
name="jdbc/foodb"
auth="Container"
type="javax.sql.DataSource"
driverClassName="org.postgresql.Driver"
url="jdbc:postgresql://xxx.xxx.xxx.xxx/foo"
username="postgres"
password=""
maxActive="20"
maxIdle="10"
maxWait="-1"
removeAbandoned="true"
removeAbandonedTimeout="60"
logAbandoned="true"
validationQuery="SELECT
id FROM currencies LIMIT 1"/>
<Realm
className="org.apache.catalina.realm.JAASRealm"
appName="TAP"
userClassNames="tap.login.TAPUser"
roleClassNames="tap.login.TAPRole"
/>
</Context>
</Host>
</Engine>
</Service>
</Server>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]