Ooops, forgot the stacktrace in -X mode, see attach
On Fri, 2004-01-16 at 10:20, Stephane Nicoll wrote:
> Hello list,
>
> I just checked cactus CVS head, build the new plugin and tried to run
> the sample EJB. I have exactly the same error. Anybody can tell me where
> I should look like (apparently it's a problem with my maven
> installation).
>
> I use maven 1.0RC1 and the ear plugin 1.3
>
> Regards,
>
> Stephane
>
> On Wed, 2004-01-14 at 08:22, Stephane Nicoll wrote:
> > All,
> >
> > As you can see below I was trying to use the latest version of cactus
> > plugin for maven (the CVS head). I got fancy errors while trying to
> > build the ear.
> >
> > Vincent, I tried with the sample ejb below and I got exactly the same
> > error. Is there something wrong with the plugin or what?
> >
> > java:compile:
> > [echo] Compiling to
> > /home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb/target/classes
> >
> > java:jar-resources:
> >
> > test:prepare-filesystem:
> >
> > test:test-resources:
> >
> > test:compile:
> > [echo] No test source files to compile.
> >
> > test:test:
> > [echo] No tests to run.
> >
> >
> > ejb:ejb:
> > [echo] Building ejb maven-cactus-sample-ejb-1.0
> > [jar] Building jar:
> > /home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb/target/maven-cactus-sample-ejb-1.0.jar
> >
> > [ear] error while reading original manifest: Is a directory
> > [ear] Building ear:
> > /home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb
> >
> > BUILD FAILED
> > File...... file:/home/snicoll/.maven/plugins/cactus-maven-1.6dev/
> > Element... ant:ear
> > Line...... 764
> > Column.... 53
> > Problem creating ear:
> > /home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb (Is a
> > directory) (and the archive is probably corrupt but I could not delete it)
> > Total time: 7 seconds
> > Finished at: Wed Jan 14 08:19:56 CET 2004
> >
> > I have maven RC1 and the ear plugin version 1.3
> >
> > I didn't change anything on my local copy of the CVS repository.
> >
> > Any idea?
> >
> > Regards,
> >
> > Stephane
> >
> >
> > On Tue, 2004-01-13 at 23:37, Vincent Massol wrote:
> > > Hi Stephane,
> > >
> > > Here it is:
> > >
> > > http://cvs.apache.org/viewcvs.cgi/jakarta-cactus/integration/maven/sampl
> > > es/ejb/
> > >
> > > I don't see how the JBoss local interfaces could be a problem with
> > > Cactus.
> > >
> > > Thanks
> > > -Vincent
> > >
> > > > -----Original Message-----
> > > > From: Stephane Nicoll [mailto:[EMAIL PROTECTED]
> > > > Sent: 13 January 2004 23:24
> > > > To: Vincent Massol; [EMAIL PROTECTED]
> > > > Subject: RE: DO NOT REPLY [Bug 25983] - jboss port is not changed if
> > > > cactus.port is used
> > > >
> > > >
> > > > Vincent,
> > > >
> > > > I checked CVS and it uses ant, not maven (I mean the cactus maven
> > > plugin
> > > > wich
> > > > is currently in CVS). Any maven sample somewhere?
> > > >
> > > > Also I am fighting with JBoss and local interfaces. Seems I am unable
> > > to
> > > > use
> > > > them in my cactus tests. Any info?
> > > >
> > > > Regards,
> > > >
> > > > Stephane
> > > >
> > > > -----Original Message-----
> > > > From: Vincent Massol [mailto:[EMAIL PROTECTED]
> > > > Sent: Mon 1/12/2004 10:30
> > > > To: 'Cactus Developers List'
> > > > Cc: Stephane Nicoll
> > > > Subject: RE: DO NOT REPLY [Bug 25983] - jboss port is not
> > > changed
> > > > if cactus.port is used
> > > > Hi Stephane,
> > > >
> > > > There is an ejb sample in CVS. It's in samples/ejb. Could you try it
> > > and
> > > > see if it works for you?
> > > >
> > > > For the full cycle, it must be because I've changed something
> > > yesterday.
> > > > I'll have a look later in the week.
> > > >
> > > > Thanks
> > > > -Vincent
> > > >
> > > > > -----Original Message-----
> > > > > From: Stephane Nicoll [mailto:[EMAIL PROTECTED]
> > > > > Sent: 12 January 2004 10:05
> > > > > To: Vincent Massol
> > > > > Subject: RE: DO NOT REPLY [Bug 25983] - jboss port is not changed if
> > > > > cactus.port is used
> > > > >
> > > > > Vincent,
> > > > >
> > > > > Using 1.6dev I am not able to cactify my ear anymore. My plugin was
> > > > the
> > > > > original one (maven-cactus-plugin-3.1) patched with a patch I found
> > > on
> > > > > JIRA
> > > > > to support EAR.
> > > > >
> > > > > Well can you quickly tell me which properties I need to set to be
> > > able
> > > > to
> > > > > generate the cactus ear?
> > > > >
> > > > > Here's the error I got:
> > > > >
> > > > > ejb:ejb:
> > > > > [echo] Building ejb kserver-b2b-inbound-1.10.2
> > > > >
> > > > > [ear] error while reading original manifest: Is a directory
> > > > > [ear] Building ear:
> > > > > /home/snicoll/workspace/KSERVER/kserver/modules/b2b-inbound
> > > > >
> > > > > BUILD FAILED
> > > > > File...... file:/home/snicoll/.maven/plugins/cactus-maven-1.6dev/
> > > > > Element... ant:ear
> > > > > Line...... 764
> > > > > Column.... 53
> > > > > Problem creating ear:
> > > > > /home/snicoll/workspace/KSERVER/kserver/modules/b2b-inbound (Is a
> > > > > directory)
> > > > > (and the archive is probably corrupt but I could not delete it)
> > > > > Total time: 36 seconds
> > > > > Finished at: Mon Jan 12 10:04:20 CET 2004
> > > > >
> > > > >
> > > > > Also, when I do cactus:test-ear It will go through the complete
> > > cycle
> > > > > several
> > > > > times (that is compile, jar, unit test), which is really annoying.
> > > Any
> > > > way
> > > > > to
> > > > > do this only once?
> > > > >
> > > > > Regards,
> > > > >
> > > > > Stephane
> > > > >
> > > > > -----Original Message-----
> > > > > From: Vincent Massol [mailto:[EMAIL PROTECTED]
> > > > > Sent: Monday, January 12, 2004 9:42 AM
> > > > > To: 'Cactus Developers List'
> > > > > Cc: Stephane Nicoll
> > > > > Subject: RE: DO NOT REPLY [Bug 25983] - jboss port is not changed if
> > > > > cactus.port is used
> > > > >
> > > > >
> > > > > Hi Stephane,
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > > > > Sent: 12 January 2004 07:09
> > > > > > To: [EMAIL PROTECTED]
> > > > > > Subject: DO NOT REPLY [Bug 25983] - jboss port is not changed if
> > > > > > cactus.port is used
> > > > > >
> > > > >
> > > > > [snip]
> > > > >
> > > > > >
> > > > > > PS: maybe a stupid question, but how the hell can I jar the maven
> > > > > plugin
> > > > > > from CVS?
> > > > >
> > > > > You need Maven installed first. Then cd to integration/maven and
> > > type
> > > > > "maven plugin:install". That will not only create a jar but also
> > > > install
> > > > > it as a plugin in your Maven install. If you want to only generate a
> > > > > jar, type "maven jar".
> > > > >
> > > > > Thanks
> > > > > -Vincent
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
ejb:ejb:
[echo] Building ejb maven-cactus-sample-ejb-1.0
[available] [VERBOSE] Unable to find src/ejb/META-INF/MANIFEST.MF to set property
maven.ejb.manifest.available
[jar] [DEBUG] ZipFileSet: Setup scanner in dir
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration with patternSet{ includes:
[LICENSE.cactus] excludes: [] }
[jar] [DEBUG] fileset: Setup scanner in dir
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb/src/ejb
with patternSet{ includes: [] excludes: [] }
[jar] [DEBUG] fileset: Setup scanner in dir
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb/target/classes
with patternSet{ includes: [**] excludes: [**/package.html] }
[jar] [VERBOSE] omitted as is up to date.
[jar] [VERBOSE] META-INF omitted as META-INF/ is up to date.
[jar] [VERBOSE] META-INF/ejb-jar.xml omitted as META-INF/ejb-jar.xml is up to date.
[jar] [VERBOSE] omitted as is up to date.
[jar] [VERBOSE] org omitted as org/ is up to date.
[jar] [VERBOSE] org/apache omitted as org/apache/ is up to date.
[jar] [VERBOSE] org/apache/cactus omitted as org/apache/cactus/ is up to date.
[jar] [VERBOSE] org/apache/cactus/sample omitted as org/apache/cactus/sample/ is
up to date.
[jar] [VERBOSE] org/apache/cactus/sample/ejb omitted as
org/apache/cactus/sample/ejb/ is up to date.
[jar] [VERBOSE] org/apache/cactus/sample/ejb/Converter.class omitted as
org/apache/cactus/sample/ejb/Converter.class is up to date.
[jar] [VERBOSE] org/apache/cactus/sample/ejb/ConverterEJB.class omitted as
org/apache/cactus/sample/ejb/ConverterEJB.class is up to date.
[jar] [VERBOSE] org/apache/cactus/sample/ejb/ConverterHome.class omitted as
org/apache/cactus/sample/ejb/ConverterHome.class is up to date.
[ear] error while reading original manifest: Is a directory
[ear] [DEBUG] fileset: Setup scanner in dir
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb with
patternSet{ includes: [] excludes: [] }
[ear] [DEBUG] fileset: Setup scanner in dir
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb with
patternSet{ includes: [] excludes: [] }
[ear] [DEBUG] ZipFileSet: Setup scanner in dir
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb/target
with patternSet{ includes: [application.xml] excludes: [] }
[ear] Building ear:
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb
BUILD FAILED
File...... file:/home/snicoll/.maven/plugins/cactus-maven-1.6dev/
Element... ant:ear
Line...... 766
Column.... 53
Problem creating ear:
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb (Is a
directory) (and the archive is probably corrupt but I could not delete it)
com.werken.werkz.UnattainableGoalException: Unable to obtain goal [cactus:cactifyear]
-- file:/home/snicoll/.maven/plugins/cactus-maven-1.6dev/:766:53: <ant:ear> Problem
creating ear:
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb (Is a
directory) (and the archive is probably corrupt but I could not delete it)
at com.werken.werkz.Goal.fire(Goal.java:646)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:543)
at org.apache.maven.cli.App.main(App.java:1109)
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)
org.apache.commons.jelly.JellyTagException:
file:/home/snicoll/.maven/plugins/cactus-maven-1.6dev/:766:53: <ant:ear> Problem
creating ear:
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb (Is a
directory) (and the archive is probably corrupt but I could not delete it)
at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:683)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:288)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:543)
at org.apache.maven.cli.App.main(App.java:1109)
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: Problem creating ear:
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb (Is a
directory) (and the archive is probably corrupt but I could not delete it)
at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:487)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
... 17 more
Caused by: java.io.FileNotFoundException:
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb (Is a
directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:401)
... 20 more
Root cause
Problem creating ear:
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb (Is a
directory) (and the archive is probably corrupt but I could not delete it)
at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:487)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
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.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:543)
at org.apache.maven.cli.App.main(App.java:1109)
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.io.FileNotFoundException:
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb (Is a
directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:401)
... 20 more
--- Nested Exception ---
java.io.FileNotFoundException:
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb (Is a
directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:401)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
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.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:543)
at org.apache.maven.cli.App.main(App.java:1109)
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)
Root cause
Problem creating ear:
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb (Is a
directory) (and the archive is probably corrupt but I could not delete it)
at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:487)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
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.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:543)
at org.apache.maven.cli.App.main(App.java:1109)
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.io.FileNotFoundException:
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb (Is a
directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:401)
... 20 more
--- Nested Exception ---
java.io.FileNotFoundException:
/home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb (Is a
directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:401)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
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.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:543)
at org.apache.maven.cli.App.main(App.java:1109)
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)
Total time: 10 seconds
Finished at: Fri Jan 16 10:20:30 CET 2004
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]