1 Reply Latest reply on Jul 6, 2007 12:30 PM by Robert Sieghardt

    Deploying CrimePortalBeans on jboss 4.0.5.GA

    Robert Sieghardt Newbie

      Hi,

      I've got the example "CrimePortalBeans" of jboss training course.
      This example runs on jboss 4.0.3_SP1 without problems. Unfortunatly on jboss 4.0.5.GA the example doesn't work.
      Following messages occur after deploying (server: default):

      19:49:04,842 INFO [EjbModule] Deploying OrganizationBean
      19:49:04,862 WARN [PortComponentMetaData] <wsdl-port> element in webservices.xml not namespace qualified: OrganizationEndpointPort
      19:49:04,892 WARN [JSR109ServerMetaDataBuilder] Adding wsdl targetNamespace to: {http://crimeportal/ws4ee}OrganizationEndpointPort
      19:49:04,892 WARN [JSR109ServerMetaDataBuilder] Cannot obtain SEI mapping for: crimeportal.ws.OrganizationEndpoint
      19:49:04,932 INFO [TomcatDeployer] deploy, ctxPath=/CrimePortalBeans, warUrl=.../tmp/deploy/CrimePortalBeans.jar-ws12861.war/
      19:49:05,082 INFO [ProxyFactory] Bound EJB Home 'OrganizationBean' to jndi 'ejb/OrganizationBean'
      19:49:05,082 INFO [EJBDeployer] Deployed: file:/D:/dev/jboss/jboss-4.0.5.GA/server/default/deploy/CrimePortalBeans.jar
      19:49:05,132 INFO [WSDLFilePublisher] WSDL published to: file:/D:/dev/jboss/jboss-4.0.5.GA/server/default/data/wsdl/CrimePortalBeans.jar/OrganizationServiceEJB
      .wsdl
      19:49:05,142 WARN [SchemaBindingBuilder] Global element not found in schema: {http://crimeportal/ws4ee}in0
      19:49:05,142 WARN [SchemaBindingBuilder] Cannot obtain type binding for: {http://crimeportal/ws4ee}in0
      19:49:05,142 WARN [SchemaBindingBuilder] Global element not found in schema: {http://crimeportal/ws4ee}getContactInfoReturn
      19:49:05,142 WARN [SchemaBindingBuilder] Cannot obtain type binding for: {http://crimeportal/ws4ee}getContactInfoReturn


      After trying to call "getContactInfo" by the client, I've got following stacktrace:

      19:52:16,697 INFO [PortComponentHandler] init: [class=crimeportal.handler.PortComponentHandler,headers=[{http://crimeportal/ws4ee}handler-test],config={param1
      value1}]
      19:52:16,697 ERROR [SOAPFaultExceptionHelper] SOAP request exception
      javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://crimeportal/ws4ee}OrganizationEndpointPort does not contain operation meta data for: getContactInfo
       at org.jboss.ws.server.ServiceEndpointInvoker.getDispatchDestination(ServiceEndpointInvoker.java:181)
       at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:107)
       at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209)
       at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355)
       at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)



      Thanks for your help

      Robert