Siebel Mobile: Newvirdirs.sh script execution fails on Linux systems

(Doc ID 2318825.1)

Last updated on OCTOBER 24, 2017

Applies to:

Siebel Mobile Applications - Version 16.7 [IP2016] and later
Information in this document applies to any platform.

Symptoms

Siebel Mobile Specific - on version : 16.7 [IP2016]

While trying to run below command as mentioned in Siebel Bookshelf (IP16) - Mobile Guide: Connected > Setting Up Siebel Mobile Connected Applications > "Adding Virtual Directories for Siebel Mobile Connected Applications":

./new_virdirs.sh <LANGUAGES> <WEBSERVER_LOCATION>

Not sure what should be the path that should be used for <WEBSERVER_LOCATION> - as if using the OHS correct home location, that would fail with errors:


ERROR
-----------------------
[siebel@linux config]$ ./new_virdirs.sh PLK /refresh/siebel/apache2/conf
Oracle Home: /refresh/siebel/eappweb
Operating System: linux
Language(s): [PLK]
Web Server Location: /refresh/siebel/apache2/conf
Backing Up Original Files...
Updating Configuration....
Updating Web Server Configuration....
Linux Web Server Configuration File: /refresh/siebel/config//apache2/conf/httpd.conf
ERROR: File Not Found: /refresh/siebel/config/apache2/conf/httpd.conf
/refresh/siebel/config/apache2/conf/httpd.conf (No such file or directory)
java.io.FileNotFoundException: /refresh/siebel/config/apache2/conf/httpd.conf (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileReader.<init>(FileReader.java:55)
at com.oracle.siebel.newcomps.NewComps.makeBackup(NewComps.java:328)
at com.oracle.siebel.newcomps.NewComps.setWebSerConfFile(NewComps.java:645)
at com.oracle.siebel.newcomps.NewComps.main(NewComps.java:101)


STEPS
-----------------------
The issue can be reproduced at will following these steps:
1. Apply the exact preliminary steps from Bookshelf Guide (see above URL);
2. Run the script as indicated;
3. See that ending with errors similar to the above.

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, Mobile application setup cannot continue (if that specific Language was not already present in those files).

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