java.io.FileNotFoundException: %ORACLE_HOME%\mobile\server\bin\mobileserverid.dat (The system cannot find the path specified) (Doc ID 1553234.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

Oracle Database Mobile Server - Version 11.2.0.0.0 and later
Information in this document applies to any platform.

Symptoms

 When running a Java Code to Publish a Jar file on a remote Mobile Server 11.2.0.0.0, the  java code fails with this error:

java.io.FileNotFoundException: C:\Oracle\DMS11GR2_MDK_ONLY\mobile\server\bin\mobileserverid.dat (The system cannot find the path specified)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:84)
        at oracle.lite.web.util.ParamEncoder.readKey(Unknown Source)
        at oracle.lite.web.util.ParamEncoder.setId(Unknown Source)
        at oracle.lite.web.JupConfig.initialize0(Unknown Source)
        at oracle.lite.dm.Config.initialize(Unknown Source)
        at oracle.lite.resource.ResourceManager.initialize(Unknown Source)
        at oracle.lite.web.JupConfig.OpenConsolidatorConnection(Unknown Source)
        at oracle.lite.web.resource.ResourceFactory.getInstance(Unknown Source)
        at oracle.mobile.admin.MobileResourceManager.<init>(Unknown Source)
        at Packager.main(Packager.java:53)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms