Thanks for your reply. I tried your list and I get the following exception:
com.ansis.timetracker.server.exception.TTRuntimeException: Error looking up ActivityTrackerBeanRemote:
at com.ansis.timetracker.client.ClientActivator.getActivityTrackerBean(ClientActivator.java:923)
at com.ansis.timetracker.client.ClientActivator.lookup(ClientActivator.java:902)
at com.ansis.timetracker.client.ClientActivator.access$12(ClientActivator.java:896)
at com.ansis.timetracker.client.ClientActivator$6.executeServerCommand(ClientActivator.java:767)
at com.ansis.timetracker.client.core.Operation.run(Operation.java:59)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: javax.naming.NamingException: Lookup failed for 'java:global/com.ansis.timetracker.server/timetracker-ejb/ActivityTrackerBean' in SerialContext targetHost=localhost,targetPort=30037,orb'sInitialHost=localhost,orb'sInitialPort=3700 [Root exception is javax.naming.NamingException: ejb ref resolution error for remote business interfacecom.ansis.timetracker.server.session.remote.ActivityTrackerBeanRemote [Root exception is java.lang.RuntimeException: Could not invoke defineClass!]]
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:442)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.ansis.timetracker.client.ClientActivator.getActivityTrackerBean(ClientActivator.java:921)
... 5 moreLog [Thu May 20 20:52:19 CEST 2010]: 1delay value in delayNextTry: 60000
Caused by: javax.naming.NamingException: ejb ref resolution error for remote business interfacecom.ansis.timetracker.server.session.remote.ActivityTrackerBeanRemote [Root exception is java.lang.RuntimeException: Could not invoke defineClass!]
at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:430)
at com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:70)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at com.sun.enterprise.naming.impl.SerialContext.getObjectInstance(SerialContext.java:472)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:437)
... 7 more
Caused by: java.lang.RuntimeException: Could not invoke defineClass!
at com.sun.corba.ee.impl.orbutil.codegen.CodeGeneratorUtil.makeClass(CodeGeneratorUtil.java:98)
at com.sun.corba.ee.spi.orbutil.codegen.Wrapper._generate(Wrapper.java:1102)
at com.sun.corba.ee.spi.orbutil.codegen.Wrapper._generate(Wrapper.java:1086)
at com.sun.ejb.EJBUtils.generateAndLoad(EJBUtils.java:586)
at com.sun.ejb.EJBUtils.loadGeneratedGenericEJBHomeClass(EJBUtils.java:538)
at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:399)
... 11 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.corba.ee.impl.orbutil.codegen.CodeGeneratorUtil.makeClass(CodeGeneratorUtil.java:95)
... 16 more
Caused by: java.lang.LinkageError: loader (instance of org/eclipse/core/runtime/internal/adaptor/ContextFinder): attempted duplicate class definition for name: "com/sun/ejb/codegen/GenericEJBHome_Generated"
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
... 21 more
If I add transaction-internal-api.jar, then I get CORBA.NO_PERMISSION for the first lookup, then same as above. It's really quite strange.
Is you standalone client running on Eclipse or NetBeans or just Java SE?
[Message sent by forum member 'ansis']
http://forums.java.net/jive/thread.jspa?messageID=470756