Homer Yau's Weblog Homer Yau's Weblog

Wednesday Jul 01, 2009

NetBeans 6.7 is here now.

[Read More]

Friday Jun 05, 2009

One more day for JavaOne 2009 @ SF..................

[Read More]

Tuesday Jun 02, 2009

Simple and easy way to deploy a Portal Deployment.

[Read More]

Wednesday Apr 08, 2009

Try it out............... VirtualBox 2.2.0 is here

[Read More]

Friday Apr 03, 2009

How to create GlassFish v2 and v2.1 domain1 with saved credential for developer profile?

[Read More]

Tuesday Dec 09, 2008

JavaFX is for Rich Internet Experiences...

[Read More]

Thursday Nov 06, 2008

Sun GlassFish Enterprise Server v3 Prelude is released.

[Read More]

Monday May 05, 2008









 OpenSolaris is now ready on
Amazon EC2
and you could add GlassFishv2 too..........



AWS...Cloud computing..............



Now developers could try and deploy on our
OpenSolaris
on Amazon EC2
. It is in beta program.



After getting access to the latest OpenSolaris, now you could try
GlassFish v2 on OpenSolaris, too.



Here are the few steps you need to do.

1) pkg set-authority -O http://pkg.opensolaris.org:80 opensolaris.org

2) pkg refresh

3) pkg install glassfishv2

4) Then run the command to create a default domain1

/usr/appserver/bin/asadmin create-domain --user admin --adminport 4848 domain1

During the creation of new domain
a)type (typical default) admin password : adminadmin
b)type (typical default) master password : changeit

5) Then run the command to start the newly created default domain1
/usr/appserver/bin/asadmin start-domain --user admin domain1

6) Now you should be able to access the GlassFishv2 on OpenSolaris

GlassFish Admin Console
http://hostname_or_ip_address:4848

GlassFish HTTP
http://hostname_or_ip_address:8080
https://hostname_or_ip_address:8181





Reference:

https://glassfish.dev.java.net/

http://blogs.sun.com/VirtualGuru/

http://www.amazon.com/gp/browse.html?node=643950011




Tuesday Apr 01, 2008






GlassFish Quality Community - Come and join us.

GlassFish Quality Community Team Portal
https://glassfish.dev.java.net/quality/portal/

Meet our GlassFish Quality Team

https://glassfish.dev.java.net/quality/portal/team.html

More to come.......



Wednesday Dec 19, 2007



Yes, We do it again.   "Release, Release, and Release"

GlassFish v2 UR1 and Sun Java System App Server 9.1 U1 and Java EE 5
SDK Update 4 all have been released

You can get more information from the following links:

GlassFish v2 ur1:
https://glassfish.dev.java.net/downloads/v2ur1-b09d.html

Sun Java Application Server : http://www.sun.com/appserver

Java EE 5 SDK Update 4 release :
http://java.sun.com/javaee/downloads/index.jsp

Is that Cool..............?

"JavaEE technology is one of the best enterprise software developer platform."

-HY


Monday Sep 17, 2007

  Cool - Sun Application Server 9.1 is released. ........

  Java EE 5 SDK Update 3 now is released which have included Sun Java System Application Server 9.1 (FCS - final release). And this is based on GlassFish V2 which have clustering support.

  If you are interested download from this URL and it is FREE.
  http://java.sun.com/javaee/downloads/index.jsp

  (Free! for Development and Production)

  -hyau

Tuesday May 08, 2007

Telco Real-Time Application Server is coming.....
  • Real time control and visualization of conference calls
  • VoIP Based audio integrated with an Ajax front end
  • Based on Java EE 5 and SIP Servlet Technology




Cool Stuff.........

Wednesday Aug 02, 2006


Glassfish on FreeBSD

Yes, you could build the Open Source GlassFish on FreeBSD platform, too.

Since I have build GlassFish on two version of FreeBSD (6.0 and 6.1) from scratch; therefore, I think it would like good to share my experience on how to do it. Following is just a quick note on how one could build Glassfish on FreeBSD.
FreeBSD or other BSD will be just like another UNIX (POSIX) platform (Solaris, Linux, Mac) that could build and run GlassFish.

Glassfish on FreeBSD
How to build GlassFish on FreeBSD.
[Read More]

Friday Apr 28, 2006


  You could either use asadmin command "create-jvm-option" or "create-system-properties" .

For example:

    i) If you want to set environment variables "ORACLE_HOME=/export/oracle" for the appserver instance to refer. In appserver, it would use "create-system-properties" command..

        Sample syntax for the command to add system property:
        /opt/SUNWappserver/appserver/bin/asadmin create-system-properties --user admin --passwordfile /tmp/adminpasswordfile --host localhost --port 4849 --target your_server ORACLE_HOME=/export/oracle

    ii) If you want to set JVM option.

        Sample syntax for the command to add jvm option:
        /opt/SUNWappserver/appserver/bin/asadmin create-jvm-options --user admin --passwordfile /tmp/adminpasswordfile --host localhost --port 4849 --target your-server \\-Dcom.sun.jndi.ldap.connect.pool.protocol="plain ssl"

a) create-jvm-option sets the variable for the jvm.   User would use this command to change the heap size, profiler and other VM related options see: http://java.sun.com/docs/hotspot/VMOptions.html

b) create-system-properties sets the <system-property> element in the domain.xml.  The variable is also set in the vm but at a lower priority.   User can also set this to overwrite default values set in the config or domain level.


If you need more detail on the variable on Glassfish or Application Server please see the following URL:
http://docs.sun.com/app/docs/doc/819-2557/6n4rbnpba?a=view#abhau  for a more detailed descriptions between jvm-option and system-properties.