Forms 9i runtime problem
Hello members
i have create a file form9i and file rum fine...i have compile a form fiel & create a fmx file now i want to run direct rumtime file fmx..but its not work.any body tell me where i have rum fmx file form9i
Advance Thanks
There is no client-server runtime for 9i as there was for previous versions of Forms. You can test a form in a browser by entering the Forms URL and specifying the form to run, such as:
http://mymachine.com:8888/forms90/f90servlet?form=myform.fmx&userid=myname/mypw@mydb
For this to work, the .fmx file must be in a directory included in FORMS90_PATH as defined in the default.env file, and you must have started OC4J on your machine.
To deploy the form, you must have iAS installed (with Business Intelligence and Forms option) on the deployment machine and you must recompile the form if the deployment platform is different from the development platform.
Similar Messages
-
Oracle Forms 10g runtime handling during RAC node failover.
Hi,
Forms version 10g R2 (10.1.2.0.2)
Oracle DB version 10g R2 RAC with 3 nodes.
If the RAC DB node that the user is connected to goes down, the user gets FRM-40733 and ORA-03114 error messages and the client forms application gets locked down/ goes in a loop with the error messages. The user has to close the browser to get out of the loop. I understand that this is the expected behaviour, but I'm wondering whether we can trap the error ORA-03114 and fire the "key-exit" trigger to get out of the application.
Have any one implemented a clean way to exit the Forms application when the RAC DB node goes down..?
I'm looking for some suggestions or an elegant way to handle the above failure.
Thank you in advance.
SudhakarGlen,
I haven't solve this one yet.I have been playing around with the following:
In my environment, I am still using 6i (not web) forms/reports.
My clients are XP, NT, 2000.
I have the forms/report runtime installed on their PCs.
Their TNSNAMES.ORA will be pointing to PRIMARY ( PDB)
If a SWITCHOVER or FAILOVER happens to the physical standby (SDB), I want a trigger to kick a batch file that will manipulate the TNSNAME.ORA on each clients stations.
On the standby
CREATE OR REPLACE TRIGGER change_tns
AFTER DB_ROLE_CHANGE ON DATABASE
DECLARE
role VARCHAR2(30);
dbname varchar2(100);
BEGIN
SELECT
DATABASE_ROLE,
DB_UNIQUE_NAME
INTO
role,
dbname
FROM
V$DATABASE;
IF role = 'PRIMARY' and dbname='SDB' THEN
dbms_scheduler.create_job(
job_name=>'move_sqlnet',
job_type=>'executable',
job_action=>'c:\temp\movetns.cmd',
enabled=TRUE
ELSE
-- if the standby >was< PRIMARY,
-- but the primary comes BACK on line,
-- need to reverse the step above.
END IF;
END;
As for the movetns.cmd
something like
rem -- attach to the workstation,
net use m: \\station name\share name
rem -- stdb_tnsname.ora would be pointing to STANDBY
copy stdb_tnsname.ora m:\orant\net80\tnsname.ora
net use m: /delete
rem -- need to do that for all workstations..
As you can see, there could be lots of problems with this procedure.
Client doesn't know about the failover, starts a RE-BOOT on the pc, therefore, the new tnsnames.ora will not get to client.. what to do for that client? Do i re-run the batch ...every hour?
tell me if you come up with an answer..
p- -
Object Referenced Error When calling the Windows Form during Runtime
Hi,
I am getting Object reference errors when running windows form during runtime. In debugging mode in MS Visual studio 2005, I am not getting this error. I'm calling the window form from menu and called the window in a thread as suggested in one of forums . I don't see anyone in the forum mentioned this problem I have. Any help would be deeply appreciated. Below are the error and code samples.
ERROR Message
Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Project1.Loadxml.Loadxml_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Edited by: Albert Tio on Feb 16, 2011 9:55 AMHere is the code.
Option Strict Off
Option Explicit On
Friend Class GetEvents
Public WithEvents SBO_Application As SAPbouiCOM.Application
Public SboGuiApi As SAPbouiCOM.SboGuiApi
Public oForm As SAPbouiCOM.Form
Public oDBDataSource As SAPbouiCOM.DBDataSource
Public oCompany As SAPbobsCOM.Company
Public RS As SAPbobsCOM.Recordset
Public oPrev_Bank As String, oPrev_AcctType As String
Public oLoadXml As Loadxml
Public Sub SetApplication()
'Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
SboGuiApi = New SAPbouiCOM.SboGuiApi
' by following the steps specified above, the following
' statment should be suficient for either development or run mode
sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
' connect to a running SBO Application
SboGuiApi.Connect(sConnectionString)
' get an initialized application object
SBO_Application = SboGuiApi.GetApplication()
End Sub
Public Sub SetCompany()
Dim ret As Long
Dim MsgStr As String
Dim Cookie As String
Dim ConnStr As String
Try
oCompany = New SAPbobsCOM.Company
Cookie = oCompany.GetContextCookie
ConnStr = SBO_Application.Company.GetConnectionContext(Cookie)
'//before setting the SBO login context make sure the company is not connected
If oCompany.Connected = True Then
oCompany.Disconnect()
End If
ret = oCompany.SetSboLoginContext(ConnStr)
If Not ret = 0 Then
Exit Sub
End If
ret = oCompany.Connect
Catch ex As Exception
SBO_Application.MessageBox(ex.Message)
End Try
MsgStr = ""
If Not ret = 0 Then
oCompany.GetLastError(ret, MsgStr)
SBO_Application.MessageBox(MsgStr)
Else
End If
End Sub
Public Sub New()
MyBase.New()
' set SBO_Application with an initialized application object
SetApplication()
SetCompany()
AddMenuItems()
End Sub
Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
Dim myThread As New System.Threading.Thread(New System.Threading.ThreadStart(AddressOf LoadXmlMainThread))
Try
If (pVal.MenuUID = "MySubMenu") And (pVal.BeforeAction = False) Then
'SBO_Application.MessageBox("My sub menu item was clicked")
'// Create a form to be launched in response to a click on the
'// new sub menu item
myThread.SetApartmentState(System.Threading.ApartmentState.STA)
myThread.Start()
'Loadxml.ShowDialog()
End If
Catch ex As Exception
SBO_Application.MessageBox("1." & ex.Message)
End Try
'If (pVal.MenuUID = "MyGoToMenu") And (pVal.BeforeAction = False) Then
' SBO_Application.MessageBox("My GoTo Menu was clicked")
'End If
'If (pVal.MenuUID = "MySecondGoToMenu") And (pVal.BeforeAction = False) Then
' SBO_Application.MessageBox("My Second GoTo Menu was clicked")
'End If
End Sub
Private Sub LoadXmlMainThread()
'Dim lLoadxml As New Loadxml
Try
oLoadXml = New Loadxml
oLoadXml.WindowState = FormWindowState.Maximized
oLoadXml.ShowInTaskbar = True
oLoadXml.TopMost = True
oLoadXml.Activate()
Application.Run(oLoadXml)
Catch ex As Exception
SBO_Application.MessageBox("2." & ex.Message)
End Try
End Sub
Private Sub AddMenuItems()
'// Let's add a separator, a pop-up menu item and a string menu item
Dim oMenus As SAPbouiCOM.Menus
Dim oMenuItem As SAPbouiCOM.MenuItem
Dim i As Integer '// to be used as counter
Dim lAddAfter As Integer
Dim sXML As String
'// Get the menus collection from the application
oMenus = SBO_Application.Menus
'Save an XML file containing the menus...
'sXML = SBO_Application.Menus.GetAsXML
'Dim xmlD As System.Xml.XmlDocument
'xmlD = New System.Xml.XmlDocument
'xmlD.LoadXml(sXML)
'xmlD.Save("c:
mnu.xml")
Dim oCreationPackage As SAPbouiCOM.MenuCreationParams
oCreationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams)
oMenuItem = SBO_Application.Menus.Item("43520") 'moudles'
Dim sPath As String
sPath = Application.StartupPath
'sPath = sPath.Remove(sPath.Length - 3, 3)
If sPath.EndsWith("\") = False Then
sPath = sPath & "\"
End If
'// find the place in wich you want to add your menu item
'// in this example I chose to add my menu item under
'// SAP Business One.
oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_POPUP
oCreationPackage.UniqueID = "MyMenu01"
oCreationPackage.String = "Unbridle Menu"
oCreationPackage.Enabled = True
oCreationPackage.Image = sPath & "unbridle.bmp"
oCreationPackage.Position = 15
oMenus = oMenuItem.SubMenus
Try ' If the manu already exists this code will fail
oMenus.AddEx(oCreationPackage)
'// Get the menu collection of the newly added pop-up item
oMenuItem = SBO_Application.Menus.Item("MyMenu01")
oMenus = oMenuItem.SubMenus
'// Create s sub menu
oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_STRING
oCreationPackage.UniqueID = "MySubMenu"
oCreationPackage.String = "Unbridle Monitoring"
oMenus.AddEx(oCreationPackage)
Catch er As Exception ' Menu already exists
'SBO_Application.MessageBox("Menu Already Exists")
End Try
End Sub
End Class
Public Class Loadxml
'Inherits System.Windows.Forms.Form
Public sBPpath As String
Public sGLpath As String
Public sBillpath As String
Public bRun As Boolean
Private Sub Loadxml_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.TextGL.Text = System.Configuration.ConfigurationSettings.AppSettings("GLAcctDownloadPath").ToString()
Me.TextBP.Text = System.Configuration.ConfigurationSettings.AppSettings("BPAcctUPloadPath").ToString()
Me.TextBill.Text = System.Configuration.ConfigurationSettings.AppSettings("BillUPloadPath").ToString()
Me.NotifyIcon1.Visible = False
End Sub
End Class -
Changing the background of the pdf form in runtime.
Dear All,
I want to change the background of the pdf form in runtime. But I don't need to change the fillcolor. I want to change the background by using the pdf file. That means I want to switch the background of the pdf form on click events.
I don't know this is possible or not.
If anybody know how to solve this problem Please suggest me.
Thank you
saroj neupaneI do not believe that it is possible.
-
Forms/Designer 10g - problem with attached libraries
I've problem with forms with attached libraries. All of libraries have removed paths. I can run all forms without any problem on my local application server from Forms Builder 9i or Designer 9i. I added all paths in registry FORMS90_PATH. WORKINGDIRECTORY in formsweb.cfg is blank.
Unfortunately I can't do it with Developer 10g on second workstation. I added all paths in registry FORMS_PATH. WORKINGDIRECTORY in formsweb.cfg is blank too. When form is running I get ORA-06508. I can't store all files (fmb, fmx, pll, plx etc.) in one folder because I've to use CVS. In this case I can't set any folder in WORKINGDIRECTORY.Assuming Forms 10.1.2.x, FMX, MMX, PLX, and OLB files are found based on the value of FORMS_PATH which is set in default.env and not the Registry. This applies to runtime only. The Builder uses the Registry.
Understand that "runtime" refers to any time a form is displayed in a browser, regardless of whether is was started from the Builder or Application Server.
Also, be aware that if you have FMX, MMX, or PLX files which were created in older versions they must be recompiled using the 10.1.2 compiler. -
How to setup Forms 9i runtime environment?
How to setup Forms 9i runtime environment?
I developed a test form and I am getting "Page cannot be displayed" error when I run the form.
Steps I followed to run the form...
1. Started OC4J Instance
< Dos Window opened and contained data " Oracle 9iAS (9.0.2.0.0) containers for J2EE initialized >
2. I Run my test form.
< In the IE browser got "Page cannot be displayed" error.
In DOS Window I got the following message ...
FormsServlet init():
ConfigFileName: null
testMode false >
Do I need to setup something else???
Please advise.My guess then would be that the problem is that you get:
ConfigFileName: null in the OC4J log window. This should actually point to a config file for the Forms server : formsweb.cfg.
Are you running the OC4J that came with Oracle9iDS?
What happens if you try the following URL:
http://127.0.0.1:8888/forms90/f90servlet
I don't know why it is not configured for you. might be worth a reinstall. -
How can i remove paramter form at runtime of report through PSP
I am working on PSP (PL/SQL Server pages) with html code. I made some reports through report builder (rdf files). I pass variables into report parameter through PSP and I call the reports through this code
OWA_UTIL.redirect_url (
p_report_url
|| '?runp=&report=WEB_BOOK_LOCATION.rdf&destype=cache&desformat=htmlcss&server=rep60_kmas&userid='
|| p_usrcon||'&p_inst_id='||p_inst_id
but I dont want parameter form on runtime . I know the code which is used only in developer forms , this is
add_parameter (pl_id, 'PARAMFORM', text_parameter, 'NO');
How can I remove parameter form on runtime from PSP.
Thanks and regards
--AnwarWould adding ¶mform=NO to the call solve the problem?
I am working on PSP (PL/SQL Server pages) with html code. I made some reports through report builder (rdf files). I pass variables into report parameter through PSP and I call the reports through this code
OWA_UTIL.redirect_url (
p_report_url
|| '?runp=&report=WEB_BOOK_LOCATION.rdf&destype=cache&desformat=htmlcss&server=rep60_kmas&userid='
|| p_usrcon||'&p_inst_id='||p_inst_id
but I dont want parameter form on runtime . I know the code which is used only in developer forms , this is
add_parameter (pl_id, 'PARAMFORM', text_parameter, 'NO');
How can I remove parameter form on runtime from PSP.
Thanks and regards
--Anwar -
Does anyone know how to enable/disable a dropdown menu in Forms at runtime?
Is there a way how to disable/enable dropdown menu for menus that have multiple sub levels in Oracle Forms? I am trying to use the set_menu_item_property function but this takes 'menu.item' format for the first argument. I am trying to enable/disable a menu item in the form of 'menu.item.subitem' and was not able to do it using this function. If anyone knows a different function or method, please reply. I have shown an example below.
Setup -> Software -> Front Page
From the above example, I can enable/disable Software using set_menu_item_property function. But, how do I enable/disable the Front Page menu in Oracle forms at runtime?
Thanks
Edited by: user480347 on Aug 24, 2010 3:37 PMYes you are on the right track. You need to pass then complete menu name to set_menu_item_property
Immediate_parent menu.item_name e.g
For example you have menu like this
Id like
A1 A10 > A1010
Home > Input > Form 1
A1 A10 > A1020
Home > Input > Form 2 To disable Form 2 you must pass menu name as
A10.A1020Hope it helps -
Use of mouse scroll wheel in Forms 6i runtime
Is there any way to make the mouse scroll wheel work in Forms 6i runtime? Does it work in some areas and not in others? Ultimately, the user would like to use the scroll wheel to navigate through rows in a block instead of dragging the scrollbar. We also have data in a particular row and column that has scroll bar. I'm hearing that in some instances it works, don't know if I believe, not sure if it's workstation dependent. Client workstations are generally XP.
cherylI think (can't ckeck at the moment) that an animated gif will only run when deployed on the web (you need the JVM)
As I said, I think this is the case but can't confirm it at the moment.
Regards
Grant Ronald
forms Product Management -
VERY URGENT - Adobe forms with email problems
I THERE - I AM A ADOBE FORMCENTRAL CLIENT I HAVE MY PAYEMENTS ON DAY BUT FOR SOME REASON THE ADOBE STOP RESENDING TO MY EMAUIL ACOUNT AND TO MY CLIENTS EMAIL ACCOUNT THE SUMARY OF THE FORM THAT IS SUBMITED. THIS IS VERY URGENT THAT BE FIXED FROM YOU SIDE PLS LET ME KNOW WHAT IS HAPENING.
PLS FIX THIS URGENT AS I HAVE MY CLIENTS SCREEMING ON ME
PLS ANSWER TO
[email protected]Now is working
after 2 hours is working now. but this have never hapen before. now I am
woried with this ADOBE FORM system!!!! it can hapen and I never know.
br
henrique
2014-04-25 21:29 GMT+01:00 Josh_Corey <[email protected]>:
Re: VERY URGENT - Adobe forms with email problems
created by Josh_Corey <http://forums.adobe.com/people/Josh_Corey> in
FormsCentral - View the full discussion<http://forums.adobe.com/message/6331228#6331228 -
Need to install Form 6i runtime on MAC OS X Version 10.4.10
Hi Gurus,
I've got an Apple MAC Book version 10.4.10. And we are already working with an application which is developed in Forms 6i.
DB version: 9.2.0.7
Database server: Oracle Unbreakable linux 4
Application Server: Developer 2000/ Forms 6i Reports 6i
Now i need to install Forms 6i runtime on this MAC note book.
Can any one help me installing Forms 6i runtime.
This is extremely urgent.
Regards,
Mubeen AhmedHi Gerd,
Thanks for the tip. (using metalink).
Do you have any idea how to work with this issue. Any informative material regarding this topic will be appreciated.
Looking forward to hear from you soon.
Regards,
Mubeen Ahmed -
Adobe needs to get their act together, be specific as to what version of Java SE6 Runtime is needed to open CS5 (InDesing, Illustrator, etc.)and if possible offer a direct download, since Oracle has a ton of version of SE6 and none of them for Mac specific platform. This short sight on behalf of Adobe and carelessness on behalf of apple is the kind of garbage, this companies will never get!
I'm pretty sure this post has the link in it...
Dreamweaver and Java SE 6 Runtime problem on MAC Mountain Lion OSX
If not, do a search of the DW forum for Java SE 6, there has been a lot of discussion about it and the download link for it is floating around here somewhere. -
Forms & Reports Runtime Package
Hello,
I have a network of 250+ nodes with client server environment. To enable users to use in-hous developed business applications, it requires to install Forms & Report Runtime on these 250+ PCs which is a tedius job. Is there any utility (like windsows install shield) avaialable that makes a single executable file that installs forms runtime and report runtime on a single click. I also have to carry the entire Developer 6i CD every time I need to install runtime. How to extract only runtime files out of it and make just one single executable?
Any third party tool available in the market, serving the purpose, would also be acceptable.
Thanx.I remember a company advertising forms runtime installation creation for windows platform way back when. Google search might help if they are still in business.
One alternative for the client/server deployment to n number of nodes, might be using 6i on a linux/unix box and then distribute it via citrix or Exceed On Demand to the clients. The EOD is a server based product and has a very small footprint on the client machines (windows pc's). I believe it has ~ 200$ per seat price tag, but you can check Hummingbird website for details.
porting your application from 6i to 10gR2 (10.1.2.0.2) or upcoming version 11g might be another good alternative for you given that by utilizing the Webutil functionality in iAS (OAS) forms services, you will be able to read/write on client pc's. If you install the iAS on a single cpu, dual core opteron box (with a term based license, such as 2 or 3 years) - it will server your 200 - 250 users and the price tag will not be too much.
I hope this proves useful.
R/ Zafer -
Fetch all items id in one form at runtime ?
How do i fetch all id's for all items in one form at runtime ?
Can you be more specific? I do not understand what it is you are asking to do.
Thanks,
Candace Stover
Forms Product Management -
I have Windows 2000 environment
OC4J Instance started on my PC
Oracle Intelligent Agent = 1748, 1754, 1808, 1809 (ports into my Portlist.ini file)
I set the above ports into form builder preference runtime tab but the explorer return
Page cannot be displayed
I changed my port to 8888 in the form builder preference runtime tab
HTTP error resolve, internet explorer displaying the forms 9i splash screen,
but a new error return
FRM-92060: Failed to connect to server
bad Machine specification: forms90/I90servlet:-1See my response to your other thread.
Form Runtime
Maybe you are looking for
-
Note: this is a Windows (not Mac), in case that makes any difference. When it gives me the option to synch, it informs me that all my old songs currently on my ipod will be erased - which, since I only had them on my old laptop, i don't want to have
-
trying to copy my Itunes music library from external drive(previously had PC) to new hard drive. at a certain point system error 8260 warning appears unable to continue coppying
-
APD : Linking different columns to 1 Keyfigure??
Dear All, I have to push data coming from a query report on Stock to a transactional ODS using APD. In APD the structure I made Query-----Filter-----ODS. But in the query there is a keyfigure : Total Stock Issue Vol : (CK_TSIVOL) whic
-
Has anyone got iFS working in Tomcat ?
iFS 1.1.9 We have a urgent need to get iFS running in a Servlet 2.2 container and OC4J does not support iFS yet. I know this is not supported but has anyone got iFS working in Tomcat ? If so, pls do me a BIG favour by letting me have your config file
-
hi, I am using <b>java -Xrunhprof:cpu=times myclass</b> to find the bottleneck of my application. I expected to see which method calls used most cpu. But the results contains all "unknown line" like this: <i>TRACE 45: java.lang.String.valueOf(<Unknow