Thursday Aug 23, 2012

Java Summer Workshop in Tokyo

This time I had the chance to attend to an event at the Oracle Aoyama Center, the Java Summer Workshop 2012.

Although the event was mostly in Japanese, there were two links in English by Arun Gupta and Bert Ertman .

Arun Gupta introduced us to the world of Java EE 7 in a dynamic presentation where he showed improvements in EJB, JMS, JSF, etc including the very interesting WebSocket. More information on Java EE 7 can be found here.

Bert Ertman talked about Spring, or well, migrating from old Spring to Java EE 6. He made his presentation very appealing by using (images of) notes on a pinboard in his slides. Although I am not too much into Application Servers anymore it was refreshing to hear his talk and to notice that i am not too outdated.

Wednesday Aug 08, 2012

Solaris 11: changing the hostname

To change the hostname in Solaris 11, I followed this steps:

1 - To check the current environment properties:

root@solaris:~# svccfg -s system/identity:node listprop config
config                 application        
config/enable_mapping boolean     true
config/nodename       astring     solaris
config/loopback       astring     solaris

2 - Set the new hostname

root@solaris:~# svccfg -s system/identity:node setprop config/nodename="my-host-name"
root@solaris:~# svccfg -s system/identity:node setprop config/loopback="my-host-name"

3- Refresh the properties:

root@solaris:~# svccfg -s system/identity:node refresh
4 - Restart the service:
root@solaris:~# svcadm restart system/identity:node

5 - verify that the changes took place:

root@solaris:~# svccfg -s system/identity:node listprop config
config                 application        
config/enable_mapping boolean     true
config/nodename       astring     my-host-name
config/loopback       astring     my-host-name
root@solaris:~# hostname
my-host-name

The hostname in the prompt will appear the next time a shell is open.

About

jorge_neidisch

Search

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