Solved

hibernate - Operation Timed out

Posted on 2006-10-30
9
386 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:basirana
ID: 17835195
Exception:

java.lang.UnsupportedClassVersionError: org/hibernate/MappingException (Unsupported major.minor version 48.0)
0
 
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

738 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