Hi Kabir,
well, I reinstalled all those things, and I found some mistakes, that's okay.
But unfortunately it does not work completely. I guess it does not make a
difference, if I use server/default/deploy or server/all/deploy, both produce
the same output, when I tried to deploy my firstaspect.jar, here it is:
10:44:26,106 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
Packages waiting for a deployer:
[EMAIL PROTECTED] { url=file:/C:/jboss-4.0.0/server/d
efault/deploy/firstaspect.jar }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-4.0.0/server/default/deploy/firstaspect.jar
altDD: null
lastDeployed: 1100771066106
lastModified: 1100771066106
mbeans:
Incompletely deployed packages:
[EMAIL PROTECTED] { url=file:/C:/jboss-4.0.0/server/d
efault/deploy/firstaspect.jar }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-4.0.0/server/default/deploy/firstaspect.jar
altDD: null
lastDeployed: 1100771066106
lastModified: 1100771066106
mbeans:
I was not sure, maybe my code was wrong.
So I tried the wiki-POJO-example as a standalone project. As before the problem
is, that jboss-aop-jdk50.jar does not contain a class-file called
InvocationType, which is also used in an article by Bill Burke. But anyway,
fixing, compiling and running the code lead to this error-message:
C:\Test3>java -Djava.system.class.loader=org.jboss.aop.standalone.SystemClassLoa
der POJO
java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ConcurrentReade
rHashMap
at org.jboss.aop.AspectManager.(AspectManager.java:88)
at org.jboss.aop.AspectManager.instance(AspectManager.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.aop.standalone.SystemClassLoader.initialize(SystemClassLoad
er.java:452)
at org.jboss.aop.standalone.SystemClassLoader.loadClass(SystemClassLoade
r.java:162)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main" java.lang.Error: Error installing aspect manager
at org.jboss.aop.standalone.SystemClassLoader.initialize(SystemClassLoad
er.java:463)
at org.jboss.aop.standalone.SystemClassLoader.loadClass(SystemClassLoade
r.java:162)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/Conc
urrentReaderHashMap
at org.jboss.aop.AspectManager.(AspectManager.java:88)
at org.jboss.aop.AspectManager.instance(AspectManager.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.aop.standalone.SystemClassLoader.initialize(SystemClassLoad
er.java:452)
... 3 more
Of course, I will try to do the tutorial again, but this is strange, isn't it?
OLLI
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855565#3855565
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855565
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development