weblogic11g启动时报错

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/flypeace/article/details/84082055

今天在启动weblogic 11g时发现报如下错误:

 

java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cast to com.octetstring.vde.backend.standard.BackendStandard
at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:273)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

 

 

后经过查资料,发现是由于用 root用户启动过该domain导致,再用bea用户启动时会报该错误。后经过将 domain目录及其下所有文件都改成bea及其所属组,OK

 

展开阅读全文

Linux下weblogic11g报错

10-19

警告: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistryrn2011-10-19 13:53:19 weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeaturern严重: Failed to create WsdlDefinitionFeature for wsdl location: http://192.168.1.26:8081/CommonService?wsdl, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.rnrn这是什么警告阿,对程序运行有影响吗?rnrn<2011-10-19 下午02时01分19秒 CST> <[ServletContext@348436068[app:portal module:WebRoot path:/portal spec-version:null]] Servlet failed with Exceptionrnjava.lang.NullPointerExceptionrn at com.mixky.system.ContextHolder.getBean(ContextHolder.java:53)rn at com.mixky.engine.certification.MixkyUserCertification.instance(MixkyUserCertification.java:17)rn at com.softwarementors.extjs.djn.router.processor.standard.json.JsonRequestProcessor.process(JsonRequestProcessor.java:106)rn at com.softwarementors.extjs.djn.router.RequestRouter.processJsonRequest(RequestRouter.java:111)rn at com.softwarementors.extjs.djn.servlet.DirectJNgineServlet.doPost(DirectJNgineServlet.java:388)rn Truncated. see log file for complete stacktracern> rn我在Linux系统中用weblogic11g部署了一个项目,每次点击查看图片(把图片下载到本地再打开)时就这个报错误。接下来再操作其它的页面就报:rnError 500--Internal Server Errorrnrnjava.lang.NullPointerExceptionrn at com.mixky.system.ContextHolder.getBean(ContextHolder.java:53)rn at com.mixky.app.ApplicationParameters.instance(ApplicationParameters.java:39)rn at com.mixky.portal.action.PortalHomeAction.handleRequest(PortalHomeAction.java:22)rn at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)rn at com.mixky.spring.MixkyDispatcherServlet.doService(MixkyDispatcherServlet.java:25)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)rn at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)rn at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)rn at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)rn at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)rn at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)rn at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:159)rn at jsp_servlet.__index._jspService(__index.java:74)rn at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)rn at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)rn at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)rn at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)rn at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)rn at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)rn at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)rn at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)rn at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)rn at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)rn at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)rn at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)rn报错过程大概就是这样的,希望给予帮助。 论坛

tomcat启动时报错

11-03

我用的MyEclipse8.0 tomcat5.5.25 rn之前一直是好的 这2天开始就会在启动服务的时候报一下错:rn[code=Java]rn严重: IOException while loading persisted sessions: java.io.EOFExceptionrnjava.io.EOFExceptionrn at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)rn at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)rn at java.io.ObjectInputStream.readStreamHeader(Unknown Source)rn at java.io.ObjectInputStream.(Unknown Source)rn at org.apache.catalina.util.CustomObjectInputStream.(CustomObjectInputStream.java:58)rn at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)rn at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)rn at org.apache.catalina.session.StandardManager.start(StandardManager.java:637)rn at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:432)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4160)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)rn2010-11-3 11:10:57 org.apache.catalina.session.StandardManager startrn严重: Exception loading sessions from persistent storagernjava.io.EOFExceptionrn at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)rn at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)rn at java.io.ObjectInputStream.readStreamHeader(Unknown Source)rn at java.io.ObjectInputStream.(Unknown Source)rn at org.apache.catalina.util.CustomObjectInputStream.(CustomObjectInputStream.java:58)rn at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)rn at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)rn at org.apache.catalina.session.StandardManager.start(StandardManager.java:637)rn at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:432)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4160)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)rnlog4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).rn[/code]rn网上资料说是rn[code=Java]解决办法:将tomcat6.0\work\Catalina\localhost\peam\SESSIONS.ser删除。如果正常关闭服务端,该文件是自动删除的。[/code]rn但是在我的tomcat的localhost下 没有他说的这个文件 rn这该怎么解决?? 先谢谢了!!! 论坛

