JBoss.Net ClassNotFoundException in JBoss 4.0.2
natebowler May 24, 2005 1:40 PMI am trying to use JBoss.Net on JBoss 4.0.2. I have removed the wsee client lib and SAR and replaced them with the JBoss.Net client lib and SAR.
This is an application that used to work with JBoss 3.2.6 and I'm trying to get it working on JBoss 4.0.2.
JBoss.Net does load. I can go to http://localhost:8080/jboss-net/ and when I run validate, everything comes back as OK.
However, my WSR will not load. I get the following stack trace on startup:
ERROR [WSDDDeployment.deployMapping()]: Unable to deploy typemapping: {http://mystuff.test/api}GroupBean
java.lang.ClassNotFoundException: No ClassLoaders found for: org.apache.axis.encoding.ser.BeanSerializerFactory
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at org.jboss.axis.utils.ClassUtils$2.run(ClassUtils.java:216)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.axis.utils.ClassUtils.loadClass(ClassUtils.java:179)
at org.jboss.axis.utils.ClassUtils.forName(ClassUtils.java:120)
at org.jboss.axis.deployment.wsdd.WSDDTypeMapping.getSerializer(WSDDTypeMapping.java:256)
at org.jboss.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:372)
at org.jboss.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:
570)
at org.jboss.net.axis.Deployment.getTypeMappingRegistry(Deployment.java:350)
at org.jboss.net.axis.Deployment.installTypeMappingWithOptions(Deployment.java:365)
at org.jboss.net.axis.Deployment.getTypeMappingRegistry(Deployment.java:345)
at org.jboss.net.axis.Deployment.deployToRegistry(Deployment.java:326)
at org.jboss.net.axis.server.AxisService.startAxisDeployment(AxisService.java:201)
at org.jboss.net.axis.server.AxisService.start(AxisService.java:521)
at org.jboss.net.axis.server.AxisService.start(AxisService.java:492)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce
ptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
....
I have tried putting the Axis JAR file in many places: in my EAR, in JBOSS_HOME/server/default/lib, etc. And, I have tried using Axis 1.2 vs. Axis 1.1 (what I was originally using). However, the only thing I have been able to effect is I can change this error to a ClassCastException is I put the axis JAR in my EAR.
Any help is getting my WSR deployed on 4.0.2 would be appreciated.
Nate