[JBossWS-Metro] - Exceptions to deploy Jar using jbossws-metro 3.05
by yongz
JBoss 4.2.2
JBossWS-metro 3.05
I keep getting this error with a jar deployment (EJB3 endpoint):
| 17:10:43,313 INFO [EJBContainer] STARTED EJB: com.aas.employersvc.EmployerImpl ejbName: EmployerImpl
| 17:10:43,313 INFO [EJB3Deployer] Deployed: file:/G:/devworks/apps/jboss-4.2.2.GA/server/default/deploy/employerWS.jar
| 17:10:43,313 INFO [SunJaxwsDeploymentAspect] Add Endpoint
| name=EmployerImpl
| implementation=com.aas.employersvc.EmployerImpl
| url-pattern=/*
| enable-mtom=false
| 17:10:43,360 INFO [DefaultEndpointRegistry] register: jboss.ws:context=employer,endpoint=EmployerImpl
| 17:10:43,422 INFO [TomcatDeployer] deploy, ctxPath=/employer, warUrl=.../tmp/deploy/employerWS.jar3587.war/
| 17:10:43,516 ERROR [STDERR] java.lang.StringIndexOutOfBoundsException: String index out of range: -6
| 17:10:43,531 ERROR [STDERR] at java.lang.String.substring(String.java:1768)
| 17:10:43,531 ERROR [STDERR] at org.jboss.wsf.common.URLLoaderAdapter.getChildren(URLLoaderAdapter.java:152)
| 17:10:43,531 ERROR [STDERR] at org.jboss.wsf.stack.metro.metadata.VFSResourceLoader.getFileResources(VFSResourceLoader.java:98)
| 17:10:43,531 ERROR [STDERR] at org.jboss.wsf.stack.metro.metadata.VFSResourceLoader.getResourcePaths(VFSResourceLoader.java:87)
| 17:10:43,531 ERROR [STDERR] at org.jboss.wsf.stack.metro.DeploymentDescriptorParserExt.collectDocs(DeploymentDescriptorParserExt
| .java:219)
| 17:10:43,531 ERROR [STDERR] at org.jboss.wsf.stack.metro.DeploymentDescriptorParserExt.findDocs(DeploymentDescriptorParserExt.ja
| va:151)
| 17:10:43,531 ERROR [STDERR] at org.jboss.wsf.stack.metro.DeploymentDescriptorParserExt.<init>(DeploymentDescriptorParserExt.java
| :138)
| 17:10:43,531 ERROR [STDERR] at org.jboss.wsf.stack.metro.DeploymentDescriptorParserJBWS.<init>(DeploymentDescriptorParserJBWS.ja
| va:52)
| 17:10:43,531 ERROR [STDERR] at org.jboss.wsf.stack.metro.metadata.RuntimeModelDeploymentAspect.createDeploymentDescriptorParser(
| RuntimeModelDeploymentAspect.java:163)
| 17:10:43,531 ERROR [STDERR] at org.jboss.wsf.stack.metro.metadata.RuntimeModelDeploymentAspect.start(RuntimeModelDeploymentAspec
| t.java:104)
| 17:10:43,563 ERROR [STDERR] at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl
| .java:129)
|
| ..........................
|
| 17:10:43,594 ERROR [URLLoaderAdapter] Cannot get children for resource: jar:file:/G:/devworks/apps/jboss-4.2.2.GA/server/default/tmp
| /deploy/tmp3585employerWS.jar!/META-INF/wsdl/
|
I did a quick look at the source code, and it appears it has issue to get the folder name of the jar. That part of the code is new in 3.05 by alessio to fix a issue that we need: [JBWS-2206] - WSDL imports are not replaced with absolute path.
Can alessio or someone please advise the cause? Thanks a lot.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213924#4213924
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213924
15 years, 2 months
Testing mail archives
by Tom Benninger
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I'm just testing the list archives.
Tom Benninger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmTXCMACgkQa864S3iPzuIWLQCg+TytKuhr5LxRdzEChigHJCnz
FBEAoOamGbymra8Wm8oh5JoIU0VaPlz5
=zNsR
-----END PGP SIGNATURE-----
15 years, 2 months