java 项目启动时报错

06-05

ERROR: 2013-06-05 16:13:39,266: ContextLoader[line:203: Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hlTerminal': Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/ws/EndpointReferencernCaused by: rnjava.lang.NoClassDefFoundError: javax/xml/ws/EndpointReferencern at java.lang.Class.getDeclaredConstructors0(Native Method)rn at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)rn at java.lang.Class.getDeclaredConstructors(Class.java:1836)rn at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:131)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:799)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:717)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:384)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn2013-6-5 16:13:39 org.apache.catalina.core.StandardContext listenerStartrn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hlTerminal': Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/ws/EndpointReferencernCaused by: java.lang.NoClassDefFoundError: javax/xml/ws/EndpointReferencern at java.lang.Class.getDeclaredConstructors0(Native Method)rn at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)rn at java.lang.Class.getDeclaredConstructors(Class.java:1836)rn at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:131)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:799)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:717)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:384)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 论坛

spark hadoop 启动时报错

04-19

node1日志rn17/04/19 10:54:03 INFO util.Utils: Successfully started service 'sparkWorker' on port 41001.rnException in thread "main" org.apache.spark.SparkException: Invalid master URL: spark://“master”:7077rn at org.apache.spark.util.Utils$.extractHostPortFromSparkUrl(Utils.scala:2358)rn at org.apache.spark.rpc.RpcAddress$.fromSparkURL(RpcAddress.scala:47)rn at org.apache.spark.deploy.worker.Worker$$anonfun$13.apply(Worker.scala:716)rn at org.apache.spark.deploy.worker.Worker$$anonfun$13.apply(Worker.scala:716)rn at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)rn at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)rn at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)rn at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)rn at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)rn at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:186)rn at org.apache.spark.deploy.worker.Worker$.startRpcEnvAndEndpoint(Worker.scala:716)rn at org.apache.spark.deploy.worker.Worker$.main(Worker.scala:696)rn at org.apache.spark.deploy.worker.Worker.main(Worker.scala)rnrnmaster,node1,node2 配置 slavesrn masterrn node1rn node2rnrnmasterrn spark-env.shrn export SCALA_HOME=/root/scala-2.11.8rn export JAVA_HOME=/usr/local/jdk1.8.0_121rn export HADOOP_HOME=/root/hadoop-2.7.3rn export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadooprn export SPARK_MASTER_IP=192.168.85.128rn export SPARK_LOCAL_DIRS=/root/spark-2.1.0-bin-hadoop2.7rn export SPARK_WORKER_MEMORY=20grn export SPARK_EXECUTOR_MEMORY=1grn export SPARK_DRIVER_MEMORY=1Grn export SPARK_WORKER_CORES=2rnrn node1rn export SCALA_HOME=/root/scala-2.11.8rn export JAVA_HOME=/root/jdk1.8.0_121rn export HADOOP_HOME=/root/hadoop-2.7.3rn export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadooprn export SPARK_MASTER_IP=192.168.85.128rn export SPARK_LOCAL_DIRS=/root/spark-2.1.0-bin-hadoop2.7rn export SPARK_WORKER_MEMORY=20grnrn node2rn export SCALA_HOME=/root/scala-2.11.8rn export JAVA_HOME=/root/jdk1.8.0_121rn export HADOOP_HOME=/root/hadoop-2.7.3rn export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadooprn export SPARK_MASTER_IP=192.168.85.128rn export SPARK_LOCAL_DIRS=/root/spark-2.1.0-bin-hadoop2.7rn export SPARK_WORKER_MEMORY=20grnrnrnrn 论坛

