You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by yesnid <ns...@pelco.com> on 2009/02/05 17:22:59 UTC

What jar is ca.uhn.hl7v2.parser.Parser in?

Hello All,

I am getting a Class Not found Exception for:
ca.uhn.hl7v2.parser.Parser

what jar is this in?

Thank you,

Nick
-- 
View this message in context: http://www.nabble.com/What-jar-is-ca.uhn.hl7v2.parser.Parser-in--tp21855318s22882p21855318.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: What jar is ca.uhn.hl7v2.parser.Parser in?

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Its a dependency in the camel-hl7 component
http://camel.apache.org/hl7.html

The .jar is from the HAPI library
http://hl7api.sourceforge.net/

If you are using maven it should really be able to auto download those .jars.


On Thu, Feb 5, 2009 at 5:22 PM, yesnid <ns...@pelco.com> wrote:
>
> Hello All,
>
> I am getting a Class Not found Exception for:
> ca.uhn.hl7v2.parser.Parser
>
> what jar is this in?
>
> Thank you,
>
> Nick
> --
> View this message in context: http://www.nabble.com/What-jar-is-ca.uhn.hl7v2.parser.Parser-in--tp21855318s22882p21855318.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/

Re: What jar is ca.uhn.hl7v2.parser.Parser in?

Posted by Willem Jiang <wi...@gmail.com>.
Yes, it is important to support load the camel component dynamically.
Maybe we need to change the META-INF files to put the schema, language,
typeconverts into the component files.

Willem

Claus Ibsen wrote:
> On Thu, Feb 12, 2009 at 7:19 AM, Willem Jiang <wi...@gmail.com> wrote:
>> How about just loading the converter when the component is load?
>> Since the component is loaded when the camel context need it, it will
>> help us to avoid the annoying class load error.
> I assume he gets this issue since he just adds all the camel-xxx.jars
> in the classpath.
> 
> So if he removes camel-hl7.jar then the problem disappears.
> 
> Would make sense to be able to load a component in isolation so it will register
> - scheme
> - type converters
> - languages
> - etc. etc.
> 
> We might wanna take a look at this in the future. Hadrian would also
> like components to be able to add:
> - dynamic DSL
> 
> So somekind of architecture for loading components on the fly is
> probably what we gonna look at in the long run
> 
> 
>> Willem
>>
>> Willem Jiang wrote:
>>> Hi,
>>>
>>> I doubt it is caused by using the bundle jar.
>>> I just checked the camel-hl7 codes, it has a HL7Converter, according to
>>> current camel implementation, it will try to load the converter when the
>>> camel context start.
>>> Since there is no hapi jar, the Class Not found Exception will be thrown.
>>>
>>> So I suggest to remove the camel-hl7 jar from the the bundle jar.
>>>
>>> Any thought?
>>>
>>>
>>> Willem
>>>
>>> Hadrian Zbarcea wrote:
>>>> Hi,
>>>>
>>>> I believe it's from hapi [1], and it's used by camel-hl7 which seems to
>>>> be on your classpath.  If you don't need it, make sure camel-hl7 is not
>>>> on your classpath, otherwise add hapi to your classpath.
>>>>
>>>> Cheers
>>>> Hadrian
>>>>
>>>>
>>>> [1] http://hl7api.sourceforge.net/
>>>>
>>>> On Feb 11, 2009, at 11:50 AM, yesnid wrote:
>>>>
>>>>> Not that I am aware of. :)
>>>>>
>>>>>
>>>>>
>>>>> cmoulliard wrote:
>>>>>> Hi,
>>>>>>
>>>>>> Are you using the camel - component HL7 ?
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Charles
>>>>>>
>>>>>>
>>>>>> yesnid wrote:
>>>>>>> Hello All,
>>>>>>>
>>>>>>> I am getting a Class Not found Exception for:
>>>>>>> ca.uhn.hl7v2.parser.Parser
>>>>>>>
>>>>>>> what jar is this in?
>>>>>>>
>>>>>>> Thank you,
>>>>>>>
>>>>>>> Nick
>>>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/What-jar-is-ca.uhn.hl7v2.parser.Parser-in--tp21855318s22882p21958256.html
>>>>>
>>>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>>>
>>>
>>
> 
> 
> 


Re: What jar is ca.uhn.hl7v2.parser.Parser in?

Posted by Claus Ibsen <cl...@gmail.com>.
On Thu, Feb 12, 2009 at 7:19 AM, Willem Jiang <wi...@gmail.com> wrote:
> How about just loading the converter when the component is load?
> Since the component is loaded when the camel context need it, it will
> help us to avoid the annoying class load error.
I assume he gets this issue since he just adds all the camel-xxx.jars
in the classpath.

So if he removes camel-hl7.jar then the problem disappears.

Would make sense to be able to load a component in isolation so it will register
- scheme
- type converters
- languages
- etc. etc.

We might wanna take a look at this in the future. Hadrian would also
like components to be able to add:
- dynamic DSL

