Has anyone tried lime on j2sdk1.4?
It seems there is a compatibility issue. The one I found is that the classloader seemed not able to find local agent class files. You may try to launch the InteractiveAgent in the lime example directory to see the case.
Attached below is a running trace on my computer.
Any comments on fix?
Thanks,
-Qingfeng
--------------------------------------------------------------
D:\java\lime\examples>dir
Volume in drive D has no label.
Volume Serial Number is E007-A01D
D:\java\lime\examples>java lime.util.Launcher -load InteractiveAgent
Lime:Factory set to lights.adapters.builtin.TupleSpaceFactory
Lime:Lime server srl15l4f911:1973 activated
Lime:Listening for agents
Problems in loading an agent:
lime.AgentCreationException: Impossible to find some of the agent classes.: java
.lang.ClassNotFoundException: InteractiveAgent
D:\java\lime\examples>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On what platform do you get the error? I used to experience some problems (not necessarily this one) with the 1.4beta under Windoze, but they appeared to be fixed under the final release.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was using Java 1.4 on my PC and laptop when testing LimeLite and found compatibility issues with Java version 1.3 on Tom's laptop running MacOS X. When the Mac attempted to read an object from an ObjectInputStream it would sometimes throw an InvalidClassException and other times an IOException.
While this does not directly relate to your problem, I just thought it worth pointing out. I ended up downgraded both PCs back to version 1.3.1_3 for the sake of compatiblity with version 1.3 on OSX. If only they would come out with version 1.4 for OSX....
With regards to your problem, have you tried adding a -classpath "." as an argument to java? I have not had problems loading agents in Lime using Java version 1.4 on a single PC running Windows 2000 and Windows XP.
Liang
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Has anyone tried lime on j2sdk1.4?
It seems there is a compatibility issue. The one I found is that the classloader seemed not able to find local agent class files. You may try to launch the InteractiveAgent in the lime example directory to see the case.
Attached below is a running trace on my computer.
Any comments on fix?
Thanks,
-Qingfeng
--------------------------------------------------------------
D:\java\lime\examples>dir
Volume in drive D has no label.
Volume Serial Number is E007-A01D
Directory of D:\java\lime\examples
05/30/2002 12:53p <DIR> .
05/30/2002 12:53p <DIR> ..
11/14/2001 02:21p 5,798 #InteractiveMonitorAgent.java#
05/30/2002 12:53p <DIR> Chat
05/30/2002 12:53p <DIR> CVS
01/07/2002 03:44p 1,098 InteractiveAgent.class
07/31/2001 06:02p 836 InteractiveAgent.java
07/31/2001 06:02p 1,212 InteractiveMobileAgent.java
08/05/2001 03:36p 5,798 InteractiveMonitorAgent.java
10/27/2000 10:18a 7,503 McastTest.java
05/30/2002 12:53p <DIR> RedRover
05/30/2002 12:53p <DIR> RoamingJigsaw
09/17/2001 12:11p 2,654 SimpleLime.java
09/10/2001 05:37p 16,581 WeakProbeLimeTupleSpace.java
8 File(s) 41,480 bytes
6 Dir(s) 36,314,071,040 bytes free
D:\java\lime\examples>java lime.util.Launcher -load InteractiveAgent
Lime:Factory set to lights.adapters.builtin.TupleSpaceFactory
Lime:Lime server srl15l4f911:1973 activated
Lime:Listening for agents
Problems in loading an agent:
lime.AgentCreationException: Impossible to find some of the agent classes.: java
.lang.ClassNotFoundException: InteractiveAgent
D:\java\lime\examples>
On what platform do you get the error? I used to experience some problems (not necessarily this one) with the 1.4beta under Windoze, but they appeared to be fixed under the final release.
I was using Java 1.4 on my PC and laptop when testing LimeLite and found compatibility issues with Java version 1.3 on Tom's laptop running MacOS X. When the Mac attempted to read an object from an ObjectInputStream it would sometimes throw an InvalidClassException and other times an IOException.
While this does not directly relate to your problem, I just thought it worth pointing out. I ended up downgraded both PCs back to version 1.3.1_3 for the sake of compatiblity with version 1.3 on OSX. If only they would come out with version 1.4 for OSX....
With regards to your problem, have you tried adding a -classpath "." as an argument to java? I have not had problems loading agents in Lime using Java version 1.4 on a single PC running Windows 2000 and Windows XP.
Liang