0 Replies Latest reply on Sep 17, 2002 11:11 AM by mark myers

    JBoss JASS server error

    mark myers Newbie

      I am attempting to configure the JBoss JASS Chapter 8, example 2 on a Solaris OS server. Any recommendations would be greatly appreciated!! I am getting the following Login error that is displayed on the server:

      INFO[2002-09-13 17:15:08,442,ejb.AutoDeployer] Auto deploy of file:/opt/dev/JBoss-2.4.4_Tomcat-4.0.1/jboss/deploy/chap8-ex2.jar
      INFO[2002-09-13 17:15:08,476,deployment.J2eeDeployer] Stopping module chap8-ex2.jar
      INFO[2002-09-13 17:15:08,478,ejb.ContainerFactory] Undeploying:file:/opt/dev/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/chap8-ex2.jar
      INFO[2002-09-13 17:15:08,480,ContainerManagement.EchoBean] Stopping
      INFO[2002-09-13 17:15:08,481,ContainerManagement.EchoBean] Stopped
      INFO[2002-09-13 17:15:08,481,ContainerManagement.EchoBean] Destroying
      INFO[2002-09-13 17:15:08,482,ContainerManagement.EchoBean] Destroyed
      INFO[2002-09-13 17:15:08,483,ContainerManagement.EchoBean] Destroying
      INFO[2002-09-13 17:15:08,484,ContainerManagement.EchoBean] Destroyed
      DEBUG[2002-09-13 17:15:08,485,local.BaseLocalContainerInvoker] Cleared method maps
      DEBUG[2002-09-13 17:15:08,487,server.JRMPContainerInvoker] Cleared method maps
      INFO[2002-09-13 17:15:08,527,ejb.ContainerFactory] Undeployed application: file:/opt/dev/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/chap8-ex2.jar
      INFO[2002-09-13 17:15:08,528,deployment.J2eeDeployer] Destroying application chap8-ex2.jar
      INFO[2002-09-13 17:15:08,566,deployment.J2eeDeployer] Report of undeployment of J2EE application: file:/opt/dev/JBoss-2.4.4_Tomcat-4.0.1/jboss/deploy/chap8-ex2.jar could not be reported.
      INFO[2002-09-13 17:15:08,567,deployment.J2eeDeployer] Deploy J2EE application: file:/opt/dev/JBoss-2.4.4_Tomcat-4.0.1/jboss/deploy/chap8-ex2.jar
      INFO[2002-09-13 17:15:08,591,deployment.J2eeDeployer] Create application chap8-ex2.jar
      INFO[2002-09-13 17:15:08,592,deployment.J2eeDeployer] install EJB module chap8-ex2.jar
      INFO[2002-09-13 17:15:08,673,ejb.ContainerFactory] Deploying:file:/opt/dev/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/chap8-ex2.jar
      DEBUG[2002-09-13 17:15:08,855,ejb.ContainerFactory] Verifying file:/opt/dev/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/chap8-ex2.jar/ejb1006.jar
      DEBUG[2002-09-13 17:15:08,905,ejb.ContainerFactory] EchoBean: Verified.
      INFO[2002-09-13 17:15:08,914,ejb.ContainerFactory] Deploying EchoBean
      INFO[2002-09-13 17:15:08,918,Default] lookup securityDomain manager name: java:/jaas/srp
      DEBUG[2002-09-13 17:15:08,989,server.JRMPContainerInvoker] Container Invoker RMI Port='4444'
      DEBUG[2002-09-13 17:15:08,990,server.JRMPContainerInvoker] Container Invoker Client SocketFactory='Default'
      DEBUG[2002-09-13 17:15:08,990,server.JRMPContainerInvoker] Container Invoker Server SocketFactory='Default'
      DEBUG[2002-09-13 17:15:08,991,server.JRMPContainerInvoker] Container Invoker Server SocketAddr='Default'
      DEBUG[2002-09-13 17:15:08,991,server.JRMPContainerInvoker] Container Invoker Server sslDomain='Default'
      DEBUG[2002-09-13 17:15:08,992,server.JRMPContainerInvoker] Container Invoker Optimize='true'
      DEBUG[2002-09-13 17:15:08,993,plugins.StatelessSessionInstancePool] config - MaximumSize=100, strictMaximumSize=false, feederPolicy=null
      DEBUG[2002-09-13 17:15:08,994,ejb.StatelessSessionContainer] Begin java:comp/env for EJB: EchoBean
      DEBUG[2002-09-13 17:15:08,994,ejb.StatelessSessionContainer] TCL: java.net.URLClassLoader@1481b2
      DEBUG[2002-09-13 17:15:09,006,ejb.StatelessSessionContainer] Binding securityDomain: java:/jaas/srp to JDNI ENC as: security/security-domain
      DEBUG[2002-09-13 17:15:09,010,ejb.StatelessSessionContainer] End java:comp/env for EJB: EchoBean
      DEBUG[2002-09-13 17:15:09,010,ejb.StatelessSessionContainer] Mapped Container method remove HASH -1842617161
      DEBUG[2002-09-13 17:15:09,011,ejb.StatelessSessionContainer] Mapped Container method getEJBHome HASH -993218923
      DEBUG[2002-09-13 17:15:09,012,ejb.StatelessSessionContainer] Mapped Container method getHandle HASH 1182305581
      DEBUG[2002-09-13 17:15:09,013,ejb.StatelessSessionContainer] Mapped Container method getPrimaryKey HASH -131865408
      DEBUG[2002-09-13 17:15:09,013,ejb.StatelessSessionContainer] Mapped Container method isIdentical HASH 285457048
      DEBUG[2002-09-13 17:15:09,014,ejb.StatelessSessionContainer] Mapped echo -932560166to public java.lang.String org.jboss.chap8.ex2.EchoBean.echo(java.lang.String)
      DEBUG[2002-09-13 17:15:09,015,ejb.StatelessSessionContainer] Mapping remove
      DEBUG[2002-09-13 17:15:09,016,ejb.StatelessSessionContainer] Mapping remove
      DEBUG[2002-09-13 17:15:09,017,ejb.StatelessSessionContainer] Mapping getEJBMetaData
      DEBUG[2002-09-13 17:15:09,018,ejb.StatelessSessionContainer] Mapping getHomeHandle
      DEBUG[2002-09-13 17:15:09,018,ejb.StatelessSessionContainer] Mapping create
      DEBUG[2002-09-13 17:15:09,068,server.JRMPContainerInvoker] JRMP 1.3 CI initialized
      DEBUG[2002-09-13 17:15:09,094,server.JRMPContainerInvoker] Bound EchoBean to EchoBean
      INFO[2002-09-13 17:15:09,104,ContainerManagement.EchoBean] Initializing
      INFO[2002-09-13 17:15:09,105,ContainerManagement.EchoBean] Initialized
      INFO[2002-09-13 17:15:09,106,ContainerManagement.EchoBean] Starting
      INFO[2002-09-13 17:15:09,107,ContainerManagement.EchoBean] Started
      INFO[2002-09-13 17:15:09,108,ejb.ContainerFactory] Deployed application: file:/opt/dev/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/chap8-ex2.jar
      INFO[2002-09-13 17:15:09,109,deployment.J2eeDeployer] J2EE application: file:/opt/dev/JBoss-2.4.4_Tomcat-4.0.1/jboss/deploy/chap8-ex2.jar is deployed.
      DEBUG[2002-09-13 17:15:15,284,web.WebServer] Retrieving jar:file:/opt/dev/JBoss-2.4.4_Tomcat-4.0.1/jboss/lib/ext/jbosssx.jar!/org/jboss/security/srp/SRPServerProxy.class
      DEBUG[2002-09-13 17:15:15,408,web.WebServer] Retrieving jar:file:/opt/dev/JBoss-2.4.4_Tomcat-4.0.1/jboss/lib/ext/jbosssx.jar!/org/jboss/security/srp/SRPRemoteServer_Stub.class
      DEBUG[2002-09-13 17:15:15,529,web.WebServer] Retrieving jar:file:/opt/dev/JBoss-2.4.4_Tomcat-4.0.1/jboss/lib/ext/jbosssx.jar!/org/jboss/security/srp/SRPRemoteServerInterface.class
      DEBUG[2002-09-13 17:15:28,638,JaasSecurityManager.srp] Login failure
      javax.security.auth.login.LoginException: java.security.AccessControlException: access denied (org.jboss.security.srp.SRPPermission getSessionKey)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
      at java.security.AccessController.checkPermission(AccessController.java:399)
      at org.jboss.security.srp.SRPServerSession.getSessionKey(SRPServerSession.java:220)
      at org.jboss.security.srp.jaas.SRPCacheLoginModule.commit(SRPCacheLoginModule.java:152)
      at org.jboss.security.auth.spi.ProxyLoginModule.commit(ProxyLoginModule.java:96)
      at java.lang.reflect.Method.invoke(Native Method)
      at javax.security.auth.login.LoginContext.invoke(LoginContext.java:595)
      at javax.security.auth.login.LoginContext.access$000(LoginContext.java:125)
      at javax.security.auth.login.LoginContext$3.run(LoginContext.java:531)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:528)
      at javax.security.auth.login.LoginContext.login(LoginContext.java:450)
      at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:394)
      at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:361)
      at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:217)
      at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:163)
      at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:91)
      at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:103)
      at org.jboss.ejb.StatelessSessionContainer.invokeHome(StatelessSessionContainer.java:268)
      at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContainerInvoker.java:387)
      at java.lang.reflect.Method.invoke(Native Method)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
      at sun.rmi.transport.Transport$1.run(Transport.java:152)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:148)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:706)
      at java.lang.Thread.run(Thread.java:484)

      at javax.security.auth.login.LoginContext.invoke(LoginContext.java:650)
      at javax.security.auth.login.LoginContext.access$000(LoginContext.java:125)
      at javax.security.auth.login.LoginContext$3.run(LoginContext.java:531)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:528)
      at javax.security.auth.login.LoginContext.login(LoginContext.java:450)
      at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:394)
      at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:361)
      at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:217)
      at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:163)
      at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:91)
      at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:103)
      at org.jboss.ejb.StatelessSessionContainer.invokeHome(StatelessSessionContainer.java:268)
      at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContainerInvoker.java:387)
      at java.lang.reflect.Method.invoke(Native Method)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
      at sun.rmi.transport.Transport$1.run(Transport.java:152)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:148)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:706)
      at java.lang.Thread.run(Thread.java:484)
      ERROR[2002-09-13 17:15:28,644,plugins.SecurityInterceptor] Authentication exception, principal=jduke