You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by lasantha <la...@opensource.lk> on 2007/04/11 10:32:26 UTC
Build Failed in Openejb builder
Hi Folks,
G source code build failed in rev. 527408 with following error.
Any ideas?
Thanks,
Lasantha
Compiling 7 source files to
/home/hd2/work/geronimo/trunk/my-workspace/my-server/modules/geronimo-openejb-builder/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
/home/hd2/work/geronimo/trunk/my-workspace/my-server/modules/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbDeploymentBuilder.java:[215,35]
addToPermissions(java.security.PermissionCollection,java.lang.String,java.lang.String,java.lang.String,java.lang.ClassLoader)
in org.apache.geronimo.openejb.deployment.SecurityBuilder cannot be
applied to
(java.security.Permissions,java.lang.String,java.lang.String,java.util.List<java.lang.String>,java.lang.ClassLoader)
/home/hd2/work/geronimo/trunk/my-workspace/my-server/modules/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbDeploymentBuilder.java:[227,35]
addToPermissions(java.security.PermissionCollection,java.lang.String,java.lang.String,java.lang.String,java.lang.ClassLoader)
in org.apache.geronimo.openejb.deployment.SecurityBuilder cannot be
applied to
(java.security.Permissions,java.lang.String,java.lang.String,java.util.List<java.lang.String>,java.lang.ClassLoader)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5 minutes 14 seconds
[INFO] Finished at: Wed Apr 11 13:59:43 LKT 2007
[INFO] Final Memory: 117M/563M
[INFO]
------------------------------------------------------------------------
las
Re: Build Failed in Openejb builder
Posted by Lasantha Ranaweera <la...@opensource.lk>.
> Lasantha,
> The following should fix your immediate problem.
>
> edit geronimo/server/trunk/pom.xml
> search for jaxb-impl
> change the <version> from 2.0.3 to 2.0.5.
>
> I'm guessing that this is a pretty safe upgrade. However, I'll let
> someone more familiar with our jaxb usage make the change...
>
> --kevan
Kevan,
Thanks Again.
Even though I did the change problem is still there. I couldn't find a
M2 repo which has published jaxb-imp 2.0.5 too. May be I am missing
something important here.
Hopefully Jarek or Dims will give us a light here.
Lasantha
Re: Build Failed in Openejb builder
Posted by Sachin Patel <sp...@gmail.com>.
Actually, jaxb should to be downgraded to 2.0.0.
-sachin
On Apr 11, 2007, at 6:00 AM, Kevan Miller wrote:
>
> On Apr 11, 2007, at 5:45 AM, Lasantha Ranaweera wrote:
>
>> Kevan,
>>
>> Thanks for the reply.
>>
>> Yes now it is over and CXF gives following.
>>
>> Missing:
>> ----------
>> 1) com.sun.xml.bind:jaxb-impl:jar:2.0.5
>>
>> Try downloading the file manually from the project website.
>>
>> Then, install it using the command:
>> mvn install:install-file -DgroupId=com.sun.xml.bind -
>> DartifactId=jaxb-impl \
>> -Dversion=2.0.5 -Dpackaging=jar -Dfile=/path/to/file
>>
>> Path to dependency:
>> 1) org.apache.geronimo.modules:geronimo-cxf:jar:2.0-SNAPSHOT
>> 2) org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.0-incubator-RC-SNAPSHOT
>> 3) org.apache.cxf:cxf-tools-common:jar:2.0-incubator-RC-SNAPSHOT
>> 4) com.sun.xml.bind:jaxb-impl:jar:2.0.5
>
> Lasantha,
> The following should fix your immediate problem.
>
> edit geronimo/server/trunk/pom.xml
> search for jaxb-impl
> change the <version> from 2.0.3 to 2.0.5.
>
> I'm guessing that this is a pretty safe upgrade. However, I'll let
> someone more familiar with our jaxb usage make the change...
>
> --kevan
Re: Build Failed in Openejb builder
Posted by Kevan Miller <ke...@gmail.com>.
On Apr 11, 2007, at 5:45 AM, Lasantha Ranaweera wrote:
> Kevan,
>
> Thanks for the reply.
>
> Yes now it is over and CXF gives following.
>
> Missing:
> ----------
> 1) com.sun.xml.bind:jaxb-impl:jar:2.0.5
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=com.sun.xml.bind -
> DartifactId=jaxb-impl \
> -Dversion=2.0.5 -Dpackaging=jar -Dfile=/path/to/file
>
> Path to dependency:
> 1) org.apache.geronimo.modules:geronimo-cxf:jar:2.0-SNAPSHOT
> 2) org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.0-incubator-RC-SNAPSHOT
> 3) org.apache.cxf:cxf-tools-common:jar:2.0-incubator-RC-SNAPSHOT
> 4) com.sun.xml.bind:jaxb-impl:jar:2.0.5
Lasantha,
The following should fix your immediate problem.
edit geronimo/server/trunk/pom.xml
search for jaxb-impl
change the <version> from 2.0.3 to 2.0.5.
I'm guessing that this is a pretty safe upgrade. However, I'll let
someone more familiar with our jaxb usage make the change...
--kevan
Re: Build Failed in Openejb builder
Posted by Lasantha Ranaweera <la...@opensource.lk>.
Kevan,
Thanks for the reply.
Yes now it is over and CXF gives following.
Missing:
----------
1) com.sun.xml.bind:jaxb-impl:jar:2.0.5
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.xml.bind -DartifactId=jaxb-impl \
-Dversion=2.0.5 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) org.apache.geronimo.modules:geronimo-cxf:jar:2.0-SNAPSHOT
2) org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.0-incubator-RC-SNAPSHOT
3) org.apache.cxf:cxf-tools-common:jar:2.0-incubator-RC-SNAPSHOT
4) com.sun.xml.bind:jaxb-impl:jar:2.0.5
----------
1 required artifact is missing.
for artifact:
org.apache.geronimo.modules:geronimo-cxf:jar:2.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
codehaus-snapshots (http://snapshots.repository.codehaus.org),
apache-incubator (http://people.apache.org/repo/m2-incubating-repository/),
tomcat-m2-repo (http://tomcat.apache.org/dev/dist/m2-repository)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 minutes 18 seconds
[INFO] Finished at: Wed Apr 11 15:08:43 LKT 2007
[INFO] Final Memory: 89M/974M
[INFO]
------------------------------------------------------------------------
Lasantha
Kevan Miller wrote:
>
> On Apr 11, 2007, at 4:32 AM, lasantha wrote:
>
>> Hi Folks,
>>
>> G source code build failed in rev. 527408 with following error.
>>
>> Any ideas?
>
> I think this should be fixed by 527416
>
> --kevan
>
>
>
Re: Build Failed in Openejb builder
Posted by Kevan Miller <ke...@gmail.com>.
On Apr 11, 2007, at 4:32 AM, lasantha wrote:
> Hi Folks,
>
> G source code build failed in rev. 527408 with following error.
>
> Any ideas?
I think this should be fixed by 527416
--kevan