tomcat 启动时报错

06-24

2005-6-24 10:21:30 org.apache.catalina.session.StandardManager startrn服务器: Exception loading sessions from persistent storagernjava.lang.IllegalStateException: getAttribute: Session already invalidatedrn //// 就在这里,Session already invalidate,rn ////rn at org.apache.catalina.session.StandardSession.getAttribute(StandardSessrnion.java:982)rn at org.apache.catalina.session.StandardSession.activate(StandardSession.rnjava:756)rn at org.apache.catalina.session.StandardManager.doLoad(StandardManager.jarnva:453)rn at org.apache.catalina.session.StandardManager.load(StandardManager.javarn:377)rn at org.apache.catalina.session.StandardManager.start(StandardManager.javrna:691)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4rn029)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1127)rnrn at org.apache.catalina.core.StandardHost.start(StandardHost.java:792)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1127)rnrn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:502rn)rn at org.apache.catalina.core.StandardService.start(StandardService.java:5rn19)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:231rn1)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:578)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.rnjava:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesrnsorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:324)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:394)rnrnrnSession already invalidate,不知道为什么为报这个错,请各位大侠指点一下,谢谢了~ 论坛

求助!log4j启动时报错

03-06

failed ContextHandlerCollection@7fe429b1: java.lang.NoSuchMethodError: org.apache.log4j.LogManager.getLoggerRepository()Lorg/apache/log4j/spi/LoggerRepository;rnfailed HandlerCollection@5c6d650f: java.lang.NoSuchMethodError: org.apache.log4j.LogManager.getLoggerRepository()Lorg/apache/log4j/spi/LoggerRepository;rnError starting handlersrnjava.lang.NoSuchMethodError: org.apache.log4j.LogManager.getLoggerRepository()Lorg/apache/log4j/spi/LoggerRepository;rn at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:415)rn at org.springframework.util.Log4jConfigurer.initLogging(Log4jConfigurer.java:78)rn at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:154)rn at org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:49)rn at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)rn at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)rn at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272)rn at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)rn at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489)rn at org.gradle.api.plugins.jetty.internal.JettyPluginWebAppContext.doStart(JettyPluginWebAppContext.java:112)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)rn at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)rn at org.mortbay.jetty.Server.doStart(Server.java:224)rnrn启动报错,环境jdk7,spring4.2.3rnrn原来是好好的,但是增加了spring-websocket 4.2.3 后就会报这个错。rn是jar不兼容?还是因为log4j版本太低?rn如果spring-websocekt换成4.0.1就没有问题rnrn求指教 论坛

struts2启动时报错

08-05

2010-8-5 11:46:12 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\Java\jdk1.6.0_21\bin;.;D:\Windows\Sun\Java\bin;D:\Windows\system32;D:\Windows;D:/Program Files/Java/jdk1.6.0_21/bin/../jre/bin/client;D:/Program Files/Java/jdk1.6.0_21/bin/../jre/bin;,;D:\Program Files\Java\jdk1.6.0_21\bin;D:\Windows\system32;D:\Windows;D:\Windows\System32\Wbem;D:\Windows\System32\WindowsPowerShell\v1.0\;D:\TOOLS\bin;E:\bin;;D:\TOOLS\MySQL\bin;D:\MySQL\bin;E:\MySQL\bin;D:\Program Files\MySQL\MySQL Server 7.0\binrn2010-8-5 11:46:12 org.apache.tomcat.util.digester.SetPropertiesRule beginrn警告: [SetPropertiesRule]Server/Service/Engine/Host/Context Setting property 'source' to 'org.eclipse.jst.jee.server:StrutsOne' did not find a matching property.rn2010-8-5 11:46:13 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2010-8-5 11:46:13 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 623 msrn2010-8-5 11:46:13 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2010-8-5 11:46:13 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.28rn2010-8-5 11:46:13 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnjava.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:269)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)rn at org.apache.catalina.core.StandardService.start(StandardService.java:519)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:581)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn2010-8-5 11:46:13 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2010-8-5 11:46:13 org.apache.catalina.core.StandardContext startrn严重: Context [/StrutsOne] startup failed due to previous errorsrnrn请问一下这是什么错误啊? 论坛

