[jboss-user] [JBossWS] - Re: NullPointerException with jbossws 2.0.1

thomas.diesler@jboss.com do-not-reply at jboss.com
Fri Aug 24 04:40:50 EDT 2007


The manifest classpath is not the problem becasue the unified classloader can see/load the ServerConfigFactory

The implementation of that factory however tries to load the ServerConfig from the microkernel with the bean name: WSServerConfig

Is that bean there?


  |   <!-- An abstraction of server configuration aspects. -->  
  |   <bean name="WSServerConfig" class="org.jboss.wsf.stack.jbws.NativeServerConfig">
  |     <property name="mbeanServer"><inject bean="WSMBeanServerLocator" property="mbeanServer"/></property>
  |     
  |     <!--
  |         The WSDL, that is a required deployment artifact for an endpoint, has a <soap:address>
  |         element which points to the location of the endpoint. JBoss supports rewriting of that SOAP address.
  |       
  |         If the content of <soap:address> is a valid URL, JBossWS will not rewrite it unless 'modifySOAPAddress' is true.
  |         If the content of <soap:address> is not a valid URL, JBossWS will rewrite it using the attribute values given below.
  |         
  |         If 'webServiceHost' is not set, JBossWS uses requesters protocol host when rewriting the <soap:address>.
  |     -->
  |     <property name="webServiceHost">${jboss.bind.address}</property>
  |     <property name="modifySOAPAddress">true</property>
  |     
  |     <!-- 
  |       Set these properties to explicitly define the ports that will be used for rewriting the SOAP address.
  |       Otherwise the ports will be identified by querying the list of installed connectors. 
  |       If multiple connectors are found the port of the first connector is used.
  |       <property name="webServiceSecurePort">8443</property>
  |       <property name="webServicePort">8080</property>
  |     -->
  |   </bean>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077660#4077660

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077660



More information about the jboss-user mailing list