Link to home
Start Free TrialLog in
Avatar of eyusfin_fiserv
eyusfin_fiserv

asked on

Error deploying application under JBoss 5.1

We are trying to move our application from JBoss 4.0.5 to JBoss 5.1. We deployed our expended app (in frontier.war folder)  to server/default/deploy folder and when JBoss 5.1 is being started up we get errors. Does anyone experience similar errors and what do we need to do to resolve all those issues? If possible, please tell me what exactly I need to do to resolve it.

C:\JBoss51\bin>"c:\jdk1.6.0_22\bin\java" -Dprogram.name=run.bat -Xms128M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.s
erver.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -server    -Djava.endorsed.dirs="C:\JBoss51\lib\endorsed"    -classpath "C:\JBoss51\bin\run.jar"
 org.jboss.Main
12:37:22,281 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
12:37:22,281 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)
12:37:22,281 INFO  [ServerImpl] Bootstrap URL: null
12:37:22,281 INFO  [ServerImpl] Home Dir: C:\JBoss51
12:37:22,281 INFO  [ServerImpl] Home URL: file:/C:/JBoss51/
12:37:22,281 INFO  [ServerImpl] Library URL: file:/C:/JBoss51/lib/
12:37:22,297 INFO  [ServerImpl] Patch URL: null
12:37:22,297 INFO  [ServerImpl] Common Base URL: file:/C:/JBoss51/common/
12:37:22,297 INFO  [ServerImpl] Common Library URL: file:/C:/JBoss51/common/lib/
12:37:22,297 INFO  [ServerImpl] Server Name: default
12:37:22,297 INFO  [ServerImpl] Server Base Dir: C:\JBoss51\server
12:37:22,297 INFO  [ServerImpl] Server Base URL: file:/C:/JBoss51/server/
12:37:22,297 INFO  [ServerImpl] Server Config URL: file:/C:/JBoss51/server/default/conf/
12:37:22,297 INFO  [ServerImpl] Server Home Dir: C:\JBoss51\server\default
12:37:22,297 INFO  [ServerImpl] Server Home URL: file:/C:/JBoss51/server/default/
12:37:22,297 INFO  [ServerImpl] Server Data Dir: C:\JBoss51\server\default\data
12:37:22,297 INFO  [ServerImpl] Server Library URL: file:/C:/JBoss51/server/default/lib/
12:37:22,297 INFO  [ServerImpl] Server Log Dir: C:\JBoss51\server\default\log
12:37:22,297 INFO  [ServerImpl] Server Native Dir: C:\JBoss51\server\default\tmp\native
12:37:22,297 INFO  [ServerImpl] Server Temp Dir: C:\JBoss51\server\default\tmp
12:37:22,297 INFO  [ServerImpl] Server Temp Deploy Dir: C:\JBoss51\server\default\tmp\deploy
12:37:22,922 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/JBoss51/server/default/conf/bootstrap.xml
12:37:23,547 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
12:37:23,547 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
12:37:23,813 INFO  [CopyMechanism] VFS temp dir: C:\JBoss51\server\default\tmp
12:37:23,813 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
12:37:26,000 INFO  [ServerInfo] Java version: 1.6.0_22,Sun Microsystems Inc.
12:37:26,000 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
12:37:26,000 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 17.1-b03,Sun Microsystems Inc.
12:37:26,016 INFO  [ServerInfo] OS-System: Windows Server 2008 6.0,amd64
12:37:26,016 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.
dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -Djava.endorsed.dirs=C:\JBoss51\lib\endorsed
12:37:26,032 INFO  [JMXKernel] Legacy JMX core initialized
12:37:28,454 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@7418e252[domain=default, server=default, name=default]
12:37:30,016 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
12:37:37,157 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
12:37:37,157 INFO  [NativeServerConfig] 3.1.2.GA
12:37:37,626 INFO  [AttributeCallbackItem] Owner callback not implemented.
12:37:38,845 INFO  [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jbo
ss.mx.server.MBeanServerImpl@64bd4e3c[ defaultDomain='jboss' ]
12:37:59,846 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@244473447{vfsfile:/C:/JBoss51/server/default/deploy/profiles
ervice-secured.jar/}
12:37:59,846 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@244473447{vfsfile:/C:/JBoss51/server/default/deploy/profiles
ervice-secured.jar/}
12:37:59,846 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@244473447{vfsfile:/C:/JBoss51/server/default/deploy/profiles
ervice-secured.jar/}
12:37:59,846 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@244473447{vfsfile:/C:/JBoss51/server/default/deploy/profiles
ervice-secured.jar/}
12:38:03,393 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
12:38:03,705 INFO  [MailService] Mail Service bound to java:/Mail
12:38:07,549 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages
 from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to
 do this.
12:38:07,565 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
12:38:07,628 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
12:38:07,659 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
12:38:07,659 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
12:38:07,846 INFO  [TransactionManagerService] Initializing recovery manager
12:38:07,924 INFO  [TransactionManagerService] Recovery manager configured
12:38:07,924 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
12:38:07,956 INFO  [TransactionManagerService] Starting transaction recovery manager
12:38:08,831 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the ja
va.library.path: c:\jdk1.6.0_22\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Progra
m Files (x86)\Windows Imaging\;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\jdk1.6.0_22\bin;C:\JBoss6\bin;C:\Program Files (x86)\Microsoft SQL Server\100\To
ols\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\jdk1.6.0_22\bin
12:38:08,924 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
12:38:08,940 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
12:38:08,940 INFO  [StandardService] Starting service jboss.web
12:38:08,956 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA
12:38:08,971 INFO  [Catalina] Server startup in 43 ms
12:38:08,987 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws
12:38:09,362 INFO  [TomcatDeployment] deploy, ctxPath=/web-console
12:38:09,628 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
12:38:09,721 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/JBoss51/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
12:38:09,737 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/JBoss51/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
12:38:09,768 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/JBoss51/server/default/deploy/jms-ra.rar/META-INF/ra.xml
12:38:09,784 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/JBoss51/server/default/deploy/mail-ra.rar/META-INF/ra.xml
12:38:09,799 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/JBoss51/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
12:38:10,409 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
12:38:10,503 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
12:38:10,518 INFO  [RAMJobStore] RAMJobStore initialized.
12:38:10,518 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.propertie
s'
12:38:10,518 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
12:38:10,518 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
12:38:10,878 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS
'
12:38:11,268 INFO  [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started
12:38:11,393 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
12:38:11,393 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@73cf64f8 started
12:38:11,393 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
12:38:11,393 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
12:38:11,393 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@fc98c94 started
12:38:11,393 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
12:38:11,409 INFO  [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=Clustered
ConnectionFactory but post office is non clustered. So connection factory will *not* support failover
12:38:11,409 INFO  [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=Clus
teredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
12:38:11,409 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
12:38:11,409 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@4f6333f9 started
12:38:11,581 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'

12:38:12,550 INFO  [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar
12:38:12,565 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
12:38:12,565 INFO  [JBossASKernel]   with dependencies:
12:38:12,565 INFO  [JBossASKernel]   and demands:
12:38:12,565 INFO  [JBossASKernel]      jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
12:38:12,565 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService
12:38:12,565 INFO  [JBossASKernel]   and supplies:
12:38:12,565 INFO  [JBossASKernel]      Class:org.jboss.profileservice.spi.ProfileService
12:38:12,565 INFO  [JBossASKernel]      jndi:SecureProfileService/remote
12:38:12,565 INFO  [JBossASKernel]      jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
12:38:12,565 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profil
eservice-secured.jar
12:38:12,565 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
12:38:12,565 INFO  [JBossASKernel]   with dependencies:
12:38:12,565 INFO  [JBossASKernel]   and demands:
12:38:12,565 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService
12:38:12,565 INFO  [JBossASKernel]   and supplies:
12:38:12,565 INFO  [JBossASKernel]      jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager
12:38:12,565 INFO  [JBossASKernel]      Class:org.jboss.deployers.spi.management.deploy.DeploymentManager
12:38:12,565 INFO  [JBossASKernel]      jndi:SecureDeploymentManager/remote
12:38:12,565 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: pro
fileservice-secured.jar
12:38:12,565 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
12:38:12,565 INFO  [JBossASKernel]   with dependencies:
12:38:12,565 INFO  [JBossASKernel]   and demands:
12:38:12,565 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService
12:38:12,565 INFO  [JBossASKernel]   and supplies:
12:38:12,565 INFO  [JBossASKernel]      jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
12:38:12,565 INFO  [JBossASKernel]      Class:org.jboss.deployers.spi.management.ManagementView
12:38:12,565 INFO  [JBossASKernel]      jndi:SecureManagementView/remote
12:38:12,565 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profil
eservice-secured.jar
12:38:12,581 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@6ab360d{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service
=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
12:38:12,581 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@112b644f{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,ser
vice=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
12:38:12,581 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@4adf7d5c{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,servic
e=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
12:38:12,768 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
12:38:12,768 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager
12:38:12,831 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

        SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface
        SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface

12:38:12,862 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
12:38:12,862 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView
12:38:12,893 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

        SecureManagementView/remote - EJB3.x Default Remote Business Interface
        SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface

12:38:12,925 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
12:38:12,925 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
12:38:12,925 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

        SecureProfileService/remote - EJB3.x Default Remote Business Interface
        SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface

12:38:13,081 INFO  [TomcatDeployment] deploy, ctxPath=/admin-console
12:38:13,175 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
12:38:16,128 INFO  [TomcatDeployment] deploy, ctxPath=/
12:38:16,206 INFO  [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#activemq
12:38:16,206 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=#activemq state=Create
java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You have not defined a non-jta-data-source for a RESOURCE_LOCAL enabled persistence c
ontext named: activemq
        at org.jboss.jpa.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:124)
        at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:275)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
        at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
        at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
        at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
        at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
        at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
        at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
        at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
        at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
        at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
        at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
        at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
        at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
        at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
        at org.jboss.Main.boot(Main.java:221)
        at org.jboss.Main$1.run(Main.java:556)
        at java.lang.Thread.run(Thread.java:662)
12:38:16,269 ERROR [AbstractKernelController] Error installing to Configured: name=jboss.web.deployment:war=/frontier state=Instantiated mode=Manual requiredS
tate=Configured
java.lang.RuntimeException: Exception setting attribute PolicyRegistration on mbean jboss.web.deployment:war=/frontier
        at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:170)
        at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114)
        at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58)
        at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42)
        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
        at org.jboss.system.ServiceController.install(ServiceController.java:274)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
        at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
        at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
        at org.jboss.Main.boot(Main.java:221)
        at org.jboss.Main$1.run(Main.java:556)
        at java.lang.Thread.run(Thread.java:662)
Caused by: javax.management.InvalidAttributeValueException: Set attribute  has class class org.jboss.security.plugins.JBossPolicyRegistration loaded from Base
ClassLoader@19035ff9{vfsfile:/C:/JBoss51/server/default/conf/jboss-service.xml} that is not assignable to attribute class interface org.jboss.security.authori
zation.PolicyRegistration loaded from BaseClassLoader@2a81df82{vfsfile:/C:/JBoss51/server/default/deploy/frontier.war/}
        at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.checkAssignable(ModelMBeanAttributeInterceptor.java:229)
        at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:88)
        at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
        at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:461)
        at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:617)
        at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:166)
        ... 51 more
