This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes org.jboss.resource.JBossResourceException:  Error while starting JBOSS server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "org.jboss.resource.JBossResourceException:  Error while starting JBOSS server" Watch "org.jboss.resource.JBossResourceException:  Error while starting JBOSS server" New topic
Author

org.jboss.resource.JBossResourceException: Error while starting JBOSS server

venkat penmatsa
Greenhorn

Joined: Jul 23, 2011
Posts: 17
Hi All,

I am trying to start JBOSS to rum a struts application and i am using mysql as database but my JBOSS server is not getting started.
i am getting follwoing message in console window. I am new to JBOSS please help me please help me


22:11:20,582 INFO [ServerImpl] Starting JBoss (Microcontainer)...
22:11:20,583 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)
22:11:20,584 INFO [ServerImpl] Bootstrap URL: null
22:11:20,584 INFO [ServerImpl] Home Dir: E:\jboss5
22:11:20,585 INFO [ServerImpl] Home URL: file:/E:/jboss5/
22:11:20,585 INFO [ServerImpl] Library URL: file:/E:/jboss5/lib/
22:11:20,587 INFO [ServerImpl] Patch URL: null
22:11:20,587 INFO [ServerImpl] Common Base URL: file:/E:/jboss5/common/
22:11:20,588 INFO [ServerImpl] Common Library URL: file:/E:/jboss5/common/lib/
22:11:20,589 INFO [ServerImpl] Server Name: default
22:11:20,598 INFO [ServerImpl] Server Base Dir: E:\jboss5\server
22:11:20,600 INFO [ServerImpl] Server Base URL: file:/E:/jboss5/server/
22:11:20,601 INFO [ServerImpl] Server Config URL: file:/E:/jboss5/server/default/conf/
22:11:20,601 INFO [ServerImpl] Server Home Dir: E:\jboss5\server\default
22:11:20,602 INFO [ServerImpl] Server Home URL: file:/E:/jboss5/server/default/
22:11:20,602 INFO [ServerImpl] Server Data Dir: E:\jboss5\server\default\data
22:11:20,602 INFO [ServerImpl] Server Library URL: file:/E:/jboss5/server/default/lib/
22:11:20,602 INFO [ServerImpl] Server Log Dir: E:\jboss5\server\default\log
22:11:20,603 INFO [ServerImpl] Server Native Dir: E:\jboss5\server\default\tmp\native
22:11:20,603 INFO [ServerImpl] Server Temp Dir: E:\jboss5\server\default\tmp
22:11:20,603 INFO [ServerImpl] Server Temp Deploy Dir: E:\jboss5\server\default\tmp\deploy
22:11:22,099 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/jboss5/server/default/conf/bootstrap.xml
22:11:23,397 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
22:11:23,421 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution=60}]
22:11:24,129 INFO [CopyMechanism] VFS temp dir: E:\jboss5\server\default\tmp
22:11:24,135 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
22:11:26,204 INFO [ServerInfo] Java version: 1.6.0_26,Sun Microsystems Inc.
22:11:26,204 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 20.1-b02,Sun Microsystems Inc.
22:11:26,205 INFO [ServerInfo] OS-System: Windows Vista 6.0,x86
22:11:26,395 INFO [JMXKernel] Legacy JMX core initialized
22:11:29,851 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@47b35d(root=E:\jboss5\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
22:11:29,855 INFO [ProfileImpl] Using repositoryrg.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@47b35d(root=E:\jboss5\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
22:11:29,856 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@5113f0{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
22:11:32,744 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
22:11:44,008 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
22:11:44,008 INFO [NativeServerConfig] 3.0.4.SP1
22:11:58,741 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@24254660{vfszip:/E:/jboss5/server/default/deploy/hcl-EJB-UserAuthenticate.jar}
22:11:58,744 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@24254660{vfszip:/E:/jboss5/server/default/deploy/hcl-EJB-UserAuthenticate.jar}
22:11:58,744 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@24254660{vfszip:/E:/jboss5/server/default/deploy/hcl-EJB-UserAuthenticate.jar}
22:11:58,744 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@24254660{vfszip:/E:/jboss5/server/default/deploy/hcl-EJB-UserAuthenticate.jar}
22:11:58,748 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@17119204{vfszip:/E:/jboss5/server/default/deploy/hcl-Interceptor.jar}
22:11:58,748 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@17119204{vfszip:/E:/jboss5/server/default/deploy/hcl-Interceptor.jar}
22:11:58,748 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@17119204{vfszip:/E:/jboss5/server/default/deploy/hcl-Interceptor.jar}
22:11:58,749 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@17119204{vfszip:/E:/jboss5/server/default/deploy/hcl-Interceptor.jar}
22:11:58,753 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@18044423{vfszip:/E:/jboss5/server/default/deploy/hcl-SFSB.jar}
22:11:58,753 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@18044423{vfszip:/E:/jboss5/server/default/deploy/hcl-SFSB.jar}
22:11:58,753 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@18044423{vfszip:/E:/jboss5/server/default/deploy/hcl-SFSB.jar}
22:11:58,753 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@18044423{vfszip:/E:/jboss5/server/default/deploy/hcl-SFSB.jar}
22:11:58,763 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@31729898{vfszip:/E:/jboss5/server/default/deploy/sfsb.jar}
22:11:58,764 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@31729898{vfszip:/E:/jboss5/server/default/deploy/sfsb.jar}
22:11:58,764 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@31729898{vfszip:/E:/jboss5/server/default/deploy/sfsb.jar}
22:11:58,764 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@31729898{vfszip:/E:/jboss5/server/default/deploy/sfsb.jar}
22:11:58,771 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@9473961{vfszip:/E:/jboss5/server/default/deploy/test-jpa.jar}
22:11:58,771 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@9473961{vfszip:/E:/jboss5/server/default/deploy/test-jpa.jar}
22:11:58,772 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@9473961{vfszip:/E:/jboss5/server/default/deploy/test-jpa.jar}
22:11:58,772 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@9473961{vfszip:/E:/jboss5/server/default/deploy/test-jpa.jar}
22:12:04,164 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
22:12:04,516 INFO [MailService] Mail Service bound to java:/Mail
22:12:07,425 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.
22:12:07,469 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
22:12:07,735 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
22:12:07,735 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
22:12:08,106 INFO [TransactionManagerService] Initializing recovery manager
22:12:08,411 INFO [TransactionManagerService] Recovery manager configured
22:12:08,411 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
22:12:08,457 INFO [TransactionManagerService] Starting transaction recovery manager
22:12:10,326 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
22:12:10,327 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
22:12:10,328 INFO [StandardService] Starting service jboss.web
22:12:10,332 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.GA
22:12:10,473 INFO [Catalina] Server startup in 259 ms
22:12:10,513 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
22:12:11,599 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
22:12:12,147 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war
22:12:12,392 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss5/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
22:12:12,467 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss5/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
22:12:12,529 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss5/server/default/deploy/jms-ra.rar/META-INF/ra.xml
22:12:12,616 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss5/server/default/deploy/mail-ra.rar/META-INF/ra.xml
22:12:12,685 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss5/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
22:12:12,854 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
22:12:12,984 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
22:12:12,993 INFO [RAMJobStore] RAMJobStore initialized.
22:12:12,994 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
22:12:12,994 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
22:12:12,995 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
22:12:15,032 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'javaefaultDS'
22:12:15,331 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
22:12:15,418 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
22:12:15,421 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
22:12:15,421 INFO [JobStoreCMT] Using db table-based data access locking (synchronization).
22:12:15,488 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s).
22:12:15,488 INFO [JobStoreCMT] Removed 0 Volatile Job(s).
22:12:15,489 INFO [JobStoreCMT] JobStoreCMT initialized.
22:12:15,489 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.
22:12:15,490 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
22:12:15,494 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
22:12:15,502 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.
22:12:15,502 INFO [JobStoreCMT] Recovery complete.
22:12:15,503 INFO [JobStoreCMT] Removed 0 'complete' triggers.
22:12:15,503 INFO [JobStoreCMT] Removed 0 stale fired job entries.
22:12:15,508 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
22:12:15,939 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
22:12:16,202 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
22:12:16,202 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1d84476 started
22:12:16,205 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
22:12:16,205 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
22:12:16,208 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
22:12:16,208 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1e11d82 started
22:12:16,231 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
22:12:16,233 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
22:12:16,233 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@dd7f3b started
22:12:16,236 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
22:12:16,463 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
22:12:16,569 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MySqlDS' to JNDI name 'java:MySqlDS'
22:12:16,606 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
22:12:16,737 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
22:12:17,801 INFO [JBossASKernel] Created KernelDeployment for: hcl-EJB-UserAuthenticate.jar
22:12:17,821 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=hcl-EJB-UserAuthenticate.jar,name=UserAuthenticateBean,service=EJB3
22:12:17,821 INFO [JBossASKernel] with dependencies:
22:12:17,821 INFO [JBossASKernel] and demands:
22:12:17,821 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
22:12:17,821 INFO [JBossASKernel] and supplies:
22:12:17,821 INFO [JBossASKernel] Class:com.raju.UserAuthenticateBeanRemote
22:12:17,822 INFO [JBossASKernel] jndi:AuthenticateBean
22:12:17,822 INFO [JBossASKernel] jndi:UserAuthenticationBean
22:12:17,822 INFO [JBossASKernel] jndi:UserAuthenticateBean/remote-com.raju.UserAuthenticateBeanRemote
22:12:17,822 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=hcl-EJB-UserAuthenticate.jar,name=UserAuthenticateBean,service=EJB3) to KernelDeployment of: hcl-EJB-UserAuthenticate.jar
22:12:17,976 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=hcl-EJB-UserAuthenticate.jar,name=UserAuthenticateBean,service=EJB3
22:12:17,995 INFO [EJBContainer] STARTED EJB: com.raju.UserAuthenticateBean ejbName: UserAuthenticateBean
22:12:18,109 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

UserAuthenticationBean - EJB3.x Default Remote Business Interface
UserAuthenticateBean/remote-com.raju.UserAuthenticateBeanRemote - EJB3.x Remote Business Interface

22:12:18,264 INFO [JBossASKernel] Created KernelDeployment for: hcl-Interceptor.jar
22:12:18,264 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=hcl-Interceptor.jar,name=AddBean,service=EJB3
22:12:18,264 INFO [JBossASKernel] with dependencies:
22:12:18,264 INFO [JBossASKernel] and demands:
22:12:18,264 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
22:12:18,264 INFO [JBossASKernel] and supplies:
22:12:18,264 INFO [JBossASKernel] jndi:AddBean/remote-com.raju.AddBeanRemote
22:12:18,264 INFO [JBossASKernel] jndi:AdditionBean
22:12:18,265 INFO [JBossASKernel] Class:com.raju.AddBeanRemote
22:12:18,266 INFO [JBossASKernel] jndi:additionbean/remote
22:12:18,266 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=hcl-Interceptor.jar,name=AddBean,service=EJB3) to KernelDeployment of: hcl-Interceptor.jar
22:12:18,380 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=hcl-Interceptor.jar,name=AddBean,service=EJB3
22:12:18,381 INFO [EJBContainer] STARTED EJB: com.raju.AddBean ejbName: AddBean
22:12:18,471 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

