Re: [xwiki-users] Pb with last trunk version

2008-04-11 Thread Sergiu Dumitriu
Fabien wrote:
> 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:
> 

Yes, these are "normal". Just ignore them for the moment.
-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Pb with last trunk version

2008-04-11 Thread Fabien
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 ...

Re: [xwiki-users] Pb with last trunk version

2008-04-10 Thread Thomas Mortagne
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.(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
>  > >  users@xwiki.org
>  > >  http://lists.xwiki.org/mailman/listinfo/users
>  > >
>  >
>  >
>  >
>  > --
>  > Thomas Mortagne
>  > ___
>  > users mailing list
>  > users@xwiki.org
>  > http://lists.xwiki.org/mailman/listinfo/users
>  >
>  ___
>  users mailing list
>  users@xwiki.org
>  http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Pb with last trunk version

2008-04-10 Thread Fabien
Thanks Thomas, I will tried that.

Is there something specific to do to get AspectJ working ? or in Maven ?


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.(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
> >  users@xwiki.org
> >  http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> Thomas Mortagne
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Pb with last trunk version

2008-04-10 Thread Thomas Mortagne
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.(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
>  users@xwiki.org
>  http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users