Kamanja model dependency issues

10 views
Skip to first unread message

Bijeet Singh

unread,
Jan 5, 2016, 7:03:03 AM1/5/16
to kamanja
Hi, 

I am trying to use a java model, which is dependent on a jar say, X.jar. But, the "add model" step fails while instantiating the ModelInstanceFactory, with a message that - class say, Y could not be found.  The class Y however is in jar X.jar. 

I've added X.jar in the CLASSPATH in MetadataAPIConfig.properties. And have also added the dependency in  Model_Config.json as - 

{

    "HelloWorldModel": {

        "Dependencies": [

            "kamanjabase_2.10-1.0.jar","X.jar"

        ],

        "MessageAndContainers": [

            "com.ligadata.kamanja.samples.messages.msg1"

        ]

    }

I'm using Kamanja-1.2, and the setup is on Mac. Please help in resolving this.

Thanks,

Bijeet


Samer Alkhateeb

unread,
Jan 5, 2016, 7:29:11 AM1/5/16
to Bijeet Singh, kamanja
Hi,

We'll look into it and keep you posted.

Thanks,
Samer
This email has been sent from a virus-free computer protected by Avast.
www.avast.com

--
You received this message because you are subscribed to the Google Groups "kamanja" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kamanja+u...@ligadata.com.
To post to this group, send email to kam...@ligadata.com.
Visit this group at https://groups.google.com/a/ligadata.com/group/kamanja/.

Ahmad Ahed Abu Dayyah

unread,
Jan 5, 2016, 2:32:45 PM1/5/16
to kam...@ligadata.com, sa...@ligadata.com, bijee...@gmail.com
Hi Bijeet , 

This was an open issue in github https://github.com/ligaDATA/Kamanja/pull/822 and it solved in the next release 
I am not able to reproduce it with  the latest release .

Thanks,
Ahmed

On Tue, Jan 5, 2016 at 4:29 AM, Samer Alkhateeb <sa...@ligadata.com> wrote:
Hi,

We'll look into it and keep you posted.

Thanks,
Samer
This email has been sent from a virus-free computer protected by Avast.
www.avast.com
On Tue, Jan 5, 2016 at 2:03 PM, Bijeet Singh <bijee...@gmail.com> wrote:
Hi, 

I am trying to use a java model, which is dependent on a jar say, X.jar. But, the "add model" step fails while instantiating the ModelInstanceFactory, with a message that - class say, Y could not be found.  The class Y however is in jar X.jar. 

I've added X.jar in the CLASSPATH in MetadataAPIConfig.properties. And have also added the dependency in  Model_Config.json as - 

{

    "HelloWorldModel": {

        "Dependencies": [

            "kamanjabase_2.10-1.0.jar","X.jar"

        ],

        "MessageAndContainers": [

            "com.ligadata.kamanja.samples.messages.msg1"

        ]

    }

I'm using Kamanja-1.2, and the setup is on Mac. Please help in resolving this.

Thanks,

Bijeet


--
You received this message because you are subscribed to the Google Groups "kamanja" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kamanja+unsubscribe@ligadata.com.

To post to this group, send email to kam...@ligadata.com.
Visit this group at https://groups.google.com/a/ligadata.com/group/kamanja/.

--
You received this message because you are subscribed to the Google Groups "kamanja" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kamanja+unsubscribe@ligadata.com.
Reply all
Reply to author
Forward
0 new messages