Ok it works now. AspectJ was crashing because of out of memory error, adding
MAVEN_OPTS="-Xmx512m" solve the problem.

By the way looking at the compilation traces, I see a lot of errors messages
scaring me a bit:

"Running org.xwiki.velocity.DefaultVelocityManagerTest
[ERROR] WebappLoader : unable to retrieve ServletContext
[ERROR] WebappLoader : unable to retrieve ServletContext
[ERROR] WebappLoader : unable to retrieve ServletContext
[WARNING] Cannot retrieve method forName from object of class
java.lang.Class due to security restrictions.
[ERROR] WebappLoader : unable to retrieve ServletContext"

....
Running com.xpn.xwiki.XWikiTest
[ERROR] WebappLoader : unable to retrieve ServletContext
[ERROR] ResourceManager : unable to find resource '/templates/macros.vm' in
any resource loader.
[ERROR] Velocimacro : Velocimacro : Error using VM library :
/templates/macros.vm
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource '/templates/macros.vm'
    at
org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:452)
    at
org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:335)

....
[ERROR] ResourceManager : unable to find resource
'/skins/albatross/macros.vm' in any resource loader.
[ERROR] Velocimacro : Velocimacro : Error using VM library :
/skins/albatross/macros.vm
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource '/skins/albatross/macros.vm'
    at
org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:452)

....
[ERROR] WebappLoader : unable to retrieve ServletContext
[ERROR] ResourceManager : unable to find resource '/templates/macros.vm' in
any resource loader.
[ERROR] Velocimacro : Velocimacro : Error using VM library :
/templates/macros.vm
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource '/templates/macros.vm'
    at
org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:452)

....
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
Running com.xpn.xwiki.render.markup.UnderlineTest
2008-04-11 13:32:48,382 [] [main] WARN  regex.RegexReplaceFilter        -
Error for: [EMAIL PROTECTED]
java.lang.StackOverflowError
    at java.util.regex.Pattern$CharProperty.match(Pattern.java:3344)
    at java.util.regex.Pattern$Curly.match2(Pattern.java:3815)


And at the end of the compilation processus, I get :

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] XWiki Platform - Core - Parent POM .................... SUCCESS
[2.369s]
[INFO] XWiki Platform - Core - Component ..................... SUCCESS
[3.519s]
[INFO] XWiki Platform - Core - Observation ................... SUCCESS
[2.803s]
[INFO] XWiki Platform - Core - URL ........................... SUCCESS
[1.802s]
[INFO] XWiki Platform - Core - Containers - Parent POM ....... SUCCESS
[0.415s]
[INFO] XWiki Platform - Core - Containers - API .............. SUCCESS
[1.661s]
[INFO] XWiki Platform - Core - Containers - Servlet .......... SUCCESS
[1.683s]
[INFO] XWiki Platform - Core - Velocity ...................... SUCCESS
[4.546s]
[INFO] XWiki Platform - Core - Core .......................... SUCCESS
[41.357s]
[INFO] XWiki Platform - Core - Actions ....................... SUCCESS
[1.555s]
[INFO] XWiki Platform - Core - Plexus ........................ SUCCESS
[2.121s]
[INFO] XWiki Platform - Plugins - Parent POM ................. SUCCESS
[0.331s]
[INFO] XWiki Platform - Plugins - Scheduler .................. SUCCESS
[7.087s]
[INFO] XWiki Platform - Plugins - Mail Sender ................ SUCCESS
[9.976s]
[INFO] XWiki Platform - Plugins - WatchList Manager .......... SUCCESS
[6.070s]
[INFO] XWiki Platform - Plugins - Adwords .................... SUCCESS
[9.164s]
[INFO] XWiki Platform - Plugins - Alexa ...................... SUCCESS
[4.808s]
[INFO] XWiki Platform - Plugins - eXo Platform ............... SUCCESS
[10.804s]
[INFO] XWiki Platform - Plugins - Joda Time .................. SUCCESS
[5.043s]
[INFO] XWiki Platform - Plugins - Application Manager ........ SUCCESS
[14.189s]
[INFO] XWiki Platform - Plugins - Wiki Manager ............... SUCCESS
[11.030s]
[INFO] XWiki Platform - Plugins - Swizzle .................... SUCCESS
[5.474s]
[INFO] XWiki Platform - Plugins - Space Manager .............. SUCCESS
[9.087s]
[INFO] XWiki Platform - Plugins - Lucene search .............. SUCCESS
[5.907s]
[INFO] XWiki Platform - Plugins - Activity Stream ............ SUCCESS
[6.093s]
[INFO] XWiki Platform - Skins - Parent POM ................... SUCCESS
[0.312s]
[INFO] XWiki Platform - Skins - Albatross .................... SUCCESS
[2.443s]
[INFO] XWiki Platform - Skins - Toucan ....................... SUCCESS
[0.770s]
[INFO] XWiki Platform - Skins - Dodo ......................... SUCCESS
[0.706s]
[INFO] XWiki Platform - Skins - Finch ........................ SUCCESS
[0.589s]
[INFO] XWiki Platform - Web - Parent POM ..................... SUCCESS
[0.344s]
[INFO] XWiki Platform - Web - GWT API ........................ SUCCESS
[16.499s]
[INFO] XWiki Platform - Web - Standard ....................... SUCCESS
[3:34.323s]
[INFO] XWiki Platform - Web - Exo ............................ SUCCESS
[12.018s]
[INFO] XWiki Platform - Applications - Parent POM ............ SUCCESS
[0.323s]
[INFO] XWiki Platform - Applications - Panels ................ SUCCESS
[1.721s]
[INFO] XWiki Platform - Applications - Scheduler ............. SUCCESS
[0.644s]
[INFO] XWiki Platform - Applications - Statistics ............ SUCCESS
[0.722s]
[INFO] XWiki Platform - Applications - WatchList ............. SUCCESS
[0.617s]
[INFO] XWiki Platform - Applications - Selenium .............. SUCCESS
[0.699s]
[INFO] XWiki Platform - Applications - Application Manager ... SUCCESS
[1.056s]
[INFO] XWiki Platform - Applications - Wiki Manager .......... SUCCESS
[0.719s]
[INFO] XWiki Platform - Applications - S5 .................... SUCCESS
[0.301s]
[INFO] XWiki Platform - Applications - S5 - Wiki ............. SUCCESS
[0.634s]
[INFO] XWiki Products - Enterprise - Parent POM .............. SUCCESS
[0.304s]
[INFO] XWiki Products - Enterprise - Wiki .................... SUCCESS
[1.214s]
[INFO] XWiki Products - Enterprise - Database - Parent POM ... SUCCESS
[0.928s]
[INFO] XWiki Products - Enterprise - Database - HSQLDB ....... SUCCESS
[13.831s]
[INFO] XWiki Products - Enterprise - Web ..................... SUCCESS
[12.633s]
[INFO] XWiki Products - Enterprise - Distribution - Parent POM  SUCCESS
[2.400s]
[INFO] XWiki Products - Enterprise - Distribution - HSQLDB ... SUCCESS
[13.107s]
[INFO] XWiki Top Level POM ................................... SUCCESS
[0.330s]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 minutes 58 seconds
[INFO] Finished at: Fri Apr 11 13:39:49 CEST 2008
[INFO] Final Memory: 29M/144M
[INFO]
------------------------------------------------------------------------


