#1 2013-11-24 10:10:04

zhans
Member
Registered: 2013-11-24

installation problem (Debian 7.2)

I tried to install ReportServer on my Linux Box (Debian lenny - 7.2, 64 bit, tomcat7, java7 oracle: java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
)

I configured everything due to install manual, but tomcat got errors:


Nov 24, 2013 10:59:18 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class net.datenwerke.rs.ReportServerServiceConfig
java.lang.UnsupportedClassVersionError: net/datenwerke/rs/ReportServerServiceConfig : Unsupported major.minor version 51.0 (unable to load class net.datenwerke.rs.ReportServerServiceConfig)
        at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2905)
        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1170)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
        at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)
        at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)
        at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:133)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4726)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5284)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:679)
Nov 24, 2013 10:59:18 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)

What's wrong with my installation? What did I do a wrong way?

Please give me advice or helpful tips.

Offline

#2 2013-11-24 10:54:50

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: installation problem (Debian 7.2)

Hello zhans,

the error indicates that your tomcat is not running Java 7. You can find out the actual java version
that your tomcat is using the manager app that is shipped with tomcat. As an alternative you could
try running "ps -ef | grep tomcat".

Also, have a look at http://stackoverflow.com/questions/5957 … 6-is-using

Hope this helps
Arno

Offline

#3 2013-11-24 13:47:42

zhans
Member
Registered: 2013-11-24

Re: installation problem (Debian 7.2)

Thank you your idea.
java + tomcat were a problem.


Before:

ps -ef | grep tomcat
tomcat7     2248       1  0 11:11 ?        00:00:39 /usr/lib/jvm/default-java/bin/java

After tomcat / catalina.sh reconfiguration:

tomcat7    11424       1 99 14:44 ?        00:00:45 /usr/lib/jvm/java-7-oracle/bin/java

Offline

Board footer

Powered by FluxBB