-
1. Re: JSR-181 Annotation Based UDDI Registration
jason.greene Nov 9, 2006 6:00 PM (in response to jgilbert)What type of service are you deploying (ejb3 or war)?
Is it bundled in your sar, or are you deploying it after the server starts?
Any possibility you could capture a stack trace of the deadlock? -
2. Re: JSR-181 Annotation Based UDDI Registration
jason.greene Nov 9, 2006 6:03 PM (in response to jgilbert)Also, you might be better off integrating with our deployer since it already analyzes the annotations.
All you would have to do is traverse our UnifiedMetaDataModel to get all the info you need.
-Jason -
3. Re: JSR-181 Annotation Based UDDI Registration
jgilbert Nov 10, 2006 10:31 AM (in response to jgilbert)I am already using UnifiedMetaDataModel. Very helpful. But I am still using 1.0.3, so it doesn't expose all the wsdl features like the code in trunk does.
I am deploying an ear with ejb3 SLSBs. All the ears are in the deploy dir when i start the server. i will experiment with adding them after the server has started, just to narrow down the problem.
i will also crank up the logging to see if i can get a stack. -
4. Re: JSR-181 Annotation Based UDDI Registration
jgilbert Nov 10, 2006 11:39 AM (in response to jgilbert)Ok, no big surprise. When I deploy an ear after the server has started then is works great. The jaxr calls work no problem.
Here is a trace of everything that happens in the deployer when the ear is in the deploy dir before startup. I hangs at HTTPClientInvoker.11:27:30,870 INFO [DeployerInterceptorJaxr] create() org.jboss.deployment.DeploymentInfo@24cb8d64 { url=file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/tmp5891payment-authorizer-app-0.0.1-SNAPSHOT.ear-contents/payment-authorizer-0.0.1-SNAPSHOT.jar } deployer: MBeanProxyExt[jboss.ejb3:service=EJB3Deployer] status: null state: CREATE_DEPLOYER watch: file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/tmp5891payment-authorizer-app-0.0.1-SNAPSHOT.ear-contents/payment-authorizer-0.0.1-SNAPSHOT.jar altDD: null lastDeployed: 1163176050542 lastModified: 1163176048511 mbeans: 11:27:30,917 DEBUG [DeployerInterceptorEJB3] create: file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/tmp5891payment-authorizer-app-0.0.1-SNAPSHOT.ear-contents/payment-authorizer-0.0.1-SNAPSHOT.jar 11:27:30,917 DEBUG [EJB3Deployer] create, payment-authorizer-0.0.1-SNAPSHOT.jar 11:27:30,964 DEBUG [EJB3Deployer] Deploying: file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/tmp5891payment-authorizer-app-0.0.1-SNAPSHOT.ear-contents/payment-authorizer-0.0.1-SNAPSHOT.jar 11:27:30,964 DEBUG [ServiceController] Creating service jboss.j2ee:service=EJB3,module=payment-authorizer-0.0.1-SNAPSHOT.jar 11:27:30,964 DEBUG [Ejb3Module] Creating jboss.j2ee:service=EJB3,module=payment-authorizer-0.0.1-SNAPSHOT.jar 11:27:30,964 DEBUG [JaccHelper] Initialising JACC Context for deployment: payment-authorizer-0.0.1-SNAPSHOT.jar 11:27:31,026 DEBUG [EjbJarDDObjectFactory] found ejb-jar.xml jar:file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/tmp5891payment-authorizer-app-0.0.1-SNAPSHOT.ear-contents/payment-authorizer-0.0.1-SNAPSHOT.jar!/META-INF/ejb-jar.xml 11:27:31,120 WARN [JBossEntityResolver] Cannot load systemId from resource: javaee_web_services_client_1_2.xsd 11:27:31,683 DEBUG [JBossDDObjectFactory] found jboss.xml jar:file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/tmp5891payment-authorizer-app-0.0.1-SNAPSHOT.ear-contents/payment-authorizer-0.0.1-SNAPSHOT.jar!/META-INF/jboss.xml 11:27:32,323 WARN [JBossEntityResolver] Cannot load systemId from resource: javaee_web_services_client_1_2.xsd 11:27:32,433 WARN [UDP] discarded message from different group (portal.hibernate). Sender was JGILBERT2XP:1092 11:27:32,839 DEBUG [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to net.pay.authorization.process.PaymentAuthorizationProcessMDB org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@1a1ad24 11:27:32,855 DEBUG [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to net.pay.authorization.process.PaymentAuthorizationProcessMDB org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@1a1ad24 11:27:32,855 DEBUG [Ejb3AnnotationHandler] found EJB3: ejbName=PaymentAuthorizationProcessMDB, class=net.pay.authorization.process.PaymentAuthorizationProcessMDB, type=MESSAGE_DRIVEN 11:27:32,901 DEBUG [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to net.pay.authorization.service.AuthorizationCallbackServiceAdapterBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@14cab63 11:27:32,901 DEBUG [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to net.pay.authorization.service.AuthorizationCallbackServiceAdapterBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@14cab63 11:27:32,901 DEBUG [Ejb3AnnotationHandler] found EJB3: ejbName=AuthorizationCallbackServiceAdapterBean, class=net.pay.authorization.service.AuthorizationCallbackServiceAdapterBean, type=STATELESS 11:27:32,933 DEBUG [ProxyDeployer] no declared remote bindings for : AuthorizationCallbackServiceAdapterBean 11:27:32,964 DEBUG [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to net.pay.authorization.service.AuthorizationCallbackServiceMockBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@6d0362 11:27:32,964 DEBUG [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to net.pay.authorization.service.AuthorizationCallbackServiceMockBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@6d0362 11:27:32,964 DEBUG [Ejb3AnnotationHandler] found EJB3: ejbName=AuthorizationCallbackServiceMockBean, class=net.pay.authorization.service.AuthorizationCallbackServiceMockBean, type=STATELESS 11:27:33,011 DEBUG [ProxyDeployer] no declared remote bindings for : AuthorizationCallbackServiceMockBean 11:27:33,011 DEBUG [ProxyDeployer] there is remote interfaces for AuthorizationCallbackServiceMockBean 11:27:33,011 DEBUG [ProxyDeployer] default remote binding has jndiName of payment-authorizer-app-0.0.1-SNAPSHOT/AuthorizationCallbackServiceMockBean/remote 11:27:33,026 DEBUG [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to net.pay.authorization.service.AuthorizationServiceBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@365dc0 11:27:33,026 DEBUG [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to net.pay.authorization.service.AuthorizationServiceBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@365dc0 11:27:33,026 DEBUG [Ejb3AnnotationHandler] found EJB3: ejbName=AuthorizationServiceBean, class=net.pay.authorization.service.AuthorizationServiceBean, type=STATELESS 11:27:33,026 DEBUG [ProxyDeployer] no declared remote bindings for : AuthorizationServiceBean 11:27:33,026 DEBUG [ProxyDeployer] there is remote interfaces for AuthorizationServiceBean 11:27:33,026 DEBUG [ProxyDeployer] default remote binding has jndiName of payment-authorizer-app-0.0.1-SNAPSHOT/AuthorizationServiceBean/remote 11:27:33,058 INFO [Ejb3Deployment] EJB3 deployment time took: 2094 11:27:33,058 DEBUG [Ejb3Module] Created jboss.j2ee:service=EJB3,module=payment-authorizer-0.0.1-SNAPSHOT.jar 11:27:33,058 DEBUG [ServiceController] Creating dependent components for: jboss.j2ee:service=EJB3,module=payment-authorizer-0.0.1-SNAPSHOT.jar dependents are: [] 11:27:33,058 DEBUG [ServiceEndpointDeployer] create: file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/tmp5891payment-authorizer-app-0.0.1-SNAPSHOT.ear-contents/payment-authorizer-0.0.1-SNAPSHOT.jar 11:27:33,073 DEBUG [JSR181MetaDataBuilderEJB3] START buildMetaData: [name=payment-authorizer-app-0.0.1-SNAPSHOT.ear/payment-authorizer-0.0.1-SNAPSHOT.jar] 11:27:33,276 DEBUG [JavaToWSDL] generate [endpoint=net.pay.authorization.service.AuthorizationCallbackServiceMockBean,tnsURI=null,service=null,portType=null] 11:27:33,276 DEBUG [JavaToWSDL11] Creating JavaToWSDL11 instance 11:27:33,323 DEBUG [WSDLInterface] new WSDLInterface 11:27:33,323 DEBUG [WSDLInterface] setName: AuthorizationCallbackService 11:27:33,339 DEBUG [WSDLBinding] new WSDLBinding 11:27:33,339 DEBUG [WSDLBinding] setName: AuthorizationCallbackServiceBinding 11:27:33,339 DEBUG [WSDLBinding] setInterfaceName: AuthorizationCallbackServiceBinding 11:27:33,386 DEBUG [JavaToWSDL] <?xml version="1.0" encoding="UTF-8"?> <definitions name='AuthorizationCallbackService' targetNamespace='http://service.authorization.pay.net/jaws' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://service.authorization.pay.net/jaws' xmlns:xsd='http://www.w3.org/2001/XMLSchema'> <types/> <message name='AuthorizationCallbackService_authorizationResponse'> <part name='paymentId' type='xsd:long'/> <part name='status' type='xsd:boolean'/> </message> <message name='AuthorizationCallbackService_authorizationResponseResponse'/> <portType name='AuthorizationCallbackService'> <operation name='authorizationResponse' parameterOrder='paymentId status'> <input message='tns:AuthorizationCallbackService_authorizationResponse'/> <output message='tns:AuthorizationCallbackService_authorizationResponseResponse'/> </operation> </portType> <binding name='AuthorizationCallbackServiceBinding' type='tns:AuthorizationCallbackService'> <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/> <operation name='authorizationResponse'> <soap:operation soapAction=''/> <input> <soap:body namespace='http://service.authorization.pay.net/jaws' use='literal'/> </input> <output> <soap:body namespace='http://service.authorization.pay.net/jaws' use='literal'/> </output> </operation> </binding> <service name='AuthorizationCallbackService'> <port binding='tns:AuthorizationCallbackServiceBinding' name='AuthorizationCallbackServicePort'> <soap:address location='REPLACE_WITH_ACTUAL_URL'/> </port> </service> </definitions> 11:27:33,480 DEBUG [WSDLDefinitionsFactory] parse: file:/C:/jboss-4.0.4.GA/server/all/tmp/jbossws/AuthorizationCallbackService5892.wsdl 11:27:33,698 DEBUG [WSDLInterface] new WSDLInterface 11:27:33,698 DEBUG [WSDLInterface] setName: AuthorizationCallbackService 11:27:33,698 DEBUG [WSDLInterface] setQName: {http://service.authorization.pay.net/jaws}AuthorizationCallbackService 11:27:33,698 DEBUG [WSDLBinding] new WSDLBinding 11:27:33,698 DEBUG [WSDLBinding] setQName: {http://service.authorization.pay.net/jaws}AuthorizationCallbackServiceBinding 11:27:33,698 DEBUG [WSDLBinding] setName: AuthorizationCallbackServiceBinding 11:27:33,698 DEBUG [WSDLBinding] setInterfaceName: AuthorizationCallbackServiceBinding 11:27:33,698 DEBUG [AbstractMetaDataBuilder] Replace service endpoint address 'REPLACE_WITH_ACTUAL_URL' with 'http://JGILBERT2XP:8080/payment-authorizer-0/AuthorizationCallbackServiceMockBean' 11:27:33,714 DEBUG [JavaToWSDL] generate [endpoint=net.pay.authorization.service.AuthorizationServiceBean,tnsURI=null,service=null,portType=null] 11:27:33,714 DEBUG [JavaToWSDL11] Creating JavaToWSDL11 instance 11:27:33,714 DEBUG [WSDLInterface] new WSDLInterface 11:27:33,714 DEBUG [WSDLInterface] setName: AuthorizationService 11:27:33,714 DEBUG [WSDLBinding] new WSDLBinding 11:27:33,714 DEBUG [WSDLBinding] setName: AuthorizationServiceBinding 11:27:33,730 DEBUG [WSDLBinding] setInterfaceName: AuthorizationServiceBinding 11:27:33,730 DEBUG [JavaToWSDL] <?xml version="1.0" encoding="UTF-8"?> <definitions name='AuthorizationService' targetNamespace='http://service.authorization.pay.net/jaws' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://service.authorization.pay.net/jaws' xmlns:xsd='http://www.w3.org/2001/XMLSchema'> <types/> <message name='AuthorizationService_authorize'> <part name='paymentId' type='xsd:long'/> <part name='amount' type='xsd:double'/> <part name='creditCardNumber' type='xsd:string'/> </message> <message name='AuthorizationService_authorizeResponse'/> <portType name='AuthorizationService'> <operation name='authorize' parameterOrder='paymentId amount creditCardNumber'> <input message='tns:AuthorizationService_authorize'/> <output message='tns:AuthorizationService_authorizeResponse'/> </operation> </portType> <binding name='AuthorizationServiceBinding' type='tns:AuthorizationService'> <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/> <operation name='authorize'> <soap:operation soapAction=''/> <input> <soap:body namespace='http://service.authorization.pay.net/jaws' use='literal'/> </input> <output> <soap:body namespace='http://service.authorization.pay.net/jaws' use='literal'/> </output> </operation> </binding> <service name='AuthorizationService'> <port binding='tns:AuthorizationServiceBinding' name='AuthorizationServicePort'> <soap:address location='REPLACE_WITH_ACTUAL_URL'/> </port> </service> </definitions> 11:27:33,839 DEBUG [WSDLDefinitionsFactory] parse: file:/C:/jboss-4.0.4.GA/server/all/tmp/jbossws/AuthorizationService5893.wsdl 11:27:33,839 DEBUG [WSDLInterface] new WSDLInterface 11:27:33,839 DEBUG [WSDLInterface] setName: AuthorizationService 11:27:33,839 DEBUG [WSDLInterface] setQName: {http://service.authorization.pay.net/jaws}AuthorizationService 11:27:33,839 DEBUG [WSDLBinding] new WSDLBinding 11:27:33,855 DEBUG [WSDLBinding] setQName: {http://service.authorization.pay.net/jaws}AuthorizationServiceBinding 11:27:33,855 DEBUG [WSDLBinding] setName: AuthorizationServiceBinding 11:27:33,855 DEBUG [WSDLBinding] setInterfaceName: AuthorizationServiceBinding 11:27:33,870 DEBUG [AbstractMetaDataBuilder] Replace service endpoint address 'REPLACE_WITH_ACTUAL_URL' with 'http://JGILBERT2XP:8080/payment-authorizer-0/AuthorizationServiceBean' 11:27:33,870 DEBUG [ServerEndpointMetaData] getEndpointConfig: [name=Standard Endpoint,url=META-INF/standard-jbossws-endpoint-config.xml] 11:27:33,870 DEBUG [WSConfigFactory] parse: jar:file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/tmp5840jbossws.sar!/META-INF/standard-jbossws-endpoint-config.xml 11:27:33,886 DEBUG [ServerEndpointMetaData] getEndpointConfig: [name=Standard Endpoint,url=META-INF/standard-jbossws-endpoint-config.xml] 11:27:33,886 DEBUG [WSConfigFactory] parse: jar:file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/tmp5840jbossws.sar!/META-INF/standard-jbossws-endpoint-config.xml 11:27:33,886 DEBUG [JSR181MetaDataBuilderEJB3] END buildMetaData: UnifiedMetaData: securityDomain: portal ServiceMetaData: name={http://service.authorization.pay.net/jaws}AuthorizationCallbackService wsdName=null wsdlFile=file:/C:/jboss-4.0.4.GA/server/all/tmp/jbossws/AuthorizationCallbackService5892.wsdl jaxrpcFile=AuthorizationCallbackService-annotation-generated publishLocation=null properties=null TypesMetaData: [complexType={http://www.w3.org/2001/XMLSchema}long,javaType=java.lang.Long] [complexType={http://www.w3.org/2001/XMLSchema}boolean,javaType=java.lang.Boolean] ServerEndpointMetaData: name={http://service.authorization.pay.net/jaws}AuthorizationCallbackServicePort id=jboss.ws:context=payment-authorizer-0,endpoint=AuthorizationCallbackServiceMockBean address=http://JGILBERT2XP:8080/payment-authorizer-0/AuthorizationCallbackServiceMockBean linkName=AuthorizationCallbackServiceMockBean implName=net.pay.authorization.service.AuthorizationCallbackServiceMockBean seiName=net.pay.authorization.service.AuthorizationCallbackServiceMockBean annotated=true portComponentName=null contextRoot=/payment-authorizer-0 urlPattern=/AuthorizationCallbackServiceMockBean configFile=null configName=null authMethod=BASIC transportGuarantee=NONE properties=null OperationMetaData: xmlName={http://service.authorization.pay.net/jaws}authorizationResponse javaName=authorizationResponse style=rpc/literal oneWay=false soapAction= ParameterMetaData: xmlName=paymentId xmlType={http://www.w3.org/2001/XMLSchema}long javaType=java.lang.Long mode=IN inHeader=false ParameterMetaData: xmlName=status xmlType={http://www.w3.org/2001/XMLSchema}boolean javaType=java.lang.Boolean mode=IN inHeader=false HandlerMetaData: name= class=org.jboss.ws.wsse.WSSecurityHandlerInbound params=[] headers=[] roles=[] ports=[] HandlerMetaData: name= class=org.jboss.ws.addressing.soap.SOAPServerHandler params=[] headers=[] roles=[] ports=[] HandlerMetaData: name= class=net.taylor.event.wsa.ServerAsyncCallbackHandler params=[] headers=[] roles=[] ports=[] ServiceMetaData: name={http://service.authorization.pay.net/jaws}AuthorizationService wsdName=null wsdlFile=file:/C:/jboss-4.0.4.GA/server/all/tmp/jbossws/AuthorizationService5893.wsdl jaxrpcFile=AuthorizationService-annotation-generated publishLocation=null properties=null TypesMetaData: [complexType={http://www.w3.org/2001/XMLSchema}long,javaType=java.lang.Long] [complexType={http://www.w3.org/2001/XMLSchema}double,javaType=java.lang.Double] [complexType={http://www.w3.org/2001/XMLSchema}string,javaType=java.lang.String] ServerEndpointMetaData: name={http://service.authorization.pay.net/jaws}AuthorizationServicePort id=jboss.ws:context=payment-authorizer-0,endpoint=AuthorizationServiceBean address=http://JGILBERT2XP:8080/payment-authorizer-0/AuthorizationServiceBean linkName=AuthorizationServiceBean implName=net.pay.authorization.service.AuthorizationServiceBean seiName=net.pay.authorization.service.AuthorizationServiceBean annotated=true portComponentName=null contextRoot=/payment-authorizer-0 urlPattern=/AuthorizationServiceBean configFile=null configName=null authMethod=BASIC transportGuarantee=NONE properties=null OperationMetaData: xmlName={http://service.authorization.pay.net/jaws}authorize javaName=authorize style=rpc/literal oneWay=false soapAction= ParameterMetaData: xmlName=paymentId xmlType={http://www.w3.org/2001/XMLSchema}long javaType=java.lang.Long mode=IN inHeader=false ParameterMetaData: xmlName=amount xmlType={http://www.w3.org/2001/XMLSchema}double javaType=java.lang.Double mode=IN inHeader=false ParameterMetaData: xmlName=creditCardNumber xmlType={http://www.w3.org/2001/XMLSchema}string javaType=java.lang.String mode=IN inHeader=false HandlerMetaData: name= class=org.jboss.ws.wsse.WSSecurityHandlerInbound params=[] headers=[] roles=[] ports=[] HandlerMetaData: name= class=org.jboss.ws.addressing.soap.SOAPServerHandler params=[] headers=[] roles=[] ports=[] HandlerMetaData: name= class=net.taylor.event.wsa.ServerAsyncRequestHandler params=[] headers=[] roles=[] ports=[] 11:27:34,230 DEBUG [ServiceEndpointManager] WebService created: jboss.ws:context=payment-authorizer-0,endpoint=AuthorizationCallbackServiceMockBean 11:27:34,230 DEBUG [ServiceEndpointManager] WebService created: jboss.ws:context=payment-authorizer-0,endpoint=AuthorizationServiceBean 11:27:34,276 DEBUG [MainDeployer] Starting deployment of package: file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/ 11:27:34,276 DEBUG [MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/ 11:27:34,276 DEBUG [MainDeployer] using deployer MBeanProxyExt[jboss.web:service=WebServer] 11:27:34,276 DEBUG [Tomcat5] Begin init 11:27:34,276 DEBUG [Tomcat5] webContext: null 11:27:34,276 DEBUG [Tomcat5] warURL: file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/ 11:27:34,276 DEBUG [Tomcat5] End init 11:27:34,276 DEBUG [DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null) 11:27:34,276 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@12a3722, cl=org.jboss.mx.loading.UnifiedClassLoader3@11dda2d{ url=file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/ ,addedOrder=0} 11:27:34,276 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@12a3722, cl=org.jboss.mx.loading.UnifiedClassLoader3@11dda2d{ url=file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/ ,addedOrder=0} 11:27:34,276 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@11dda2d{ url=file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/ ,addedOrder=0} 11:27:34,292 DEBUG [MainDeployer] found 0 subpackages of file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/ 11:27:34,292 DEBUG [MainDeployer] create step for deployment file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/ 11:27:34,292 DEBUG [DeployerInterceptorJSE] create: file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/ 11:27:34,292 DEBUG [Tomcat5] create, payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war 11:27:34,308 DEBUG [ServiceController] Creating service jboss.web.deployment:war=payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war,id=479457557 11:27:34,308 DEBUG [ServiceController] adding depends in ServiceController.register: [] 11:27:34,308 DEBUG [WebModule] Creating jboss.web.deployment:war=payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war,id=479457557 11:27:34,308 DEBUG [WebModule] Created jboss.web.deployment:war=payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war,id=479457557 11:27:34,308 DEBUG [ServiceController] Creating dependent components for: jboss.web.deployment:war=payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war,id=479457557 dependents are: [] 11:27:34,323 WARN [UDP] discarded message from different group (TreeCache-Group). Sender was JGILBERT2XP:1089 11:27:34,323 DEBUG [MainDeployer] Done with create step of deploying payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war 11:27:34,323 DEBUG [MainDeployer] Begin deployment start file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/ 11:27:34,323 DEBUG [DeployerInterceptorJSE] start: file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/ 11:27:34,323 DEBUG [ServiceController] starting service jboss.web.deployment:war=payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war,id=479457557 11:27:34,323 DEBUG [WebModule] Starting jboss.web.deployment:war=payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war,id=479457557 11:27:34,339 DEBUG [TomcatDeployer] webContext: null 11:27:34,339 DEBUG [TomcatDeployer] warURL: file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/ 11:27:34,339 DEBUG [TomcatDeployer] webAppParser: org.jboss.web.AbstractWebDeployer$DescriptorParser@164ad98 11:27:34,339 DEBUG [WebPermissionMapping] Qualified url patterns: {/=PatternInfo[pattern=/,type=3,isOverriden=false,qualifiers=[PatternInfo[pattern=/AuthorizationServiceBean,type=4,isOverriden=false,qualifiers=[]], PatternInfo[pattern=/AuthorizationCallbackServiceMockBean,type=4,isOverriden=false,qualifiers=[]]]], /AuthorizationServiceBean=PatternInfo[pattern=/AuthorizationServiceBean,type=4,isOverriden=false,qualifiers=[]], /AuthorizationCallbackServiceMockBean=PatternInfo[pattern=/AuthorizationCallbackServiceMockBean,type=4,isOverriden=false,qualifiers=[]]} 11:27:34,355 INFO [TomcatDeployer] deploy, ctxPath=/payment-authorizer-0, warUrl=.../tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/ 11:27:34,355 DEBUG [TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, Begin 11:27:34,370 DEBUG [TomcatDeployer] Creating ENC using ClassLoader: java.net.FactoryURLClassLoader@9d52ac 11:27:34,370 DEBUG [TomcatDeployer] ..org.jboss.mx.loading.UnifiedClassLoader3@11dda2d{ url=file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/ ,addedOrder=70} 11:27:34,370 DEBUG [TomcatDeployer] ..org.jboss.system.server.NoAnnotationURLClassLoader@ab95e6 11:27:34,370 DEBUG [TomcatDeployer] ..sun.misc.Launcher$AppClassLoader@a39137 11:27:34,370 DEBUG [TomcatDeployer] ..sun.misc.Launcher$ExtClassLoader@92e78c 11:27:34,370 DEBUG [TomcatDeployer] Bound java:comp/ORB 11:27:34,370 DEBUG [TomcatDeployer] Linked java:comp/UserTransaction to JNDI name: UserTransaction 11:27:34,370 DEBUG [TomcatDeployer] addEnvEntries 11:27:34,386 DEBUG [TomcatDeployer] linkResourceEnvRefs 11:27:34,386 DEBUG [TomcatDeployer] linkResourceRefs 11:27:34,386 DEBUG [TomcatDeployer] linkMessageDestinationRefs 11:27:34,401 DEBUG [TomcatDeployer] linkEjbRefs 11:27:34,401 DEBUG [TomcatDeployer] linkEjbLocalRefs 11:27:34,401 DEBUG [TomcatDeployer] linkServiceRefs 11:27:34,401 DEBUG [TomcatDeployer] linkSecurityDomain 11:27:34,401 DEBUG [TomcatDeployer] Linking security/securityMgr to JNDI name: java:/jaas/portal 11:27:34,401 DEBUG [TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, End 11:27:34,480 DEBUG [TomcatDeployer] Using session cookies default setting 11:27:34,558 DEBUG [ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5' 11:27:34,589 DEBUG [TomcatDeployer] Initialized: {WebApplication: /C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/, URL: file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/, classLoader: java.net.FactoryURLClassLoader@9d52ac:10310316} jboss.web:j2eeType=WebModule,name=//localhost/payment-authorizer-0,J2EEApplication=none,J2EEServer=none 11:27:34,589 DEBUG [WebModule] Started jboss.web.deployment:war=payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war,id=479457557 11:27:34,589 DEBUG [ServiceController] Starting dependent components for: jboss.web.deployment:war=payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war,id=479457557 dependent components: [] 11:27:34,589 DEBUG [WebAppAdapter] Seen URL file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/ about to deploy 11:27:34,589 DEBUG [ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5' 11:27:34,589 DEBUG [PortalWebTomcat5App] RunAsListener detected 11:27:34,589 DEBUG [PortalWebTomcat5App] RunAsListener detected 11:27:34,589 DEBUG [MainDeployer] Starting deployment of package: file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ 11:27:34,589 DEBUG [MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ 11:27:34,589 DEBUG [MainDeployer] using existing deployer org.jboss.portal.server.deployment.jboss.ServerDeployer@1cd846c 11:27:34,605 DEBUG [ServerDeployer] Trying factory LayoutDeploymentFactory to accept dir file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ 11:27:34,605 DEBUG [ServerDeployer] Factory LayoutDeploymentFactory accepted dir file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ 11:27:34,605 DEBUG [ServerDeployer] Trying factory LayoutDeploymentFactory to accept file file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/jboss-web.xml 11:27:34,605 DEBUG [ServerDeployer] Trying factory LayoutDeploymentFactory to accept file file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/web.xml 11:27:34,605 DEBUG [ServerDeployer] Trying factory LayoutDeploymentFactory to accept file file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/web.xml.org 11:27:34,605 DEBUG [ServerDeployer] Trying factory PortletAppDeploymentFactory to accept dir file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ 11:27:34,605 DEBUG [ServerDeployer] Factory PortletAppDeploymentFactory accepted dir file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ 11:27:34,620 DEBUG [ServerDeployer] Trying factory PortletAppDeploymentFactory to accept file file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/jboss-web.xml 11:27:34,620 DEBUG [ServerDeployer] Trying factory PortletAppDeploymentFactory to accept file file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/web.xml 11:27:34,620 DEBUG [ServerDeployer] Trying factory PortletAppDeploymentFactory to accept file file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/web.xml.org 11:27:34,636 DEBUG [ServerDeployer] Trying factory ObjectDeploymentFactory to accept dir file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ 11:27:34,636 DEBUG [ServerDeployer] Factory ObjectDeploymentFactory accepted dir file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ 11:27:34,636 DEBUG [ServerDeployer] Trying factory ObjectDeploymentFactory to accept file file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/jboss-web.xml 11:27:34,636 DEBUG [ServerDeployer] Trying factory ObjectDeploymentFactory to accept file file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/web.xml 11:27:34,636 DEBUG [ServerDeployer] Trying factory ObjectDeploymentFactory to accept file file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/web.xml.org 11:27:34,636 DEBUG [ServerDeployer] Trying factory ThemeDeploymentFactory to accept dir file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ 11:27:34,651 DEBUG [ServerDeployer] Factory ThemeDeploymentFactory accepted dir file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ 11:27:34,651 DEBUG [ServerDeployer] Trying factory ThemeDeploymentFactory to accept file file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/jboss-web.xml 11:27:34,651 DEBUG [ServerDeployer] Trying factory ThemeDeploymentFactory to accept file file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/web.xml 11:27:34,667 DEBUG [ServerDeployer] Trying factory ThemeDeploymentFactory to accept file file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/web.xml.org 11:27:34,667 DEBUG [ServerDeployer] Trying factory LayoutFeaturesDeploymentFactory to accept dir file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ 11:27:34,667 DEBUG [ServerDeployer] Factory LayoutFeaturesDeploymentFactory accepted dir file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ 11:27:34,667 DEBUG [ServerDeployer] Trying factory LayoutFeaturesDeploymentFactory to accept file file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/jboss-web.xml 11:27:34,667 DEBUG [ServerDeployer] Trying factory LayoutFeaturesDeploymentFactory to accept file file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/web.xml 11:27:34,667 DEBUG [ServerDeployer] Trying factory LayoutFeaturesDeploymentFactory to accept file file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/web.xml.org 11:27:34,683 DEBUG [DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null) 11:27:34,683 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@12a3722, cl=org.jboss.mx.loading.UnifiedClassLoader3@40f2f1{ url=file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ ,addedOrder=0} 11:27:34,683 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@12a3722, cl=org.jboss.mx.loading.UnifiedClassLoader3@40f2f1{ url=file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ ,addedOrder=0} 11:27:34,683 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@40f2f1{ url=file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ ,addedOrder=0} 11:27:34,683 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: 11:27:34,698 DEBUG [MainDeployer] found 0 subpackages of file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ 11:27:34,698 DEBUG [MainDeployer] create step for deployment file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ 11:27:34,698 DEBUG [MainDeployer] Done with create step of deploying WEB-INF 11:27:34,698 DEBUG [MainDeployer] Begin deployment start file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ 11:27:34,714 DEBUG [MainDeployer] End deployment start on package: WEB-INF 11:27:34,714 DEBUG [MainDeployer] Deployed package: file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/WEB-INF/ 11:27:34,714 DEBUG [MainDeployer] End deployment start on package: payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war 11:27:34,714 DEBUG [MainDeployer] Deployed package: file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/payment-authorizer-app-0.0.1-SNAPSHOT.ear-payment-authorizer-0.0.1-SNAPSHOT.jar-ws5894.war/ 11:27:34,714 DEBUG [JSR181MetaDataBuilderEJB3] START buildMetaData: [name=payment-authorizer-app-0.0.1-SNAPSHOT.ear/payment-authorizer-0.0.1-SNAPSHOT.jar] 11:27:34,730 DEBUG [JavaToWSDL] generate [endpoint=net.pay.authorization.service.AuthorizationCallbackServiceMockBean,tnsURI=null,service=null,portType=null] 11:27:34,730 DEBUG [JavaToWSDL11] Creating JavaToWSDL11 instance 11:27:34,730 DEBUG [WSDLInterface] new WSDLInterface 11:27:34,745 DEBUG [WSDLInterface] setName: AuthorizationCallbackService 11:27:34,745 DEBUG [WSDLBinding] new WSDLBinding 11:27:34,745 DEBUG [WSDLBinding] setName: AuthorizationCallbackServiceBinding 11:27:34,745 DEBUG [WSDLBinding] setInterfaceName: AuthorizationCallbackServiceBinding 11:27:34,745 DEBUG [JavaToWSDL] <?xml version="1.0" encoding="UTF-8"?> <definitions name='AuthorizationCallbackService' targetNamespace='http://service.authorization.pay.net/jaws' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://service.authorization.pay.net/jaws' xmlns:xsd='http://www.w3.org/2001/XMLSchema'> <types/> <message name='AuthorizationCallbackService_authorizationResponse'> <part name='paymentId' type='xsd:long'/> <part name='status' type='xsd:boolean'/> </message> <message name='AuthorizationCallbackService_authorizationResponseResponse'/> <portType name='AuthorizationCallbackService'> <operation name='authorizationResponse' parameterOrder='paymentId status'> <input message='tns:AuthorizationCallbackService_authorizationResponse'/> <output message='tns:AuthorizationCallbackService_authorizationResponseResponse'/> </operation> </portType> <binding name='AuthorizationCallbackServiceBinding' type='tns:AuthorizationCallbackService'> <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/> <operation name='authorizationResponse'> <soap:operation soapAction=''/> <input> <soap:body namespace='http://service.authorization.pay.net/jaws' use='literal'/> </input> <output> <soap:body namespace='http://service.authorization.pay.net/jaws' use='literal'/> </output> </operation> </binding> <service name='AuthorizationCallbackService'> <port binding='tns:AuthorizationCallbackServiceBinding' name='AuthorizationCallbackServicePort'> <soap:address location='REPLACE_WITH_ACTUAL_URL'/> </port> </service> </definitions> 11:27:34,855 DEBUG [WSDLDefinitionsFactory] parse: file:/C:/jboss-4.0.4.GA/server/all/tmp/jbossws/AuthorizationCallbackService5895.wsdl 11:27:34,855 DEBUG [WSDLInterface] new WSDLInterface 11:27:34,855 DEBUG [WSDLInterface] setName: AuthorizationCallbackService 11:27:34,855 DEBUG [WSDLInterface] setQName: {http://service.authorization.pay.net/jaws}AuthorizationCallbackService 11:27:34,855 DEBUG [WSDLBinding] new WSDLBinding 11:27:34,870 DEBUG [WSDLBinding] setQName: {http://service.authorization.pay.net/jaws}AuthorizationCallbackServiceBinding 11:27:34,870 DEBUG [WSDLBinding] setName: AuthorizationCallbackServiceBinding 11:27:34,870 DEBUG [WSDLBinding] setInterfaceName: AuthorizationCallbackServiceBinding 11:27:34,870 DEBUG [AbstractMetaDataBuilder] Replace service endpoint address 'REPLACE_WITH_ACTUAL_URL' with 'http://JGILBERT2XP:8080/payment-authorizer-0/AuthorizationCallbackServiceMockBean' 11:27:34,886 DEBUG [JavaToWSDL] generate [endpoint=net.pay.authorization.service.AuthorizationServiceBean,tnsURI=null,service=null,portType=null] 11:27:34,886 DEBUG [JavaToWSDL11] Creating JavaToWSDL11 instance 11:27:34,886 DEBUG [WSDLInterface] new WSDLInterface 11:27:34,886 DEBUG [WSDLInterface] setName: AuthorizationService 11:27:34,886 DEBUG [WSDLBinding] new WSDLBinding 11:27:34,901 DEBUG [WSDLBinding] setName: AuthorizationServiceBinding 11:27:34,901 DEBUG [WSDLBinding] setInterfaceName: AuthorizationServiceBinding 11:27:34,901 DEBUG [JavaToWSDL] <?xml version="1.0" encoding="UTF-8"?> <definitions name='AuthorizationService' targetNamespace='http://service.authorization.pay.net/jaws' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://service.authorization.pay.net/jaws' xmlns:xsd='http://www.w3.org/2001/XMLSchema'> <types/> <message name='AuthorizationService_authorize'> <part name='paymentId' type='xsd:long'/> <part name='amount' type='xsd:double'/> <part name='creditCardNumber' type='xsd:string'/> </message> <message name='AuthorizationService_authorizeResponse'/> <portType name='AuthorizationService'> <operation name='authorize' parameterOrder='paymentId amount creditCardNumber'> <input message='tns:AuthorizationService_authorize'/> <output message='tns:AuthorizationService_authorizeResponse'/> </operation> </portType> <binding name='AuthorizationServiceBinding' type='tns:AuthorizationService'> <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/> <operation name='authorize'> <soap:operation soapAction=''/> <input> <soap:body namespace='http://service.authorization.pay.net/jaws' use='literal'/> </input> <output> <soap:body namespace='http://service.authorization.pay.net/jaws' use='literal'/> </output> </operation> </binding> <service name='AuthorizationService'> <port binding='tns:AuthorizationServiceBinding' name='AuthorizationServicePort'> <soap:address location='REPLACE_WITH_ACTUAL_URL'/> </port> </service> </definitions> 11:27:35,011 DEBUG [WSDLDefinitionsFactory] parse: file:/C:/jboss-4.0.4.GA/server/all/tmp/jbossws/AuthorizationService5896.wsdl 11:27:35,011 DEBUG [WSDLInterface] new WSDLInterface 11:27:35,011 DEBUG [WSDLInterface] setName: AuthorizationService 11:27:35,011 DEBUG [WSDLInterface] setQName: {http://service.authorization.pay.net/jaws}AuthorizationService 11:27:35,026 DEBUG [WSDLBinding] new WSDLBinding 11:27:35,026 DEBUG [WSDLBinding] setQName: {http://service.authorization.pay.net/jaws}AuthorizationServiceBinding 11:27:35,026 DEBUG [WSDLBinding] setName: AuthorizationServiceBinding 11:27:35,042 DEBUG [WSDLBinding] setInterfaceName: AuthorizationServiceBinding 11:27:35,042 DEBUG [AbstractMetaDataBuilder] Replace service endpoint address 'REPLACE_WITH_ACTUAL_URL' with 'http://JGILBERT2XP:8080/payment-authorizer-0/AuthorizationServiceBean' 11:27:35,042 DEBUG [ServerEndpointMetaData] getEndpointConfig: [name=Standard Endpoint,url=META-INF/standard-jbossws-endpoint-config.xml] 11:27:35,042 DEBUG [WSConfigFactory] parse: jar:file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/tmp5840jbossws.sar!/META-INF/standard-jbossws-endpoint-config.xml 11:27:35,042 DEBUG [ServerEndpointMetaData] getEndpointConfig: [name=Standard Endpoint,url=META-INF/standard-jbossws-endpoint-config.xml] 11:27:35,042 DEBUG [WSConfigFactory] parse: jar:file:/C:/jboss-4.0.4.GA/server/all/tmp/deploy/tmp5840jbossws.sar!/META-INF/standard-jbossws-endpoint-config.xml 11:27:35,042 DEBUG [JSR181MetaDataBuilderEJB3] END buildMetaData: UnifiedMetaData: securityDomain: portal ServiceMetaData: name={http://service.authorization.pay.net/jaws}AuthorizationCallbackService wsdName=null wsdlFile=file:/C:/jboss-4.0.4.GA/server/all/tmp/jbossws/AuthorizationCallbackService5895.wsdl jaxrpcFile=AuthorizationCallbackService-annotation-generated publishLocation=null properties=null TypesMetaData: [complexType={http://www.w3.org/2001/XMLSchema}long,javaType=java.lang.Long] [complexType={http://www.w3.org/2001/XMLSchema}boolean,javaType=java.lang.Boolean] ServerEndpointMetaData: name={http://service.authorization.pay.net/jaws}AuthorizationCallbackServicePort id=jboss.ws:context=payment-authorizer-0,endpoint=AuthorizationCallbackServiceMockBean address=http://JGILBERT2XP:8080/payment-authorizer-0/AuthorizationCallbackServiceMockBean linkName=AuthorizationCallbackServiceMockBean implName=net.pay.authorization.service.AuthorizationCallbackServiceMockBean seiName=net.pay.authorization.service.AuthorizationCallbackServiceMockBean annotated=true portComponentName=null contextRoot=/payment-authorizer-0 urlPattern=/AuthorizationCallbackServiceMockBean configFile=null configName=null authMethod=BASIC transportGuarantee=NONE properties=null OperationMetaData: xmlName={http://service.authorization.pay.net/jaws}authorizationResponse javaName=authorizationResponse style=rpc/literal oneWay=false soapAction= ParameterMetaData: xmlName=paymentId xmlType={http://www.w3.org/2001/XMLSchema}long javaType=java.lang.Long mode=IN inHeader=false ParameterMetaData: xmlName=status xmlType={http://www.w3.org/2001/XMLSchema}boolean javaType=java.lang.Boolean mode=IN inHeader=false HandlerMetaData: name= class=org.jboss.ws.wsse.WSSecurityHandlerInbound params=[] headers=[] roles=[] ports=[] HandlerMetaData: name= class=org.jboss.ws.addressing.soap.SOAPServerHandler params=[] headers=[] roles=[] ports=[] HandlerMetaData: name= class=net.taylor.event.wsa.ServerAsyncCallbackHandler params=[] headers=[] roles=[] ports=[] ServiceMetaData: name={http://service.authorization.pay.net/jaws}AuthorizationService wsdName=null wsdlFile=file:/C:/jboss-4.0.4.GA/server/all/tmp/jbossws/AuthorizationService5896.wsdl jaxrpcFile=AuthorizationService-annotation-generated publishLocation=null properties=null TypesMetaData: [complexType={http://www.w3.org/2001/XMLSchema}long,javaType=java.lang.Long] [complexType={http://www.w3.org/2001/XMLSchema}double,javaType=java.lang.Double] [complexType={http://www.w3.org/2001/XMLSchema}string,javaType=java.lang.String] ServerEndpointMetaData: name={http://service.authorization.pay.net/jaws}AuthorizationServicePort id=jboss.ws:context=payment-authorizer-0,endpoint=AuthorizationServiceBean address=http://JGILBERT2XP:8080/payment-authorizer-0/AuthorizationServiceBean linkName=AuthorizationServiceBean implName=net.pay.authorization.service.AuthorizationServiceBean seiName=net.pay.authorization.service.AuthorizationServiceBean annotated=true portComponentName=null contextRoot=/payment-authorizer-0 urlPattern=/AuthorizationServiceBean configFile=null configName=null authMethod=BASIC transportGuarantee=NONE properties=null OperationMetaData: xmlName={http://service.authorization.pay.net/jaws}authorize javaName=authorize style=rpc/literal oneWay=false soapAction= ParameterMetaData: xmlName=paymentId xmlType={http://www.w3.org/2001/XMLSchema}long javaType=java.lang.Long mode=IN inHeader=false ParameterMetaData: xmlName=amount xmlType={http://www.w3.org/2001/XMLSchema}double javaType=java.lang.Double mode=IN inHeader=false ParameterMetaData: xmlName=creditCardNumber xmlType={http://www.w3.org/2001/XMLSchema}string javaType=java.lang.String mode=IN inHeader=false HandlerMetaData: name= class=org.jboss.ws.wsse.WSSecurityHandlerInbound params=[] headers=[] roles=[] ports=[] HandlerMetaData: name= class=org.jboss.ws.addressing.soap.SOAPServerHandler params=[] headers=[] roles=[] ports=[] HandlerMetaData: name= class=net.taylor.event.wsa.ServerAsyncRequestHandler params=[] headers=[] roles=[] ports=[] 11:27:35,386 INFO [DeployerInterceptorJaxr] ServiceMetaData: ServiceMetaData: name={http://service.authorization.pay.net/jaws}AuthorizationCallbackService wsdName=null wsdlFile=file:/C:/jboss-4.0.4.GA/server/all/tmp/jbossws/AuthorizationCallbackService5895.wsdl jaxrpcFile=AuthorizationCallbackService-annotation-generated publishLocation=null properties=null TypesMetaData: [complexType={http://www.w3.org/2001/XMLSchema}long,javaType=java.lang.Long] [complexType={http://www.w3.org/2001/XMLSchema}boolean,javaType=java.lang.Boolean] ServerEndpointMetaData: name={http://service.authorization.pay.net/jaws}AuthorizationCallbackServicePort id=jboss.ws:context=payment-authorizer-0,endpoint=AuthorizationCallbackServiceMockBean address=http://JGILBERT2XP:8080/payment-authorizer-0/AuthorizationCallbackServiceMockBean linkName=AuthorizationCallbackServiceMockBean implName=net.pay.authorization.service.AuthorizationCallbackServiceMockBean seiName=net.pay.authorization.service.AuthorizationCallbackServiceMockBean annotated=true portComponentName=null contextRoot=/payment-authorizer-0 urlPattern=/AuthorizationCallbackServiceMockBean configFile=META-INF/standard-jbossws-endpoint-config.xml configName=Standard Endpoint authMethod=BASIC transportGuarantee=NONE properties=null OperationMetaData: xmlName={http://service.authorization.pay.net/jaws}authorizationResponse javaName=authorizationResponse style=rpc/literal oneWay=false soapAction= ParameterMetaData: xmlName=paymentId xmlType={http://www.w3.org/2001/XMLSchema}long javaType=java.lang.Long mode=IN inHeader=false ParameterMetaData: xmlName=status xmlType={http://www.w3.org/2001/XMLSchema}boolean javaType=java.lang.Boolean mode=IN inHeader=false HandlerMetaData: name= class=org.jboss.ws.wsse.WSSecurityHandlerInbound params=[] headers=[] roles=[] ports=[] HandlerMetaData: name= class=org.jboss.ws.addressing.soap.SOAPServerHandler params=[] headers=[] roles=[] ports=[] HandlerMetaData: name= class=net.taylor.event.wsa.ServerAsyncCallbackHandler params=[] headers=[] roles=[] ports=[] 11:27:36,011 INFO [Loader] Using the Context ClassLoader 11:27:36,073 DEBUG [SaajTransport] Request message:<?xml version="1.0" encoding="UTF-8"?><get_tModelDetail xmlns="urn:uddi-org:api_v2" generic="2.0"><tModelKey>uuid:082b0851-25d8-303c-b332-f24a6d53e38e</tModelKey></get_tModelDetail> 11:27:36,151 DEBUG [SOAPConnectionImpl] Get locator for: http://localhost:8080/juddi/inquiry 11:27:36,167 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="", Content-Type=text/xml; charset=UTF-8}} 11:27:36,167 DEBUG [SOAPMessage] Outgoing SOAPMessage <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> <env:Body> <uddi:get_tModelDetail generic='2.0' xmlns:uddi='urn:uddi-org:api_v2'> <uddi:tModelKey>uuid:082b0851-25d8-303c-b332-f24a6d53e38e</uddi:tModelKey> </uddi:get_tModelDetail></env:Body></env:Envelope> 11:27:36,167 DEBUG [Client] invoke called, but our invoker is disconnected, discarding and fetching another fresh invoker for: InvokerLocator [http://127.0.0.1:8080/juddi/inquiry] 11:27:36,167 DEBUG [HTTPClientInvoker] connect called for: org.jboss.remoting.transport.http.HTTPClientInvoker@51672e 11:27:36,183 DEBUG [HTTPClientInvoker] Setting request header with SOAPAction : "" 11:27:36,183 DEBUG [HTTPClientInvoker] Setting request header with Content-Type : text/xml; charset=UTF-8
-
5. Re: JSR-181 Annotation Based UDDI Registration
jason.greene Nov 10, 2006 12:08 PM (in response to jgilbert)Ok so since the service is within an ear it should be deployed last. Which would mean all dependencies should be resolved by this point and time.
So the invoker block means we have a hanging http request, I would see what tomcat is up to. Try attaching a debugger and see if the juddi servlet is hanging.
-Jason -
6. Re: JSR-181 Annotation Based UDDI Registration
anil.saldhana Nov 10, 2006 12:57 PM (in response to jgilbert)Tomcat connectors are started after JBoss server has fully started. Hence the internal uddi registry is not available until then. Why don't you deploy your ear after the server has started?
-
7. Re: JSR-181 Annotation Based UDDI Registration
jgilbert Nov 10, 2006 1:26 PM (in response to jgilbert)Hmmm...
It is not practical to always deploy after the server has completely started. For example, what about when a server goes down and is restarted.
So, it looks like the juddi server would need to be deployed in its own instance. Which is reasonable in a production environment.
On a developer's machine it would be nice to avoid the extra process. The deployer could certainly be commented out.
Any idea if jaxr supports a not-remote mode?
Thanks for all the good feedback! -
8. Re: JSR-181 Annotation Based UDDI Registration
jason.greene Nov 10, 2006 2:14 PM (in response to jgilbert)I don't think a local VM juddi transport exists yet, although Anil would know.
Another alternative is to modify jUDDI directly, take a look at the main servlet that processes requests to see how.
http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_0/varia/src/main/org/jboss/jaxr/juddi/JUDDIServlet.java
-Jason -
9. Re: JSR-181 Annotation Based UDDI Registration
jason.greene Nov 10, 2006 2:26 PM (in response to jgilbert)Looks like a local transport would be pretty simple to write. All that would be needed would be to abstract the code in JUDDIServlet (possibly into an MBean). And then reuses that module in the transport class.
There is only one method to implement "send(Element)".
http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_0/varia/src/main/org/jboss/jaxr/juddi/transport/SaajTransport.java
-Jason -
10. Re: JSR-181 Annotation Based UDDI Registration
anil.saldhana Nov 10, 2006 2:38 PM (in response to jgilbert)Kurt Stam from JBoss ESB has done an integrated juddi effort that basically calls juddi locally from the jaxr codebase. There has been no work done on this in jboss 4.0.x
As outlined by jason, it is pretty simple to write a transport for juddi. That is what Kurt did. -
11. Re: JSR-181 Annotation Based UDDI Registration
kurtstam Nov 10, 2006 3:02 PM (in response to jgilbert)yes I did. Right now it's submitted as patches to scout and juddi, but I any day now I will be able to commit them to scout and juddi's source control.
--Kurt -
12. Re: JSR-181 Annotation Based UDDI Registration
jgilbert Nov 10, 2006 5:19 PM (in response to jgilbert)That worked!!! This little experiment wasn't so little after all.
Based on my prototyping this is what I would refactor:
juddi-service.sar
- remove org.apache.juddi.registry.RegistryServlet. it is there just to init the juddi engine
- instead, init and expose the engine in org.jboss.jaxr.juddi.JUDDIService
- change org.jboss.jaxr.juddi.JUDDIServlet to access the engine from the mbean
- refactor non-httpservlet related code from org.jboss.jaxr.juddi.JUDDIServlet into a pojo called something like UddiSoapProcessor
- create a LocalTransport class that extends SaajTransport but calls UddiSoapProcessor instead of invoking a SOAPConnection
- add a new mbean that implements the logic in the UDDIExample
- add the ddl from the UDDIExample to the standard script
jbossws.sar
- deploy as an expanded sar
- add commented out JaxrSubDeployerInterceptors to jboss-service.xml
- the JaxrSubDeployerInterceptors would be configured with the desired transport : Local or Saaj -
13. Re: JSR-181 Annotation Based UDDI Registration
jgilbert Nov 10, 2006 5:23 PM (in response to jgilbert)Didn't see Kurt's posting. Sounds great!
-
14. Re: JSR-181 Annotation Based UDDI Registration
jgilbert Nov 10, 2006 5:26 PM (in response to jgilbert)Kurt, How is the ESB leveraging jUddi?