ports/155547: java/jboss5 port build failure
sbremal at hotmail.com
sbremal at hotmail.com
Fri Aug 19 16:50:12 UTC 2011
The following reply was made to PR ports/155547; it has been noted by GNATS.
From: <sbremal at hotmail.com>
To: <bug-followup at freebsd.org>, <pgardnerhome at hotmail.com>
Cc:
Subject: Re: ports/155547: java/jboss5 port build failure
Date: Fri, 19 Aug 2011 16:29:30 +0000
--_9662dabe-bd5e-43a5-9f48-22f09a2019a7_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello=2C
=20
while installing Jboss5 on Freebsd I came across a few issues. It may be re=
lated to your problem.
=20
Check if the below fixes apply to your case (and maybe incorporate them int=
o the version control).
=20
=20
Cheers=2C
Balazs
=20
---
=20
1. Had to add an extra repository as some "modules" were not available on t=
he Jboss server:
=20
vi /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/pom.xml
...
<!-- Repositories -->
<repositories>
<repository>
<id>repository.jboss.org</id>
<name>JBoss Releases Repository</name>
<url>http://repository.jboss.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>snapshots.jboss.org</id>
<name>JBoss Snapshots Repository</name>
<url>http://snapshots.jboss.org/maven2</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>repository.jboss.org.2</id>
<name>JBoss Releases Repository 2</name>
<url>http://maven.glassfish.org/content/groups/glassfish</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
...
<pluginRepositories>
<pluginRepository>
<id>repository.jboss.org</id>
<name>JBoss Plugin Releases</name>
<url>http://repository.jboss.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>snapshots.jboss.org</id>
<name>JBoss Plugin Snapshots</name>
<url>http://snapshots.jboss.org/maven2</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>repository.jboss.org.2</id>
<name>JBoss Plugin Releases 2</name>
<url>http://maven.glassfish.org/content/groups/glassfish</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
...
=20
=20
2. The access right setup for a few files was wrong after the installation =
(some files had ownership of "root" and "www" could not access them). Howev=
er not sure why Jboss runs under "www" and not "root":
=20
find /var/jboss5/ -user root -exec chown www {} \=3B =
--_9662dabe-bd5e-43a5-9f48-22f09a2019a7_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Tahoma
}
--></style>
</head>
<body class=3D'hmmessage'><div dir=3D'ltr'>
Hello=2C<BR>
 =3B<BR>
while installing Jboss5 on Freebsd I came across a few issues. It may be re=
lated to your problem.<BR>
 =3B<BR>
Check if the below fixes apply to your case =3B(and maybe incorporate t=
hem into the version control).<BR>
 =3B<BR>
 =3B<BR>
Cheers=2C<BR>
Balazs<BR>
 =3B<BR>
---<BR>
 =3B<BR>
1. Had to add an extra repository as some "modules" were not available on t=
he Jboss server:<BR>
 =3B<BR>
vi /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/pom.xml<BR>...<BR> =
=3B <=3B!-- Repositories -->=3B<BR> =3B <=3Brepositories>=3B<BR=
> =3B =3B =3B <=3Brepository>=3B<BR> =3B =3B =
=3B =3B =3B <=3Bid>=3Brepository.jboss.org<=3B/id>=3B<BR>&n=
bsp=3B =3B =3B =3B =3B <=3Bname>=3BJBoss Releases Repos=
itory<=3B/name>=3B<BR> =3B =3B =3B =3B =3B <=3Bur=
l>=3Bhttp://repository.jboss.org/maven2<=3B/url>=3B<BR> =3B =
=3B =3B =3B =3B <=3Breleases>=3B<BR> =3B =3B =
=3B =3B =3B =3B =3B <=3Benabled>=3Btrue<=3B/enabled&g=
t=3B<BR> =3B =3B =3B =3B =3B <=3B/releases>=3B<BR>&=
nbsp=3B =3B =3B =3B =3B <=3Bsnapshots>=3B<BR> =3B&n=
bsp=3B =3B =3B =3B =3B =3B <=3Benabled>=3Bfalse<=
=3B/enabled>=3B<BR> =3B =3B =3B =3B =3B <=3B/snapsh=
ots>=3B<BR> =3B =3B =3B <=3B/repository>=3B<BR> =3B&n=
bsp=3B =3B <=3Brepository>=3B<BR> =3B =3B =3B =3B&n=
bsp=3B <=3Bid>=3Bsnapshots.jboss.org<=3B/id>=3B<BR> =3B =3B=
 =3B =3B =3B <=3Bname>=3BJBoss Snapshots Repository<=3B/n=
ame>=3B<BR> =3B =3B =3B =3B =3B <=3Burl>=3Bhttp:/=
/snapshots.jboss.org/maven2<=3B/url>=3B<BR> =3B =3B =3B&nbs=
p=3B =3B <=3Breleases>=3B<BR> =3B =3B =3B =3B =
=3B =3B =3B <=3Benabled>=3Bfalse<=3B/enabled>=3B<BR> =
=3B =3B =3B =3B =3B <=3B/releases>=3B<BR> =3B =
=3B =3B =3B =3B <=3Bsnapshots>=3B<BR> =3B =3B =
=3B =3B =3B =3B =3B <=3Benabled>=3Btrue<=3B/enabled&g=
t=3B<BR> =3B =3B =3B =3B =3B <=3B/snapshots>=3B<BR>=
 =3B =3B =3B <=3B/repository>=3B<BR>
 =3B =3B =3B <=3Brepository>=3B<BR> =3B =3B =3B=
 =3B =3B <=3Bid>=3Brepository.jboss.org.2<=3B/id>=3B<BR>&nb=
