<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Newbie and problematic
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/Zoeley">Noelia Delgado</a> in <i>Beginner's Corner</i> - <a href="http://community.jboss.org/message/545628#545628">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi, I'm trying to run a client application but I have the following error: </p><p>Using: Jboss 5.1.0, JDK 1.6_18 and maven 2.2.1</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code">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&#160; Exception in thread "main"
java.lang.reflect.UndeclaredThrowableException&#160;&#160; 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.&lt;init&gt;(
JBossSecurityContext.java:82) ... 19 more

















































</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I hope that somebody will have a solution.<br/>Thanks in advance.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Zoeley</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/545628#545628">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Beginner's Corner at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>