(corrects previous post)
In my jboss-service.xml I have:
... <attribute name="EnableTransformer">true</attribute> ...
Hmm... I would like to add that the reference to
comes from base-aop.xml that I copied from the 4.0.0DR4 release to the /conf directory.
However, if this file is removed entirely the startup complains about that too (Failed to obtain InputStream). If I remove the contents between the aop tags in base-aop.xml, I get another problem:
Anyone else that has seen this problem?
No I did the following (basically):
* Downloaded Jboss 3.2.4
* Copied the jar files (for aop and the aspects)
* Modified the jboss-service.xml
* Added the base-aop.xml to the conf dir
... And deployed my aop app.. worked...
---- jboss-service.xml --------------
<!-- Aspect service manager -->
<!-- only relevant when EnableTransformer is true -->
<!-- only relevant when Enabletransformer is true. Optimization is optional only just in case there is a bug in it -->
<!-- Aspect deployer -->
Hi, thanks for replying...
I think the problem has got to do with the fact that I need to use the customized classloader approach...
In my aspect configuration of jboss-service.xml I use
to enable this. I noticed that you had not done that in the XML you pasted in your reply...
Any other ideas?
enabled it and it still works, though I did need to increase the amount of memory for the JVM (Out of memory exceptions).
...and a ugly startup "picture" while trying to instrument e.g. some tomcat classes....
My ear deployed ok with the ejb and aop and worked for invocation and webconsole did ok (haven't tried anything elese than my small hack).
I have somebody working on improving load-time transformation.
Is there a way / workaround to overcome this error ? (I want to work with AOP on jboss-3.2.5 and I receive this exception when starting up jboss with the EnableTransformer=true...)
which error are you seeing?
16:53:25,259 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_05-b04
,Sun Microsystems Inc.
16:53:25,259 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
16:53:25,852 INFO [Server] Core system initialized
My configuration :
in server/configuration_name/lib I have these jars :
in server/configuration_name/conf/in jboss-service.xml EnableTransformer is true
and I have copied the base-aop.xml from the aop package I downloaded to my
I have tried both running from default configuration and by using the all configuration (-c all)
You must also have the jboss-aspect library within the lib/ directory.
Let me know if that fixes it.
I saw no jboss-aspect.jar in jboss-aop-1.0RC1.zip nor in jboss-aspect-library-1.0RC1.zip (however there do exists jboss-aspect-library.jar that contains the class that was not found -org.jboss.aspects.security.SecurityClassMetaDataLoader. So the jar is there in my server/configuratoin_name/lib
The thing is that with EnableTransformer set to true I receive MANY classNotFoundException's for : org.jnp.interfaces.NamingContextFactory, org.jboss.invocation.http.server.HttpInvoker, org.jboss.resource.RARDeployer, org/apache/log4j/xml/DOMConfigurator (java.lang.NoClassDefFoundError: org/apache/log4j/xml/DOMConfigurator as for the rest and more...)
(with EnableTransformer set to false everything is fine).
When I included for example jboss-aspect-library.jar in my system classpath then I didnt receive ofcourse ClassNotFoundException for it...
Anything I can try ?
I have not tested RC1 yet with 3.2.5.