Some quick tips on installing service registry
- When it asks you for the JDBC Drivers selection , try ojdbc14.jar, this is in my SOASuite 10.1.3 directory (E:\as1\jdbc\ojdbc14.jar)
- Do not install the webclients into the same OC4J as Oracle SOASuite, if you do, it will install but when you try to publish a webservice you'll get the following error
WSDL error
Fault code: CONFIGURATION_ERROR
Message: WSDLException: faultCode=CONFIGURATION_ERROR: Problem instantiating
factory implementation.: oracle.j2ee.ws.wsdl.factory.WSDLFactoryImpl
Best practice is to create a seperate OC4J instance in the Oracle App Server and deploy it into that instance instead.
- Ensure that the OC4J instance has the following Java options
-Xmx1024m -XX:MaxPermSize=128m
Finally, checkout the readme :-)
If you dont you might get out of memory errors.
http://www.oracle.com/technology/tech/webservices/htdocs/uddi/readme.pdf
Comments (4)
In continuation of the post for this issue, I would like to know how to initiate another oc4j instance on the same application server. As while installation, it only asks for a single instance name during the soa suite installation.
In order to create a second instance, do we need to have another installation? Is it one installation per application server?
Kindly clarify..
Best Regards,
Purushottaman
Posted by purushottaman dwarakanathan | May 22, 2008 12:37 PM
Posted on May 22, 2008 12:37
Hi there,
No you do not need to install a seperate copy of Oracle App Server to create a second instance of OC4J. All you need to do is press the "Create OC4J instance" button in Application Server Control.
See http://mike-lehmann.blogspot.com/2006/10/creating-oc4j-instances-in-ascontrol.html
Also this can be done on the command line, by executing the following command
$ORACLE_HOME/bin/createinstance -instanceName ServiceRegistryOC4J
The parameters of what each instance starts with is configurable by either the App Server Control UI again or editing opmn.xml
Enjoy :-)
Posted by Angelo Santagata | June 2, 2008 11:17 AM
Posted on June 2, 2008 11:17
Ciao Angelo,
I met you in Milan during a partner Day. I did exactly what you
wrote in the second point (I installed registry in the oc4j_soa,
the same where there is the soa suite components). How can I solve
the problem now?
Can you help me?
Thanks,
Denis.
Posted by Denis | June 13, 2008 5:29 AM
Posted on June 13, 2008 05:29
Denis,
Unfortunatly when this happened to me I simply deinstalled the product.
1. Deinstall registry and delete any directories it created
2. Go into the oc4j_soa instance and delete any applications the installer created
3. Create a new instance of oc4j
4. Run the installer using the new instance of oc4j.
Hope this helps, it didnt take too long to do this so I dont see it to be a problem, i did consider moving the application (war files) from oc4j_soa to a seperate oc4j and it was too complex and I decided a reinstall was quicker, easier and properly supported.
Posted by Angelo Santagata | June 16, 2008 4:50 AM
Posted on June 16, 2008 04:50