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









 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




Comments:

Detail steps:

1) make sure you are login as root.

homer@opensolaris:~$ su - root
Password:
Sun Microsystems Inc. SunOS 5.11 snv_86 January 2008
-bash-3.2#

2) Set the package client to get the GlassFishv2 from the authority - opensolaris.org
and then install/setup GlassFishv2

-bash-3.2# pkg set-authority -O http://pkg.opensolaris.org opensolaris.org
-bash-3.2# pkg refresh
-bash-3.2# pkg install glassfishv2
DOWNLOAD PKGS FILES XFER (MB)
Completed 12/12 6494/6494 242.51/242.51

PHASE ACTIONS
Install Phase 7463/7463

3) Create a default domain1 and startup the domain1
-bash-3.2# /usr/appserver/bin/asadmin create-domain --user admin --adminport 4848 domain1
Please enter the admin password>
Please enter the admin password again>
Please enter the master password [Enter to accept the default]:>
Please enter the master password again [Enter to accept the default]:>
Using port 4848 for Admin.
Using default port 8080 for HTTP Instance.
Using default port 7676 for JMS.
Using default port 3700 for IIOP.
Using default port 8181 for HTTP_SSL.
Using default port 3820 for IIOP_SSL.
Using default port 3920 for IIOP_MUTUALAUTH.
Using default port 8686 for JMX_ADMIN.
Domain being created with profile:developer, as specified by variable AS_ADMIN_PROFILE in configuration file.
Security Store uses: JKS
Domain domain1 created.

-bash-3.2# /usr/appserver/bin/asadmin start-domain --user admin domain1
Starting Domain domain1, please wait.
Log redirected to /var/appserver/domains/domain1/logs/server.log.
Redirecting output to /var/appserver/domains/domain1/logs/server.log
Domain domain1 is ready to receive client requests. Additional services are being started in background.
Domain [domain1] is running [Sun Java System Application Server 9.1_01 (build b09d-fcs)] with its configuration and logs at: [/var/appserver/domains].
Admin Console is available at [http://localhost:4848].
Use the same port [4848] for "asadmin" commands.
User web applications are available at these URLs:
[http://localhost:8080 https://localhost:8181 ].
Following web-contexts are available:
[/web1 /__wstx-services ].
Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
[service:jmx:rmi:///jndi/rmi://opensolaris:8686/jmxrmi] for domain management purposes.
Domain listens on at least following ports for connections:
[8080 8181 4848 3700 3820 3920 8686 ].
Domain does not support application server clusters and other standalone instances.

-bash-3.2#

Posted by Homer Yau on May 11, 2008 at 10:37 AM PDT #

Post a Comment:
Comments are closed for this entry.
About

Some information, writeup and thoughts about Java, JavaEE JavaSE, GlassFish, Open Source, Exalogic, Xen, xen hypervisor, Cloud, Elastic, OVM , OEL, OVS, Virtualization, Platform as a service (PaaS), Infrastructure as a service (IaaS), Software as a Service (SaaS), Cloud Applications, Cloud computing, and even free software .....

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today