Deployment vs Application builder

Hi there, I just need a little help getting something straight in my head.
I've been developing a test-sequence-program on my PC here, which will sooner or later be put into the factory. We don't really want a labview licence sitting out in the factory, so I'm looking at my options regarding building standalone executables. I'd be very appreciative for any help with the following questions:
a) Deployment vs Application Building - what is the difference? I have the Labview 8.2 Full Version, and would prefer to avoid buying a separate application builder if the Full Version does the trick already.
b) Say I have some controls on the front panel (eg. "maximum voltage allowed"), which I want to set on startup - I don't want the people using the tester to be able to change this afterwards though.. is it possible to add command line switches?
eg. myprogram.exe -maxvoltage 20
Thanks in advance.

If you want to run your application on a computer that does not have LabVIEW installed, you need to create a standalone application using the application builder. The application builder is not included in LabVIEW full (only professional and higher), so you would need to purchase this seperately.
Yes, it is possible to add commandline switches. In the application builder, you should specify to pass all parameters to the application. In your code you can read the commandline parameters and do whatever you want with that information.
From the online help:
Pass all command line arguments to application—Passes all arguments as user-defined arguments to the application when you launch it from the command line. If you remove the checkmark from this checkbox, only the arguments after two hyphens (--) in the command line pass to the application as user-defined arguments. Use the Application:Command Line Arguments property to read the user-defined command-line arguments passed when the application launches.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Building and Deploying Java applications in different platform (OS)

    Hi all,
    We currently have a J2EE based web services application that is built (compiled) and deployed on Windows 2000 Advanced server. But in future, we will be using WIndows 2000 server for development only and HP-UX for production.
    So, we are planning on executing the build (compilation) of our application on Windows 2000 server and deploy the same binaries (WAR) on HP-UX also. So, I wanted to know anyone has faced issues in the past by deploying an application on a different platform than the one on which it was compiled. Is it recommended by SUN to compile and build Java applications on the same platform on which the application is deployed.
    Note that in my case, the JVM versions between Windows server and HP-UX would be the same. But the JVM for Windows server has been provided by Sun and the JVM for HP-UX has been provided by HP-UX.
    Your inputs are greatly appreciated.

    Well, it's all Java, right? So what's the problem? Since the JVM for HP-UX isn't made by Sun, so there could be compatibility problems, but I would expect that would be minimal if a problem at all. But you can't know unless you run it.
    I don't know about building on the different systems. Java's supposed to be write once, run anywhere.... The byte code should be compatible no matter what. I've never heard of Sun saying "compile it on each platform". If the HP JVM isn't going to like bytecode compiled on Windows or another OS, then something isn't kosher with someone's JVM or compiler.

  • How to Build and Deploy Flex application in EP6

    Hi All,
    Can anyone tell how to build and deploy Flex application in EP6.
    I want to build a normal application in flex and present it through iviews. How do I configure my Iiview to have flex component running in Portal Environment.
    Thanks
    Deepak

    A good book to start with is Enterprise JavaBeans by Monson-Haefel (O'Reilly press). It covers deployment of EJBs on J2EE servers. Also check out sites specific to your server, sometimes they have specific requirements (like Weblogic).

  • How to deploy the application via Build.xml

    Hi,
    this is my first time using this cloud service. I have an open source application to be deploy in the cloud. This application come with ANT script (build.xml) and table scripts.
    Would like to know how do I configure the eclipse or write the build script to deploy the application into the java service. In addition, how do I configure the java service (app server) to talk to the database?
    many thanks
    I look forward to your advices and guidance.

    Hello ,
    You can get this information from Java Cloud Service learning center.
    Java Cloud Service provides  a SDK (Download) which includes ANT tasks library (As well as Maven Plugin) which can be used to extend the Ant build file to deploy the application to the cloud.
    In case of App server talking to the Database , that part is already taken care of in the Oracle Java Cloud Service and associated Oracle Database Cloud Service.

  • Is LabVIEW application builder needed for TS deployment?

    Does the LabVIEW application builder need to be installed for TS deployment of a project containing LabVIEW VI's?

    LabVIEW Application Builder is only necessary if you are deploying LabVIEW files, even then you can use the flag "Include without Processing Item or Dependencies" in all your LabVIEW files to create an image and optionally an installer without requiring LabVIEW (or app builder) at all; however, using this flag is not recommended becuase if you use it you would have to include all the files and their dependencies in your deployment manually (either by including the root directory of your test system or by adding all the files to your workspace) and you would have to make sure that they are not broken and can be called from the run-time engines you are including in your installer. 

  • Error while deploying ADF application to a standalone weblogic server

    I am using Jdeveloper 11.1.1.6.0, and I am trying to deploy my application to a standalone server running on a Unix box and I get the following error message:
    [04:12:44 PM] ---- Deployment started. ----
    [04:12:44 PM] Target platform is (Weblogic 10.3).
    [04:13:00 PM] Retrieving existing application information
    [04:13:01 PM] Running dependency analysis...
    [04:13:01 PM] Building...
    [04:13:05 PM] Deploying profile...
    [04:13:09 PM] Wrote Web Application Module to C:\JDeveloper\PortingAppln\ViewController\deploy\ADF1.war
    [04:13:13 PM] Deploying Application...
    [04:20:19 PM] [Deployer:149191]Operation 'deploy' on application 'ADF1' is initializing on 'ADF1'
    [04:20:45 PM] Weblogic Server Exception: weblogic.application.WrappedDeploymentException: oracle/jrf/PortabilityLayerException
    [04:20:45 PM] See server logs or server console for more details.
    [04:20:45 PM] weblogic.application.WrappedDeploymentException: oracle/jrf/PortabilityLayerException
    [04:20:46 PM] #### Deployment incomplete. ####
    [04:20:46 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    Can someone help me with this problem.
    Thanks,
    Srini.

    Well, how did you do?
    I am having a similar problem.
    1) Installed WLS 10.3.5 on a Linux machine
    2) Installed ADF runtime libraries (ofm_appdev_generic_11.1.1.5.0_disk1_1of1.zip)
    3) I can see at deployments
    - adf.oracle.businesseditor(1.0,11.1.1.2.0)
    - adf.oracle.domain(1.0,11.1.1.2.0)
    - adf.oracle.domain.webapp(1.0,11.1.1.2.0)
    - DMS Application (11.1.1.1.0)
    - em
    - emai
    - emas
    - emcore
    - FMW Welcome Page Application (11.1.0.0.0)
    - jsf(1.2,1.2.9.0)
    I created from scratch a new Fusion Web app. It just has 1 ADF read-only table based on the HR.COUNTRIES table. It runs perfectly on the integrated WL.
    I cannot deploy it to my standalone WLS. The error:
    [02:01:37 PM] Unable to determine the target platform from the Profile. Using default
    [02:01:37 PM] ---- Deployment started. ----
    [02:01:37 PM] Target platform is (Weblogic 10.3).
    [02:01:37 PM] Retrieving existing application information
    [02:01:37 PM] Running dependency analysis...
    [02:01:37 PM] Building...
    [02:01:37 PM] Deploying 2 profiles...
    [02:01:37 PM] Wrote Web Application Module to C:\JDeveloper\mywork\TesteAPP\ViewController\deploy\TesteAPP_ViewController_webapp.war
    [02:01:37 PM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\TesteAPP\deploy\TesteAPP_Project1_TesteAPP.ear
    [02:01:37 PM] Deploying Application...
    [02:01:39 PM] [Deployer:149191]Operation 'deploy' on application 'TesteAPP_Project1_TesteAPP' is initializing on 'ADFServer'
    [02:01:39 PM] [Deployer:149193]Operation 'deploy' on application 'TesteAPP_Project1_TesteAPP' has failed on 'ADFServer'
    [02:01:39 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application TesteAPP_Project1_TesteAPP on ADFServer.: Failed to load webapp: 'testeADF'.
    [02:01:39 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'testeADF'
    [02:01:39 PM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@1021039597[app:TesteAPP_Project1_TesteAPP module:testeADF path:/testeADF spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
    [02:01:39 PM] See server logs or server console for more details.
    [02:01:39 PM] weblogic.application.ModuleException: Failed to load webapp: 'testeADF'
    [02:01:39 PM] Deployment cancelled.
    [02:01:39 PM] ---- Deployment incomplete ----.
    [02:01:39 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    I am using JDeveloper 11.1.2.1.0
    What am I missing here? It must be something obvious, but I am stuck.
    Thanks in advance.

  • Error while deploying ADF application to a standalone weblogic

    jdeveloper version: 11.1.2.2
    Issue: I have built a standalone weblogic server (10.3.5.0) and am trying to deploy my ADF application to it. The deployment fails with the following message. The stand alone server I have built is on the same machine where jdeveloper is installed and I am using same weblogic that came with jdeveloper install. The aplication runs fine on integrated server. I have researched this issue and have got more or less same answer of installing ADF run time libraries. Can someone please help me with exactly what I need to install and how?
    Thanks,
    Saurabh.
    [09:49:44 AM] Unable to determine the target platform from the Profile. Using default
    [09:49:44 AM] ---- Deployment started. ----
    [09:49:44 AM] Target platform is (Weblogic 10.3).
    [09:49:55 AM] Retrieving existing application information
    [09:49:55 AM] Running dependency analysis...
    [09:49:55 AM] Building...
    [09:50:18 AM] Deploying profile...
    [09:50:20 AM] Wrote Web Application Module to C:\JDeveloper\mywork\EmployeeTrack\ViewController\deploy\EmployeeTrack_ViewController_webapp.war
    [09:50:20 AM] Deploying Application...
    [09:50:24 AM] [Deployer:149191]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' is initializing on 'ADFServer'
    [09:50:26 AM] [Deployer:149193]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' has failed on 'ADFServer'
    [09:50:26 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application EmployeeTrack_ViewController_webapp on ADFServer.: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'.
    [09:50:26 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
    [09:50:26 AM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@29261813[app:EmployeeTrack_ViewController_webapp module:EmployeeTrack_ViewController_webapp.war path:/alonedemo spec-version:2.5]", defined in weblogic.xml [Extension-Name: adf.oracle.domain.webapp, exact-match: false], [Extension-Name: jstl, Specification-Version: 1.2, exact-match: false], [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
    [09:50:26 AM] See server logs or server console for more details.
    [09:50:26 AM] weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
    [09:50:26 AM] Deployment cancelled.
    [09:50:26 AM] ---- Deployment incomplete ----.
    [09:50:26 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    Thanks Timo.. You were right.. Those setting helped me fix the initial issue.. Now I have another issue and was wondering if you have seen this as well?
    [11:35:13 AM] Unable to determine the target platform from the Profile. Using default
    [11:35:13 AM] ---- Deployment started. ----
    [11:35:13 AM] Target platform is (Weblogic 10.3).
    [11:35:13 AM] Retrieving existing application information
    [11:35:13 AM] Running dependency analysis...
    [11:35:13 AM] Building...
    [11:35:20 AM] Deploying profile...
    [11:35:21 AM] Wrote Web Application Module to C:\JDeveloper\mywork\EmployeeTrack\ViewController\deploy\EmployeeTrack_ViewController_webapp.war
    [11:35:21 AM] Deploying Application...
    [11:35:23 AM] [Deployer:149191]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' is initializing on 'ADFServer'
    [11:35:25 AM] [Deployer:149193]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' has failed on 'ADFServer'
    [11:35:25 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application EmployeeTrack_ViewController_webapp on ADFServer.: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'.
    [11:35:25 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
    [11:35:25 AM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
    [11:35:25 AM] See server logs or server console for more details.
    [11:35:25 AM] weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
    [11:35:25 AM] Deployment cancelled.
    [11:35:25 AM] ---- Deployment incomplete ----.
    [11:35:25 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

  • Problem with Application build in JDeveloper 11.1.5 to WLS 10.3.5

    Hi to everyone, I have a problem with a application build in JDeveloper 11.1.5 and deployed to a standalone WLS 10.3.5 ( with the JRF template appliied , to run adf applications )
    When I try access to the page : localhost:7001/myApp , it show me :
    "Error 403 Fordbbiben ".
    but when I put :
    localhost:7001/myApp/index.jspx, it show me :
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    and the log is :
    <May 8, 2012 9:06:22 PM BOT> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <BEA-000000> <
    java.lang.IllegalStateException: The expression "#{bindings.genRegion.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "genRegion_dlg") evaluated to null.
    This is typically due to an error in the configuration of the objects referenced by this expression.
    If it helps, the expression "#{bindings.genRegion}" evaluates to "null".
    If it helps, the expression "#{bindings}" evaluates to "null". Now using an empty RegionModel instead.
    at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:450)
    at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:682)
    at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
    at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
    What can I do to fix the problem ??
    Thanks

    Analyzing the problem, I created a new ADF application with only a web page (index.jspx) , and deploy it to the WLS, and I access to URL of page and it runs !! ( http:localhost:7001/myApp/faces/index.jspx ).
    But, when I ADD A TASK FLOW to the application and deploy to the WLS newly , and try to access to the URL application's ( http:localhost:7001/myApp/faces/index.jspx ) . It show me again :
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    and the log is :
    <May 10, 2012 19:02:57 PM BOT> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <BEA-000000> <
    java.lang.IllegalStateException: The expression "#{bindings.genRegion.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "genRegion_dlg") evaluated to null.
    This is typically due to an error in the configuration of the objects referenced by this expression.
    If it helps, the expression "#{bindings.genRegion}" evaluates to "null".
    If it helps, the expression "#{bindings}" evaluates to "null". Now using an empty RegionModel instead.
    at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:450)
    at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:682)
    at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
    at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
    Why it show me that error when I ADD a Task Flow to the Application ???
    Can Anyone help me please ?? I m varios days with this problem. Thanks

  • Getting Error while deploying StoreFrontModule application

    I am getting this error:--
    [12:28:43 PM] ---- Deployment started. ----
    [12:28:43 PM] Target platform is (Weblogic 10.3).
    [12:28:43 PM] Retrieving existing application information
    [12:28:45 PM] Running dependency analysis...
    [12:28:45 PM] Building...
    [12:28:48 PM] Deploying 3 profiles...
    [12:28:48 PM] Wrote MAR file to C:\FusionOrderDemo_R1PS2\StoreFrontModule\deploy\AutoGeneratedMar.mar
    [12:28:49 PM] Wrote Web Application Module to C:\FusionOrderDemo_R1PS2\StoreFrontModule\StorefrontUI\deploy\StoreFrontWebApp.war
    [12:28:49 PM] Warning: Some of the customization documents under '/templates' are packaged as part of WAR. This metadata cannot be accessed from WAR using MDS.
    [12:28:50 PM] Uploading jazn-data users.
    [12:28:50 PM] Uploading jazn-data roles.
    [12:28:50 PM] Wrote Enterprise Application Module to C:\FusionOrderDemo_R1PS2\StoreFrontModule\deploy\StoreFrontModule.ear
    [12:28:51 PM] Entering Oracle Deployment Plan Editor
    [12:28:53 PM] Deploying Application...
    [12:28:54 PM] [Deployer:149191]Operation 'deploy' on application 'StoreFrontModule [Version=V2.0]' is initializing on 'soa_server1'
    [12:28:54 PM] [Deployer:149191]Operation 'deploy' on application 'StoreFrontModule [Version=V2.0]' is initializing on 'soa_server1'
    [12:28:54 PM] [Deployer:149191]Operation 'deploy' on application 'StoreFrontModule [Version=V2.0]' is initializing on 'soa_server1'
    [12:28:57 PM] [Deployer:149193]Operation 'deploy' on application 'StoreFrontModule [Version=V2.0]' has failed on 'bam_server1'
    [12:28:57 PM] [Deployer:149193]Operation 'deploy' on application 'StoreFrontModule [Version=V2.0]' has failed on 'bam_server1'
    [12:28:57 PM] [Deployer:149193]Operation 'deploy' on application 'StoreFrontModule [Version=V2.0]' has failed on 'bam_server1'
    [12:28:57 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application StoreFrontModule [Version=V2.0] on bam_server1,BAMJMSServer,AdminServer,SOAJMSServer,soa_server1,UMSJMSServer_auto_2,UMSJMSServer_auto_1.: [Deployer:149145]Unable to contact 'bam_server1'. Deployment is deferred until 'bam_server1' becomes available.; nested exception is:
         java.rmi.UnknownHostException: Could not discover administration URL for server 'bam_server1'.
    [12:28:57 PM] [Deployer:149193]Operation 'deploy' on application 'StoreFrontModule [Version=V2.0]' has failed on 'AdminServer'
    [12:28:57 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application StoreFrontModule [Version=V2.0] on bam_server1,BAMJMSServer,AdminServer,SOAJMSServer,soa_server1,UMSJMSServer_auto_2,UMSJMSServer_auto_1.: .
    [12:28:57 PM] [Deployer:149193]Operation 'deploy' on application 'StoreFrontModule [Version=V2.0]' has failed on 'soa_server1'
    [12:28:57 PM] [Deployer:149193]Operation 'deploy' on application 'StoreFrontModule [Version=V2.0]' has failed on 'soa_server1'
    [12:28:57 PM] [Deployer:149193]Operation 'deploy' on application 'StoreFrontModule [Version=V2.0]' has failed on 'soa_server1'
    [12:28:57 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application StoreFrontModule [Version=V2.0] on bam_server1,BAMJMSServer,AdminServer,SOAJMSServer,soa_server1,UMSJMSServer_auto_2,UMSJMSServer_auto_1.: .
    [12:28:57 PM] Weblogic Server Exception: weblogic.application.ModuleException:
    [12:28:57 PM] Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    [12:28:57 PM] See server logs or server console for more details.
    [12:28:57 PM] weblogic.application.ModuleException:
    [12:28:57 PM] #### Deployment incomplete. ####
    [12:28:57 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    Please help gurus

    Have you checked whether all servers are up and running? You may check this on weblogic admin console.
    Make sure that your DB is up and running.
    Regards,
    Anuj

  • Deploying an Application to a APEX 3.1.1 Runtime Environment

    Hello Everyone,
    I'm trying to work out how to deploy an application from a development to runtime environment but am facing a few issues / uncertainty and would appreciate any input/help on this. To begin with here is my environment:
    - Apex 3.1.1
    - Two Oracle 9i (9.2.0.8) instances running on different hosts (development environment on host AA and runtime environment on host BB)
    - Using the Oracle 9i HTTP Server with mod_plsql (on both hosts)
    - DEVLWS workspace +(on development env)+
    - DEVSCHEMA schema +(on development env)+
    - USER01 - non-developer & non-admin user +(on development env)+
    - DEV01 - developer and admin user +(on development env)+
    I'm performing this test deployment with the downloaded application Timesheets from apex.oracle.com with the application ID of 111 (when imported into my development environment).
    Situation:_
    I have no issues on the development environment. I can import the Timesheet app into it and run it using either the USER01 or DEV01 ID as it was imported into the DEVSCHEMA schema. However, when I try to deploy over to my runtime environment, here is where things gets sketchy on this.
    1) In order to get this application (Timesheets) to run properly on my runtime environment, I've to perform a Oracle9i EXP of my DEVSCHEMA objects and import this into my runtime environment using the IMP utility to get the proper workspace and associated objects over,
    --> I tried exporting the workspace on the development env but even after running it on the runtime env, I was not able to get the application to run (missing workspace schema, users etc).
    2) From my development environment, I export the Timesheet app with supporting objects option and on the runtime environment, I use SQL*Plus as such:
    SQL> alter session set current_schema=FLOWS_030100;
    SQL> @f111.sql
    Once the script completes, I use the http://hostBB:7776/pls/apex/f?p=111.1 url and was able to get in to the application, however I found things like the images are missing and I've to manually export these again from the development env and run the generated SQL script file on my runtime env.
    Is there a better (and documented step by step) way of doing this kind of deployment? The Apex User Guides talks about creating a packaged application but I didn't see this as a way to deploy specifically into a runtime environment as I followed it and still had missing images. When I did the export of the Timesheet application, I used the DEV01 id and made sure I selected the 'with supporting objects' option but yet I've to do most of the steps manually (i.e. build the schema, tablespace, application tables via exp/imp) and again the images were not included.
    Is there a document / note available that discusses this in better detail (deploy from Development env to Runtime env) so that I can do cut down the manual steps and making sure that my developers can effectively deploy our apps with minimal fuss and headaches? Appreciate any input.

    ...I've to perform a Oracle9i EXP of my DEVSCHEMA objects and import this into my runtime environment using the IMP utility to get the proper workspace and associated objects over,...
    EXP/IMP will not do workspaces. You can use the Application Express apex_admin application to export a workspace to a file. Then, in a runtime environment, you can install that workspace file using SQL*Plus. This way of
    creating the workspace also ensures that it will have the same workspace ID as it did in the original database, making possible the installation of exported applications from application export files from the original
    workspace into the new workspace having the same workspace ID and also where the installed applications are to have their original application IDs.
    ... and still had missing images. When I did the export of the Timesheet application, I used the DEV01 id and made sure I selected the 'with supporting objects' option but yet I've to do most of the steps manually (i.e. build the schema, tablespace, application tables via exp/imp) and again the images were not included.
    Images aren't part of application exports. Exporting the images to a file and then installing them using that file and SQL*Plus is the way to do it.
    As Patrick mentioned, running the application export file in SQL*Plus doesn't run the supporting objects script. It creates the script in the datbase. But in a runtime environment you can't run the script because the runtime environment lacks the Application Builder.
    SQL> alter session set current_schema=FLOWS_030100;
    SQL> @f111.sql
    You can install applications by connecting as a less privileged schema. Any schema assigned to the workspace into which the application is to be installed will do. To install workspace export files (or applications), you can also use a schema that has been granted the role APEX_ADMINISTRATOR_ROLE.
    Scott

  • Error while previewing deployed webdynpro application.

    Hi,
    I am a newcomer to the EP environment. After installing the server and configuring NWDS, I created a simple webdynpro application. I was able to successfully deploy it to the portal but when I try to preview it I got the following error. Please shed some light on this. I am working on EP 6.0.
    An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    Hide details
    Web Dynpro client:
    HTML Client
    Web Dynpro client capabilities:
    User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
    Web Dynpro runtime:
    Vendor: SAP, Build ID: 6.4009.00.0000.20041104173322.0000 (release=630_REL, buildtime=2004-11-18:22:17:10[UTC], changelist=298578, host=PWDFM027)
    Web Dynpro code generators of DC local/Test_WD:
    SapDictionaryGenerationCore: 6.4019.00.0000.20061005103449.0000 (release=630_VAL_REL, buildtime=2006-10-26:20:17:59[UTC], changelist=419709, host=PWDFM026.wdf.sap.corp)
    SapMetamodelWebDynpro: 6.4019.00.0000.20061005104005.0000 (release=630_VAL_REL, buildtime=2006-10-26:20:23:05[UTC], changelist=419717, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCore: 6.4019.00.0000.20061005103956.0000 (release=630_VAL_REL, buildtime=2006-10-26:20:11:19[UTC], changelist=419716, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 6.4019.00.0000.20061005104024.0000 (release=630_VAL_REL, buildtime=2006-10-26:20:50:52[UTC], changelist=419718, host=PWDFM026)
    SapWebDynproGenerationCTemplates: 6.4019.00.0000.20061005104024.0000 (release=630_VAL_REL, buildtime=2006-10-26:20:50:52[UTC], changelist=419718, host=PWDFM026)
    SapGenerationFrameworkCore: 6.4019.00.0000.20050818152155.0000 (release=630_VAL_REL, buildtime=2006-10-26:20:10:28[UTC], changelist=363812, host=PWDFM026.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 6.4019.00.0000.20061005104123.0000 (release=630_VAL_REL, buildtime=2006-10-26:20:27:18[UTC], changelist=419723, host=PWDFM026.wdf.sap.corp)
    SapMetamodelDictionary: 6.4019.00.0000.20060119123716.0000 (release=630_VAL_REL, buildtime=2006-10-26:20:15:01[UTC], changelist=385561, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCommon: 6.4019.00.0000.20061005103956.0000 (release=630_VAL_REL, buildtime=2006-10-26:20:11:28[UTC], changelist=419716, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationCore: 6.4019.00.0000.20061005104123.0000 (release=630_VAL_REL, buildtime=2006-10-26:20:27:47[UTC], changelist=419723, host=PWDFM026.wdf.sap.corp)
    SapDictionaryGenerationTemplates: (unknown)
    Web Dynpro code generators of DC sap.com/tcwddispwda:
    No information available
    Web Dynpro code generators of DC sap.com/tcwdcorecomp:
    No information available
    J2EE Engine:
    No information available
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_05-b04, vendor: Sun Microsystems Inc.
    Operating system:
    Windows 2000, version: 5.0, architecture: x86
    Error stacktrace:
    java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/progmodel/api/IWDEventHandlerId
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
         at java.lang.Class.getConstructors(Class.java:865)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:68)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingInterfaceView.<init>(DelegatingInterfaceView.java:44)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:131)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:374)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

    Hi,
    In NWDS, have you depoyed this application? while deploying does it throw any error??or successfully getting deployed? for deploying the application please choose deploy and Run option.This will deploy as well as run your application.
    Regards,
    Ameya
    Message was edited by:
            Ameya Pimpalgaonkar

  • Error Deploying ADF application to ADF Server

    Hi Team,
    Iam unable to deploy the ADF application to server.
    The following is the log :
    *[08:25:11 PM] ---- Deployment started. ----*
    *[08:25:11 PM] Target platform is (Weblogic 10.3).*
    *[08:25:11 PM] Retrieving existing application information*
    *[08:25:11 PM] Running dependency analysis...*
    *[08:25:11 PM] Building...*
    *[08:25:15 PM] Deploying profile...*
    *[08:25:15 PM] Wrote Web Application Module to D:\sridhar\SampleADF\ADFWorld\ViewController\deploy\ADFWorld_ViewController_webapp1.war*
    *[08:25:15 PM] Deploying Application...*
    *[08:25:16 PM] [Deployer:149191]Operation 'deploy' on application 'ADFWorld_ViewController_webapp1' is initializing on 'ADFServer'*
    *[08:25:17 PM] [Deployer:149193]Operation 'deploy' on application 'ADFWorld_ViewController_webapp1' has failed on 'ADFServer'*
    *[08:25:17 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application ADFWorld_ViewController_webapp1 on ADFServer.: Failed to load webapp: 'ADFWorld_ViewController_webapp1.war'.*
    *[08:25:17 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'ADFWorld_ViewController_webapp1.war'*
    *[08:25:17 PM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@6261447[app:ADFWorld_ViewController_webapp1 module:ADFWorld_ViewController_webapp1.war path:/ADFWorld spec-version:2.5]", defined in weblogic.xml [Extension-Name: adf.oracle.domain.webapp, exact-match: false], [Extension-Name: jstl, Specification-Version: 1.2, exact-match: false], [Extension-Name: jsf, Specification-Version: 1.2, exact-match: false]*
    *[08:25:17 PM] See server logs or server console for more details.*
    *[08:25:17 PM] weblogic.application.ModuleException: Failed to load webapp: 'ADFWorld_ViewController_webapp1.war'*
    *[08:25:17 PM] #### Deployment incomplete. ####*
    *[08:25:17 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)*
    Please suggest me what is the error.
    Regards
    Sridhar Yerram

    Hi Sridhar,
    Try to get more details from your Server related to Deployer:149026.
    This indicates failure of app due some issues on your services.
    paste the error stack to get the clue of issue.
    Regards,
    Kal

  • Error deploying adf application to weblogic

    hi am deploying my adf application using weblogic but am geting this error
    weblogic 10.3.5
    jeveloper is 11.1.6.0
    [12:14:21 PM] ----  Deployment started.  ----
    [12:14:21 PM] Target platform is  (Weblogic 10.3).
    [12:14:22 PM] Retrieving existing application information
    [12:14:22 PM] Running dependency analysis...
    [12:14:22 PM] Building...
    [12:14:32 PM] Deploying profile...
    [12:14:33 PM] Wrote Web Application Module to C:\JDeveloper\mywork\Align\ViewController\deploy\Align_ViewController_webapp.war
    [12:14:33 PM] Deploying Application...
    [12:14:35 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Align_ViewController_webapp on AdminServer.: [Deployer:149145]Unable to contact 'madimad-b533821'. Deployment is deferred until 'madimad-b533821' becomes available.; nested exception is:
        java.rmi.UnknownHostException: Could not discover administration URL for server 'madimad-b533821'.
    [12:14:35 PM] [Deployer:149193]Operation 'deploy' on application 'Align_ViewController_webapp' has failed on 'AdminServer'
    [12:14:35 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Align_ViewController_webapp on AdminServer.: Failed to load webapp: 'Align_ViewController_webapp.war'.
    [12:14:35 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'Align_ViewController_webapp.war'
    [12:14:35 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
    [12:14:35 PM]   See server logs or server console for more details.
    [12:14:35 PM] weblogic.application.ModuleException: Failed to load webapp: 'Align_ViewController_webapp.war'
    [12:14:35 PM] Deployment cancelled.
    [12:14:35 PM] ----  Deployment incomplete  ----.
    [12:14:35 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    Hi,
    ADF applications that use business components need the weblogic-application.xml deployment
    descriptor to be present to be able to work on a WLS.
    http://docs.oracle.com/cd/E12839_01/web.1111/b31974/deployment_topics.htm#CHDCICJH
    35.4 Creating and Editing Deployment Descriptors
    mentions the need of :
    <library-ref>
      <library-name>adf.oracle.domain</library-name>
    </library-ref>
    in the weblogic-application.xml
    ==> please execute the following steps:
    1. Wrap the WAR file in an EAR file configured to be deployed to a WebLogic server as follows, so that  JDeveloper includes the needed deployment descriptor file:
    2.Right-click the project containing the web contents (usually ViewController), and select New -> Deployment Profile. Then select EAR Deployment Profile.
    3. Enter the name for the application, and then in the EAR profile properties dialog, in the Application Assembly, include the ViewController project, and in the Platform node, make sure Default Platform is set to WebLogic 10.3. Click OK.
    4. In the next dialog box (Project properties), open the node ADF Model, and make sure the checkbox "Contains Data Controls" is checked, and click OK
    5. Now to deploy, right click the ViewController project and select Deploy, then the name of the recently created application deployment profile, and then "to EAR file". This will result in a .ear file, deployable from the WLS administration page.
    Thanks,
    Sharmela

  • Problem while deploying ADF application to standalone WLS server

    Hi,
    I am facing a problem while deploying ADF application to standalone WLS Server.
    Following is the error message that I am getting.
    [07:24:03 PM] ----  Deployment started.  ----
    [07:24:03 PM] Target platform is  (Weblogic 10.3).
    [07:24:07 PM] Retrieving existing application information
    [07:24:08 PM] Running dependency analysis...
    [07:24:08 PM] Building...
    [07:24:13 PM] Deploying 2 profiles...
    [07:24:14 PM] Wrote Web Application Module to D:\WorkSpace3\DashboardUi\deploy\Dashboard.war
    [07:24:14 PM] Wrote Enterprise Application Module to D:\WorkSpace3\deploy\Dashboard.ear
    [07:24:14 PM] Deploying Application...
    [07:24:22 PM] [Deployer:149191]Operation 'deploy' on application 'Dashboard' is initializing on 'msDevServer1'
    [07:24:27 PM] [Deployer:149193]Operation 'deploy' on application 'Dashboard' has failed on 'msDevServer1'
    [07:24:27 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Dashboard on msDevServer1.: .
    [07:24:27 PM] Weblogic Server Exception: weblogic.application.ModuleException:
    [07:24:27 PM] Caused by: weblogic.common.ResourceException: DataSource DashboardDb already exists
    [07:24:27 PM]   See server logs or server console for more details.
    [07:24:27 PM] weblogic.application.ModuleException:
    [07:24:27 PM] ####  Deployment incomplete.  ####
    [07:24:27 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)Any suggestion how to fix this.
    Thanks
    Ajay

    I logged into console and browsed to 'Home >Summary of JDBC Data Sources' but not able to locate DashboardDb. Please let me know where to find DashboardDB on wls console.
    Also, please let me know how to configure the app to not to auto-deploy JDBC data sources

  • Error in deploying the application in WL9.2 mp1

    Hi,
    I am using WL 9.2.1 and my OS is Windows XP. My build is coming fine and when i start my server after adding the project to it. It shows the following errors while publishing. Can anybody help me. I am also not able to deploye the application from console.
    <This is an unexpected exception.
    weblogic.application.internal.DeploymentStateChecker$DeploymentAssertionError: Unexpected transition: current state for application GlobalPrimeConsumerEAR : STATE_NEW attempt to transition to STATE_ADMIN
    Dumping 3 callbacks
    ---------------------- BEGIN CALLBACK DUMP -------
    java.lang.Exception: prepare
         at weblogic.application.internal.DeploymentStateChecker.save(DeploymentStateChecker.java:141)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:146)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    java.lang.Exception: activate
         at weblogic.application.internal.DeploymentStateChecker.save(DeploymentStateChecker.java:141)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:153)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:131)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    java.lang.Exception: unprepare
         at weblogic.application.internal.DeploymentStateChecker.save(DeploymentStateChecker.java:141)
         at weblogic.application.internal.DeploymentStateChecker.unprepare(DeploymentStateChecker.java:194)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.unprepare(AppContainerInvoker.java:118)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.silentUnprepare(AbstractOperation.java:684)
         at weblogic.deploy.internal.targetserver.operations.RemoveOperation.removeDeployment(RemoveOperation.java:270)
         at weblogic.deploy.internal.targetserver.operations.RemoveOperation.doCommit(RemoveOperation.java:99)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    ---------------------- END CALLBACK DUMP -------

    the error message seems clear enough. The server expects an action element to have a validation child element. Your struts configuration file is breaking this rule, so an error is thrown. Perhaps you are using a different version of struts on either server? Because there seems to be a difference in the DTD being used to validate the XML configuration files.

Maybe you are looking for