chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Petar Tahchiev (JIRA)" <>
Subject [jira] [Commented] (CMIS-796) Runtime descriptor "/WEB-INF/sun-jaxws.xml" is mising
Date Sun, 04 May 2014 14:03:14 GMT


Petar Tahchiev commented on CMIS-796:

Hmm, actually I cannot override {{WSServletContextListener}} because it is final, and I cannot
use it's source in my own class, because it uses some classes with reduced visibility :(

> Runtime descriptor "/WEB-INF/sun-jaxws.xml" is mising
> -----------------------------------------------------
>                 Key: CMIS-796
>                 URL:
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.11.0
>            Reporter: Petar Tahchiev
> Hi guys,
> i'm following this tutorial:
> on page 22 I saw this:
> {code}
> mvn archetype:generate \ -DgroupId=org.example.cmis \ -DartifactId=server \ -Dversion=1.0-SNAPSHOT
\ -Dpackage=org.example.cmis.server \ -DprojectPrefix=FileBridge \ -DarchetypeGroupId=org.apache.chemistry.opencmis
\ -DarchetypeArtifactId=chemistry-opencmis-server-archetype \ -DarchetypeVersion=1.0.0-SNAPSHOT
\ -DinteractiveMode=false
> {code}
> so i used it to create my own project. Unfortunately it creates a web.xml with this listener:
> {code}
>     <listener>
>         <listener-class></listener-class>
>     </listener>
> {code}
> which seems to require a {{sun-jaxws.xml}} file, which the archetype did not create.
I managed to find this file in the Chemistry repository, but now I have another problem. I'm
trying to use Spring's {{WebApplicationInitializer}} and get rid of my web.xmls and {{WEB-INF}}
folder, and instead package my Cmis server as a jar and deploy it in an existing application
under {{/cmis}}. Unfortunately this is not possible, because I get this exception:
> {code}
> Caused by: Runtime descriptor "/WEB-INF/sun-jaxws.xml"
is mising
>         at
> {code}
> For now I will override the {{WSServletContextListener}} to look for this file elsewhere,
but please can you improve the code so that it doesn't rely on {{WEB-INF}} and on the {{sun-jaxws.xml}}
file being there.
> Thanks

This message was sent by Atlassian JIRA

View raw message