Search
Calendar
June 2017
S M T W T F S
« Sep    
 123
45678910
11121314151617
18192021222324
252627282930  
Your widget title
Archives

Posts Tagged ‘long tweet’

PostHeaderIcon (long tweet) Tip: How to know the location of a resource?

Case:

You have many files with the same names (log4.xml, applicationContext.xml, etc.), you need know which of them is loaded.

Tip:

On the debugger and/or in the logs, use an instruction similar to:

getClass().getClassLoader().getResource("log4j.xml")

PostHeaderIcon (long tweet) JOnAS / no security manager: RMI class loader disabled

On server side:

an EJB2 packaged in a JAR within an EAR, deployed on JOnAS 5.

On client side:

java.lang.ClassNotFoundException: org.ow2.jonas_gen.com.clam.indice.api.interfaces.JOnASHelloWorldService150707405Home_Stub (no security manager: RMI class loader disabled)]

Explanation:

This means there is some kind of issue with generated Stubs on client side. Should check whether the Stubs depended on are available in classpath.