Home Tutorialhelp Comment i got an error

 
 

Comment

B
i got an error,
April 29, 2008 at 7:27 AM

I got this when i tried to run it......
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
Inserting Record
Done
Exception in thread "main" org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92)
at org.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:80)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
at org.hibernate.jdbc.AbstractBatcher.openConnection(AbstractBatcher.java:384)
at org.hibernate.jdbc.JDBCContext.connect(JDBCContext.java:141)
........

not sure why though... i followed the tutorial perfectly...
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
PHP Questions

I GOT ERROR FOR MY PROJECT
I GOT ERROR FOR MY PROJECT  Dear Friend/ RoseIndia Team, Firstly I would to thank u Guys help me so many time.. I got error on my little project when running at server. please correctly my error Guys... ERROR CODE: "LOGIN 

Development process Questions

i got an error while compile this program manually.
i got an error while compile this program manually.  import... mapping.findForward("errors.jsp"); } } i set both servlet,struts jar files and i got an error in saveErrors() error Heading cannot find 

JSP Servlet Questions

i have got error while compiling simple tag handler
i have got error while compiling simple tag handler   javac.servlet.jsp not found! tell me what are the jar files required to run simple tag handler...;it is : javax.servlet.jsp only but getting error wt is reason 

Development process Questions

i got an exception while accept to a jsp
i got an exception while accept to a jsp  type Exception report message description The server encountered an internal error... in a file.later i changed it to ANSII problem is resolved 

Java Beginners

when I run exiting project that time I got error, I want solution on it?
when I run exiting project that time I got error, I want solution on it?  Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start 

Framework Questions

i got illegal start of expression error , plese tell me the mistake where i did...
i got illegal start of expression error , plese tell me the mistake where i did...   import org.springframework.context.*; import java.util.*; public class MyListener implements ApplicationListener { public static void main 

Hibernate Questions

Hibernate error in eclipse
Hibernate error in eclipse   Hi... while running my application i got these type errors...can youme please? Exception in thread "main" java.lang.ExceptionInInitializerError at com.StoreData.main(StoreData.java:11) Caused 

Hibernate Questions

Hibernate error in eclipse
Hibernate error in eclipse   Hi... while running my application i got these type errors...can youme please? Exception in thread "main" java.lang.ExceptionInInitializerError at com.StoreData.main(StoreData.java:11) Caused 

Hibernate Questions

Hibernate error in eclipse
Hibernate error in eclipse   Hi... while running my application i got these type errors...can youme please? Exception in thread "main" java.lang.ExceptionInInitializerError at com.StoreData.main(StoreData.java:11) Caused 

Hibernate Questions

Hibernate error in eclipse
Hibernate error in eclipse   Hi... while running my application i got these type errors...can youme please? Exception in thread "main" java.lang.ExceptionInInitializerError at com.StoreData.main(StoreData.java:11) Caused 

Hibernate Questions

Hibernate error in eclipse
Hibernate error in eclipse   Hi... while running my application i got these type errors...can youme please? Exception in thread "main... code........ I will try to short out your problem 

Hibernate Questions

hibernate
hibernate   i am using hibernate3.2.5 and oracle9i. First i set classpath to ojdbc14.jar and all the hibernate jar files to path env variable.After that when i try to execute the program i got an error "unknown oracle major 

EJB Questions

I got build failed when deploying enterprise application - EJB
I got build failed when deploying enterprise application  I created web application with ejb moduless and stateless session beans. However, i am...% Deploying application in domain failed; Error loading deployment descriptors for module 

Hibernate Questions

Error java.lang.NullPointerException hibernate - Hibernate
Error java.lang.NullPointerException hibernate  hello everybody; I'm developping a web application using Struts 1.1 , Hibernate 3.1 and Mysql , and I've got this message error: Etat HTTP 500 

JDBC Questions

Backup Failed Mysqldump Got Errno 28 On Write
Backup Failed Mysqldump Got Errno 28 On Write  Hi, While taking the backup of database I got following error: Backup Failed Mysqldump Got Errno 28 On Write How to resolve the issue? Thanks   Hi, This error comes 

Hibernate Questions

Hibernate error - Hibernate
Hibernate error  I had run hibernate first example but it an error appeared. Error is java.lang.NullPointerException.  Hi Friend... want more examples of Hibernate please visit the following link. http 

Hibernate Questions

Hibernate error - Hibernate
Hibernate error  I hava following error while running hibernate example in eclipse. I placed hibernate.cfg.xml and contact.hbm.xml in bin/roseindia/tutorial/hibernate. But I have following error. log4j:WARN No appenders 

Hibernate Questions

hibernate code - Hibernate
hibernate code  while generating the hibernate code i got the error like org.hibernate.MappingException 

Hibernate Questions

Hibernate - Hibernate
Hibernate  I am trying to connect hibernate with ejb2.0 stateless session bean, my application sucessfully deploy in weblogic server but when i execute the client application i got an error message that class not found exception 

Hibernate Questions

jsp-Hibernate Error - Hibernate
jsp-Hibernate Error  hi, my problem is, I designed an Interface where i am tring to listing the all rows of a table using Iterator and putted a link for deleting each row. I am deleteing row using row id of that record.it delete 

Hibernate Questions

Hibernate code - Hibernate
Hibernate code  firstExample code that you have given for hibernate... me any error or exception.console gives the same as u have shown in tutorial,but the entery doesnt come.I am using a remote mysql DB. one more point,if i try 

Hibernate Questions

hibernate - Hibernate
){ System.out.println(e.getMessage()); }finally{ } } } I got the following...hibernate  I have written the following program package Hibernate; import org.hibernate.Session; import org.hibernate.*; import 

