geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy" <c1vams...@gmail.com>
Subject Re: G1.1 - Compilation errors in Connector module
Date Wed, 19 Apr 2006 12:38:06 GMT
Aaron,

Connector module builds fine this time.  I am still not able to build
successfully :o(.  Build error is given below.

+----------------------------------------
| configurations System Configuration for the J2EE Server
| Memory: 32M/45M
+----------------------------------------
DEPRECATED: the default goal should be specified in the <build> section of
proje
ct.xml instead of maven.xml
DEPRECATED: the default goal should be specified in the <build> section of
proje
ct.xml instead of maven.xml

build:end:

You are working offline so the build will continue, but
geronimo-gbean-deployer-
1.1-SNAPSHOT.car may be out of date!
build:start:

multiproject:install-callback:
    [echo] Running car:install for System Configuration for the J2EE Server

    Packaging configuration C:\g11\configs\j2ee-system\target\plan\plan.xml

0 [main] DEBUG org.apache.geronimo.kernel.basic.BasicKernel  - Starting boot
731 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
GBeanIn
stanceState for: geronimo/boot/none/car?role=kernel State changed from
stopped t
o starting
741 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
GBeanIn
stanceState for: geronimo/boot/none/car?role=kernel State changed from
starting
to running
741 [main] DEBUG org.apache.geronimo.kernel.basic.BasicKernel  - Booted
851 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
GBeanIn
stanceState for:
geronimo/packaging/fixed/car?configurationName=geronimo/packagi
ng/fixed/car State changed from stopped to starting
851 [main] DEBUG org.apache.geronimo.kernel.config.Configuration  -
ClassPath fo
r geronimo/packaging/fixed/car resolved to []
861 [main] DEBUG org.apache.geronimo.kernel.config.Configuration  - Started
conf
iguration geronimo/packaging/fixed/car
861 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
GBeanIn
stanceState for:
geronimo/packaging/fixed/car?configurationName=geronimo/packagi
ng/fixed/car State changed from starting to running
961 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
GBeanIn
stanceState for:
geronimo/packaging/fixed/car?j2eeType=ConfigurationStore,name=C
onfigStore State changed from stopped to starting
961 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanSingleReference  -
Waiti
ng to start
geronimo/packaging/fixed/car?j2eeType=ConfigurationStore,name=Config
Store because no targets are running for reference Repository matching the
patte
rns geronimo/packaging/fixed/car?j2eeType=Repository,name=Repository
961 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
GBeanIn
stanceState for:
geronimo/packaging/fixed/car?j2eeType=ArtifactResolver,name=Art
ifactResolver State changed from stopped to starting
1021 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanSingleReference  -
Wait
ing to start
geronimo/packaging/fixed/car?j2eeType=ArtifactResolver,name=Artifac
tResolver because no targets are running for reference ArtifactManager
matching
the patterns
geronimo/packaging/fixed/car?j2eeType=ArtifactManager,name=Artifact
Manager
1021 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
GBeanI
nstanceState for:
geronimo/packaging/fixed/car?j2eeType=ArtifactManager,name=Art
ifactManager State changed from stopped to starting
1021 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
GBeanI
nstanceState for:
geronimo/packaging/fixed/car?j2eeType=ArtifactManager,name=Art
ifactManager State changed from starting to running
1021 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
GBeanI
nstanceState for:
geronimo/packaging/fixed/car?j2eeType=ConfigurationManager,nam
e=ConfigManager State changed from stopped to starting
1092 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanSingleReference  -
Wait
ing to start
geronimo/packaging/fixed/car?j2eeType=ConfigurationManager,name=Con
figManager because no targets are running for reference ArtifactResolver
matchin
g the patterns
geronimo/packaging/fixed/car?j2eeType=ArtifactResolver,name=Artif
actResolver
1092 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanSingleReference  -
Wait
ing to start
geronimo/packaging/fixed/car?j2eeType=ConfigurationManager,name=Con
figManager because no targets are running for reference AttributeStore
matching
the patterns geronimo/packaging/fixed/car?j2eeType=GBean,name=AttributeStore
1092 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
Checki
ng if parent is running:
parent=geronimo/packaging/fixed/car?configurationName=g
eronimo/packaging/fixed/car
1092 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
Parent
 is running:
parent=geronimo/packaging/fixed/car?configurationName=geronimo/pack
aging/fixed/car
1092 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
GBeanI
nstanceState for:
geronimo/packaging/fixed/car?j2eeType=ArtifactResolver,name=Ar
tifactResolver State changed from starting to running
1092 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
Checki
ng if parent is running:
parent=geronimo/packaging/fixed/car?configurationName=g
eronimo/packaging/fixed/car
1092 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
Parent
 is running:
parent=geronimo/packaging/fixed/car?configurationName=geronimo/pack
aging/fixed/car
1092 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
Checki
ng if parent is running:
parent=geronimo/packaging/fixed/car?j2eeType=ArtifactMa
nager,name=ArtifactManager
1092 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
Parent
 is running:
parent=geronimo/packaging/fixed/car?j2eeType=ArtifactManager,name=A
rtifactManager
1122 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanSingleReference  -
Wait
ing to start
geronimo/packaging/fixed/car?j2eeType=ConfigurationManager,name=Con
figManager because no targets are running for reference AttributeStore
matching
the patterns geronimo/packaging/fixed/car?j2eeType=GBean,name=AttributeStore
1122 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
GBeanI
nstanceState for:
geronimo/packaging/fixed/car?j2eeType=GBean,name=AttributeStor
e State changed from stopped to starting
1122 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
GBeanI
nstanceState for:
geronimo/packaging/fixed/car?j2eeType=GBean,name=AttributeStor
e State changed from starting to running
1122 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
Checki
ng if parent is running:
parent=geronimo/packaging/fixed/car?configurationName=g
eronimo/packaging/fixed/car
1122 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
Parent
 is running:
parent=geronimo/packaging/fixed/car?configurationName=geronimo/pack
aging/fixed/car
1122 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
Checki
ng if parent is running:
parent=geronimo/packaging/fixed/car?j2eeType=ArtifactRe
solver,name=ArtifactResolver
1122 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
Parent
 is running:
parent=geronimo/packaging/fixed/car?j2eeType=ArtifactResolver,name=
ArtifactResolver
1122 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
Checki
ng if parent is running:
parent=geronimo/packaging/fixed/car?j2eeType=ArtifactMa
nager,name=ArtifactManager
1122 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
Parent
 is running:
parent=geronimo/packaging/fixed/car?j2eeType=ArtifactManager,name=A
rtifactManager
1152 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
GBeanI
nstanceState for:
geronimo/packaging/fixed/car?j2eeType=ConfigurationManager,nam
e=ConfigManager State changed from starting to running
1152 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
GBeanI
nstanceState for:
geronimo/packaging/fixed/car?j2eeType=Repository,name=Reposito
ry State changed from stopped to starting
1152 [main] DEBUG org.apache.geronimo.system.repository.AbstractRepository
- Re
pository root is C:\Documents and Settings\Administrator\.maven\repository
1152 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
GBeanI
nstanceState for:
geronimo/packaging/fixed/car?j2eeType=Repository,name=Reposito
ry State changed from starting to running
1152 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
Checki
ng if parent is running:
parent=geronimo/packaging/fixed/car?configurationName=g
eronimo/packaging/fixed/car
1152 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
Parent
 is running:
parent=geronimo/packaging/fixed/car?configurationName=geronimo/pack
aging/fixed/car
1182 [main] DEBUG org.apache.geronimo.gbean.runtime.GBeanInstanceState  -
GBeanI
nstanceState for:
geronimo/packaging/fixed/car?j2eeType=ConfigurationStore,name=
ConfigStore State changed from starting to running
java.lang.reflect.InvocationTargetException: null
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.geronimo.plugin.packaging.PackageBuilderShell.execute
(Pack
ageBuilderShell.java:220)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(
DynamicBeanTag.jav
a:180)
        at org.apache.commons.jelly.impl.StaticTagScript.run(
StaticTagScript.jav
a:102)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java
:95)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag
(MavenGoalTa
g.java:78)
        at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:109)
        at org.apache.maven.werkz.Goal.fire(Goal.java:656)
        at org.apache.maven.werkz.Goal.attain(Goal.java:592)
        at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
        at org.apache.maven.werkz.Goal.attain(Goal.java:590)
        at org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java
