8 Replies Latest reply on Jun 17, 2010 5:52 AM by Dominik Klaholt

    Newbie and problematic

    Noelia Delgado Newbie

      Hi, I'm trying to run a client application but I have the following error:

      Using: Jboss 5.1.0, JDK 1.6_18 and maven 2.2.1

       

      DEBUG [main] (
      Logger.java:228) - createSocket, hostAddr: /127.0.0.1, port: 1099, localAddr: null, localPort: 0, timeout: 0 DEBUG [main] (
      Logger.java:228) - org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory servicing request for PersonaBean/remote DEBUG [main] (
      Logger.java:228) - SocketClientInvoker[1b16e52, socket://localhost:3873] constructed DEBUG [main] (
      Logger.java:228) - SocketClientInvoker[1b16e52, socket://localhost:3873] connecting DEBUG [main] (
      Logger.java:228) - Creating semaphore with size 50 DEBUG [main] (
      Logger.java:228) - SocketClientInvoker[1b16e52, socket://localhost:3873] connected DEBUG [main] (
      Logger.java:228) - removed SocketClientInvoker[1b16e52, socket://localhost:3873] from registry DEBUG [main] (
      Logger.java:228) - SocketClientInvoker[1b16e52, socket://localhost:3873] disconnecting ... DEBUG [main] (
      Logger.java:228) - Created Proxy of type $Proxy1 for EJB3 Business Interface: unsj.hre_ejb.ir.PersonaRemote DEBUG [main] (
      Logger.java:228) - Couldn't handle invocation directly within org.jboss.ejb3.proxy.impl.handler.session.SessionRemoteProxyInvocationHandler@1ce2dd4: Current invocation "public abstract java.lang.String unsj.hre_ejb.ir.PersonaRemote.buscarPersona()" is not eligible for direct handling by org.jboss.ejb3.proxy.impl.handler.session.SessionRemoteProxyInvocationHandler@1ce2dd4 DEBUG [main] (
      Logger.java:228) - Received invocation request to method unsj.hre_ejb.ir.PersonaRemote: unsj.hre_ejb.ir.PersonaRemote.buscarPersona(); using hash: -4133175750733962837 DEBUG [main] (
      Logger.java:228) - Using ThreadLocal: false  Exception in thread "main"
      java.lang.reflect.UndeclaredThrowableException   at $Proxy2.buscarPersona(Unknown Source)
      at Zzapp.main(
      Zzapp.java:39) Caused by:
      java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetException at java.security.AccessController.doPrivileged(
      Native Method) at org.jboss.ejb3.security.client.SecurityActions.createSecurityContext(
      SecurityActions.java:657) at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(
      SecurityClientInterceptor.java:59) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
      MethodInvocation.java:102) at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(
      IsLocalInterceptor.java:74) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
      MethodInvocation.java:102) at org.jboss.aspects.remoting.PojiProxy.invoke(
      PojiProxy.java:62) at $Proxy3.invoke(Unknown Source)
      at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(
      SessionProxyInvocationHandlerBase.java:207) at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(
      SessionProxyInvocationHandlerBase.java:164) ... 2 more
      Caused by:
      java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
      Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(
      NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
      DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(
      Constructor.java:513) at org.jboss.security.SecurityContextFactory.createSecurityContext(
      SecurityContextFactory.java:117) at org.jboss.security.SecurityContextFactory.createSecurityContext(
      SecurityContextFactory.java:76) at org.jboss.ejb3.security.client.SecurityActions$1.run(
      SecurityActions.java:662) ... 12 more
      Caused by: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file
      javax/security/jacc/PolicyContextException at java.lang.ClassLoader.defineClass1(
      Native Method) at java.lang.ClassLoader.defineClassCond(
      ClassLoader.java:632) at java.lang.ClassLoader.defineClass(
      ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(
      SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(
      URLClassLoader.java:283) at java.net.URLClassLoader.access$000(
      URLClassLoader.java:58) at java.net.URLClassLoader$1.run(
      URLClassLoader.java:197) at java.security.AccessController.doPrivileged(
      Native Method) at java.net.URLClassLoader.findClass(
      URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(
      ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(
      Launcher.java:301) at java.lang.ClassLoader.loadClass(
      ClassLoader.java:248) at org.jboss.security.plugins.JBossSecurityContext.<init>(
      JBossSecurityContext.java:82) ... 19 more
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      

       

      I hope that somebody will have a solution.
      Thanks in advance.

       

      Zoeley