Hibernate Questions

Hibernate - Hibernate
in Hibernate in Tomcat i got an error like this HTTP Status 500... Exception report message description The server encountered an internal error..., This type of error comes when JTA(Java Transaction API) is not present 

Hibernate Questions

hibernate - Hibernate
got the following error SEVERE: Error parsing XML: XML InputStream(8...   Hi Radhika, i think, you hibernate configuration...hibernate  I have written the following program package 

Hibernate Questions

Reg Hibernate - Hibernate
Reg Hibernate  Hi, Iam learning hibernate. Iam got this error /hibernate.cfg.xml not found. I have this file in my source directory. Y iam getting this error? regards usha.   Hi Read for more 

Hibernate Questions

Problem in running first hibernate program.... - Hibernate
Problem in running first hibernate program....  Hi...I am using... programs.It worked fine.To run a hibernate sample program,I followed the tutorial below.../hibernate/hibernatetools/hibernate-tools-update-site.shtml Again I downloaded 

Hibernate Questions

error in hibernate example
error in hibernate example  i am getting error in this.... log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system properly. Resource: Contact.hbm.xml 

Hibernate Questions

Hibernate delete a row error - Hibernate
Hibernate delete a row error  Hello, I been try with the hibernate delete example (http://www.roseindia.net/hibernate/hibernate-delete.shtml) but keep receiving exceptions, not sure if I did some thing wrong, please help 

Hibernate Questions

Reg Hibernate - Hibernate
Reg Hibernate  Hi, iam using hibernate in myeclipse ide. I got an error. After doing reverse-engineering my table user, i opened HQL editor and written query as from user. I am getting this error 

Hibernate Questions

Reg Hibernate in Myeclipse - Hibernate
without any error. I opened HQL editor and executed from User My output... com.myeclipse.hibernate.User.48ec32 I didn't understand y i got this. Sombody...Reg Hibernate in Myeclipse  Hi, My table name is user 

Hibernate Questions

java compilation error - Hibernate
java compilation error  hi, i have made an registration page whosevalues should be inserted into database. i have used hibernate and eclipse it is working fine. but when i make a war file and deploy it using ant and then run 

Hibernate Questions

Database Error - Hibernate
Database Error  Hi, I am working with Struts 1.2---- AJAX-----Hibernate 3.0 --- MySQL 5.0. At the time of inserting/fetching from Database by multiple/single users I am getting the following errors. Lock wait timeout 

Hibernate Questions

Hibernate
Hibernate  I downloaded the zip file given in the tutorial of Hibernate. I followed all th steps as given in the tutorial, but a build error... not be resolved. How can i rectify that error?   Hi, The error comes when 

Java Server Faces Questions

Hibernate JSF JPA Integration Error - Java Server Faces Questions
Hibernate JSF JPA Integration Error  Hibernate JSF JPA Error I am trying to configure hibernate, JSF and JPA on Jboss server. I am getting following error. 11:55:53,625 FATA  Hi,After long struggle I finally got 

Hibernate Questions

java compilation error - Hibernate
java compilation error  hi i am getting org.hibernate.exception.GenericJDBCException: Cannot open connection exception when runnig the code why this exception is coming 

Hibernate Questions

Websphere application error - Hibernate
Websphere application error  i have received this following error [10/5/10 13:19:40:592 EDT] 00000043 SystemOut O java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl incompatible 

Hibernate Questions

java - Hibernate
........................................................... The aboue error is got when i downloaded the code and run using Hibernate and annotation..plse help me...  Hi friend, Read for more information. http://www.roseindia.net/hibernate 

Development process Questions

Jsp error when i run this a jsp file
Jsp error when i run this a jsp file  hi I got this error when i run the jsp file in IDE and outside also please help me java.lang.NullPointerException org.apache.jsp.insertjsp.jspInit(insert_jsp.java:22 

Hibernate Questions

hibernate...............
hibernate...............  goodevining. I am using hibernate on eclipse, while connection to database Orcale10g geting error .........driver ARNING: SQL Error: 0, SQLState: null 31 May, 2012 8:18:01 PM 

JSP Servlet Questions

error got minus one from read call - JSP-Servlet
error got minus one from read call  hiiii while connecting my servlet to database im getting error called java.sql.SQLException: Io exception: Got minus one from a read call oracle.jdbc.dbaccess.DBError.throwSqlException 

Java Beginners

Reply to ur mail(Hibernate Error)
Reply to ur mail(Hibernate Error)  Hi! Im using Eclipse. Steps : 1. Downloaded the example code and library from rose india and extracted the content... of the project using windows explorer. As im using Oracle 10G i changed 

JSP Servlet Questions

jsp-Hibernate Error - JSP-Servlet
jsp-Hibernate Error  hi, my problem is, I designed an Interface where i am tring to listing the all rows of a table using Iterator and putted a link for deleting each row. I am deleteing row using row id of that record.it delete 

General

Not able to call Web Service from Eclipse
Error was java.lang.ClassNotFoundException: org.apache.axis2.transport.http.AxisAdminServlet. Error was: Nov 18, 2009 10:46:49 PM...; To solve the problem I added httpcore-4.0.jar into web application. This solved 

Hibernate Questions

hibernate
hibernate  how to impot mysql database client jar file into eclipse for hibernate configuration   Hi Friend, Please visit the following link: http://www.roseindia.net/hibernate/runninge-xample.shtml Thanks 

Hibernate Questions

hibernate - Hibernate
the application I got an exception that it antlr..... Exception.Tell me the answer...hibernate  Hai,This is jagadhish I have a problem while developing.... For read more information: http://www.roseindia.net/hibernate/index.shtml 

Hibernate Questions

Hibernate - Hibernate
Hibernate  when I run Hibernate Code Generation wizard in eclipse I'm getting the following error. I added ojdbc14.jar to my build path. Still I'm getting this error. please let me know, how to resolve 

JDBC Questions

programming error
programming error  I got an error when i did the following program the prg. is to "select the name from database when the age is given for the respective name" error i got is:SQL exception please give me the solution by providing 

Java Beginners

if i run this prog, i got exeption in thread "main" java.lang.ArrayIndexOutOfBoundsException:0 at Maxof2.main(Maxof2.java:9), whats the resolution for ths?
if i run this prog, i got exeption in thread "main... int i = Integer.parseInt(args[0]); int j = Integer.parseInt(args[1]); if(i > j) System.out.println(i+" is greater than "+j); else 

Hibernate Questions

Hibernate - Hibernate
Hibernate  Hai this is jagadhish while running a Hibernate application i got the exception like this what is the solution for this plz inform me.../hibernate/ Please specify your requirements in detail. It would be good 

Hibernate Questions

hibernate Configuration with eclpse 3.1 - Hibernate
hibernate Configuration with eclpse 3.1  Dear Sir, i m developing a program using hibernate with struts. but i am not able to configure.../hibernate/runninge-xample.shtml http://www.roseindia.net 

Hibernate Questions

hi i m new to hibernate..plzzzzzzzzzzzzzz help me.... - Hibernate
hi i m new to hibernate..plzzzzzzzzzzzzzz help me....  hi friends i m new to hibernate..& i m stuck in one positon in my pgm.. its a simple select...://www.roseindia.net/hibernate/selectclause.shtml Thanks.  hi deepak.. when i 

Hibernate Questions

hibernate sql error - Hibernate
hibernate sql error  Hibernate: insert into EMPLOYE1 (firstName..., Please visit the following links: http://www.roseindia.net/hibernate/index.shtml http://www.roseindia.net/hibernate/insert-data-database.shtml Hope 

Development process Questions

Struts+Hibernate - Development process
Struts+Hibernate  Hi I am Using Struts+Hibernate in my web... records from the form using lazy validator. and i got one local bean where i could... the records. pls help me i am strucked with error. thanx in advance    

Hibernate Questions

Hibernate code - Hibernate
Hibernate code   I am facing a problem in hibernate program. Error is ::: Error in reading contact.hbm.xml contact.hbm.xml is my hibernate mapping file.  Hi Friend, check whether you have specified correct path 

XML Questions

Error-
Error-   Hello, I would like to know about XSD file. I try to print XML file but I am getting error SAXException-- says Content is not allowed in prolog. Please help me 

JSP Servlet Questions

error
error  i have 404 error in my program plz tell me yhe solution about 

JSP Servlet Questions

error
error  i have 404 error in my program plz tell me yhe solution about 

Hibernate Questions

hibernate code problem - Hibernate
hibernate code problem  suppose i want to fetch a row from the table through a value which i got from the jsp page. how can i do it and iterate it plz give the complete code  Hi friend, I am sending you a link 

JDBC Questions

hi, Everyone ,i'm learning jdbc, i got an nullpointerexception when execute this program.
hi, Everyone ,i'm learning jdbc, i got an nullpointerexception when execute this program.   ConnectionProvider.java import java.util.*; import java.io.*; import java.sql.*; class ConnectionProvider { static Properties prop 

Ajax Questions

Error
Error  I have created ajax with php for state and city. When I change state then city will not come in dropdown list and it give me error as 'Unknown Runtime Error'. This error come only in IE browser, but in other brower 

JSP Servlet Questions

error
error  I am running a program insert into statement in sql using.../ServletUserEnquiryForm.shtml getting an error given below SQLException caught: [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error please suggest 

Hibernate Questions

hibernate firstexample - Hibernate
hibernate firstexample  Hi all. i m new with hibernate,when i m trying to run my first application i m getting following exception. Error reading resource: Employee.hbm.xml give me the solution. Thank you 

Spring Framework Questions

error
error  When I deploye the example I have this message cannot Deploy HelloWorld Deployment Error for module: HelloWorld: Error occurred during deployment: Exception while deploying the app [HelloWorld 

Hibernate Questions

connection proxy error in hibernate
connection proxy error in hibernate  while we get connection through hibernate we arise an error connection proxy error while we are using multiple connection's 

Spring Framework Questions

Getting HTTP 404 error in Spring web MVC with Hibernate Integration
Getting HTTP 404 error in Spring web MVC with Hibernate Integration   Hi, i am Getting HTTP 404 error in Spring web MVC with Hibernate Integration...;Please visit the following links: http://www.roseindia.net/struts/hibernate-spring 

MySQL

Data Provider or other service returned an E_FAIL status Error
and got the error "Data Provider or other service returned an E_FAIL status Error" while moving the Record Set forward. On trying for the solution I found... Data Provider or other service returned an E_FAIL status Error 

Java Beginners

Error
Error  Hi. I am getting error in the following code after the line I have commented as ERROR. How to solve this. Thanks in advance. package...;"); // ERROR out.println(" var pattern 

Java Beginners

Error
Error  Hi. I am getting error in the following code after the line I have commented as ERROR. How to solve this. Thanks in advance. package...;"); // ERROR out.println(" var pattern 

Java Beginners

Error
Error  Hi. I am getting error in the following code after the line I have commented as ERROR. How to solve this. Thanks in advance. package...;"); // ERROR out.println(" var pattern = /^\d{3,5 

Java Beginners

Error
Error  Hi. I am getting error in the following code after the line I have commented as ERROR. How to solve this. Thanks in advance. package...;"); // ERROR out.println(" var pattern 

Hibernate Questions

Compilation error. Hibernate code - Hibernate
Compilation error. Hibernate code   Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory...) how to rectify that error in hibernate  Hi Friend, You have 

Java Beginners

error
"+it); } } this is my program i am getting an error saying cannot find symbol class string 

Java Beginners

error
error  how do i set jdk home path in jcreator le 

Hibernate Questions

hibernate code - Hibernate
hibernate code  sir, i have tried ur hibernate 3.0 firt example code, i have done as u have told in the tutorial like import all the related...,but when i run this it shows error i.e Exception in thread "main 

Java Beginners

jsp error
jsp error  <p>hi, could please help whenever i run jsp file in my eclipse i got this error.my jsp file is</p> &lt;%@ page language... encountered an internal error () that prevented it from fulfilling this request 

JDBC Questions

error - JDBC
error  i wrote the program using dbms type 4 driver.it is comipled,i got a errors d:temp> java DBConnect db Connect Example...(); } } } i wrote any jdbc program .it won't work in my system. but it is complied i 

Java Beginners

error
is"+sum); } } this is my program i need to print the series (1+2/12)+(1+2 

Hibernate Questions

SEVERE: Error listenerStart - Hibernate
SEVERE: Error listenerStart  what is SEVERE: Error listenerStart 

Hibernate Questions

Struts-Hibernate-Integration - Hibernate
Struts-Hibernate-Integration  Hi, I was executing struts hibernate intgeration code the following error has occured. Anyone can give me... the following link: http://www.roseindia.net/struts/struts-hibernate/ Hope 

Hibernate Questions

hibernate Excetion - Hibernate
hibernate Excetion  The database returned no natively generated identity value Even i mentioned in generator class as native still am getting the same error that Hibernate: insert into login (uname, password) values 

Spring Framework Questions

Null value when i set interface object in form controller - Spring
Null value when i set interface object in form controller   Hi all, i am very new about spring and hibernate. i got null value when i set...("ohbillManager "+this.ohbillManager); } and another error i unable 

Hibernate Questions

hibernate configuration with eclipse 3.1 - Hibernate
hibernate configuration with eclipse 3.1  Dear Sir, i got your mail and found the link. i have already found that link. When i m deploying our... by step process. i have that folder in d:/hibernate i thing 

Hibernate Questions

Hibernate application - Hibernate
Hibernate application  Hi, Could you please tell me how to implement hibernate application in eclipse3.3.0 Thanks, Kalaga.  Hi Friend, Please visit the following link: http://www.roseindia.net/hibernate 

Hibernate Questions

connection proxy error in hibernate
connection proxy error in hibernate  while we get connection through hibernate we arise an error connection proxy error while we are using multiple error message is like below statements SEVERE: Servlet.service() for servlet 

Hibernate Questions

hibernate
hibernate  please give me the link where i can freely download hibernate software(with dependencies)   Learn hibernate, if you want to learn hibernate, please visit the following link: Hibernate Tutorials 

Hibernate Questions

hibernate
hibernate   I want to learn how to use hibernate framework in web application . for storing database in our application 

Hibernate Questions

hibernate
hibernate   I want to learn how to use hibernate framework in web application . for storing database in our application 

Struts Questions

struts-tablib error - Struts
struts-tablib error  I have got the following error even after i have included all the jar file of particular struts-version i am using org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class 

Hibernate Questions

java.lang.NoClassDefFoundError - Hibernate
java.lang.NoClassDefFoundError  Hi, I am new to hibernate. while running the hibernate application i m getting the following error. Exception...) could you please help me out to resolve the error. Thanks and Regards, Vishal 

Framework Questions

groovy compilation error - Framework
groovy compilation error  while i am running the grails application , i got the error message like: [groovyc... the error. i had groovy-1.7.3 version and grails-1.3.0.rc2 versions 

Java Beginners

Error - Java Beginners
: Enter the HexaDecimal : I got error in the line String status=session.getAttribute-----> Type of error...)); System.out.println("Enter string value!"); String st = buff.readLine(); for(int i 

Maven Questions

Error with Maven while deploying the war file
Error with Maven while deploying the war file  Hi, I am new to maven... I created java spring hibernate project.. and i kept all .java files... hibernate, properties and spring. in hibernate i kept all .hbm.xml files 

JDBC Questions

error occured in oracle - JDBC
error occured in oracle  hi... this is the error i got in oracle 11g when i am trying to insert image ORA-00984:column not allowedd here for the insert statement like this insert into imgapp('1','xxx','G:\image folder\ultrasound 

Hibernate Questions

Hibernate log4j
Hibernate log4j  Hi, when i run the FirstExample.java given in the tutorial, i got the right output, what my doubt is from where i am getting... (org.hibernate.cfg.Environment) Thanks in Advance. Raju Rudru.   Hi Raju, I 

Hibernate Questions

Hibernate
Hibernate  hi sir i need hibernate complete tutorial for download   Hi Friend, Please visit the following link: Hibernate Tutorials Thanks 

Java Beginners

I/O Program output error
I/O Program output error  Hello All, I am working on a program... file, but I am getting incorrect output. I have been successfull with part of the program in that it reads the text file and analyzes it, however I need it to take 

Java Beginners

runtime error - Java Beginners
runtime error  I created a sample java source ,compiled it succesfully using command prompt but when i tried to run i got the folowing error " Exception in thread "main" java.lang.UnsupportedClassVersionError" I have set 

Spring Framework Questions

I am getting error org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'IS_AUTHENTICATED_ANONYMOUSLY' is defined - Spring
I am getting error org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'IS_AUTHENTICATED_ANONYMOUSLY' is defined  Hello, I am getting error 

iPhone

Just Got An iPad? - The Range Of Protective Cases You Can Choose From
Just Got An iPad? - The Range Of Protective Cases You Can Choose From Apple’s latest addition to the “i” series, the iPad, has been making waves all around the globe, and if you have just got yourself one 

JUNIT Questions

application cntext file error
application cntext file error  i got an error when execute the file in junit using application context file org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file 

Advertisements Advertisements
 

 

 

DMCA.com