:210)

        at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag
(MavenAttai
nGoalTag.java:114)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java
:95)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag
(MavenGoalTa
g.java:78)
        at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:109)
        at org.apache.maven.werkz.Goal.fire(Goal.java:656)
        at org.apache.maven.werkz.Goal.attain(Goal.java:592)
        at org.apache.maven.plugin.PluginManager.attainGoals(
PluginManager.java:
693)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(
ReactorTag.java:36
8)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java
:95)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag
(MavenGoalTa
g.java:78)
        at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:109)
        at org.apache.maven.werkz.Goal.fire(Goal.java:656)
        at org.apache.maven.werkz.Goal.attain(Goal.java:592)
        at org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java
:210)

        at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag
(MavenAttai
nGoalTag.java:114)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java
:95)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag
(MavenGoalTa
g.java:78)
        at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:109)
        at org.apache.maven.werkz.Goal.fire(Goal.java:656)
        at org.apache.maven.werkz.Goal.attain(Goal.java:592)
        at org.apache.maven.plugin.PluginManager.attainGoals(
PluginManager.java:
693)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:511)
        at org.apache.maven.cli.App.main(App.java:1258)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.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.NoSuchMethodError:
org.apache.geronimo.kernel.config.Config
urationManager.loadConfiguration
(Lorg/apache/geronimo/kernel/repository/Artifact
;)V
        at org.apache.geronimo.plugin.packaging.PackageBuilder.execute
