You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Michael Baessler (JIRA)" <ui...@incubator.apache.org> on 2008/03/14 11:13:24 UTC
[jira] Created: (UIMA-906) SOAP deployment does not work properly
SOAP deployment does not work properly
--------------------------------------
Key: UIMA-906
URL: https://issues.apache.org/jira/browse/UIMA-906
Project: UIMA
Issue Type: Bug
Components: Transport Adapters - SOAP, Vinci
Affects Versions: 2.2.1
Reporter: Michael Baessler
Fix For: 2.2.2
Deploying a SOAP service work fine and don't produce an exception, but when trying the get the metaData
the following error is displayed in the Browser
Fault - ; nested exception is:
WSDLException: faultCode=OTHER_ERROR: Can't find prefix for
'http://uima.apache.org/analysis_engine'. Namespace prefixes must be set
on the Definition object using the addNamespace(...) method.:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix
for 'http://uima.apache.org/analysis_engine'. Namespace prefixes must be
set on the Definition object using the addNamespace(...) method.:
faultActor:
faultNode:
faultDetail:
When trying to connect to the service the following exception is thrown:
org.apache.uima.resource.ResourceInitializationException: Error initializing "org.apache.uima.adapter.soap.SoapAnalysisEngineServiceAdapter" from descriptor file:/C:/Programme/apache-uima/examples/descriptors/soapService/NamesAndPersonTitlesService.xml.
at org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:143)
at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:258)
at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:303)
at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:383)
at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.java:1529)
at org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(MainFrame.java:524)
at org.apache.uima.tools.cvd.control.AnnotatorOpenEventHandler.actionPerformed(AnnotatorOpenEventHandler.java:52)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
at java.awt.Component.processMouseEvent(Component.java:5517)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: org.apache.uima.UIMARuntimeException
at org.apache.uima.analysis_engine.service.impl.AnalysisEngineServiceAdapter.getMetaData(AnalysisEngineServiceAdapter.java:109)
at org.apache.uima.resource.Resource_ImplBase.initialize(Resource_ImplBase.java:66)
at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.initialize(AnalysisEngineImplBase.java:109)
at org.apache.uima.adapter.soap.SoapAnalysisEngineServiceAdapter.initialize(SoapAnalysisEngineServiceAdapter.java:67)
at org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:122)
... 33 more
Caused by: org.apache.uima.resource.ResourceServiceException
at org.apache.uima.adapter.soap.AxisResourceServiceStub.callGetMetaData(AxisResourceServiceStub.java:89)
at org.apache.uima.analysis_engine.service.impl.AnalysisEngineServiceAdapter.getMetaData(AnalysisEngineServiceAdapter.java:105)
... 37 more
Caused by: (500)Internal Server Error
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at org.apache.uima.adapter.soap.AxisResourceServiceStub.callGetMetaData(AxisResourceServiceStub.java:85)
... 38 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-906) SOAP deployment does not work properly
Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Baessler closed UIMA-906.
---------------------------------
Tested with uimaj-2.2.2-04
> SOAP deployment does not work properly
> --------------------------------------
>
> Key: UIMA-906
> URL: https://issues.apache.org/jira/browse/UIMA-906
> Project: UIMA
> Issue Type: Bug
> Components: Transport Adapters - SOAP, Vinci
> Affects Versions: 2.2.1
> Reporter: Michael Baessler
> Assignee: Michael Baessler
> Fix For: 2.2.2
>
>
> Deploying a SOAP service work fine and don't produce an exception, but when trying the get the metaData
> the following error is displayed in the Browser
> Fault - ; nested exception is:
> WSDLException: faultCode=OTHER_ERROR: Can't find prefix for
> 'http://uima.apache.org/analysis_engine'. Namespace prefixes must be set
> on the Definition object using the addNamespace(...) method.:
> AxisFault
> faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> faultSubcode:
> faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix
> for 'http://uima.apache.org/analysis_engine'. Namespace prefixes must be
> set on the Definition object using the addNamespace(...) method.:
> faultActor:
> faultNode:
> faultDetail:
> When trying to connect to the service the following exception is thrown:
> org.apache.uima.resource.ResourceInitializationException: Error initializing "org.apache.uima.adapter.soap.SoapAnalysisEngineServiceAdapter" from descriptor file:/C:/Programme/apache-uima/examples/descriptors/soapService/NamesAndPersonTitlesService.xml.
> at org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:143)
> at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
> at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:258)
> at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:303)
> at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:383)
> at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.java:1529)
> at org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(MainFrame.java:524)
> at org.apache.uima.tools.cvd.control.AnnotatorOpenEventHandler.actionPerformed(AnnotatorOpenEventHandler.java:52)
> at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
> at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
> at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
> at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
> at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
> at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
> at java.awt.Component.processMouseEvent(Component.java:5517)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
> at java.awt.Component.processEvent(Component.java:5282)
> at java.awt.Container.processEvent(Container.java:1966)
> at java.awt.Component.dispatchEventImpl(Component.java:3984)
> at java.awt.Container.dispatchEventImpl(Container.java:2024)
> at java.awt.Component.dispatchEvent(Component.java:3819)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
> at java.awt.Container.dispatchEventImpl(Container.java:2010)
> at java.awt.Window.dispatchEventImpl(Window.java:1791)
> at java.awt.Component.dispatchEvent(Component.java:3819)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
> at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> Caused by: org.apache.uima.UIMARuntimeException
> at org.apache.uima.analysis_engine.service.impl.AnalysisEngineServiceAdapter.getMetaData(AnalysisEngineServiceAdapter.java:109)
> at org.apache.uima.resource.Resource_ImplBase.initialize(Resource_ImplBase.java:66)
> at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.initialize(AnalysisEngineImplBase.java:109)
> at org.apache.uima.adapter.soap.SoapAnalysisEngineServiceAdapter.initialize(SoapAnalysisEngineServiceAdapter.java:67)
> at org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:122)
> ... 33 more
> Caused by: org.apache.uima.resource.ResourceServiceException
> at org.apache.uima.adapter.soap.AxisResourceServiceStub.callGetMetaData(AxisResourceServiceStub.java:89)
> at org.apache.uima.analysis_engine.service.impl.AnalysisEngineServiceAdapter.getMetaData(AnalysisEngineServiceAdapter.java:105)
> ... 37 more
> Caused by: (500)Internal Server Error
> at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
> at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
> at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
> at org.apache.axis.client.Call.invoke(Call.java:2553)
> at org.apache.axis.client.Call.invoke(Call.java:2248)
> at org.apache.axis.client.Call.invoke(Call.java:2171)
> at org.apache.axis.client.Call.invoke(Call.java:1691)
> at org.apache.uima.adapter.soap.AxisResourceServiceStub.callGetMetaData(AxisResourceServiceStub.java:85)
> ... 38 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (UIMA-906) SOAP deployment does not work properly
Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Baessler resolved UIMA-906.
-----------------------------------
Resolution: Fixed
Assignee: Michael Baessler
need to be verified with uimaj-2.2.2-04 or higher
> SOAP deployment does not work properly
> --------------------------------------
>
> Key: UIMA-906
> URL: https://issues.apache.org/jira/browse/UIMA-906
> Project: UIMA
> Issue Type: Bug
> Components: Transport Adapters - SOAP, Vinci
> Affects Versions: 2.2.1
> Reporter: Michael Baessler
> Assignee: Michael Baessler
> Fix For: 2.2.2
>
>
> Deploying a SOAP service work fine and don't produce an exception, but when trying the get the metaData
> the following error is displayed in the Browser
> Fault - ; nested exception is:
> WSDLException: faultCode=OTHER_ERROR: Can't find prefix for
> 'http://uima.apache.org/analysis_engine'. Namespace prefixes must be set
> on the Definition object using the addNamespace(...) method.:
> AxisFault
> faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> faultSubcode:
> faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix
> for 'http://uima.apache.org/analysis_engine'. Namespace prefixes must be
> set on the Definition object using the addNamespace(...) method.:
> faultActor:
> faultNode:
> faultDetail:
> When trying to connect to the service the following exception is thrown:
> org.apache.uima.resource.ResourceInitializationException: Error initializing "org.apache.uima.adapter.soap.SoapAnalysisEngineServiceAdapter" from descriptor file:/C:/Programme/apache-uima/examples/descriptors/soapService/NamesAndPersonTitlesService.xml.
> at org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:143)
> at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
> at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:258)
> at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:303)
> at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:383)
> at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.java:1529)
> at org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(MainFrame.java:524)
> at org.apache.uima.tools.cvd.control.AnnotatorOpenEventHandler.actionPerformed(AnnotatorOpenEventHandler.java:52)
> at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
> at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
> at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
> at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
> at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
> at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
> at java.awt.Component.processMouseEvent(Component.java:5517)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
> at java.awt.Component.processEvent(Component.java:5282)
> at java.awt.Container.processEvent(Container.java:1966)
> at java.awt.Component.dispatchEventImpl(Component.java:3984)
> at java.awt.Container.dispatchEventImpl(Container.java:2024)
> at java.awt.Component.dispatchEvent(Component.java:3819)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
> at java.awt.Container.dispatchEventImpl(Container.java:2010)
> at java.awt.Window.dispatchEventImpl(Window.java:1791)
> at java.awt.Component.dispatchEvent(Component.java:3819)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
> at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> Caused by: org.apache.uima.UIMARuntimeException
> at org.apache.uima.analysis_engine.service.impl.AnalysisEngineServiceAdapter.getMetaData(AnalysisEngineServiceAdapter.java:109)
> at org.apache.uima.resource.Resource_ImplBase.initialize(Resource_ImplBase.java:66)
> at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.initialize(AnalysisEngineImplBase.java:109)
> at org.apache.uima.adapter.soap.SoapAnalysisEngineServiceAdapter.initialize(SoapAnalysisEngineServiceAdapter.java:67)
> at org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:122)
> ... 33 more
> Caused by: org.apache.uima.resource.ResourceServiceException
> at org.apache.uima.adapter.soap.AxisResourceServiceStub.callGetMetaData(AxisResourceServiceStub.java:89)
> at org.apache.uima.analysis_engine.service.impl.AnalysisEngineServiceAdapter.getMetaData(AnalysisEngineServiceAdapter.java:105)
> ... 37 more
> Caused by: (500)Internal Server Error
> at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
> at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
> at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
> at org.apache.axis.client.Call.invoke(Call.java:2553)
> at org.apache.axis.client.Call.invoke(Call.java:2248)
> at org.apache.axis.client.Call.invoke(Call.java:2171)
> at org.apache.axis.client.Call.invoke(Call.java:1691)
> at org.apache.uima.adapter.soap.AxisResourceServiceStub.callGetMetaData(AxisResourceServiceStub.java:85)
> ... 38 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-906) SOAP deployment does not work properly
Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578677#action_12578677 ]
Michael Baessler commented on UIMA-906:
---------------------------------------
Since 1.3 is currently not available I tested it with 1.4 and it seems to work fine. I will update the documentation to use either 1.3 or 1.4
> SOAP deployment does not work properly
> --------------------------------------
>
> Key: UIMA-906
> URL: https://issues.apache.org/jira/browse/UIMA-906
> Project: UIMA
> Issue Type: Bug
> Components: Transport Adapters - SOAP, Vinci
> Affects Versions: 2.2.1
> Reporter: Michael Baessler
> Fix For: 2.2.2
>
>
> Deploying a SOAP service work fine and don't produce an exception, but when trying the get the metaData
> the following error is displayed in the Browser
> Fault - ; nested exception is:
> WSDLException: faultCode=OTHER_ERROR: Can't find prefix for
> 'http://uima.apache.org/analysis_engine'. Namespace prefixes must be set
> on the Definition object using the addNamespace(...) method.:
> AxisFault
> faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> faultSubcode:
> faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix
> for 'http://uima.apache.org/analysis_engine'. Namespace prefixes must be
> set on the Definition object using the addNamespace(...) method.:
> faultActor:
> faultNode:
> faultDetail:
> When trying to connect to the service the following exception is thrown:
> org.apache.uima.resource.ResourceInitializationException: Error initializing "org.apache.uima.adapter.soap.SoapAnalysisEngineServiceAdapter" from descriptor file:/C:/Programme/apache-uima/examples/descriptors/soapService/NamesAndPersonTitlesService.xml.
> at org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:143)
> at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
> at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:258)
> at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:303)
> at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:383)
> at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.java:1529)
> at org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(MainFrame.java:524)
> at org.apache.uima.tools.cvd.control.AnnotatorOpenEventHandler.actionPerformed(AnnotatorOpenEventHandler.java:52)
> at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
> at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
> at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
> at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
> at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
> at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
> at java.awt.Component.processMouseEvent(Component.java:5517)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
> at java.awt.Component.processEvent(Component.java:5282)
> at java.awt.Container.processEvent(Container.java:1966)
> at java.awt.Component.dispatchEventImpl(Component.java:3984)
> at java.awt.Container.dispatchEventImpl(Container.java:2024)
> at java.awt.Component.dispatchEvent(Component.java:3819)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
> at java.awt.Container.dispatchEventImpl(Container.java:2010)
> at java.awt.Window.dispatchEventImpl(Window.java:1791)
> at java.awt.Component.dispatchEvent(Component.java:3819)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
> at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> Caused by: org.apache.uima.UIMARuntimeException
> at org.apache.uima.analysis_engine.service.impl.AnalysisEngineServiceAdapter.getMetaData(AnalysisEngineServiceAdapter.java:109)
> at org.apache.uima.resource.Resource_ImplBase.initialize(Resource_ImplBase.java:66)
> at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.initialize(AnalysisEngineImplBase.java:109)
> at org.apache.uima.adapter.soap.SoapAnalysisEngineServiceAdapter.initialize(SoapAnalysisEngineServiceAdapter.java:67)
> at org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:122)
> ... 33 more
> Caused by: org.apache.uima.resource.ResourceServiceException
> at org.apache.uima.adapter.soap.AxisResourceServiceStub.callGetMetaData(AxisResourceServiceStub.java:89)
> at org.apache.uima.analysis_engine.service.impl.AnalysisEngineServiceAdapter.getMetaData(AnalysisEngineServiceAdapter.java:105)
> ... 37 more
> Caused by: (500)Internal Server Error
> at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
> at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
> at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
> at org.apache.axis.client.Call.invoke(Call.java:2553)
> at org.apache.axis.client.Call.invoke(Call.java:2248)
> at org.apache.axis.client.Call.invoke(Call.java:2171)
> at org.apache.axis.client.Call.invoke(Call.java:1691)
> at org.apache.uima.adapter.soap.AxisResourceServiceStub.callGetMetaData(AxisResourceServiceStub.java:85)
> ... 38 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-906) SOAP deployment does not work properly
Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578673#action_12578673 ]
Michael Baessler commented on UIMA-906:
---------------------------------------
Seems that there is an axis version conflict. I used axis 1.1
java.lang.IncompatibleClassChangeError: org/apache/axis/encoding/SerializationContext.startElement(Ljavax/xml/namespace/QName;Lorg/xml/sax/Attributes;)V
at org.apache.uima.adapter.soap.axis11.XmlSerializer_Axis11.serialize(XmlSerializer_Axis11.java:62)
at org.apache.axis.encoding.SerializationContextImpl.serializeActual(SerializationContextImpl.java:1255)
at org.apache.axis.encoding.SerializationContextImpl.serialize(SerializationContextImpl.java:795)
at org.apache.axis.encoding.SerializationContextImpl.outputMultiRefs(SerializationContextImpl.java:866)
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:179)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:509)
at org.apache.axis.message.MessageElement.output(MessageElement.java:783)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:270)
at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:483)
at org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:375)
at org.apache.axis.Message.getContentType(Message.java:399)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:887)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:801)
Will try with axis 1.3
> SOAP deployment does not work properly
> --------------------------------------
>
> Key: UIMA-906
> URL: https://issues.apache.org/jira/browse/UIMA-906
> Project: UIMA
> Issue Type: Bug
> Components: Transport Adapters - SOAP, Vinci
> Affects Versions: 2.2.1
> Reporter: Michael Baessler
> Fix For: 2.2.2
>
>
> Deploying a SOAP service work fine and don't produce an exception, but when trying the get the metaData
> the following error is displayed in the Browser
> Fault - ; nested exception is:
> WSDLException: faultCode=OTHER_ERROR: Can't find prefix for
> 'http://uima.apache.org/analysis_engine'. Namespace prefixes must be set
> on the Definition object using the addNamespace(...) method.:
> AxisFault
> faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> faultSubcode:
> faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix
> for 'http://uima.apache.org/analysis_engine'. Namespace prefixes must be
> set on the Definition object using the addNamespace(...) method.:
> faultActor:
> faultNode:
> faultDetail:
> When trying to connect to the service the following exception is thrown:
> org.apache.uima.resource.ResourceInitializationException: Error initializing "org.apache.uima.adapter.soap.SoapAnalysisEngineServiceAdapter" from descriptor file:/C:/Programme/apache-uima/examples/descriptors/soapService/NamesAndPersonTitlesService.xml.
> at org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:143)
> at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
> at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:258)
> at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:303)
> at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:383)
> at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.java:1529)
> at org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(MainFrame.java:524)
> at org.apache.uima.tools.cvd.control.AnnotatorOpenEventHandler.actionPerformed(AnnotatorOpenEventHandler.java:52)
> at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
> at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
> at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
> at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
> at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
> at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
> at java.awt.Component.processMouseEvent(Component.java:5517)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
> at java.awt.Component.processEvent(Component.java:5282)
> at java.awt.Container.processEvent(Container.java:1966)
> at java.awt.Component.dispatchEventImpl(Component.java:3984)
> at java.awt.Container.dispatchEventImpl(Container.java:2024)
> at java.awt.Component.dispatchEvent(Component.java:3819)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
> at java.awt.Container.dispatchEventImpl(Container.java:2010)
> at java.awt.Window.dispatchEventImpl(Window.java:1791)
> at java.awt.Component.dispatchEvent(Component.java:3819)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
> at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> Caused by: org.apache.uima.UIMARuntimeException
> at org.apache.uima.analysis_engine.service.impl.AnalysisEngineServiceAdapter.getMetaData(AnalysisEngineServiceAdapter.java:109)
> at org.apache.uima.resource.Resource_ImplBase.initialize(Resource_ImplBase.java:66)
> at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.initialize(AnalysisEngineImplBase.java:109)
> at org.apache.uima.adapter.soap.SoapAnalysisEngineServiceAdapter.initialize(SoapAnalysisEngineServiceAdapter.java:67)
> at org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:122)
> ... 33 more
> Caused by: org.apache.uima.resource.ResourceServiceException
> at org.apache.uima.adapter.soap.AxisResourceServiceStub.callGetMetaData(AxisResourceServiceStub.java:89)
> at org.apache.uima.analysis_engine.service.impl.AnalysisEngineServiceAdapter.getMetaData(AnalysisEngineServiceAdapter.java:105)
> ... 37 more
> Caused by: (500)Internal Server Error
> at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
> at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
> at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
> at org.apache.axis.client.Call.invoke(Call.java:2553)
> at org.apache.axis.client.Call.invoke(Call.java:2248)
> at org.apache.axis.client.Call.invoke(Call.java:2171)
> at org.apache.axis.client.Call.invoke(Call.java:1691)
> at org.apache.uima.adapter.soap.AxisResourceServiceStub.callGetMetaData(AxisResourceServiceStub.java:85)
> ... 38 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.