additionbean/remote - EJB3.x Default Remote Business Interface
AddBean/remote-com.raju.AddBeanRemote - EJB3.x Remote Business Interface

22:12:18,947 INFO [JBossASKernel] Created KernelDeployment for: hcl-SFSB.jar
22:12:18,947 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=hcl-SFSB.jar,name=ShoppingList,service=EJB3
22:12:18,947 INFO [JBossASKernel] with dependencies:
22:12:18,947 INFO [JBossASKernel] and demands:
22:12:18,947 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
22:12:18,947 INFO [JBossASKernel] and supplies:
22:12:18,947 INFO [JBossASKernel] jndi:ShoppingRemote
22:12:18,947 INFO [JBossASKernel] jndi:ShoppingList/remote-com.raju.ShoppingListRemote
22:12:18,947 INFO [JBossASKernel] Class:com.raju.ShoppingListRemote
22:12:18,948 INFO [JBossASKernel] jndi:ShoppingList/remote
22:12:18,948 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=hcl-SFSB.jar,name=ShoppingList,service=EJB3) to KernelDeployment of: hcl-SFSB.jar
22:12:19,086 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=hcl-SFSB.jar,name=ShoppingList,service=EJB3
22:12:19,086 INFO [EJBContainer] STARTED EJB: com.raju.ShoppingList ejbName: ShoppingList
22:12:19,172 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

