I want to access a Bean remotely (with JNDI). So I thought I could
access in on the client with:
Properties env = new Properties();
Context jndiContext = new InitialContext(env);
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
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
Huh, interesting. Although, unfortunately it's not finding the PortletBridge even with the correct package in portlet.xml:
Gave me this error:
anonymous wrote : 18:07:53,906 ERROR [STDERR] org.jboss.portal.portlet.container.PortletInitializationException: Portlet class not found org.portletbridge.portlet.PortletBridgePortlet
I tried a number of permutations, but with no better luck. Any other ideas?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109482#4109482
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109482