(PackageBu
ilder.java:240)
        ... 53 more

BUILD FAILED
File...... C:\g11\maven.xml
Element... maven:reactor
Line...... 58
Column.... -1
Unable to obtain goal [multiproject:install-callback] -- C:\Documents and
Settin
gs\Administrator\.maven\cache\geronimo-
packaging-plugin-1.1.0-4\plugin.jelly:64:
-1: <car:package> null
Total time   : 6 minutes 56 seconds
Finished at  : Wednesday, April 19, 2006 1:13:26 PM IST


On 4/17/06, Aaron Mulder <ammulder@alumni.princeton.edu> wrote:
>
> I just did a full build and didn't get this.  Can you update both
> Geronimo and OpenEJB and do a build with "maven -o clean new" and see
> if you still get the error?
>
> Thanks,
>     Aaron
>
> On 4/17/06, Vamsavardhana Reddy <c1vamsi1c@gmail.com> wrote:
> > Compilation errors in Connector module in G1.1 branch.
> >
> >  Given below is the console output.
> >
> >  java:compile:
> >  <depend closure="false" srcdir="1.4" dump="false"
> > destdir="C:\g11\modules\connec
> >  tor/target/classes"></depend>    [echo] Compiling to
> > C:\g11\modules\connector/ta
> >  rget/classes
> >      [javac] Compiling 3 source files to
> > C:\g11\modules\connector\target\classes
> >      [javac]
> > C:\g11\modules\connector\src\java\org\apache\geronimo\connector\work
> >  \pool\ScheduleWorkExecutor.java:34:
> > execute(java.lang.Runnable) in EDU.oswego.cs
> >  .dl.util.concurrent.Executor cannot be applied to
> > (java.lang.String,org.apache.g
> >  eronimo.connector.work.WorkerContext)
> >      [javac]         executor.execute("A J2EE Connector", work);
> >      [javac]                 ^
> >      [javac]
> > C:\g11\modules\connector\src\java\org\apache\geronimo\connector\work
> >  \pool\StartWorkExecutor.java:36:
> > execute(java.lang.Runnable) in EDU.oswego.cs.dl
> >  .util.concurrent.Executor cannot be applied to
> > (java.lang.String,org.apache.gero
> >  nimo.connector.work.WorkerContext)
> >      [javac]         executor.execute("A J2EE Connector", work);
> >      [javac]                 ^
> >      [javac]
> > C:\g11\modules\connector\src\java\org\apache\geronimo\connector\work
> >  \pool\SyncWorkExecutor.java:36: execute(java.lang.Runnable) in
> > EDU.oswego.cs.dl.
> >  util.concurrent.Executor cannot be applied to
> > (java.lang.String,org.apache.geron
> >  imo.connector.work.WorkerContext)
> >      [javac]         executor.execute("A J2EE Connector", work);
> >      [javac]                 ^
> >      [javac] 3 errors
> >
> >  BUILD FAILED
> >  File...... C:\Documents and
> > Settings\Administrator\.maven\cache\maven-java-plugi
> >  n-1.5\plugin.jelly
> >  Element... ant:javac
> >  Line...... 63
> >  Column.... -1
> >  Compile failed; see the compiler error output for details.
> >  Total time   : 8 seconds
> >  Finished at  : Monday, April 17, 2006 2:53:05 PM IST
>

Mime
View raw message