sp=3B =3B =3B =3B =3B <=3Bname>=3BJBoss Releases Reposi=
tory 2<=3B/name>=3B<BR> =3B =3B =3B =3B =3B <=3Bu=
rl>=3Bhttp://maven.glassfish.org/content/groups/glassfish<=3B/url>=3B=
<BR> =3B =3B =3B =3B =3B <=3Breleases>=3B<BR> =
=3B =3B =3B =3B =3B =3B =3B <=3Benabled>=3Btrue=
<=3B/enabled>=3B<BR> =3B =3B =3B =3B =3B <=3B/rel=
eases>=3B<BR> =3B =3B =3B =3B =3B <=3Bsnapshots>=
=3B<BR> =3B =3B =3B =3B =3B =3B =3B <=3Benabl=
ed>=3Bfalse<=3B/enabled>=3B<BR> =3B =3B =3B =3B =
=3B <=3B/snapshots>=3B<BR> =3B =3B =3B <=3B/repository>=
=3B<BR>
 =3B <=3B/repositories>=3B<BR>...<BR> =3B <=3BpluginRepositor=
ies>=3B<BR> =3B =3B =3B <=3BpluginRepository>=3B<BR> =
=3B =3B =3B =3B =3B <=3Bid>=3Brepository.jboss.org<=
=3B/id>=3B<BR> =3B =3B =3B =3B =3B <=3Bname>=3BJB=
oss Plugin Releases<=3B/name>=3B<BR> =3B =3B =3B =3B&nb=
sp=3B <=3Burl>=3Bhttp://repository.jboss.org/maven2<=3B/url>=3B<BR>=
 =3B =3B =3B =3B =3B <=3Breleases>=3B<BR> =3B&n=
bsp=3B =3B =3B =3B =3B =3B <=3Benabled>=3Btrue<=
=3B/enabled>=3B<BR> =3B =3B =3B =3B =3B <=3B/releas=
es>=3B<BR> =3B =3B =3B =3B =3B <=3Bsnapshots>=3B<=
BR> =3B =3B =3B =3B =3B =3B =3B <=3Benabled&g=
t=3Bfalse<=3B/enabled>=3B<BR> =3B =3B =3B =3B =3B &=
lt=3B/snapshots>=3B<BR> =3B =3B =3B <=3B/pluginRepository&g=
t=3B<BR> =3B =3B =3B <=3BpluginRepository>=3B<BR> =3B&n=
bsp=3B =3B =3B =3B <=3Bid>=3Bsnapshots.jboss.org<=3B/id&g=
t=3B<BR> =3B =3B =3B =3B =3B <=3Bname>=3BJBoss Plug=
in Snapshots<=3B/name>=3B<BR> =3B =3B =3B =3B =3B &=
lt=3Burl>=3Bhttp://snapshots.jboss.org/maven2<=3B/url>=3B<BR> =3B=
 =3B =3B =3B =3B <=3Breleases>=3B<BR> =3B =3B&n=
bsp=3B =3B =3B =3B =3B <=3Benabled>=3Bfalse<=3B/enabl=
ed>=3B<BR> =3B =3B =3B =3B =3B <=3B/releases>=3B<=
BR> =3B =3B =3B =3B =3B <=3Bsnapshots>=3B<BR> =
=3B =3B =3B =3B =3B =3B =3B <=3Benabled>=3Btrue=
<=3B/enabled>=3B<BR> =3B =3B =3B =3B =3B <=3B/sna=
pshots>=3B<BR> =3B =3B =3B <=3B/pluginRepository>=3B<BR>
 =3B =3B =3B <=3BpluginRepository>=3B<BR> =3B =3B&n=
bsp=3B =3B =3B <=3Bid>=3Brepository.jboss.org.2<=3B/id>=3B<=
BR> =3B =3B =3B =3B =3B <=3Bname>=3BJBoss Plugin Re=
leases 2<=3B/name>=3B<BR> =3B =3B =3B =3B =3B <=
=3Burl>=3Bhttp://maven.glassfish.org/content/groups/glassfish<=3B/url&g=
t=3B<BR> =3B =3B =3B =3B =3B <=3Breleases>=3B<BR>&n=
bsp=3B =3B =3B =3B =3B =3B =3B <=3Benabled>=3Bt=
rue<=3B/enabled>=3B<BR> =3B =3B =3B =3B =3B <=3B/=
releases>=3B<BR> =3B =3B =3B =3B =3B <=3Bsnapshots&=
gt=3B<BR> =3B =3B =3B =3B =3B =3B =3B <=3Bena=
bled>=3Bfalse<=3B/enabled>=3B<BR> =3B =3B =3B =3B&nbs=
p=3B <=3B/snapshots>=3B<BR> =3B =3B =3B <=3B/pluginReposi=
tory>=3B<BR>
 =3B <=3B/pluginRepositories>=3B<BR>...<BR>
 =3B<BR>
 =3B<BR>
2. The access right setup for a few files was wrong after the installation =
(some files had ownership of "root" and "www" could not access them). Howev=
er not sure why Jboss runs under "www" and not "root":<BR>
 =3B<BR>
find /var/jboss5/ -user root -exec chown www {} \=3B<BR> </div><=
/body>
</html>=
--_9662dabe-bd5e-43a5-9f48-22f09a2019a7_--
More information about the freebsd-ports-bugs
mailing list