java.net.SocketTimeoutException: Read timed out Error in Ant App on Jdev
libranJun 30 2010 — edited Jun 30 2010Hi all
I am on JDev 10.1.3.5 on windows xp.
I have an ANT application in Java, that writes to the oracle db, after reading data from a commercial application(which is hosted), using the app's webservices.
I have to process quite an amount of data, and earlier I had clocked about 2 hours complete the run. This app was running completely fine, since last week. But now when I try to run (using ANT build file), it runs for about 5-7 minutes or so, and then just freezes for next 10 minutes and then I see the following exception (this is from my log file). I was unable to post the entire log, due to limitation of the forum post.
If I restart the run, it runs for about the same amount of time as before and then stops with the same error!
The webservices (API Calls) that I am consuming is from a hosted application, and could it be that they might have changed something at their end over the weekend, that might be causing this? If so, what can I do to fix this???
I am fairly new to this environ, so any help is deeply appreciated.
Thanks
Suma
Jun 29, 2010 2:18:23 PM oracle.bali.xml.dom.buffer.util.EncodingUtils fillEncodingScanArray
SEVERE: Unexpected exception encountered while determining file encoding
java.io.IOException: The process cannot access the file because another process has locked a portion of the file
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:194)
at oracle.bali.xml.dom.buffer.util.EncodingUtils.fillEncodingScanArray(EncodingUtils.java:63)
at oracle.jdeveloper.model.JavaEditionAddin$2.recognize(JavaEditionAddin.java:356)
at oracle.ide.model.NodeFactory.findOrCreateUsingDefault(NodeFactory.java:159)
at oracle.ide.model.NodeFactory.findOrCreate(NodeFactory.java:89)
at oracle.ide.model.ContentSet$1Itr.next(ContentSet.java:789)
at oracle.ide.model.ProjectContent$ChildTypeIterator.hasNext(ProjectContent.java:963)
at oracle.adf.dt.managers.ApplicationManager.findCpxNode(ApplicationManager.java:493)
at oracle.adf.dt.managers.ApplicationManager.getDTApplication(ApplicationManager.java:58)
at oracle.adf.dt.dbpanel.jclient.JClientUtil.isJClientProject(JClientUtil.java:747)
at oracle.jbo.dt.ui.wizards.util.JClientEditorListener.editorActivated(JClientEditorListener.java:128)
at oracle.ideimpl.editor.EditorManagerImpl.fireEditorEvent(EditorManagerImpl.java:899)
at oracle.ideimpl.editor.EditorManagerImpl.activeViewChanged(EditorManagerImpl.java:1863)
at oracle.ideimpl.ActiveViewHandlerImpl.fireActiveViewChanged(ActiveViewHandlerImpl.java:170)
at oracle.ideimpl.ActiveViewHandlerImpl.setActiveView(ActiveViewHandlerImpl.java:258)
at oracle.ideimpl.ActiveViewHandlerImpl.solveActiveView(ActiveViewHandlerImpl.java:364)
at oracle.ideimpl.ActiveViewHandlerImpl.focusGained(ActiveViewHandlerImpl.java:275)
at oracle.ide.controls.FocusHierarchyDispatcher.eventDispatched(FocusHierarchyDispatcher.java:126)
at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2206)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2100)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2099)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2099)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2099)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2099)
at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:3867)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:831)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:480)
at java.awt.Component.dispatchEventImpl(Component.java:3841)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.KeyboardFocusManager.processCurrentLightweightRequests(KeyboardFocusManager.java:2506)
at java.awt.KeyboardFocusManager.retargetFocusEvent(KeyboardFocusManager.java:2749)
at java.awt.Component.dispatchEventImpl(Component.java:3834)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
[java] Jun 29, 2010 2:24:07 PM ConvertPTSProjects main
[java] INFO: ; nested exception is:
[java] java.net.SocketTimeoutException: Read timed out
[java] AxisFault
[java] faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
[java] faultSubcode:
[java] faultString: java.net.SocketTimeoutException: Read timed out
[java] faultActor:
[java] faultNode:
[java] faultDetail:
[java] {http://xml.apache.org/axis/}stackTrace:java.net.SocketTimeoutException: Read timed out