OWSM Error Connecting to the Polite Database: "java.net.SocketException: Connection reset by peer: socket write error"
(Doc ID 1096919.1)
Last updated on JUNE 05, 2023
Applies to:
Oracle Web Services Manager - Version 10.1.3.1 to 10.1.3.4 [Release AS10gR3]Information in this document applies to any platform.
Symptoms
When attempting to start the OWSM on Windows, the following error occurs in the logs:
ConnectionPoolManager gateway.foundationservice intialized with url=jdbc:polite4@<HOST>:<PORT>:<DATABASE> driver=oracle.lite.poljdbc.POLJDBCDriver user=<USER> maxConn=5
SEVERE: java.io.IOException:
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:410)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
at java.io.BufferedWriter.flush(BufferedWriter.java:236)
at org.apache.axis.Message.writeTo(Message.java:441)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:466)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:122)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.cfluent.policymanager.sdk.client.soap.RegistrationServiceStub.getPolicies(RegistrationServiceStub.java:282)
at com.cfluent.policymanager.sdk.client.soap.SoapComponentConfigurator.getPolicies(SoapComponentConfigurator.java:171)
at com.cfluent.agent.configuration.PolicySetWatchdog.getPolicySetFromPolicyManager(PolicySetWatchdog.java:166)
at com.cfluent.agent.configuration.PolicySetWatchdog.pollFromPolicyManager(PolicySetWatchdog.java:205)
at com.cfluent.agent.configuration.PolicySetWatchdog.run(PolicySetWatchdog.java:77)
Error while connecting to Database
Exception: Gateway engine failed to start
javax.servlet.ServletException: Gateway engine failed to start
at com.cfluent.gateway.util.InitServlet.initGatewayEngine(InitServlet.java:96)
at com.cfluent.gateway.util.InitServlet.handleInit(InitServlet.java:24)
at com.cfluent.common.servlet.BaseServlet.init(BaseServlet.java:39)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at com.cfluent.common.servlet.BaseServlet.init(BaseServlet.java:72)
at com.cfluent.common.servlet.BaseInitServlet.init(BaseInitServlet.java:30)
...
The above exception is caused by
null
java.lang.NullPointerException
at com.cfluent.gateway.crouter.da.FoundationServiceAccessor.addFoundationService(FoundationServiceAccessor.java:46)
at com.cfluent.gateway.Engine.initDefaultContentRouter(Engine.java:139)
at com.cfluent.gateway.Engine.start(Engine.java:78)
at com.cfluent.gateway.util.InitServlet.initGatewayEngine(InitServlet.java:93)
at com.cfluent.gateway.util.InitServlet.handleInit(InitServlet.java:24)
at com.cfluent.common.servlet.BaseServlet.init(BaseServlet.java:39)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at com.cfluent.common.servlet.BaseServlet.init(BaseServlet.java:72)
at com.cfluent.common.servlet.BaseInitServlet.init(BaseInitServlet.java:30)
...
Exception: Gateway engine failed to start
Executing this command you can check if the Polite process is or not started:
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |