Hey,
There is another possible work around at the end of this post:
http://kingsfleet.blogspot.com/2008/10/running-jax-rcjerseyjsr311-on-weblogic.htmlI have had some reports that it doesn't work on all published versions
of weblogic; but I haven't had time to investigate full. The other
option it to push for a fix to jersey issue 32, (Go on Paul you know you
want to ;-) )
https://jersey.dev.java.net/issues/show_bug.cgi?id=32Gerard
On 20/10/2009 01:56, Jeanfrancois Arcand wrote:
> FYI, if you are using/planning to deploy on WebLogic, make sure you
> define the Jersey init-param for
>
>> <init-param>
>>
>> <param-name>com.sun.jersey.config.property.packages</param-name>
>>
>> <param-value>org.atmosphere.samples.chat.resources</param-value>
>> </init-param>
>
> If you don't, you will get:
>
>> javax.servlet.ServletException: The default deployment configuration
>> that scans for classes in /WEB-INF/lib and /WEB-INF/classes is not
>> supported for the application server.Try using the package scanning
>> configuration, see the JavaDoc for
>> com.sun.jersey.api.core.PackagesResourceConfig and the property
>> com.sun.jersey.config.property.packages.
>> at
>> com.sun.jersey.spi.container.servlet.WebComponent.getPaths(WebComponent.java:649)
>>
>> at
>> com.sun.jersey.spi.container.servlet.WebComponent.getClassPathResourceConfig(WebComponent.java:546)
>>
>> at
>> com.sun.jersey.spi.container.servlet.ServletContainer.getDefaultResourceConfig(ServletContainer.java:349)
>>
>> at
>> com.sun.jersey.spi.container.servlet.ServletContainer.getDefaultResourceConfig(ServletContainer.java:517)
>>
>> at
>> com.sun.jersey.spi.container.servlet.ServletContainer$1.getDefaultResourceConfig(ServletContainer.java:490)
>>
>> Truncated. see log file for complete stacktrace
>
> Same for not defining META-INF/atmosphere.xml. You MUST define it with
> WebLogic in order to make any Atmosphere application to work.
>
> A+
>
> -- Jeanfrancois
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
[hidden email]
> For additional commands, e-mail:
[hidden email]
>
--
Gerard Davison | Senior Principal Software Engineer | +44 118 924 5095
Oracle JDeveloper Web Service Tooling Development
Oracle Corporation UK Ltd is a company incorporated in England & Wales.
Company Reg. No. 1782505.
Reg. office: Oracle Parkway, Thames Valley Park, Reading RG6 1RA.
Blog
http://kingsfleet.blogspot.com---------------------------------------------------------------------
To unsubscribe, e-mail:
[hidden email]
For additional commands, e-mail:
[hidden email]