java - Exploded jar in war libs -


can put exploded jar files in war web-inf libs ? not working me in jboss 4.2. got following error , not able deploy application:

caused by: javax.management.runtimeoperationsexception: exception invoking method init         @ org.apache.tomcat.util.modeler.basemodelmbean.invoke(basemodelmbean.java:304)         @ org.jboss.mx.server.rawdynamicinvoker.invoke(rawdynamicinvoker.java:164)         @ org.jboss.mx.server.mbeanserverimpl.invoke(mbeanserverimpl.java:659)         @ org.jboss.web.tomcat.service.tomcatdeployer.performdeployinternal(tomcatdeployer.java:301)         @ org.jboss.web.tomcat.service.tomcatdeployer.performdeploy(tomcatdeployer.java:104)         @ org.jboss.web.abstractwebdeployer.start(abstractwebdeployer.java:375)         ... 113 more caused by: javax.management.runtimeoperationsexception: exception invoking method addchild         @ org.apache.tomcat.util.modeler.basemodelmbean.invoke(basemodelmbean.java:304)         @ org.jboss.mx.server.rawdynamicinvoker.invoke(rawdynamicinvoker.java:164)         @ org.jboss.mx.server.mbeanserverimpl.invoke(mbeanserverimpl.java:659)         @ org.apache.catalina.core.standardcontext.init(standardcontext.java:5312)         @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)         @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)         @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)         @ java.lang.reflect.method.invoke(method.java:585)         @ org.apache.tomcat.util.modeler.basemodelmbean.invoke(basemodelmbean.java:296)         ... 118 more caused by: java.lang.classcastexception: org.apache.naming.resources.filedircontext         @ org.apache.catalina.util.extensionvalidator.validateapplication(extensionvalidator.java:182)         @ org.apache.catalina.core.standardcontext.start(standardcontext.java:4178)         @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:790)         @ org.apache.catalina.core.containerbase.addchild(containerbase.java:770)         @ org.apache.catalina.core.standardhost.addchild(standardhost.java:553)         @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)         @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)         @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)         @ java.lang.reflect.method.invoke(method.java:585)         @ org.apache.tomcat.util.modeler.basemodelmbean.invoke(basemodelmbean.java:296)  

if unpack jar-file resulting files needs go web-inf/classes.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -