Hi SOA lovers
Writing blog after a long gap, this time with new flavors.
INTRODUCTION:
Sometimes when you navigate to the Enterprise Manager’s Application Server Control you will hit a 404 "Page not found exception".
REASON:
The most probable reason is that Application Server Control has no routing relationship defined with the Oracle HTTP Server by default.
SOLUTION:
To establish this relationship you have to set the ohs-routing attribute to true (default value in the file will be false) in the default-web-site.xml file at SOA server location: <SOA home>/j2ee/home/config. Make sure to make the changes always in the home container.
Make the changes as follws in the file:
<web-app application="ascontrol" name="ascontrol" load-on-startup="true" root="/em" ohs-routing="true" />
Now restart the SOA Server and try it. It should work.
If this solution doesn't work, follow my latest finding, posted on 22nd December 2009.
Technical posts containing information and solutions on Oracle Fusion Middleware 12c/11g/10g, AIA, Oracle BPEL PM, Mediator, OSB, MFT, ESB, OWSM, Business Rules, JDeveloper, Oracle Weblogic, Oracle Application Server etc..etc..
Thursday, April 16, 2009
Wednesday, January 28, 2009
oc4j_soa in 10.1.3.4
Problem:
The OC4J_SOA container never stops gracefully and the stop log from the default_group~<oc4j_container_name>~default_group~1.log file shows that it always stops on deactivation of the endpoint for ESB adapters.
Solution:
This is due to the fact that the default stop timeout for OC4J, as specified in the
opmn.xml file, is 120, out of which most of the time is consumed by the initial process, that is, BPEL shutdown.
So, ESB does not have much time for the shutdown, so the Oracle Process Management Notification (OPMN) shuts it down forcibly. You can solve this problem by increasing the stop timeout for OC4J in the opmn.xml file.
The OC4J_SOA container never stops gracefully and the stop log from the default_group~<oc4j_container_name>~default_group~1.log file shows that it always stops on deactivation of the endpoint for ESB adapters.
Solution:
This is due to the fact that the default stop timeout for OC4J, as specified in the
opmn.xml file, is 120, out of which most of the time is consumed by the initial process, that is, BPEL shutdown.
So, ESB does not have much time for the shutdown, so the Oracle Process Management Notification (OPMN) shuts it down forcibly. You can solve this problem by increasing the stop timeout for OC4J in the opmn.xml file.
Tuesday, December 30, 2008
More options in Native Format Builder
INTRODUCTION:
This wizard helps you in creating XSDs for your sample files. This is used to create a native schema file from formats such as:- comma-separated value (CSV), fixed-length file, data type description (DTD), and Cobol Copybook.
SCENARIO:
Suppose you need to create a schema file for a pipe-delimeter or $ delimeter sample file. If you closely look into the options provided under Step 5 of 7 (If you select Delimited Radio button in Step1 of 7) in Native Format Builder, you will see only 5 options available i.e. Single Space, Comma, Semicolon, White space (any number of tab, space) and Tab.
Then how to create a pipe-delimeter or $ delimeter schema file??
SOLUTION:
Goto options provided under Step 5 of 7 (If you select Delimited Radio button in Step1 of 7) in Native Format Builder.
In the Fields ->Delimited by drop down option, double click. A pointer will appear. Now instead of using drop down option manually type the |(pipe).
Then finish off the wizard. Your work is done..So simple.
The pipe delimited file schema file is ready to use.
Keep learning and stay connected to SOA.
WISHING ALL THE BLOG READERS A VERY HAPPY NEW YEAR 2009.
This wizard helps you in creating XSDs for your sample files. This is used to create a native schema file from formats such as:- comma-separated value (CSV), fixed-length file, data type description (DTD), and Cobol Copybook.
SCENARIO:
Suppose you need to create a schema file for a pipe-delimeter or $ delimeter sample file. If you closely look into the options provided under Step 5 of 7 (If you select Delimited Radio button in Step1 of 7) in Native Format Builder, you will see only 5 options available i.e. Single Space, Comma, Semicolon, White space (any number of tab, space) and Tab.
Then how to create a pipe-delimeter or $ delimeter schema file??
SOLUTION:
Goto options provided under Step 5 of 7 (If you select Delimited Radio button in Step1 of 7) in Native Format Builder.
In the Fields ->Delimited by drop down option, double click. A pointer will appear. Now instead of using drop down option manually type the |(pipe).
Then finish off the wizard. Your work is done..So simple.
The pipe delimited file schema file is ready to use.
Keep learning and stay connected to SOA.
WISHING ALL THE BLOG READERS A VERY HAPPY NEW YEAR 2009.
Friday, December 26, 2008
Magikkk of 'Translate'
Ahhh...Writing blog after a longtime. During this time, got an oppurtunity to diagonise BPEL...so now thinking of sharing some of my knowledge and experiences with all.
INTRODUCTION:
Here I am going to discuss a very small function of XSLT:- TRANSLATE.
Translate function returns inputString with occurrences of characters in fromString replaced by the character at the corresponding position in toString. This function takes 3 parameters.
SYNTAX: translate(inputString as string,fromString as string,toString as string)
SCENARIO:
If we deal in currency values, often we see that the value is separated by commas. For example, Value1=2,000,000/Value2=3,000/Value3=30,000
Now suppose you need to store this value in the database. To acheive this you need to remove all the commas from the incoming value. For this purpose we have to use the TRANSLATE function.
SOLUTION:
For the above scenario, use Translate as:
translate(inputString as string,fromString as string,toString as string)
Here,
inputString as string= Your input XPath, for instance, /ns0:Order/ns0:Lines/ns0:UnitPrice/ns0:Money
fromString as string=","
toString as string=""
Now use a conversion function 'Number' to convert the string in number. Thats it and you are done.
Hope I have cleared my point.
Keep learning with me and MERRY CHRISTMAS to all the readers.
INTRODUCTION:
Here I am going to discuss a very small function of XSLT:- TRANSLATE.
Translate function returns inputString with occurrences of characters in fromString replaced by the character at the corresponding position in toString. This function takes 3 parameters.
SYNTAX: translate(inputString as string,fromString as string,toString as string)
SCENARIO:
If we deal in currency values, often we see that the value is separated by commas. For example, Value1=2,000,000/Value2=3,000/Value3=30,000
Now suppose you need to store this value in the database. To acheive this you need to remove all the commas from the incoming value. For this purpose we have to use the TRANSLATE function.
SOLUTION:
For the above scenario, use Translate as:
translate(inputString as string,fromString as string,toString as string)
Here,
inputString as string= Your input XPath, for instance, /ns0:Order/ns0:Lines/ns0:UnitPrice/ns0:Money
fromString as string=","
toString as string=""
Now use a conversion function 'Number' to convert the string in number. Thats it and you are done.
Hope I have cleared my point.
Keep learning with me and MERRY CHRISTMAS to all the readers.
Tuesday, November 18, 2008
What, if you forget the Password?
PROBLEM:
What, if you forgot the password for logging into BPEL, ESB or EM? Is there any way to reset it?
SOLUTION:
Step-wise solution to the above problem is mentioned below:
1) Look for the file system-jazn-data.xml under location:
SOA_HOME/j2ee/<home_container>/config
2) Open the file system-jazn-data.xml in your editor.
3) Edit credentials tag for the corresponding name tag as shown below:
<name>oc4jadmin</name>
.
.
<credentials>!<your_new_password></credentials>
Note:Do remember to add ! sign before your password.
4) Restart the SOA Server.
5) You are all set to use new paasword.
Note2: If you encounter any errors after doing this, follow the steps provided in my blog dated 21st June 2008.
Keep learning with me.
What, if you forgot the password for logging into BPEL, ESB or EM? Is there any way to reset it?
SOLUTION:
Step-wise solution to the above problem is mentioned below:
1) Look for the file system-jazn-data.xml under location:
SOA_HOME/j2ee/<home_container>/config
2) Open the file system-jazn-data.xml in your editor.
3) Edit credentials tag for the corresponding name tag as shown below:
<name>oc4jadmin</name>
.
.
<credentials>!<your_new_password></credentials>
Note:Do remember to add ! sign before your password.
4) Restart the SOA Server.
5) You are all set to use new paasword.
Note2: If you encounter any errors after doing this, follow the steps provided in my blog dated 21st June 2008.
Keep learning with me.
Saturday, November 15, 2008
Timed out problem of OPMN
PROBLEM:
Why OPMN (SOA Server) sometime gives timed out message/error during shutdown?
SOLUTION:
Here is the solution. To resolve this issue:
1) Shutdown OPMN completely
2) Goto the location where resides opmn.xml and edit it.
3) Add the -Djava.net.preferIPv4Stack=true option to all the start/stop-args command sections.
EXAMPLE:
<ias-component id="default_group">
<process-type id="home" module-id="OC4J" status="enabled">
<module-data>
<category id="start-parameters">
<data id="java-options" value="-Xrs -server -XX:MaxPermSize=128M -ms512M -mx1024M -XX:AppendRatio=3 -Djava.net.preferIPv4Stack=true -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Doraesb.home=C:\product\10.1.3.1\OracleAS_1\integration\esb -Dhttp.proxySet=false -Doc4j.userThreads=true -Doracle.mdb.fastUndeploy=60 -Dorabpel.home=C:\product\10.1.3.1\OracleAS_1\bpel -Xbootclasspath^/p:C:\product\10.1.3.1\OracleAS_1\bpel/lib/orabpel-boot.jar -Dhttp.proxySet=false"/>
</category>
<category id="stop-parameters">
<data id="java-options" value="-Djava.net.preferIPv4Stack=true -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
</category>
</module-data>
<start timeout="600" retry="2"/>
<stop timeout="300"/>
<restart timeout="720" retry="2"/>
<port id="default-web-site" range="8888" protocol="http"/>
<port id="rmi" range="12401-12500"/>
<port id="rmis" range="12701-12800"/>
<port id="jms" range="12601-12700"/>
<process-set id="default_group" numprocs="1"/>
</process-type>
</ias-component>
Keep learning with me...
Why OPMN (SOA Server) sometime gives timed out message/error during shutdown?
SOLUTION:
Here is the solution. To resolve this issue:
1) Shutdown OPMN completely
2) Goto the location where resides opmn.xml and edit it.
3) Add the -Djava.net.preferIPv4Stack=true option to all the start/stop-args command sections.
EXAMPLE:
<ias-component id="default_group">
<process-type id="home" module-id="OC4J" status="enabled">
<module-data>
<category id="start-parameters">
<data id="java-options" value="-Xrs -server -XX:MaxPermSize=128M -ms512M -mx1024M -XX:AppendRatio=3 -Djava.net.preferIPv4Stack=true -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Doraesb.home=C:\product\10.1.3.1\OracleAS_1\integration\esb -Dhttp.proxySet=false -Doc4j.userThreads=true -Doracle.mdb.fastUndeploy=60 -Dorabpel.home=C:\product\10.1.3.1\OracleAS_1\bpel -Xbootclasspath^/p:C:\product\10.1.3.1\OracleAS_1\bpel/lib/orabpel-boot.jar -Dhttp.proxySet=false"/>
</category>
<category id="stop-parameters">
<data id="java-options" value="-Djava.net.preferIPv4Stack=true -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
</category>
</module-data>
<start timeout="600" retry="2"/>
<stop timeout="300"/>
<restart timeout="720" retry="2"/>
<port id="default-web-site" range="8888" protocol="http"/>
<port id="rmi" range="12401-12500"/>
<port id="rmis" range="12701-12800"/>
<port id="jms" range="12601-12700"/>
<process-set id="default_group" numprocs="1"/>
</process-type>
</ias-component>
Keep learning with me...
Subscribe to:
Posts (Atom)