Monday, June 11, 2007
Sunday, June 10, 2007
Running Marty Hall's JSF Tutorial samples with Exadel Studio Pro 4.0.4a
The most current version of Exadel Studio Pro is an extended trial version
that can be used until Exadel Studio Pro becomes open source under JBoss:
(1) 4.0.4a (Last update: May 4, 2007)
(2) Eclipse version required: Eclipse 3.2.1
(3) Expiration Date: August 30, 2007
Downloading and Installing Exadel Studio Pro.
Download the appropriate installation file for your platform from www.exadel.com/web/portal/download
Unzip the file.Create a text file called com.exadel.studio.link in the links folder within the Eclipse home folder.The content of the file should be point to the place where you unzipped Exadel Studio:
path="ExadelStudioHome"
for example: path=c:/ExadelStudioPro. (Always use forward slashes.)
Start Eclipse with -clean option: eclipse -clean
Note, that you cannot import samples from [1] directly into Eclipse 3.2.X.
Purchase of MyEclipse Plugin subscription seems to be quite necessary.
View [1] for details.
TomCat 5.5.23, installed as Windows service, has been used for JSF Web Application deployment. Samples have been previously imported into Exadel Studio Pro 4.0.4a .
Regarding deployment to Jboss 4.0.5 , view also:-
Learning Marty Hall's JSF Tutorial with Jboss IDE for Eclipse and Exadel Studio Pro
Proceed as follows, utilizing Exadel Studio Plugin import into Eclipse:-
Just a reminder,follow this way you will be using only open source software,
avoiding any charges connected with MyEclipse 5.5 GA until early fall,
when Red Hat Developer Studio (former Exadel Studio Pro) will become available.
References.
1.http://www.coreservlets.com/JSF-Tutorial/eclipse-projects.html
Thursday, June 07, 2007
Install Oracle 10.2.0.1 on Solaris 10 (64 bit) virtual machine under VMWare Server
1.0.3 on CentOS 5.0
CentOS 5.0 and VMWare Server 1.0.3 have been installed on the box been assembled
utilizing following hardware:-
CPU Core2Duo E6600 2.4GHZ, board ASUS P5B Deluxe, 2GB RAM (2xDDR2 1GB PC 5300 Kingston),2x160 GB SATA HDDs Seagate Barracuda 160 GB. Host Controllers Intel ICH8R and Jmicron JMB 363 both running in AHCI mode, what prevents from straightforward installation Solaris 10 on mentioned box.
Solaris 10 (11/06) has been installed as VMWare Server Virtual Machine configured as:-
Solaris 10 Virtual Machine start up:-
Login to Solaris:-
Virtual Network Bridge verification:-
Runtime snapshot:-
Shutdown Solaris properly :-
Now Solaris VM may be powered off:-
Test install Oracle 10g R2 on Solaris 10 VM.
Note:-
Through my experience change VMware Solaris 10 VM BIOS setting for
"Large Disk Access Mode" from "DOS" to "Others" gives I/O performance improvement
about 20-30%. Press "F2" during VMWare startup to enter BIOS setup

Create user "oracle" :-
# groupadd oinstall
# groupadd dba
# useradd -d /export/home/oracle -g oinstall -G dba -m -s /bin/bash oracle
# passwd -r files oracle
# mkdir -p /export/home/oracle/product/10.2.0/db_1
# chown -R oracle:oinstall /export/home/oracle
Create project "oracle" and tune maximum shared memory size
segment available for oracle session as 4 GB utilizing "prctl" command as required
by Oracle manuals for Solaris 10, i.e. run as root:-
# projadd oracle
and add line to /etc/user_attr:-
oracle::::project=oracle
Having oracle’s session opened , run as root:-
# projmod -s -K "project.max-shm-memory=(priv,4gb,deny)" oracle
Relogin as oracle and make sure oracle's project has been updated:-
$ prctl -n project.max-shm-memory -i project oracle
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-shm-memory
privileged 4.00GB - deny –
system 16.0EB max deny -
In general, following kernel parameters have to be
also tuned for Solaris 10 :-
project.max-sem-ids 100
project.max-sem-nsems 256
project.max-shm-ids 100
Tune ~oracle/.bash_profile as usual:-
umask 022
TMP=/tmp
TMPDIR=$TMP
DISPLAY=:0.0
export TMP TMPDIR DISPLAY
export ORACLE_BASE=/export/home/oracle
export ORACLE_HOME=/export/home/oracle/product/10.2.0/db_1
export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$PATH
and issue :-
# xhost +
# su - oracle
$ cd /install/database
$./runInstaller
Due to known bug , run Installer with option "Install Software only"
When done , run:-
$ dbca
to create database and
$ netca
to configure file $ORACLE_HOME/network/admin/listener.ora and
$ORACLE_HOME/network/admin/tnsnames.ora.
Different approach is to disable sendmail:-
# svcadm disable svc:/network/smtp:sendmail
# xhost +
# su - oracle
$ cd /install/database
$./runInstaller
Select option "Create Database". Installer won't hang now.
Oracle sample database start/stop benchmarking.
Subscribe to:
Posts (Atom)