ShoppingRemote - EJB3.x Default Remote Business Interface
ShoppingList/remote-com.raju.ShoppingListRemote - EJB3.x Remote Business Interface

22:12:19,506 INFO [JBossASKernel] Created KernelDeployment for: sfsb.jar
22:12:19,506 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=sfsb.jar,name=ShoppingBean,service=EJB3
22:12:19,507 INFO [JBossASKernel] with dependencies:
22:12:19,507 INFO [JBossASKernel] and demands:
22:12:19,507 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
22:12:19,507 INFO [JBossASKernel] and supplies:
22:12:19,507 INFO [JBossASKernel] jndi:ShoppingBean/remote-com.raju.ShoppingBeanRemote
22:12:19,507 INFO [JBossASKernel] jndi:MyShopBean
22:12:19,507 INFO [JBossASKernel] Class:com.raju.ShoppingBeanRemote
22:12:19,507 INFO [JBossASKernel] jndi:MyShoppingBean
22:12:19,507 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=sfsb.jar,name=ShoppingBean,service=EJB3) to KernelDeployment of: sfsb.jar
22:12:19,595 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=sfsb.jar,name=ShoppingBean,service=EJB3
22:12:19,596 INFO [EJBContainer] STARTED EJB: com.raju.ShoppingBean ejbName: ShoppingBean
22:12:19,666 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

