exception gateway engine failed to start Oracle Lite
When attempting to start the OWSM on Windows, the following error occurs in the logs:
ConnectionPoolManager gateway.foundationservice intialized with url=jdbc:polite@localhost:1522:orawsm driver=oracle.lite.poljdbc.POLJDBCDriver user=system maxConn=5
Feb 12, 2012 4:01:19 AM org.apache.axis.Message writeTo
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)
12/02/12 04:01:25 Error while connecting to Database
12/02/12 04:01:25 Exception: Gateway engine failed to start
12/02/12 04:01:25 javax.servlet.ServletException: Gateway engine failed to start
12/02/12 04:01:25 at com.cfluent.gateway.util.InitServlet.initGatewayEngine(InitServlet.java:96)
12/02/12 04:01:25 at com.cfluent.gateway.util.InitServlet.handleInit(InitServlet.java:24)
12/02/12 04:01:25 at com.cfluent.common.servlet.BaseServlet.init(BaseServlet.java:39)
12/02/12 04:01:25 at javax.servlet.GenericServlet.init(GenericServlet.java:256)
12/02/12 04:01:25 at com.cfluent.common.servlet.BaseServlet.init(BaseServlet.java:72)
12/02/12 04:01:25 at com.cfluent.common.servlet.BaseInitServlet.init(BaseInitServlet.java:30)
…
12/02/12 04:01:25 The above exception is caused by
12/02/12 04:01:25 null
12/02/12 04:01:25 java.lang.NullPointerException
12/02/12 04:01:25 at com.cfluent.gateway.crouter.da.FoundationServiceAccessor.addFoundationService(FoundationServiceAccessor.java:46)
12/02/12 04:01:25 at com.cfluent.gateway.Engine.initDefaultContentRouter(Engine.java:139)
12/02/12 04:01:25 at com.cfluent.gateway.Engine.start(Engine.java:78)
12/02/12 04:01:25 at com.cfluent.gateway.util.InitServlet.initGatewayEngine(InitServlet.java:93)
12/02/12 04:01:25 at com.cfluent.gateway.util.InitServlet.handleInit(InitServlet.java:24)
12/02/12 04:01:25 at com.cfluent.common.servlet.BaseServlet.init(BaseServlet.java:39)
12/02/12 04:01:25 at javax.servlet.GenericServlet.init(GenericServlet.java:256)
12/02/12 04:01:25 at com.cfluent.common.servlet.BaseServlet.init(BaseServlet.java:72)
12/02/12 04:01:25 at com.cfluent.common.servlet.BaseInitServlet.init(BaseInitServlet.java:30)
…
12/02/12 04:01:25 Exception: Gateway engine failed to start
Executing this command you can check if the Polite process is or not started:
%ORACLE_HOME%\Mobile\SDK\bin\olsv2040.exe /query
The OliteService reports the following status: The service is stopped The current status of Oracle Lite Multiuser Service: Current State : SERVICE_STOPPED Acceptable Control Code : (0x0) The configuration of Oracle Lite Multiuser Service: Service Type : (0x10) SERVICE_WIN32_OWN_PROCESS Start Type : SERVICE_AUTO_START Error Control : SERVICE_ERROR_NORMAL Binary path : D:\oracle\product\10.1.3.3\OracleAS_1\Mobile\Sdk\BIN\olsv2040.exe Display name : Oracle Lite Multiuser Service Start Name : LocalSystem Installed Service startup Parameters: port = 1522 wdir = \%WINDIR%\system32
The Oracle Lite database is not up and running.
Start the Polite database service from the Windows services panel and restart the OWSM services.
In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.