[esb-issues] [JBoss JIRA] Closed: (JBESB-1953) JBoss4ESBDeployer/JAXWSProviderClassGenerator generate paths that exceed the max path lenght on windows

Daniel Bevenius (JIRA) jira-events at lists.jboss.org
Wed Aug 27 01:33:38 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBESB-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Bevenius closed JBESB-1953.
----------------------------------

    Resolution: Done


Committed to JBESB_4_4_GA_CP revision 21924.


We have shortened the package name of the class generated for the WS. 
The issue was that JDK1.5.04 does not support the extensible path on Windows to handle the long path issue. This was causing the files to not be extracted from the war file and leading to a deployment failure.


> JBoss4ESBDeployer/JAXWSProviderClassGenerator generate paths that exceed the max path lenght on windows
> -------------------------------------------------------------------------------------------------------
>
>                 Key: JBESB-1953
>                 URL: https://jira.jboss.org/jira/browse/JBESB-1953
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Examples
>    Affects Versions: 4.4
>         Environment: Windows 
>            Reporter: Jim Ma
>            Assignee: Daniel Bevenius
>             Fix For: 4.4 CP1
>
>
> This will cause the QS publish_as_webservice deploy issue on Windows. Burr found these errors  on Windows :
> In the CP branch, it causes the following error when trying to deploy
> 15:59:28,925 ERROR [JBossWeb] Problem in init
> java.io.FileNotFoundException: C:\code\JBESB_4_4_GA_CP\product\build\jbossesb-se
> rver-4.4.GA\server\default\tmp\deploy\esbwarfiles\Quickstart_publish_as_webservi
> ce.esb\Quickstart_publish_as_webservice-exp.war\WEB-INF\classes\org\jboss\intern
> al\soa\esb\webservice\impl\esbservicesample\helloworldpubservice\esb-jaxws-handl
> ers.xml (The system cannot find the path specified)
>        at java.io.FileOutputStream.open(Native Method)
>        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
>        at org.jboss.util.file.JarUtils.unjar(JarUtils.java:298)
>        at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:325
> )
>        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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
> or.java:133)
>        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
> BeanOperationInterceptor.java:142)
>        at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
> .java:97)
>        at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
> rServiceMBeanSupport.java:238)
>        at org.jboss.deployment.SubDeployerInterceptorSupport.init(SubDeployerIn
> terceptorSupport.java:119)
>        at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
> init(SubDeployerInterceptorSupport.java:172)
>        at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
> ptor.java:87)
>        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>        at $Proxy34.init(Unknown Source)
>        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
>        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895)
>        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
>        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
>        at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
> or.java:133)
>        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
> BeanOperationInterceptor.java:142)
>        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>        at $Proxy9.deploy(Unknown Source)
>        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
> tScanner.java:421)
>        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
> canner.java:634)
>        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
> doScan(AbstractDeploymentScanner.java:263)
>        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
> loop(AbstractDeploymentScanner.java:274)
>        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
> run(AbstractDeploymentScanner.java:225)
> 15:59:29,018 ERROR [MainDeployer] Could not initialise deployment: file:/C:/code
> /JBESB_4_4_GA_CP/product/build/jbossesb-server-4.4.GA/server/default/deploy/Quic
> kstart_publish_as_webservice.esb
> org.jboss.deployment.DeploymentException: C:\code\JBESB_4_4_GA_CP\product\build\
> jbossesb-server-4.4.GA\server\default\tmp\deploy\esbwarfiles\Quickstart_publish_
> as_webservice.esb\Quickstart_publish_as_webservice-exp.war\WEB-INF\classes\org\j
> boss\internal\soa\esb\webservice\impl\esbservicesample\helloworldpubservice\esb-
> jaxws-handlers.xml (The system cannot find the path specified); - nested throwab
> le: (java.io.FileNotFoundException: C:\code\JBESB_4_4_GA_CP\product\build\jbosse
> sb-server-4.4.GA\server\default\tmp\deploy\esbwarfiles\Quickstart_publish_as_web
> service.esb\Quickstart_publish_as_webservice-exp.war\WEB-INF\classes\org\jboss\i
> nternal\soa\esb\webservice\impl\esbservicesample\helloworldpubservice\esb-jaxws-
> handlers.xml (The system cannot find the path specified))
>        at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:374
> )
>        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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
> or.java:133)
>        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
> BeanOperationInterceptor.java:142)
>        at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
> .java:97)
>        at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
> rServiceMBeanSupport.java:238)
>        at org.jboss.deployment.SubDeployerInterceptorSupport.init(SubDeployerIn
> terceptorSupport.java:119)
>        at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
> init(SubDeployerInterceptorSupport.java:172)
>        at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
> ptor.java:87)
>        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>        at $Proxy34.init(Unknown Source)
>        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
>        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895)
>        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
>        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
>        at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
> or.java:133)
>        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
> BeanOperationInterceptor.java:142)
>        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>        at $Proxy9.deploy(Unknown Source)
>        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
> tScanner.java:421)
>        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
> canner.java:634)
>        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
> doScan(AbstractDeploymentScanner.java:263)
>        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
> loop(AbstractDeploymentScanner.java:274)
>        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
> run(AbstractDeploymentScanner.java:225)
> Caused by: java.io.FileNotFoundException: C:\code\JBESB_4_4_GA_CP\product\build\
> jbossesb-server-4.4.GA\server\default\tmp\deploy\esbwarfiles\Quickstart_publish_
> as_webservice.esb\Quickstart_publish_as_webservice-exp.war\WEB-INF\classes\org\j
> boss\internal\soa\esb\webservice\impl\esbservicesample\helloworldpubservice\esb-
> jaxws-handlers.xml (The system cannot find the path specified)
>        at java.io.FileOutputStream.open(Native Method)
>        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
>        at org.jboss.util.file.JarUtils.unjar(JarUtils.java:298)
>        at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:325
> )
>        ... 41 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the esb-issues mailing list