@SecurityDomain in JBoss4.0.4RC1
yantriki Feb 28, 2006 3:35 PMI don't see any security/roles etc level message during the the deployment . My EJB seems to be defaulting to UserPasswordLoginModule, although I have another login module configured for the domain that I am using.
I used to get the adding authorization privileges messages in 4.0.3SP1, and it was working fine.
I would appreciate any pointers and help.
15:29:43,171 INFO [EARDeployer] Init J2EE application: file:/F:/java/jboss/jboss-4.0.4RC1/server/default/deploy/corview.ear
15:29:45,625 INFO [Ejb3AnnotationHandler] found EJB3: ejbName=SecurityManagerBean, class=org.vss.ejb3.sb.SecurityManagerBean, type=STATELESS
15:29:45,765 INFO [Ejb3Deployment] EJB3 deployment time took: 531
15:29:45,875 FATAL [PersistenceXmlLoader] ccor JTA
15:29:45,890 INFO [Ejb3Deployment] EJB3 deployment time took: 109
15:29:46,062 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:service=EJB3,ear=corview.ear,jar=corview.ejb3,name=SecurityManagerBean with dependencies:
15:29:46,062 INFO [JmxKernelAbstraction] persistence.units:ear=corview.ear.ear,unitName=ccor
15:29:46,078 INFO [EJB3Deployer] Deployed: file:/F:/java/jboss/jboss-4.0.4RC1/server/default/tmp/deploy/tmp6733corview.ear-contents/corview.ejb3
15:29:46,078 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=corview.ear.ear,unitName=ccor with dependencies:
15:29:46,078 INFO [JmxKernelAbstraction] jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
15:29:46,218 INFO [Environment] Hibernate 3.1.2
15:29:46,234 INFO [Environment] hibernate.properties not found
15:29:46,250 INFO [Environment] using CGLIB reflection optimizer
15:29:46,250 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
15:29:46,546 INFO [Ejb3Configuration] found EJB3 Entity bean: org.vss.ejb3.eb.Audit
15:29:46,562 INFO [Ejb3Configuration] found EJB3 Entity bean: org.vss.ejb3.eb.ConnectionPort
15:29:46,562 INFO [Ejb3Configuration] found EJB3 Entity bean: org.vss.ejb3.eb.ElementProperty
15:29:46,562 INFO [Ejb3Configuration] found EJB3 @Embeddable: org.vss.ejb3.eb.ElementPropertyPK
15:29:46,562 INFO [Ejb3Configuration] found EJB3 Entity bean: org.vss.ejb3.eb.ElementType
15:29:46,562 INFO [Ejb3Configuration] found EJB3 Entity bean: org.vss.ejb3.eb.Module
15:29:46,578 INFO [Ejb3Configuration] found EJB3 Entity bean: org.vss.ejb3.eb.ModuleType
15:29:46,578 INFO [Ejb3Configuration] found EJB3 Entity bean: org.vss.ejb3.eb.NetworkElement
15:29:46,578 INFO [Ejb3Configuration] found EJB3 Entity bean: org.vss.ejb3.eb.Role
15:29:46,578 INFO [Ejb3Configuration] found EJB3 Entity bean: org.vss.ejb3.eb.Service
15:29:46,578 INFO [Ejb3Configuration] found EJB3 Entity bean: org.vss.ejb3.eb.Trap
15:29:46,578 INFO [Ejb3Configuration] found EJB3 Entity bean: org.vss.ejb3.eb.TrapsDetail
15:29:46,578 INFO [Ejb3Configuration] found EJB3 @Embeddable: org.vss.ejb3.eb.TrapsDetailPK
15:29:46,593 INFO [Ejb3Configuration] found EJB3 Entity bean: org.vss.ejb3.eb.User
15:29:46,828 INFO [AnnotationBinder] Binding entity from annotated class: org.vss.ejb3.eb.ElementType
15:29:46,984 INFO [EntityBinder] Bind entity org.vss.ejb3.eb.ElementType on table ElementType
15:29:47,171 INFO [AnnotationBinder] Binding entity from annotated class: org.vss.ejb3.eb.ModuleType
15:29:47,171 INFO [EntityBinder] Bind entity org.vss.ejb3.eb.ModuleType on table ModuleType
15:29:47,296 INFO [AnnotationBinder] Binding entity from annotated class: org.vss.ejb3.eb.NetworkElement
15:29:47,296 INFO [EntityBinder] Bind entity org.vss.ejb3.eb.NetworkElement on table NetworkElement
15:29:47,343 INFO [AnnotationBinder] Binding entity from annotated class: org.vss.ejb3.eb.ElementProperty
15:29:47,359 WARN [AnnotationBinder] Root entity should not hold an PrimaryKeyJoinColum(s), will be ignored
15:29:47,359 INFO [EntityBinder] Bind entity org.vss.ejb3.eb.ElementProperty on table ElementProperties
15:29:47,375 INFO [AnnotationBinder] Binding entity from annotated class: org.vss.ejb3.eb.Module
15:29:47,375 INFO [EntityBinder] Bind entity org.vss.ejb3.eb.Module on table Module
15:29:47,375 INFO [AnnotationBinder] Binding entity from annotated class: org.vss.ejb3.eb.ConnectionPort
15:29:47,375 INFO [EntityBinder] Bind entity org.vss.ejb3.eb.ConnectionPort on table ConnectionPort
15:29:47,421 INFO [AnnotationBinder] Binding entity from annotated class: org.vss.ejb3.eb.Service
15:29:47,421 INFO [EntityBinder] Bind entity org.vss.ejb3.eb.Service on table Service
15:29:47,421 INFO [AnnotationBinder] Binding entity from annotated class: org.vss.ejb3.eb.Trap
15:29:47,421 INFO [EntityBinder] Bind entity org.vss.ejb3.eb.Trap on table Trap
15:29:47,421 INFO [AnnotationBinder] Binding entity from annotated class: org.vss.ejb3.eb.TrapsDetail
15:29:47,437 WARN [AnnotationBinder] Root entity should not hold an PrimaryKeyJoinColum(s), will be ignored
15:29:47,437 INFO [EntityBinder] Bind entity org.vss.ejb3.eb.TrapsDetail on table TrapsDetail
15:29:47,437 INFO [AnnotationBinder] Binding entity from annotated class: org.vss.ejb3.eb.Role
15:29:47,437 INFO [QueryBinder] Binding Named query: getRole => select Object(r) from Role r where roleID = :roleID
15:29:47,437 INFO [EntityBinder] Bind entity org.vss.ejb3.eb.Role on table Roles
15:29:47,453 INFO [AnnotationBinder] Binding entity from annotated class: org.vss.ejb3.eb.User
15:29:47,453 INFO [QueryBinder] Binding Named query: loginQuery => select Object(u) from User u where loginID = :loginID
15:29:47,453 INFO [EntityBinder] Bind entity org.vss.ejb3.eb.User on table Users
15:29:47,484 INFO [AnnotationBinder] Binding entity from annotated class: org.vss.ejb3.eb.Audit
15:29:47,484 INFO [EntityBinder] Bind entity org.vss.ejb3.eb.Audit on table Audit
15:29:47,718 INFO [CollectionBinder] Mapping collection: org.vss.ejb3.eb.Trap.details -> TrapsDetail
15:29:47,718 INFO [CollectionBinder] Mapping collection: org.vss.ejb3.eb.NetworkElement.properties -> ElementProperties
15:29:47,734 INFO [CollectionBinder] Mapping collection: org.vss.ejb3.eb.ModuleType.modules_of_type -> Module
15:29:47,734 INFO [CollectionBinder] Mapping collection: org.vss.ejb3.eb.NetworkElement.modules -> Module
15:29:47,734 INFO [CollectionBinder] Mapping collection: org.vss.ejb3.eb.NetworkElement.audit -> Audit
15:29:47,734 INFO [CollectionBinder] Mapping collection: org.vss.ejb3.eb.Module.ports -> ConnectionPort
15:29:48,390 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
15:29:48,421 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
15:29:48,437 INFO [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
15:29:48,437 INFO [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
15:29:48,812 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
15:29:48,843 INFO [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions)
15:29:48,843 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
15:29:48,859 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
15:29:48,859 INFO [SettingsFactory] Automatic flush during beforeCompletion(): enabled
15:29:48,859 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
15:29:48,859 INFO [SettingsFactory] JDBC batch size: 15
15:29:48,859 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
15:29:48,859 INFO [SettingsFactory] Scrollable result sets: enabled
15:29:48,859 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
15:29:48,859 INFO [SettingsFactory] Connection release mode: after_statement
15:29:48,859 INFO [SettingsFactory] Default batch fetch size: 1
15:29:48,859 INFO [SettingsFactory] Generate SQL with comments: disabled
15:29:48,859 INFO [SettingsFactory] Order SQL updates by primary key: disabled
15:29:48,859 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
15:29:48,875 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
15:29:48,875 INFO [SettingsFactory] Query language substitutions: {}
15:29:48,875 INFO [SettingsFactory] Second-level cache: enabled
15:29:48,875 INFO [SettingsFactory] Query cache: disabled
15:29:48,875 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
15:29:48,875 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
15:29:48,875 INFO [SettingsFactory] Structured second-level cache entries: disabled
15:29:48,906 INFO [SettingsFactory] Statistics: disabled
15:29:48,906 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
15:29:48,906 INFO [SettingsFactory] Default entity-mode: pojo
15:29:49,015 INFO [SessionFactoryImpl] building session factory
15:29:50,562 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
15:29:50,609 INFO [SchemaExport] Running hbm2ddl schema export
15:29:50,625 INFO [SchemaExport] exporting generated schema to database
15:29:50,687 INFO [SchemaExport] schema export complete
15:29:50,718 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
15:29:53,703 INFO [EJB3Deployer] Deployed: file:/F:/java/jboss/jboss-4.0.4RC1/server/default/tmp/deploy/tmp6733corview.ear-contents/corview.par
15:29:53,703 INFO [TomcatDeployer] deploy, ctxPath=/corview, warUrl=.../tmp/deploy/tmp6733corview.ear-contents/corview-exp.war/
15:29:53,953 INFO [SecurityContextFilter] The Login module is set to: corview-client
15:29:53,968 INFO [LoggedInFilter] Context Root of the application is: /corview
15:29:55,609 INFO [TilesPlugin] Tiles definition factory loaded for module ''.
15:29:55,625 INFO [ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validator-rules.xml'
15:29:55,625 INFO [ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validation.xml'
15:29:56,140 INFO [JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 2
15:29:56,171 ERROR [JBossCacheService] jboss.cache:service=TomcatClusteringCache service to Tomcat clustering not found
15:29:56,171 ERROR [JBossCacheManager] JBossCacheService to Tomcat clustering not found
15:29:56,171 ERROR [TomcatDeployer] Failed to setup clustering, clustering disabled
15:29:56,281 INFO [EARDeployer] Started J2EE application: file:/F:/java/jboss/jboss-4.0.4RC1/server/default/deploy/corview.ear
15:29:56,640 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
15:29:57,062 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
15:29:57,093 INFO [JkMain] Jk running ID=0 time=0/93 config=null
15:29:57,140 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8443
15:29:57,218 INFO [Server] JBoss (MX MicroKernel) [4.0.4RC1 (build: CVSTag=JBoss_4_0_4_RC1 date=200602071519)] Started in 1m:12s:984ms