Hi,
I know this an old problem but I haven't seen any real answer too it yet...
When running the Interest example (Win NT, Jboss + Tomcat), all is fine but
the strange errors in the middle of the output from the client:
-------------------------
C:\JBOSS_~3\JBOSS-~1.0-F\examples\interest>java -classpath
%CLASSPATH%;..\..\lib
\ext\ejb.jar;..\..\client\jboss-client.jar;. InterestClient
Got context
java.lang.NoSuchMethodException
at java.lang.Class.getMethod0(Native Method)
at java.lang.Class.getMethod(Unknown Source)
at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.<clinit>(HomeProxy.ja
va:56)
at java.io.ObjectInputStream.allocateNewObject(Native Method)
at java.io.ObjectInputStream.inputObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.inputClassFields(Unknown Source)
at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
at java.io.ObjectInputStream.inputObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.rmi.MarshalledObject.get(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:299)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:279)
at javax.naming.InitialContext.lookup(Unknown Source)
at InterestClient.main(InterestClient.java:44)
Got reference
Interest on 1000 units, at 10% per period, compounded over 2 periods is:
210.00000000000023
C:\JBOSS_~3\JBOSS-~1.0-F\examples\interest>
-----------------------
Note that the output from Jboss is OK:
"[Interest] Someone called `calculateCompoundInterest!'"
It seems like there is something wrong the lookup(), but I can't figure out
what...
Any clue?
Regards
/J�ns
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]