geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anita kulshreshtha <a_kuls...@yahoo.com>
Subject Re: Stack trace in geronimo-gbean-deployer configuration
Date Tue, 02 May 2006 12:47:47 GMT
    Maven2repository needs target/repository directory to be present.
This patch creates the directory, before boot:boot is called. This
patch is made from configs/geronimo-gbean-deployer directory.

Thanks
Anita

--- David Jencks <david_jencks@yahoo.com> wrote:

> unfortunately this is normal for any config that builds an executable
>  
> jar.  There might be a simple jelly trick to only trying this copy if
>  
> the first copy fails, but I haven't had time to look for what it  
> might be.
> 
> thanks
> david jencks
> 
> On May 1, 2006, at 4:47 PM, anita kulshreshtha wrote:
> 
> > Hi,
> >    I am getting the following stack trace during a FULL build from
> > today's checkout. The build does not fail.
> > ...............................................
> > ................................................
> > Copying: from
> > 'D:\xxxxx\geronimo\geronimo-1.1\configs\geronimo-gbean-deployer 
> > \target\geronimo-gbean-
> > deployer-1.1-SNAPSHOT.car' to: 'C:\Documents and
> > Settings\User\.maven\repository\geronimo\cars\geron
> > imo-gbean-deployer-1.1-SNAPSHOT.car'
> > Copying: from
> > 'D:\xxxxx\geronimo\geronimo-1.1\configs\geronimo-gbean-deployer 
> > \project.xml'
> > to: 'C:\D
> > ocuments and
> > Settings\User\.maven\repository\geronimo\poms\geronimo-gbean- 
> > deployer-1.1-SNAPSHOT.pom'
> >
> > car:prepare-plan:
> >
> > car:package:
> >
> > car:install:
> >     [echo] about to copy configs
> > java.lang.reflect.InvocationTargetException
> >         at
> > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> >         at
> > sun.reflect.NativeConstructorAccessorImpl.newInstance 
> > (NativeConstructorAccessorImpl.java:
> > 39)
> >         at
> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance 
> > (DelegatingConstructorAccessorIm
> > pl.java:27)
> >         at
> > java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> >         at
> > org.apache.geronimo.plugin.packaging.ConfigCopier.execute 
> > (ConfigCopier.java:106)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke 
> > (NativeMethodAccessorImpl.java:39)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke 
> > (DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:324)
> >         at
> > org.apache.commons.jelly.impl.DynamicBeanTag.doTag 
> > (DynamicBeanTag.java:230)
> >         at
> > org.apache.commons.jelly.impl.StaticTagScript.run 
> > (StaticTagScript.java:145)
> >         at
> > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> >         at
> > org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
> >         at
> > org.apache.commons.jelly.tags.core.CatchTag.doTag(CatchTag.java:90)
> >         at
> > org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
> >         at
> > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> >         at
> > org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag 
> > (MavenGoalTag.java:79)
> >         at
> > org.apache.maven.jelly.tags.werkz.MavenGoalTag 
> > $MavenGoalAction.performAction(MavenGoalTag
> > .java:110)
> >         at com.werken.werkz.Goal.fire(Goal.java:639)
> >         at com.werken.werkz.Goal.attain(Goal.java:575)
> >         at
> > com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
> >         at
> > org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag 
> > (MavenAttainGoalTag.java:127)
> >         at
> > org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
> >         at
> > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> >         at
> > org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag 
> > (MavenGoalTag.java:79)
> >         at
> > org.apache.maven.jelly.tags.werkz.MavenGoalTag 
> > $MavenGoalAction.performAction(MavenGoalTag
> > .java:110)
> >         at com.werken.werkz.Goal.fire(Goal.java:639)
> >         at com.werken.werkz.Goal.attain(Goal.java:575)
> >         at
> > org.apache.maven.plugin.PluginManager.attainGoals 
> > (PluginManager.java:671)
> >         at
> > org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> >         at
> > org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:
> 
> > 368)
> >         at
> > org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
> >         at
> > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> >         at
> > org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag 
> > (MavenGoalTag.java:79)
> >         at
> > org.apache.maven.jelly.tags.werkz.MavenGoalTag 
> > $MavenGoalAction.performAction(MavenGoalTag
> > .java:110)
> >         at com.werken.werkz.Goal.fire(Goal.java:639)
> >         at com.werken.werkz.Goal.attain(Goal.java:575)
> >         at
> > org.apache.maven.plugin.PluginManager.attainGoals 
> > (PluginManager.java:671)
> >         at
> > org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> >         at org.apache.maven.cli.App.doMain(App.java:488)
> >         at org.apache.maven.cli.App.main(App.java:1239)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke 
> > (NativeMethodAccessorImpl.java:39)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke 
> > (DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:324)
> >         at com.werken.forehead.Forehead.run(Forehead.java:551)
> >         at com.werken.forehead.Forehead.main(Forehead.java:581)
> > Caused by: java.lang.IllegalStateException: Maven2Repository must
> have
> > a root that's a valid readabl
> > e directory (not
> > D:\anita\geronimo\geronimo-1.1\configs\geronimo-gbean-deployer 
> > \target\repository)
> >         at
> > org.apache.geronimo.system.repository.AbstractRepository.<init> 
> > (AbstractRepository.java:6
> > 5)
> >         at
> > org.apache.geronimo.system.repository.Maven2Repository.<init> 
> > (Maven2Repository.java:42)
> >         ... 47 more
> > +----------------------------------------
> > | configurations System Configuration for the J2EE Server
> > | Memory: 13M/20M
> > +----------------------------------------
> >
> > Thnaks
> > Anita
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Mime
View raw message