1. Connection refused: connect forum.hibernate.orghi i'm using hibernate 2.1 winXP Pro with MySql version 4.0.12-nt and when i run my app from my pc all goes well; but when i try to run it from another machine (identical to mine) that is in a home network, i get this error message: quote: -------------------------------------------------------------------------------- C:\>java -jar Relatorio.jar 17:43:00,147 WARN SettingsFactory:95 - Could not obtain connection metadata ... |
2. Connection refused: connect Nested exception: Connection re forum.hibernate.orgNewbie Joined: Thu Nov 24, 2005 8:17 am Posts: 10 Hi All, I was trying to access hibernate from my SessionBean .and it thorws me an error when i run the program I am using jboss4.0.2 MS SQL server and Eclipse 3.1 This is the trace that i get when i try to insert a row in the table thru hibernate ... |
3. Connection refused :connect message is coming forum.hibernate.orgDear All, Please help me out in this regard, I am using hibernate 3.2 to connect to oracle 10g db.I am able to connect frm a standalone java application to database by seeting the property to configuration object programatically, Configuration cfg=new Configuration().setProperty("hibernate.dialect", "org.hibernate.dialect.OracleDialect") .addClass(Test.class); [/b ]like this.I am adding to all the jar of lib folder ,hibernate3.jar as well as ojdbc14.jar ... |