You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Claus Ibsen (Created) (JIRA)" <ji...@apache.org> on 2011/11/14 09:08:51 UTC
[jira] [Created] (SMX4-964) HAPI osgi bundle is flawed
HAPI osgi bundle is flawed
--------------------------
Key: SMX4-964
URL: https://issues.apache.org/jira/browse/SMX4-964
Project: ServiceMix 4
Issue Type: Task
Components: Bundles
Reporter: Claus Ibsen
The HAPI bundle at
http://repo2.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.hapi/0.5.1_5/
Is flawed. For example it imports many of the packages it exports, which it should not do.
Likewise I added an unit test to Camel OSGi tests that uses the API from HAPI and it fails.
http://svn.apache.org/viewvc?rev=1201623&view=rev
You get exceptions like this
{code}
Caused by: java.lang.NoSuchMethodError: ca.uhn.hl7v2.model.v24.datatype.HD.getHd1_NamespaceID()Lca/uhn/hl7v2/model/v24/datatype/IS;
at org.apache.camel.itest.osgi.hl7.HL7MLLPCodec2Test.process(HL7MLLPCodec2Test.java:67)
at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (SMX4-964) HAPI osgi bundle is flawed
Posted by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMX4-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved SMX4-964.
------------------------------
Resolution: Duplicate
Duplicated by SMX4-965
> HAPI osgi bundle is flawed
> --------------------------
>
> Key: SMX4-964
> URL: https://issues.apache.org/jira/browse/SMX4-964
> Project: ServiceMix 4
> Issue Type: Task
> Components: Bundles
> Reporter: Claus Ibsen
>
> The HAPI bundle at
> http://repo2.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.hapi/0.5.1_5/
> Is flawed. For example it imports many of the packages it exports, which it should not do.
> Likewise I added an unit test to Camel OSGi tests that uses the API from HAPI and it fails.
> http://svn.apache.org/viewvc?rev=1201623&view=rev
> You get exceptions like this
> {code}
> Caused by: java.lang.NoSuchMethodError: ca.uhn.hl7v2.model.v24.datatype.HD.getHd1_NamespaceID()Lca/uhn/hl7v2/model/v24/datatype/IS;
> at org.apache.camel.itest.osgi.hl7.HL7MLLPCodec2Test.process(HL7MLLPCodec2Test.java:67)
> at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SMX4-964) HAPI osgi bundle is flawed
Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMX4-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149497#comment-13149497 ]
Claus Ibsen commented on SMX4-964:
----------------------------------
Yeah I was trying the 1.0.1 osgi bundle they have, but couldn't download it remotely.
Seems JIRA created a duplicate, in SMX4-965. Can we continue discussing there.
> HAPI osgi bundle is flawed
> --------------------------
>
> Key: SMX4-964
> URL: https://issues.apache.org/jira/browse/SMX4-964
> Project: ServiceMix 4
> Issue Type: Task
> Components: Bundles
> Reporter: Claus Ibsen
>
> The HAPI bundle at
> http://repo2.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.hapi/0.5.1_5/
> Is flawed. For example it imports many of the packages it exports, which it should not do.
> Likewise I added an unit test to Camel OSGi tests that uses the API from HAPI and it fails.
> http://svn.apache.org/viewvc?rev=1201623&view=rev
> You get exceptions like this
> {code}
> Caused by: java.lang.NoSuchMethodError: ca.uhn.hl7v2.model.v24.datatype.HD.getHd1_NamespaceID()Lca/uhn/hl7v2/model/v24/datatype/IS;
> at org.apache.camel.itest.osgi.hl7.HL7MLLPCodec2Test.process(HL7MLLPCodec2Test.java:67)
> at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SMX4-964) HAPI osgi bundle is flawed
Posted by "Andreas Pieber (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMX4-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149496#comment-13149496 ]
Andreas Pieber commented on SMX4-964:
-------------------------------------
hey Claus, just a blind guess but wouldn't do it the osgi bundle provided by the hapi team itself?
> HAPI osgi bundle is flawed
> --------------------------
>
> Key: SMX4-964
> URL: https://issues.apache.org/jira/browse/SMX4-964
> Project: ServiceMix 4
> Issue Type: Task
> Components: Bundles
> Reporter: Claus Ibsen
>
> The HAPI bundle at
> http://repo2.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.hapi/0.5.1_5/
> Is flawed. For example it imports many of the packages it exports, which it should not do.
> Likewise I added an unit test to Camel OSGi tests that uses the API from HAPI and it fails.
> http://svn.apache.org/viewvc?rev=1201623&view=rev
> You get exceptions like this
> {code}
> Caused by: java.lang.NoSuchMethodError: ca.uhn.hl7v2.model.v24.datatype.HD.getHd1_NamespaceID()Lca/uhn/hl7v2/model/v24/datatype/IS;
> at org.apache.camel.itest.osgi.hl7.HL7MLLPCodec2Test.process(HL7MLLPCodec2Test.java:67)
> at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira