[jboss-jira] [JBoss JIRA] Created: (JBAS-4311) client jars do not contain org.jboss.security.plugins.JBossSecurityContext

Wolfgang Knauf (JIRA) jira-events at lists.jboss.org
Mon Apr 9 09:07:58 EDT 2007


client jars do not contain org.jboss.security.plugins.JBossSecurityContext
--------------------------------------------------------------------------

                 Key: JBAS-4311
                 URL: http://jira.jboss.com/jira/browse/JBAS-4311
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: JBossAS-5.0.0.Beta2
            Reporter: Wolfgang Knauf
            Priority: Minor


I deployed an ear with an application client project. The client declares a client ENC, binds a ejb reference to it, and performs a simple session bean call.
The full EAR can be found here: http://www.informatik.fh-wiesbaden.de/~knauf/public/Stateless.ear (it does not declare any security)

On invoking my bean I received this exception:
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/security/plugins/JBossSecurityContext
	at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:47)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:72)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:103)
	at $Proxy1.computeCuboidVolume(Unknown Source)
	at de.fhw.swtvertiefung.knauf.stateless.GeometricModelApplicationClient.<init>(GeometricModelApplicationClient.java:47)
	at de.fhw.swtvertiefung.knauf.stateless.GeometricModelApplicationClient.main(GeometricModelApplicationClient.java:67)

I finally found "JBossSecurityContext" in \server\default\lib\jbosssx.jar, but not in \client\jbossall-client.jar or \client\jbosssx-client.jar where I would expect it if it is needed to run a simple client.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list