Showing posts with label 11g. Show all posts
Showing posts with label 11g. Show all posts

Weblogic 11g Interactive Reference

Here is an interesting interactive reference for Weblogic 11g

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/Poster/poster.html#


Posted in Labels: , | 0 comments

New SOA 11g Samples URL

SOA 11g Samples moved to this location

http://java.net/projects/oraclesoasuite11g/pages/Home

Posted in Labels: , | 0 comments

How to change the timeout of EM console in SOA 11g ?

1. In your SOA installation look for "emoms.properties" file
The path should be somewhere in your SOA_HOME under domains folder

SOA_HOME/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/em/hsz5x1/META-INF/emoms.properties

2. Edit the file and add the line


oracle.sysman.eml.maxInactiveTime= < value >

where Value it's in minutes

4. Restart Admin & SOA server.

Posted in Labels: , , , | 0 comments

SOA PS2 (PatchSet 2) 11.1.1.3.0 Available for Download

Posted in Labels: , , | 0 comments

How to change the timeout of EM console in SOA 11g ?

1. In your SOA installation look for "emoms.properties" file
In my env the path is
/home/oracle/product/11g/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/em/hsz5x1/META-INF/emoms.properties

2. Make a backup copy of it

3. Edit the file and add the line
oracle.sysman.eml.maxInactiveTime=< value >
where VALUE it's in MINUTES

4. Restart Admin & SOA server.

Posted in Labels: , , , | 0 comments

Active Directory and SOA 11g

