I saved auth.xml in server/default but errors thrown?
hakim55 Aug 16, 2005 3:27 AM1 - I copied the two tutorial1.ear and tutorial2.ear in server/deploy.
2 - and I passed this for running
this should be ok but the question is in the auth.cong may be not found
thanks alot
************************************************************
client-test0:
[java] +++ Running SessionClient with username=java, password=echoman, exam
ple=example1
[java] Created LoginContext
[java] example1/PublicSession
[java] Found PublicSession home
[java] java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is:
[java] java.rmi.ServerException: EJBException:; nested exception is:
[java] javax.ejb.EJBException: checkSecurityAssociation; CausedByExcept
ion is:
[java] Authentication exception, principal=java
[java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
a:292)
[java] at sun.rmi.transport.Transport$1.run(Transport.java:148)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
[java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
t.java:460)
[java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
ransport.java:701)
[java] at java.lang.Thread.run(Thread.java:536)
[java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
r(StreamRemoteCall.java:247)
[java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
ll.java:223)
[java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
[java] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unkn
own Source)
[java] at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(
JRMPInvokerProxy.java:118)
[java] at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(Mar
shallingInvokerInterceptor.java:73)
[java] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInte
rceptor.java:46)
[java] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityIntercepto
r.java:55)
[java] at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.ja
va:169)
[java] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:8
6)
[java] at $Proxy0.create(Unknown Source)
[java] at jaas.SessionClient.main(SessionClient.java:85)
[java] Caused by: java.rmi.ServerException: EJBException:; nested exception
is:
[java] javax.ejb.EJBException: checkSecurityAssociation; CausedByExcept
ion is:
[java] Authentication exception, principal=java
[java] at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInter
ceptor.java:347)
[java] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogIntercepto
r.java:124)
[java] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHom
e(ProxyFactoryFinderInterceptor.java:93)
[java] at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionCont
ainer.java:613)
[java] at org.jboss.ejb.Container.invoke(Container.java:876)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(Reflected
Dispatcher.java:141)
[java] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
[java] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
[java] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBean
Invoker.java:242)
[java] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.ja
va:642)
[java] at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerActio
n.invoke(JRMPInvoker.java:775)
[java] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvok
er.java:382)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
a:261)
[java] at sun.rmi.transport.Transport$1.run(Transport.java:148)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
[java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
t.java:460)
[java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
ransport.java:701)
[java] at java.lang.Thread.run(Thread.java:536)
[java] Caused by: javax.ejb.EJBException: checkSecurityAssociation; CausedB
yException is:
[java] Authentication exception, principal=java
[java] at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssoci
ation(SecurityInterceptor.java:174)
[java] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(Security
Interceptor.java:96)
[java] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogIntercepto
r.java:120)
[java] ... 25 more
[java] Found PrivateSession home
[java] Failed to create PrivateSession as expected