Solved

hibernate - Operation Timed out

Posted on 2006-10-30
9
377 Views
Last Modified: 2013-11-24
Hi

I am using WSAD. I am getting below syntax error when I am try below code for hbm.xml file

<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>

Syntax error at line : "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
Error message : operation timed Out : Connection

can you please help me what does this error mean and how to correct.

Thanks
0
Comment
Question by:basirana
  • 4
  • 2
  • 2
  • +1
9 Comments
 
LVL 37

Expert Comment

by:momi_sabag
ID: 17834905
are you sure you can connect to the internet from your computer ?
try open the link in internet explorer
0
 

Author Comment

by:basirana
ID: 17834962
I am able to access internet I dont have any problem. I am not sure why I am getting syntax error.
0
 
LVL 5

Expert Comment

by:kannan_ekanath
ID: 17835063
What is WSAD? Is it websphere ? I assume you are getting this error when you try to make a XML mapping file and not while actually executing any code.

Go to your IDE options, most IDEs try to cache the XSDs so that they can provide you good validation mechanisms. Disable such validations based on XSD for your IDE.
0
 

Author Comment

by:basirana
ID: 17835195
Exception:

java.lang.UnsupportedClassVersionError: org/hibernate/MappingException (Unsupported major.minor version 48.0)
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 1

Accepted Solution

by:
OneOrTwo earned 500 total points
ID: 17835364
This suggests to me a mismatch of Java versions. Are you using Java 1.5 for your code? It may be that Hibernate or one of the other libraries you are using requires Java 1.5 and you are not using it..?

The timing out of the connection is probably not the real cause of the problem - the real error is probably this class mismatch.
0
 

Author Comment

by:basirana
ID: 17835642
I dont have jdk1.5. I am working on 1.4
0
 

Author Comment

by:basirana
ID: 17837543
Exception
I am using WSAD is there any configuration I have to do before running hibernate programs
java.lang.UnsupportedClassVersionError: org/hibernate/MappingException (Unsupported major.minor version 48.0)
0
 
LVL 5

Expert Comment

by:kannan_ekanath
ID: 17847769
I can only guesses, like you might have WSAD on top of JDK 1.5 and there is a mismatch between your compilation and runtime JRE
0
 
LVL 1

Expert Comment

by:OneOrTwo
ID: 17848197
Which version of Hibernate are you using?
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now