So somekind of architecture for loading components on the fly is
probably what we gonna look at in the long run


>
> Willem
>
> Willem Jiang wrote:
>> Hi,
>>
>> I doubt it is caused by using the bundle jar.
>> I just checked the camel-hl7 codes, it has a HL7Converter, according to
>> current camel implementation, it will try to load the converter when the
>> camel context start.
>> Since there is no hapi jar, the Class Not found Exception will be thrown.
>>
>> So I suggest to remove the camel-hl7 jar from the the bundle jar.
>>
>> Any thought?
>>
>>
>> Willem
>>
>> Hadrian Zbarcea wrote:
>>> Hi,
>>>
>>> I believe it's from hapi [1], and it's used by camel-hl7 which seems to
>>> be on your classpath.  If you don't need it, make sure camel-hl7 is not
>>> on your classpath, otherwise add hapi to your classpath.
>>>
>>> Cheers
>>> Hadrian
>>>
>>>
>>> [1] http://hl7api.sourceforge.net/
>>>
>>> On Feb 11, 2009, at 11:50 AM, yesnid wrote:
>>>
>>>> Not that I am aware of. :)
>>>>
>>>>
>>>>
>>>> cmoulliard wrote:
>>>>> Hi,
>>>>>
>>>>> Are you using the camel - component HL7 ?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Charles
>>>>>
>>>>>
>>>>> yesnid wrote:
>>>>>> Hello All,
>>>>>>
>>>>>> I am getting a Class Not found Exception for:
>>>>>> ca.uhn.hl7v2.parser.Parser
>>>>>>
>>>>>> what jar is this in?
>>>>>>
>>>>>> Thank you,
>>>>>>
>>>>>> Nick
>>>>>>
>>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/What-jar-is-ca.uhn.hl7v2.parser.Parser-in--tp21855318s22882p21958256.html
>>>>
>>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>>
>>>
>>
>>
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/

Re: What jar is ca.uhn.hl7v2.parser.Parser in?

Posted by Willem Jiang <wi...@gmail.com>.
How about just loading the converter when the component is load?
Since the component is loaded when the camel context need it, it will
help us to avoid the annoying class load error.

Willem

Willem Jiang wrote:
> Hi,
> 
> I doubt it is caused by using the bundle jar.
> I just checked the camel-hl7 codes, it has a HL7Converter, according to
> current camel implementation, it will try to load the converter when the
> camel context start.
> Since there is no hapi jar, the Class Not found Exception will be thrown.
> 
> So I suggest to remove the camel-hl7 jar from the the bundle jar.
> 
> Any thought?
> 
> 
> Willem
> 
> Hadrian Zbarcea wrote:
>> Hi,
>>
>> I believe it's from hapi [1], and it's used by camel-hl7 which seems to
>> be on your classpath.  If you don't need it, make sure camel-hl7 is not
>> on your classpath, otherwise add hapi to your classpath.
>>
>> Cheers
>> Hadrian
>>
>>
>> [1] http://hl7api.sourceforge.net/
>>
>> On Feb 11, 2009, at 11:50 AM, yesnid wrote:
>>
>>> Not that I am aware of. :)
>>>
>>>
>>>
>>> cmoulliard wrote:
>>>> Hi,
>>>>
>>>> Are you using the camel - component HL7 ?
>>>>
>>>> Regards,
>>>>
>>>> Charles
>>>>
>>>>
>>>> yesnid wrote:
>>>>> Hello All,
>>>>>
>>>>> I am getting a Class Not found Exception for:
>>>>> ca.uhn.hl7v2.parser.Parser
>>>>>
>>>>> what jar is this in?
>>>>>
>>>>> Thank you,
>>>>>
>>>>> Nick
>>>>>
>>>>
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/What-jar-is-ca.uhn.hl7v2.parser.Parser-in--tp21855318s22882p21958256.html
>>>
>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>
>>
> 
> 


Re: What jar is ca.uhn.hl7v2.parser.Parser in?

Posted by Willem Jiang <wi...@gmail.com>.
How about just loading the converter when the component is load?
Since the component is loaded when the camel context need it, it will
help us to avoid the annoying class load error.

Willem

Willem Jiang wrote:
> Hi,
> 
> I doubt it is caused by using the bundle jar.
> I just checked the camel-hl7 codes, it has a HL7Converter, according to
> current camel implementation, it will try to load the converter when the
> camel context start.
> Since there is no hapi jar, the Class Not found Exception will be thrown.
> 
> So I suggest to remove the camel-hl7 jar from the the bundle jar.
> 
> Any thought?
> 
> 
> Willem
> 
> Hadrian Zbarcea wrote:
>> Hi,
>>
>> I believe it's from hapi [1], and it's used by camel-hl7 which seems to
>> be on your classpath.  If you don't need it, make sure camel-hl7 is not
>> on your classpath, otherwise add hapi to your classpath.
>>
>> Cheers
>> Hadrian
>>
>>
>> [1] http://hl7api.sourceforge.net/
>>
>> On Feb 11, 2009, at 11:50 AM, yesnid wrote:
>>
>>> Not that I am aware of. :)
>>>
>>>
>>>
>>> cmoulliard wrote:
>>>> Hi,
>>>>
>>>> Are you using the camel - component HL7 ?
>>>>
>>>> Regards,
>>>>
>>>> Charles
>>>>
>>>>
>>>> yesnid wrote:
>>>>> Hello All,
>>>>>
>>>>> I am getting a Class Not found Exception for:
>>>>> ca.uhn.hl7v2.parser.Parser
>>>>>
>>>>> what jar is this in?
>>>>>
>>>>> Thank you,
>>>>>
>>>>> Nick
>>>>>
>>>>
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/What-jar-is-ca.uhn.hl7v2.parser.Parser-in--tp21855318s22882p21958256.html
>>>
>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>
>>
> 
> 


