On Dec 4, 2012, at 10:48 PM, [email protected] wrote:

> I've been trying to deploy a test JAX-WS web service generated in eclipse
> using apache cxf 2.7.  When i do, get a couple of error, including
> 
> java.lang.ClassNotFoundException:
> org.apache.cxf.wsn.client.Publisher.PublisherSubscription
> 
> and sometimes
> 
> SEVERE: Exception while deploying the app [com.hello.glassfish]
> SEVERE: wsdl file
> classpath:/org/apache/cxf/ws/discovery/wsdl/wsdd-discovery-1.1-wsdl-os.wsdl
> does not exist for web service Discovery
> 

Are there full stack traces?    I'm wondering if glass fish is seeing 
@WebService annotations in those jars and trying to deploy services from them.  
 There may be a way to tell glass fish to not do the annotation processing.   
Not really sure.

> i've found out that i can deploy to the "web-profile" version of glassfish
> just fine ( using the faq on the cxf website about deploying to glassfish
> ), and seemingly removing cxf-services-wsn* and cxf-services-ws-discovery-*
> jars seems to fix the problem.
> 
> wondering if anyone else is having this problem, and is removing the jars
> the only alternatives.  If so, does that mean i don't have access to the
> functionality in those jars?  i assume they're implementations of WS-*
> standards.

The implement WS-Notification and WS-Discovery.  If you don't know what those 
standards are, you likely don't need them.  :-)   You should be fine removing 
those jars.


-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to