formsweb.cfg Sample — jvmcontrollers.cfg sample

formsweb.cfg Sample


[WB]
# Other Forms runtime arguments: grouped together as one parameter.
# These settings support running and debugging a form from the Builder:
otherparams=obr=%obr% record=%record% tracegroup=%tracegroup% log=%log% term=%term% ssoProxyConnect=%ssoProxyConnect% jvmcontroller=WBJVMC
# System parameter: Forms runtime arguments
serverArgs=%escapeparams% module=%form% userid=%userid% debug=%debug% host=%host% port=%port% %otherparams%
# Note: baseSAAfile must end with .txt
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseSAAfile=webutilsaa.txt
# fsalcheck=true
USERID=path/path@xe
form=/home/oracle/soft/path_billing/login_info.fmx
width=100%
height=100%
ColorScheme=teal
jvmcontroller=WBJVMC

jvmcontrollers.cfg sample


[WBJVMC]
jvmoptions=-Xms512m -Xmx1024m
maxsessions=50
logdir=/tmp
logging=off
loadbalance=random
autoremoval=off
CLASSPATH=/home/oracle/Oracle/Middleware/Oracle_Home/jlib/frmbipc.jar:/home/oracle/Oracle/Middleware/Oracle_Home/forms/j2ee/frmsrv.jar:/home/oracle/Oracle/Middleware/Oracle_Home/forms/provision/frmconfig.jar:/home/oracle/Oracle/Middleware/Oracle_Home/jlib/ldapjclnt11.jar:/home/oracle/Oracle/Middleware/Oracle_Home/jlib/debugger.jar:/home/oracle/Oracle/Middleware/Oracle_Home/oracle_common/jlib/ewt3.jar:/home/oracle/Oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.bali.share/share.jar:/home/oracle/Oracle/Middleware/Oracle_Home/jlib/utj.jar:/home/oracle/Oracle/Middleware/Oracle_Home/jlib/zrclient.jar:/home/oracle/Oracle/Middleware/Oracle_Home/reports/jlib/rwrun.jar:/home/oracle/Oracle/Middleware/Oracle_Home/forms/java/frmwebutil.jar:/home/oracle/Oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.jps/jps-manifest.jar:/home/oracle/Oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.dms/dms.jar:/home/oracle/Oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.odl/ojdl.jar:/home/oracle/Oracle/Middleware/Oracle_Home/oracle_common/modules/javax.management.j2ee.jar

Oracle 12c Report server configuration

Oracle 12c Report server configuration
=================================================================
step-1 [ Create report server Tools ]
connect wlst.cmd
C:\Oracle\Middleware\Oracle_Home\oracle_common\common\bin\wlst.cmd

connect(“weblogic”,”tiger123″,”HVD12C:7001″)
createReportsToolsInstance(instanceName=’reptools1′,machine=’AdminServerMachine’)
exit()

Continue reading

iptables basic tutorial

url
https://www.digitalocean.com/community/tutorials/iptables-essentials-common-firewall-rules-and-commands
https://www.hostinger.com/tutorials/iptables-tutorial#gref

Click to access iptables-cheat-sheet.pdf

1. Enabling traffic on localhost

iptables -A INPUT -i lo -j ACCEPT

Here -A option is used to append the rule to the INPUT chain, accept all connections on lo interface. lo means loopback interface. It is used for all the communications on the localhost, like communications between a database and a web application on the same machine.

Continue reading

Oracle Apex 18c n BI publisher Integration

Oracle Apex 18c n BI publisher Integration

help url
https://debaatobiee.wordpress.com/2015/11/02/obiee-12cobiee-12-2-1-0-0-installation-guide-on-linux-platform/
https://stackoverflow.com/questions/38103875/ora-20001-the-printing-engine-could-not-be-reached-oracle-apex-5-with-bi-publi

Less important —

Click to access 2016-NN-Rainer_Willems-Ways_to_get_a_BI_Publisher_Report_from_APEX-Praesentation.pdf

Pre requisite.
1. Apex 18c installed
2. BI publisher Installed
https://debaatobiee.wordpress.com/2015/11/02/obiee-12cobiee-12-2-1-0-0-
installation-guide-on-linux-platform/

Continue reading

samba configuration

samba configuration

https://www.unixmen.com/install-configure-samba-server-centos-7/
https://www.unixmen.com/install-configure-samba-server-centos-7/
https://www.unixmen.com/install-configure-samba-server-centos-7/

step-1—————————————————–
To disable SELinux, edit file /etc/sysconfig/selinux,
vi /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing – SELinux security policy is enforced.
# permissive – SELinux prints warnings instead of enforcing.
# disabled – No SELinux policy is loaded.
SELINUX=Disabled #—————-***—————————
# SELINUXTYPE= can take one of these two values:
# targeted – Targeted processes are protected,
# mls – Multi Level Security protection.
SELINUXTYPE=targeted

Restart the server to take effect the changes of SELinux.

step-2—————————————————–
yum remove samba*
yum install samba samba-client samba-common -y
step-3—————————————————–
mkdir -p /u01/imaging_samples
chmod -R 0777 /u01/imaging_samples
step-4—————————————————–
vi /etc/samba/smb.conf
[global]
dos charset = CP932
netbios name = IBN SAMBA SERVER
server string = Samba Server Version %v
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
server max protocol = SMB2
idmap config * : backend = tdb
hosts allow = 127., 192.168.10. 192.168.0.
cups options = raw

[doctor.share]
path = /u01/imaging_samples
read only = No
create mask = 0777
directory mask = 0777
guest only = Yes
guest ok = Yes
step-5—————————————————–
systemctl start smb
systemctl start nmb
systemctl enable smb
systemctl enable nmb
step-6—————————————————–
testparm

step-7—————————————————–
Test Samba Shares

thats it…..

https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Standalone_Server

HowTo: Grant Root Access to User – Root Privileges – Linux

create a user in Linux and grant root access to him or how to grant root privileges to already existent user.

This can be easily done by changing UID (user id) and GID (group id) in /etc/passwd file.

$ sudo useradd -ou 0 -g 0 john
$ sudo passwd john

$ grep john /etc/passwd
john:x:1001:1001::/home/alice:/bin/sh

$ grep john /etc/passwd
john:x:0:0::/home/john:/bin/sh

Add User To Root Group

$ sudo usermod -a -G root john

$ sudo userdel john
userdel: user john is currently used by process 1

To delete him, firstly open the /etc/passwd file and change his UID.
For example, change the line:
john:x:0:0::/home/john:/bin/sh
to something like:
john:x:1111:0::/home/john:/bin/sh
After this, you’ll be able to delete user john with userdel command:
$ sudo userdel john