Hi Binu, Your registry.xml configuration seems to be okay. Pleases check /webapp/WEB-INF/lib and let me know what is the wso2registry jar file that you are using?. wso2registry 1.1 jar doesn't support for oracle. You need to use the registry jar file of current snapshot [1].
BTW, I have been writing a guide to configure ESB with Oracle 10g and will be publish it on our site shortly. Hopefully you may be able resolve any further issues by referring to it. Thanks, Krishantha. [1] http://builder.wso2.org/download/REGISTRY-NIGHTLY/artifacts/build-173/registry-dist/wso2registry-SNAPSHOT-bin.zip Binu Andrews wrote: > Hi All, > I am getting following error while starting wso2 esb after changing > registry.xml to oracle schema. My registry.xml also pasted at the end. > > > ERROR SynapseConfigurationBuilder Could not initialize Synapse : null > java.lang.NullPointerException > at > org.wso2.registry.jdbc.EmbeddedRegistry.configure(EmbeddedRegistry.java:53) > at > org.wso2.registry.jdbc.EmbeddedRegistry.<init>(EmbeddedRegistry.java:38) > at > org.wso2.registry.config.RegistryContext.getEmbeddedRegistry(RegistryContext.java:91) > at > org.wso2.esb.registry.RegistryAdapterFactory.createJDBCRegistry(RegistryAdapterFactory.java:175) > at > org.wso2.esb.registry.RegistryAdapterFactory.createRegistryAdapter(RegistryAdapterFactory.java:81) > at org.wso2.esb.registry.WSO2Registry.init(WSO2Registry.java:45) > at > org.apache.synapse.config.xml.RegistryFactory.createRegistry(RegistryFactory.java:55) > at > org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineRegistry(SynapseXMLConfigurationFactory.java:137) > at > org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.getConfiguration(SynapseXMLConfigurationFactory.java:87) > at > org.apache.synapse.config.xml.ConfigurationFactoryAndSerializerFinder.getConfiguration(ConfigurationFactoryAndSerializerFinder.java:160) > at > org.apache.synapse.config.xml.XMLConfigurationBuilder.getConfiguration(XMLConfigurationBuilder.java:46) > at > org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:77) > at > org.apache.synapse.core.axis2.SynapseInitializationModule.getConfiguration(SynapseInitializationModule.java:153) > at > org.apache.synapse.core.axis2.SynapseInitializationModule.init(SynapseInitializationModule.java:84) > at > org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:226) > at > org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:204) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:80) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184) > at org.apache.synapse.ServerManager.start(ServerManager.java:106) > at > org.wso2.esb.ServiceBusManager.start(ServiceBusManager.java:195) > > > *_REGISTRY.XML_* > > <wso2regsitry> > <currentConfig>oracle-db</currentConfig> > <dbconfig name="oracle-db"> > <driverName>oracle.jdbc.driver.OracleDriver</driverName> > <url>jdbc:oracle:thin:@192.168.4.56:1521:lt56</url> > <userName>esb</userName> > <password>esb</password> > </dbconfig> > </wso2regsitry> > ------------------------------------------------------------------------ > > _______________________________________________ > Esb-java-user mailing list > [email protected] > http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user > _______________________________________________ Esb-java-user mailing list [email protected] http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
