Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Pet Store Config problem

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am trying to deploy petstore application in JBOSS.I deployed petstore.ear file in jboss_home/server/default/deploy. When I started the server it showing some erors like this

at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:185)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:837)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:367)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:185)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:592)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:185)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
at org.jboss.Main.boot(Main.java:145)
at org.jboss.Main$1.run(Main.java:399)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.SecurityException: Invalid authentication attempt, principa
l=null
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubjec
t(BaseConnectionManager2.java:666)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC
onnection(BaseConnectionManager2.java:495)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio
nManagerProxy.allocateConnection(BaseConnectionManager2.java:887)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp
erDataSource.java:102)
at org.jboss.mq.pm.jdbc2.PersistenceManager.getConnection(PersistenceMan
ager.java:1267)
at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(Pers
istenceManager.java:216)
at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceMana
ger.java:1360)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:271)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:60)
... 87 more
16:06:10,500 INFO [JmsXA] Bound connection factory for resource adapter for Con
nectionManager 'jboss.jca:service=TxCM,name=JmsXA to JNDI name 'java:/JmsXA'
16:06:11,484 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C
:/jboss-3.2.5/server/default/deploy/jmx-console.war/
16:06:12,843 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C
:/jboss-3.2.5/server/default/tmp/deploy/tmp28658web-console.war/
16:06:13,406 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-3.2.5/ser
ver/default/deploy/Petstore/petstore.ear
16:06:16,156 WARN [DeploymentInfo] Only the root deployment can set the loader
repository, ingoring config=null
16:06:16,500 INFO [EjbModule] Deploying TheCart
16:06:16,625 INFO [EjbModule] Deploying TheCatalog
16:06:16,812 INFO [EjbModule] Deploying TheOrder
16:06:16,875 INFO [EjbModule] Deploying TheAccount
16:06:16,890 INFO [EjbModule] Deploying TheCustomer
16:06:17,046 INFO [EjbModule] Deploying TheInventory
16:06:17,125 INFO [EjbModule] Deploying TheMailer
16:06:17,218 INFO [EjbModule] Deploying TheProfileMgr
16:06:17,312 INFO [EjbModule] Deploying TheSignOn
16:06:17,390 INFO [EjbModule] Deploying TheShoppingClientController
16:06:17,500 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.5/server/default/t
mp/deploy/tmp28659petstore.ear-contents/shoppingcartEjb.jar
16:06:17,625 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.5/server/default/t
mp/deploy/tmp28659petstore.ear-contents/customerEjb.jar
16:06:17,671 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.5/server/default/t
mp/deploy/tmp28659petstore.ear-contents/inventoryEjb.jar
16:06:17,687 WARN [StatelessSessionContainer] No resource manager found for mai
l/MailSession
16:06:17,718 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.5/server/default/t
mp/deploy/tmp28659petstore.ear-contents/mailerEjb.jar
16:06:17,750 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.5/server/default/t
mp/deploy/tmp28659petstore.ear-contents/personalizationEjb.jar
16:06:17,781 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.5/server/default/t
mp/deploy/tmp28659petstore.ear-contents/signonEjb.jar
16:06:17,828 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.5/server/default/t
mp/deploy/tmp28659petstore.ear-contents/petstoreEjb.jar
16:06:17,843 INFO [TomcatDeployer] deploy, ctxPath=/estore, warUrl=file:/C:/jbo
ss-3.2.5/server/default/tmp/deploy/tmp28659petstore.ear-contents/petstore.war/
16:06:18,093 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-3.2.5/
server/default/deploy/Petstore/petstore.ear
16:06:18,109 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
Incompletely deployed packages:
org.jboss.deployment.DeploymentInfo@298761db { url=file:/C:/jboss-3.2.5/server/d
efault/deploy/cloudscape-service.xml }
deployer: org.jboss.deployment.SARDeployer@12bb7e0
status: null
state: FAILED
watch: file:/C:/jboss-3.2.5/server/default/deploy/cloudscape-service.xml
lastDeployed: 1097663765484
lastModified: 1097663765453
mbeans:

MBeans waiting for other MBeans:
ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
state: CREATED
I Depend On: jboss.mq:service=Invoker
jboss.web:service=WebServer

Depends On Me:
ObjectName: jboss.mq:service=StateManager
state: FAILED
I Depend On: jboss.jca:service=LocalTxCM,name=DefaultDS

Depends On Me: jboss.mq:service=DestinationManager
MBeanException: org.jboss.mq.SpyJMSException: Error creating connection to the d
atabase.; - nested throwable: (java.lang.SecurityException: Invalid authenticati
on attempt, principal=null)
Cause: org.jboss.mq.SpyJMSException: Error creating connection to the database.;
- nested throwable: (java.lang.SecurityException: Invalid authentication attemp
t, principal=null)
ObjectName: jboss.mq:service=DestinationManager
state: CREATED
I Depend On: jboss.mq:service=MessageCache
jboss.mq:service=PersistenceManager
jboss.mq:service=StateManager

