0
回答
S2JH install 成功, 但是 启动server 报错
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   

@S2JH 你好,想跟你请教个问题:

我按照相关的部署步骤,能成功编译了 s2jh, 但是, 第一次初始数据库启动server时,报错:

14, 2014 11:33:01 上午 com.springsource.tcserver.security.PropertyDecoder <init>
信息: tc Runtime property decoder using memory-based key
十一月 14, 2014 11:33:01 上午 com.springsource.tcserver.security.TcDecoder initCiphers
信息: Adding classpath: D:\Dev\sts-bundle\pivotal-tc-server-developer-3.0.0.RELEASE\tomcat-8.0.9.B.RELEASE/lib/security/com.springsource.org.bouncycastle.jce-1.46.0.jar to classloader
十一月 14, 2014 11:33:01 上午 com.springsource.tcserver.security.PropertyDecoder <init>
信息: tcServer Runtime property decoder has been initialized in 227 ms
十一月 14, 2014 11:33:02 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
十一月 14, 2014 11:33:02 上午 com.springsource.tcserver.serviceability.rmi.JmxSocketListener init
信息: Started up JMX registry on 127.0.0.1:6969 in 140 ms
十一月 14, 2014 11:33:02 上午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 901 ms
十一月 14, 2014 11:33:02 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
十一月 14, 2014 11:33:02 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Pivotal tc Runtime 3.0.0.RELEASE/8.0.9.B.RELEASE
十一月 14, 2014 11:33:02 上午 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor D:\Dev\sts-bundle\pivotal-tc-server-developer-3.0.0.RELEASE\base-instance\conf\Catalina\localhost\prototype.xml
十一月 14, 2014 11:33:02 上午 org.apache.catalina.startup.SetContextPropertiesRule begin
警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:prototype' did not find a matching property.
十一月 14, 2014 11:33:06 上午 org.apache.catalina.core.ContainerBase addChildInternal
严重: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/prototype]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1686)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NoClassDefFoundError: ServletContextEvent
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2688)
at java.lang.Class.getDeclaredMethods(Class.java:1962)
at org.apache.catalina.util.Introspection.getDeclaredMethods(Introspection.java:127)
at org.apache.catalina.startup.WebAnnotationSet.loadMethodsAnnotation(WebAnnotationSet.java:275)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:88)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:63)
at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:331)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:770)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:302)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5083)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 10 more
Caused by: java.lang.ClassNotFoundException: ServletContextEvent
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1324)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1177)
... 24 more


十一月 14, 2014 11:33:06 上午 org.apache.catalina.startup.HostConfig deployDescriptor
严重: Error deploying configuration descriptor D:\Dev\sts-bundle\pivotal-tc-server-developer-3.0.0.RELEASE\base-instance\conf\Catalina\localhost\prototype.xml
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/prototype]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:727)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1686)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:744)


十一月 14, 2014 11:33:06 上午 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deployment of configuration descriptor D:\Dev\sts-bundle\pivotal-tc-server-developer-3.0.0.RELEASE\base-instance\conf\Catalina\localhost\prototype.xml has finished in 3,691 ms
十一月 14, 2014 11:33:06 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\Dev\sts-bundle\pivotal-tc-server-developer-3.0.0.RELEASE\base-instance\webapps\manager
十一月 14, 2014 11:33:06 上午 org.apache.jasper.servlet.TldScanner scanJars
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
十一月 14, 2014 11:33:06 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\Dev\sts-bundle\pivotal-tc-server-developer-3.0.0.RELEASE\base-instance\webapps\manager has finished in 198 ms
十一月 14, 2014 11:33:06 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\Dev\sts-bundle\pivotal-tc-server-developer-3.0.0.RELEASE\base-instance\webapps\ROOT
十一月 14, 2014 11:33:06 上午 org.apache.jasper.servlet.TldScanner scanJars
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
十一月 14, 2014 11:33:06 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\Dev\sts-bundle\pivotal-tc-server-developer-3.0.0.RELEASE\base-instance\webapps\ROOT has finished in 114 ms
十一月 14, 2014 11:33:06 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
十一月 14, 2014 11:33:06 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 4046 ms


举报
ecota
发帖于3年前 0回/1K+阅
顶部