Hi,

We have problems with EJB clustering on JRun4.
Here's our environment
- JRun4 (Build 68417)
- Windows 2000 and Windows NT 4.
- IIS 5
We've try to cluster our application that containing several EJB's and
one Web app.
We are able to create the cluster for our application, but when we try
to run the clustered sever
we encounter 2 problems:

1. We used the cluster deployment so we put the ear file under folder
SERVER-INF\cluster.
On our EJB's jar file we add additional jar using the classpath entry
on our manifest,
It seems JRun4 does not load the additional jar file, is this a bug ?
cause we know
JRun4 also has this problem when deploying the standard (Not Cluster)
on Linux.
For workaround this problem we manually put additional jar files
under folder SERVER-INF\temp

2. Second problem is our EJB use another EJB on the same application,
and it can not instatiated the
remote object of the EJB from the home object of the EJB.
The same application we deploy on JBoss with cluster and it works fine.
Is there something we forgot to set? so the EJB can create the remote
object of the EJB.
Here is the error message :

java.lang.ClassNotFoundException: com.dao.ejb.DAOFactoryRemote (no
security manager: RMI class loader disabled)
      at
sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:521)
      at
java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:639)
      at
java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:309)
      at
sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:241)
      at
java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1469)
      at
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1432)
      at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
      at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
      at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
      at jrunx.rmi.Invocation.unmarshall(Invocation.java:420)
      at jrunx.rmi.Invocation.getMethodResult(Invocation.java:252)
      at
jrunx.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:185)
      at
jrun.ejb.invocation.ClientInvocationHandlerImpl.invoke(ClientInvocationHandlerImpl.java:215)
      at $Proxy3.create(Unknown Source)
      at com.analyzer.AnalyzerEngineMDB.<init>(AnalyzerEngineMDB.java:81)
      at
sun.reflect.GeneratedConstructorAccessor53.newInstance(Unknown Source)
      at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      at java.lang.Class.newInstance0(Class.java:306)
      at java.lang.Class.newInstance(Class.java:259)
      at
jrun.ejb.MessageDrivenInstanceFactory.createInstance(MessageDrivenInstanceFactory.java:145)
      at jrun.ejb.EJBFactory.createPooledInstance(EJBFactory.java:37)
      at jrun.ejb.SimpleInstancePool.run(SimpleInstancePool.java:186)
      at
jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:223)
      at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
      at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
      

Please help us on this problems, any helps and comments would be
appreciated.

Regards,

Alex
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to