Any chance you can try with CXF 2.0.5?   I know I fixed a BUNCH of issues 
with URL's with spaces in them a little while ago.  It MAY have been for 
2.0.4, but definitely 2.0.5.

Meanwhile, I'll try testing some stuff here.  I cannot even get tomcat to 
start from a dir with a space in it to test this.  :-(


Dan


On Wednesday 09 April 2008, Bharath Thippireddy wrote:
> Hi Dan,
>
> We could see the root cause for this issue.It happens only when the
> App Server is installed in a folder path which has a space(in any of
> the folder names).We tried it on JBoss which resulted in the same
> exception.
>
> 1) What version of CXF?
>
> We are using CXF 2.0.3
> wsdl location is WEB-INF/wsdl/Auth.wsdl
>
> 2) What are you using for the wsdlLocation? ("WEB-INF/foo.wsdl", or
>  just "foo.wsdl", or....)
> We use the cxf-servlet.xml file for the configuration.
>
> 3)How are you configuring the wsdl location?  (@WebService annotation,
> in a xml config file, etc..)
> Can you please let me know how this can be resolved while having
> spaces in the foder names.
>
> thanks and regards,
> Bharath
>
> Daniel Kulp <[EMAIL PROTECTED]> wrote on 04/09/2008 04:08:34 PM:
> > Couple questions:
> >
> > 1) What version of CXF?
> >
> > 2) What are you using for the wsdlLocation? ("WEB-INF/foo.wsdl", or
> > just "foo.wsdl", or....)
> >
> > 3) How are you configuring the wsdl location?  (@WebService
> > annotation, in a xml config file, etc..)
> >
> > Dan
> >
> > On Tuesday 08 April 2008, bharath_t19 wrote:
> > > We are trying to deploy our CXF application on WebSphere 6.1 and
> > > we see the following problem
> > >
> > > ServletWrappe E   SRVE0100E: Did not realize  init() exception
> > > thrown by servlet cxf:
> > > org.springframework.beans.factory.BeanCreationException: Error
> > > creating bean with name 'AuthenticationService': Invocation of
> > > init method failed; nested exception is
> > > java.lang.IncompatibleClassChangeError Caused by:
> > > java.lang.IncompatibleClassChangeError
> > >    at
> > > org.apache.cxf.wsdl11.WSDLServiceBuilder.copyExtensionAttributes(W
> > >SDLS erviceBuilder.java:117) at
> > > org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLService
> > >Buil der.java:218) at
> > > org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLService
> > >Buil der.java:150) at
> > > org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory
> > >.jav a:117)
> > >
> > >
> > > This was fixed by following the instruction in the CXF App Server
> > > Guide.
> > >
> > > But now we see the following exception.Looks like its seaching the
> > > XSDs in the server root folder instead of searching for them
> > > relative to the wsdl files.All the wsdl files are under the
> > > web-inf folder of the webapplication and the XSDs imported in the
> > > WSDLs go in to the same directory.We see the same exception when
> > > we try both the options in the App Server Guide.
> > >
> > > 1)put jar in the endorsed folder
> > > 2)Add your own class loader
> > >
> > >  00000018 ServletWrappe E   SRVE0100E: Did not realize  init()
> > > exception thrown by servlet cxf:
> > > org.springframework.beans.factory.BeanCreationException: Error
> > > creating bean with name 'AuthenticationService': Invocation of
> > > init method failed; nested exception is
> > > org.apache.cxf.service.factory.ServiceConstructionException:
> > > Failed to create service.
> > > Caused by:
> > > org.apache.cxf.service.factory.ServiceConstructionException:
> > > Failed to create service.
> > >    at
> > > org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory
> > >.jav a:83) at
> > > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildS
> > >ervi ceFromWSDL(ReflectionServiceFactoryBean.java:256) at
> > > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initia
> > >lize ServiceModel(ReflectionServiceFactoryBean.java:331) at
> > > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create
> > >(Ref lectionServiceFactoryBean.java:151) at
> > > org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsS
> > >ervi ceFactoryBean.java:93) at
> > > org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEnd
> > >poin t(AbstractWSDLBasedEndpointFactory.java:74) at
> > > org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean
> > >.jav a:108) at
> > > org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFact
> > >oryB ean.java:147) at
> > > org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:288)
> > > at
> > > org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:228)
> > > at
> > > org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:179)
> > > at
> > > org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:341)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
> > >pl.j ava:64) at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
> > >cess orImpl.java:43) at
> > > java.lang.reflect.Method.invoke(Method.java:615) at
> > > org.springframework.beans.factory.support.AbstractAutowireCapableB
> > >eanF
> > > actory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.j
> > >ava:1 240) at
> > > org.springframework.beans.factory.support.AbstractAutowireCapableB
> > >eanF
> > > actory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1
> > >205) at
> > > org.springframework.beans.factory.support.AbstractAutowireCapableB
> > >eanF
> > > actory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171
> > >) at
> > > org.springframework.beans.factory.support.AbstractAutowireCapableB
> > >eanF actory.createBean(AbstractAutowireCapableBeanFactory.java:425)
> > > at
> > > org.springframework.beans.factory.support.AbstractBeanFactory$1.ge
> > >tObj ect(AbstractBeanFactory.java:251) at
> > > org.springframework.beans.factory.support.DefaultSingletonBeanRegi
> > >stry .getSingleton(DefaultSingletonBeanRegistry.java:156) at
> > > org.springframework.beans.factory.support.AbstractBeanFactory.getB
> > >ean( AbstractBeanFactory.java:248) at
> > > org.spriFSe
> > >rvlet.java:145) at
> > > org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CXFServl
> > >et.j ava:113) at
> > > org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.jav
> > >a:63 ) at
> > > org.apache.cxf.transport.servlet.AbstractCXFServlet.init(AbstractC
> > >XFSe rvlet.java:86) at
> > > com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper
> > >.jav a:185) at
> > > com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapp
> > >er.j ava:316) at
> > > com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletW
> > >rapp er.java:1119) at
> > > com.ibm.ws.wswebcontainer.servlet.ServletWrapper.initialize(Servle
> > >tWra pper.java:149) at
> > > com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createS
> > >ervl etWrapper(WebExtensionProcessor.java:99) at
> > > com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.jav
> > >a:74 1) at
> > > com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(Web
> > >App. java:421) at
> > > com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(W
> > >ebAp p.java:274) at
> > > com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271
> > >) at
> > > com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGro
> > >up.j ava:88) at
> > > com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHos
> > >t.ja va:157) at
> > > com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java
> > >:653 ) at
> > > com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContai
> > >ner. java:606) at
> > > com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebCont
> > >aine rImpl.java:333) at
> > > com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContai
> > >nerI mpl.java:549) at
> > > com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationM
> > >grIm pl.java:1295) at
> > > com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedO
> > >bjec tStart(DeployedApplicationImpl.java:1129) at
> > > com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModu
> > >leIm pl.java:567) at
> > > com.ibm.ws.runtime.component.DeployedApplicationImpl.start(Deploye
> > >dApp licationImpl.java:814) at
> > > com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(A
> > >ppli cationMgrImpl.java:948) at
> > > com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run
> > >(App licationMgrImpl.java:2114) at
> > > com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer
> > >.run (WsComponentImpl.java:340) at
> > > com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498) Caused
> > > by: javax.wsdl.WSDLException: WSDLException (at
> > > /wsdl:definitions/wsdl:types/xsd:schema): faultCode=PARSER_ERROR:
> > > Problem parsing 'IntegrationFault.xsd'.:
> > > java.io.FileNotFoundException: C:\Program
> > > Files\IBM\WebSphere\AppServer\profiles\AppSrv01\IntegrationFault.x
> > >sd (The system cannot find the file specified.)
> >
> > --
> > J. Daniel Kulp
> > Principal Engineer, IONA
> > [EMAIL PROTECTED]
> > http://www.dankulp.com/blog



-- 
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to