Hallo zusammen
Ich versuche eine .war applikation auf meiner DS414 zu starten.
DSM Version: DSM6.1.5-15254
Ich habe Tomcat7 installiert mit dem java8 Package, das verlangt wird.
Ich konnte das Archiv im manager-gui erfolgreich deployen, jedoch starten kann ich es nicht. Fehlermeldung:
FAIL - Application at context path /jjw could not be started
Hat jemand eine Idee, wo das Problem sein könnte? Ich bin mit meinem Latein am Ende und bin für jede Hilfe sehr dankbar :-(
Here are the log files from catalina.out and the jjw (application name) log.
vim catalina.out
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version: Apache Tomcat/7.0.82
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Sep 29 2017 12:23:15 UTC
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number: 7.0.82.0
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Linux
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 3.2.40
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: arm
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: /volume1/@appstore/Java8/j2sdk-image/jre
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 1.8.0_151-b12
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Oracle Corporation
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: /var/packages/Tomcat7/target/src
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: /var/packages/Tomcat7/target/src
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.config.file=/var/packages/Tomcat7/target/src/conf/logging.properties
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xms32m
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xmx252m
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=/var/packages/Tomcat7/target/src/endorsed
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=/var/packages/Tomcat7/target/src
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=/var/packages/Tomcat7/target/src
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.io.tmpdir=/var/packages/Tomcat7/target/src/temp
Feb 20, 2018 11:10:56 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/aarch32:/lib:/usr/lib
Feb 20, 2018 11:10:56 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-7070"]
Feb 20, 2018 11:10:57 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Feb 20, 2018 11:10:57 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3545 ms
Feb 20, 2018 11:10:57 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Feb 20, 2018 11:10:57 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.82
Feb 20, 2018 11:10:57 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /volume1/webtomcat/docs
Feb 20, 2018 11:10:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /volume1/webtomcat/docs has finished in 1,789 ms
Feb 20, 2018 11:10:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /volume1/webtomcat/host-manager
Feb 20, 2018 11:10:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /volume1/webtomcat/host-manager has finished in 823 ms
Feb 20, 2018 11:10:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /volume1/webtomcat/manager
"catalina.out" 3060L, 254133C
vim jjw.log
2018-02-25 17:52:39,820 [JJW] FATAL [http-bio-7070-exec-6] de.jjw.webapp.listener.StartupListener.contextInitialized(95) | ---------------------------------------------------------------------------------------------------------------------------------------
2018-02-25 17:52:39,830 [JJW] FATAL [http-bio-7070-exec-6] de.jjw.webapp.listener.StartupListener.contextInitialized(97) |
2018-02-25 17:52:39,831 [JJW] FATAL [http-bio-7070-exec-6] de.jjw.webapp.listener.StartupListener.contextInitialized(98) |
2018-02-25 17:52:57,129 [JJW] WARN [http-bio-7070-exec-6] org.springframework.jdbc.support.SQLErrorCodesFactory.getErrorCodes(227) | Error while extracting database product name - falling back to empty error codes
org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:293)
at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:320)
at org.springframework.jdbc.support.SQLErrorCodesFactory.getErrorCodes(SQLErrorCodesFactory.java:214)
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.setDataSource(SQLErrorCodeSQLExceptionTranslator.java:141)
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.<init>(SQLErrorCodeSQLExceptionTranslator.java:104)
at org.springframework.orm.hibernate3.SessionFactoryUtils.newJdbcExceptionTranslator(SessionFactoryUtils.java:145)
at org.springframework.orm.hibernate3.HibernateAccessor.getDefaultJdbcExceptionTranslator(HibernateAccessor.java:453)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:410)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:912)
at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:904)
at de.jjw.dao.hibernate.LookupDaoHibernate.getRoles(LookupDaoHibernate.java:53)
at de.jjw.service.impl.LookupManagerImpl.getAllRoles(LookupManagerImpl.java:62)
at de.jjw.webapp.listener.StartupListener.setupContext(StartupListener.java:164)
at de.jjw.webapp.listener.StartupListener.contextInitialized(StartupListener.java:110)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5110)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5633)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1015)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:991)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1127)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:593)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1815)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1506)
at org.apache.catalina.manager.HTMLManagerServlet.upload(HTMLManagerServlet.java:278)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:198)
.
.
.
.
.
.
Ich versuche eine .war applikation auf meiner DS414 zu starten.
DSM Version: DSM6.1.5-15254
Ich habe Tomcat7 installiert mit dem java8 Package, das verlangt wird.
Ich konnte das Archiv im manager-gui erfolgreich deployen, jedoch starten kann ich es nicht. Fehlermeldung:
FAIL - Application at context path /jjw could not be started
Hat jemand eine Idee, wo das Problem sein könnte? Ich bin mit meinem Latein am Ende und bin für jede Hilfe sehr dankbar :-(
Here are the log files from catalina.out and the jjw (application name) log.
vim catalina.out
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version: Apache Tomcat/7.0.82
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Sep 29 2017 12:23:15 UTC
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number: 7.0.82.0
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Linux
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 3.2.40
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: arm
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: /volume1/@appstore/Java8/j2sdk-image/jre
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 1.8.0_151-b12
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Oracle Corporation
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: /var/packages/Tomcat7/target/src
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: /var/packages/Tomcat7/target/src
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.config.file=/var/packages/Tomcat7/target/src/conf/logging.properties
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xms32m
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xmx252m
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=/var/packages/Tomcat7/target/src/endorsed
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=/var/packages/Tomcat7/target/src
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=/var/packages/Tomcat7/target/src
Feb 20, 2018 11:10:56 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.io.tmpdir=/var/packages/Tomcat7/target/src/temp
Feb 20, 2018 11:10:56 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/aarch32:/lib:/usr/lib
Feb 20, 2018 11:10:56 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-7070"]
Feb 20, 2018 11:10:57 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Feb 20, 2018 11:10:57 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3545 ms
Feb 20, 2018 11:10:57 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Feb 20, 2018 11:10:57 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.82
Feb 20, 2018 11:10:57 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /volume1/webtomcat/docs
Feb 20, 2018 11:10:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /volume1/webtomcat/docs has finished in 1,789 ms
Feb 20, 2018 11:10:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /volume1/webtomcat/host-manager
Feb 20, 2018 11:10:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /volume1/webtomcat/host-manager has finished in 823 ms
Feb 20, 2018 11:10:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /volume1/webtomcat/manager
"catalina.out" 3060L, 254133C
vim jjw.log
2018-02-25 17:52:39,820 [JJW] FATAL [http-bio-7070-exec-6] de.jjw.webapp.listener.StartupListener.contextInitialized(95) | ---------------------------------------------------------------------------------------------------------------------------------------
2018-02-25 17:52:39,830 [JJW] FATAL [http-bio-7070-exec-6] de.jjw.webapp.listener.StartupListener.contextInitialized(97) |
2018-02-25 17:52:39,831 [JJW] FATAL [http-bio-7070-exec-6] de.jjw.webapp.listener.StartupListener.contextInitialized(98) |
2018-02-25 17:52:57,129 [JJW] WARN [http-bio-7070-exec-6] org.springframework.jdbc.support.SQLErrorCodesFactory.getErrorCodes(227) | Error while extracting database product name - falling back to empty error codes
org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:293)
at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:320)
at org.springframework.jdbc.support.SQLErrorCodesFactory.getErrorCodes(SQLErrorCodesFactory.java:214)
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.setDataSource(SQLErrorCodeSQLExceptionTranslator.java:141)
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.<init>(SQLErrorCodeSQLExceptionTranslator.java:104)
at org.springframework.orm.hibernate3.SessionFactoryUtils.newJdbcExceptionTranslator(SessionFactoryUtils.java:145)
at org.springframework.orm.hibernate3.HibernateAccessor.getDefaultJdbcExceptionTranslator(HibernateAccessor.java:453)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:410)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:912)
at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:904)
at de.jjw.dao.hibernate.LookupDaoHibernate.getRoles(LookupDaoHibernate.java:53)
at de.jjw.service.impl.LookupManagerImpl.getAllRoles(LookupManagerImpl.java:62)
at de.jjw.webapp.listener.StartupListener.setupContext(StartupListener.java:164)
at de.jjw.webapp.listener.StartupListener.contextInitialized(StartupListener.java:110)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5110)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5633)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1015)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:991)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1127)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:593)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1815)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1506)
at org.apache.catalina.manager.HTMLManagerServlet.upload(HTMLManagerServlet.java:278)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:198)
.
.
.
.
.
.