MyShoppingBean - EJB3.x Default Remote Business Interface
ShoppingBean/remote-com.raju.ShoppingBeanRemote - EJB3.x Remote Business Interface

22:12:19,878 INFO [JBossASKernel] Created KernelDeployment for: test-jpa.jar
22:12:19,879 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=test-jpa.jar,name=ProductSessionBean,service=EJB3
22:12:19,879 INFO [JBossASKernel] with dependencies:
22:12:19,879 INFO [JBossASKernel] and demands:
22:12:19,879 INFO [JBossASKernel] persistence.unit:unitName=#itemsJPA
22:12:19,879 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
22:12:19,879 INFO [JBossASKernel] and supplies:
22:12:19,879 INFO [JBossASKernel] jndi:ProdSB
22:12:19,879 INFO [JBossASKernel] jndi:ProductSessionBean/remote-com.raju.ProductSessionBeanRemote
22:12:19,879 INFO [JBossASKernel] Class:com.raju.ProductSessionBeanRemote
22:12:19,880 INFO [JBossASKernel] jndi:ProdSB/remote
22:12:19,880 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=test-jpa.jar,name=ProductSessionBean,service=EJB3) to KernelDeployment of: test-jpa.jar
22:12:19,966 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#itemsJPA
22:12:21,551 INFO [Version] Hibernate Annotations 3.4.0.GA
22:12:21,599 INFO [Environment] Hibernate 3.3.1.GA
22:12:21,616 INFO [Environment] hibernate.properties not found
22:12:21,628 INFO [Environment] Bytecode provider name : javassist
22:12:21,642 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
22:12:21,940 INFO [Version] Hibernate Commons Annotations 3.1.0.GA
22:12:21,955 INFO [Version] Hibernate EntityManager 3.4.0.GA
22:12:22,146 WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
22:12:22,543 INFO [AnnotationBinder] Binding entity from annotated class: com.raju.Items
22:12:22,678 INFO [EntityBinder] Bind entity com.raju.Items on table items
22:12:22,809 INFO [Version] Hibernate Validator 3.1.0.GA
22:12:22,900 INFO [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
22:12:23,093 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
22:12:23,107 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
22:12:23,811 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES))
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:225)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:611)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:257)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:607)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:46)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:111)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:311)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
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:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
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:545)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Unknown Source)
Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1075)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3566)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:919)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4004)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1284)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2312)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2122)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:774)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:49)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:375)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:289)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207)
... 65 more
22:12:23,817 WARN [SettingsFactory] Could not obtain connection metadata
org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)))
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:46)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:111)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:311)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
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:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
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:545)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Unknown Source)
Caused by: org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES))
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:225)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:611)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:257)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:607)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
... 56 more
Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1075)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3566)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:919)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4004)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1284)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2312)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2122)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:774)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:49)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:375)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:289)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207)
... 65 more
22:12:23,890 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
22:12:23,903 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
22:12:23,910 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
22:12:23,916 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
22:12:23,916 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
22:12:23,916 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
22:12:23,918 INFO [SettingsFactory] Scrollable result sets: disabled
22:12:23,918 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
22:12:23,918 INFO [SettingsFactory] Connection release mode: auto
22:12:23,921 INFO [SettingsFactory] Maximum outer join fetch depth: 2
22:12:23,921 INFO [SettingsFactory] Default batch fetch size: 1
22:12:23,921 INFO [SettingsFactory] Generate SQL with comments: disabled
22:12:23,921 INFO [SettingsFactory] Order SQL updates by primary key: disabled
22:12:23,921 INFO [SettingsFactory] Order SQL inserts for batching: disabled
22:12:23,921 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
22:12:23,930 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
22:12:23,930 INFO [SettingsFactory] Query language substitutions: {}
22:12:23,931 INFO [SettingsFactory] JPA-QL strict compliance: enabled
22:12:23,931 INFO [SettingsFactory] Second-level cache: enabled
22:12:23,931 INFO [SettingsFactory] Query cache: disabled
22:12:23,955 INFO [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
22:12:23,956 INFO [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
22:12:23,962 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
22:12:23,963 INFO [SettingsFactory] Cache region prefix: persistence.unit:unitName=#itemsJPA
22:12:23,963 INFO [SettingsFactory] Structured second-level cache entries: disabled
22:12:23,985 INFO [SettingsFactory] Statistics: disabled
22:12:23,985 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
22:12:23,988 INFO [SettingsFactory] Default entity-mode: pojo
22:12:23,988 INFO [SettingsFactory] Named query checking : enabled
22:12:24,126 INFO [SessionFactoryImpl] building session factory
22:12:25,932 INFO [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=#itemsJPA
22:12:25,936 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.namingrg.jnp.interfaces}
22:12:25,956 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=#itemsJPA
22:12:25,956 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
22:12:25,956 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.namingrg.jnp.interfaces}
22:12:26,043 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=test-jpa.jar,name=ProductSessionBean,service=EJB3
22:12:26,053 INFO [EJBContainer] STARTED EJB: com.raju.ProductSessionBean ejbName: ProductSessionBean
22:12:26,118 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

ProdSB/remote - EJB3.x Default Remote Business Interface
ProductSessionBean/remote-com.raju.ProductSessionBeanRemote - EJB3.x Remote Business Interface

22:12:26,237 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
22:12:26,268 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
22:12:26,281 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)] Started in 1m:5s:674ms
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5838
    
    7

Here is the first error:

22:12:23,811 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES))

Looks like you have the wrong username and/or password defined in the *-ds.xml file.


JBoss In Action
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: org.jboss.resource.JBossResourceException: Error while starting JBOSS server