Problems running webservice_producer quickstart
by Pablo Pazos
Hi,
I try to run this quickstart by "ant deploy" and I'm getting this error, any
ideas?
03:29:23,655 INFO [TomcatDeployer] deploy,
ctxPath=/Quickstart_webservice_producer,
warUrl=.../tmp/deploy/tmp50721Quickstart_webservice_producer.esb-conte
nts/Quickstart_webservice_producer-exp.war/
03:29:23,827 ERROR [EndpointRecordProcessorDeploymentAspect] Cannot register
endpoint with JMX server
javax.management.InstanceAlreadyExistsException: jboss.ws:
context=Quickstart_webservice_producer,endpoint=GoodbyeWorldWS,recordProcessor=MemoryBufferRecord
er already registered.
at
org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:761)
at
org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:225)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at
org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
at java.security.AccessController.doPrivileged(Native Method)
at
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
at
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
at
org.jboss.wsf.framework.deployment.EndpointRecordProcessorDeploymentAspect.registerRecordProcessor(EndpointRecordProcessorDeploymentAspect.java:
105)
at
org.jboss.wsf.framework.deployment.EndpointRecordProcessorDeploymentAspect.create(EndpointRecordProcessorDeploymentAspect.java:68)
at
org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118)
at
org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
at
org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
at
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy46.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
03:29:24,015 ERROR [EndpointRecordProcessorDeploymentAspect] Cannot register
endpoint with JMX server
javax.management.InstanceAlreadyExistsException:
jboss.ws:context=Quickstart_webservice_producer,endpoint=GoodbyeWorldWS,recordProcessor=LogRecorder
alread
y registered.
at
org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:761)
at
org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:225)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at
org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
at java.security.AccessController.doPrivileged(Native Method)
at
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
at
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
at
org.jboss.wsf.framework.deployment.EndpointRecordProcessorDeploymentAspect.registerRecordProcessor(EndpointRecordProcessorDeploymentAspect.java:
105)
at
org.jboss.wsf.framework.deployment.EndpointRecordProcessorDeploymentAspect.create(EndpointRecordProcessorDeploymentAspect.java:68)
at
org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118)
at
org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
at
org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
at
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy46.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
03:29:24,312 ERROR [MainDeployer] Could not start deployment:
file:/C:/JBoss/
jboss-4.2.3.GA/server/default/tmp/deploy/tmp50721Quickstart_webservice_produce
r.esb-contents/Quickstart_webservice_producer.war
java.lang.NoClassDefFoundError
at
com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.<init>(RuntimeTypeInfoSetImpl.java:61)
at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:127)
at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:79)
at
com.sun.xml.bind.v2.model.impl.ModelBuilder.<init>(ModelBuilder.java:152)
at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init>(RuntimeModelBuilder.java:87)
at
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:432)
at
com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:297)
at
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
at
com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105)
at
org.jboss.ws.core.jaxws.CustomizableJAXBContextFactory.createContext(CustomizableJAXBContextFactory.java:110)
at
org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBContext(JAXWSMetaDataBuilder.java:951)
at
org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:156)
at
org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:52)
at
org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:63)
at
org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:66)
at
org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118)
at
org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
at
org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
at
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy46.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
thanks,
Pablo.
--
Atte.
A/C Pablo Pazos Gutierrez
http://www.simplewebportal.net
http://pablo.swp.googlepages.com/home
16 years
SSL Failed to locate keystore '/keystore'
by Alessandro Ilardo
I'm working on my own first ESB project.
It should simply forward a webservice request to a sevice provider which
use SSL (self signed ceritifcate).
The problem so far is this:
Caused by: org.jboss.soa.esb.ConfigurationException: Failed to locate
keystore '/keystore'.
I've done all was in my knoledge, generating the keystore and truststore
with keytool.
On the startup the JBoss server 4.2.2 takes these jvm properties
JAVA_OPTS="$JAVA_OPTS
-Djavax.net.ssl.keyStore=/opt/jboss-4.2.2.GA/server/default/conf/localhost.keystore
JAVA_OPTS="$JAVA_OPTS -Djavax.net.ssl.keyStorePassword=xxxx
JAVA_OPTS="$JAVA_OPTS
-Djavax.net.ssl.trustStore=/opt/jboss-4.2.2.GA/server/default/conf/localhost.truststore
JAVA_OPTS="$JAVA_OPTS -Djavax.net.ssl.trustStorePassword=xxxxxx
But I still got the error.
Can anyone give me an help please.
Thanks in advance
Alessandro Ilardo
Java Technical Consultant
Phone +44 (0) 20 8144 0150 Mobile +44 (0) 781 780 7257
Mobile +39 347 625 01 34 Web www.virtual-lab.eu
16 years
Problems with XSLT 2.0
by Pablo Pazos
Hi everybody,
I have a problem with XSL transformations and I cannot reach a solution,
maybe someone has a more clear view about this problem.
I've this XSL function to parse a date and transform it in the format I
need, it is done via regular expressions:
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:my="my://own.uri">
...
<xsl:function name="my:date-formatx">
<xsl:param name="datexx" as="xs:string" />
<xsl:analyze-string select="$datexx"
regex="(\d{{4}})-(\d{{2}})-(\d{{2}})(\s*)">
<xsl:matching-substring>
<xsl:variable name="grupo1"><xsl:value-of
select="regex-group(1)"/></xsl:variable>
<xsl:variable name="grupo2"><xsl:value-of
select="regex-group(2)"/></xsl:variable>
<xsl:variable name="grupo3"><xsl:value-of
select="regex-group(3)"/></xsl:variable>
<xsl:value-of select="concat($grupo1, $grupo2, $grupo3)"/>
</xsl:matching-substring>
</xsl:analyze-string>
</xsl:function>
...
I´ve tried, doing it with SmooksAction, Smooks Transformer, doing the XSL
transformation nativelly from the ESB with the code I found here:
http://www.jboss.org/community/docs/DOC-10336, and my last try was using the
same code but with SAXON Transformer insteand of
javax.xml.transform.Transformer, and I get the same error for all.
I've another project only with Smooks and the entire XSL transformation is
executed correctly there, but now, when I put it into an ESB action I get
that the function "regex-group" is not defined.
Here's the exception: ("No se ha podido encontrar la funci¾n: regex-group"
is "Unable to find the function: regex-group" in spanish :)
org.jboss.soa.esb.actions.ActionProcessingException:
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException: javax
.xml.transform.TransformerException: No se ha podido encontrar la funci¾n:
regex-group
at nativeXSL.XSLActionProcessor.process(XSLActionProcessor.java:90)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
at
org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: No se
ha podido encontrar la funci¾n: regex-group
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:936)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:774)
at nativeXSL.SAXONTransformer.transform(SAXONTransformer.java:25)
at nativeXSL.XSLActionProcessor.process(XSLActionProcessor.java:83)
... 5 more
Caused by: javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: No se ha podido encontrar la
funci¾n: regex-group
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:928)
... 8 more
Caused by: javax.xml.transform.TransformerException: No se ha podido
encontrar la funci¾n: regex-group
at
org.apache.xalan.processor.XSLTAttributeDef.processEXPR(XSLTAttributeDef.java:768)
at
org.apache.xalan.processor.XSLTAttributeDef.processValue(XSLTAttributeDef.java:1404)
at
org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(XSLTAttributeDef.java:1600)
at
org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:338)
at
org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:263)
at
org.apache.xalan.processor.ProcessorTemplateElem.startElement(ProcessorTemplateElem.java:76)
at
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:623)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:920)
... 8 more
23:07:26,389 WARN [ActionProcessingPipeline] No fault address defined for
fault message! To: JMSEpr [ PortReference < <wsa:Address jms://
127.0.0.1:1099/qu
eue/eclipse_quickstart_helloworld_Request_esb/>, <wsa:ReferenceProperties
jbossesb:java.naming.factory.initial :
org.jnp.interfaces.NamingContextFactory/>,
<wsa:ReferenceProperties jbossesb:java.naming.provider.url : jnp://
127.0.0.1:1099/>, <wsa:ReferenceProperties
jbossesb:java.naming.factory.url.pkgs : org.
jboss.naming:org.jnp.interfaces/>, <wsa:ReferenceProperties
jbossesb:destination-type : queue/>, <wsa:ReferenceProperties
jbossesb:specification-version :
1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory :
ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>,
<wsa:ReferencePro
perties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>,
<wsa:ReferenceProperties jbossesb:transacted : false/>,
<wsa:ReferenceProperties jbossesb:type : ur
n:jboss/esb/epr/type/jms/> > ] MessageID:
d129eb42-285b-4cf6-89d0-e1fbdf6bb009 RelatesTo:
jms:correlationID#d129eb42-285b-4cf6-89d0-e1fbdf6bb009
Any ideas?
Thanks!
--
Atte.
A/C Pablo Pazos Gutierrez
http://www.simplewebportal.net
http://pablo.swp.googlepages.com/home
16 years
Re: [esb-users] Problems with quickstart webservice_consumer1
by Pablo Pazos
Hi,
Nope, I've java 1.5.0_11, but I download "jboss-saaj-2.0.3.GA.jar" and put
it to "\lib\endorsed" and it works.
It is supposed to work out-of-the-box with java 1.5?
Now I've another problem, I don't know if anyone see my other email to the
list (invoking a WS declared on a GRAILS app with XFire plugin, and the url
loses the port from the url, I don't know if it's a problem on SOAPClient or
a problem in the grails xfire plugin, so I asked in both lists)
thanks,
Pablo.
PS: anyone knows if this maillist has a web view?
On Sun, Nov 23, 2008 at 2:43 PM, Poyan Gerami <poyan.gerami(a)gmail.com>wrote:
> do you have java 1.6 ? if yes copy the jboss-sajj.jar from server/lib
> to jboss-home/lib/endorsed and restart the server.
> remember copy not move.
>
> 2008/11/22 Pablo Pazos <pablo.swp(a)gmail.com>:
> > Well, I have this deployed but now I've problems when I run it.
> >
> > When I do "ant runtest" I an exception. I've checked the web service
> wsdls
> > and seem to be correctly defined.
> >
> > This is the exception, any ideas?
> >
> > 23:25:13,984 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
> > 23:25:13,999 INFO [STDOUT] Request map is: {sayHello.toWhom=Jimbo}
> > 23:25:13,999 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
> > 23:25:14,046 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
> > java.lang.UnsupportedOperationException: setProperty must be overridden
> by
> > all subclasses of SOAPMessage
> > at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:424)
> > at
> > org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
> > at
> >
> org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:207)
> > at
> >
> org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:185)
> > at
> >
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:389)
> > at
> >
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
> > at
> >
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
> > at
> >
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
> > at
> > org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > 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:230)
> > at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> > at
> >
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
> > at
> >
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
> > 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:157)
> > at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
> > at
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> > at
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> > at
> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
> > at java.lang.Thread.run(Thread.java:619)
> > 23:25:14,046 ERROR [RequestHandlerImpl] Error processing web service
> request
> > org.jboss.ws.WSException: java.lang.UnsupportedOperationException:
> > setProperty must be overridden by all subclasses of SOAPMessage
> > at org.jboss.ws.WSException.rethrow(WSException.java:68)
> > at
> >
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:310)
> > at
> >
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
> > at
> >
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
> > at
> > org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > 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:230)
> > at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> > at
> >
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
> > at
> >
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
> > 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:157)
> > at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
> > at
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> > at
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> > at
> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
> > at java.lang.Thread.run(Thread.java:619)
> > Caused by: java.lang.UnsupportedOperationException: setProperty must be
> > overridden by all subclasses of SOAPMessage
> > at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:424)
> > at
> > org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
> > at
> >
> org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
> > at
> >
> org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:232)
> > at
> >
> org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:161)
> > at
> >
> org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
> > at
> >
> org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
> > at
> >
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:430)
> > at
> >
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
> > ... 22 more
> > 23:25:14,124 ERROR [[HelloWorldWS]] Servlet.service() para servlet
> > HelloWorldWS lanz¾ excepci¾n
> > java.lang.UnsupportedOperationException: setProperty must be overridden
> by
> > all subclasses of SOAPMessage
> > at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:424)
> > at
> > org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
> > at
> >
> org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
> > at
> >
> org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:232)
> > at
> >
> org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:161)
> > at
> >
> org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
> > at
> >
> org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
> > at
> >
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:430)
> > at
> >
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
> > at
> >
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
> > at
> >
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
> > at
> > org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > 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:230)
> > at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> > at
> >
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
> > at
> >
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
> > 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:157)
> > at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
> > at
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> > at
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> > at
> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
> > at java.lang.Thread.run(Thread.java:619)
> > 23:25:14,202 ERROR [STDERR] [Fatal Error] :-1:-1: Premature end of file.
> > 23:25:14,202 WARN [ActionProcessingPipeline] Unexpected exception caught
> > while processing the action pipeline: header: [ To: JMSEpr [
> PortReference <
> > <wsa
> > :Address jms://127.0.0.1:1099/queue/quickstart_webservice_consumer1_esb/
> >,
> > <wsa:ReferenceProperties jbossesb:java.naming.factory.initial :
> > org.jnp.interfac
> > es.NamingContextFactory/>, <wsa:ReferenceProperties
> > jbossesb:java.naming.provider.url : 127.0.0.1:1099/>,
> > <wsa:ReferenceProperties jbossesb:java.naming.fac
> > tory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties
> > jbossesb:destination-type : queue/>, <wsa:ReferenceProperties
> > jbossesb:specification-version
> > : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory :
> > ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent :
> true/>,
> > <wsa:Reference
> > Properties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>,
> > <wsa:ReferenceProperties jbossesb:transacted : false/>,
> > <wsa:ReferenceProperties jbossesb:type :
> > urn:jboss/esb/epr/type/jms/> > ] MessageID:
> > 1f199f02-9178-4fd0-8919-151c1591a9cb RelatesTo:
> > jms:correlationID#1f199f02-9178-4fd0-8919-151c1591a9cb ]
> > org.jboss.soa.esb.actions.ActionProcessingException: Error parsing SOAP
> > response.
> > at
> >
> org.jboss.soa.esb.actions.soap.SOAPClient.populateResponseOgnlMap(SOAPClient.java:526)
> > at
> >
> org.jboss.soa.esb.actions.soap.SOAPClient.processResponse(SOAPClient.java:486)
> > at
> > org.jboss.soa.esb.actions.soap.SOAPClient.process(SOAPClient.java:419)
> > at
> >
> org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
> > at
> >
> org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> > at java.lang.Thread.run(Thread.java:619)
> > Caused by: org.xml.sax.SAXParseException: Premature end of file.
> > at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> > at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
> Source)
> > at
> >
> org.jboss.soa.esb.actions.soap.SOAPClient.populateResponseOgnlMap(SOAPClient.java:519)
> > ... 7 more
> > 23:25:14,249 WARN [ActionProcessingPipeline] No fault address defined
> for
> > fault message! To: JMSEpr [ PortReference < <wsa:Address
> > jms://127.0.0.1:1099/qu
> > eue/quickstart_webservice_consumer1_esb/>, <wsa:ReferenceProperties
> > jbossesb:java.naming.factory.initial :
> > org.jnp.interfaces.NamingContextFactory/>, <wsa:
> > ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/
> >,
> > <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs :
> > org.jnp.interfac
> > es/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>,
> > <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>,
> > <wsa:ReferenceProperti
> > es jbossesb:connection-factory : ConnectionFactory/>,
> > <wsa:ReferenceProperties jbossesb:persistent : true/>,
> > <wsa:ReferenceProperties jbossesb:acknowledge-
> > mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted :
> > false/>, <wsa:ReferenceProperties jbossesb:type :
> > urn:jboss/esb/epr/type/jms/> >
> > ] MessageID: 1f199f02-9178-4fd0-8919-151c1591a9cb RelatesTo:
> > jms:correlationID#1f199f02-9178-4fd0-8919-151c1591a9cb
> >
> >
> > Cheers,
> > Pablo.
> >
> >
> > On Fri, Oct 17, 2008 at 3:01 PM, Pablo Pazos <pablo.swp(a)gmail.com>
> wrote:
> >>
> >> Hi!
> >>
> >> I tryed the link but is borken (http://java.sun.com/j2se/1) :(
> >>
> >> I'll try to google a little to see what I can find, I have no clue on
> >> "endorsed directory mechanism".
> >>
> >> I'll have a look at the things you said, I'll tell you what I found.
> >>
> >> Thanks again for the patience!
> >> Pablo.
> >>
> >> On Fri, Oct 17, 2008 at 2:55 PM, Matt Green <matt.green(a)rockshore.net>
> >> wrote:
> >>>
> >>> Hi,
> >>>
> >>> On Fri, 2008-10-17 at 14:46 -0200, Pablo Pazos wrote:
> >>> > Hi Matt, thanks for the quick answer, I'm really new with the ESB.
> >>> >
> >>> > When I download the new version of the API, do you know how to
> >>> > install it so the JVM can load the right version?
> >>> >
> >>> >
> >>>
> >>> The error message in your original post points towards looking at some
> >>> docs that relate to the JVM/JDK - it talks about the 'endorsed
> classpath
> >>> mechanism' - you'll need to read up on that at the Sun website, the
> >>> error message gave a helpful link!
> >>>
> >>> > Other question, this library comes with the ESB Server or is
> >>> > something
> >>> > that comes with the JVM? If it's something of the ESB Server, the
> >>> > quickstarts
> >>> > may no run out-of-the-box. I have downloaded all new versions of the
> >>> > ESB and
> >>> > the ESB Server (jbossesb-4.4.GA, jbossesb-server-4.4.GA).
> >>> >
> >>>
> >>> I'm not sure, you could have a look at the JVM directories and see what
> >>> is there then have a look in the ESB installation zip file to see what
> >>> it will be trying to install?
> >>>
> >>> >
> >>> > Thanks!
> >>> > Pablo.
> >>> >
> >>> > On Fri, Oct 17, 2008 at 2:26 PM, Matt Green <
> matt.green(a)rockshore.net>
> >>> > wrote:
> >>> > I think the line...:-
> >>> >
> >>> > > nested throwable: (java.lang.LinkageError: JAXB 2.0 API is
> >>> > being
> >>> >
> >>> > > loaded from the bootstrap classloader, but this RI
> >>> > > (from jar:file:/C:/JBoss/jbossesb-server-4.4.GA/
> >>> >
> >>> > server/default/tmp/deploy/tmp14487jaxb-impl.jar!/
> >>> >
> >>> > com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
> >>> > > needs 2.1 API. Use the endorsed directory mechanism to
> place
> >>> > > jaxb-api.jar in the bootstrap classloader. (See
> >>> > > http://java.sun.com/j2se/1.5.0/docs/guide/standards/))
> >>> >
> >>> >
> >>> > ...pretty much explains it, essentially your JVM that is
> >>> > running JBoss
> >>> > has loaded the JAXB2.0 APIs (they probably come packaged with
> >>> > you JDK)
> >>> > but either your application or JBoss is trying to use a JAXB
> >>> > Implementation that conforms to the JAXB2.1 API.
> >>> >
> >>> > The error tells you what to do; the JAXB 2.1 API should be
> >>> > available
> >>> > from the relevant download from the JAXB site.
> >>> >
> >>> > Matt
> >>> >
> >>> >
> >>> >
> >>> > On Fri, 2008-10-17 at 13:48 -0200, Pablo Pazos wrote:
> >>> > > nested throwable: (java.lang.LinkageError: JAXB 2.0 API is
> >>> > being
> >>> > > loaded from the bootstra
> >>> > > p classloader, but this RI (from
> >>> > >
> >>> >
> >>> > jar:file:/C:/JBoss/
> jbossesb-server-4.4.GA/server/default/tmp/deploy/tmp14487jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/<http://jbossesb-server-4.4.GA/server/default/tmp/deploy/tmp14487jaxb-impl...>
> >>> > > ModelBuilder.class) needs 2.1 API. Use the endorsed
> >>> > directory
> >>> > > mechanism to place jaxb-api.jar in the bootstrap
> >>> > classloader. (See
> >>> > > http://java.sun.com/j2se/1
> >>> > > .5.0/docs/guide/standards/))
> >>> >
> >>> >
> >>> >
> >>> >
> >>> >
> >>> > --
> >>> > Atte.
> >>> > A/C Pablo Pazos Gutierrez
> >>> > http://www.simplewebportal.net
> >>> > http://pablo.swp.googlepages.com/home
> >>> >
> >>>
> >>
> >>
> >>
> >> --
> >> Atte.
> >> A/C Pablo Pazos Gutierrez
> >> http://www.simplewebportal.net
> >> http://pablo.swp.googlepages.com/home
> >
> >
> >
> > --
> > Atte.
> > A/C Pablo Pazos Gutierrez
> > http://www.simplewebportal.net
> > http://pablo.swp.googlepages.com/home
> >
> > _______________________________________________
> > esb-users mailing list
> > esb-users(a)lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/esb-users
> >
> >
>
>
>
> --
> Poyan Gerami
> poyan.gerami(a)gmail.com
>
--
Atte.
A/C Pablo Pazos Gutierrez
http://www.simplewebportal.net
http://pablo.swp.googlepages.com/home
16 years
Problem with SOAPClient Action
by Pablo Pazos
Hi, I have modified the web service consumer 1 quickstart to call a web
service defined by me. When the WS is invoked, I get this exception (note
that the port 8484 is removed from the url on 15:00:57,890 WARN, I don't
know why):
15:00:55,421 INFO [STDOUT] Retrieving document at '*
http://localhost:8484/webservices/services/web?wsdl'*.
15:00:55,437 INFO [SchemaUtils] Loading schema types from [
http://localhost:8484/webservices/services/web?wsdl]
15:00:55,437 INFO [SchemaUtils] Getting schema
http://localhost:8484/webservices/services/web?wsdl
15:00:55,453 INFO [SchemaUtils] schema for [http://DefaultNamespace]
contained [{}] namespaces
15:00:56,218 INFO [WsdlImporter] Finding importer for {
http://DefaultNamespace}webHttpBinding
15:00:56,250 INFO [WsdlImporter] Importing binding {http://DefaultNamespace
}webHttpBinding
15:00:56,593 INFO [Soap11HttpBindingImporter] importing endpoint
http://localhost/webservices/services/web
15:00:56,593 INFO [Soap11HttpBindingImporter] importing operation hello
15:00:57,890 WARN [SOAPClient] Received status code '404' on HTTP SOAP
(POST) request to *'http://localhost/webservices/services/web*'.
15:00:57,937 ERROR [STDERR] [Fatal Error] :1:1018: The element type "HR"
must be terminated by the matching end-tag "</HR>".
15:00:57,937 WARN [ActionProcessingPipeline] Unexpected exception caught
while processing the action pipeline: header: [ To: JMSEpr [ PortReference <
<wsa
:Address jms://127.0.0.1:1099/queue/esb_entry_point_1/>,
<wsa:ReferenceProperties jbossesb:java.naming.factory.initial :
org.jnp.interfaces.NamingContextFa
ctory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : jnp://
127.0.0.1:1099/>, <wsa:ReferenceProperties
jbossesb:java.naming.factory.url.pkg
s : org.jboss.naming:org.jnp.interfaces/>, <wsa:ReferenceProperties
jbossesb:destination-type : queue/>, <wsa:ReferenceProperties
jbossesb:specification-ve
rsion : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory :
ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>,
<wsa:Refe
renceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>,
<wsa:ReferenceProperties jbossesb:transacted : false/>,
<wsa:ReferenceProperties jbossesb:t
ype : urn:jboss/esb/epr/type/jms/> > ] MessageID:
03594ce5-1697-405f-a7e1-5b5116c9e1f0 RelatesTo:
jms:correlationID#03594ce5-1697-405f-a7e1-5b5116c9e1f0 ]
org.jboss.soa.esb.actions.ActionProcessingException: Error parsing SOAP
response.
at
org.jboss.soa.esb.actions.soap.SOAPClient.populateResponseOgnlMap(SOAPClient.java:526)
at
org.jboss.soa.esb.actions.soap.SOAPClient.processResponse(SOAPClient.java:486)
at
org.jboss.soa.esb.actions.soap.SOAPClient.process(SOAPClient.java:419)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
at
org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.xml.sax.SAXParseException: The element type "HR" must be
terminated by the matching end-tag "</HR>".
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at
org.jboss.soa.esb.actions.soap.SOAPClient.populateResponseOgnlMap(SOAPClient.java:519)
... 7 more
15:00:58,093 WARN [ActionProcessingPipeline] No fault address defined for
fault message! To: JMSEpr [ PortReference < <wsa:Address jms://
127.0.0.1:1099/qu
eue/esb_entry_point_1/>, <wsa:ReferenceProperties
jbossesb:java.naming.factory.initial :
org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferencePropertie
s jbossesb:java.naming.provider.url : jnp://127.0.0.1:1099/>,
<wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs :
org.jboss.naming:org.jnp.int
erfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>,
<wsa:ReferenceProperties jbossesb:specification-version : 1.1/>,
<wsa:ReferencePro
perties jbossesb:connection-factory : ConnectionFactory/>,
<wsa:ReferenceProperties jbossesb:persistent : true/>,
<wsa:ReferenceProperties jbossesb:acknowl
edge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted
: false/>, <wsa:ReferenceProperties jbossesb:type :
urn:jboss/esb/epr/type/jms
/> > ] MessageID: 03594ce5-1697-405f-a7e1-5b5116c9e1f0 RelatesTo:
jms:correlationID#03594ce5-1697-405f-a7e1-5b5116c9e1f0
This is the wsdl:
<wsdl:definitions targetNamespace="http://DefaultNamespace"
xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="
http://DefaultNamespace" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap11="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdlsoap="
http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc11="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap12="
http://www.w3.org/2003/05/soap-envelope">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://DefaultNamespace">
<xsd:element name="hello">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="name" nillable="true"
type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="helloResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true"
type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="helloRequest">
<wsdl:part name="parameters" element="tns:hello">
</wsdl:part>
</wsdl:message>
<wsdl:message name="helloResponse">
<wsdl:part name="parameters" element="tns:helloResponse">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="web">
<wsdl:operation name="hello">
<wsdl:input name="helloRequest" message="tns:helloRequest">
</wsdl:input>
<wsdl:output name="helloResponse" message="tns:helloResponse">
</wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="webHttpBinding" type="tns:web">
<wsdlsoap:binding style="document" transport="
http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="hello">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="helloRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="helloResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="web">
<wsdl:port name="webHttpPort" binding="tns:webHttpBinding">
<wsdlsoap:address location="http://localhost:8484/webservices/services/web
"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Note> This WS is plublished by a GRAILS app with XFire plugin.
Any ideas?
thanks!
Pablo.
--
Atte.
A/C Pablo Pazos Gutierrez
http://www.simplewebportal.net
http://pablo.swp.googlepages.com/home
16 years
Re: [esb-users] Problems with quickstart webservice_consumer1
by Pablo Pazos
Well, I have this deployed but now I've problems when I run it.
When I do "ant runtest" I an exception. I've checked the web service wsdls
and seem to be correctly defined.
This is the exception, any ideas?
23:25:13,984 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
23:25:13,999 INFO [STDOUT] Request map is: {sayHello.toWhom=Jimbo}
23:25:13,999 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
23:25:14,046 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
java.lang.UnsupportedOperationException: setProperty must be overridden by
all subclasses of SOAPMessage
at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:424)
at
org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
at
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:207)
at
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:185)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:389)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
at
org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
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:230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
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:157)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
23:25:14,046 ERROR [RequestHandlerImpl] Error processing web service request
org.jboss.ws.WSException: java.lang.UnsupportedOperationException:
setProperty must be overridden by all subclasses of SOAPMessage
at org.jboss.ws.WSException.rethrow(WSException.java:68)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:310)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
at
org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
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:230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
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:157)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.UnsupportedOperationException: setProperty must be
overridden by all subclasses of SOAPMessage
at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:424)
at
org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
at
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
at
org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:232)
at
org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:161)
at
org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
at
org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:430)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
... 22 more
23:25:14,124 ERROR [[HelloWorldWS]] Servlet.service() para servlet
HelloWorldWS lanz¾ excepci¾n
java.lang.UnsupportedOperationException: setProperty must be overridden by
all subclasses of SOAPMessage
at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:424)
at
org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
at
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
at
org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:232)
at
org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:161)
at
org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
at
org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:430)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
at
org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
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:230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
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:157)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
23:25:14,202 ERROR [STDERR] [Fatal Error] :-1:-1: Premature end of file.
23:25:14,202 WARN [ActionProcessingPipeline] Unexpected exception caught
while processing the action pipeline: header: [ To: JMSEpr [ PortReference <
<wsa
:Address jms://127.0.0.1:1099/queue/quickstart_webservice_consumer1_esb/>,
<wsa:ReferenceProperties jbossesb:java.naming.factory.initial :
org.jnp.interfac
es.NamingContextFactory/>, <wsa:ReferenceProperties
jbossesb:java.naming.provider.url : 127.0.0.1:1099/>,
<wsa:ReferenceProperties jbossesb:java.naming.fac
tory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties
jbossesb:destination-type : queue/>, <wsa:ReferenceProperties
jbossesb:specification-version
: 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory :
ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>,
<wsa:Reference
Properties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>,
<wsa:ReferenceProperties jbossesb:transacted : false/>,
<wsa:ReferenceProperties jbossesb:type :
urn:jboss/esb/epr/type/jms/> > ] MessageID:
1f199f02-9178-4fd0-8919-151c1591a9cb RelatesTo:
jms:correlationID#1f199f02-9178-4fd0-8919-151c1591a9cb ]
org.jboss.soa.esb.actions.ActionProcessingException: Error parsing SOAP
response.
at
org.jboss.soa.esb.actions.soap.SOAPClient.populateResponseOgnlMap(SOAPClient.java:526)
at
org.jboss.soa.esb.actions.soap.SOAPClient.processResponse(SOAPClient.java:486)
at
org.jboss.soa.esb.actions.soap.SOAPClient.process(SOAPClient.java:419)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
at
org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at
org.jboss.soa.esb.actions.soap.SOAPClient.populateResponseOgnlMap(SOAPClient.java:519)
... 7 more
23:25:14,249 WARN [ActionProcessingPipeline] No fault address defined for
fault message! To: JMSEpr [ PortReference < <wsa:Address jms://
127.0.0.1:1099/qu
eue/quickstart_webservice_consumer1_esb/>, <wsa:ReferenceProperties
jbossesb:java.naming.factory.initial :
org.jnp.interfaces.NamingContextFactory/>, <wsa:
ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>,
<wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs :
org.jnp.interfac
es/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>,
<wsa:ReferenceProperties jbossesb:specification-version : 1.1/>,
<wsa:ReferenceProperti
es jbossesb:connection-factory : ConnectionFactory/>,
<wsa:ReferenceProperties jbossesb:persistent : true/>,
<wsa:ReferenceProperties jbossesb:acknowledge-
mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted :
false/>, <wsa:ReferenceProperties jbossesb:type :
urn:jboss/esb/epr/type/jms/> >
] MessageID: 1f199f02-9178-4fd0-8919-151c1591a9cb RelatesTo:
jms:correlationID#1f199f02-9178-4fd0-8919-151c1591a9cb
Cheers,
Pablo.
On Fri, Oct 17, 2008 at 3:01 PM, Pablo Pazos <pablo.swp(a)gmail.com> wrote:
> Hi!
>
> I tryed the link but is borken (http://java.sun.com/j2se/1) :(
>
> I'll try to google a little to see what I can find, I have no clue on
> "endorsed directory mechanism".
>
> I'll have a look at the things you said, I'll tell you what I found.
>
> Thanks again for the patience!
> Pablo.
>
>
> On Fri, Oct 17, 2008 at 2:55 PM, Matt Green <matt.green(a)rockshore.net>wrote:
>
>> Hi,
>>
>> On Fri, 2008-10-17 at 14:46 -0200, Pablo Pazos wrote:
>> > Hi Matt, thanks for the quick answer, I'm really new with the ESB.
>> >
>> > When I download the new version of the API, do you know how to
>> > install it so the JVM can load the right version?
>> >
>> >
>>
>> The error message in your original post points towards looking at some
>> docs that relate to the JVM/JDK - it talks about the 'endorsed classpath
>> mechanism' - you'll need to read up on that at the Sun website, the
>> error message gave a helpful link!
>>
>> > Other question, this library comes with the ESB Server or is
>> > something
>> > that comes with the JVM? If it's something of the ESB Server, the
>> > quickstarts
>> > may no run out-of-the-box. I have downloaded all new versions of the
>> > ESB and
>> > the ESB Server (jbossesb-4.4.GA, jbossesb-server-4.4.GA).
>> >
>>
>> I'm not sure, you could have a look at the JVM directories and see what
>> is there then have a look in the ESB installation zip file to see what
>> it will be trying to install?
>>
>> >
>> > Thanks!
>> > Pablo.
>> >
>> > On Fri, Oct 17, 2008 at 2:26 PM, Matt Green <matt.green(a)rockshore.net>
>> > wrote:
>> > I think the line...:-
>> >
>> > > nested throwable: (java.lang.LinkageError: JAXB 2.0 API is
>> > being
>> >
>> > > loaded from the bootstrap classloader, but this RI
>> > > (from jar:file:/C:/JBoss/jbossesb-server-4.4.GA/
>> >
>> > server/default/tmp/deploy/tmp14487jaxb-impl.jar!/
>> >
>> > com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
>> > > needs 2.1 API. Use the endorsed directory mechanism to place
>> > > jaxb-api.jar in the bootstrap classloader. (See
>> > > http://java.sun.com/j2se/1.5.0/docs/guide/standards/))
>> >
>> >
>> > ...pretty much explains it, essentially your JVM that is
>> > running JBoss
>> > has loaded the JAXB2.0 APIs (they probably come packaged with
>> > you JDK)
>> > but either your application or JBoss is trying to use a JAXB
>> > Implementation that conforms to the JAXB2.1 API.
>> >
>> > The error tells you what to do; the JAXB 2.1 API should be
>> > available
>> > from the relevant download from the JAXB site.
>> >
>> > Matt
>> >
>> >
>> >
>> > On Fri, 2008-10-17 at 13:48 -0200, Pablo Pazos wrote:
>> > > nested throwable: (java.lang.LinkageError: JAXB 2.0 API is
>> > being
>> > > loaded from the bootstra
>> > > p classloader, but this RI (from
>> > >
>> > jar:file:/C:/JBoss/
>> jbossesb-server-4.4.GA/server/default/tmp/deploy/tmp14487jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/<http://jbossesb-server-4.4.GA/server/default/tmp/deploy/tmp14487jaxb-impl...>
>> > > ModelBuilder.class) needs 2.1 API. Use the endorsed
>> > directory
>> > > mechanism to place jaxb-api.jar in the bootstrap
>> > classloader. (See
>> > > http://java.sun.com/j2se/1
>> > > .5.0/docs/guide/standards/))
>> >
>> >
>> >
>> >
>> >
>> > --
>> > Atte.
>> > A/C Pablo Pazos Gutierrez
>> > http://www.simplewebportal.net
>> > http://pablo.swp.googlepages.com/home
>> >
>>
>>
>
>
> --
> Atte.
> A/C Pablo Pazos Gutierrez
> http://www.simplewebportal.net
> http://pablo.swp.googlepages.com/home
>
--
Atte.
A/C Pablo Pazos Gutierrez
http://www.simplewebportal.net
http://pablo.swp.googlepages.com/home
16 years