Depends On Me: jboss.mq.destination:service=Topic,name=testTopic
jboss.mq.destination:service=Topic,name=securedTopic
jboss.mq.destination:service=Topic,name=testDurableTopic
jboss.mq.destination:service=Queue,name=testQueue
jboss.mq.destination:service=Queue,name=A
jboss.mq.destination:service=Queue,name=B
jboss.mq.destination:service=Queue,name=C
jboss.mq.destination:service=Queue,name=D
jboss.mq.destination:service=Queue,name=ex
jboss.mq:service=SecurityManager
jboss.mq.destination:service=Queue,name=DLQ

ObjectName: jboss.mq:service=PersistenceManager
state: FAILED
I Depend On: jboss.jca:service=LocalTxCM,name=DefaultDS

Depends On Me: jboss.mq:service=DestinationManager
RuntimeMBeanException: java.lang.SecurityException: Invalid authentication attem
pt, principal=null
Cause: java.lang.SecurityException: Invalid authentication attempt, principal=nu
ll
ObjectName: jboss.mq.destination:service=Topic,name=testTopic
state: CREATED
I Depend On: jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager

Depends On Me:
ObjectName: jboss.mq.destination:service=Topic,name=securedTopic
state: CREATED
I Depend On: jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager

Depends On Me:
ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic
state: CREATED
I Depend On: jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager

Depends On Me:
ObjectName: jboss.mq.destination:service=Queue,name=testQueue
state: CREATED
I Depend On: jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager

Depends On Me:
ObjectName: jboss.mq.destination:service=Queue,name=A
state: CREATED
I Depend On: jboss.mq:service=DestinationManager

Depends On Me:
ObjectName: jboss.mq.destination:service=Queue,name=B
state: CREATED
I Depend On: jboss.mq:service=DestinationManager

Depends On Me:
ObjectName: jboss.mq.destination:service=Queue,name=C
state: CREATED
I Depend On: jboss.mq:service=DestinationManager

Depends On Me:
ObjectName: jboss.mq.destination:service=Queue,name=D
state: CREATED
I Depend On: jboss.mq:service=DestinationManager

Depends On Me:
ObjectName: jboss.mq.destination:service=Queue,name=ex
state: CREATED
I Depend On: jboss.mq:service=DestinationManager

Depends On Me:
ObjectName: jboss.mq:service=Invoker
state: CREATED
I Depend On: jboss.mq:service=TracingInterceptor

Depends On Me: jboss.mq:service=InvocationLayer,type=HTTP
jboss.mq:service=InvocationLayer,type=JVM
jboss.mq:service=InvocationLayer,type=UIL2

ObjectName: jboss.mq:service=TracingInterceptor
state: CREATED
I Depend On: jboss.mq:service=SecurityManager

Depends On Me: jboss.mq:service=Invoker

ObjectName: jboss.mq:service=SecurityManager
state: CREATED
I Depend On: jboss.mq:service=DestinationManager

Depends On Me: jboss.mq.destination:service=Topic,name=testTopic
jboss.mq.destination:service=Topic,name=securedTopic
jboss.mq.destination:service=Topic,name=testDurableTopic
jboss.mq.destination:service=Queue,name=testQueue
jboss.mq:service=TracingInterceptor
jboss.mq.destination:service=Queue,name=DLQ

ObjectName: jboss.mq.destination:service=Queue,name=DLQ
state: CREATED
I Depend On: jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager

Depends On Me:
ObjectName: jboss.mq:service=InvocationLayer,type=JVM
state: CREATED
I Depend On: jboss.mq:service=Invoker

Depends On Me:
ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
state: CREATED
I Depend On: jboss.mq:service=Invoker

Depends On Me:

MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.mq:service=StateManager
state: FAILED
I Depend On: jboss.jca:service=LocalTxCM,name=DefaultDS

Depends On Me: jboss.mq:service=DestinationManager
MBeanException: org.jboss.mq.SpyJMSException: Error creating connection to the d
atabase.; - nested throwable: (java.lang.SecurityException: Invalid authenticati
on attempt, principal=null)
Cause: org.jboss.mq.SpyJMSException: Error creating connection to the database.;
- nested throwable: (java.lang.SecurityException: Invalid authentication attemp
t, principal=null)
ObjectName: jboss.mq:service=PersistenceManager
state: FAILED
I Depend On: jboss.jca:service=LocalTxCM,name=DefaultDS

Depends On Me: jboss.mq:service=DestinationManager
RuntimeMBeanException: java.lang.SecurityException: Invalid authentication attem
pt, principal=null
Cause: java.lang.SecurityException: Invalid authentication attempt, principal=nu
ll

16:06:19,000 INFO [Server] JBoss (MX MicroKernel) [3.2.5 (build: CVSTag=JBoss_3
_2_5 date=200406251954)] Started in 20s:282ms
16:06:19,000 INFO [Tomcat5] Saw org.jboss.system.server.started notification, s
tarting connectors
16:06:19,046 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
0
16:06:19,203 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
16:06:19,203 INFO [JkMain] Jk running ID=0 time=0/110 config=null
16:11:09,656 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl [Format
Id=257, GlobalId=satrun//1, BranchQual=] timed out. status=STATUS_ACTIVE


Can any body help me out how to solve this problem.
Thanks in advance
 
Why am I so drawn to cherry pie? I can't seem to stop. Save me tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic