Deploying pre-compiled 10g Forms to a server.

Is it acceptable to compile all forms, reports and libraries against a development environment and simply release/deploy the executable files to a separate application server and database or should the binaries always be compiled against the target database on the targe server. The assumption is that the production server and databases and development databases are identical in structure.
What are the risks, if any?
What is the official line?

If you're 100% sure that your development database's structure is exactly the same as the production then yes, you can compile on the first and deploy on the second as long as the product and OS versions are the same.
But most of the time the DBs are not the same, so it will be a better practice if you check the structure before you deploy the executables or at least if it's possible connect to the prod. db and compile you source.
Tony

Similar Messages

  • Auto deploy pre-compiled JSP

    Hello
    In the post of gadegaard in november 2002, there was a problem to au deploy pre-compiled JSP. Is this problem has been fix in the 9.0.4 OC4J version ?
    If yes, is it sufficient to create a "_pages" directory in the war (the war is contained in an ear) and auto deploy it ? Because my pre-compiled JSP are not deployed.
    Tanks in advance for your answer
    Emmanuelle

    Emmanuelle:
    There are two ways to use the precomiled JSP files.
    Method one: You can just copy the generated JSP page implementation classes to the directory application-deployments/yourApp/yourWebApp/persistence/_pages. If the init-param "main_mode" of jsp servlet of your web app is reload, then these classes will be used without stopping the server. This is the fastest way in development.
    Method two: You can packaged the generated JSP page implementation classes into a jar just like any other java class libraries. Then create your war with that jar inside WEB-INF/lib. Make sure the init-param "main_mode" of jsp servlet in your web.xml is justrun. Now you have a deployable war file. You can deploy the war file (within an ear file) to oc4j and access the JSP page.
    Please tell me if either of thse methods works for you
    Please note since oc4j 10.1.3, ojspc will package the generated classes into a jar under WEB-INF/lib if given an war or ear file.

  • Replacement for 10g Forms&Reports standalone server in 11g?

    is there a replacement for the 10g Forms&Reports standalone server in 11g environment? Without the need to install Metadata Repository?
    thx, florian.
    Edited by: fschulze on Oct 16, 2009 1:12 PM

    I believe you can install the equivalent in Forms 11g.
    If you don't install Portal or Discoverer, then you are not required to install any Metadata repository.
    So the steps would be:
    1) Install Weblogic Server 11g
    2) Install Forms and Report Services 11g
    How will you call reports from forms though?

  • Deploying pre-compiled jsp

    hi everyone,
    I want to know to do we deploy pre-compilied jsp on the application servers. And would it the same procedure for all the servers.
    thanks

    Hi Ian,
    Add this jar file to classpath...use either web interface or directly edit jvm12.conf to modify classpath..
    Raj

  • How to run Net Configuration Assistant on 10g Forms and Reports server

    I have a Windows 2000 server with Forms and Reports Services installed from AS 10g v. 9.0.4 (just the Forms and Reports install). According to the OUI, Net Configuration Assistant 9.0.4 is also installed. However I cannot figure out how to run the Net CA. There is no shorcut that I can find. Can anyone help?

    Thanks for the reply Frank. I have looked all through the Start menu but see no "Configuration and Migration". I assume it's because I only installed the Forms and Reports option, so I only have Forms Services, Reports Services, and the Universal Installer. No big deal - I've already setup tnsnames manually. I just like to use the Net Assistant when I can.

  • Unable to deploy pre-compiled archive

    Hi All. I am trying to precompile my application ear file. It seems to compile fine. albeit with a few jsp errors, but it doesnt not deploy to OAS. I am using 10.1.3
    I get
    Redeploy error: Redeploy failed: null
    when trying to redeploy through the command line
    OR
    Archive Location - Failed in uploading archive. Invalid archive file: Unsupported archive type. unknown
    when trying to deploy using the web console.
    I'll try a few more things and let you know.
    Andrew
    C:\product\10.1.3\OracleAS_1\j2ee\home\jsp>bin\ojspc.bat -ignoreErrors c:\devl\r
    mt_publish_dir\fp442\dist\FP442-WLS.EAR
    Detected archive, now processing contents of c:\devl\rmt_publish_dir\fp442\dist\
    FP442-WLS.EAR...
    Setting up temp area...
    Expanding archive in temp area...
    Detected archive, now processing contents of C:\Documents and Settings\andrewg.R
    MTP\Local Settings\Temp\tmp39285\FP442-WLS.war...
    Setting up temp area...
    Expanding archive in temp area...
    C:\DOCUME~1\ANDREW~1.RMT\LOCALS~1\Temp\tmp39286\_exportSearchResults.java:55: ca
    nnot access javax.ejb.EJBObject
    file javax\ejb\EJBObject.class not found
    request.setAttribute("fileAttachment", PersistenceHelper.getSearchBean(
    ).retrieveExportResults((SearchToken)((HashMap)session.getAttribute(FPConstants.
    SESSION_MAP_KEY)).get(SearchConstants.SEARCH_TOKEN_KEY)) );
    ^
    Note: C:\DOCUME~1\ANDREW~1.RMT\LOCALS~1\Temp\tmp39286\_auditTemplateProperties.j
    ava uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
    1 error
    com.evermind.compiler.CompilationException: compilation error occurred
    Removing temp area...
    Creating c:\devl\rmt_publish_dir\fp442\dist\FP442-WLS.EAR ...
    Removing temp area...
    C:\product\10.1.3\OracleAS_1\j2ee\home\jsp>cd ..
    C:\product\10.1.3\OracleAS_1\j2ee\home>java -jar admin_client.jar deployer:oc4j:
    opmn://sunsvr1/home oc4jadmin R1skmgmt -redeploy -file c:\devl\rmt_publish_dir\F
    P442\dist\FP442-WLS.ear -deploymentName FPe442 -keepSettings
    Redeploy error: Redeploy failed: null
    C:\product\10.1.3\OracleAS_1\j2ee\home>

    Andrew, thanks for sharing your experience.
    I am under the impression that it should be ok to compiling on XP and then deploying on Solaris if the same jdk version is used, although it does sound better to do compile and deploy on the same server.

  • Replace 10g form in application server

    hi all
    i have my application running in AS10g release1. when i do some changes in my forms and want to replace in application folder (at application server ) it didnot allow me to replace a form while user is accessing it. gives me message cannot copy form:The requested operation cannot be performed on a file with a user mapped section open.
    can i replace my form at anytime ???
    Regards.

    hi all
    i have my application running in AS10g release1.
    when i do some changes in my forms and want to
    replace in application folder (at application server
    ) it didnot allow me to replace a form while user is
    accessing it. gives me message cannot copy form:The
    requested operation cannot be performed on a file
    with a user mapped section open.
    an i replace my form at anytime ???
    Regards.Yes I'm sure, and this is a windows problem, OS locks files loaded into the memory.
    This message clearly sates that the file you are trying to overwrite has a user mapped section. the session that is using the fmx should disconnect so you can overwrite the fmx.
    I've read there's a workaround on this, but I can't remember it right now. Try searching the forum about it.
    Tony

  • Deploy pre-compiled client proxy with a web service

    When a web service is deployed on an OAS server, the page at the endpoint URL includes a link to a proxy jar file (<endpoint url>?proxy_jar). I have a proxy jar that I've built and I'd like to be able to include it in my war file so that the proxy jar URL will download it instead of the server-generated one. Is there a way to do that?
    I did something similar with the wsdl file: I included it in the war file in the same folder and filename as the web service interface class, but that didn't work for the proxy jar file.
    -Peter

    Hi Peter,
    You cannot replace the proxy jar generated by the Oracle Web Services runtime with your own version. If you want to provide your own version, you will have to handle it as a classic resource in your .ear file, and advertize the location of this resource using some other mechanism.
    -Eric

  • How to deploy oracle forms on weblogic server - please help

    Hi,
    I have installed weblogic server(10.3.1) and fussion middleware 11g forms & reports on windows 2003 server.
    I want to deploy and test oracle forms in weblogic server.
    Please help me.
    Thanks & Regards,

    Hi,
    thanks for your information.
    where can i found the document for testing the report server?
    Thanks & Regards,

  • ORA-04045 error on a 10g form

    I have a form 10g that runs fine on one server, then when I move the FMX over to another 100% identical server, I get the ORA04045 error as soon as i run the form. I've recompiled the form and still get the error.
    The problem is that teh message on the form is truncated and I can not see which object is causing the issue.
    Anyone have any ideas?

    then when I move the FMX over to another 100% identical serverThis is a common miss-conception - you should ALWAYS compile your form on the server it will run from.
    I've recompiled the form and still get the error.My first suspicion is that the servers are not 100% identical. Rather than a SQL Trace, I suggest you use the Forms Runtime Diagnostics (FRD) to trace just the Forms Session. You might need to modify the default.env and formsweg.cfg to enable FRD. Double check with your App Server admin to see if the "FORMS_TRACE_DIR=" variable is set in the DEFAULT.ENV. As long as this is set, you can enable FRD through the Forms app URL. Start your application and then add "record=collect log=<your_file_name_here.txt" to the URL to start the FRD trace. You could also have your admin modify the formsweb.cfg to create a config just for FRD. For example, I modified my local formsweb.cfg and added the following section so I can run FRD on specific forms from my workstation.
    [my_frd]
    otherparams=record=collect log=my_frd.txt
    This setting is dependent on the FORMS_TRACE_DIR= variable in the default.env.
    With this added to the formsweb.cfg, you can enable FRD by adding "config=my_frd" to the url instead of explictly passing record= and log= to the URL.
    The log file produced by the FRD is quite large but, if you end your application after you receive the error, you could go to the end of the log file and work your way back until you find the error.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Oracle Forms 11gR2 - Cannot deploy locally from within Forms

    I cannot deploy locally from within forms.  The server is up and running and I can deploy the form by putting the correct URL in the address line of the browser window.  When I try to deploy from within forms it comes up with some crazy URL that differs everytime.
    This is what the URL should be and this works from the browser:
    http://machinename:7002/forms/frmservlet?form=WRD608ADMIN_11g.fmx&userid=&otherparams=useSDI=yes
    Here is one of the URLs it came up with when I try to run it from within Forms:
    http://localhost:60231/lysVL2VjqT33znjfvLwanktVRxTIc6dEwVeRNXXRmhYU2qjf
    Localhost is always there, but the rest varies.
    In Forms, I have the Preferences, Runtime set to:
    http://machinename:7002/forms/frmservlet
    Where machine name is my PC, it is the same for this address as the URL above that works directly from the browser.
    So what am I missing?
    Thank you in advance.

    Generally speaking, it is discouraged to manually edit any of the configuration files if they are managed by WLS Console or EM.  In this case, default.env is managed by EM.  Therefore, changes to the file should be done through EM.  If however, you want to alter the file manually, the following is likely the best way to accomplish this:
    1.  Stop the WLS Admin Server and Node Manager
    2.  Locate the proper file you wish to edit.  By proper I mean, there are several copies of most config files.  Most of the config files found in the Oracle Home are actually template files and are not used at runtime.  Altering these will not give you the change you want.  The default.env you want would be here (assuming Windows)
    C:\Oracle\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config
    If you are using a "Development" installation type, the above path will reflect AdminServer instead of WLS_FORMS.  Remember that Development installations are not for multi-user purposes.  Production deployments require the "Deployment" installation type, which can also include the Builders.
    Do NOT make any changes yet.
    3.  Once you find the correct file, create a backup copy.  Then open the file for edit (not the backup).
    4.  Make the desired changes and save.
    5.  Restart Node Manager and Admin Server if you plan to use them.
    For more information about using EM to manage your configuration, refer to the product documentation:
    http://docs.oracle.com/cd/E38115_01/doc.111210/e24477/configure.htm#CHDCCGHI

  • Installing Oracle 10g Forms and Reports in Cluster Mode

    Dear All,
    My OS version is RHEL 4
    In our current setup we have oracle 10g database two node  cluster and Application Server 10g to node cluster.
    Currently our report server has been configured to run in standalone mode
    I have been asked to configure oracle 10g forms and report server in cluster mode.
    Please provide me with the documentation link to configure oracle 10g reports server in cluster mode.
    Thanks and Regards
    Monoj Das

    my main goal is load balancing only
    Then what I've done in 2007 might be what you need. In that thread there is a link to Web Cache Administrator's Guide : there you'll find everything you need to configure the web cache as a load balancer, particularly chapter 8 Setup and Configuration.
    Anyway, here briefly some configurations : we have two machines, say MachineA and MachineB. The DNS resolves MachineA to a virtual address, which is normally assigned to MachineA; if MachineA crashes, it gets assigned to MachineB.
    Users URL looks like this : http://MachineA:<port>/forms/frmservlet?config=<some config>
    MachineA's web cache distributes connection requests between MachineA and MachineB.
    Of course we're now using 11g as well, but that's another thing.

  • Error in applying gif icon on a button in 10g forms

    Dear users...I wanna apply a gif image on a push button named "Pb_Ext" in my form but I'm being failed in this simple task :( For this purpose I've taken the following steps.
    1: I made Iconic property to "Yes" and in icon filename property I gave the gif file name, in my case that is "bdone", which I got from 10g forms directory. (Is it necessary to write file extension with file name? Although I've tried both ways.)
    2: I set up icons path value in registry.dat file as: default.icons.iconpath=H:\10g_Tst\03\03
    default.icons.iconextension=gif
    3: In formsweb.cfg file registry.dat file is defined as:
    serverApp=default
    So is there anything else remaining to be set up? Can u guess that where is the fault?

    One of this may help
    Re: icons not displaying in oracle forms.
    Re: Icon deploy issue in 10g forms
    Re: cannot show icon images
    Re: Step by step creation of iconic buttons

  • How to compile a form built in forms 10g on windows platform?

    Hi All,
    I have built a 10g form on my local desktop on windows 7 and compiled/deployed it in apps on linux server.
    I need to deploy the same form fmb on oracle apps hosted on windows platform. Please let me know if fmb works fine or not. And also provide how to compile form in windows platform..like frmcmp_batch command
    Thanks,
    Veena

    The fmb, mmb, and pll files are portable to any platform where Forms can be installed. Every installation that supports running Forms comes with the necessary components to generate the executible files (fmx, mmx, plx). On your Windows machine, if you have the Builder installed, you can generate an FMX using the Builder. If not, you can directly use the compiler. The compiler has a gui option and a command line option. If you do not pass any arguments into the executible (frmcmp.exe) the GUI will start. Alternatively you can generate from the command line (DOS). You may need to set PATH, ORACLE_HOME, TNS_ADMIN, and possibily some others in the DOS shell in order for it to work.
    If you have access to MyOracleSupport, refer to the following note:
    <blockquote>Moving Forms Applications From One Platform Or Machine To Another (Doc ID 299938.1)</blockquote>
    Example:
    <blockquote>frmcmp.exe module=myForm module_type=form userid=scott/tiger@orcl compile_all=yes</blockquote>
    More options are discussed in the Builder Online help and the compiler help.

  • Deploy 10g forms and reports in Oracle 11g

    Hi, I'm working in 10g forms and reports development. However, in my company want to migrate to Oracle 11g.
    My doubt is: May I deploy 10g forms and reports in Oracle 11g installation (Weblogis server + Oracle Fusion Middleware)?
    Thanks.

    I downloaded developer suite.does this developer suite includes 10g database also.becoz there are two disks for the developer suite whereas there was only one disk for oracle 10g datbase that i downloaded earlier and installed.if this developer suite includes database,reports and forms then do i need to uninstall the previous data base 10g that i installed.please help me regarding this.
    thanking you all

Maybe you are looking for

  • I need To change the order status

    Hi Guru's, My application Version:11.5.9base My database Version:8.1.7.4 In Order Management Super User--->Order organiser one Of my order Line Item showing status fulfilled. But status Is already Closed. Can you tell how to change the Status to Clos

  • How can i pay my remaining itunes balance if its not accepting my new card details

    I recently changed my card but because theres a remaining balance its not accepting my new card but how do i clear this balance if not accepting new card

  • Solaris 10 or 8 Auditing

    Hello, Does ANYBODY know where Sun has hidden the JNI .jar files so that I can make calls to the auditing system from Java?? -tx

  • Hierarical Query Performance

    Hi Folks, I need a quick help from you. I have a hierarical query that is used in the front-end application. WITH EMP ([EMP_ID],[NAME],  [MANAGER_NAME]  ,[MANAGER_ID], [CHGS]) AS  (   SELECT [EMP_ID],[NAME],[MANAGER_NAME]  ,[MANAGER_ID], [CHGS]  FROM

  • HP PhotoSmart C310, won't use photo paper

    My printer just stopped using the photo paper. It will print photos on regular printer paper, though. I've made sure the photo paper is loaded correctly & chosen the correct type of paper. If I remove the regular printer paper, it won't print at all.