Hi ,all
I've installed the jbossAS of jboss-4.0.2 on my computer,with the os of Win2K. I am getting started to learn
jboss and want to use it in the project.I read the "Getting started with jboss4.0" from scratch.But when it referred to
test deploying the j2eetutorial's Duke bank app demo in Jboss-4.0.2.I changed some configuration according to the material,that the configuartion info in hsqldb-ds.xml was altered. When the jboss is run again,there are so many warning info was generated on the console.
How to resolve it ,and how to deploy a WS in Jboss ?3x
part of it :
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
at org.jboss.Main.boot(Main.java:195)
at org.jboss.Main$1.run(Main.java:463)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.util.NestedSQLException: Could not create connection; - nes
ted throwable: (java.sql.SQLException: socket creation error); - nested throwabl
e: (org.jboss.resource.JBossResourceException: Could not create connection; - ne
sted throwable: (java.sql.SQLException: socket creation error))
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp
erDataSource.java:107)
at org.jboss.mq.pm.jdbc2.PersistenceManager.getConnection(PersistenceMan
ager.java:1325)
at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(Pers
istenceManager.java:218)
... 112 more
Caused by: org.jboss.resource.JBossResourceException: Could not create connectio
n; - nested throwable: (java.sql.SQLException: socket creation error)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.c
reateManagedConnection(LocalManagedConnectionFactory.java:161)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.cr
eateConnectionEventListener(InternalManagedConnectionPool.java:508)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.ge
tConnection(InternalManagedConnectionPool.java:207)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BaseP
ool.getConnection(JBossManagedConnectionPool.java:534)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManage
dConnection(BaseConnectionManager2.java:395)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedCo
nnection(TxConnectionManager.java:297)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC
onnection(BaseConnectionManager2.java:447)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio
nManagerProxy.allocateConnection(BaseConnectionManager2.java:874)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp
erDataSource.java:103)
... 114 more
Caused by: java.sql.SQLException: socket creation error
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.c
reateManagedConnection(LocalManagedConnectionFactory.java:151)
... 122 more
21:40:10,562 INFO [ConnectionFactoryBindingService] Bound connection factory fo
r resource adapter for ConnectionManager 'jboss.jca:service=ConnectionFactoryBin
ding,name=JmsXA to JNDI name '
java:JmsXA'
21:40:10,640 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/D
:/jboss-4.0.2/server/default/deploy/jmx-console.war/
21:40:10,843 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
State: FAILED
Reason: org.jboss.util.NestedSQLException: Could not create connection; - nest
ed throwable: (java.sql.SQLException: socket creation error); - nested throwable
: (org.jboss.resource.JBossResourceException: Could not create connection; - nes
ted throwable: (java.sql.SQLException: socket creation error))
I Depend On:
jboss.jca:service=DataSourceBinding,name=DefaultDS
ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error while checking if tabl
e aleady exists HILOSEQUENCES; - nested throwable: (org.jboss.util.NestedSQLExce
ption: Could not create connection; - nested throwable: (java.sql.SQLException:
socket creation error); - nested throwable: (org.jboss.resource.JBossResourceExc
eption: Could not create connection; - nested throwable: (java.sql.SQLException:
socket creation error)))
I Depend On:
jboss:service=TransactionManager
jboss.jca:service=DataSourceBinding,name=DefaultDS
ObjectName: jboss.mq:service=StateManager
State: FAILED
Reason: org.jboss.mq.SpyJMSException: Error creating connection to the databas
e.; - nested throwable: (org.jboss.util.NestedSQLException: Could not create con
nection; - nested throwable: (java.sql.SQLException: socket creation error); - n
ested throwable: (org.jboss.resource.JBossResourceException: Could not create co
nnection; - nested throwable: (java.sql.SQLException: socket creation error)))
I Depend On:
jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me:
jboss.mq:service=DestinationManager
ObjectName: jboss.mq:service=PersistenceManager
State: FAILED
Reason: org.jboss.mq.SpyJMSException: Could not get a connection for jdbc2 tab
le construction ; - nested throwable: (org.jboss.util.NestedSQLException: Could
not create connection; - nested throwable: (java.sql.SQLException: socket creati
on error); - nested throwable: (org.jboss.resource.JBossResourceException: Could
not create connection; - nested throwable: (java.sql.SQLException: socket creat
ion error)))
I Depend On:
jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me:
jboss.mq:service=DestinationManager
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.mq:service=StateManager
State: FAILED
Reason: org.jboss.mq.SpyJMSException: Error creating connection to the databas
e.; - nested throwable: (org.jboss.util.NestedSQLException: Could not create con
nection; - nested throwable: (java.sql.SQLException: socket creation error); - n
ested throwable: (org.jboss.resource.JBossResourceException: Could not create co
nnection; - nested throwable: (java.sql.SQLException: socket creation error)))
I Depend On:
jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me:
jboss.mq:service=DestinationManager
ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error while checking if tabl
e aleady exists HILOSEQUENCES; - nested throwable: (org.jboss.util.NestedSQLExce
ption: Could not create connection; - nested throwable: (java.sql.SQLException:
socket creation error); - nested throwable: (org.jboss.resource.JBossResourceExc
eption: Could not create connection; - nested throwable: (java.sql.SQLException:
socket creation error)))
I Depend On:
jboss:service=TransactionManager
jboss.jca:service=DataSourceBinding,name=DefaultDS
ObjectName: jboss.mq:service=PersistenceManager
State: FAILED
Reason: org.jboss.mq.SpyJMSException: Could not get a connection for jdbc2 tab
le construction ; - nested throwable: (org.jboss.util.NestedSQLException: Could
not create connection; - nested throwable: (java.sql.SQLException: socket creati
on error); - nested throwable: (org.jboss.resource.JBossResourceException: Could
not create connection; - nested throwable: (java.sql.SQLException: socket creat
ion error)))
I Depend On:
jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me:
jboss.mq:service=DestinationManager
ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
State: FAILED
Reason: org.jboss.util.NestedSQLException: Could not create connection; - nest
ed throwable: (java.sql.SQLException: socket creation error); - nested throwable
: (org.jboss.resource.JBossResourceException: Could not create connection; - nes
ted throwable: (java.sql.SQLException: socket creation error))
I Depend On:
jboss.jca:service=DataSourceBinding,name=DefaultDS
21:40:11,062 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
0
21:40:11,265 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
21:40:11,296 INFO [JkMain] Jk running ID=0 time=0/78 config=null
21:40:11,312 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4
_0_2 date=200505022023)] Started in 53s:484ms
21:44:56,796 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl[FormatI
d=257, GlobalId=xxt/1, BranchQual=, localId=1] timed out. status=STATUS_ACTIVE