Re: [aspectwerkz-dev] AW And JBoss integration error

the_mindstorm <[email protected]> Thu, 27 Jan 2005 19:07:09 +0200
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <[email protected]>
-----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-----