Saturday, November 20, 2010

Running SOA Server 11.1.1.3.0 on Windows Vista 32 bit OS

Prerequisites
SOA Suite 11.1.1.3.0
Weblogic 10.3.3

Running Steps
Open cmd as administrator

browse the folder “Oracle/Middleware/user_projects/domains/base_domain/bin” and type “startWebLogic” and press Enter (It can be run directly but I am sharing what I did)

Open another Cmd as Administrator, browse the folder “Oracle/Middleware/user_projects/domains/base_domain/bin” and type “startManagedWebLogic soa_server1” and press Enter (It can be run directly but I am sharing what I did)


You will be prompt to enter username and password, provide username and password as you provided while configuring the webLogic domain (if the window gets disappear check the log file, you will find the log file at “\Oracle\Middleware\user_projects\domains\base_domain\servers\soa_server1\logs”). In my case the window was disappearing I checked the log file and found the problem java.net.BindException: Address already in use: JVM_Bind, If you are having the same problem please refer to my blog for resolving this error


If your server running smoothly shortly you will see the log, "your server is running and accepting requests"





Unable to create a server socket for listening on channel "Default[4]". The address 0:0:0:0:0:0:0:1 might be incorrect or another process is using port 8001: java.net.BindException: Address already in use: JVM_Bind.

Tools and technologies
Oracle SOA Suite 11.1.1.3.0,
WebLogic 10.3.3
Windows Vista 32 bit Operating System

When I was starting managedWebLogic as administrator after starting webLogic as administrator the window for managedWebLogic was disappearing, I saw the log file and found following exception,
Note: log files are located at “\Oracle\Middleware\user_projects\domains\base_domain\servers\soa_server1\logs”

###<Nov 9, 2010 2:59:36 PM AST> <Error> <Server> <Adnan> <soa_server1> <DynamicListenThread[Default[4]]> <<WLS Kernel>> <> <11d1def534ea1be0:-4197085:12c30801a8c:-7ffd-0000000000000006> <1289303976834> <BEA-002606> <Unable to create a server socket for listening on channel "Default[4]". The address 0:0:0:0:0:0:0:1 might be incorrect or another process is using port 8001: java.net.BindException: Address already in use: JVM_Bind.>

####<Nov 9, 2010 2:59:36 PM AST> <Error> <Server> <Adnan> <soa_server1> <DynamicListenThread[Default[3]]> <<WLS Kernel>> <> <11d1def534ea1be0:-4197085:12c30801a8c:-7ffd-0000000000000008> <1289303976834> <BEA-002606> <Unable to create a server socket for listening on channel "Default[3]". The address 127.0.0.1 might be incorrect or another process is using port 8001: java.net.BindException: Address already in use: JVM_Bind.>


####<Nov 9, 2010 2:59:36 PM AST> <Error> <Server> <Adnan> <soa_server1> <DynamicListenThread[Default]> <<WLS Kernel>> <> <11d1def534ea1be0:-4197085:12c30801a8c:-7ffd-000000000000000a> <1289303976834> <BEA-002606> <Unable to create a server socket for listening on channel "Default". The address fe80:0:0:0:0:100:7f:fffe might be incorrect or another process is using port 8001: java.net.BindException: Address already in use: JVM_Bind.>


####<Nov 9, 2010 2:59:36 PM AST> <Error> <Server> <Adnan> <soa_server1> <DynamicListenThread[Default[1]]> <<WLS Kernel>> <> <11d1def534ea1be0:-4197085:12c30801a8c:-7ffd-0000000000000009> <1289303976834> <BEA-002606> <Unable to create a server socket for listening on channel "Default[1]". The address fe80:0:0:0:69d5:ef5b:229e:f851 might be incorrect or another process is using port 8001: java.net.BindException: Address already in use: JVM_Bind.>


####<Nov 9, 2010 2:59:36 PM AST> <Error> <Server> <Adnan> <soa_server1> <DynamicListenThread[Default[2]]> <<WLS Kernel>> <> <11d1def534ea1be0:-4197085:12c30801a8c:-7ffd-0000000000000007> <1289303976834> <BEA-002606> <Unable to create a server socket for listening on channel "Default[2]". The address fe80:0:0:0:594:cfce:3f58:edf7 might be incorrect or another process is using port 8001: java.net.BindException: Address already in use: JVM_Bind.>


####<Nov 9, 2010 2:59:36 PM AST> <Emergency> <Security> <Adnan> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <11d1def534ea1be0:-4197085:12c30801a8c:-7ffd-000000000000000b> <1289303976834> <BEA-090087> <Server failed to bind to the configured Admin port. The port may already be used by another process.>


####<Nov 9, 2010 2:59:36 PM AST> <Critical> <WebLogicServer> <Adnan> <soa_server1> <main> <<WLS Kernel>> <> <11d1def534ea1be0:-4197085:12c30801a8c:-7ffd-0000000000000004> <1289303976850> <BEA-000362> <Server failed. Reason: Server failed to bind to any usable port. See preceeding log message for details.>


####<Nov 9, 2010 2:59:36 PM AST> <Notice> <WebLogicServer> <Adnan> <soa_server1> <main> <<WLS Kernel>> <> <11d1def534ea1be0:-4197085:12c30801a8c:-7ffd-0000000000000004> <1289303976850> <BEA-000365> <Server state changed to FAILED>


####<Nov 9, 2010 2:59:36 PM AST> <Error> <WebLogicServer> <Adnan> <soa_server1> <main> <<WLS Kernel>> <> <11d1def534ea1be0:-4197085:12c30801a8c:-7ffd-0000000000000004> <1289303976850> <BEA-000383> <A critical service failed. The server will shut itself down>
Resolution
Shut down your weblogic server

In directory “\Oracle\Middleware\user_projects\domains\base_domain\config” you will find a config.xml file, open it



In config.xml file Find the server with name soa_server1, and inside listen-port tag, change the port from 8001 to 8010, which is what I did to solve this issue


Start your webLogic and managedWebLogic, hope it won’t get disappear.


Cheers…….!!!

Saturday, November 13, 2010

Configuring WebLogic Domain for SOA Suite 11.1.1.3.0 on Windows Vista 32 bit OS

Prerequisites
Oracle SOA Suite 11.1.1.3.0
Repository Creation Utility should be executed (Steps for executing RCU11.1.1.3.0)
JDK1.6 and WebLogic10.3.3

Configuring Domain
Open command prompt as Administrator, and browse directory Oracle/Middleware/Oracle_SOA1/common/bin

Run config.cmd file (It can be run directly but I am sharing what I did)
 
 Configuration wizard should starts



Select “Create a new WebLogic domain” and click on Next button


Select appropriate check boxes, in my case I had selected above options


Keep the default values and click on Next button


Fill the fields and click on next button, this username and password will be needed when you run webLogic and managedWebLogic and even for log in to enterprise manager


Keep the default values and click on next button

Provide database information, schema owners and their passwords which you had provided in the process of running Repository Creation Utility, click on next button




Click on Test Connection button, all component schemas statuses should be OK, Click on Next button


Click on next


Click on Create button


Click on Done button

Related articles:
Configuring a New Oracle SOA Domain on Oracle Enterprise Linux

Friday, November 12, 2010

Installing SOA Suite 11.1.1.3.0 on Windows Vista 32 bit OS part 2 of 2

continued
Installing patch set 11.1.1.3.0
Prerequisites
You must already installed SOA Suite 11.1.1.2.0
Installation Steps
Unzip file ofm_soa_generic_11.1.1.3.0_disk1_1of1.zip

Open Command prompt as Administrator, browse the ofm_soa_generic_11.1.1.3.0_disk1_1of1/BIN, and write setup.exe (It can be run directly but I am sharing what I did in my case), window will get open prompting for JRE/JDK directory, provide your Jdk directory and press ENTER.



Click on Next button



Provide Oracle Middleware Home (where you have installed SOA Suite 11.1.1.2.0), keep the Oracle Home Directory as it is and click on Next button


 

Click on Install button
 
 
Click on Next button


Click on Finish
Related resources and articles
Installing Java1.6 on Oracle Enterprise Linux
Installing Weblogic 10.3.3 on Oracle Enterprise Linux 
Installing Oracle SOA Suite 11.1.1.3 on Oracle Enterprise Linux
Configuring a New Oracle SOA Domain on Oracle Enterprise Linux

Installing SOA Suite 11.1.1.3.0 on Windows Vista 32 bit OS part 1 of 2

Prerequisites
1. JDK1.6
2. WebLogic Server 10.3.3 or Oracle JDeveloper 11 g (11.1.1.3.0) for Windows (as JDeveloper has WebLogic Server 10.3.3 in it, you can use the same server), but Gurus recommend to install separate WebLogic Server.

Download SOA Suite 11.1.1.2.0 and 11.1.1.3.0(patch)
Download SOA Suite 11.1.1.2.0 from http://download.oracle.com/otn/nt/middleware/11g/ofm_soa_generic_11.1.1.2.0_disk1_1of1.zip

And SOA Suite 11.1.1.3.0 (patch) from http://download.oracle.com/otn/nt/middleware/11g/ofm_soa_generic_11.1.1.3.0_disk1_1of1.zip

Installation Steps
Unzip file ofm_soa_generic_11.1.1.2.0_disk1_1of1.zip

Open command prompt as Administrator

Browse to ofm_soa_generic_11.1.1.2.0_disk1_1of1/Disk1 and run the file setup.exe (You can run the setup.exe directly but I am sharing what I did in my case), as soon as you run the setup.exe a screen gets display prompting for JRE/JDK path, provide your jdk path and press ENTER.



Click on next button


Click on next button


Provide Oracle Middleware Home and keep Oracle Home Directory same and click on Next button


Click on Install Button


Click on Next button


Click on Finish
to be continue -->

Thursday, November 11, 2010

Running Repository Creation Utility (RCU 11.1.1.3.0) for SOA Suite 11.1.1.3.0

Prerequisite
Oracle Database (I am having Oracle XE Database installed on the same machine)
Installation Steps
Download Repository Creation Utility (RCU 11.1.1.3.0) from http://download.oracle.com/otn/nt/middleware/11g/ofm_rcu_win32_11.1.1.3.3_disk1_1of1.zip
1. Extract the downloaded file

2. Open command prompt and run it as administrator (you can directly run the rcu.bat file, but I am sharing what I did for installing it on my PC)

3. Browse your file to run rcu.bat in cmd, you will find rcu.bat file in ofm_rcu_win32_11.1.1.3.3_disk1of1\rcuHome\BIN
4. Run the rcu.bat file

5. As soon as you run that command, "Repository Creation Utility - Welcome" window gets display., click on next button to proceed.
Select Create radio and click on next button


Provide database information, I have already installed Oracle XE database on localhost, click on next


Select appropriate options from list, In my case I had selected SOA Infrastructure


All prerequisites should be OK, if you find SOA Infrastructure not OK then view http://madnanhashmi.blogspot.com/2010/11/resolution-of-error-in-running.html, if all the prerequisites are Ok, click on Next button.



Click on Next button


If you receive the message, click on OK button

Click on OK button then Next button


Click on create button

Click on Close button to finish the Repository Creation Utility
 Cheeeers..!