-
1. Re: java.lang.NoSuchMethodError: javax.jws.WebService.portNa
mmarcom Nov 29, 2006 12:06 PM (in response to mmarcom)hi all,
i found solution (and i apologize for not being more proactive..)
i have downloaded ejb3.0-rc9fd and haveupdated followign files:
- ejb3-persistence.jar
- jboss-ejb3-client.jar
- ejb3.deployer (directory)
- jboss-aop-jdk50.deployer (directory)
in jbossAS 4.0.4GA.
all files above comes with ejb3.0-rc9fd or with microcontainer rc9
hth
marco -
2. Re: java.lang.NoSuchMethodError: javax.jws.WebService.portNa
cpmcda01 Dec 1, 2006 11:56 AM (in response to mmarcom)Is this working in 4.0.5GA?
-
3. Re: java.lang.NoSuchMethodError: javax.jws.WebService.portNa
hroriz Dec 5, 2006 10:00 AM (in response to mmarcom)I am having the same problem as Marco. I did what was suggested but unfortunately did not succeed. I updated the directories, it's ok. The file ejb3-persistence.jar can be found in different directories:
jboss-4.0.4.GA\server\default\deploy\ejb3.deployer\
jboss-4.0.4.GA\client\
jboss-4.0.4.GA\server\default\lib\
Should I update on all 3 dirs?
I updated in all dirs and I get the following error:ERROR [MainDeployer] Could not create deployment: HYPERLINK file:/C:/jboss-4.0.4.GA/server/default/deploy/ejb3.deployer/ file:/C:/jboss-4.0.4.GA/server/default/deploy/ejb3.deployer/ org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3 at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) at org.jboss.system.ServiceController.install(ServiceController.java:226) (...) ERROR [MainDeployer] Could not create deployment: HYPERLINK file:/C:/jboss-4.0.4.GA/server/default/deploy/jboss-aop-jdk50.deployer/ file:/C:/jboss-4.0.4.GA/server/default/deploy/jboss-aop-jdk50.deployer/ org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.aop:service=AspectManager at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) (...) 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 $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:464) at java.lang.Thread.run(Thread.java:595) INFO [ServiceEndpointManager] jbossws-1.0.4.GA (date=200611151648)
Any hints?
Heitor -
4. Re: java.lang.NoSuchMethodError: javax.jws.WebService.portNa
stevenh Dec 5, 2006 4:26 PM (in response to mmarcom)Heitor,
The message "Trying to install an already registered mbean" is telling me that you managed to get two copies of one of the jars in your lib directory.
Double check that all of the files you installed when over the top of the files they should have.
Steve -
5. Re: java.lang.NoSuchMethodError: javax.jws.WebService.portNa
tallesbrito Jan 15, 2007 9:05 AM (in response to mmarcom)JB 3.0 Preview RC9 only works with JBoss 4.0.4.GA. An ANT build script has been supplied to patch an existing JBoss 4.0.4.GA distribution.
* download ANT from apache.org if you don't have it already
* set a JBOSS_HOME environment variable to point to the directory JBoss is installed in
$ cd jboss-EJB-3.0_RC9-FD
$ ant -f install.xml -Djboss.server.config=[server directory you want to patch]