Hello again,

I figured out a little bit, but I still need help.

It seems that this is not the port, which it has opened. that the context in
which the application runs. I'm sure of it.

I found another difference in the logs:
win jboss server has such an entry in the log:

/17:13:31,913 INFO  [BusApplicationContext] Refreshing
org.apache.cxf.bus.spring.BusApplicationContext@13dcbaa: startup date [Wed
Sep 25 17:13:31 EEST 2013]; root of context hierarchy
17:13:32,241 INFO  [DefaultListableBeanFactory] Overriding bean definition
for bean 'org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder':
replacing [Generic bean: class
[org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder]; scope=;
abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0;
autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined
in URL [vfszip:/C:/Program
Files/jboss-5.1.0.GA/server/all/deploy/rxtp-swaptearups-ear.ear/lib/cxf-rt-transports-http-2.3.1.jar/META-INF/cxf/cxf-extension-http.fixml]]
with [Generic bean: class
[org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder]; scope=;
abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0;
autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined
in URL [vfszip:/C:/Program
Files/jboss-5.1.0.GA/server/all/deploy/rxtp-swaptearups-ear.ear/lib/cxf-rt-transports-http-2.3.1.jar/META-INF/cxf/cxf-extension-http.fixml]]/

and many similar entries.

BUT, on linux jboss logs is no mention about CXF at all...

Moreover, I put in the code this:

*EndpointImpl ep= ((EndpointImpl)Endpoint.publish(port, notifyImplDefault));    
                                
Log.info("DEBUG:"+ep.getWsdlLocation()+" isPublished="+ep.isPublished());*

and got this exception on linux jboss:

/11:21:20,549 ERROR [STDERR] (http-0.0.0.0-8180-7)
java.lang.ClassCastException: org.jboss.ws.core.jaxws.spi.EndpointImpl
cannot be cast to org.apache.cxf.jaxws.EndpointImpl/


Obvious that CXF didn't linked at all?
Where to look at this situation?
Can I something in the code publish endpoint using CXF implementation
exactly?

Thanks.



--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-publish-on-Jboss-5-1-0-GA-tp5734386p5734491.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to