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>
 &nbsp=3B<BR>
 while installing Jboss5 on Freebsd I came across a few issues. It may be re=
 lated to your problem.<BR>
 &nbsp=3B<BR>
 Check if the below fixes apply to your case&nbsp=3B(and maybe incorporate t=
 hem into the version control).<BR>
 &nbsp=3B<BR>
 &nbsp=3B<BR>
 Cheers=2C<BR>
 Balazs<BR>
 &nbsp=3B<BR>
 ---<BR>
 &nbsp=3B<BR>
 1. Had to add an extra repository as some "modules" were not available on t=
 he Jboss server:<BR>
 &nbsp=3B<BR>
 vi /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/pom.xml<BR>...<BR>&nbsp=
 =3B &lt=3B!-- Repositories --&gt=3B<BR>&nbsp=3B &lt=3Brepositories&gt=3B<BR=
 >&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Brepository&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=
 =3B&nbsp=3B&nbsp=3B &lt=3Bid&gt=3Brepository.jboss.org&lt=3B/id&gt=3B<BR>&n=
 bsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bname&gt=3BJBoss Releases Repos=
 itory&lt=3B/name&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bur=
 l&gt=3Bhttp://repository.jboss.org/maven2&lt=3B/url&gt=3B<BR>&nbsp=3B&nbsp=
 =3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Breleases&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=
 =3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Benabled&gt=3Btrue&lt=3B/enabled&g=
 t=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3B/releases&gt=3B<BR>&=
 nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bsnapshots&gt=3B<BR>&nbsp=3B&n=
 bsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Benabled&gt=3Bfalse&lt=
 =3B/enabled&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3B/snapsh=
 ots&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B &lt=3B/repository&gt=3B<BR>&nbsp=3B&n=
 bsp=3B&nbsp=3B &lt=3Brepository&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&n=
 bsp=3B &lt=3Bid&gt=3Bsnapshots.jboss.org&lt=3B/id&gt=3B<BR>&nbsp=3B&nbsp=3B=
 &nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bname&gt=3BJBoss Snapshots Repository&lt=3B/n=
 ame&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Burl&gt=3Bhttp:/=
 /snapshots.jboss.org/maven2&lt=3B/url&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
 p=3B&nbsp=3B &lt=3Breleases&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
 =3B&nbsp=3B&nbsp=3B &lt=3Benabled&gt=3Bfalse&lt=3B/enabled&gt=3B<BR>&nbsp=
 =3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3B/releases&gt=3B<BR>&nbsp=3B&nbsp=
 =3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bsnapshots&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=
 =3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Benabled&gt=3Btrue&lt=3B/enabled&g=
 t=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3B/snapshots&gt=3B<BR>=
 &nbsp=3B&nbsp=3B&nbsp=3B &lt=3B/repository&gt=3B<BR>
 &nbsp=3B&nbsp=3B&nbsp=3B &lt=3Brepository&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B=
 &nbsp=3B&nbsp=3B &lt=3Bid&gt=3Brepository.jboss.org.2&lt=3B/id&gt=3B<BR>&nb=
 sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bname&gt=3BJBoss Releases Reposi=
 tory 2&lt=3B/name&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bu=
 rl&gt=3Bhttp://maven.glassfish.org/content/groups/glassfish&lt=3B/url&gt=3B=
 <BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Breleases&gt=3B<BR>&nbsp=
 =3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Benabled&gt=3Btrue=
 &lt=3B/enabled&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3B/rel=
 eases&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bsnapshots&gt=
 =3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Benabl=
 ed&gt=3Bfalse&lt=3B/enabled&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
 =3B &lt=3B/snapshots&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B &lt=3B/repository&gt=
 =3B<BR>
 &nbsp=3B &lt=3B/repositories&gt=3B<BR>...<BR>&nbsp=3B &lt=3BpluginRepositor=
 ies&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B &lt=3BpluginRepository&gt=3B<BR>&nbsp=
 =3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bid&gt=3Brepository.jboss.org&lt=
 =3B/id&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bname&gt=3BJB=
 oss Plugin Releases&lt=3B/name&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
 sp=3B &lt=3Burl&gt=3Bhttp://repository.jboss.org/maven2&lt=3B/url&gt=3B<BR>=
 &nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Breleases&gt=3B<BR>&nbsp=3B&n=
 bsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Benabled&gt=3Btrue&lt=
 =3B/enabled&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3B/releas=
 es&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bsnapshots&gt=3B<=
 BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Benabled&g=
 t=3Bfalse&lt=3B/enabled&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &=
 lt=3B/snapshots&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B &lt=3B/pluginRepository&g=
 t=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B &lt=3BpluginRepository&gt=3B<BR>&nbsp=3B&n=
 bsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bid&gt=3Bsnapshots.jboss.org&lt=3B/id&g=
 t=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bname&gt=3BJBoss Plug=
 in Snapshots&lt=3B/name&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &=
 lt=3Burl&gt=3Bhttp://snapshots.jboss.org/maven2&lt=3B/url&gt=3B<BR>&nbsp=3B=
 &nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Breleases&gt=3B<BR>&nbsp=3B&nbsp=3B&n=
 bsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Benabled&gt=3Bfalse&lt=3B/enabl=
 ed&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3B/releases&gt=3B<=
 BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bsnapshots&gt=3B<BR>&nbsp=
 =3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Benabled&gt=3Btrue=
 &lt=3B/enabled&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3B/sna=
 pshots&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B &lt=3B/pluginRepository&gt=3B<BR>
 &nbsp=3B&nbsp=3B&nbsp=3B &lt=3BpluginRepository&gt=3B<BR>&nbsp=3B&nbsp=3B&n=
 bsp=3B&nbsp=3B&nbsp=3B &lt=3Bid&gt=3Brepository.jboss.org.2&lt=3B/id&gt=3B<=
 BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bname&gt=3BJBoss Plugin Re=
 leases 2&lt=3B/name&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=
 =3Burl&gt=3Bhttp://maven.glassfish.org/content/groups/glassfish&lt=3B/url&g=
 t=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Breleases&gt=3B<BR>&n=
 bsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Benabled&gt=3Bt=
 rue&lt=3B/enabled&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3B/=
 releases&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bsnapshots&=
 gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bena=
 bled&gt=3Bfalse&lt=3B/enabled&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
 p=3B &lt=3B/snapshots&gt=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B &lt=3B/pluginReposi=
 tory&gt=3B<BR>
 &nbsp=3B &lt=3B/pluginRepositories&gt=3B<BR>...<BR>
 &nbsp=3B<BR>
 &nbsp=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>
 &nbsp=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