在部署一个Web service服务的服务的时候遇到一个比较诡异的问题就是部署的.ear在启动jboss-4.2.2.GA的时候一切正常,但当切换到jboss-3.2.8却提示如下的错误:
这里给出问题的解决办法, 但至于为什么,我还真不清楚,可能是感觉吧……
修改使用maven2打包组织的目录结构:并移除其中位于.jar\META-INFO\maven\XXX\pom.xml文件即可
----------------------------------------------------------------------------
经过重新打包的.jar文件后部署提示信息如下:
SP1/server/default/deploy/XXXXXXX.ear/
15:47:59,093 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@4c05ff7f { url=file:/E:/jboss-3.2.8.SP1/serv
er/default/deploy/XXXXXXX.ear/ezmorph-1.0.5.jar }
deployer: null
status: Starting
state: START_SUBDEPLOYMENTS
watch: file:/E:/jboss-3.2.8.SP1/server/default/deploy/smsws.ear/ezmorph-1.0.5.
jar
lastDeployed: 1222415275171
lastModified: 1222415275156
mbeans:
15:47:59,250 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
0
15:47:59,343 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8001
15:47:59,359 INFO [JkMain] Jk running ID=0 time=0/47 config=null
这里给出问题的解决办法, 但至于为什么,我还真不清楚,可能是感觉吧……
修改使用maven2打包组织的目录结构:并移除其中位于.jar\META-INFO\maven\XXX\pom.xml文件即可
----------------------------------------------------------------------------
经过重新打包的.jar文件后部署提示信息如下:
SP1/server/default/deploy/xxxxxx.ear/
16:04:31,234 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
0
16:04:31,343 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8001
16:04:31,343 INFO [JkMain] Jk running ID=0 time=0/31 config=null
16:04:31,359 INFO [Server] JBoss (MX MicroKernel) [3.2.8.SP1 (build: CVSTag=JBo
ss_3_2_8_SP1 date=200606251229)] Started in 14s:281ms