[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: ADF Problem with JBoss

JPagera do-not-reply at jboss.com
Thu May 10 15:42:33 EDT 2007


Thankx for ur hlp

but the problem is { Exception at deploy time }

the Exception is ( cannt load Servlet.jar ) that attched with my adf project

this is the Exception..............

..................................
15:11:20,265 INFO  [TomcatDeployer] deploy, ctxPath=/adfjboss, warUrl=.../tmp/de
ploy/tmp63015adfjboss.ear-contents/adfjboss-exp.war/
15:11:21,093 INFO  [WebappClassLoader] validateJarFile(E:\Program Files\jboss-4.
0.5.GA\server\default\.\tmp\deploy\tmp63015adfjboss.ear-contents\adfjboss-exp.wa
r\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2
. Offending class: javax/servlet/Servlet.class
15:11:21,359 ERROR [[/adfjboss]] StandardWrapper.Throwable
java.lang.NullPointerException
        at javax.faces.webapp.FacesServlet.init(FacesServlet.java:165)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1105)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:93
2)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3951)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
225)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
9)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:
503)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
64)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.apache.catalina.core.StandardContext.init(StandardContext.java:50
52)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:
503)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
64)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatD
eployer.java:297)
        at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.
java:103)
        at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)

        at org.jboss.web.WebModule.startModule(WebModule.java:83)
        at org.jboss.web.WebModule.startService(WebModule.java:61)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
...............................

after that i removed the Servlet.jar from my project so that gave me another Exception .................

............................................................

e:/E:/Program Files/jboss-4.0.5.GA/server/default/deploy/adfjboss.ear
15:13:34,656 INFO  [EARDeployer] Undeployed J2EE application: file:/E:/Program F
iles/jboss-4.0.5.GA/server/default/deploy/adfjboss.ear
15:13:38,406 INFO  [EARDeployer] Init J2EE application: file:/E:/Program Files/j
boss-4.0.5.GA/server/default/deploy/adfjboss.ear
15:13:43,437 INFO  [TomcatDeployer] deploy, ctxPath=/adfjboss, warUrl=.../tmp/de
ploy/tmp63016adfjboss.ear-contents/adfjboss-exp.war/
15:13:43,750 ERROR [[/adfjboss]] StandardWrapper.Throwable
java.lang.NullPointerException
        at javax.faces.webapp.FacesServlet.init(FacesServlet.java:165)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1105)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:93
2)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3951)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
225)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
9)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:
503)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1

.....................................................

so thankx for ur help
but the problem didnt solved....





View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044796#4044796

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044796



More information about the jboss-user mailing list