tomcat启动时报错,急!

09-27

2009-9-27 17:29:11 org.apache.catalina.core.AprLifecycleListener initrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\Java\jdk1.6.0_10\jre\bin;D:\Program Files\apache-tomcat-6.0.14\binrn2009-9-27 17:29:11 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8888rn2009-9-27 17:29:11 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 668 msrn2009-9-27 17:29:11 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2009-9-27 17:29:11 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.14rn2009-9-27 17:29:12 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2009-9-27 17:29:12 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn2009-9-27 17:29:13 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts-default.xml]rn2009-9-27 17:29:13 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Unable to locate configuration files of the name struts-plugin.xml, skippingrn2009-9-27 17:29:13 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts-plugin.xml]rn2009-9-27 17:29:13 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts.xml]rn2009-9-27 17:29:13 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Loading global messages from messagern2009-9-27 17:29:14 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warnrn警告: Unable to load config class com.test.interceptor.MyInterceptor at interceptor - file:/D:/Program%20Files/apache-tomcat-6.0.14/webapps/struts2/WEB-INF/classes/struts.xml:14:79 probably due to a missing jar, which might be fine if you never plan to use the myInterceptor interceptorrn2009-9-27 17:29:14 com.opensymphony.xwork2.util.logging.commons.CommonsLogger errorrn严重: Actual exceptionrnCaught Exception while registering Interceptor class com.test.interceptor.MyInterceptor - interceptor - file:/D:/Program%20Files/apache-tomcat-6.0.14/webapps/struts2/WEB-INF/classes/struts.xml:14:79rn at org.apache.struts2.impl.StrutsObjectFactory.buildInterceptor(StrutsObjectFactory.java:77)rn at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:59)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:1092)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildInterceptorList(XmlConfigurationProvider.java:531)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:369)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:460)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:265)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:189)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:48)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: java.lang.ClassNotFoundException: com.test.interceptor.MyInterceptorrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:146)rn at com.opensymphony.xwork2.ObjectFactory.getClassInstance(ObjectFactory.java:96)rn at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:149)rn at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:139)rn at org.apache.struts2.impl.StrutsObjectFactory.buildInterceptor(StrutsObjectFactory.java:52)rn ... 40 morern2009-9-27 17:29:14 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8888rn2009-9-27 17:29:14 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2009-9-27 17:29:14 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/46 config=nullrn2009-9-27 17:29:14 org.apache.catalina.startup.Catalina startrn信息: Server startup in 3173 msrn 论坛

websphere启动时报错

01-16

