mte01
asked on
JBoss and XACML configuration
Hi,
I need to setup a working example with JBoss and XACML
can someone provide some materials on how to get started?
i tries to setup this example: http://community.jboss.org/wiki/ProtectingEJBwebserviceswithXACMLAbeginnerstutorial and i got the following error, any help for i am blocked :)
java.lang.NoClassDefFoundE rror: org/glassfish/gmbal/Manage dObjectMan ager
at com.sun.xml.ws.client.Stub .<init>(St ub.java:19 6)
at com.sun.xml.ws.client.Stub .<init>(St ub.java:17 4)
at com.sun.xml.ws.client.sei. SEIStub.<i nit>(SEISt ub.java:81 )
at com.sun.xml.ws.client.WSSe rviceDeleg ate.create EndpointIF BaseProxy( WSServiceD elegate.ja va:602)
at com.sun.xml.ws.client.WSSe rviceDeleg ate.getPor t(WSServic eDelegate. java:344)
at com.sun.xml.ws.client.WSSe rviceDeleg ate.getPor t(WSServic eDelegate. java:326)
at com.sun.xml.ws.client.WSSe rviceDeleg ate.getPor t(WSServic eDelegate. java:364)
at com.sun.xml.ws.client.WSSe rviceDeleg ate.getPor t(WSServic eDelegate. java:368)
at javax.xml.ws.Service.getPo rt(Unknown Source)
at org.example.xacml.client.T estClient. getPort(Te stClient.j ava:23)
at org.example.xacml.client.T estClient. testNegati veA(TestCl ient.java: 29)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Un known Source)
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Unknown Source)
at java.lang.reflect.Method.i nvoke(Unkn own Source)
at org.junit.runners.model.Fr ameworkMet hod$1.runR eflectiveC all(Framew orkMethod. java:44)
at org.junit.internal.runners .model.Ref lectiveCal lable.run( Reflective Callable.j ava:15)
at org.junit.runners.model.Fr ameworkMet hod.invoke Explosivel y(Framewor kMethod.ja va:41)
at org.junit.internal.runners .statement s.InvokeMe thod.evalu ate(Invoke Method.jav a:20)
at org.junit.runners.BlockJUn it4ClassRu nner.runCh ild(BlockJ Unit4Class Runner.jav a:76)
at org.junit.runners.BlockJUn it4ClassRu nner.runCh ild(BlockJ Unit4Class Runner.jav a:50)
at org.junit.runners.ParentRu nner$3.run (ParentRun ner.java:1 93)
at org.junit.runners.ParentRu nner$1.sch edule(Pare ntRunner.j ava:52)
at org.junit.runners.ParentRu nner.runCh ildren(Par entRunner. java:191)
at org.junit.runners.ParentRu nner.acces s$000(Pare ntRunner.j ava:42)
at org.junit.runners.ParentRu nner$2.eva luate(Pare ntRunner.j ava:184)
at org.junit.runners.ParentRu nner.run(P arentRunne r.java:236 )
at org.eclipse.jdt.internal.j unit4.runn er.JUnit4T estReferen ce.run(JUn it4TestRef erence.jav a:49)
at org.eclipse.jdt.internal.j unit.runne r.TestExec ution.run( TestExecut ion.java:3 8)
at org.eclipse.jdt.internal.j unit.runne r.RemoteTe stRunner.r unTests(Re moteTestRu nner.java: 467)
at org.eclipse.jdt.internal.j unit.runne r.RemoteTe stRunner.r unTests(Re moteTestRu nner.java: 683)
at org.eclipse.jdt.internal.j unit.runne r.RemoteTe stRunner.r un(RemoteT estRunner. java:390)
at org.eclipse.jdt.internal.j unit.runne r.RemoteTe stRunner.m ain(Remote TestRunner .java:197)
Caused by: java.lang.ClassNotFoundExc eption: org.glassfish.gmbal.Manage dObjectMan ager
at java.net.URLClassLoader$1. run(Unknow n Source)
at java.security.AccessContro ller.doPri vileged(Na tive Method)
at java.net.URLClassLoader.fi ndClass(Un known Source)
at java.lang.ClassLoader.load Class(Unkn own Source)
at sun.misc.Launcher$AppClass Loader.loa dClass(Unk nown Source)
at java.lang.ClassLoader.load Class(Unkn own Source)
... 33 more
I need to setup a working example with JBoss and XACML
can someone provide some materials on how to get started?
i tries to setup this example: http://community.jboss.org/wiki/ProtectingEJBwebserviceswithXACMLAbeginnerstutorial and i got the following error, any help for i am blocked :)
java.lang.NoClassDefFoundE
at com.sun.xml.ws.client.Stub
at com.sun.xml.ws.client.Stub
at com.sun.xml.ws.client.sei.
at com.sun.xml.ws.client.WSSe
at com.sun.xml.ws.client.WSSe
at com.sun.xml.ws.client.WSSe
at com.sun.xml.ws.client.WSSe
at com.sun.xml.ws.client.WSSe
at javax.xml.ws.Service.getPo
at org.example.xacml.client.T
at org.example.xacml.client.T
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.junit.runners.model.Fr
at org.junit.internal.runners
at org.junit.runners.model.Fr
at org.junit.internal.runners
at org.junit.runners.BlockJUn
at org.junit.runners.BlockJUn
at org.junit.runners.ParentRu
at org.junit.runners.ParentRu
at org.junit.runners.ParentRu
at org.junit.runners.ParentRu
at org.junit.runners.ParentRu
at org.junit.runners.ParentRu
at org.eclipse.jdt.internal.j
at org.eclipse.jdt.internal.j
at org.eclipse.jdt.internal.j
at org.eclipse.jdt.internal.j
at org.eclipse.jdt.internal.j
at org.eclipse.jdt.internal.j
Caused by: java.lang.ClassNotFoundExc
at java.net.URLClassLoader$1.
at java.security.AccessContro
at java.net.URLClassLoader.fi
at java.lang.ClassLoader.load
at sun.misc.Launcher$AppClass
at java.lang.ClassLoader.load
... 33 more
if you read the comments on the link you have provided then you'll get the answer for that. follow last two comments.
ASKER
I's using eclipse in my project, do i have to add the JBossWS Client libraries to my project using:
java build path -> Libraries -> Add External Jars? is that what they are saying? coz it didnt work for me..
sorry but the action to take is not clear to me any idea?
java build path -> Libraries -> Add External Jars? is that what they are saying? coz it didnt work for me..
sorry but the action to take is not clear to me any idea?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
solved it myself