Hi,
I still have problems with dynamic class loading. It worked with
Beta-Prod-03 but with 04 it doesn't work anymore.
That's what I have done so far:
- call java.rmi.RMISecurityManager in client
- put jta-spec1_0_1.jar jboss-client.jar ejb.jar and jnp-client.jar into
/lib/ext of my JDK
- manually edit ContainerFactory to enable the WebService MBean
- codebase is set to http://machine:8083
My TestClient calls a context.list("") on the InitialContext and shows
the JNDI name for all Beans.
But: if the TestClient does something like "Object o =
ctx.lookup("myBean");" it receives a ClassNotFoundException for the
HomeInterface of the Bean.
The JBoss WebServer is never called.
I have changed the codebase to http://machine:80/ and installed Apache
to deliver the Class Files, but Apache is never called too.
The configuration of this feature is tricky but it's very useful. Can
someone test it with Beta-Prod-04 ?
regards,
Tobias
Rickard �berg wrote:
>
> Hi!
>
> Alexander Kogan wrote:
> > I'm doing similar thing to download home and remote
> > interfaces for my beans from the server. It works.
> >
> > But, I'm using regular SecurityManager instead of
> > RMISecurityManager and I have all jboss-client jars
> > and jndi.properties in the client classpath.
>
> SecurityManager==RMISecurityManager. RSM is just a subclass of SM with
> no changes.
>
> As of today you don't need jboss-client.jar in client if you're using
> DCL.
>
> > If you can send me your hack to WebServer, I'll check
> > the situation more precisely.
>
> You don't have to hack it. Simply change
> /conf/default/jnp.properties,"jnp.log" to "true".
>
> /Rickard
>
> --
> Rickard �berg
>
> Email: [EMAIL PROTECTED]
> http://www.telkel.com
> http://www.jboss.org
> http://www.dreambean.com
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]