Hi Sumedha,
Thanks a lot for helping with this.
No, I didn't write to the forum yet; will do that. And yes, it was
downloaded from that location.
As I told in the chat, one thing I forgot to mention in the previous mail
is, server did not crash when the older connector version (5.1.24) is used.
Rather, it threw an UnsupportedOperationException:
[2013-03-14 18:37:55,612] ERROR
{org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
Failed to activate Registry Core bundle
org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to add
the root collection to the coreRegistry.
at
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:400)
at
org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:300)
at
org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:227)
at
org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:206)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:427)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:292)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:276)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:262)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:219)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.<init>(EmbeddedRegistryService.java:99)
at
org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.getEmbeddedRegistryService(RegistryCoreServiceComponent.java:632)
at
org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.buildRegistryService(RegistryCoreServiceComponent.java:566)
at
org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.activate(RegistryCoreServiceComponent.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:68)
at
org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1130)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException:
Failed to create the resource id for the resource /. Uncaught underlying
exception.
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.createResourceID(JDBCResourceDAO.java:507)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.createAndApplyResourceID(JDBCResourceDAO.java:469)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.addRoot(JDBCResourceDAO.java:443)
at
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:366)
... 49 more
Caused by: java.sql.SQLException: Uncaught underlying exception.
at
org.apache.tomcat.jdbc.pool.TrapException.invoke(TrapException.java:53)
at
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:99)
at
org.apache.tomcat.jdbc.pool.DisposableConnectionFacade.invoke(DisposableConnectionFacade.java:63)
at com.sun.proxy.$Proxy14.prepareStatement(Unknown Source)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.addEntry(JDBCPathCache.java:105)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.createResourceID(JDBCResourceDAO.java:494)
... 52 more
Caused by: java.lang.UnsupportedOperationException
at
sun.jdbc.odbc.JdbcOdbcConnection.prepareStatement(JdbcOdbcConnection.java:1762)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tomcat.jdbc.pool.ProxyConnection.invoke(ProxyConnection.java:126)
at
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:99)
at
org.wso2.carbon.ndatasource.rdbms.ConnectionRollbackOnReturnInterceptor.invoke(ConnectionRollbackOnReturnInterceptor.java:51)
at
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:99)
at
org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor.invoke(AbstractCreateStatementInterceptor.java:67)
at
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:99)
at
org.apache.tomcat.jdbc.pool.interceptor.ConnectionState.invoke(ConnectionState.java:153)
at
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:99)
at
org.apache.tomcat.jdbc.pool.TrapException.invoke(TrapException.java:41)
... 57 more
I'll also try testing with a separate client rather than the carbon server.
Thanks,
Dulanja
On Thu, Mar 14, 2013 at 6:20 PM, Sumedha Rubasinghe <[email protected]>wrote:
> Dulanja,
> This looks like a problem in the JDBC ODBC bridge.
> Did you try writing to MySQL forum? This was downloaded from
> http://dev.mysql.com/downloads/connector/odbc/ . right?
>
> Did you try writing to MySQL forum on this?
> I am afraid very little can be done on our front to solve this other than
> trying various OS+JDK+MySQL combinations.
>
>
> On Thu, Mar 14, 2013 at 2:52 PM, Dulanja Liyanage <[email protected]>wrote:
>
>> Hi,
>>
>> I have tried to run Identity Server with ODBC on Windows 7 64bit, but the
>> server crashes at the startup with the following output:
>>
>> # A fatal error has been detected by the Java Runtime Environment:
>> #
>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6c5deafd, pid=4664,
>> tid=520
>> #
>> # JRE version: 6.0_43-b01
>> # Java VM: Java HotSpot(TM) Client VM (20.14-b01 mixed mode windows-x86 )
>> # Problematic frame:
>> # C [myodbc5w.dll+0xeafd]
>>
>> Connection to the MySQL was successful because tables were created in it.
>> From the error logs I deduced the crash happens outside the JVM, in
>> myodbc5w.dll. The full error logs are attached with this mail.
>>
>> Following are the configurations I have tested with:
>>
>> Windows 7 (64bit)
>> MySQL 5.6
>> JDK 1.7.0_09 (64bit) with MySQL-Connector/ODBC 5.2.4 (64bit)
>> JDK 1.6.0_43 (64bit) with MySQL-Connector/ODBC 5.2.4 (64bit) and 5.1.24
>> (64bit)
>> JDK 1.6.0_43 (32bit) with MySQL-Connector/ODBC 5.2.4 (32bit)
>>
>> Appreciate a lot if someone can help me with this.
>>
>> Thanks!
>> Dulanja
>>
>> --
>> Dulanja Liyanage
>> Senior Software Engineer - WSO2 Inc.
>> M: +94776764717
>
>
>
>
> --
> /sumedha
> m: +94 773017743
> b : bit.ly/sumedha
>
--
Dulanja Liyanage
Senior Software Engineer - WSO2 Inc.
M: +94776764717
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev