[JBossWS] - Not able to generate the wsdl
by jena435
Hi,
I am pretty new to jbossws. I am trying to expose my ejb as webservices and have been try a very trivial example for test. I can register the endpoint but does not generate the wsdl file.
this is the basic service I am trying to test on.
@Stateless
@WebService(name = "additionService", serviceName = "additionService", targetNamespace = "http://eardeployment.jaxws/")
//@SOAPBinding(style = SOAPBinding.Style.RPC)
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
@WebContext(contextRoot = "/test")
public class Addition {
@WebMethod(operationName = "add")
public int add(@WebParam(name = "i") int i, @WebParam(name = "j") int j) {
int k = i + j;
return k;
}
}
The ERRORS that I get are :
javax.servlet.ServletException: Servlet.init() for servlet Addition threw exception
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
java.lang.Thread.run(Thread.java:595)
root cause
java.lang.ClassCastException: org.jboss.wsf.framework.DefaultSPIProviderResolver
org.jboss.wsf.spi.SPIProviderResolver.getInstance(SPIProviderResolver.java:38)
org.jboss.wsf.stack.jbws.EndpointServlet.init(EndpointServlet.java:68)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
java.lang.Thread.run(Thread.java:595)
Any help in providing some enlightenment will be greatly appreciated.
Thanks,
RJ
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239455#4239455
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239455
15 years, 6 months
[JBossWS] - non-HTTP request or response: xfire-WebService (jsr181) in J
by Semaphore_ham
Hi all,
i'm running a xfire-based WS in JBoss-4.2.2-GA without any problems, but when i've deployed this WS into JBoss-5.1.0 and try to connect to it using
http://myservername.mydomain.org.8080/MyWebService/services/MyWebService?..., than i always get an exception:
18:47:27,234 ERROR [[XFireServlet]] Servlet.service() for servlet XFireServlet threw exception
javax.servlet.ServletException: non-HTTP request or response
The full background including the implementation:
##################################
Web.xml:
##################################
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>ZuluWebServiceWeb</display-name>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml classpath:org/codehaus/xfire/spring/xfire.xml</param-value>
</context-param>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
<servlet-name>XFireServlet</servlet-name>
<display-name>XFire Servlet</display-name>
<servlet-class>
org.codehaus.xfire.spring.XFireSpringServlet
</servlet-class>
<servlet-name>context</servlet-name>
<servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<servlet-name>xfire</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<servlet-mapping>
<servlet-name>xfire</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>XFireServlet</servlet-name>
<url-pattern>/servlet/XFireServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>XFireServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
</web-app>
##################################
applicationContext.xml: (the key-words have been shortened, because of filtering of them here in the forum)
##################################
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<b.ns>
<b.n id="webAnnotations" class="org.codehaus.xfire.annotations.jsr181.Jsr181WebAnnotations"/>
<b.n id="handlerMapping" class="org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping">
<pr.prty name="typeMappingRegistry" ref="xfire.typeMappingRegistry" />
<pr.prty name="xfire" ref="xfire" />
<pr.prty name="webAnnotations" ref="webAnnotations" />
</b.n>
<b.n class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<pr.prty name="urlMap">
<m.p>
<e..try key="/">
<ref b.n="handlerMapping"/>
</e..try>
</m.p>
</pr.prty>
</b.n>
<b.n id="myWebService" class="com.mycomp.myservices.spring.service.MyWebServiceImpl"/>
</b.ns>
##################################
MyWebServiceImpl:
##################################
package com.mycomp.myservices.spring.service;
import java.io.UnsupportedEncodingException;
import javax.jws.WebService;
import org.apache.log4j.Logger;
import com.mycomp.myservices.security.MyBlowfishCryptoEngine;
import com.mycomp.myservices.spring.bean.MyWebService;
import com.mycomp.myservices.spring.bean.MyWebServiceQueryContainer;
@WebService(name = "MyWebService", serviceName = "MyWebService", endpointInterface="com.mycomp.myservices.spring.service.MyWebServiceInterface")
public class MyWebServiceImpl implements MyWebServiceInterface {
##################################
MyWebService:
##################################
package com.mycomp.myservices.spring.service;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import com.mycomp.myservices.spring.bean.MyWebServiceContainer;
@WebService(name = "MyWebService", targetNamespace = "http://service.spring.myservices.mycomp.com")
public interface MyWebServiceInterface {
@WebMethod(operationName = "getMyWebServiceContainer")
@WebResult(name="myWebServiceContainer")
public MyWebServiceContainer getMyWebServiceContainer(@WebParam(name = "userId")String userId, @WebParam(name = "customer")String customer, @WebParam(name = "appId")String appId,
@WebParam(name = "token")String token) throws Exception;
public void setMyWebServiceContainer(@WebParam(name = "MyWebServiceContainer")MyWebServiceContainer container);
public MyWebServiceContainer getMyWebServiceContainer();
public void setMyWebServiceContainer(@WebParam(name = "MyWebServiceContainer")MyWebServiceContainer myWebServiceContainer);
}
##################################
MyWebServiceWebServiceConnector:
##################################
package com.mycomp.myservices.client;
import java.util.ArrayList;
import java.util.HashMap;
import org.apache.log4j.Logger;
import org.codehaus.xfire.annotations.AnnotationServiceFactory;
import org.codehaus.xfire.client.XFireProxyFactory;
import org.codehaus.xfire.service.Service;
import com.mycomp.myservices.auth.model.MyWebServiceModelListContainer;
import com.mycomp.myservices.constants.MyWebServiceLDAPConstants;
import com.mycomp.myservices.db.model.MyWebServiceAuthModel;
import com.mycomp.myservices.spring.bean.MyWebServiceContainer;
import com.mycomp.myservices.spring.bean.MyWebServiceAuthModelSingleList;
import com.mycomp.myservices.spring.bean.MyWebServiceListAttribute;
import com.mycomp.myservices.spring.bean.MyWebServiceSingleAttribute;
import com.mycomp.myservices.spring.service.MyWebServiceInterface;
public class MyWebServiceWebServiceConnector {
public MyWebServiceConnector() {}
private MyWebServiceSingleAttribute[] myWebServiceSingleAttribute;
private MyWebServiceListAttribute[] myWebServiceListAttribute;
private MyWebServiceAuthModelSingleList[] myWebServiceAuthModelSingleList;
private HashMap userMap = new HashMap();
private static Logger logger = Logger.getLogger(MyWebServiceConnector.class);
public HashMap getMyWebServiceFromWebService(String uid, String customer, String appId, String token, String webserviceURL) {
try {
final Service model = new AnnotationServiceFactory().create(MyWebServiceInterface.class);
final MyWebServiceInterface service = (MyWebServiceInterface)new XFireProxyFactory().create(model, webserviceURL);
...
...
...
##################################
Full startup log:
##################################
18:44:56,625 INFO [ServerImpl] Starting JBoss (Microcontainer)...
18:44:56,625 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)
18:44:56,625 INFO [ServerImpl] Bootstrap URL: null
18:44:56,625 INFO [ServerImpl] Home Dir: C:\Programme\jboss-5.1.0.GA
18:44:56,625 INFO [ServerImpl] Home URL: file:/C:/Programme/jboss-5.1.0.GA/
18:44:56,625 INFO [ServerImpl] Library URL: file:/C:/Programme/jboss-5.1.0.GA/lib/
18:44:56,625 INFO [ServerImpl] Patch URL: null
18:44:56,625 INFO [ServerImpl] Common Base URL: file:/C:/Programme/jboss-5.1.0.GA/common/
18:44:56,625 INFO [ServerImpl] Common Library URL: file:/C:/Programme/jboss-5.1.0.GA/common/lib/
18:44:56,625 INFO [ServerImpl] Server Name: default
18:44:56,625 INFO [ServerImpl] Server Base Dir: C:\Programme\jboss-5.1.0.GA\server
18:44:56,625 INFO [ServerImpl] Server Base URL: file:/C:/Programme/jboss-5.1.0.GA/server/
18:44:56,625 INFO [ServerImpl] Server Config URL: file:/C:/Programme/jboss-5.1.0.GA/server/default/conf/
18:44:56,625 INFO [ServerImpl] Server Home Dir: C:\Programme\jboss-5.1.0.GA\server\default
18:44:56,625 INFO [ServerImpl] Server Home URL: file:/C:/Programme/jboss-5.1.0.GA/server/default/
18:44:56,625 INFO [ServerImpl] Server Data Dir: C:\Programme\jboss-5.1.0.GA\server\default\data
18:44:56,625 INFO [ServerImpl] Server Library URL: file:/C:/Programme/jboss-5.1.0.GA/server/default/lib/
18:44:56,625 INFO [ServerImpl] Server Log Dir: C:\Programme\jboss-5.1.0.GA\server\default\log
18:44:56,625 INFO [ServerImpl] Server Native Dir: C:\Programme\jboss-5.1.0.GA\server\default\tmp\native
18:44:56,625 INFO [ServerImpl] Server Temp Dir: C:\Programme\jboss-5.1.0.GA\server\default\tmp
18:44:56,625 INFO [ServerImpl] Server Temp Deploy Dir: C:\Programme\jboss-5.1.0.GA\server\default\tmp\deploy
18:44:57,203 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Programme/jboss-5.1.0.GA/server/default/conf/bootstrap.xml
18:44:57,859 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
18:44:57,859 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
18:44:58,140 INFO [CopyMechanism] VFS temp dir: C:\Programme\jboss-5.1.0.GA\server\default\tmp
18:44:58,187 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
18:44:59,078 INFO [ServerInfo] Java version: 1.6.0_14,Sun Microsystems Inc.
18:44:59,078 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
18:44:59,078 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 14.0-b16,Sun Microsystems Inc.
18:44:59,078 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
18:44:59,078 INFO [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:2112
18:44:59,125 INFO [JMXKernel] Legacy JMX core initialized
18:45:00,656 INFO [ProfileServiceBootstrap] Loading profile: ProfileKey@14ffc5[domain=default, server=default, name=default]
18:45:02,234 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
18:45:07,765 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
18:45:07,765 INFO [NativeServerConfig] 3.1.2.GA
18:45:08,281 INFO [AttributeCallbackItem] Owner callback not implemented.
18:45:09,796 INFO [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@181c4a1[ defaultDomain='jboss' ]
18:45:32,687 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@30323935{vfsfile:/C:/Programme/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
18:45:32,687 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@30323935{vfsfile:/C:/Programme/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
18:45:32,687 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@30323935{vfsfile:/C:/Programme/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
18:45:32,687 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@30323935{vfsfile:/C:/Programme/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
18:45:35,453 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
18:45:35,640 INFO [MailService] Mail Service bound to java:/Mail
18:46:09,953 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
18:46:09,968 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
18:46:10,125 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
18:46:10,203 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
18:46:10,203 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
18:46:10,593 INFO [TransactionManagerService] Initializing recovery manager
18:46:10,937 INFO [TransactionManagerService] Recovery manager configured
18:46:10,937 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
18:46:11,000 INFO [TransactionManagerService] Starting transaction recovery manager
18:46:11,781 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programme\Java\jre6\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Programme\Java\jre6\bin\client;C:\Programme\Java\jre6\bin;C:\Programme\Oracle\product\10.2.0\client_1\bin;C:\Programme\Oracle\bin;c:\windows\system32;c:\Programme\Oracle\product\10.2.0\client_1;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Programme\QuickTime\QTSystem\;C:\Programme\Gemeinsame Dateien\DivX Shared\;C:\Programme\IDM Computer Solutions\UltraEdit\;C:\Programme\SSH Communications Security\SSH Secure Shell
18:46:11,875 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
18:46:11,875 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
18:46:11,921 INFO [StandardService] Starting service jboss.web
18:46:11,921 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA
18:46:12,031 INFO [Catalina] Server startup in 158 ms
18:46:12,062 INFO [TomcatDeployment] deploy, ctxPath=/invoker
18:46:13,609 INFO [TomcatDeployment] deploy, ctxPath=/web-console
18:46:14,203 INFO [TomcatDeployment] deploy, ctxPath=/jbossws
18:46:14,359 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Programme/jboss-5.1.0.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
18:46:14,375 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Programme/jboss-5.1.0.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
18:46:14,406 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Programme/jboss-5.1.0.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
18:46:14,421 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Programme/jboss-5.1.0.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
18:46:14,437 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Programme/jboss-5.1.0.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
18:46:14,593 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
18:46:14,640 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
18:46:14,640 INFO [RAMJobStore] RAMJobStore initialized.
18:46:14,640 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
18:46:14,640 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
18:46:14,640 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
18:46:14,875 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/mydbsecrd' to JNDI name 'java:jdbc/mydbsecrd'
18:46:16,078 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
18:46:16,765 INFO [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started
18:46:16,906 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
18:46:16,906 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
18:46:16,921 INFO [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
18:46:16,921 INFO [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
18:46:17,000 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
18:46:17,000 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1a30c5d started
18:46:17,000 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
18:46:17,000 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@101170f started
18:46:17,000 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
18:46:17,000 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1822d97 started
18:46:17,171 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
18:46:33,671 INFO [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar
18:46:33,671 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
18:46:33,671 INFO [JBossASKernel] with dependencies:
18:46:33,671 INFO [JBossASKernel] and demands:
18:46:33,671 INFO [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
18:46:33,671 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
18:46:33,671 INFO [JBossASKernel] and supplies:
18:46:33,671 INFO [JBossASKernel] Class:org.jboss.profileservice.spi.ProfileService
18:46:33,671 INFO [JBossASKernel] jndi:SecureProfileService/remote
18:46:33,671 INFO [JBossASKernel] jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
18:46:33,671 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar
18:46:33,671 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
18:46:33,671 INFO [JBossASKernel] with dependencies:
18:46:33,671 INFO [JBossASKernel] and demands:
18:46:33,671 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
18:46:33,671 INFO [JBossASKernel] and supplies:
18:46:33,671 INFO [JBossASKernel] jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager
18:46:33,671 INFO [JBossASKernel] Class:org.jboss.deployers.spi.management.deploy.DeploymentManager
18:46:33,671 INFO [JBossASKernel] jndi:SecureDeploymentManager/remote
18:46:33,671 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar
18:46:33,671 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
18:46:33,671 INFO [JBossASKernel] with dependencies:
18:46:33,671 INFO [JBossASKernel] and demands:
18:46:33,671 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
18:46:33,671 INFO [JBossASKernel] and supplies:
18:46:33,671 INFO [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
18:46:33,671 INFO [JBossASKernel] Class:org.jboss.deployers.spi.management.ManagementView
18:46:33,671 INFO [JBossASKernel] jndi:SecureManagementView/remote
18:46:33,671 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar
18:46:33,687 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@16220e2{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
18:46:33,687 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@1c62c02{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
18:46:33,687 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@7c3633{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
18:46:33,828 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
18:46:33,843 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager
18:46:33,968 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface
SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface
18:46:34,078 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
18:46:34,078 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView
18:46:34,093 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
SecureManagementView/remote - EJB3.x Default Remote Business Interface
SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface
18:46:34,156 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
18:46:34,156 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
18:46:34,156 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
SecureProfileService/remote - EJB3.x Default Remote Business Interface
SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface
18:46:34,375 INFO [TomcatDeployment] deploy, ctxPath=/admin-console
18:46:34,500 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
18:46:39,375 INFO [TomcatDeployment] deploy, ctxPath=/MyWebService
18:46:41,734 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
18:46:41,734 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
18:46:41,734 ERROR [STDERR] log4j:ERROR [BaseClassLoader@13f425b{vfszip:/C:/Programme/jboss-5.1.0.GA/server/default/deploy/MyWebService.war/}] whereas object of type
18:46:41,734 ERROR [STDERR] log4j:ERROR "org.jboss.logging.appender.FileAppender" was loaded by [org.jboss.bootstrap.NoAnnotationURLClassLoader@b64435].
18:46:41,734 ERROR [STDERR] log4j:ERROR Could not instantiate appender named "FILE".
18:46:41,781 INFO [STDOUT] 18:46:41,781 INFO [ContextLoader] Root WebApplicationContext: initialization started
18:46:41,781 INFO [[/MyWebService]] Loading Spring root WebApplicationContext
18:46:41,843 INFO [STDOUT] 18:46:41,843 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
18:46:41,843 INFO [STDOUT] 18:46:41,843 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/xfire.xml]
18:46:41,843 INFO [STDOUT] 18:46:41,843 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/customEditors.xml]
18:46:42,250 INFO [STDOUT] 18:46:42,250 INFO [CollectionFactory] Commons Collections 3.x available
18:46:42,359 INFO [STDOUT] 18:46:42,359 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/xfire.xml]
18:46:42,359 INFO [STDOUT] 18:46:42,359 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/customEditors.xml]
18:46:42,375 INFO [STDOUT] 18:46:42,375 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.customEditorConfigurer': replacing [Root bean: class [org.springframework.beans.factory.config.CustomEditorConfigurer]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/customEditors.xml]] with [Root bean: class [org.springframework.beans.factory.config.CustomEditorConfigurer]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/customEditors.xml]]
18:46:42,375 INFO [STDOUT] 18:46:42,375 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.serviceRegistry': replacing [Root bean: class [org.codehaus.xfire.service.DefaultServiceRegistry]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.service.DefaultServiceRegistry]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,375 INFO [STDOUT] 18:46:42,375 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.transportManager': replacing [Root bean: class [org.codehaus.xfire.transport.DefaultTransportManager]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=initialize; destroyMethodName=dispose; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.transport.DefaultTransportManager]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=initialize; destroyMethodName=dispose; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,375 INFO [STDOUT] 18:46:42,375 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire': replacing [Root bean: class [org.codehaus.xfire.DefaultXFire]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.DefaultXFire]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,375 INFO [STDOUT] 18:46:42,375 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.typeMappingRegistry': replacing [Root bean: class [org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=createDefaultMappings; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=createDefaultMappings; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,375 INFO [STDOUT] 18:46:42,375 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.aegisBindingProvider': replacing [Root bean: class [org.codehaus.xfire.aegis.AegisBindingProvider]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.aegis.AegisBindingProvider]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,375 INFO [STDOUT] 18:46:42,375 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.serviceFactory': replacing [Root bean: class [org.codehaus.xfire.service.binding.ObjectServiceFactory]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.service.binding.ObjectServiceFactory]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,375 INFO [STDOUT] 18:46:42,375 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.servletController': replacing [Root bean: class [org.codehaus.xfire.transport.http.XFireServletController]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.transport.http.XFireServletController]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,375 INFO [STDOUT] 18:46:42,375 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.messageServiceFactory': replacing [Root bean: class [org.codehaus.xfire.service.binding.ObjectServiceFactory]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.service.binding.ObjectServiceFactory]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,375 INFO [STDOUT] 18:46:42,375 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.messageBindingProvider': replacing [Root bean: class [org.codehaus.xfire.service.binding.MessageBindingProvider]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.service.binding.MessageBindingProvider]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,375 INFO [STDOUT] 18:46:42,375 INFO [XmlWebApplicationContext] Bean factory for application context [Root WebApplicationContext]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [xfire.customEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,webAnnotations,handlerMapping,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping,profileService]; root of BeanFactory hierarchy
18:46:42,390 INFO [STDOUT] 18:46:42,390 INFO [XmlWebApplicationContext] 14 beans defined in application context [Root WebApplicationContext]
18:46:42,515 INFO [STDOUT] 18:46:42,515 INFO [XmlWebApplicationContext] Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@180feb]
18:46:42,515 INFO [STDOUT] 18:46:42,515 INFO [XmlWebApplicationContext] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@19e3f3d]
18:46:42,515 INFO [STDOUT] 18:46:42,515 INFO [UiApplicationContextUtils] Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.ResourceBundleThemeSource@a500c8]
18:46:42,515 INFO [STDOUT] 18:46:42,515 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [xfire.customEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,webAnnotations,handlerMapping,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping,profileService]; root of BeanFactory hierarchy]
18:46:42,828 INFO [STDOUT] 18:46:42,828 INFO [Jsr181HandlerMapping] Exposing service {http://service.spring.myservices.mycomp.com}MyWebService to /services/MyWebService
18:46:42,843 INFO [STDOUT] 18:46:42,843 INFO [ContextLoader] Using context class [org.springframework.web.context.support.XmlWebApplicationContext] for root WebApplicationContext
18:46:42,843 INFO [STDOUT] 18:46:42,843 INFO [ContextLoader] Root WebApplicationContext: initialization completed in 1062 ms
18:46:42,843 INFO [STDOUT] 18:46:42,843 INFO [ContextLoader] Root WebApplicationContext: initialization started
18:46:42,843 INFO [[/MyWebService]] Loading Spring root WebApplicationContext
18:46:42,843 INFO [STDOUT] 18:46:42,843 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
18:46:42,843 INFO [STDOUT] 18:46:42,843 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/xfire.xml]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/customEditors.xml]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/xfire.xml]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/customEditors.xml]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.customEditorConfigurer': replacing [Root bean: class [org.springframework.beans.factory.config.CustomEditorConfigurer]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/customEditors.xml]] with [Root bean: class [org.springframework.beans.factory.config.CustomEditorConfigurer]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/customEditors.xml]]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.serviceRegistry': replacing [Root bean: class [org.codehaus.xfire.service.DefaultServiceRegistry]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.service.DefaultServiceRegistry]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.transportManager': replacing [Root bean: class [org.codehaus.xfire.transport.DefaultTransportManager]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=initialize; destroyMethodName=dispose; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.transport.DefaultTransportManager]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=initialize; destroyMethodName=dispose; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire': replacing [Root bean: class [org.codehaus.xfire.DefaultXFire]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.DefaultXFire]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.typeMappingRegistry': replacing [Root bean: class [org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=createDefaultMappings; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=createDefaultMappings; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.aegisBindingProvider': replacing [Root bean: class [org.codehaus.xfire.aegis.AegisBindingProvider]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.aegis.AegisBindingProvider]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.serviceFactory': replacing [Root bean: class [org.codehaus.xfire.service.binding.ObjectServiceFactory]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.service.binding.ObjectServiceFactory]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.servletController': replacing [Root bean: class [org.codehaus.xfire.transport.http.XFireServletController]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.transport.http.XFireServletController]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.messageServiceFactory': replacing [Root bean: class [org.codehaus.xfire.service.binding.ObjectServiceFactory]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.service.binding.ObjectServiceFactory]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'xfire.messageBindingProvider': replacing [Root bean: class [org.codehaus.xfire.service.binding.MessageBindingProvider]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]] with [Root bean: class [org.codehaus.xfire.service.binding.MessageBindingProvider]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [org/codehaus/xfire/spring/xfire.xml]]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [XmlWebApplicationContext] Bean factory for application context [Root WebApplicationContext]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [xfire.customEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,webAnnotations,handlerMapping,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping,profileService]; root of BeanFactory hierarchy
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [XmlWebApplicationContext] 14 beans defined in application context [Root WebApplicationContext]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [XmlWebApplicationContext] Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@caaca5]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [XmlWebApplicationContext] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@c998f]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [UiApplicationContextUtils] Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.ResourceBundleThemeSource@135848a]
18:46:42,859 INFO [STDOUT] 18:46:42,859 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [xfire.customEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,webAnnotations,handlerMapping,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping,profileService]; root of BeanFactory hierarchy]
18:46:42,984 INFO [STDOUT] 18:46:42,984 INFO [Jsr181HandlerMapping] Exposing service {http://service.spring.myservices.mycomp.com}MyWebService to /services/MyWebService
18:46:42,984 INFO [STDOUT] 18:46:42,984 INFO [ContextLoader] Using context class [org.springframework.web.context.support.XmlWebApplicationContext] for root WebApplicationContext
18:46:42,984 INFO [STDOUT] 18:46:42,984 INFO [ContextLoader] Root WebApplicationContext: initialization completed in 141 ms
18:46:43,718 INFO [TomcatDeployment] deploy, ctxPath=/MyTestClientWebApp
18:46:45,578 INFO [TomcatDeployment] deploy, ctxPath=/
18:46:45,687 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
18:46:45,812 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
18:46:45,859 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
18:46:45,875 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 1m:49s:250ms
##################################
Exception during first call of WebService via browser with:
http://myservername.mydomain.org.8080/MyWebService/services/MyWebService?...
##################################
18:47:27,234 ERROR [[XFireServlet]] Servlet.service() for servlet XFireServlet threw exception
javax.servlet.ServletException: non-HTTP request or response
at javax.servlet.http.HttpServlet.service(HttpServlet.java:851)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
########################################################################################################################################
Does anyone has an idea, what goes wrong ?
Thanks and best regards.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239239#4239239
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239239
15 years, 6 months
[JBossWS] - Cannot find child element: parameters
by klowtherjr
Hi all,
I'm working with wsdl2java generated classes making an rpc call in JBoss 4.2.3 to a WSDL on another platform.
This seems to work fine until the response comes back to the client. The response comes back as follows.
| <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
| <soapenv:Body>
| <wmscr:SubmitPirepResponse xsi:schemaLocation="urn:faa:nas:wmscr:1:0 SubmitPirep.xsd" xmlns:aw="urn:faa:nas:swim:aviationwx:1:0" xmlns:swim="urn:bhmi:wmscr:swim:1:0" xmlns:wmscr="urn:faa:nas:wmscr:1:0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
| </soapenv:Body>
| </soapenv:Envelope>
|
My client errors out with the following message that I'll truncate to keep the post short(er):
Exception Stack Trace:javax.xml.ws.WebServiceException: org.jboss.ws.WSException: Cannot find child element: parameters
at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:404)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
... (truncated here)
Caused by: org.jboss.ws.WSException: Cannot find child element: parameters
at org.jboss.ws.core.CommonSOAPBinding.getParameterFromMessage(CommonSOAPBinding.java:917)
at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:634)
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:380)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
... 105 more
(truncated here as well)
This indicates to me that the response is not sending a tag when the client clearly expects it.
I can see a tag in the inbound request when the request gets to the web service. My question is where does the requirement for this tag come from (SOAP?, JAXB?).
I cannot find a mention of it anywhere in any of the specs I've been looking at. It's probably right in front of my face and I'm just not seeing it.
Thank you for any light you can shed on this issue.
Ken
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239188#4239188
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239188
15 years, 6 months