Re: What jar is ca.uhn.hl7v2.parser.Parser in?

Posted by Willem Jiang <wi...@gmail.com>.
Hi,

I doubt it is caused by using the bundle jar.
I just checked the camel-hl7 codes, it has a HL7Converter, according to
current camel implementation, it will try to load the converter when the
camel context start.
Since there is no hapi jar, the Class Not found Exception will be thrown.

So I suggest to remove the camel-hl7 jar from the the bundle jar.

Any thought?


Willem

Hadrian Zbarcea wrote:
> Hi,
> 
> I believe it's from hapi [1], and it's used by camel-hl7 which seems to
> be on your classpath.  If you don't need it, make sure camel-hl7 is not
> on your classpath, otherwise add hapi to your classpath.
> 
> Cheers
> Hadrian
> 
> 
> [1] http://hl7api.sourceforge.net/
> 
> On Feb 11, 2009, at 11:50 AM, yesnid wrote:
> 
>>
>> Not that I am aware of. :)
>>
>>
>>
>> cmoulliard wrote:
>>>
>>> Hi,
>>>
>>> Are you using the camel - component HL7 ?
>>>
>>> Regards,
>>>
>>> Charles
>>>
>>>
>>> yesnid wrote:
>>>>
>>>> Hello All,
>>>>
>>>> I am getting a Class Not found Exception for:
>>>> ca.uhn.hl7v2.parser.Parser
>>>>
>>>> what jar is this in?
>>>>
>>>> Thank you,
>>>>
>>>> Nick
>>>>
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/What-jar-is-ca.uhn.hl7v2.parser.Parser-in--tp21855318s22882p21958256.html
>>
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
> 
> 


Re: What jar is ca.uhn.hl7v2.parser.Parser in?

Posted by Hadrian Zbarcea <hz...@gmail.com>.
Hi,

I believe it's from hapi [1], and it's used by camel-hl7 which seems  
to be on your classpath.  If you don't need it, make sure camel-hl7 is  
not on your classpath, otherwise add hapi to your classpath.

Cheers
Hadrian


[1] http://hl7api.sourceforge.net/

On Feb 11, 2009, at 11:50 AM, yesnid wrote:

>
> Not that I am aware of. :)
>
>
>
> cmoulliard wrote:
>>
>> Hi,
>>
>> Are you using the camel - component HL7 ?
>>
>> Regards,
>>
>> Charles
>>
>>
>> yesnid wrote:
>>>
>>> Hello All,
>>>
>>> I am getting a Class Not found Exception for:
>>> ca.uhn.hl7v2.parser.Parser
>>>
>>> what jar is this in?
>>>
>>> Thank you,
>>>
>>> Nick
>>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/What-jar-is-ca.uhn.hl7v2.parser.Parser-in--tp21855318s22882p21958256.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>


Re: What jar is ca.uhn.hl7v2.parser.Parser in?

Posted by yesnid <ns...@pelco.com>.
Not that I am aware of. :)



cmoulliard wrote:
> 
> Hi,
> 
> Are you using the camel - component HL7 ?
> 
> Regards,
> 
> Charles
> 
> 
> yesnid wrote:
>> 
>> Hello All,
>> 
>> I am getting a Class Not found Exception for:
>> ca.uhn.hl7v2.parser.Parser
>> 
>> what jar is this in?
>> 
>> Thank you,
>> 
>> Nick
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/What-jar-is-ca.uhn.hl7v2.parser.Parser-in--tp21855318s22882p21958256.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: What jar is ca.uhn.hl7v2.parser.Parser in?

Posted by cmoulliard <cm...@gmail.com>.
Hi,

Are you using the camel - component HL7 ?

Regards,

Charles


yesnid wrote:
> 
> Hello All,
> 
> I am getting a Class Not found Exception for:
> ca.uhn.hl7v2.parser.Parser
> 
> what jar is this in?
> 
> Thank you,
> 
> Nick
> 


-----
Charles Moulliard
SOA Architect

My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: http://www.nabble.com/What-jar-is-ca.uhn.hl7v2.parser.Parser-in--tp21855318s22882p21951939.html
Sent from the Camel - Users mailing list archive at Nabble.com.