Sunday, July 11, 2010

Creating a domain for Oracle SErvice Registry(OSR) 11.1.1.2

Creating a new domain for Service Registry

Open a command console and
Go to weblogic home\common\bin\config.cmd





do not select any option



Say next and finish the installation.



There is a very important thing to note down over here.

I did this installation a number to times to make it working.

Previously i was trying to create a server for soa and registry in a single domain

what i mean is i was choosing option as shown below




The installation worked fine and i was able to install it but when i tried to open the console

i got the following error

Root cause of ServletException.
org.idoox.wasp.WaspInternalException: java.lang.RuntimeException: Updates to config files not supported
at com.systinet.wasp.WaspImpl.boot(WaspImpl.java:399)
at org.systinet.wasp.Wasp.init(Wasp.java:151)
at com.systinet.transport.servlet.server.Servlet.init(Unknown Source)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

Error 500--Internal Server Error

java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "com.idoox.wsdl.DefinitionImpl.getMessage(Ljavax/xml/namespace/QName;)Ljavax/wsdl/Message;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, com/idoox/wsdl/DefinitionImpl, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for interface javax/wsdl/Definition have different Class objects for the type javax/xml/namespace/QName used in the signature
at com.idoox.wsdl.factory.WSDLFactoryImpl.newDefinition(WSDLFactoryImpl.java:60)
at com.idoox.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java:419)
at com.idoox.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:309)
at com.idoox.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:272)


I am not sure of the root cause for this issue,i tried to do a lot of r &d but couldn't resolve this issue.

then somewhere in otn i found that "Oracle Service Registry should not be installed in the same domain as that of SPA Suite"

I deinstalled Service registry by removing the folder where in i have installed registry,

I removed user and tablespace from database too using command

drop user uddinode cascade;

drop tablespace udditablespace;

Then i removed the user_projects folder created and then i reinstalled OSR
and created the domain only for OSR as i have posted.

Now once the domain is created.

start it by opening a command console.




you might get issue like this

java heap error and it will end like this.



go to your domain\bin and change the xmx properties for setSOADomainEnv.cmd

and run it as shown below



No again restart you admin as well as managed server for OSR

Once started log in to osr console by following link

http://localhost:7101/registry/uddi/web

No comments: