Aug 21, 2009

Oracle SOA Suite 11g: How to get a running test instance (on a laptop)?

After migrating the first project, the next step is to deploy this bpel to a server. I started with only installing JDeveloper an let's see, if it possible to stay with that (without installing the real wls production server).

I started with just with
/opt/Oracle/Middleware/utils/quickstart/quickstart.sh

So this looks like the wls server can be configured with Getting started with WebLogic Server 10.3.1:


But after some clicks i ended with:

Ok, there was only a very small chance, that a database is included inside the jdev-package. Like expected i installed Oracle's XE database. And after a short search i found a nice guide for setting up test instances inside wiki.oracle.com.

Just to add the missing steps:
dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb
/etc/init.d/oracle-xe configure
oracle@hades:~/app/oracle/product/10.2.0/server/bin$ ./createdb.sh
lsnrctl start
sqlplus system/passwd@XE
and as written in the Oracle documentation - download the rcu and run it:
./rcu






Ok, ignore this, but then:
RCU-6107:Fehler bei der Prüfung auf Voraussetzungen von DB Init Param für: SHARED_POOL_SIZE
Erforderlicher Wert = 147456 KB, Aktueller Wert = 0 KB, Vergleichsoperator: ">="
RCU-6107:Fehler bei der Prüfung auf Voraussetzungen von DB Init Param für: SGA_MAX_SIZE
Erforderlicher Wert = 147456 KB, Aktueller Wert = 143360 KB, Vergleichsoperator: ">="
But this is fixable:

SQL> alter system set sga_max_size=150M scope=spfile;
System altered.
SQL> alter system set sga_target=150M scope=spfile;
System altered.
and restart the DB:









Once again:
/opt/Oracle/Middleware/wlserver_10.3/common/bin/config.sh
...




Then i tried via Jdeveloper -> Run -> Start Server Instance
But the result was just many errors and no connectivity via http://localhost:7001.

Then i tried
cd /opt/Oracle/Middleware/user_projects/domains/DefaultDomain/
./startWebLogic.sh
And after waiting 2 minutes, it worked:





4 comments:

  1. Hi Dietrich,

    Could you please tell me which flavor of linux you are using?
    i also want to install soa-suite 11 g on laptop.

    ReplyDelete
  2. Very interesting details you have observed, regards for posting.

    ReplyDelete
  3. Excellent post indeed. We've been looking for this info.

    ReplyDelete
  4. Touche. Great arguments. Keep up the amazing effort.

    ReplyDelete