Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - peisch

Pages: [1]
1
Found the answer to this.  There's a lingering queuemetrics.xml file that persists after the update.  Removing it resolved the issue.

Code: [Select]
[root@tarn-test ~]# cd /usr/local/queuemetrics/
[root@tarn-test queuemetrics]# find . | grep queuemetrics.xml
./tomcat/conf/Catalina/localhost/queuemetrics.xml
[root@tarn-test queuemetrics]# cat tomcat/conf/Catalina/localhost/queuemetrics.xml
<?xml version='1.0' encoding='utf-8'?>
<Context docBase="/usr/local/queuemetrics/webapps/queuemetrics-1.7.1.6" path="/queuemetrics">
</Context>
[root@tarn-test queuemetrics]# rm tomcat/conf/Catalina/localhost/queuemetrics.xml
rm: remove regular file `tomcat/conf/Catalina/localhost/queuemetrics.xml'? y
[root@tarn-test queuemetrics]# /etc/init.d/queuemetrics start

2
Hi,

I'm trying to get the 1.7.x.y system to 13.x.  The yum update worked fine and my system now has:

queuemetrics-13.12.4-700
queuemetrics-tomcat-6.0.33-20
queuemetrics-java-1.6.0_22-21

The update also copied over the WEB-INF/web.xml and my mysql path is correct and the license key is preserved.  Catalina log entries look fine except for this:

Code: [Select]
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/queuemetrics/jdk1.6.0_22/jre/lib/i386/server:/usr/local/queuemetrics/jdk1.6.0_22/jre/lib/i386:/usr/local/queuemetrics/jdk1.6.0_22/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib

The localhost log shows me this:

Code: [Select]
Mar 2, 2014 11:52:50 AM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet LowayTransactionController as unavailable
Mar 2, 2014 11:52:50 AM org.apache.catalina.core.ApplicationContext log
SEVERE: Error loading WebappClassLoader
  context: /queuemetrics
  delegate: false
  repositories:
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@1808199
 it.loway.tpf.transaction.servlets.LowayTransactionController
java.lang.ClassNotFoundException: it.loway.tpf.transaction.servlets.LowayTransactionController
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1095)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:809)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
Mar 2, 2014 11:52:50 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet LowayTransactionController
java.lang.ClassNotFoundException: it.loway.tpf.transaction.servlets.LowayTransactionController
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1095)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:809)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)

i'm guessing that this isn't really going to work because request via http get me this:

Code: [Select]
HTTP Status 404 - /queuemetrics/

type Status report

message /queuemetrics/

description The requested resource (/queuemetrics/) is not available.

Apache Tomcat/6.0.33

What did I do wrong?  How can I either debug the issue or get the servlet to load?

Thanks!




Pages: [1]