Hi JBM experts:
After change the security policy setting from
permission java.util.PropertyPermission "*", "read";
to
permission java.util.PropertyPermission "*", "read,write";
The NoClassDefFoundError is gone and now I am getting the following exception
when trying to do:
connection = connec
InvokerLocator (jboss-remoting.jar 2.2.2SP9) has the following code:
static Class _mthclass$(String x0){
try{
return Class.forName(x0);
}
catch(ClassNotFoundException x1){
throw (new NoClassDefFoundError()).initCause(x1);
}}
I am guessing this is where the No
Thanks again for all your suggestions and help...I am able to narrow the
problem down to org.jboss.remoting.InvokeLocator. Apparently when I try to
instantiate this class, I will get a NoClassDefFound exception (without
indicating what class is missing). I am able to create the
org.jboss.logg
I tried building the JBoss jars within EAR but same exception happens. :(
Since the JBAS I am trying to connect to is 4.2.2 and I have successfully
connected to it with the standalone remote client, I am staying with the list
of JARs in the previous post (including jbossall-client.jar). I am
Hi Clebert/Tim,
I did check the class dependencies and found all the classes in
jboss-remoting.jar or jbossall-client.jar.
I have tried putting the jboss jars in Sun AS classpath perfix but the same
exception happens:
/logicalhost/is/lib/jboss/jboss-aop.jar
/logicalhost/is/lib/jboss/jboss-rem
Hi JBM experts,
I have recently posted a similar question and it was resolved with the help of
PeterJ:
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224375#4224375
However, while the standalone java client works fine. I run into
NoClassDefFound Exception again when using the sam
Hi,
The standalone client works fine until I import the standalone code as a
utility jar into a application running on Sun Application Server 8.2.
I run into NoClassDefFound Exception again:
Caused by: java.lang.NoClassDefFoundError
at
org.jboss.jms.client.delegate.ClientConnectionFa
Please discard my last post. What was in the classpath was the old log4j.jar
and the exception went away after I fixed the issue.
Peter you were right on, the TimerUtil class failed to initialize due to the
log4j.jar. Thanks!
View the original post :
http://www.jboss.org/index.html?module=b
Thanks Peter for the quick response.
The log4j is from the client folder and it is apache version 1.2.14. Based on
the following post, it should resolve the issue.
http://lists.jboss.org/pipermail/jboss-user/2008-February/108795.html
However, if I don't include log4j.jar, I do not get excepti
Peter,
Adding log4j.jar causes exception in the ConnectionFactory lookup which is
before where the other exception happens.
Exception in thread "main" java.lang.NoSuchFieldError: TRACE
at
org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85)
I removed the log4j.
Based on JBM 1.4 documentation, the jar needed for remote client is:
jboss-aop.jar
jboss-remoting.jar
jbossall-client.jar
jboss-messaging-client.jar
jboss-mdr.jar <- I had to add this one to get the signature class
javassist.jar
trove.jar
(http://www.jboss.org/file-access/default/members/jbossmes
Hi,
I am writing a standalone java client to connect to JBM 1.4.0 queue.
Following is my code:
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
p.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:
org.jnp
12 matches
Mail list logo