Hibernate version:
3.0.5
Hy there, I've got a problem when trying using Hibernate :
I want to try using Hibernate on a computer with NO internet connection.
And when I start the deploying I've got this exception :
Code:
[7/4/05 14:24:13:672 CEST] 47785776 Configuration I org.hibernate.cfg.Configuration configuring from url: file:/E:/APPL/was51/installedApps/besvt0000002/intraetudes-os.ear/intraetudes-os.war/WEB-INF/classes/hibernate.cfg.xml
[7/4/05 14:24:35:391 CEST] 47785776 Configuration E org.hibernate.cfg.Configuration problem parsing configurationfile:/E:/APPL/was51/installedApps/besvt0000002/intraetudes-os.ear/intraetudes-os.war/WEB-INF/classes/hibernate.cfg.xml
[7/4/05 14:24:35:406 CEST] 47785776 Configuration E org.hibernate.cfg.Configuration TRAS0014I: The following exception was logged org.dom4j.DocumentException: Operation timed out: connect:could be due to invalid address Nested exception: Operation timed out: connect:could be due to invalid address
at org.dom4j.io.SAXReader.read(SAXReader.java:358)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1168)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1127)
at at be.carrefour.intranet.etudes.HibernateUtils.<clinit>(HibernateUtils.java:24).null(Unknown Source)
at be.carrefour.intranet.etudes.HibernateFilter.doFilter(HibernateFilter.java:42)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
at be.carrefour.intranet.etudes.MultipartFilter.doFilter(MultipartFilter.java:65)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:965)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
Nested exception:
java.net.SocketException: Operation timed out: connect:could be due to invalid address
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:329)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:194)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:181)
at java.net.Socket.connect(Socket.java:459)
at java.net.Socket.connect(Socket.java:409)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:414)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:628)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:331)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:292)
at sun.net.www.http.HttpClient.New(HttpClient.java:364)
at sun.net.www.http.HttpClient.New(HttpClient.java:345)
at sun.net.www.http.HttpClient.New(HttpClient.java:340)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:506)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:497)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:599)
at java.net.URL.openStream(URL.java(Inlined Compiled Code))
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
I use Dom4J1.6.1, i try with JDOM but with JDOM deploying doesn't work.
I've already try to change the dtd address on my computer but when I try :
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration
PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"
"/hibernate-configuration-3.0.dtd">
But on deploy DOM4J search for the dtd file on my c:\program files\IBM\websphere\
Any one can help me ?