JBoss에서 jdom.jar가 deploy가 잘 안되는 경우

예를 들면 아래와 같은 경우에

13:18:33,712 INFO  [EARDeployer] Started J2EE application: file:/home/java/jboss
/server/default/deploy/toothpaste.ear
13:18:33,714 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
Packages waiting for a deployer:
org.jboss.deployment.DeploymentInfo@9e7bc11 { url=file:/home/java/jboss/server/d
efault/tmp/deploy/tmp48700toothpaste.ear-contents/jdom.jar }
  deployer: null
  status: Starting
  state: START_SUBDEPLOYMENTS
  watch: file:/home/java/jboss/server/default/tmp/deploy/tmp48700toothpaste.ear-
contents/jdom.jar
  altDD: null
  lastDeployed: 1124338712605
  lastModified: 1124338712000
  mbeans:

jdom.jar의 META-INF 아래에 있는 info.xml을 삭제하면 된다.

the JBoss MainDeployer가  meta-inf/info.xml 을 찾으면 이넘은
jdom.jar가 특정한 deployer에 depends 하다고 가정하기 때문인데.
info.xml을 지우는게 현재로선 가장간단하다.

Posted by
,