Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2006 17:46:46 -0700
From:      "Homer Yau" <homer_yau@hotmail.com>
To:        freebsd-java@freebsd.org
Subject:   RE: access to J5EE and the SJS Application Server (Glassfish) for FreeBSD 
Message-ID:  <BAY104-F347F2CA3B080B63FC971EE80BA0@phx.gbl>
In-Reply-To: <20060419120039.C597716A4E3@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Martin,

  I have the same thought on running Java EE 5 on FreeBSD.

  Currently, for this couple of months, I have already builded the beta Java 
EE 5 on FreeBSD platform using existing glassfish source and previous jdk1.5 
build and/or the latest native FreeBSD jdk 1.5.

  It seems to be working.  I could start up the domain and deploy the 
quickstart sample hello.

  However, there may still a lot of work to be done. There are "message 
queue" code ," nss library" and other part of the code currently, I get it 
from bootstrap need to be port and build.

  The most important is to make sure you have ant and maven install and 
configure on your system.

  GlassFish Rocks..........


Thanks,
Homer


>From: freebsd-java-request@freebsd.org
>Reply-To: freebsd-java@freebsd.org
>To: freebsd-java@freebsd.org
>Subject: freebsd-java Digest, Vol 160, Issue 3
>Date: Wed, 19 Apr 2006 12:00:39 +0000 (UTC)
>
>Send freebsd-java mailing list submissions to
>	freebsd-java@freebsd.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://lists.freebsd.org/mailman/listinfo/freebsd-java
>or, via email, send a message with subject or body 'help' to
>	freebsd-java-request@freebsd.org
>
>You can reach the person managing the list at
>	freebsd-java-owner@freebsd.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of freebsd-java digest..."
>
>
>Today's Topics:
>
>    1. J5EE + SJS Application Server PE 9 (Martin Dames)
>    2. Re: Getting JAVA_HOME at runtime (Herve Quiroz)
>    3. JDK 1.5.x on top of JDK 1.4.2? (Michael Tran)
>    4. Re: JDK 1.5.x on top of JDK 1.4.2? (Panagiotis Astithas)
>    5. Re: J5EE + SJS Application Server PE 9 (Panagiotis Astithas)
>    6. Please confirm your request to join CHETANA-JOBS  (Yahoo! Groups)
>    7. Re: JDK 1.5.x on top of JDK 1.4.2? (Michael Tran)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 18 Apr 2006 20:44:23 -0300
>From: Martin Dames <martin.dames@unb.ca>
>Subject: J5EE + SJS Application Server PE 9
>To: freebsd-java@freebsd.org
>Message-ID: <D872F78B-B095-4B69-966C-E52CDDA41D58@unb.ca>
>Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
>Hey guys,
>
>I really appreciate your work for FreeBSD and Java integration. But I
>am planning to develop as soon as possible with the new upcoming
>release of Java Enterprise Edition J5EE. And I will need a Java
>application server in conjunction with the new J5EE.  So, it is now
>in development and will be released in fall this year.
>
>I prefer UNIX and not Linux, but unfortunately I am considering to
>change my server to a Linux distribution, because its supported by
>Sun directly. I heard that the FreeBSD project has now an agreement
>with Sun to ship Java native to FreeBSD.
>
>My simple question would be: How long would it take to get native
>access to J5EE and the SJS Application Server (Glassfish) for FreeBSD
>if it released!
>
>Thanks,
>
>Martin.
>
>
>------------------------------
>
>Message: 2
>Date: Wed, 19 Apr 2006 02:43:31 +0200
>From: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
>Subject: Re: Getting JAVA_HOME at runtime
>To: freebsd-java@freebsd.org
>Message-ID: <20060419004331.GA82761@arabica.esil.univ-mrs.fr>
>Content-Type: text/plain; charset=us-ascii
>
>On Tue, Apr 18, 2006 at 10:48:58AM +0200, Jean-Baptiste Quenot wrote:
> > > Unfortunately  I don't  have  a  good solution  to  that at  the
> > > moment.   It almost  seems like  we want  a flag  or environment
> > > variable  that tells  javavmwrapper to  dump what  it found  out
> > > rather than actually executing anything.
> >
> > That would be interesting, but can you confirm that the JDK lookup
> > algorithm is  implemented both in  bsd.java.mk and in  javavm?  We
> > might want to  unify both, for example bsd.java.mk  should use the
> > wrapper.
>
>Actually, I don't think having bsd.java.mk using the wrapper would be
>simple. javavmwrapper is installed as a port, and bsd.java.mk is part of
>the ports system. That's why we chose to implement things the exact
>opposite way.
>
>The JDK choosing algorithm is only implemented in bsd.java.mk. It picks
>a suitable JDK (according to version, vendor, etc) amongst the ones in
>ports. bsd.java.mk also handles the case when no JDK is suitable and
>finds out which one should be installed. javavmwrapper, OTOH, uses the
>logic from bsd.java.mk (not reimplementing it) to pick a port that is
>*already* installed via the ports. But javavmwrapper also handles JVMs
>registered in ${PREFIX}/etc/javavms and will take user-set JAVA_HOME
>into consideration.
>
>
>Back to the original topic (finding out JAVA_HOME), I had already
>thought of a quick hack to get javavm displaying JAVA_HOME. I think I
>can provide a patch for this feature if needed.
>
>Herve
>
>
>------------------------------
>
>Message: 3
>Date: Wed, 19 Apr 2006 11:00:27 +1000
>From: "Michael Tran" <dublue@gmail.com>
>Subject: JDK 1.5.x on top of JDK 1.4.2?
>To: freebsd-java@freebsd.org
>Message-ID:
>	<4011f09c0604181800i7a2f4755o39d7a62ddd67f003@mail.gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Hi,
>
>I installed the diablo-JRE 1.5.x version as found at
>http://freebsdfoundation.org/downloads/java.shtml ontop of my previous
>install of JDK 1.4.2
>
># pkg_info | grep jdk
>jdk-1.4.2p7_2       Java Development Kit 1.4.2
>linux-sun-jdk-1.4.2.10 Sun Java Development Kit 1.4 for Linux
>
>And Firefox is great and using the new 1.5 plugin.  However, my other
>applications do not use the new version.  Also, this is the output
>when I try java -version:
>
># /usr/local/bin/java -version
>java version "1.4.2-p7"
>Java(TM) 2 Runtime Environment, Standard Edition (build
>1.4.2-p7-root_10_nov_2005_18_44)
>Java HotSpot(TM) Client VM (build 1.4.2-p7-root_10_nov_2005_18_44, mixed 
>mode)
>
>What is the process in updating my existing java with the latest?  Do
>I pkg_delete, then pkg_add the new one?  My preference is to have only
>one java.
>
>I also have Openoffice, Gimp, and a few other applications installed.
>Will this pose as a problem?
>
>Many thanks,
>Michael
>
>
>------------------------------
>
>Message: 4
>Date: Wed, 19 Apr 2006 10:14:54 +0300
>From: Panagiotis Astithas <past@ebs.gr>
>Subject: Re: JDK 1.5.x on top of JDK 1.4.2?
>To: Michael Tran <dublue@gmail.com>
>Cc: freebsd-java@freebsd.org
>Message-ID: <4445E36E.6050709@ebs.gr>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Michael Tran wrote:
> > Hi,
> >
> > I installed the diablo-JRE 1.5.x version as found at
> > http://freebsdfoundation.org/downloads/java.shtml ontop of my previous
> > install of JDK 1.4.2
> >
> > # pkg_info | grep jdk
> > jdk-1.4.2p7_2       Java Development Kit 1.4.2
> > linux-sun-jdk-1.4.2.10 Sun Java Development Kit 1.4 for Linux
>
>This doesn't show any trace of diablo-jre at all. Are you sure you
>installed it?
>
> > And Firefox is great and using the new 1.5 plugin.  However, my other
> > applications do not use the new version.  Also, this is the output
> > when I try java -version:
> >
> > # /usr/local/bin/java -version
> > java version "1.4.2-p7"
> > Java(TM) 2 Runtime Environment, Standard Edition (build
> > 1.4.2-p7-root_10_nov_2005_18_44)
> > Java HotSpot(TM) Client VM (build 1.4.2-p7-root_10_nov_2005_18_44, mixed 
>mode)
>
>Assuming that you actually have diablo installed, you also have to have
>an updated ports tree in order for javavmwrapper to correctly pick
>diablo as the default jdk. At least ports/Mk/bsd.java.mk has to be
>updated to the latest version.
>
> > What is the process in updating my existing java with the latest?  Do
> > I pkg_delete, then pkg_add the new one?  My preference is to have only
> > one java.
>
>Just pkg_add the diablo package and you should be set. Later you can
>remove the jdk14 port if you want.
>
> > I also have Openoffice, Gimp, and a few other applications installed.
> > Will this pose as a problem?
>
>No, it shouldn't.
>
>Cheers,
>
>Panagiotis
>
>
>------------------------------
>
>Message: 5
>Date: Wed, 19 Apr 2006 10:19:32 +0300
>From: Panagiotis Astithas <past@ebs.gr>
>Subject: Re: J5EE + SJS Application Server PE 9
>To: Martin Dames <martin.dames@unb.ca>
>Cc: freebsd-java@freebsd.org
>Message-ID: <4445E484.6010309@ebs.gr>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Martin Dames wrote:
> > Hey guys,
> >
> > I really appreciate your work for FreeBSD and Java integration. But I am
> > planning to develop as soon as possible with the new upcoming release of
> > Java Enterprise Edition J5EE. And I will need a Java application server
> > in conjunction with the new J5EE.  So, it is now in development and will
> > be released in fall this year.
> >
> > I prefer UNIX and not Linux, but unfortunately I am considering to
> > change my server to a Linux distribution, because its supported by Sun
> > directly. I heard that the FreeBSD project has now an agreement with Sun
> > to ship Java native to FreeBSD.
> >
> > My simple question would be: How long would it take to get native access
> > to J5EE and the SJS Application Server (Glassfish) for FreeBSD if it
> > released!
>
>Assuming Glassfish is pure Java, you should be able to use the latest
>beta today. Alternatively, you could use ports/java/jboss4 for an
>application server with support for JEE 1.5.
>
>Cheers,
>
>Panagiotis
>
>
>------------------------------
>
>Message: 6
>Date: 19 Apr 2006 08:04:39 -0000
>From: Yahoo! Groups
>	<confirm-s2-7KI08mBu1fQka6_vSgxtLijlggY-freebsd-java=freebsd.org@yahoogroups.com>
>
>Subject: Please confirm your request to join CHETANA-JOBS
>To: freebsd-java@freebsd.org
>Message-ID: <1145433879.35.96960.w111@yahoogroups.com>
>Content-Type: text/plain
>
>
>Hello freebsd-java@freebsd.org,
>
>We have received your request to join the CHETANA-JOBS
>group hosted by Yahoo! Groups, a free, easy-to-use community service.
>
>This request will expire in 7 days.
>
>TO BECOME A MEMBER OF THE GROUP:
>
>1) Go to the Yahoo! Groups site by clicking on this link:
>    
>http://groups.yahoo.com/i?i=7KI08mBu1fQka6_vSgxtLijlggY&e=freebsd-java%40freebsd%2Eorg
>
>   (If clicking doesn't work, "Cut" and "Paste" the line above into your
>    Web browser's address bar.)
>
>-OR-
>
>2) REPLY to this email by clicking "Reply" and then "Send"
>    in your email program
>
>If you did not request, or do not want, a membership in the
>CHETANA-JOBS group, please accept our apologies
>and ignore this message.
>
>Regards,
>
>Yahoo! Groups Customer Care
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>
>
>
>
>
>------------------------------
>
>Message: 7
>Date: Wed, 19 Apr 2006 21:47:01 +1000
>From: "Michael Tran" <dublue@gmail.com>
>Subject: Re: JDK 1.5.x on top of JDK 1.4.2?
>To: "Panagiotis Astithas" <past@ebs.gr>
>Cc: freebsd-java@freebsd.org
>Message-ID:
>	<4011f09c0604190447m43218ed4nd720bfe95fefa6dc@mail.gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Thanks!  All I needed to do was sync my ports tree then reinstalled.
>Sorry that list of jdk I provided was after I uninstalled it.  I have
>also removed my previous version too.  All appears to be working with
>the new java.
>
>Thanks again!
>Michael
>
>On 4/19/06, Panagiotis Astithas <past@ebs.gr> wrote:
> > Michael Tran wrote:
> > > Hi,
> > >
> > > I installed the diablo-JRE 1.5.x version as found at
> > > http://freebsdfoundation.org/downloads/java.shtml ontop of my previous
> > > install of JDK 1.4.2
> > >
> > > # pkg_info | grep jdk
> > > jdk-1.4.2p7_2       Java Development Kit 1.4.2
> > > linux-sun-jdk-1.4.2.10 Sun Java Development Kit 1.4 for Linux
> >
> > This doesn't show any trace of diablo-jre at all. Are you sure you
> > installed it?
> >
> > > And Firefox is great and using the new 1.5 plugin.  However, my other
> > > applications do not use the new version.  Also, this is the output
> > > when I try java -version:
> > >
> > > # /usr/local/bin/java -version
> > > java version "1.4.2-p7"
> > > Java(TM) 2 Runtime Environment, Standard Edition (build
> > > 1.4.2-p7-root_10_nov_2005_18_44)
> > > Java HotSpot(TM) Client VM (build 1.4.2-p7-root_10_nov_2005_18_44, 
>mixed mode)
> >
> > Assuming that you actually have diablo installed, you also have to have
> > an updated ports tree in order for javavmwrapper to correctly pick
> > diablo as the default jdk. At least ports/Mk/bsd.java.mk has to be
> > updated to the latest version.
> >
> > > What is the process in updating my existing java with the latest?  Do
> > > I pkg_delete, then pkg_add the new one?  My preference is to have only
> > > one java.
> >
> > Just pkg_add the diablo package and you should be set. Later you can
> > remove the jdk14 port if you want.
> >
> > > I also have Openoffice, Gimp, and a few other applications installed.
> > > Will this pose as a problem?
> >
> > No, it shouldn't.
> >
> > Cheers,
> >
> > Panagiotis
> >
>
>
>------------------------------
>
>_______________________________________________
>freebsd-java@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-java
>To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"
>
>End of freebsd-java Digest, Vol 160, Issue 3
>********************************************

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY104-F347F2CA3B080B63FC971EE80BA0>