[EJB/JBoss] - java.lang.ClassNotFoundException: org.jnp.interfaces.NamingC
by thomas2008ch
Hi all,
I've wrote a small ejb3 stateless session bean program and have deploy the JAR to the server (JBoss 4.2.1.GA).
Then I wrote a test client and try to access the bean I got exception as follow:
Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
... 4 more
Someone can help me?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149294#4149294
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149294
17 years, 11 months
[Installation, Configuration & DEPLOYMENT] - Re: trying to migrate an ear from jboss 3.2.5 to 4.0.5
by Elhananm
i don't think so, see, our previous jboss config, didn't have default,all. min jboss servers, it simply had pmp.
what i did in jboss 4 is simply rename default dir to pmp, so it contains in its lib directory jboss 4 jars., the ear itself does a huge amount of jars, (hibernate's, jcifcs, commons, velocity, aspectwekz, xom, jxapth, spring) but i'm not sure if it contains jboss jars as well, (do all jboss's jars, begin the word jboss?)
funny thing, (ok, it's not funny, it's depressing) i tried copying the ear, to jboss 3.2.8 sp1, even that didn't work, becouse then hibernate started complaning our hbm files were not correct. it claimed that an attribute "select-before-update' must appear in joined subclass element, even though it doesn't have to be, i suspect it might be due to xml parser, being somewhat different, i thought at first it might be becouse xerces is present in endorsed lib of jboss's lib (giving it precednce over java's lib) but removing them, or taking the ones from jboss 3.2.5 didnt' help.
our ear only works jboss with 3.2.5.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149293#4149293
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149293
17 years, 11 months
[JBossWS] - Webservice deployment failed
by marie123
I'm using Jboss4.2.2GA with JBOssWS installed.
I'm quite new to JbossWS.
When i tried to deploy a webservice i'm getting an exception as shown below.
java.lang.NoSuchMethodError: javax.wsdl.xml.WSDLLocator.close().
i dont know whatz going wrong..
Any help is appreciated.
| 2008-05-08 09:41:36,703 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/D:/jboss-4.2.2.GA/server/all/tmp/deploy/tmp19266rr-webservice.ear-contents/rr-webservice-ejb.jar
| java.lang.NoSuchMethodError: javax.wsdl.xml.WSDLLocator.close()V
| at org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.readWSDL(JBossWSDLReaderImpl.java:2367)
| at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:127)
| at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:321)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:166)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:50)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderEJB3.buildMetaData(JAXWSMetaDataBuilderEJB3.java:78)
| at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:71)
| at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115)
| at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy34.start(Unknown Source)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy9.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
|
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149290#4149290
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149290
17 years, 11 months
[JBoss jBPM] - Re: fork (concurrency) help
by shettytejesh
| <fork name='split'>
| <transition to='a' />
| <transition to='b' />
| <transition to='c' />
| </fork>
| <node name='a'>
| <event type='node-enter'>
| <action class='ActionHAndler' />
| </event>
| <transition to='joinit'>
| <action class='TransitionActionHandler' />
| </transition>
| </node>
| <node name='b'>
| <event type='node-enter'>
| <action class='ActionHAndler' />
| </event>
| <transition to='joinit'>
| <action class='TransitionActionHandler' />
| </transition>
| </node>
| <node name='c'>
| <event type='node-enter'>
| <action class='ActionHAndler' />
| </event>
| <transition to='joinit'>
| <action class='TransitionActionHandler' />
| </transition>
| </node>
| <join name="joinit">
| <event type='node-enter'>
| <action class='EnterJoinActionHandler' />
| </event>
| <event type='node-leave'>
| <action class='LeaveJoinActionHandler' />
| </event>
| <transition name="join-to-end" to='end' />
| </join>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149286#4149286
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149286
17 years, 11 months
[JBoss jBPM] - fork (concurrency) help
by shettytejesh
I have a fork which produced three transition and all go to an automated node. My understanding here is that there will be three thread of execution path generated. Each thread(transition) is going to an automated node then I am joining all three and moving ahead.
Right now I have automated node pointing to same action handler which simply prints stuff on the system.out. I was hoping to see concurrent logs of these three execution thread, but instead I am seeing one thread at a time ( second thread logs is printed when first one finishes its action).
Although when joining, even though when first thread is completed n comes to join node it does wait till other two thread finishes. So this looks like working as expected but I am not sure of it because of non-concurrent logs.
Any help/thoughts will be greatly appreciated.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149283#4149283
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149283
17 years, 11 months