12:38:16,284 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/JBoss51/server/default/deploy/frontier.war/ state=PreReal mode=Manual
 requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.web.deployment:war=/frontier
        at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:118)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
        at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
        at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
        at org.jboss.Main.boot(Main.java:221)
        at org.jboss.Main$1.run(Main.java:556)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: Exception setting attribute PolicyRegistration on mbean jboss.web.deployment:war=/frontier
        at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:170)
        at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114)
        at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58)
        at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42)
        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
        at org.jboss.system.ServiceController.install(ServiceController.java:274)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90)
        ... 34 more
Caused by: javax.management.InvalidAttributeValueException: Set attribute  has class class org.jboss.security.plugins.JBossPolicyRegistration loaded from Base
ClassLoader@19035ff9{vfsfile:/C:/JBoss51/server/default/conf/jboss-service.xml} that is not assignable to attribute class interface org.jboss.security.authori
zation.PolicyRegistration loaded from BaseClassLoader@2a81df82{vfsfile:/C:/JBoss51/server/default/deploy/frontier.war/}
        at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.checkAssignable(ModelMBeanAttributeInterceptor.java:229)
        at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:88)
        at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
        at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:461)
        at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:617)
        at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:166)
        ... 51 more
12:38:16,315 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
12:38:16,409 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS IN ERROR:
  Deployment "vfsfile:/C:/JBoss51/server/default/deploy/frontier.war/" is in error due to the following reason(s): javax.management.InvalidAttributeValueExcep