最近客户要求网站换个服务器,于是我从现服务器上导了个ear包,在自己机子上建了个服务做测试,给果应用服务启动时报错rnI org.hibernate.connection.ConnectionProviderFactory Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProviderrn[09-1-16 9:04:14:578 CST] 1ed2e9aa JDBCException W org.hibernate.util.JDBCExceptionReporter SQL Error: 0, SQLState: nullrn[09-1-16 9:04:14:578 CST] 1ed2e9aa JDBCException E org.hibernate.util.JDBCExceptionReporter Cannot create PoolableConnectionFactory (ORA-12154: TNS: 无法解析指定的连接标识符rn)rn[09-1-16 9:04:14:578 CST] 1ed2e9aa SettingsFacto W org.hibernate.cfg.SettingsFactory Could not obtain connection metadatarn[09-1-16 9:04:14:578 CST] 1ed2e9aa SettingsFacto W org.hibernate.cfg.SettingsFactory TRAS0014I: 下列异常已记录 org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-12154: TNS: 无法解析指定的连接标识符rn)rn at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)rn at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)rn at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:80)rn at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)rn at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:800)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:726)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)rn at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)rn at com.ibm.ws.webcontainer.srt.WebGroup.notifyServletContextCreated(WebGroup.java:1698)rn at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:279)rn at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:387)rn at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:209)rn at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:987)rn at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)rn at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)rn at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:418)rn at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:787)rn at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:354)rn at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:575)rn at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:271)rn at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:488)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))rn at java.lang.reflect.Method.invoke(Method.java(Compiled Code))rn at com.tivoli.jmx.modelmbean.MMBInvoker.invoke(MMBInvoker.java:46)rn at com.tivoli.jmx.modelmbean.MMBInvoker.invokeOperation(MMBInvoker.java:115)rn at com.tivoli.jmx.modelmbean.DynamicModelMBeanSupport.invoke(DynamicModelMBeanSupport.java:409)rn at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:323)rn at com.tivoli.jmx.GenericMBeanSupport.invoke(GenericMBeanSupport.java:178)rn at com.tivoli.jmx.MBeanAccess.invoke(MBeanAccess.java:113)rn at com.tivoli.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:290)rn at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:659)rn at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:141)rn at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.perform(ApplicationDeploymentCollectionAction.java:315)rn at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1791)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)rn at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)rn at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)rnrn 论坛

tomcat启动时报错,java.lang.reflect.InvocationTargetException

08-29

请问各位这是什么问题啊rn 帮帮忙非常感谢rnrn严重: End event threw exceptionrnjava.lang.reflect.InvocationTargetExceptionrn at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.tomcat.util.IntrospectionUtils.callMethodN(IntrospectionUtils.java:930)rn at org.apache.catalina.startup.CallMethodMultiRule.end(WebRuleSet.java:760)rn at org.apache.tomcat.util.digester.Rule.end(Rule.java:229)rn at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1058)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1774)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)rn at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)rn at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:369)rn at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1062)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4238)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: java.lang.IllegalArgumentException: Invalid in servlet mappingrn at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2385)rn at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2361)rn ... 45 morern2009-8-29 11:04:02 org.apache.catalina.startup.ContextConfig applicationWebConfigrn严重: Parse error in application web.xml file at jndi:/localhost/servlet.myeclipse.bak/WEB-INF/web.xmlrnjava.lang.IllegalArgumentException: Invalid in servlet mappingrn at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2726)rn at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2752)rn at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1061)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1774)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)rn at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)rn at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:369)rn at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1062)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4238)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: java.lang.IllegalArgumentException: Invalid in servlet mappingrn at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2385)rn at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2361)rn at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.tomcat.util.IntrospectionUtils.callMethodN(IntrospectionUtils.java:930)rn at org.apache.catalina.startup.CallMethodMultiRule.end(WebRuleSet.java:760)rn at org.apache.tomcat.util.digester.Rule.end(Rule.java:229)rn at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1058)rn ... 38 morern2009-8-29 11:04:02 org.apache.catalina.startup.ContextConfig applicationWebConfigrn严重: Occurred at line 17 column 21rn2009-8-29 11:04:02 org.apache.catalina.startup.ContextConfig startrn严重: Marking this application unavailable due to previous error(s)rn2009-8-29 11:04:02 org.apache.catalina.core.StandardContext startrn严重: Error getConfiguredrn2009-8-29 11:04:02 org.apache.catalina.core.StandardContext startrn严重: Context [/servlet.myeclipse.bak] startup failed due to previous errorsrn2009-8-29 11:04:02 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2009-8-29 11:04:02 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2009-8-29 11:04:02 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/63 config=nullrn2009-8-29 11:04:02 org.apache.catalina.startup.Catalina startrn信息: Server startup in 3531 msrn 论坛

JBuilder2008启动时报错

10-22

