Access remote bean with JNDI from remote system
by Karsten Ohme
Hi,
I want to access a Bean remotely (with JNDI). So I thought I could
access in on the client with:
Properties env = new Properties();
env.put(Context.PROVIDER_URL, "jnp://myserver:1099");
Context jndiContext = new InitialContext(env);
jndiContext.lookup(...);
If I do a port scan on "myserver" the JNDI port 1099 does not show up. I
thought this is the default port. What do I have to do the get access
the remote bean?
Is there somewhere a documentation how to access JNDI resources from
another system?
Regards,
Karsten
16 years, 8 months
[JBoss AOP] - Re: duplicate method: _getAdvisor
by flavia.rainone@jboss.com
Ryan,
Help is always welcome :)
We are going to need to reproduce the error, so we can test our fix. Is it enough trying to intercept a simple example of hibernate? Or is there any aditional step we must follow to reproduce it?
Second, in the mean time, wouldn't it be enough to use the "jboss.aop.exclude" system property? This property allows you to specify one or more class patterns (separated by commas, without wildcards). Every class that matches one of the exclude patterns won't be instrumented by JBoss AOP, thus avoiding the error.
An example would be jboss.aop.exclude=$$_javassist
If you are using JBoss AS, you can set the exclude property by editing jboss-aop-jdk50.deployer/META-INF/jboss-service.xml. If your app is standalone, just define this property as you do with any java system property.
Let me know if this solves your problem until we fix the bug.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109489#4109489
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109489
17 years