ru.runa.af.InternalApplicationException

net.sf.hibernate.HibernateException: Could not find datasource

Solutions on the web36

  • via runawfe by yilativs
    , 1 year ago
    net.sf.hibernate.HibernateException: Could not find datasource
  • net.sf.hibernate.HibernateException: Could not find datasource
  • via runawfe by bkaremba
    , 1 year ago
    net.sf.hibernate.exception.GenericJDBCException: Unable to perform find
  • Stack trace

    • ru.runa.af.InternalApplicationException: net.sf.hibernate.HibernateException: Could not find datasource at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:386) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:196) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) at org.jboss.ejb.Container.invoke(Container.java:709) 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:585) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97) at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:115) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:101) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55) at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86) at $Proxy67.isAlreadyIntialized(Unknown Source) at ru.runa.af.delegate.impl.InitializerServiceDelegateRemoteImpl.isAlreadyIntialized(InitializerServiceDelegateRemoteImpl.java:89) Caused by: ru.runa.af.InternalApplicationException: net.sf.hibernate.HibernateException: Could not find datasource at ru.runa.af.dao.impl.HibernateSessionFactory.openSession(HibernateSessionFactory.java:36) at ru.runa.af.dao.impl.DAOHibernateImpl.<init>(DAOHibernateImpl.java:52) at ru.runa.af.dao.impl.InitializerDAOHibernateImpl.<init>(InitializerDAOHibernateImpl.java:42) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at ru.runa.af.dao.DAOFactory.getInitializerDAO(DAOFactory.java:101) at ru.runa.af.logic.InitializerLogic.isAlreadyIntialized(InitializerLogic.java:38) at ru.runa.af.service.impl.ejb.InitializerServiceBean.isAlreadyIntialized(InitializerServiceBean.java:76) 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:585) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:317) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:150) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) ... 24 more Caused by: net.sf.hibernate.HibernateException: Could not find datasource at net.sf.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:48) at net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:83) at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76) at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1172) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:803) at ru.runa.commons.hibernate.HibernateSessionFactory.getSessionFactory(HibernateSessionFactory.java:51) at ru.runa.commons.hibernate.HibernateSessionFactory.openSession(HibernateSessionFactory.java:78) at ru.runa.commons.hibernate.HibernateSessionFactory.openSession(HibernateSessionFactory.java:71) at ru.runa.af.dao.impl.HibernateSessionFactory.openSession(HibernateSessionFactory.java:34) ... 48 more Caused by: javax.naming.NameNotFoundException: mysql-ds not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:490) at org.jnp.server.NamingServer.getBinding(NamingServer.java:498) at org.jnp.server.NamingServer.getObject(NamingServer.java:504) at org.jnp.server.NamingServer.lookup(NamingServer.java:277) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:606) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:568) at javax.naming.InitialContext.lookup(InitialContext.java:351) at net.sf.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:44) ... 57 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    2 more bugmates