JBuilder2008在启动时报错,提示让查看日志文件,到底是哪里出错了呢?请大家版帮忙,谢谢。rnrnrn日志文件如下:rn!SESSION 2008-10-22 14:14:07.765 -----------------------------------------------rneclipse.buildId=M20080221-1800 rnjava.version=1.5.0_12rnjava.vendor=Sun Microsystems Inc.rnBootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CNrnCommand-line arguments: -os win32 -ws win32 -arch x86rnrn!ENTRY org.eclipse.equinox.app 2008-10-22 14:15:08.546rn!MESSAGE Product com.borland.jbuilder.product could not be found.rnrn!ENTRY org.eclipse.osgi 4 0 2008-10-22 14:15:08.671rn!MESSAGE Application errorrn!STACK 1rnjava.lang.RuntimeException: No application id has been found.rn at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:236)rn at org.eclipse.equinox.internal.app.EclipseAppContainer.start(EclipseAppContainer.java:98)rn at org.eclipse.equinox.internal.app.Activator.addingService(Activator.java:112)rn at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)rn at org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)rn at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)rn at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)rn at org.eclipse.equinox.internal.app.Activator.start(Activator.java:54)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)rn at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)rn at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)rn at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)rn at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)rn at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)rn at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)rn at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)rn at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)rn at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)rn at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)rn at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)rn at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:251)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)rn at org.eclipse.core.internal.runtime.PlatformActivator.startAppContainer(PlatformActivator.java:47)rn at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:32)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)rn at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)rn at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)rn at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)rn at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)rn at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)rn at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)rn at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)rn at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)rn at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)rnrn!ENTRY org.eclipse.osgi 2 0 2008-10-22 14:15:09.234rn!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:rn!SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-22 14:15:09.234rn!MESSAGE Bundle update@plugins/org.eclipse.jdt.apt.pluggable.core_1.0.1.R33x_v20071002-2100.jar [440] was not resolved.rn!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-10-22 14:15:09.234rn!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.rn!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-10-22 14:15:09.234rn!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.rn!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-10-22 14:15:09.234rn!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.model_0.0.0.rn!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-10-22 14:15:09.234rn!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.util_0.0.0.rn!SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-22 14:15:09.234rn!MESSAGE Bundle update@plugins/org.eclipse.jdt.compiler.apt_1.0.1.R33x_v20071002-2100.jar [442] was not resolved.rn!SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2008-10-22 14:15:09.234rn!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.rn!SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-22 14:15:09.234rn!MESSAGE Bundle update@plugins/org.eclipse.jdt.compiler.tool_1.0.1.v_793_R33x.jar [443] was not resolved.rn!SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2008-10-22 14:15:09.234rn!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6rn!SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-22 14:15:09.234rn!MESSAGE Bundle update@plugins/org.mozilla.xulrunner.carbon.macosx_1.8.1.3-20070404/ [846] was not resolved.rn!SUBENTRY 2 org.mozilla.xulrunner.carbon.macosx 2 0 2008-10-22 14:15:09.234rn!MESSAGE Platform filter did not match: (& (osgi.ws=carbon) (osgi.os=macosx) (|(osgi.arch=x86)(osgi.arch=ppc)) )rn!SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-22 14:15:09.234rn!MESSAGE Bundle update@plugins/org.mozilla.xulrunner.gtk.linux.x86_1.8.1.3-20070404/ [847] was not resolved.rn!SUBENTRY 2 org.mozilla.xulrunner.gtk.linux.x86 2 0 2008-10-22 14:15:09.234rn!MESSAGE Platform filter did not match: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86))rn!SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-22 14:15:09.234rn!MESSAGE Bundle update@plugins/org.mozilla.xulrunner.win32.win32.x86_1.8.1.3-20070404/ [848] was not resolved.rn!SUBENTRY 2 org.mozilla.xulrunner.win32.win32.x86 2 0 2008-10-22 14:15:09.234rn!MESSAGE Another singleton version selected: org.mozilla.xulrunner.win32.win32.x86_1.8.1.3-20070904rn 论坛

没有更多推荐了,返回首页