The option to launch the Profile Management Tool is only available when a 32-bit version of WebSphere Application Server is installed.
Zresztą tak było od wieków i jak widać szybko się nie zmieni. Doświadczając niedogodności, które są nieobce wielu klientom WASa, zwykłem wybierać najtrudniejszy rodzaj platformy do przeprowadzenia instalacji i późniejszej administracji WASa. Czy to WAS, czy WPS, czy ILOG JRules, idę na całość i wybieram 64 bity z opcją instalacji automatycznej (wydawać by się mogło, że prostszej, ale "automatycznie" znaczy przygotuj wcześniej właściwy plik z odpowiedziami, co dla wielu stanowi wyzwanie same w sobie i nici z prostoty :-)).
Pobrałem właściwe pakiety instalacyjne - IBM Installation Manager for Linux (IM) oraz WebSphere Application Server V8.0 Network Deployment for Linux (wersja udostępniająca tworzenie domeny administracyjnej nazywanej celą, w której możliwe jest również tworzenie klastrów).

Mamy dwie opcje instalacji WAS8 z pomocą IM - w trybie z połączeniem do Sieci (online) i bez (offline). Repozytoria zdalne są zdefiniowane w IM, więc jeśli się ich nie wyłączy, uruchomienie instalacji pozwoli na wybór wersji WASa - samodzielny WAS lub wersja ND.







Przez "prawie" mam na myśli konieczność stworzenia profilu, co z manageprofiles i przygotowanym plikiem odpowiedzi w profileTemplates/default jest niezwykle proste.
[root@localhost AppServer]# ./bin/manageprofiles.sh -create -templatePath profileTemplates/defaultKolejną niespodzianką był czas uruchomienia WAS8 - niespełna 30 sekund! Jeśli ktokolwiek nazwie WASa "kobyłą", to mógłby mieć na myśli, albo inny produkt, albo...wypowiedź ocenzurowana.
INSTCONFSUCCESS: Success: Profile AppSrv01 now exists. Please consult /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/AboutThisProfile.txt for more information about this profile.
[root@localhost AppServer]# pwd
/opt/IBM/WebSphere/AppServer
[root@localhost AppServer]# ./bin/manageprofiles.sh -listProfiles
[AppSrv01]
[root@localhost AppServer]# cat profiles/AppSrv01/logs/AboutThisProfile.txt
Application server environment to create: Application server
Location: /opt/IBM/WebSphere/AppServer/profiles/AppSrv01
Disk space required: 200 MB
Profile name: AppSrv01
Make this profile the default: True
Node name: localhostNode01
Host name: localhost
Enable administrative security (recommended): False
Administrative console port: 9060
Administrative console secure port: 9043
HTTP transport port: 9080
HTTPS transport port: 9443
Bootstrap port: 2809
SOAP connector port: 8880
Run application server as a service: False
Create a Web server definition: False
[root@localhost AppSrv01]# ./bin/startServer.sh server1To musi cieszyć każdego, komu przyszło lub przyjdzie dotykać WASa. Widać, że produkt się rozwija i czasy uruchomienia są coraz bardziej imponujące (jeśli do tej pory nie były ;-)).
ADMU0116I: Tool information is being logged in file
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/startServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 7358
[root@localhost AppSrv01]# cat logs/server1/SystemOut.log
************ Start Display Current Environment ************
WebSphere Platform 8.0.0.0 [ND 8.0.0.0 kk1009.04] running with process name localhostNode01Cell\localhostNode01\server1 and process id 7358
Host Operating System is Linux, version 2.6.18-194.el5
Java version = 1.6.0, Java Compiler = j9jit24, Java VM name = IBM J9 VM
was.install.root = /opt/IBM/WebSphere/AppServer
user.install.root = /opt/IBM/WebSphere/AppServer/profiles/AppSrv01
Java Home = /opt/IBM/WebSphere/AppServer/java/jre
ws.ext.dirs = /opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/classes:/opt/IBM/WebSphere/AppServer/classes:/opt/IBM/WebSphere/AppServer/lib:/opt/IBM/WebSphere/AppServer/installedChannels:/opt/IBM/WebSphere/AppServer/lib/ext:/opt/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime
Classpath = /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/properties:/opt/IBM/WebSphere/AppServer/properties:/opt/IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/jsf-nls.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batch2.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar
Java Library path = /opt/IBM/WebSphere/AppServer/java/jre/lib/amd64/compressedrefs:/opt/IBM/WebSphere/AppServer/java/jre/lib/amd64:/opt/IBM/WebSphere/AppServer/bin::/usr/lib
************* End Display Current Environment *************
[4/26/10 18:12:50:916 CEST] 00000000 ManagerAdmin I TRAS0017I: The startup trace state is *=info.
...
[4/26/10 18:13:17:887 CEST] 00000000 WsServerImpl A WSVR0001I: Server server1 open for e-business
Teraz uruchomienie konsoli administracyjnej http://localhost:9060/ibm/console i kolejna niespodzianka. Nowiutki ekran logowania!


Tym samym kolejny krok ku nirwanie technologicznej szczęśliwości związanej z JEE6 i WAS8 zrobiony. "That's one small step for [a] man, one giant leap for mankind" :-)
Kolejne zadanie to przestudiowanie nowej specyfikacji Java Servlet 3.0 i uruchomienie przykładowej aplikacji webowej bez deskryptora. Zaplanowałem już wykręcić jakiś maluczki skrinkast. Z nadzieją na ciekawe pomysły, co miałby zawierać i ile miałby trwać, zamieniam się w słuch...
"wersja udostępniająca tworzenie domeny administracyjnej nazywanej celą, w której możliwe jest również tworzenie klastrów"
OdpowiedzUsuńCelą ? A nie powinno się tego tłumaczyć jako komórka ? Zdecydowanie bardziej pasuje.
Poza tym czy dostępne jest także całe WAS ND Edge Components w wersji alpha ?
Pozdr!
Łukasz
wookasz.blogspot.com
Cela jest tak blisko znaczeniowo i dźwięcznie do angielskiego cell, że nawet jeśli oficjalnie jest komórka, to cela i tak jest w powszechnym użyciu.
OdpowiedzUsuńNie widziałem EC w instalacji. To zawsze był dodatek, więc domyślam się, że w Alpha jest jedynie wycinek pełnego CD z jedynie katalogiem WAS.
Proponuję spróbować swoich sił z WAS8, bo wrażenie jest niesamowite. Odciska swoje piętno na psychice :-)
ok ok:) W sumie to Ty jesteś z IBM :)
OdpowiedzUsuńa co do spróbowania WAS 8.0 to bardzo chętnie skoro jest w wersji ND. Zaraz włączę sobie pobieranie :)
_
Pozdr!
Łukasz
wookasz.blogspot.com
a na jakim sprzęcie WAS odpala Ci się 30s? Bo, że coraz szybciej na coraz lepszym sprzęcie, to chyba żadna rewelacja...
OdpowiedzUsuńOczywiście na moim Maku z 8GB RAMu, ale na 1,5GB na obrazie VMware Fusion. Może to po prostu zaślepienie i chęć szybkiego uruchomienia?! :-)
OdpowiedzUsuń