aspose file tools*
The moose likes JBoss/WildFly and the fly likes exception while running jboss in command prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "exception while running jboss in command prompt" Watch "exception while running jboss in command prompt" New topic
Author

exception while running jboss in command prompt

Niranjani Manoharan
Greenhorn

Joined: Apr 14, 2008
Posts: 25
hi
I downloaded jboss 4.2.3.GA and when I ran it from command prompt I am getting the following exception thrown.When I gave localhost/8080/ it says http 400 bad request.
Could you please tell me what should be changed or added to eliminate this exception?







.java:790)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
0)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
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:585)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
ava:296)
... 121 more
13:36:58,473 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@937de016 { url=file:/C:/Users/niranjani/jbos
s-4.2.3.GA/server/default/deploy/jboss-web.deployer/ROOT.war/ }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja
vax.management.RuntimeOperationsException: Exception invoking method init)
state: FAILED
watch: file:/C:/Users/niranjani/jboss-4.2.3.GA/server/default/deploy/jboss-web
.deployer/ROOT.war/WEB-INF/web.xml
altDD: null
lastDeployed: 1225575394895
lastModified: 1225430634781
mbeans:
org.jboss.deployment.DeploymentInfo@f2d0dc47 { url=file:/C:/Users/niranjani/jbos
s-4.2.3.GA/server/default/deploy/http-invoker.sar/invoker.war/ }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja
vax.management.RuntimeOperationsException: Exception invoking method init)
state: FAILED
watch: file:/C:/Users/niranjani/jboss-4.2.3.GA/server/default/deploy/http-invo
ker.sar/invoker.war/WEB-INF/web.xml
altDD: null
lastDeployed: 1225575395724
lastModified: 1225430632318
mbeans:
org.jboss.deployment.DeploymentInfo@67fbac7b { url=file:/C:/Users/niranjani/jbos
s-4.2.3.GA/server/default/deploy/jbossws.sar/jbossws.beans/ }
deployer: org.jboss.kernel.deployment.jboss.JBossBeanDeployer@1784427
status: null
state: INITIALIZED
watch: file:/C:/Users/niranjani/jboss-4.2.3.GA/server/default/deploy/jbossws.s
ar/jbossws.beans/META-INF/jboss-beans.xml
altDD: null
lastDeployed: 1225575392702
lastModified: 1225430635863
mbeans:
org.jboss.deployment.DeploymentInfo@27b111c7 { url=file:/C:/Users/niranjani/jbos
s-4.2.3.GA/server/default/deploy/jbossws.sar/FastInfoset.jar }
deployer: org.jboss.deployment.JARDeployer@11978b
status: null
state: INITIALIZED
watch: file:/C:/Users/niranjani/jboss-4.2.3.GA/server/default/deploy/jbossws.s
ar/FastInfoset.jar
altDD: null
lastDeployed: 1225575392953
lastModified: 1225575392707
mbeans:
org.jboss.deployment.DeploymentInfo@e3ab636f { url=file:/C:/Users/niranjani/jbos
s-4.2.3.GA/server/default/deploy/jbossws.sar/jaxb-api.jar }
deployer: null
status: null
state: CONSTRUCTED
watch: file:/C:/Users/niranjani/jboss-4.2.3.GA/server/default/deploy/jbossws.s
ar/jaxb-api.jar
altDD: null
lastDeployed: 1225575392981
lastModified: 1225575392956
mbeans:
org.jboss.deployment.DeploymentInfo@739d8414 { url=file:/C:/Users/niranjani/jbos
s-4.2.3.GA/server/default/deploy/jbossws.sar/ }
deployer: org.jboss.deployment.SARDeployer@e0cc23
status: null
state: INITIALIZED
watch: file:/C:/Users/niranjani/jboss-4.2.3.GA/server/default/deploy/jbossws.s
ar/META-INF/jboss-service.xml
altDD: null
lastDeployed: 1225575392981
lastModified: 1225430635944
mbeans:
org.jboss.deployment.DeploymentInfo@b8f2c649 { url=file:/C:/Users/niranjani/jbos
s-4.2.3.GA/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja
vax.management.RuntimeOperationsException: Exception invoking method init)
state: FAILED
watch: file:/C:/Users/niranjani/jboss-4.2.3.GA/server/default/deploy/jms/jboss
mq-httpil.sar/jbossmq-httpil.war/WEB-INF/web.xml
altDD: null
lastDeployed: 1225575396167
lastModified: 1225430636578
mbeans:
org.jboss.deployment.DeploymentInfo@3158c64 { url=file:/C:/Users/niranjani/jboss
-4.2.3.GA/server/default/deploy/jmx-console.war/ }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja
vax.management.RuntimeOperationsException: Exception invoking method init)
state: FAILED
watch: file:/C:/Users/niranjani/jboss-4.2.3.GA/server/default/deploy/jmx-conso
le.war/WEB-INF/web.xml
altDD: null
lastDeployed: 1225575418098
lastModified: 1225430637212
mbeans:
--- MBeans waiting for other MBeans ---
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: Unchecked throwable in ManagedConnection.getConnection() cl=org.jboss.res
ource.connectionmanager.TxConnectionManager$TxConnectionEventListener@ec1c4d[sta
te=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@136193
e handles=0 lastUse=1225575399596 permit=false trackByTx=false mcp=org.jboss.res
ource.connectionmanager.JBossManagedConnectionPool$PoolBySubject@ee644c context=
org.jboss.resource.connectionmanager.InternalManagedConnectionPool@fae93e xaReso
urce=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@b3
7089 txSync=null]; - nested throwable: (java.lang.reflect.UndeclaredThrowableExc
eption); - nested throwable: (org.jboss.resource.JBossResourceException: Uncheck
ed throwable in ManagedConnection.getConnection() cl=org.jboss.resource.connecti
onmanager.TxConnectionManager$TxConnectionEventListener@ec1c4d[state=NORMAL mc=o
rg.jboss.resource.adapter.jdbc.local.LocalManagedConnection@136193e handles=0 la
stUse=1225575399596 permit=false trackByTx=false mcp=org.jboss.resource.connecti
onmanager.JBossManagedConnectionPool$PoolBySubject@ee644c context=org.jboss.reso
urce.connectionmanager.InternalManagedConnectionPool@fae93e xaResource=org.jboss
.resource.connectionmanager.TxConnectionManager$LocalXAResource@b37089 txSync=nu
ll]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException)))
I Depend On:
jboss:service=TransactionManager
jboss.jca:service=DataSourceBinding,name=DefaultDS
ObjectName: jboss.web.deployment:war=ROOT.war,id=-1820467178
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste
d throwable: (javax.management.RuntimeOperationsException: Exception invoking me
thod init)
ObjectName: jboss.web.deployment:war=invoker.war,id=-221193145
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste
d throwable: (javax.management.RuntimeOperationsException: Exception invoking me
thod init)
ObjectName: jboss.web.deployment:war=jbossmq-httpil.war,id=-1192049079
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste
d throwable: (javax.management.RuntimeOperationsException: Exception invoking me
thod init)
ObjectName: jboss.web.deployment:war=web-console.war,id=-70891102
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste
d throwable: (javax.management.RuntimeOperationsException: Exception invoking me
thod init)
I Depend On:
jboss.admin:service=PluginManager
ObjectName: jboss.mq:service=PersistenceManager
State: FAILED
Reason: org.jboss.mq.SpyJMSException: Could not resolve uncommited transaction
s. Message recovery may not be accurate; - nested throwable: (org.jboss.util.Ne
stedSQLException: Unchecked throwable in ManagedConnection.getConnection() cl=or
g.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener
@ec1c4d[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnec
tion@136193e handles=0 lastUse=1225575411778 permit=true trackByTx=true mcp=org.
jboss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject@ee644c
context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@fae9
3e xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXARe
source@b37089 txSync=TxSync27473621{tx=TransactionImple < ac, BasicAction: a01b0
91:c844:490ccbdc status: ActionStatus.RUNNING > wasTrackByTx=true enlisted=tru
e}]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException); - nes
ted throwable: (org.jboss.resource.JBossResourceException: Unchecked throwable i
n ManagedConnection.getConnection() cl=org.jboss.resource.connectionmanager.TxCo
nnectionManager$TxConnectionEventListener@ec1c4d[state=NORMAL mc=org.jboss.resou
rce.adapter.jdbc.local.LocalManagedConnection@136193e handles=0 lastUse=12255754
11778 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossM
anagedConnectionPool$PoolBySubject@ee644c context=org.jboss.resource.connectionm
anager.InternalManagedConnectionPool@fae93e xaResource=org.jboss.resource.connec
tionmanager.TxConnectionManager$LocalXAResource@b37089 txSync=TxSync27473621{tx=
TransactionImple < ac, BasicAction: a01b091:c844:490ccbdc status: ActionStatus
.RUNNING > wasTrackByTx=true enlisted=true}]; - nested throwable: (java.lang.ref
lect.UndeclaredThrowableException)))
I Depend On:
jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me:
jboss.mq:service=DestinationManager
ObjectName: jboss.web.deployment:war=jmx-console.war,id=51743844
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste
d throwable: (javax.management.RuntimeOperationsException: Exception invoking me
thod init)
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:war=jbossmq-httpil.war,id=-1192049079
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste
d throwable: (javax.management.RuntimeOperationsException: Exception invoking me
thod init)
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: Unchecked throwable in ManagedConnection.getConnection() cl=org.jboss.res
ource.connectionmanager.TxConnectionManager$TxConnectionEventListener@ec1c4d[sta
te=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@136193
e handles=0 lastUse=1225575399596 permit=false trackByTx=false mcp=org.jboss.res
ource.connectionmanager.JBossManagedConnectionPool$PoolBySubject@ee644c context=
org.jboss.resource.connectionmanager.InternalManagedConnectionPool@fae93e xaReso
urce=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@b3
7089 txSync=null]; - nested throwable: (java.lang.reflect.UndeclaredThrowableExc
eption); - nested throwable: (org.jboss.resource.JBossResourceException: Uncheck
ed throwable in ManagedConnection.getConnection() cl=org.jboss.resource.connecti
onmanager.TxConnectionManager$TxConnectionEventListener@ec1c4d[state=NORMAL mc=o
rg.jboss.resource.adapter.jdbc.local.LocalManagedConnection@136193e handles=0 la
stUse=1225575399596 permit=false trackByTx=false mcp=org.jboss.resource.connecti
onmanager.JBossManagedConnectionPool$PoolBySubject@ee644c context=org.jboss.reso
urce.connectionmanager.InternalManagedConnectionPool@fae93e xaResource=org.jboss
.resource.connectionmanager.TxConnectionManager$LocalXAResource@b37089 txSync=nu
ll]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException)))
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 resolve uncommited transaction
s. Message recovery may not be accurate; - nested throwable: (org.jboss.util.Ne
stedSQLException: Unchecked throwable in ManagedConnection.getConnection() cl=or
g.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener
@ec1c4d[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnec
tion@136193e handles=0 lastUse=1225575411778 permit=true trackByTx=true mcp=org.
jboss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject@ee644c
context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@fae9
3e xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXARe
source@b37089 txSync=TxSync27473621{tx=TransactionImple < ac, BasicAction: a01b0
91:c844:490ccbdc status: ActionStatus.RUNNING > wasTrackByTx=true enlisted=tru
e}]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException); - nes
ted throwable: (org.jboss.resource.JBossResourceException: Unchecked throwable i
n ManagedConnection.getConnection() cl=org.jboss.resource.connectionmanager.TxCo
nnectionManager$TxConnectionEventListener@ec1c4d[state=NORMAL mc=org.jboss.resou
rce.adapter.jdbc.local.LocalManagedConnection@136193e handles=0 lastUse=12255754
11778 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossM
anagedConnectionPool$PoolBySubject@ee644c context=org.jboss.resource.connectionm
anager.InternalManagedConnectionPool@fae93e xaResource=org.jboss.resource.connec
tionmanager.TxConnectionManager$LocalXAResource@b37089 txSync=TxSync27473621{tx=
TransactionImple < ac, BasicAction: a01b091:c844:490ccbdc status: ActionStatus
.RUNNING > wasTrackByTx=true enlisted=true}]; - nested throwable: (java.lang.ref
lect.UndeclaredThrowableException)))
I Depend On:
jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me:
jboss.mq:service=DestinationManager
ObjectName: jboss.web.deployment:war=jmx-console.war,id=51743844
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste
d throwable: (javax.management.RuntimeOperationsException: Exception invoking me
thod init)
ObjectName: jboss.web.deployment:war=web-console.war,id=-70891102
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste
d throwable: (javax.management.RuntimeOperationsException: Exception invoking me
thod init)
I Depend On:
jboss.admin:service=PluginManager
ObjectName: jboss.web.deployment:war=invoker.war,id=-221193145
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste
d throwable: (javax.management.RuntimeOperationsException: Exception invoking me
thod init)
ObjectName: jboss.web.deployment:war=ROOT.war,id=-1820467178
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste
d throwable: (javax.management.RuntimeOperationsException: Exception invoking me
thod init)

13:36:58,620 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
080
13:36:58,635 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
13:36:58,639 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBos
s_4_2_3_GA date=200807181439)] Started in 35s:59ms




Regards,
Niranjani


Thanks & Regards, Niranjani
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10263
    
168

Where did you download JBoss from? Which version of Java are you using? Also post the console logs when JBoss is starting. While posting the logs, remember to wrap it in a "code" block using the "Code" button in the message editor window.


[My Blog] [JavaRanch Journal]
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5842
    
    7

You might have to increase the command prompt buffer size to capture the full console log. To do this, change the Height value on the Layout tab of the Command Prompt Properties. I have mine set to 9000.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: exception while running jboss in command prompt