Erik,

Your suspicions were correct. I was able to make your example run with
javassist 2.6. My comment below did not make a difference.

Thanks.

Naresh Sikha


-----Original Message-----
From: Sikha, Naresh 
Sent: Tuesday, July 06, 2004 4:54 PM
To: '[email protected]'
Subject: RE: Can't get most simple example to work


Erik,

I believe the error belies the real problem - an incomplete dependency class
path.

Grab the latest Jakarta Commons Lang and Jakarta ORO packages, place them in
you lib directory and rerun. Things should work.

Cheers.

Naresh Sikha


-----Original Message-----
From: Erik Rasmussen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 06, 2004 2:35 PM
To: [email protected]
Subject: Can't get most simple example to work


First of all, I can't see anywhere to actually obtain
the calculator example, so I've constructed what I
think to be the simplest example based on what I
understand from the online tutorials.

I'm getting:

Exception in thread "main"
org.apache.hivemind.ApplicationRuntimeException:
Unable to create class $SingletonProxy_fd964a7359_0:
javassist.ClassPool.write(Ljava/lang/String;)[B
        at
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonP
roxy(Unknown
Source)
        at
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getService(Unkno
wn
Source)
        at org.apache.hivemind.impl.ServicePointImpl.getService(Unknown
Source)
        at org.apache.hivemind.impl.ServicePointImpl.getService(Unknown
Source)
        at
org.apache.hivemind.impl.RegistryImpl.getService(Unknown
Source)
        at
org.apache.hivemind.impl.RegistryImpl.startup(Unknown
Source)
        at
org.apache.hivemind.impl.RegistryBuilder.constructRegistry(Unknown
Source)
        at
org.apache.hivemind.impl.RegistryBuilder.constructDefaultRegistry(Unknown
Source)

The example I've created is here:
http://www.erik-rasmussen.com/hivemind/simple-hivemind-example.tar.gz
(602K)

Either I'm missing something, or I'm not using
compatible jars (maybe I need an older version of javassist.jar?).

Thanks for any help you can provide,
Erik


        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to