Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to compile a Form on Linux using frmcmp_batch and unsual characters for password on userid

myluismJan 18 2022

Hi All.
I'm using Forms 12c (12.2.1.4) on a Linux box.
I'm not able to compile a form when userid parameter has some unusual characters for password.
My piece of code is this:
for FILE in `ls $APPL_BASE/$2*.fmb`; do
echo "Compilando el formulario --->" "$FILE"
$FR_INST/bin/frmcmp_batch.sh module=$FILE userid=$3 module_type=form batch=yes compile_all=yes
mover=$(basename $FILE)
mover=${mover/fmb/fmx}
mv $APPL_BASE/$mover $APPL_BIN/
if [ $? -eq 0 ]; then
echo Componente $FILE compilado con exito. Moviendo a Directorio de Compilados

mv $FILE $APPL_COMPILADO/

else
echo Ocurrio una falla de compilacion con $FILE
fi
done
I run this code using sudo:
sudo -u weblogic /home/redline/aplicacion/redline/compiladores/compilar_forma.sh /home/redline/aplicacion/redline/prod vm_facturacion_concepto USERX/3RP-GPRO$98LI@CONN_STR
When run with this password it fails compilation (no err file is generated). This tells me it can't connect to the database with the supplied values for userid. If however i try with another password it compiles OK.
I guess the $ sign is causing the issue. Have tried enclosing password with "" but no luck.
Any idea on this one?

Thanks in advance !!!

This post has been answered by Matej D. on Jan 18 2022
Jump to Answer
Comments
Post Details
Added on Jan 18 2022
4 comments
1,161 views