tion: Set attribute  has class class org.jboss.security.plugins.JBossPolicyRegistration loaded from BaseClassLoader@19035ff9{vfsfile:/C:/JBoss51/server/defaul
t/conf/jboss-service.xml} that is not assignable to attribute class interface org.jboss.security.authorization.PolicyRegistration loaded from BaseClassLoader@
2a81df82{vfsfile:/C:/JBoss51/server/default/deploy/frontier.war/}

12:38:16,409 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
12:38:16,425 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
12:38:16,425 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 54s:128ms
SOLUTION
Avatar of ramazanyich
ramazanyich
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of eyusfin_fiserv
eyusfin_fiserv

ASKER

Yes, we use activemq.
I'm not sure what profileservice-secured.jar is for and what's inside it. It is not our jar file. It came with JBoss 5.1 default installation. I just unpacked JBoss 5.1 in a folder, then unpacked our application and tried to start JBoss and got errors above.
please check jboss documentation http://docs.jboss.org/hibernate/entitymanager/3.6/reference/en/html/configuration.html
It is a note there
"It is important that you do not override hibernate.transaction.factory_class, Hibernate EntityManager automatically set the appropriate transaction factory depending on the EntityManager type (ie JTA versus RESOURSE_LOCAL). If you are working in a Java EE environment, you might want to set the hibernate.transaction.manager_lookup_class though."
So check what did you set in your persistence.xml file inside your deployment file
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment.
Research began with initial suggestion.
i am not able find this activemq.jar file. where is the location of this jar file.
i am using jboss 5.0.1.This persistence.xml also not available in my dump.