1. org.hibernate.exception.GenericJDBCException: Cannot open connection stackoverflow.comI m using JBPM jar to follow some process. Previously we did some code change in jar and build using Malven and it works fine. Now we did again some code ... |
2. org.hibernate.exception.GenericJDBCException: Cannot open connection coderanch.comHello friends, I am deploying my ear file using NetBeans 6.5.1,Jboss 5.0.1GA and hibernate. But while running my application I am getting some exception..The details are given below.... 15:45:24,015 ERROR [JDBCExceptionReporter] Transaction is not active: tx=TransactionImple < ac, BasicAction: -3f57c2c5:74f:4b39a9e5:810 status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -3f57c2c5:74f:4b39a9e5:810 status: ActionStatus.ABORT_ONLY >) 15:45:24,328 ERROR ... |
3. Error ##### org.hibernate.exception.GenericJDBCException: Cannot open connection coderanch.com |
4. org.hibernate.exception.GenericJDBCException: Cannot open connection coderanch.comDid you explicitly set your MySQL instance to listen on port 3036, or is that a typo in your code? The default port for MySQL is 3306. Since the error message says you can't open the connection, I guess it's a typo in your code. Specify the correct port there. However I see you already have another long thread in which ... |
5. GenericJDBCException:Cannot open connection forum.hibernate.orgHello All, I am using hibernate 3.2.0 with JSF in a netbeans IDE with posgreSQL. I am receiving this exception quite often. org.hibernate.exception.GenericJDBCException: Cannot open connection org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29) org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426) org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139) org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547) org.hibernate.loader.Loader.doQuery(Loader.java:673) org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236) org.hibernate.loader.Loader.doList(Loader.java:2220) org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104) org.hibernate.loader.Loader.list(Loader.java:2099) org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378) org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338) org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172) org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121) org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:811) com.soft.autohaul.DAO.CheckSummaryDAO.getTotalCount(CheckSummaryDAO.java:105) com.soft.autohaul.services.CheckSummaryService.getTotalCount(CheckSummaryService.java:40) com.soft.autohaul.controllers.ViewAllCheckSummaryController.getPreLoader(ViewAllCheckSummaryController.java:29) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) javax.el.BeanELResolver.getValue(BeanELResolver.java:62) javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53) com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72) org.apache.el.parser.AstValue.getValue(AstValue.java:97) org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:101) javax.faces.component.UIOutput.getValue(UIOutput.java:184) com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:201) ... |
6. GenericJDBCException: Cannot open connection forum.hibernate.orgHi I am new to hibernate. I am trying to delpoy an Application called Endeavour-Agile that requires a Java enabled web server. So I installed Tomcat 7.0.6 and I am using Microsoft SQL Server. Now, when I try to start the application, I get a few exceptions. The hiberante.cfg file is here: |
7. GenericJDBCException: Cannot open connection forum.hibernate.orgHibernate version: 3.0 This is a pretty wierd error I am seeing here. I didn't see it on the production server, but I do see on the development server (even though I'm connecting to the same MySQL server wth the same account and same @ location). Here's the stack trace: Code: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92) ... |
8. GenericJDBCException:cannot open connection forum.hibernate.orgHi, When i, trying to run an application developed in java an hibernte on tomcat server it is showing an error org.hibernate.excption.GenericJDBCException:cannot open connection. Can any one telll me why this error is coming, Is this because many sessions are opened ?But this error is not poping up always. Help! thanks and Regards Anuja K. |