Avoid FRM-40401 message

Use Standard.commit  instead of commit to prevent Oracle message :

Source :OraFAQ

Run Oracle forms from LAN

Assalamu Alikom,

I can not deny how does this work took time as I searched for it and made many tries between fails and success .

And here is the steps to run your Oracle project from any computer on the Local Network. 

Windows XP is recommened to install Application Server

1#Step : Install ORACLE DataBase 10g 

2#Step : Install ORACLE Developer 10g

After installation of Oracle developer :

goto C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN

then copy the files : 




and paste them to the following path :


3#Step : Install Application Server

download it from here ...

Be very careful before install and follow steps below :

1-download file staticports.conf   from here... and copy it to path  C:\oracle\FRHome_1\

2-Choose Manual install then choose the file staticports.conf

3-After install finishes write down the link appears to access Oracle Enterprise Manager, it looks like (http://localhost:7798)

4-goto C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN

then copy the files : 




and paste them to the following path :


5- Goto path C:\oracle\FRHome_1\\forms\server  where you installed app server
and make copy of file default.env  and paste it in the same place

6- Rename the new file to tr.env (you can rename it to any of yours)

7- Open file tr.env using  notepad

8-Edit the Form_path to FORMS_PATH=C:\DevsuiteHome_1\forms

Important: copy all your fmx  files of your project in the path (C:\FRHome_1\forms)

4#Step : Configure Application Server

1-Login Appserver  by typing Localhost in the address bar of any browser(internet explorer is preferred) or the link you wrote before

2-Choose Forms then  choose Configuration then choose Duplicate then choose New Section
and name it :EFL  (you can rename it to any of yours) then click OK

3-Choose Forms then  choose Configuration then select  EFL then click Edit

4- Edit the following items as followed:
page Title:My First AppServer Application
then click Apply

5-Choose Forms  again and  copy the  link Servlet URL : http://localhost:7801/forms/frmservlt

6- edit the link to be http://localhost:7801/forms/frmservlt?config=EFL 
then paste it  in the browser and click Enter from keyboard

If you are on windows 7 then edit the baseHTMLjinitiator:basejpi.htm

6-Goto Oracle Enterprise Manager then choose PORTS  then select  WebCache     http
then click Edit icon
make it 80 then click OK  then it asks you Restart webcache? click Yes

be sure the Port:80 is not used by other programs on your PC

7-Open notepad then write the following code:
save file as rd.html

8- Paste rd.html  in the path C:\oracle\FRHome_1\Apache\Apache\htdocs

9-Goto Oracle Enterprise Manager then choose HTTP SERVER then Administration then Advanced server Properties  then  Httpd.conf

10- Search for DirectoryIndex then
make it DirectoryIndex rd.html

*OC4J  and Reports Server must be opened all time

5#Step : Running Forms over LAN
1-after running project on server   , we got the link like this:

2-replace localhost with server IP Address(you can get ip address  from Start then CMD then ipconfig then press enter)

it becomes

3-From any computer connected to server over Local network  :
 install J initiator

Thanks to :
ميسم الكرام
Ahmed Elbanna

MS Server 2008 R2 Sounds

In the previous blog we talked about enabling Wireless in Microsoft server 2008 , here is the way to  enable the SOUNDS too.

Article was pick from HowToGeek web site.
All it takes to get sound functionality out of Server 2008 R2 is to set the Windows Audio service to start up automatically. To do this we need to open the Services MMC, the quickest way to do this is to press the Win + R key combination to bring up a run box, type services.msc and hit enter.
Once the Snap-In opens scroll down until you find the Windows Audio Service.
Double-click on it to open its properties.
Now you need to change the Startup drop-down box from Manual to Automatic.
Click ok when you are done, and restart your computer.
You should notice that your volume control icon went from looking like this
To this
You can now play music and movies through Windows Media Player which was installed in the first part of the series, or you could install a third party media player.