PROBLEM
When using ant and deploying using OjDeploy the project doesn't compile and generates an empty JAR. Even when parameter nocompile=false.
SOLUTION
In this case, setting the flag nocompile to false is not enought. It is necessary to be sure that the parameter is not on this ojdeploy target.
Wednesday, 21 March 2012
Thursday, 15 March 2012
Error in getting XML input stream: file after adding Business Rule
PROBLEM
Error: Error in getting XML input stream: file:/D:/PATH/ing/xsd/this.xsd: D:/PATH/ing/xsd/this.xsd (The system cannot find the path specified) among a great quantity of exceptions on the project when compiled.
SOLUTION
Check the WSDL for the service interface. It is pointing to a wrong location /ing/
Performance and Tunning Guide for 11g
Oracle Official Guide for tunning SOA environments
http://docs.oracle.com/cd/E23943_01/core.1111/e10108.pdf
http://docs.oracle.com/cd/E23943_01/core.1111/e10108.pdf
Wednesday, 14 March 2012
Could not find registry for the application _JBOServiceRegistry
PROBLEM
When using ADF-BCon your composites you have to specify the registry service used to registry the bc. So for that you have to provide on the reference the <app-name>__JBOServiceRegistry.
The application name can be found on the application deployment profile of the sdo project.
When running the composite, if you get "Could not find registry for the <aap-name>_JBOServiceRegistry"
SOLUTION
In your weblogic-application.xml of the SDO application, make sure you added the JBO listener:
<listener>
<listener-class>oracle.jbo.client.svc.ADFApplicationLifecycleListener</listener-class>
</listener>
Now you are able to register the application on JBO listener
When using ADF-BCon your composites you have to specify the registry service used to registry the bc. So for that you have to provide on the reference the <app-name>__JBOServiceRegistry.
The application name can be found on the application deployment profile of the sdo project.
When running the composite, if you get "Could not find registry for the <aap-name>_JBOServiceRegistry"
SOLUTION
In your weblogic-application.xml of the SDO application, make sure you added the JBO listener:
<listener>
<listener-class>oracle.jbo.client.svc.ADFApplicationLifecycleListener</listener-class>
</listener>
Now you are able to register the application on JBO listener
Thursday, 8 March 2012
OER Error when using Assets Editor or Import/Export external tool
PROBLEM
Accessing the assets editor or import/export client of OER it is necessary to download jnpl files to java web start initiate the necessary applications. Sometimes, the jnpl files cannot access the hosted jar files.
java.net.ConnectException: Connection refused: connect
...
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
or
com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://localhost:7101/oer-web/webstart/impexp/client.importtool-11.1.1.6.0.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
SOLUTION
Edit the impexp.jnlp or registrartool.jnlp download files to reference the host name instead of localhost or other non reachable host.
Oracle Enterprise Repository 11.1.6
Accessing the assets editor or import/export client of OER it is necessary to download jnpl files to java web start initiate the necessary applications. Sometimes, the jnpl files cannot access the hosted jar files.
java.net.ConnectException: Connection refused: connect
...
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
or
com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://localhost:7101/oer-web/webstart/impexp/client.importtool-11.1.1.6.0.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
SOLUTION
Edit the impexp.jnlp or registrartool.jnlp download files to reference the host name instead of localhost or other non reachable host.
Oracle Enterprise Repository 11.1.6
Error after refactoring BPM project
PROBLEM
“<Feb 18, 2012 12:56:26 PM EET> <Error> <oracle.soa.services.workflow.task> <BEA-000000> <<.> Invalid task definition.
The task definition at default/This!1.0*soa_f7aa9b39-1458-41c2-9c78-8b6de5f875a6/ThisHT could not be read. The task definition is associated with workflow defa
ult/This!1.0*soa_f7aa9b39-1458-41c2-9c78-8b6de5f875a6/ThisHT.
Make sure that the task definition is available at the specified URL and that it is a valid XML document.”
SOLUTION
1. Log to soainfra schema
2. Check in BPM_CUBE_PROCESS for record with the PROCESSNAME equals to the process and STATUS = 1
3. Change the status to -1 for all these records
4. Redeploy
Best practice document
Start Small, Grow Fast
by Edwin Biemond, Ronald van Luttikhuizen, and Demed L'Her
A set of pragmatic best practices for deploying a simple and sound SOA footprint that can grow with business demand.
Subscribe to:
Posts (Atom)