. Login to Weblogic Console ( http://host:7001/console) and go to
Security Realms -> myrealm -> Providers

2. Click on "New" to create a new Provider. Let's assume you will call this provider AD.
You must select ActiveDirectoryAuthenticator as provider type.
Click OK.


3. Now , you should have the following list of providers. At this point we need to reorder the provider
list so that AD will be the first one. This step is needed for Worklist application, otherwise you
will not be able to login with the AD users in worklist.


After reordering you should have the following list of providers


4. Click on AD provider and then open the tab Provider Specific .
NOTE : this is an example, you should set the parameters to match your AD configuration.

The rest you can leave unchanged for now. Click Save.



5. Now edit BOTH the AD and the DefaultAuthenticator provider and set
Control Flag: SUFFICIENT




6. Restart Admin and SOA managed server to activate the changes

7. Create a new User in AD - let's call it 'dummy'

8. Look in Weblogic Console at "Users and Groups" in "myrealm" . You should be able to see the new AD user "dummy"

9. Now try to login to worklist (http://host:8001/integration/worklistapp/)
You should be able to login with "dummy" user .

Posted in Labels: , , , | 2 comments

BPEL Samples

A couple of additions to the list of SOA samples list

Some new BPEL samples from Clemens on SOA PM blog.

Also the fusion order demo for SOA 11g PS1
http://www.oracle.com/technology/products/jdev/samples/fod/index.html

Posted in Labels: , , | 0 comments

ServerURL and Callback Server URL in SOA 11g

When you want to test a composite in SOA 11g you will see something similar to this screenshot :




You would want to change the "localhost.localdomain" part of the URL to some other hostname - for example I will use "deskLinux". To do this you need to modify the ServerURL and CallbackServerURL in the SOA configuration. This can be easily done via SOA Enterprise Manager :

1. Right Click on SOA-INFRA component in the left navigation tree. Go to Soa Administration --> Common Properties



2. Set the CallBackServerURL and the ServerURL to  http://deskLinux:8001 and click Save button


3. Restart SOA server to activate the changes . The URL should now be modified for all composites.

Posted in Labels: , , | 0 comments

How to Set a Timeout for a Web Service in SOA 11g ?

In 11g SOA we don't have anymore the "Timeout" property that we can put in Web Service invocations to set a maximum wait time in a sync BPEL invocation - so the solution presented in Setting a Timeout for a WebService invocation in BPEL will not work anymore in BPEL 11g.

I will explain below how to set a TIMEOUT on a Web Service invocation when using SOA 11g . This can only be used when only Web Service invocation is made through HTTP.

1. For a process that invokes a Web Service, we want to set a timeout of maximum 10 seconds that the SOA application will wait for the answer. If no response is received within the specified timeout, then we want to catch the timeout error and perform a series of other activities.

The sample below is for a BPEL in a SOA Composite - it will work the same way with Mediator as the timeout is set in composite.xml file and not in some specific BPEL file .

2.  Let's say the SOA composite looks like this:

 
3. Click on  "Service1" and note that the property inspector will open in the lower right side of your JDeveloper window. Here set the property :


oracle.webservices.httpReadTimeout = 10000   (in MiliSeconds)

If the Web Service is on the same domain as the SOA Composite , you will also have to set :

oracle.webservices.local.optimization = false  

By default the local optimization is TRUE and when a SOA composite invokes another SOA composite within the same Weblogic (WLS) server or cluster of WLS servers bypasses the whole SOAP stack, and makes a direct java call to optimize the invocation .







 You may set these properties directly in composite.xml 

<reference name="Service1"
ui:wsdlLocation="http://localhost:8001/soa-infra/services/default/Child!1.0/Child.wsdl">
<interface.wsdl interface="http://xmlns.oracle.com/test/Child/Child#wsdl.interface(Child)"/>
<binding.ws port="http://xmlns.oracle.com/test/Child/Child#wsdl.endpoint(child_client_ep/Child_pt)"
location="http://localhost:8001/soa-infra/services/default/Child!1.0/child_client_ep?WSDL">
<property name="oracle.webservices.local.optimization">false</property>
<property name="oracle.webservices.httpReadTimeout" type="xs:string" many="false">10000</property>
</binding.ws>
</reference> 
 
4. This timeout will throw a RemoteFault - so you can easily add a Catch to your BPEL code to catch this error.

5. Now deploy the composite and run it from EM page . The Web Service we are calling takes 40 seconds to complete , but we set the timeout to 10 seconds - note that the Remote Fault occurs after 10 seconds.


 

Posted in Labels: , , | 4 comments

SOA 11g Book

New book on SOA 11g written by Oracle SOA Suite Product Management team is now available:
"Getting Started with Oracle SOA Suite 11g - A Hands-On Tutorial"

Posted in Labels: , | 0 comments

SOA 11g Samples

In SOA 11g the samples are not anymore in the install kit as were in 10g release, instead all samples are now posted on OTN for download.

SOA Suite 11g
Samples -- http://www.oracle.com/technology/sample_code/products/soa/index.html

BPEL 11g Samples -- http://www.oracle.com/technology/sample_code/products/bpel/index.html

Human Workflow 11g Samples -- http://www.oracle.com/technology/sample_code/products/hwf/index.html

Posted in Labels: , , | 1 comments

Getting Started with SOA 11g

Some quick steps to get a working SOA 11g install with a 11g DB repository

Database Install

SOA 11g supports Oracle 10g and 11g database, with following version
- Oracle Database 10g (10.2.0.4 or later)
- Oracle Database 11g (11.1.0.7 or later)

Note: you should install the DB with AL32UTF8 character set, otherwise you will get a warning when you run RCU:

The database you are connecting is with non-AL32UTF8 character set. Oracle
strongly recommends using AL32UTF8 as the database character set.
(however, as per certification page of SOA this warning can be ignored)

For download page of DB 11g go to
http://www.oracle.com/technology/software/products/database/index.html

and next you need to upgrade to 11.1.0.7 using
Patch 6890831 11.1.0.7.0 PATCH SET FOR ORACLE DATABASE SERVER

Follow all the PRE and POST install steps from the patch 6890831 readme for a succesfull upgrade to 11.1.0.7.

SOA Certification

Make sure your OS meets minimum requirements as specified in
http://www.oracle.com/technology/software/products/ias/files/fusion_requirements.htm
and the certification page
http://www.oracle.com/technology/software/products/ias/files/fusion_certification.html

Run
# ulimit -n
to find the maximum file descriptors

If the descriptors value is 1024, then edit /etc/security/limits.conf to increase the descriptor limit,
for example to 4096 :

* soft nofile 4096
* hard nofile 4096

Run RCU (Repository Creation Utility)

Download it from here :
http://www.oracle.com/technology/software/products/middleware/htdocs/111110_fmw.html

Run the RCU (Repository Creation Utility) to create SOA Schemas .
If you let the default settings you will end up with following schemas
- DEV_SOAINFRA
- DEV_ORABAM
- DEV_ORASDPM
- DEV_MDS

Weblogic 11g

Download Weblogic 11g from OTN :
http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html

and install it :

chmod +x wls1031_linux32.bin
./wls1031_linux32.bin

Install Soa 11g

Download the SOA package from here :
http://www.oracle.com/technology/software/products/middleware/htdocs/111110_fmw.html

Run config.sh

Go to SOA_HOME/common/bin folder and run
./config.sh

If you let at previous steps (WLS and SOA) default settings you will have here:
- Domain name = base_domain
- At the configure JDK screen choose Development Mode for JDK and Production Mode to use JRockit
- In the JDBC config screens the schema names are those given to RCU above
- Don't select anything at Advanced Configuration Screen

Start the server

First start WLS admin server
MW_HOME/user_projects/domains/domain_name/startWebLogic.sh
and next start soa_server1 (and bam_server1 if you installed also BAM).
MW_HOME/user_projects/domains/domain_name/startManagedWebLogic.sh soa_server1

Open a browser window:

- To access the Administration Server console:
http://host:admin_server_port/console

- To access Enterprise Manager:
http://host:admin_server_port/em

by default port is set to 7001.

Jdeveloper 11g

Download JDev 11g (for Linux or Windows)
http://www.oracle.com/technology/software/products/jdev/htdocs/soft11.html

and also download "JDeveloper extension for SOA technologies" from here:

http://www.oracle.com/technology/products/jdev/101/update/fmw_products.xml

Install JDeveloper and open it. Select Help/Check For Updates, Install from local file.
Bowse to the location you saved "soa-jdev-extension.zip"
After Install completes restart JDeveloper and go to Help > About > Version tab to confirm that the SOA extension are installed.

Last step is to create a new connection in JDev and you are ready to test your first composite:

Go to View > Application Server Navigator, right-click the Application Servers and select "New Application Server" . Enter connection details -> the default port is 7001 and WLS domain "base_domain" (if you left unchanged the install defaults). When testing the connection you should see 8 of 8 succesful completed tests.


Reference documentation:

SOA Install Guide:
http://download.oracle.com/docs/cd/E12839_01/doc.1111/e13925/overview.htm#
SOA Quick Install Guide:
http://download.oracle.com/docs/cd/E12839_01/install.1111/e14318/qisoa.htm#
DB 11g Install Guide:
http://www.oracle.com/pls/db111/portal.portal_db?selected=11&frame=#essentials#

Posted in Labels: , | 3 comments