[jboss-user] [Beginners Corner] - Error when starting Jboss after deploying jbossws
kgreen169
do-not-reply at jboss.com
Tue Jan 27 23:05:29 EST 2009
I just installed jboss 4.2.3 and deployed jbossws-native-3.0.5.GA. When I start jboss by calling %JBOSS_HOME%/bin/run I get multiple errors. I did try one thing since it looks like some jar files are not in the classpath. I copied jaxb_api.jar, jboss-jaxrpc.jar, jboss-jaxws.jar, jboss-saaj.jar from client to lib/endorsed (or maybe the other way around) because I read that some where.
Anyway if you could look at these error and let me know if you know what the problem is, I would much appreciate it. I just took a few lines from each error.
thanks for your time Kay
|
| 2009-01-27 04:37:40,283 ERROR [org.jboss.deployment.MainDeployer] Could not initialise deployment: file:/C:/jboss/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/
| java.lang.NoClassDefFoundError: javax/ejb/Stateless
| at org.jboss.ejb3.EJB3Util.isStateless(EJB3Util.java:42)
| at org.jboss.ejb3.EJB3Deployer.hasEjbAnnotation(EJB3Deployer.java:219)
| at org.jboss.ejb3.EJB3Deployer.accepts(EJB3Deployer.java:271)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
|
|
|
| 2009-01-27 04:37:43,548 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Using session cookies default setting
| 2009-01-27 04:37:44,006 ERROR [org.apache.tomcat.util.modeler.Registry] Null component jboss.web:type=JspMonitor,name=jsp,WebModule=//localhost/,J2EEApplication=none,J2EEServer=none
| 2009-01-27 04:37:44,011 ERROR [org.apache.tomcat.util.modeler.BaseModelMBean] Exception invoking method addChild
| java.lang.NoClassDefFoundError: javax/annotation/Resource
| at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:158)
| at
|
| at java.lang.Thread.run(Thread.java:595)
| 2009-01-27 04:37:44,477 ERROR [org.apache.tomcat.util.modeler.BaseModelMBean] Exception invoking method init
| javax.management.RuntimeErrorException: Error invoking method addChild
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:307)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at
|
| 2009-01-27 04:37:45,353 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/C:/jboss/jboss-4.2.3.GA/server/default/deploy/jboss-web.deployer/ROOT.war/
| org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception invoking method init)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384)
| at org.jboss.web.WebModule.startModule(WebModule.java:83)
| at org.jboss.web.WebModule.startService(WebModule.java:61)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at
|
| 2009-01-27 04:37:45,804 ERROR [org.jboss.deployment.MainDeployer] DeploymentException while trying to deploy a package with a new deployer
| org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception invoking method init)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384)
| at org.jboss.web.WebModule.startModule(WebModule.java:83)
| at org.jboss.web.WebModule.startService(WebModule.java:61)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org
|
| 2009-01-27 04:37:46,346 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Using session cookies default setting
| 2009-01-27 04:37:46,428 ERROR [org.apache.tomcat.util.modeler.Registry] Null component jboss.web:type=JspMonitor,name=jsp,WebModule=//localhost/invoker,J2EEApplication=none,J2EEServer=none
| 2009-01-27 04:37:46,432 ERROR [org.apache.tomcat.util.modeler.BaseModelMBean] Exception invoking method addChild
| java.lang.NoClassDefFoundError: javax/annotation/Resource
| at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:158)
| at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)
| at
|
| 2009-01-27 04:37:46,844 ERROR [org.apache.tomcat.util.modeler.BaseModelMBean] Exception invoking method init
| javax.management.RuntimeErrorException: Error invoking method addChild
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:307)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at
|
| 2009-01-27 04:37:47,732 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/C:/jboss/jboss-4.2.3.GA/server/default/deploy/http-invoker.sar/invoker.war/
| org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception invoking method init)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384)
| at org.jboss.web.WebModule.startModule(WebModule.java:83)
| at org.jboss.web.WebModule.startService(WebModule.java:61)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.
|
| 2009-01-27 04:37:48,698 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Using session cookies default setting
| 2009-01-27 04:37:48,780 ERROR [org.apache.tomcat.util.modeler.Registry] Null component jboss.web:type=JspMonitor,name=jsp,WebModule=//localhost/jbossmq-httpil,J2EEApplication=none,J2EEServer=none
| 2009-01-27 04:37:48,896 ERROR [org.apache.tomcat.util.modeler.BaseModelMBean] Exception invoking method addChild
| java.lang.NoClassDefFoundError: javax/annotation/Resource
| at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:158)
| at
|
| 009-01-27 04:37:51,271 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Using session cookies default setting
| 2009-01-27 04:37:51,490 ERROR [org.apache.tomcat.util.modeler.Registry] Null component jboss.web:type=JspMonitor,name=jsp,WebModule=//localhost/juddi,J2EEApplication=none,J2EEServer=none
| 2009-01-27 04:37:51,494 ERROR [org.apache.tomcat.util.modeler.BaseModelMBean] Exception invoking method addChild
| java.lang.NoClassDefFoundError: javax/annotation/Resource
| at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:158)
| at
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205117#4205117
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205117
More information about the jboss-user
mailing list