Saturday, October 3, 2020
JDEVELOPER Error resolution - (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/C:/oc4j_path/j2ee/home/config/jms.xml]
In this post, we have shared the commonly faced error while trying to run a OAF page from Jdeveloper.
Jdeveloper Version: 10.1.3.5.0.3
Issue Faced: Trying to execute a OAF page on jdeveloper, everything goes smoothly till compilation, OC4J server initiation. But, no action after the message “20/09/28 12:40:10 Oracle Containers for J2EE 10g (10.1.3.5.0) initialized”. Post this message, we suppose to see a browser page opened and display our page.
Error Noticed from Log: (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/C:/oc4j_path/j2ee/home/config/jms.xml]
Fix:
Deleted all contents from below directory:
<JDEV_HOME>\jdev\system\oracle.j2ee.10.1.3.43.6\embedded-oc4j\persistence\
Possible Reasons (Assumption):
- Embedded OC4J server was not terminated properly last time. The above mentioned directory contains the files related to last configuration, so upon deleting all details from that directory, I assume it starts fine and work normal.
- Jms.state file was corrupted due to some reason. The only option to delete it.
FYR: <JDEV_HOME>\jdev\system\oracle.j2ee.10.1.3.43.6\embedded-oc4j\persistence\ looks like below.
Readers: If you have any better explanation or faced other issues and have solutions for the same, please share the same in comments. We will share to world of OAF developers. It will be useful to someone.
Saturday, October 3, 2020 by Team search · 0
Friday, July 10, 2020
Background: We have a custom OAF page to search a PR details in English Language.
Download Existing Translations:
Step 1: Login into Terminal (putty) and
navigate to any directory.
Step 2: Setup below custom variables with appropriate values
- OAFPAGE – The page for which translations to be downloaded
- XLIIFDIR – The directory where translation files to be downloaded
- APPSPWD – Apps password of the instance
- LANGUAGES – List of languages for which we need to download translations. In this example, we will download translations in English, simplified Chinese and traditional chinese
OAFPAGE=/shareoracle/oracle/apps/po/prsearch/webui/SearchPG XLIFFDIR=. APPSPWD=apps#46 LANGUAGES="en-US,zh-CN,zh-TW"
Step 3: Execute the downloading command
java oracle.jrad.tools.trans.extractor.XLIFFExtractor $OAFPAGE
-root $JAVA_TOP -username apps -password $APPSPWD
-dbconnection $AD_APPS_JDBC_URL -source db
-languages $LANGUAGES -mmd_dir $OA_HTML/jrad -xliff_dir $XLIFFDIR
Step 4: Check whether translations are downloaded
Translate the fields:
Step 5: Change translations in the xlf file for each language
Import the Translations
Step 6: Move the changed file back into server (any directory) and import the translations by firing below command
APPSPWD=apps#46 java oracle.jrad.tools.trans.imp.XLIFFImporter ./PRSearchPG.xlf
-username apps -password $APPSPWD -dbconnection $AD_APPS_JDBC_URL
Friday, July 10, 2020 by Team search · 0