Olá pessoal,
Eu quero colocar mais um JBoss na minha máquina, para poder rodar outras aplicações que eu faço de teste (o outro JBoss eu utilizo para aplicações do trabalho, mesmo).
Criei outra variável de ambiente JBOSS_HOME2 apontando para o novo JBoss e alterei o arquivo {JBOSS_HOME2}/bin/run.bat, referenciando JBOSS_HOME2 ao invés do JBOSS_HOME dentro dele.
Quando executo o run.bat aparece um erro:
[code]09:42:56,900 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
ration ‘checkIncompleteDeployments()’
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
[org.jboss.deployment.DeploymentInfo@4f3faea0 { url=file:/C:/jboss_pos/server/de
fault/deploy/http-invoker.sar/invoker.war/ }
deployer: null
status: Starting
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss_pos/server/default/deploy/http-invoker.sar/invoker.war/
lastDeployed: 1122381763759
lastModified: 1122304683553
mbeans:
, org.jboss.deployment.DeploymentInfo@f4c44c90 { url=file:/C:/jboss_pos/server/d
efault/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ }
deployer: null
status: Starting
state: START_SUBDEPLOYMENTS
watch: file:/C:/jboss_pos/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq
-httpil.war/
lastDeployed: 1122381769743
lastModified: 1122304683335
mbeans:
, org.jboss.deployment.DeploymentInfo@4da2dd6b { url=file:/C:/jboss_pos/server/d
efault/deploy/jmx-console.war/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss_pos/server/default/deploy/jmx-console.war/
lastDeployed: 1122381774400
lastModified: 1122304758397
mbeans:
, org.jboss.deployment.DeploymentInfo@1a7ed841 { url=file:/C:/jboss_pos/server/d
efault/deploy/management/web-console.war }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss_pos/server/default/deploy/management/web-console.war
lastDeployed: 1122381775759
lastModified: 1122381774431
mbeans:
, org.jboss.deployment.DeploymentInfo@707e8917 { url=file:/C:/jboss_pos/server/d
efault/tmp/deploy/tmp34378gerenciamentoConsultores.ear-contents/gerenciamentoCon
sultores.war }
deployer: null
status: Starting
state: START_SUBDEPLOYMENTS
watch: file:/C:/jboss_pos/server/default/tmp/deploy/tmp34378gerenciamentoConsu
ltores.ear-contents/gerenciamentoConsultores.war
lastDeployed: 1122381776587
lastModified: 1122381776259
mbeans:
]Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@4da2dd6b { url=file:/C:/jboss_pos/server/de
fault/deploy/jmx-console.war/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss_pos/server/default/deploy/jmx-console.war/
lastDeployed: 1122381774400
lastModified: 1122304758397
mbeans:
, org.jboss.deployment.DeploymentInfo@1a7ed841 { url=file:/C:/jboss_pos/server/d
efault/deploy/management/web-console.war }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss_pos/server/default/deploy/management/web-console.war
lastDeployed: 1122381775759
lastModified: 1122381774431
mbeans:
]MBeans waiting for classes:
<none>
MBeans waiting for other MBeans:
[ObjectName: jboss.web:service=WebServer
state: FAILED
I Depend On: jboss:service=TransactionManager
Depends On Me: jboss.mq:service=InvocationLayer,type=HTTP
java.lang.LinkageError: duplicate class definition: org/apache/commons/collectio
ns/ArrayStack, ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
state: CONFIGURED
I Depend On: jboss.mq:service=Invoker
jboss.web:service=WebServer
Depends On Me: ]
09:42:56,931 INFO [URLDeploymentScanner] Started
09:42:56,993 INFO [MainDeployer] Deployed package: file:/C:/jboss_pos/server/de
fault/conf/jboss-service.xml
09:42:56,993 INFO [Server] JBoss (MX MicroKernel) [3.2.2RC2 (build: CVSTag=JBos
s_3_2_2_RC2 date=200307231513)] Started in 16s:781ms
[/code]
E quando tento entrar pelo browser web digitando http://localhost:8080
dá página não encontrada.
Alguém já instalou 2 JBoss na mesma máquina com sucesso?
Obrigado