RE: [aspectwerkz-dev] AW And JBoss integration error
Ricardo de Siqueira Borges Pereira <[email protected]> Thu, 27 Jan 2005 15:18:15 -0200
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi! Well... I'm using JDK1.3.1_R11. Here are the transcript of JBoss startup splash: --> ============================================================================ === . JBoss Bootstrap Environment . JBOSS_HOME: C:\Java\jboss-3.2.5\bin\\.. . JAVA: C:\Java\AspectWerkz\aw\bin\aspectwerkz.bat . JAVA_OPTS: -Xint -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,addr ess=12999,suspend=n -Dprogram.name=debug.bat -Daspectwerkz.jit.off=true . CLASSPATH: ;c:\java\jdk1.3.1_10\lib\tools.jar;C:\Java\jboss-3.2.5\bin\\run.jar . ASPECTWERKZ_HOME=c:\java\AspectWerkz\aw ============================================================================ === . HotSwap not supported by this java version, using bootclasspath: .\_boot c:\java\jdk1.3.1_10\jre\bin\java -Xbootclasspath/p:".\_boot;c:\java\AspectWerkz\ aw\lib\aspectwerkz-core-2.0.RC2.jar" -Daspectwerkz.home="c:\java\AspectWerkz\aw" -Xint -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=12999,su spend=n -Dprogram.name=debug.bat -Daspectwerkz.jit.off=true -cp "C:\Java\j2sdk1 .4.1_06\jre\lib\ext\gl4java.jar;C:\Java\j2sdk1.4.1_06\jre\lib\ext\gl4java-gl ffon ts.jar;C:\Java\j2sdk1.4.1_06\jre\lib\ext\gl4java-glutfonts.jar;c:\java\Aspec tWer kz\aw\lib\aspectwerkz-extensions-2.0.RC2.jar;c:\java\AspectWerkz\aw\lib\aspe ctwe rkz-2.0.RC2.jar;c:\java\AspectWerkz\aw\lib\aspectwerkz-jdk14-2.0.RC2.jar;c:\ java \AspectWerkz\aw\lib\qdox-1.4.jar;c:\java\AspectWerkz\aw\lib\concurrent-1.3.1 .jar ;c:\java\AspectWerkz\aw\lib\trove-1.0.2.jar;c:\java\AspectWerkz\aw\lib\jrexx -1.1 .1.jar;;c:\java\jdk1.3.1_10\lib\tools.jar;C:\Java\jboss-3.2.5\bin\\run.jar" org. jboss.Main AspectWerkz - INFO - Pre-processor org.codehaus.aspectwerkz.transform.AspectWerk zPreProcessor loaded and initialized <-- I think this classpath is the classpath used by JBoss + AW. The required libs are inside of AW_HOME/lib. I had to rename to ".old" the file picolo.jar and dom4j.jar. Without this the JBoss crashs in his startup. I saw that JBoss also have a version of dom4j inside of his lib dir. I also have been tried to move dom4j.jar inside/ouside of lib dir inside of jar contained in my ear file. I change de MANIFEST file to apply this modification properly, but without any positive result. Once again, thank you very much. I'm still a dummy in AOP. But it wiil change! ;-) - Ricardo. -----Original Message----- From: the_mindstorm [mailto:[email protected]] Sent: Thursday, January 27, 2005 3:07 PM To: [email protected] Subject: Re: [aspectwerkz-dev] AW And JBoss integration error -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [quote Ricardo de Siqueira Borges Pereira::on 1/27/2005 6:58 PM] | | Hi! | | AW version RC2. | | I'm using the AW + JBoss modifing the startup file of JBoss. | | Here are the modification of startup file: | --> | REM ######ADDING AW COMPILER##### | REM set JAVA=%JAVA_HOME%\bin\java | set JAVA=%ASPECTWERKZ_HOME%\bin\aspectwerkz.bat | REM ######END OF AW COMPILER###### | <-- | | My aop.xml is inside of META-INF dir. | | Here are the transcript of my aop.xml file | | --> | <!DOCTYPE aspectwerkz PUBLIC | "-//AspectWerkz//DTD//EN" | "http://aspectwerkz.codehaus.org/dtd/aspectwerkz.dtd"> | | <aspectwerkz> | <system id="IspCore"> | <aspect class="com.globo.coreisp.aop.AbstractAspect"> | <pointcut name="commandExecution" | expression="execution(* execute(..)) AND | within(com.globo.coreisp.controller.Command)"/> | <advice name="trace(JoinPoint jp)" type="before" | bind-to="commandExecution"/> | </aspect> | </system> | </aspectwerkz> | --> | | If you need more info to help me, please let me know. I can send any | info that you need. | | Thank you very much!!! | | -- Ricardo. | | | -----Original Message----- | From: the_mindstorm [mailto:[email protected]] | Sent: Thursday, January 27, 2005 2:48 PM | To: [email protected] | Subject: Re: [aspectwerkz-dev] AW And JBoss integration error | | | [quote Ricardo de Siqueira Borges Pereira::on 1/26/2005 11:58 PM] | | | | Hi! | | | | I'm trying to integrate JBoss version 3.2.5 and AW and I'm getting | | the follow error: | | | | 21:54:14,857 INFO [EARDeployer] Init J2EE application: | | | file:/C:/Java/jboss-3.2.5/server/default/deploy/globo-coreisp-server-2005012 | | 1.ear | | 21:54:18,200 WARN [DeploymentInfo] Only the root deployment can set | | the loader repository, ingoring config=null | | 21:54:18,528 WARN [DeploymentInfo] Only the root deployment can set | | the loader repository, ingoring config=null | | 21:54:18,888 INFO [STDOUT] java.lang.NoClassDefFoundError: | | org/dom4j/DocumentException | | 21:54:18,888 INFO [STDOUT] at | | | org.codehaus.aspectwerkz.definition.SystemDefinitionContainer.registerClassL | | oader(SystemDefinitionContainer.java:152) | | 21:54:18,888 INFO [STDOUT] at | | | org.codehaus.aspectwerkz.definition.SystemDefinitionContainer.getHierarchica | | lDefinitionsFor(SystemDefinitionContainer.java:367) | | 21:54:18,888 INFO [STDOUT] at | | | org.codehaus.aspectwerkz.definition.SystemDefinitionContainer.getDefinitions | | For(SystemDefinitionContainer.java:258) | | 21:54:18,888 INFO [STDOUT] at | | | org.codehaus.aspectwerkz.transform.inlining.ContextImpl.<init>(ContextImpl.j | | ava:90) | | 21:54:18,888 INFO [STDOUT] at | | | org.codehaus.aspectwerkz.transform.inlining.InliningWeavingStrategy.newConte | | xt(InliningWeavingStrategy.java:226) | | 21:54:18,888 INFO [STDOUT] at | | | org.codehaus.aspectwerkz.transform.AspectWerkzPreProcessor._preProcess(Aspec | | tWerkzPreProcessor.java:159) | | 21:54:18,888 INFO [STDOUT] at | | | org.codehaus.aspectwerkz.transform.AspectWerkzPreProcessor.preProcess(Aspect | | WerkzPreProcessor.java:141) | | 21:54:18,903 INFO [STDOUT] at | | | org.codehaus.aspectwerkz.hook.impl.ClassPreProcessorHelper.defineClass0Pre(C | | lassPreProcessorHelper.java:107) | | | | Can anyone help me ? I already tried to move the dom4j lib from | | outside/inside of my ear, without a positive result. | | | | I can send my config files. | | | | Thanks in advance. | | | | Ricardo Borges | | | | | | | Can you provide more info pls? What AW version? How you use AW + JBoss? | aop.xml, etc. | | tia, | -- | :pope | [the_mindstorm] AW2 RC2 for jdk 1.5 or for 1.4? What classpath are you using? Where are the aw required jars? - -- :pope [the_mindstorm] ps: sorry for asking all these but unfortunately without 'em i cannot provide any hint :-(. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) iD8DBQFB+R+9OCPjdDT2FEURAlddAKCYh8qm3pNrN+kTc/0sGqrrO4ku8QCfRnnu uawHRklK3ctV1TJF2A1rlgk= =JyF5 -----END PGP SIGNATURE-----