Is it ok ? Do I miss something in my configuration ?

Thanks again for your support !

Fabien



On Thu, Apr 10, 2008 at 6:41 PM, Thomas Mortagne <[EMAIL PROTECTED]>
wrote:

> On Thu, Apr 10, 2008 at 5:56 PM, Fabien <[EMAIL PROTECTED]> wrote:
> > Thanks Thomas, I will tried that.
> >
> >  Is there something specific to do to get AspectJ working ? or in Maven
> ?
>
> As far as I know there is nothing to do, sometime maven don't build
> AspectJ files. But it's very rare (I never had this problem).
> Are you using the recommended maven version you can find in
> http://dev.xwiki.org/xwiki/bin/view/Community/Building ?
>
> >
> >
> >  Fabien
> >
> >  On Thu, Apr 10, 2008 at 5:23 PM, Thomas Mortagne <
> [EMAIL PROTECTED]>
> >  wrote:
> >
> >
> >
> >  > Hi,
> >  >
> >  > On Thu, Apr 10, 2008 at 4:48 PM, Fabien <[EMAIL PROTECTED]> wrote:
> >  > > Hi,
> >  > >
> >  > >  I get all sources from svn repository and compile them.
> >  > >
> >  > >  The status at the end of the compilation said that all build where
> >  > >  successful.
> >  > >
> >  > >  I move the *war file found into the following
> >  > >  /xwiki/trunks/xwiki-product-enterprise/web/target to the tomcat
> >  > webapps.
> >  > >
> >  > >  I also modified the hibernate.cfg.xml to point to the right
> database,
> >  > and I
> >  > >  now get the following error.
> >  > >
> >  > >  *type* Exception report
> >  > >
> >  > >  *message*
> >  > >
> >  > >  *description* *The server encountered an internal error () that
> >  > prevented it
> >  > >  from fulfilling this request.*
> >  > >
> >  > >  *exception*
> >  > >
> >  > >  javax.servlet.ServletException: Servlet execution threw an
> exception
> >  > >
> >  >
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
> >  > >
> >  > >  *root cause*
> >  > >
> >  > >  java.lang.NoSuchMethodError: com.xpn.xwiki.XWiki.isVirtual()Z
> >  > >
> >  >
> com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.init(SchedulerPlugin.java:97)
> >  > >
> >  >
> com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:147)
> >  > >
> >  >
> com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:83)
> >  > >
> >  >
> com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:112)
> >  > >         com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:893)
> >  > >         com.xpn.xwiki.XWiki.initXWiki(XWiki.java:821)
> >  > >         com.xpn.xwiki.XWiki.<init>(XWiki.java:744)
> >  > >         com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:315)
> >  > >         com.xpn.xwiki.XWiki.getXWiki(XWiki.java:512)
> >  > >         com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:126)
> >  > >
> >  >
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> >  > >
> >  >
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> >  > >
> >  >
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> >  > >
> >  > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> >  > >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >  > >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >  > >
> >  >
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
> >  >
> >  > Seems AspectJ build failed in the xwiki-core jar. I see in other
> mails
> >  > that maven AspectJ plugin does not do his job sometimes. You should
> >  > try to rebuild xwiki-core.
> >  >
> >  > >
> >  > >  *note* *The full stack trace of the root cause is available in the
> >  > Apache
> >  > >  Tomcat/5.5 logs.*
> >  > >
> >  > >  What do I forget ?
> >  > >
> >  > >
> >  > >  Fabien
> >  > >  _______________________________________________
> >  > >  users mailing list
> >  > >  [email protected]
> >  > >  http://lists.xwiki.org/mailman/listinfo/users
> >  > >
> >  >
> >  >
> >  >
> >  > --
> >  > Thomas Mortagne
> >  > _______________________________________________
> >  > users mailing list
> >  > [email protected]
> >  > http://lists.xwiki.org/mailman/listinfo/users
> >  >
> >  _______________________________________________
> >  users mailing list
> >  [email protected]
> >  http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to