Upgrading from 4.0.4 GA to jboss 6
jpeal Jul 8, 2011 10:03 AMGreetings! With no computer science background (my apologies in advance for my lack of technological terminology), I've been asked to upgrade our web server which deploys an EAR. I've managed to successfully (or not so successfully) build an old NetBeans project (consisting of a number of session beans and servlets) that was using J2EE (now using javaee and was running on JBOSS 4.0.4 GA), and I pasted the resulting EAR into the server\default\deploy folder. JBOSS starts, but it does not seem that the application has started.
----------------------------------------------------------------------------------------------------------------------------------------------
4.0.4 GA log:
----------------------------------------------------------------------------------------------------------------------------------------------------
6.0.0 log:
recovery.ActionStatusService on port 4713
08:40:46,040 INFO [arjuna] ARJUNA-12337 TransactionStatusManagerItem host: 0.0.
0.0 port: 4713
08:40:46,040 INFO [arjuna] ARJUNA-12170 TransactionStatusManager started on por
t 4713 and host 0.0.0.0 with service com.arjuna.ats.arjuna.recovery.ActionStatus
Service
08:40:46,071 INFO [jbossatx] ARJUNA-32017 JBossTS Transaction Service (JTA vers
ion - tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
08:40:46,102 INFO [arjuna] ARJUNA-12202 registering bean jboss.jta:type=ObjectS
tore.
08:40:46,274 INFO [AprLifecycleListener] The Apache Tomcat Native library which
allows optimal performance in production environments was not found on the java
.library.path: D:\Java\jdk1.6.0_26\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system
32;C:\WINDOWS;C:\Program Files\Legato\nsr\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\
WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;D:\Java\jdk1.6.0_26\bin;D:\Jav
a\jdk1.6.0_26\lib;D:\Program Files\ArcGIS\java\lib;D:\Java\jdk1.6.0_26\jre\bin;D
:\Program Files\ArcGIS\java\tools\ant\bin;D:\ArcGIS\ArcSDE\bin;D:\ArcGIS\ArcSDE\
lib;C:\Program Files\Dell\SysMgt\oma\bin;.
08:40:46,384 INFO [ModClusterService] Initializing mod_cluster 1.1.0.Final
08:40:46,399 INFO [TomcatDeployment] deploy, ctxPath=/invoker
08:40:46,681 INFO [RARDeployment] Required license terms exist, view vfs:/D:/JB
OSS/jboss-6.0.0.Final/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
08:40:46,696 INFO [RARDeployment] Required license terms exist, view vfs:/D:/JB
OSS/jboss-6.0.0.Final/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
08:40:46,712 INFO [RARDeployment] Required license terms exist, view vfs:/D:/JB
OSS/jboss-6.0.0.Final/server/default/deploy/jms-ra.rar/META-INF/ra.xml
08:40:46,728 INFO [HornetQResourceAdapter] HornetQ resource adaptor started
08:40:46,728 INFO [RARDeployment] Required license terms exist, view vfs:/D:/JB
OSS/jboss-6.0.0.Final/server/default/deploy/mail-ra.rar/META-INF/ra.xml
08:40:46,743 INFO [RARDeployment] Required license terms exist, view vfs:/D:/JB
OSS/jboss-6.0.0.Final/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
08:40:46,806 INFO [SimpleThreadPool] Job execution threads will use class loade
r of thread: Thread-2
08:40:46,837 INFO [SchedulerSignalerImpl] Initialized Scheduler Signaller of ty
pe: class org.quartz.core.SchedulerSignalerImpl
08:40:46,837 INFO [QuartzScheduler] Quartz Scheduler v.1.8.3 created.
08:40:46,853 INFO [RAMJobStore] RAMJobStore initialized.
08:40:46,853 INFO [QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v1.8
.3) 'JBossQuartzScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persis
tence. and is not clustered.
08:40:46,853 INFO [StdSchedulerFactory] Quartz scheduler 'JBossQuartzScheduler'
initialized from an externally opened InputStream.
08:40:46,853 INFO [StdSchedulerFactory] Quartz scheduler version: 1.8.3
08:40:46,853 INFO [QuartzScheduler] Scheduler JBossQuartzScheduler_$_NON_CLUSTE
RED started.
08:40:47,134 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
08:40:47,149 INFO [PersistenceUnitDeployment] Starting persistence unit persist
ence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb
08:40:47,321 INFO [Version] Hibernate Commons Annotations 3.2.0.Final
08:40:47,337 INFO [Environment] Hibernate 3.6.0.Final
08:40:47,337 INFO [Environment] hibernate.properties not found
08:40:47,337 INFO [Environment] Bytecode provider name : javassist
08:40:47,353 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
08:40:47,446 INFO [Version] Hibernate EntityManager 3.6.0.Final
08:40:47,462 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [
name: timerdb
...]
08:40:47,493 WARN [Ejb3Configuration] Persistence provider caller does not impl
ement the EJB3 spec correctly.PersistenceUnitInfo.getNewTempClassLoader() is nul
l.
08:40:47,540 INFO [AnnotationBinder] Binding entity from annotated class: org.j
boss.ejb3.timerservice.mk2.persistence.TimerEntity
08:40:47,603 INFO [EntityBinder] Bind entity org.jboss.ejb3.timerservice.mk2.pe
rsistence.TimerEntity on table timer
08:40:47,649 INFO [AnnotationBinder] Binding entity from annotated class: org.j
boss.ejb3.timerservice.mk2.persistence.CalendarTimerEntity
08:40:47,665 INFO [EntityBinder] Bind entity org.jboss.ejb3.timerservice.mk2.pe
rsistence.CalendarTimerEntity on table calendar_timer
08:40:47,681 INFO [AnnotationBinder] Binding entity from annotated class: org.j
boss.ejb3.timerservice.mk2.persistence.TimeoutMethod
08:40:47,681 INFO [EntityBinder] Bind entity org.jboss.ejb3.timerservice.mk2.pe
rsistence.TimeoutMethod on table timeout_method
08:40:47,743 INFO [Version] Hibernate Validator 3.1.0.GA
08:40:47,774 INFO [Version] Hibernate Validator 4.1.0.Final
08:40:47,790 INFO [DefaultTraversableResolver] Instantiated an instance of org.
hibernate.validator.engine.resolver.JPATraversableResolver.
08:40:47,915 INFO [DefaultTraversableResolver] Instantiated an instance of org.
hibernate.validator.engine.resolver.JPATraversableResolver.
08:40:47,915 INFO [DefaultTraversableResolver] Instantiated an instance of org.
hibernate.validator.engine.resolver.JPATraversableResolver.
08:40:47,931 INFO [HibernateSearchEventListenerRegister] Unable to find org.hib
ernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Searc
h is not enabled.
08:40:47,946 INFO [ConnectionProviderFactory] Initializing connection provider:
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
08:40:47,946 INFO [InjectedDataSourceConnectionProvider] Using provided datasou
rce
08:40:48,040 INFO [SettingsFactory] Database ->
name : HSQL Database Engine
version : 1.8.0
major : 1
minor : 8
08:40:48,040 INFO [SettingsFactory] Driver ->
name : HSQL Database Engine Driver
version : 1.8.0
major : 1
minor : 8
08:40:48,071 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
08:40:48,103 INFO [JdbcSupportLoader] Disabling contextual LOB creation as JDBC
driver reported JDBC version [3] less than 4
08:40:48,103 INFO [TransactionFactoryFactory] Transaction strategy: org.hiberna
te.ejb.transaction.JoinableCMTTransactionFactory
08:40:48,103 INFO [TransactionManagerLookupFactory] instantiating TransactionMa
nagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
08:40:48,103 INFO [TransactionManagerLookupFactory] instantiated TransactionMan
agerLookup
08:40:48,103 INFO [SettingsFactory] Automatic flush during beforeCompletion():
disabled
08:40:48,103 INFO [SettingsFactory] Automatic session close at end of transacti
on: disabled
08:40:48,103 INFO [SettingsFactory] JDBC batch size: 15
08:40:48,103 INFO [SettingsFactory] JDBC batch updates for versioned data: disa
bled
08:40:48,103 INFO [SettingsFactory] Scrollable result sets: enabled
08:40:48,118 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
08:40:48,118 INFO [SettingsFactory] Connection release mode: auto
08:40:48,118 INFO [SettingsFactory] Default batch fetch size: 1
08:40:48,118 INFO [SettingsFactory] Generate SQL with comments: disabled
08:40:48,118 INFO [SettingsFactory] Order SQL updates by primary key: disabled
08:40:48,118 INFO [SettingsFactory] Order SQL inserts for batching: disabled
08:40:48,118 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.AST
QueryTranslatorFactory
08:40:48,118 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
08:40:48,118 INFO [SettingsFactory] Query language substitutions: {}
08:40:48,118 INFO [SettingsFactory] JPA-QL strict compliance: enabled
08:40:48,118 INFO [SettingsFactory] Second-level cache: enabled
08:40:48,118 INFO [SettingsFactory] Query cache: disabled
08:40:48,118 INFO [SettingsFactory] Cache region factory : org.hibernate.cache.
impl.bridge.RegionFactoryCacheProviderBridge
08:40:48,134 INFO [RegionFactoryCacheProviderBridge] Cache provider: org.hibern
ate.cache.HashtableCacheProvider
08:40:48,134 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
08:40:48,134 INFO [SettingsFactory] Cache region prefix: persistence.unit:unitN
ame=jboss-ejb3-timerservice-mk2.jar#timerdb
08:40:48,134 INFO [SettingsFactory] Structured second-level cache entries: disa
bled
08:40:48,149 INFO [SettingsFactory] Statistics: disabled
08:40:48,149 INFO [SettingsFactory] Deleted entity synthetic identifier rollbac
k: disabled
08:40:48,149 INFO [SettingsFactory] Default entity-mode: pojo
08:40:48,149 INFO [SettingsFactory] Named query checking : enabled
08:40:48,149 INFO [SettingsFactory] Check Nullability in Core (should be disabl
ed when Bean Validation is on): disabled
08:40:48,181 INFO [SessionFactoryImpl] building session factory
08:40:48,399 INFO [SessionFactoryObjectFactory] Factory name: persistence.unit:
unitName=jboss-ejb3-timerservice-mk2.jar#timerdb
08:40:48,399 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.fa
ctory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.p
kgs=org.jboss.naming:org.jnp.interfaces}
08:40:48,415 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: per
sistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb
08:40:48,415 WARN [SessionFactoryObjectFactory] InitialContext did not implemen
t EventContext
08:40:48,415 INFO [SchemaUpdate] Running hbm2ddl schema update
08:40:48,415 INFO [SchemaUpdate] fetching database metadata
08:40:48,431 INFO [SchemaUpdate] updating schema
08:40:48,431 INFO [DefaultTraversableResolver] Instantiated an instance of org.
hibernate.validator.engine.resolver.JPATraversableResolver.
08:40:48,462 INFO [TableMetadata] table found: PUBLIC.TIMEOUTMETHOD_METHODPARAM
S
08:40:48,462 INFO [TableMetadata] columns: [methodparams, timeoutmethod_id]
08:40:48,478 INFO [TableMetadata] foreign keys: [fkf294c964b7de2d8a]
08:40:48,478 INFO [TableMetadata] indexes: [sys_idx_55]
08:40:48,493 INFO [TableMetadata] table found: PUBLIC.CALENDAR_TIMER
08:40:48,493 INFO [TableMetadata] columns: [scheduleexprtimezone, scheduleexprs
econd, autotimer, scheduleexprstartdate, scheduleexprminute, scheduleexprhour, t
imeoutmethod_id, id, scheduleexprdayofmonth, scheduleexprenddate, scheduleexprmo
nth, scheduleexprdayofweek, scheduleexpryear]
08:40:48,493 INFO [TableMetadata] foreign keys: [fk2b697f04b7de2d8a, fk2b697f04
e6e6ef93]
08:40:48,493 INFO [TableMetadata] indexes: [sys_idx_57, sys_idx_49, sys_idx_59]
08:40:48,493 INFO [TableMetadata] table found: PUBLIC.TIMEOUT_METHOD
08:40:48,509 INFO [TableMetadata] columns: [id, methodname, declaringclass]
08:40:48,509 INFO [TableMetadata] foreign keys: []
08:40:48,509 INFO [TableMetadata] indexes: [sys_idx_51]
08:40:48,509 INFO [TableMetadata] table found: PUBLIC.TIMER
08:40:48,509 INFO [TableMetadata] columns: [id, previousrun, initialdate, repea
tinterval, timedobjectid, timerstate, nextdate, info]
08:40:48,524 INFO [TableMetadata] foreign keys: []
08:40:48,524 INFO [TableMetadata] indexes: [sys_idx_53]
08:40:48,524 INFO [SchemaUpdate] schema update complete
08:40:48,524 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.fa
ctory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.p
kgs=org.jboss.naming:org.jnp.interfaces}
08:40:48,665 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
08:40:48,790 INFO [xnio] XNIO Version 2.1.0.CR2
08:40:48,806 INFO [nio] XNIO NIO Implementation Version 2.1.0.CR2
08:40:48,931 INFO [remoting] JBoss Remoting version 3.1.0.Beta2
08:40:49,009 INFO [TomcatDeployment] deploy, ctxPath=/
08:40:49,040 INFO [BeanInstantiatorDeployerBase] Installed org.jboss.ejb3.insta
ntiator.impl.Ejb31SpecBeanInstantiator@1940cc9 into MC at org.jboss.ejb.bean.ins
tantiator/MCPRIMA_4x/MCPRIMA_4X-ejb/ArcObjConBean_4x
08:40:49,056 INFO [BeanInstantiatorDeployerBase] Installed org.jboss.ejb3.insta
ntiator.impl.Ejb31SpecBeanInstantiator@1940cc9 into MC at org.jboss.ejb.bean.ins
tantiator/MCPRIMA_4x/MCPRIMA_4X-ejb/DBConnectionBean_4x
08:40:49,056 WARN [InterceptorInfoRepository] EJBTHREE-1852: InterceptorInfoRep
ository is deprecated
08:40:49,587 INFO [JBossASKernel] Created KernelDeployment for: MCPRIMA_4X-ejb.
jar
08:40:49,603 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=MCPRIMA_4x.ea
r,jar=MCPRIMA_4X-ejb.jar,name=DBConnectionBean_4x,service=EJB3
08:40:49,603 INFO [JBossASKernel] with dependencies:
08:40:49,603 INFO [JBossASKernel] and demands:
08:40:49,603 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService; Required: Described
08:40:49,603 INFO [JBossASKernel] jboss-switchboard:appName=MCPRIMA_4x,module=MCPRIMA_4X ejb,name=DBConnectionBean_4x; Required: Create
08:40:49,603 INFO [JBossASKernel] and supplies:
08:40:49,603 INFO [JBossASKernel] jndi:MCPRIMA_4x/DBConnectionBean_4x/remote
08:40:49,603 INFO [JBossASKernel] jndi:MCPRIMA_4x/DBConnectionBean_4x/local
08:40:49,603 INFO [JBossASKernel] jndi:MCPRIMA_4x/DBConnectionBean_4x/local-morris.co.db.DBConnectionLocal_4x
08:40:49,603 INFO [JBossASKernel] Class:morris.co.db.DBConnectionRemote_4x
08:40:49,603 INFO [JBossASKernel] Class:morris.co.db.DBConnectionLocal_4x
08:40:49,603 INFO [JBossASKernel] jndi:DBConnectionBean_4x
08:40:49,603 INFO [JBossASKernel] jndi:MCPRIMA_4x/DBConnectionBean_4x/remote-morris.co.db.DBConnectionRemote_4x
08:40:49,618 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=MCPRIMA_4x.ear,jar=
MCPRIMA_4X-ejb.jar,name=DBConnectionBean_4x,service=EJB3) to KernelDeployment of
: MCPRIMA_4X-ejb.jar
08:40:49,618 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=MCPRIMA_4x.ear,jar=MCPRIMA_4X ejb.jar,name=ArcObjConBean_4x,service=EJB3
08:40:49,618 INFO [JBossASKernel] with dependencies:
08:40:49,618 INFO [JBossASKernel] and demands:
08:40:49,618 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService; Required: Described
08:40:49,618 INFO [JBossASKernel] jboss-switchboard:appName=MCPRIMA_4x, module=MCPRIMA_4Xejb,name=ArcObjConBean_4x; Required: Create
08:40:49,618 INFO [JBossASKernel] and supplies:
08:40:49,618 INFO [JBossASKernel] jndi:MCPRIMA_4x/ArcObjConBean_4x/local
08:40:49,618 INFO [JBossASKernel] jndi:MCPRIMA_4x/ArcObjConBean_4x/remote-morris.co.esri.ArcObjConRemote_4x
08:40:49,618 INFO [JBossASKernel] jndi:MCPRIMA_4x/ArcObjConBean_4x/remote
08:40:49,618 INFO [JBossASKernel] jndi:ArcObjConBean_4x
08:40:49,618 INFO [JBossASKernel] Class:morris.co.esri.ArcObjConRemote_4x
08:40:49,618 INFO [JBossASKernel] Class:morris.co.esri.ArcObjConLocal_4x
08:40:49,618 INFO [JBossASKernel] jndi:MCPRIMA_4x/ArcObjConBean_4x/local-morris.co.esri.ArcObjConLocal_4x
08:40:49,618 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=MCPRIMA_4x.ear,jar=
MCPRIMA_4X-ejb.jar,name=ArcObjConBean_4x,service=EJB3) to KernelDeployment of: MCPRIMA_4X-ejb.jar
08:40:50,837 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=MCPRIMA_4x.ear, jar=MCPRIMA_4X-ejb.jar,name=ArcObjConBean_4x,service=EJB3
08:40:50,837 INFO [EJBContainer] STARTED EJB: morris.co.esri.ArcObjConBean_4x ejbName: ArcObjConBean_4x
08:40:50,884 INFO [JndiSessionRegistrarBase] Binding the following Entries in G
lobal JNDI:
MCPRIMA_4x/ArcObjConBean_4x/remote - EJB3.x Default Remote Business Interface
MCPRIMA_4x/ArcObjConBean_4x/remote-morris.co.esri.ArcObjConRemote_4x - EJB3.x Remote Business Interface
MCPRIMA_4x/ArcObjConBean_4x/local - EJB3.x Default Local Business Interface
MCPRIMA_4x/ArcObjConBean_4x/local-morris.co.esri.ArcObjConLocal_4x – EJB 3.x Local Business Interface
08:40:50,884 WARN [TimerServiceContainer] EJBTHREE-2193: using deprecated Timer
ServiceFactory for restoring timers
08:40:51,181 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=MCPRIMA_4x.ear
,jar=MCPRIMA_4X-ejb.jar,name=DBConnectionBean_4x,service=EJB3
08:40:51,181 INFO [EJBContainer] STARTED EJB: morris.co.db.DBConnectionBean_4xejbName: DBConnectionBean_4x
08:40:51,228 INFO [JndiSessionRegistrarBase] Binding the following Entries in G
lobal JNDI:
MCPRIMA_4x/DBConnectionBean_4x/remote - EJB3.x Default Remote Business Interface
MCPRIMA_4x/DBConnectionBean_4x/remote-morris.co.db.DBConnectionRemote_4x- EJB3.x Remote Business Interface
MCPRIMA_4x/DBConnectionBean_4x/local - EJB3.x Default Local Business Interface
MCPRIMA_4x/DBConnectionBean_4x/local-morris.co.db.DBConnectionLocal_4x - EJB3.x Local Business Interface
08:40:51,228 WARN [TimerServiceContainer] EJBTHREE-2193: using deprecated Timer
ServiceFactory for restoring timers
08:40:51,243 INFO [TomcatDeployment] deploy, ctxPath=/MCPRIMA_4X-war
08:40:51,290 INFO [service] Removing bootstrap log handlers
08:40:51,368 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-80
08:40:51,368 INFO [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
08:40:51,368 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS
[6.0.0.Final "Neo"] Started in 20s:422ms
---------------------------------------------------------------------------------------------------------------------------------------------------------------
I'm not seeing any indication that the application started, but I'm not getting any errors and I don't know where I should be looking next to get this application started. Is there anything in the 6.0 log that I'm missing that stands out as an issue? Any guidance would be GREATLY appreciated! Thanks in advance!