[JBoss Messaging] - Re: JBoss Messaging locked up
by etolson
If it sheds any light, I get the following error when running the test ant script (section 5.3 of http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone...):
/u/etolson/downloads/jboss-messaging-1.0.0.GA/examples/queue> ant
Buildfile: build.xml
identify:
[echo] Running the queue example
[echo] The queue: testQueue
sanity-check:
init:
[mkdir] Created dir: /tmp_mnt/home/nfs1/u1/etolson/downloads/jboss-messaging-1.0.0.GA/examples/queue/output
[mkdir] Created dir: /tmp_mnt/home/nfs1/u1/etolson/downloads/jboss-messaging-1.0.0.GA/examples/common/output
compile:
[javac] Compiling 2 source files to /tmp_mnt/home/nfs1/u1/etolson/downloads/jboss-messaging-1.0.0.GA/examples/common/output
[javac] /tmp_mnt/home/nfs1/u1/etolson/downloads/jboss-messaging-1.0.0.GA/examples/common/src/org/jboss/example/jms/common/ExampleSupport.java:21: cannot access java.lang.Object
[javac] bad class file: /usr/local/jdk1.5.0_04-i586/jre/lib/rt.jar(java/lang/Object.class)
[javac] class file has wrong version 49.0, should be 48.0
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] public static final String DEFAULT_QUEUE_NAME = "testQueue";
[javac] ^
[javac] 1 error
BUILD FAILED
/tmp_mnt/home/nfs1/u1/etolson/downloads/jboss-messaging-1.0.0.GA/examples/queue/build.xml:62: Compile failed; see the compiler error output for details.
Total time: 5 seconds
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972929#3972929
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972929
19 years, 7 months
[JBoss AOP] - Problem with hot deployment and ClassLoader functionalities
by robotics
I read Jboss AOP framework documentation, about hot deployment and run time aspects because I want to be able to activate/deactivate aspects during execution of my applications. I use the AspectManager class and AspectXmlLoader class to load xml tags during runtime and I saw that it works well; but I need to prepare classes for instrumentation with the tag in the jboss-aop.xml file. So my question is if it is possible to prepare classes to be instrumented, during the execution of my application or I have to do this before deploying it? I want to know much things about Classloader funcionalities and if I change its behavior during run time and if yes, how can I do it? I also read the AOP Javadocs and I saw that there are many classes that deal with classloading such as AOPClassPool, ClassPool and package javassist.jar but I ignore how this classes work? Could anyone help me about this or providing me some docs about this particular argument. Thanks a lot.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972926#3972926
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972926
19 years, 7 months