0 Replies Latest reply on Apr 2, 2008 11:38 AM by Mark Ayasse

    NoSuchMethodError configuring service naming during startup

    Mark Ayasse Newbie

      Trying 4.2.2.GA with JAVA_HOME set to either of JDK1.5.0_15 or JDK1.6.0_5 fails creating Naming service with NoSuchMethosError while trying to use org.jnp.interfaces.MarshalledValuePair.setEnableCallByReference

      Any ideas?

      11:12:13,691 DEBUG [ServiceCreator] Created bean: jboss:service=Naming
      11:12:13,691 DEBUG [ServiceConfigurator] CallByValue set to false in jboss:service=Naming
      11:12:13,706 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
      11:12:13,706 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
      11:12:13,706 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
      11:12:13,706 INFO [ServiceConfigurator] Problem configuring service jboss:service=Naming
      org.jboss.deployment.DeploymentException: Exception setting attribute CallByValue = false on mbean jboss:service=Naming; - nested throwable: (java.lang.NoSuchMethodError: org.jnp.interfaces.MarshalledValuePair.setEnableCallByReference(Z)V)
      at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:707)
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:332)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:462)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
      at org.jboss.system.ServiceController.install(ServiceController.java:226)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)