java - Using Spring with WebSphere 8.5.5 and Apache Wink - web.xml error on server startup -


i'm migrating java app using wink 1.1.1 , spring 3.1.2 7 8.5.5. i'm trying use native wink-integration available in 8.5 instead of using separate wink jars have 7.

i'm getting error on server startup looks this:

caused by: java.io.filenotfoundexception: class path resource [meta-inf/server/wink-core-context.xml] cannot opened because not exist @ org.springframework.core.io.classpathresource.getinputstream(classpathresource.java:157)

now, in current 7 world i'm explicitly using wink jars have entry in web.xml:

  <servlet>     <servlet-name>wink servlet</servlet-name>     <servlet-class>org.apache.wink.server.internal.servlet.restservlet</servlet-class>   </servlet>    <context-param>     <param-name>contextconfiglocation</param-name>     <param-value>classpath:meta-inf/server/wink-core-context.xml         /web-inf/spring/applicationcontext-configuration.xml</param-value>   </context-param> 

which works fine.

i'm trying figure out correct web.xml entry 8.5 using native wink-integration has. here have:

  <servlet>     <servlet-name>ibm rest servlet</servlet-name>     <servlet-class>com.ibm.websphere.jaxrs.server.ibmrestservlet</servlet-class>   </servlet>    <context-param>     <param-name>contextconfiglocation</param-name>     <param-value>classpath:meta-inf/server/wink-core-context.xml         /web-inf/spring/applicationcontext-configuration.xml</param-value>   </context-param> 

however, i'm getting error above. i'm wondering if wink core context file located @ different place in ibm setup? also, jar in ibm setup houses wink implementation? haven't been able find definitive answer on either.

thanks help!

as wink-spring-support-1.1-incubating.jar not supplied 8.5 wink distribution, need include jar explicitly in application classpath.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -