You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2009/10/07 14:49:31 UTC

[jira] Commented: (CXF-2377) jaxrs Schemahandler inside tomcat lib folder - loading schema with classpath not working

    [ https://issues.apache.org/jira/browse/CXF-2377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763037#action_12763037 ] 

Sergey Beryozkin commented on CXF-2377:
---------------------------------------

Max, if you can attach a sample web app showing how schemas are referred to then it would help, otherwise I'd be keen on closing this issue.

I've run a quick test today with Tomcat 6.0.20, I've added a temp log warning showing schemas can be loaded :

y.NoOpPolicyInterceptorProvider,org.apache.cxf.transport.http.ClientOnlyHTTPTran
sportFactory,org.apache.cxf.transport.servlet.ServletTransportFactory,serviceBea
n,bookservice,schemaHolder,theSchemas,jsonProvider]; root of factory hierarchy
07-Oct-2009 13:43:49 org.apache.cxf.jaxrs.utils.schemas.SchemaHandler createSche
ma
*******************************************
WARNING: Schema resource classpath:/WEB-INF/schemas/bookid.xsd is available on c
lasspath
*******************************************
07-Oct-2009 13:43:50 org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be /bookstore
07-Oct-2009 13:43:50 org.springframework.web.context.ContextLoader initWebApplic
ationContext

CXF libs are in /lib
See the attached sample web app as well 

> jaxrs Schemahandler inside tomcat lib folder - loading schema with classpath not working
> ----------------------------------------------------------------------------------------
>
>                 Key: CXF-2377
>                 URL: https://issues.apache.org/jira/browse/CXF-2377
>             Project: CXF
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 2.2.3
>            Reporter: max laenzlinger
>         Attachments: cxf.zip
>
>
> See summary. Using absolute path works, but using classpath cant find the schema file inside the webapplication-context.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.