[jboss-user] [Beginner's Corner] - Newbie and problematic
Noelia Delgado
do-not-reply at jboss.com
Tue Jun 1 09:34:15 EDT 2010
Noelia Delgado [http://community.jboss.org/people/Zoeley] created the discussion
"Newbie and problematic"
To view the discussion, visit: http://community.jboss.org/message/545628#545628
--------------------------------------------------------------
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 at 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 at 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
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/545628#545628]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100601/dca261aa/attachment-0001.html
More information about the jboss-user
mailing list