1 Reply Latest reply on Jan 29, 2007 3:52 PM by pcarrollnf

    3.2.0 to 4.0.5 causes failure when trying to access secure E

    pcarrollnf

      I upgraded from JBoss3.2.0 to 4.0.5. I am using FORM based authentication. I have a custom login module that entends DatabaseServerLoginModule. I am able to login to the web application correctly. All the correct roles are assigned to the user. However, when I access a secured method in one of my EJB's, the principal is null. Here is the error I am receiving:

      java.rmi.AccessException: SecurityException; nested exception is: java.lang.SecurityException: Insufficient method permissions, principal=null, ejbName=IndexingManager, method=create, interface=HOME, requiredRoles=[INDEX], principalRoles=[ANONYMOUS, PARTNER]


      It gives me the ANONYMOUS and PARTNER roles because these are the roles associated with the unauthenticatedIdentity.

      Here is my login-config.xml:

      <application-policy name = "myRealm">
       <authentication>
       <login-module code="com.pcarrollnf.appserver.jboss.security.CustomLoginModule" flag="required">
       <module-option name = "unauthenticatedIdentity">anonymous</module-option>
       <module-option name = "dsJndiName">java:/jdbc/myRealm</module-option>
       <module-option name = "principalsQuery">SELECT A.PASSWORD FROM USERS A WHERE A.IS_ENABLED = 1 AND A.USER_NAME = ? AND ( A.EXPIRATION_DATE IS NULL OR A.EXPIRATION_DATE >= ? )</module-option>
       <module-option name = "rolesQuery">SELECT DISTINCT A.USER_NAME, C.ROLE_NAME FROM USER_GROUP A, ROLE_GROUP B, ROLES C WHERE A.USER_NAME = ? AND A.GROUP_ID = B.GROUP_ID AND B.ROLE_ID = C.ROLE_ID</module-option>
       </login-module>
       </authentication>
       </application-policy>
      


      I tried adding:
      <login-module code = "org.jboss.security.ClientLoginModule" flag = "required"></login-module>


      as the last login module in the myRealm policy but this did not work.

      Here is a snippet from my web.xml

      <login-config>
       <auth-method>FORM</auth-method>
       <realm-name>DefaultRealm</realm-name>
       <form-login-config>
       <form-login-page>/login.do</form-login-page>
       <form-error-page>/loginError.do</form-error-page>
       </form-login-config>
       </login-config>
      
       <security-role>
       <role-name>ADMIN</role-name>
       </security-role>
       <security-role>
       <role-name>CONFIG</role-name>
       </security-role>
       <security-role>
       <role-name>INDEX</role-name>
       </security-role>
       <security-role>
       <role-name>PUBLISH</role-name>
       </security-role>
       <security-role>
       <role-name>USER</role-name>
       </security-role>
       <security-role>
       <role-name>PARTNER</role-name>
       </security-role>
       <security-role>
       <role-name>ANONYMOUS</role-name>
       </security-role>


      Here is my ejb-jar.xml:

      <ejb-jar>
       <enterprise-beans>
      
       <session>
       <ejb-name>IndexingManager</ejb-name>
       <home>com.pcarrollnf.indexing.api.IndexingManagerHome</home>
       <remote>com.pcarrollnf.indexing.api.IndexingManager</remote>
       <ejb-class>com.pcarrollnf.indexing.ejb.IndexingManagerBean</ejb-class>
       <session-type>Stateless</session-type>
       <transaction-type>Container</transaction-type>
       <ejb-local-ref>
       <ejb-ref-name>ejb/DocumentSchemaAttribute</ejb-ref-name>
       <ejb-ref-type>Entity</ejb-ref-type>
       <local-home>com.pcarrollnf.schema.ejb.DocumentLocalHome</local-home>
       <local>com.digitalpaper.pcarrollnf.ejb.DocumentLocal</local>
       <ejb-link>Document</ejb-link>
       </ejb-local-ref>
      
       <security-identity><use-caller-identity/></security-identity>
       </session>
      
       <assembly-descriptor>
       <security-role>
       <role-name>INDEX</role-name>
       </security-role>
      
       <method-permission>
       <role-name>INDEX</role-name>
       <method>
       <ejb-name>IndexingManager</ejb-name>
       <method-name>*</method-name>
       </method>
       </method-permission>
      
       <container-transaction>
       <method>
       <ejb-name>IndexingManager</ejb-name>
       <method-name>*</method-name>
       </method>
       <trans-attribute>Required</trans-attribute>
       </container-transaction>
       </assembly-descriptor>
      </ejb-jar>


      Here is my jboss.xml:

      <jboss>
       <security-domain>java:/jaas/myRealm</security-domain>
       <enterprise-beans>
       <session>
       <ejb-name>IndexingManager</ejb-name>
       <jndi-name>indexing/IndexingManager</jndi-name>
       <configuration-name>Standard Stateless SessionBean</configuration-name>
       </session>
       </enterprise-beans>
       <container-configurations>
       <container-configuration extends="Standard CMP 2.x EntityBean">
       <container-name>CMP 2.x and Cache</container-name>
       <commit-option>D</commit-option>
       <optiond-refresh-rate>300</optiond-refresh-rate>
       </container-configuration>
       </container-configurations>
      </jboss>


      Any help would be appreciated. If you need me to post more information, please let me know. Thanks.

        • 1. Re: 3.2.0 to 4.0.5 causes failure when trying to access secu
          pcarrollnf

          Here is the log output when TRACE is on if this helps.

          
          2007-01-29 15:26:03,651 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Workspace#findByPrimaryKey] Executing SQL: SELECT t0_Workspace.WORKSPACE_ID, t0_Workspace.WORKSPACE_NAME, t0_Workspace.DESCRIPTION, t0_Workspace.CREATED_BY, t0_Workspace.CREATED_DATE, t0_Workspace.LAST_MODIFIED_BY, t0_Workspace.LAST_MODIFIED_DATE FROM WORKSPACE t0_Workspace WHERE t0_Workspace.WORKSPACE_ID=?
          2007-01-29 15:26:03,651 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.Workspace] load relation SQL: SELECT AUTHORITY_ID, GROUP_ID, IS_ADD, IS_EDIT, IS_DELETE, IS_RELEASE, WORKSPACE_ID FROM WORKSPACE_AUTH WHERE (WORKSPACE_ID=?)
          2007-01-29 15:26:03,682 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.Schema#findByName] Executing SQL: SELECT t0_s.SCHEMA_ID FROM SCHEMAS t0_s WHERE (t0_s.SCHEMA_NAME = ?)
          2007-01-29 15:26:03,682 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Schema] Executing SQL: SELECT SCHEMA_NAME, DESCRIPTION, CREATED_BY, CREATED_DATE, LAST_MODIFIED_BY, LAST_MODIFIED_DATE FROM SCHEMAS WHERE (SCHEMA_ID=?)
          2007-01-29 15:26:03,682 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.Schema#findAll] Executing SQL: SELECT t0_s.SCHEMA_ID, t0_s.SCHEMA_NAME FROM SCHEMAS t0_s ORDER BY t0_s.SCHEMA_NAME ASC
          2007-01-29 15:26:03,698 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Schema] Executing SQL: SELECT SCHEMA_ID, SCHEMA_NAME, DESCRIPTION, CREATED_BY, CREATED_DATE, LAST_MODIFIED_BY, LAST_MODIFIED_DATE FROM SCHEMAS WHERE (SCHEMA_ID=?) OR (SCHEMA_ID=?) OR (SCHEMA_ID=?) OR (SCHEMA_ID=?) OR (SCHEMA_ID=?) OR (SCHEMA_ID=?) OR (SCHEMA_ID=?) OR (SCHEMA_ID=?) OR (SCHEMA_ID=?)
          2007-01-29 15:26:03,714 DEBUG [com.maypark.workspace.api.WorkspaceDocumentContext] Executing SQL: SELECT count(*) FROM WORKSPACE_AUTH a, WORKSPACE_DOCUMENT b, DOCUMENT d WHERE a.GROUP_ID IN (SELECT GROUP_ID FROM USER_GROUP WHERE USER_NAME = ?) AND a.WORKSPACE_ID = b.WORKSPACE_ID AND a.WORKSPACE_ID = ? AND d.DOCUMENT_ID = b.DOCUMENT_ID AND d.DOCUMENT_ID = ? AND d.DOCUMENT_STATUS = 0
          2007-01-29 15:26:03,714 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Document#findByPrimaryKey] Executing SQL: SELECT t0_Document.DOCUMENT_ID, t0_Document.DOCUMENT_REVISION, t0_Document.DOCUMENT_STATUS, t0_Document.MIME_TYPE, t0_Document.FILE_NAME, t0_Document.FILE_LOCATION, t0_Document.FILE_SIZE, t0_Document.PAGE_COUNT, t0_Document.CREATED_BY, t0_Document.CREATED_DATE, t0_Document.LAST_MODIFIED_BY, t0_Document.LAST_MODIFIED_DATE, t0_Document.RELEASED_BY, t0_Document.RELEASE_DATE, t0_Document.RELEASE_MESSAGES FROM DOCUMENT t0_Document WHERE t0_Document.DOCUMENT_ID=?
          2007-01-29 15:26:03,745 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.Document] load relation SQL: SELECT ATTR_ID, ATTR_NAME, ATTR_DISPLAY_NAME, ATTR_VALUE_TEXT, ATTR_VALUE_DATE, ATTR_VALUE_NUMBER, ATTR_TYPE_ID, ATTR_SIZE, ATTR_FORMAT, ATTR_VALIDATION_PATTERN, IS_REQUIRED, IS_REVISION_KEY, ATTR_ORDER, DOCUMENT_ID FROM DOCUMENT_ATTRIBUTE WHERE (DOCUMENT_ID=?)
          2007-01-29 15:26:03,760 DEBUG [org.jboss.jms.client.remoting.JMSRemotingConnection] JMSRemotingConnection[socket://10.6.25.121:4457/?clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat] created
          2007-01-29 15:26:03,760 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] ServerInvoker (org.jboss.remoting.transport.socket.SocketServerInvoker@1342e4a) added client callback handler org.jboss.jms.client.remoting.DummyCallbackHandler@14ac3cb with session id of a6p3d-pau28v-exjcilan-1-exjcqi5s-1y+a6p3d-pau28v-exjcilan-1-exjcqi5s-1z and callback handle object of null.
          2007-01-29 15:26:03,760 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] Session id for callback handler is a6p3d-pau28v-exjcilan-1-exjcqi5s-1y+a6p3d-pau28v-exjcilan-1-exjcqi5s-1z
          2007-01-29 15:26:03,760 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] adding callback handler org.jboss.remoting.callback.ServerInvokerCallbackHandler - id: a6p3d-pau28v-exjcilan-1-exjcqi5s-1y+a6p3d-pau28v-exjcilan-1-exjcqi5s-1z
          2007-01-29 15:26:03,760 DEBUG [org.jboss.jms.client.remoting.JMSRemotingConnection] JMSRemotingConnection[socket://10.6.25.121:4457/?clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat] started
          2007-01-29 15:26:03,760 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] found calllback handler for remoting session ...-exjcqi5s-1y
          2007-01-29 15:26:03,760 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint] creating a new connection for user null
          2007-01-29 15:26:03,760 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint] created and registered ConnectionEndpoint[-2147483526]
          2007-01-29 15:26:03,760 DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] registered connection ConnectionEndpoint[-2147483526] as ...-exjcqi5s-1y
          2007-01-29 15:26:03,760 DEBUG [org.jboss.jms.message.MessageIdGeneratorFactory] checked out MessageIdGenerator for server.0, reference count is 14
          2007-01-29 15:26:03,760 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] creating session non transacted, AUTO_ACKNOWLEDGE, non XA
          2007-01-29 15:26:03,760 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] created SessionDelegate[-2147483525]
          2007-01-29 15:26:03,760 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] created and registered SessionEndpoint[-2147483525]
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.objectmetamodel.ObjectDescriptorFactory] describeObject for class=com.maypark.audit.api.AuditVO
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.objectmetamodel.ObjectDescriptorFactory] describeObject::a new reference 1
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] defaultWrite::com.maypark.audit.api.AuditVO contains 2 slots
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] defaultWrite:: slot 0 NR=com.maypark.util.AbstractValueObject from parentClass=com.maypark.audit.api.AuditVO
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.util.AbstractValueObject and 2 fields
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=0
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.util.AbstractValueObject objectField objectID with object=NULL
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=1
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.util.AbstractValueObject objectField parentID with object=NULL
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] defaultWrite:: slot 1 NR=com.maypark.audit.api.AuditVO from parentClass=com.maypark.audit.api.AuditVO
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO and 16 fields
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=0
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO objectField auditID with object=NULL
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=1
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO objectField affectingPK with object=java.lang.Long
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=2
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO objectField affectedPK with object=java.lang.Long
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=3
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO primitiveField actingSubjectID with object=NULL
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=4
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO primitiveField affectedSubjectID with object=NULL
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=5
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO primitiveField operationID with object=NULL
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=6
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO objectField logDate with object=NULL
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=7
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO objectField userName with object=java.lang.String
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=8
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO objectField clientAddress with object=java.lang.String
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=9
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO objectField serverAddress with object=java.lang.String
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=10
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO objectField subjectName with object=NULL
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=11
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO objectField subjectDescription with object=NULL
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=12
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO objectField operationName with object=NULL
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=13
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO objectField operationDescription with object=NULL
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=14
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO objectField actionPerformed with object=NULL
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields FieldNr=15
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=com.maypark.audit.api.AuditVO objectField affectedSubjects with object=java.util.Collections$EmptyList
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.objectmetamodel.ObjectDescriptorFactory] describeObject for class=java.util.Collections$EmptyList
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.objectmetamodel.ObjectDescriptorFactory] describeObject::a new reference 7
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] defaultWrite::java.util.Collections$EmptyList contains 1 slots
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] defaultWrite:: slot 0 NR=java.util.Collections$EmptyList from parentClass=java.util.Collections$EmptyList
          2007-01-29 15:26:03,760 DEBUG [org.jboss.serial.persister.RegularObjectPersister] writeSlotWithFields slot=java.util.Collections$EmptyList and 0 fields
          2007-01-29 15:26:03,760 DEBUG [org.jboss.jms.server.security.SecurityMetadataStore] No SecurityMetadadata was available for AuditQueue, using default security config
          2007-01-29 15:26:03,823 DEBUG [org.jboss.jms.client.container.ClosedInterceptor] ClosedInterceptor.ClientProducerDelegate[-1] closed
          2007-01-29 15:26:03,823 DEBUG [org.jboss.jms.client.container.ClosedInterceptor] ClosedInterceptor.ClientSessionDelegate[-2147483525] closed
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.objectmetamodel.ObjectDescriptorFactory] objectFromDescription::reading new definition
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.util.StringUtil] Reading string with utfSize=34 isLong=false
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.util.StringUtil] readString::pulling data to Buffer at pos 0 size= 0
          2007-01-29 15:26:03,823 DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] unregistered connection ConnectionEndpoint[-2147483526] with remoting session ID ...-exjcqi5s-1y
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.objectmetamodel.ObjectDescriptorFactory] Reading object for id=1 classLoader=org.jboss.util.loading.DelegatingClassLoader@198724d className = com.maypark.audit.api.AuditVO
          2007-01-29 15:26:03,823 DEBUG [org.jboss.jms.client.remoting.JMSRemotingConnection] JMSRemotingConnection[socket://10.6.25.121:4457/?clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat] closing
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] defaultRead::class com.maypark.audit.api.AuditVO contains 2 slots
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] defaultRead::slot[0]=com.maypark.util.AbstractValueObject
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.util.AbstractValueObject
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=objectID
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.util.AbstractValueObject field=objectID<<-reading Object
          2007-01-29 15:26:03,823 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] ServerInvoker (org.jboss.remoting.transport.socket.SocketServerInvoker@1342e4a) removing client callback handler with session id of a6p3d-pau28v-exjcilan-1-exjcqi5s-1y+a6p3d-pau28v-exjcilan-1-exjcqi5s-1z.
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=parentID
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.util.AbstractValueObject field=parentID<<-reading Object
          2007-01-29 15:26:03,823 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] removing callback handler: org.jboss.remoting.callback.ServerInvokerCallbackHandler - id: a6p3d-pau28v-exjcilan-1-exjcqi5s-1y+a6p3d-pau28v-exjcilan-1-exjcqi5s-1z
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] defaultRead::slot[1]=com.maypark.audit.api.AuditVO
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.audit.api.AuditVO
          2007-01-29 15:26:03,823 DEBUG [org.jboss.jms.client.remoting.JMSRemotingConnection] JMSRemotingConnection[socket://10.6.25.121:4457/?clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat] closed
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=auditID
          2007-01-29 15:26:03,823 DEBUG [org.jboss.jms.message.MessageIdGeneratorFactory] checked in MessageIdGenerator for server.0, reference count is 13
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.audit.api.AuditVO field=auditID<<-reading Object
          2007-01-29 15:26:03,823 DEBUG [org.jboss.jms.client.container.ClosedInterceptor] ClosedInterceptor.ClientConnectionDelegate[-2147483526] closed
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=affectingPK
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.audit.api.AuditVO field=affectingPK<<-reading Object
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=affectedPK
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.audit.api.AuditVO field=affectedPK<<-reading Object
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=actingSubjectID
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=affectedSubjectID
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=operationID
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=logDate
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.audit.api.AuditVO field=logDate<<-reading Object
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=userName
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.audit.api.AuditVO field=userName<<-reading Object
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.util.StringUtil] Reading string with utfSize=8 isLong=false
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.util.StringUtil] readString::pulling data to Buffer at pos 0 size= 0
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=clientAddress
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.audit.api.AuditVO field=clientAddress<<-reading Object
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.util.StringUtil] Reading string with utfSize=7 isLong=false
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.util.StringUtil] readString::pulling data to Buffer at pos 0 size= 0
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=serverAddress
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.audit.api.AuditVO field=serverAddress<<-reading Object
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.util.StringUtil] Reading string with utfSize=11 isLong=false
          2007-01-29 15:26:03,823 DEBUG [org.jboss.serial.util.StringUtil] readString::pulling data to Buffer at pos 0 size= 0
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=subjectName
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.audit.api.AuditVO field=subjectName<<-reading Object
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=subjectDescription
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.audit.api.AuditVO field=subjectDescription<<-reading Object
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=operationName
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.audit.api.AuditVO field=operationName<<-reading Object
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=operationDescription
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.audit.api.AuditVO field=operationDescription<<-reading Object
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=actionPerformed
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.audit.api.AuditVO field=actionPerformed<<-reading Object
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.persister.RegularObjectPersister] FieldName on Read=affectedSubjects
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=com.maypark.audit.api.AuditVO field=affectedSubjects<<-reading Object
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.objectmetamodel.ObjectDescriptorFactory] objectFromDescription::reading new definition
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.util.StringUtil] Reading string with utfSize=31 isLong=false
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.util.StringUtil] readString::pulling data to Buffer at pos 0 size= 0
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.objectmetamodel.ObjectDescriptorFactory] Reading object for id=7 classLoader=org.jboss.util.loading.DelegatingClassLoader@198724d className = java.util.Collections$EmptyList
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.persister.RegularObjectPersister] defaultRead::class java.util.Collections$EmptyList contains 1 slots
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.persister.RegularObjectPersister] defaultRead::slot[0]=java.util.Collections$EmptyList
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.persister.RegularObjectPersister] readSlotWithFields slot=java.util.Collections$EmptyList
          2007-01-29 15:26:03,839 DEBUG [org.jboss.serial.objectmetamodel.ObjectDescriptorFactory] readObjectDescriptionFromStreaming::calling readResolve for className = java.util.Collections$EmptyList
          2007-01-29 15:26:03,839 DEBUG [com.maypark.sequence.api.SequenceDispenser$SequenceBlock] Dispensing next sequence: name=AUDIT_LOG, nextValue=106001, highValue=107000
          2007-01-29 15:26:03,839 ERROR [STDERR] java.rmi.AccessException: SecurityException; nested exception is:
           java.lang.SecurityException: Insufficient method permissions, principal=null, ejbName=IndexingManager, method=create, interface=HOME, requiredRoles=[INDEX], principalRoles=[ANONYMOUS, PARTNER]