JDev 12c ADF mobile deploy issue

I installed JDeveloper 12.1.2.0.0. In order to test the environment, I built a very simple ADF Mobile app, and deploy to the Android emulator (Android 4.4.2 (API 19)). The deployment always failed on "Creating Android preferences XML files...". Anyone knows?
[11:54:10 AM] Copying common javascript files...
[11:54:45 AM] Deploying skinning files...
[11:54:46 AM] Copying application image files...
[11:54:46 AM] Copying ADF Mobile configuration files...
[11:54:46 AM] Copying .adf files...
[11:54:46 AM] Copying security related files to the ADF Mobile Framework application...
[11:54:46 AM] Creating Android preferences XML files...
[11:54:47 AM] Shutting down Android Debug Bridge server...
[11:54:47 AM] Deployment cancelled.
[11:54:47 AM] ----  Deployment incomplete  ----.
[11:54:47 AM] <Line 14, Column 96>: XML-20000: (Error) Fatal Error
Thanks
Tony

I too got same error in Jdev 12c.
[05:16:46 PM] Deploying skinning files...
[05:16:46 PM] Copying application image files...
[05:16:46 PM] Copying ADF Mobile configuration files...
[05:16:46 PM] Copying .adf files...
[05:16:46 PM] Copying security related files to the ADF Mobile Framework application...
[05:16:46 PM] Creating Android preferences XML files...
[05:16:46 PM] Deployment cancelled.
[05:16:46 PM] ----  Deployment incomplete  ----.
[05:16:46 PM] <Line 14, Column 96>: XML-20000: (Error) Fatal Error
Any help would be highly appreciable.

Similar Messages

  • ADF Mobile Deployment issue

    Hello -
    I am so frustrated with the ADF Mobile deployment. I have already created couple of Android Apps using the native language and never faced problems like this. I am very familiar with ADF development as well.
    Anyways this is my problem.
    I downloaded the sample adf mobile app from the following tutorial, but I was unable to deploy it on the Android emulator in  Release mode. The debug mode takes for ever.
    Oracle JDeveloper 11g Release 2 Tutorials - Building Mobile Applications with Oracle ADF Mobile
    This is the error messages I am getting:
    [11:02:51 PM] ----  Deployment started.  ----
    [11:02:51 PM] Target platform is  (Android).
    [11:02:51 PM] Beginning deployment of ADF Mobile application "Employees" to Android using profile "Android3".
    [11:02:51 PM] Deployment cancelled.
    [11:02:51 PM] ----  Deployment incomplete  ----.
    [11:02:51 PM] The following Android preference configuration is missing or invalid. Set these options in JDeveloper Preferences on the ADF Mobile panel:
    Key Password
    (oracle.adfmf.framework.dt.deploy.android.deployers.ValidatePreferencesDeployer)
    I generated the keystore using keygen per the tutorial and it doesnt't help.
    This is how I validated the keystore.
    C:\Oracle\MiddlewareMob\jdk160_24\bin>keytool -list -keystore emp.keystore
    Enter keystore password:
    Keystore type: JKS
    Keystore provider: SUN
    Your keystore contains 1 entry
    empl, Nov 19, 2013, PrivateKeyEntry,
    Certificate fingerprint (MD5): 8A:27:53:64:B3:AF:01:CA:9C:2F:47:2A:50:16:E4:40
    C:\Oracle\MiddlewareMob\jdk160_24\bin>
    I tried recreating the keystore couple of times, but it didn;t help. I know the password entered is correct.
    Any suggestions will be appreciated. Also, I started learning JQuery Mobile in parallel.
    Thanks,
    -S

    Thanks for the reply Shay!
    Here are the settings:
    Android SDK location: C:\Android\sdk (This is where I extracted the Android SDK)
    Plat form Location : C:\Android\sdk\platforms\android-17
    Android Buid Tools Location: C:\Android\sdk\platform-tools
    Keystore location : C:\Oracle\MiddlewareMob\jdk160_24\bin\emp.keystore
    Key Alias : empl
    Directory of C:\Android\sdk\platforms\android-17
    11/19/2013  10:13 PM    <DIR>          .
    11/19/2013  10:13 PM    <DIR>          ..
    11/19/2013  10:13 PM        19,090,582 android.jar
    11/19/2013  10:13 PM             1,416 build.prop
    11/19/2013  10:13 PM    <DIR>          data
    11/19/2013  10:13 PM             2,362 framework.aidl
    11/19/2013  10:13 PM               209 sdk.properties
    11/19/2013  10:13 PM    <DIR>          skins
    11/19/2013  10:13 PM            16,802 source.properties
    11/19/2013  10:13 PM    <DIR>          templates
    11/19/2013  10:13 PM             8,800 uiautomator.jar
                   6 File(s)     19,120,171 bytes
                   5 Dir(s)  39,479,033,856 bytes free
    I tried this from a different machine and I am getting the same error there too.
    Pls advise.
    Thanks!

  • ADF Mobile: Deployment Error: MessageDigest SHA-1 implementation not found

    Hi,
    I was trying to create and deploy a test application as outlined in the online tutorial for ADF Mobile:Android
    http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html
    After I hit Deploy to emulator, it fails with the following exception:
    trouble writing output:
    [07:01:26 AM] java.lang.RuntimeException: java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found.
    I have successfully deployed applications developed from Eclipse with Android extension on the same emulator.
    I tried manual cmd line deployment of the generated apk file
    I got [INSTALL_PARSE_FAILED_NO_CERTIFICATES] error first.
    I then followed the instructions in the below post to create a keystore, sign the application and again deploy the application
    signing error with abt deployment with ADF Mobile and java 1.7
    I got the following error.
    C:\Program Files\Android\android-sdk\platform-tools>adb -e install -r C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3/testapp.apk
    100 KB/s (21928920 bytes in 212.281s)
    pkg: /data/local/tmp/testapp.apk
    Failure [INSTALL_FAILED_DEXOPT]
    Is it a BUG or am I missing something? Appreciate if someone can help me out.
    Specs. Win XP
    Android 4.1.2 (API 16)
    Jdev
    Studio Edition Version 11.1.2.3.0
    Build JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1
    ADF Mobile Framework     oracle.adf.mobile     11.1.2.3.39.62.94     Fully Loaded
    Deployment Log:
    [06:58:00 AM] Updating Android profile dependencies with FAR profiles created from application projects...
    [06:58:01 AM] ---- Deployment started. ----
    [06:58:01 AM] Target platform is (Android).
    [06:58:01 AM] Beginning deployment of ADF Mobile application "TestApp" to Android using profile "ANDROID_MOBILE_NATIVE_archive3".
    [06:58:03 AM] Checking state of Android Debug Bridge server...
    [06:58:04 AM] Android Debug Bridge server already running.
    [06:58:11 AM] Verifying a single Android emulator is online and connected to the ADB server...
    [06:58:11 AM] Beginning deployment of ADF Mobile application "TestApp" to Android using profile "ANDROID_MOBILE_NATIVE_archive3".
    [06:58:11 AM] Running dependency analysis...
    [06:58:11 AM] Building...
    [06:58:11 AM] Deploying 3 profiles...
    [06:58:18 AM] Wrote Archive Module to C:\Jwork\TestApp\ApplicationController\deploy\ApplicationController.jar
    [06:58:18 AM] WARNING: No Resource Catalog enabled ADF components found to package
    [06:58:18 AM] Wrote Archive Module to C:\Jwork\TestApp\ViewController\deploy\ViewController.jar
    [06:58:18 AM] Starting to prepare the packaging...
    [06:58:18 AM] Verifying Application Controller project exists...
    [06:58:18 AM] Verifying application dependencies...
    [06:58:18 AM] Validating application XML files...
    [06:58:18 AM] Validating XML files in project ApplicationController...
    [06:58:18 AM] Validating XML files in project ViewController...
    [06:58:19 AM] Copying FARs to the ADF Mobile Framework application...
    [06:58:19 AM] Copying FAR from source: ViewController...
    [06:58:19 AM] Copying FAR from source: ApplicationController...
    [06:58:19 AM] Copying Android template...
    [06:59:19 AM] Copying framework resource files...
    [06:59:20 AM] Copying framework java resource files...
    [06:59:43 AM] Copying common javascript files...
    [07:00:01 AM] Deploying skinning files...
    [07:00:01 AM] Copying application image files...
    [07:00:02 AM] Copying ADF Mobile configuration files...
    [07:00:02 AM] Copying .adf files...
    [07:00:02 AM] Copying security related files to the ADF Mobile Framework application...
    [07:00:02 AM] Creating Android preferences XML files...
    [07:00:02 AM] Creating AndroidManifest.xml file...
    [07:00:02 AM] Creating unsigned Android application file...
    [07:00:58 AM] Compiling Android Resource Identifier file...
    [07:01:01 AM] Creating Android classes.dex file from class files...
    [07:01:26 AM] Command-line executed: ["C:\Program Files\Android\android-sdk\platform-tools\dx.bat", dex, debug, keep-classes, output="C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes.dex", C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\AND_ksoap.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\Container.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\IDMMobileSDK.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\logging_dalvik_release.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\phonegap.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\vmchannel_dalvik_release.jar]
    [07:01:26 AM]
    [07:01:26 AM] trouble writing output:
    [07:01:26 AM] java.lang.RuntimeException: java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found
    [07:01:26 AM] at com.android.dx.dex.file.DexFile.calcSignature(DexFile.java:631)
    [07:01:26 AM] at com.android.dx.dex.file.DexFile.toDex0(DexFile.java:591)
    [07:01:26 AM] at com.android.dx.dex.file.DexFile.toDex(DexFile.java:216)
    [07:01:26 AM] at com.android.dx.command.dexer.Main.writeDex(Main.java:574)
    [07:01:26 AM] at com.android.dx.command.dexer.Main.run(Main.java:218)
    [07:01:26 AM] at com.android.dx.command.dexer.Main.main(Main.java:174)
    [07:01:26 AM] at com.android.dx.command.Main.main(Main.java:91)
    [07:01:26 AM] Caused by: java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found
    [07:01:26 AM] at org.apache.harmony.security.fortress.Engine.getInstance(Engine.java:137)
    [07:01:26 AM] at java.security.MessageDigest.getInstance(MessageDigest.java:75)
    [07:01:26 AM] at com.android.dx.dex.file.DexFile.calcSignature(DexFile.java:629)
    [07:01:26 AM] ... 6 more
    [07:01:26 AM] Command-line execution failed (Return code: 2)
    [07:01:26 AM] Command-line executed: "C:\Program Files\Android\android-sdk\platform-tools\dx.bat" dex debug keep-classes output="C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes.dex" C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\AND_ksoap.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\Container.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\IDMMobileSDK.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\logging_dalvik_release.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\phonegap.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\vmchannel_dalvik_release.jar
    [07:01:26 AM] Deployment cancelled.
    [07:01:26 AM] ---- Deployment incomplete ----.
    [07:01:26 AM] Deployment failed due to one or more errors returned by 'C:\Program Files\Android\android-sdk\platform-tools\dx.bat'. The following is a summary of the returned error(s):
    Command-line execution failed (Return code: 2)
    - Thanks
    Sujith
    Edited by: user11272928 on Oct 30, 2012 7:28 PM

    Hi,
    At this point, we really have not fully tested out JDK 1.7, and we rely on Android SDK to actually compile the app. Any way you can add JDK 1.6 to your machine, and configure the Android SDK to use JDK 1.6?
    Thanks,
    Joe Huang

  • ADF Mobile Deployment & Android SDKit

    Hi folks,
      Quite few days ago, i go through the ADF mobile document. After a Big gap Again i gave a try to continue my learning in the topic of "Basics of ADF Mobile".
    Where I found oracle doc to start ADF Mobile with simple Oracle JDeveloper 11g Tutorials
    [11:25:53 AM] ----  Deployment started.  ----
    [11:25:53 AM] Target platform is  (Android).
    [11:25:53 AM] Beginning deployment of ADF Mobile application "Application2MobileApp" to Android using profile "Android2".
    [11:25:53 AM] Checking state of Android Debug Bridge server...
    [11:25:57 AM] Started Android Debug Bridge server.
    [11:25:57 AM] Verifying a single Android emulator is online and connected to the ADB server...
    [11:25:57 AM] Running dependency analysis...
    [11:25:57 AM] Building...
    [11:25:59 AM] Deploying 3 profiles...
    [11:25:59 AM] WARNING: No Resource Catalog enabled ADF components found to package
    [11:25:59 AM] Wrote Archive Module to C:\JDeveloper\mywork\Application2MobileApp\ViewController\deploy\ViewController_MobileFeatureArchive1.jar
    [11:26:00 AM] Wrote Archive Module to C:\JDeveloper\mywork\Application2MobileApp\ApplicationController\deploy\ApplicationController_MobileFeatureArchive1.jar
    [11:26:00 AM] Starting to prepare the packaging...
    [11:26:00 AM] Verifying existence of the .adf source directory of the ADF Mobile application...
    [11:26:00 AM] Verifying Application Controller project exists...
    [11:26:00 AM] Verifying application dependencies...
    [11:26:00 AM] Verifying project dependencies...
    [11:26:00 AM] Validating application XML files...
    [11:26:00 AM] Validating XML files in project ApplicationController...
    [11:26:00 AM] Validating XML files in project ViewController...
    [11:26:00 AM] Copying FARs to the ADF Mobile Framework application...
    [11:26:00 AM] Extracting Feature Archive file, "ApplicationController_MobileFeatureArchive1.jar" to deployment folder, "ApplicationController".
    [11:26:00 AM] Extracting Feature Archive file, "ViewController_MobileFeatureArchive1.jar" to deployment folder, "ViewController_MobileFeatureArchive1".
    [11:26:00 AM] Copying Android template...
    [11:26:37 AM] Copying framework resource files...
    [11:26:37 AM] Copying framework java resource files...
    [11:26:41 AM] Copying common javascript files...
    [11:27:16 AM] Deploying skinning files...
    [11:27:20 AM] Copying application image files...
    [11:27:20 AM] Copying ADF Mobile configuration files...
    [11:27:20 AM] Copying .adf files...
    [11:27:20 AM] Copying security related files to the ADF Mobile Framework application...
    [11:27:20 AM] Creating Android preferences XML files...
    [11:27:21 AM] Creating AndroidManifest.xml file...
    [11:27:21 AM] Creating Google Cloud Messaging intent service file GCMIntentService.java...
    [11:27:21 AM] Creating unsigned Android application file...
    [11:27:50 AM] Compiling Android Resource Identifier file...
    [11:27:52 AM] Creating Android classes.dex file from class files...
    [11:28:03 AM] Updating unsigned Android application file with DEX file and .adf content...
    [11:28:12 AM] Creating debug key store...
    [11:28:14 AM] Signing application...
    [11:28:24 AM] Deploying ADF Mobile Framework application to Android emulator (this may take a few minutes)...
    [11:34:30 AM] ADF Mobile Framework application successfully deployed to Android emulator.
    [11:34:30 AM] Shutting down Android Debug Bridge server...
    [11:34:30 AM] ****************************************************************************************
    [11:34:30 AM] This ADF Mobile app was deployed in Debug mode and should not
    [11:34:30 AM] be used for performance evaluation purposes.
    [11:34:30 AM] Set the deployment profile Build Mode option to Release for performance testing.
    [11:34:30 AM] ****************************************************************************************
    [11:34:30 AM] Elapsed time for deployment:  8 minutes, 37 seconds
    [11:34:30 AM] ----  Deployment finished.  ----
    After deployment i noticed that this simple Application hardly taking 10 minutes for me for deploying and document also produce the same.
    Android SDkit is seems to slow to see my deployed App
    Is there any possibility to improve the performance also those things.?
    See the 46 to 48 line Log says :"Something harmful"
    I followed the document as suggested i did int change anything. document also having the same.
    From my understanding i have to change mode while deploying. i also cross check that there is no mode options while creating the deployment profile
    please anyone tell me. what going on.
    Jdev 11.1.2.4.0
    Anderoid SDK Manager. Revision 22.2.1
    Thanks.

    Subramanian ,
    As mentioned in above post use release mode , not only does it reduce the deployment time to a few mins (from 10 mins as you specified) , but also reduces the archive size to a third.
    See more details on how to setup release mode alongwith setting up the keystore -
    https://blogs.oracle.com/shay/entry/speed_up_adf_mobile_deployment

  • 12c SOA composite deployment issue using maven

    I am facing issue with 12c SOA composite deployment using maven. I execute the below command for deploying any composite. (Note: Update and run init.cmd file before running the below maven command)
    mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj –Dcomposite.version=1.1
    Issues:
    As seen above, I specified composite version to be deployed as 1.1 in pom.xml file, but maven deploys the composite with version that is present in composite.xml. It does build the jar file with the version specified in the pom i.e. TestSOAProj_rev1.1.jar, but when it deploys I see the composite with version as 1.0 (this version is in composite.xml). The out of the box maven script is not overwriting the revision in the composite.xml with the value specified in the pom file.
    Also, is there a way to pass the partition name as an user input parameter in the pom file. I tried this with the out of the box pom file by giving the partition name as something other than ‘default’, but the maven script ignores this and always deploys to ‘default’.
    I am not sure if I am missing anything here. Please suggest.
    inti.cmd:
    SET JAVA_HOME=D:\12c-Installation-Path\Java\jdk1.7.0_60
    SET ANT_HOME=D:\12c-Installation-Path\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.ant_1.9.2
    SET M2_HOME=D:\12c-Installation-Path\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.maven_3.0.5
    SET PATH=%PATH%;%JAVA_HOME%\bin;%M2_HOME%\bin;%ANT_HOME%\bin
    soa-pom.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
             <!--
               This POM was automatically generated during SOA project creation.          
               This POM relates to this SOA Composite, i.e. the one in this same directory.
               There is another POM in the SOA Application directory which handles
               the whole SOA Application, which may contain additional projects.
            -->
        <modelVersion>4.0.0</modelVersion>
        <groupId>TestSOAApp</groupId>
        <artifactId>${composite.name}</artifactId>   
      <version>${composite.version}</version>
        <packaging>sar</packaging>
        <!--
               The parent points to the common SOA parent POM.  That is a special POM that is
               shipped by Oracle as a point of customization (only). You can add default values
               for properties like serverUrl, etc. to the SOA common parent POM, so that you
               do not have to specify them over and over in every project POM.
        -->
        <!--<parent>
            <groupId>com.oracle.soa</groupId>
            <artifactId>sar-common</artifactId>
            <version>12.1.3-0-0</version>
        </parent>-->
        <properties>
      <!-- These parameters are used by the compile goal -->
      <code.basedir>${soa.app.source}/${project.artifactId}</code.basedir>
            <scac.input.dir>${code.basedir}/SOA</scac.input.dir>
            <scac.output.dir>${project.basedir}/target</scac.output.dir>
            <scac.input>${scac.input.dir}/composite.xml</scac.input>
            <scac.output>${scac.output.dir}/out.xml</scac.output>
            <scac.error>${scac.output.dir}/error.txt</scac.error>
            <scac.displayLevel>1</scac.displayLevel>
      <!-- if you are using a config plan, uncomment the following line and update to point
                 to your config plan -->
            <configplan>${code.basedir}/${project.artifactId}_cfgplan.xml</configplan>
      <!-- These parameters are used by the deploy and undeploy goals -->
      <composite.name>${project.artifactId}</composite.name>
      <composite.revision>${project.version}</composite.revision>       
      <composite.partition>default</composite.partition>
            <serverUrl>http://${target.hostname}:${target.port}</serverUrl>       
            <!--user>weblogic</user>
            <password>${pwd}</password-->       
      <overwrite>true</overwrite>
            <forceDefault>true</forceDefault>
            <regenerateRulebase>false</regenerateRulebase>
            <keepInstancesOnRedeploy>false</keepInstancesOnRedeploy>
            <!--<jndi.properties.input>UNDEFINED</jndi.properties.input>-->
            <scatest.result>${scac.output.dir}/testResult</scatest.result>
            <!--  input is the name of the composite to run test suties against -->
            <input>${project.artifactId}</input>       
            <!--<scac.ant.buildfile>${env.MW_HOME}/soa/bin/ant-sca-compile.xml</scac.ant.buildfile>
            <sca.ant.testfile>${env.MW_HOME}/soa/bin/ant-sca-test.xml</sca.ant.testfile>
            -->
        </properties>
      <build>
           <plugins>
       <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>properties-maven-plugin</artifactId>
      <version>1.0-alpha-2</version>
      <executions>
       <execution>
      <phase>initialize</phase>
      <goals>
       <goal>read-project-properties</goal>
      </goals>
      <configuration>
       <files>
      <file>build-${env}.properties</file>
       </files>
      </configuration>
       </execution>
      </executions>
       </plugin>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-antrun-plugin</artifactId>
      <version>1.6</version>
      <executions>
      <execution>
      <id>read-input</id>
      <phase>prepare-package</phase>
      <inherited>false</inherited>
      <goals>
      <goal>run</goal>
      </goals>
      <configuration>
      <target>
      <property name="fmw.app.basedir" value="${soa.app.source}" />
      <property name="fmw.composite.name" value="${project.artifactId}" />
      <property name="configplan.target.path" value="${scac.output.dir}" />
      <ant antfile="${project.basedir}/replace-tokens.xml" target="replaceConfig" />
      </target>
      </configuration>
      </execution>
      </executions>
      </plugin>
                <plugin>
                    <groupId>com.oracle.soa.plugin</groupId>
                    <artifactId>oracle-soa-plugin</artifactId>
                    <version>12.1.3-0-0</version>
                    <configuration>
                        <compositeName>${project.artifactId}</compositeName>
                        <composite>${scac.input}</composite>
                        <sarLocation>${scac.output.dir}/sca_${project.artifactId}_rev${composite.revision}.jar</sarLocation>
                        <serverUrl>${serverUrl}</serverUrl>
      <user>{}</user>            
      <password>{}</password>
                        <!-- Note: compositeRevision is needed to package, revision is needed to undeploy -->
                        <compositeRevision>${composite.revision}</compositeRevision>
                        <revision>${composite.revision}</revision>
                        <scacInputDir>${scac.input.dir}</scacInputDir>                   
      <input>${input}</input>
      <!--<appHome>${soa.app.source}</appHome>
      <oracleHome>${oracle.home}/soa</oracleHome>                   
      <configplan>${scac.output.dir}/${project.artifactId}_cfgplan_generated.xml</configplan>-->
                    </configuration>
                     <!-- extensions=true is needed to use the custom sar packaging type -->
                    <extensions>true</extensions>
                </plugin>
            </plugins>
        </build>
    </project>
    replace-tokens.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <project name="EA_SOA_Build"  default="replaceConfig">
      <target name="replaceConfig">
      <echo>Replacing tokens in configuration file</echo>
      <!-- Following logic copies the dev deployment plan and generates one to meet the target environment. -->
      <delete failonerror="true" file="${fmw.app.basedir}/${fmw.composite.name}/${fmw.composite.name}_cfgplan_generated.xml"/>
      <copy overwrite="true" failonerror="true"
      file  ="${fmw.app.basedir}/${fmw.composite.name}/${fmw.composite.name}_cfgplan.xml"
      tofile="${configplan.target.path}/${fmw.composite.name}_cfgplan_generated.xml"/>
      <replace file="${configplan.target.path}/${fmw.composite.name}_cfgplan_generated.xml">   
       <!-- replace filter for soa source and target endpoints. -->
       <replacefilter token="dmnh1i.manheim.com" value="dmnh2i.manheim.com" />  
      </replace>
      </target>
    </project>
    build-local.properties:
    soa.app.source=D:/Oracle_SOA12c13/Jdev_mywork/OVCApp
    mds.outer.dir=D:/Oracle_SOA12c13/Jdev_mywork/OVCApp/MDS
    target.hostname=localhost
    target.port=7001
    oracle.home=D:/Oracle_SOA12c13/Middleware/Oracle_Home

    hi,
    Can i pass multiple composite name like
    mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj –Dcomposite.name2="xxx"
    can you please suggest me for same.
    Hint- passing project1,project2.....

  • ADF mobile deployment

    hi everyone,
    i'm new on adf mobile and i'm developing and android application using adf mobile and android sdk manager,but i have one problem and this is about the time of deployment,it takes about 10 to 12 minutes every time
    to deploy the application on emulator and i don't know if it's normal or not,if it's not normal plz tell me how to reduce the time of deployment
    thanks...

    Hi.
    You can speed up your deployments by following Shay's instructions here:
    https://blogs.oracle.com/shay/entry/speed_up_adf_mobile_deployment
    Unfortunately, the Android simulator is very slow. This is because it emulates an ARM processor on your x86 machine. The only workaround is to deploy to a physical device instead.
    Best Regards,
    Frédéric.

  • How to reduce Oracle ADF Mobile deployed file

    Hi
    I'm creating simple demos with Oracle ADF Mobile and the deployed file is more than 50mb. Is there a way to reduce this size? Maybe remove some unused features llike SQLLite?

    My simple demo IPA files have been around 20MB with the default splashscreens and such, the only time it was bigger was when some files mistakenly got included. You could always load resources on-demand the first time over http and cache them in the app documents. This way you could only download the graphics for the current platform (so if it's a phone, you don't download iPad banners and graphics that your app needs)

  • Adf mobile deployment option for blackberry/windows-mobile is disabled

    Hi,
    We are trying to deploy the sample FOD mobile app to blackberry simulator as per the tutorial given at:.
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/ps3/adf_mobile_top/adf_mobile/jdtut_11r2_54_1.html
    We had followed all the steps given till Part 2 and were able to deploy the app to the BB simulator and test it also.
    After that, we followed the steps given in Part 3 and now when trying to deploy the mobile client app to the simulator, the deployment profile option for BB is disabled and hence we are not able to deploy the application.
    We have Jdev 11.1.1.4.0 with mobile client extension installed, and have also installed the BB JDE and simulator.
    Can someone please help us to get the deployment to BB profile option enabled again?
    PS: We also tried installing Jdev 11.1.1.4.0 with mobile adf extension on another machine with BB JDE and BB 9700 simulator, but on this new machine, the deployment profile option is disabled right from the start, we are not even able to deploy the changes we have done for part 2 of the tutorial.
    Regards,
    Hemant

    Hi, Hemant, just to make sure, did you try to kick off deployment from the MobileClient project, or at the Application menu? Mobile Client app needs to be deployed from the application menu.
    Also, if you have deployed already, the deployment profile has been created, so you simply would need to deploy again from the application menu.
    If you are seeing these items are somehow disabled, then I don't think I have seen it before. Perhaps we can set up a web conference to look at it.
    Please just ping me directly.
    Thanks,
    Joe Huang ([email protected])

  • ADF application deployment issue

    Dear All,
    We have installed Weblogic server 11g with version 10.3.2.0 in UNIX machine.
    We are trying to deploy an ADF Application using .ear file, but we are getting an error:
    *weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: wlp-tools-custom-app-lib, exact-match: false], [Extension-Name: wlp-tools-analytics-app-lib, exact-match: false].*
    Can we get any help regarding this.
    Thanks,
    Harsha

    The error points to a missing library in the WLS. In your ear file you reference a lib 'wlp-tools-analytics-app-lib' which is not deployed on the target WLS or not wired up correctly in the managed server you deploy to.
    Normally library references are defined in the META-INF\weblogic-application.xml inside your ear. Check this file for the reference. If you need the lib you must deploy it to the WLS instance and target it to the managed server you try to deploy to. If you don't need the lib you can remove the reference.
    Timo

  • Adf mobile - Deployment failed due to one or more errors returned by 'osascript'

    I had the mac jdeveoper deploying a mobile app in ios emulator file running fine.
    I had to update the xcode to xcode5 to get the certificate - now the deployment to emulator won't work.
    These are the error messages
    [02:34:41 PM] Command-line execution succeeded.
    [02:34:41 PM] Command-line executed: [osascript, -e, tell application "iPhone Simulator" to activate]
    [02:34:41 PM] Command-line execution failed (Return code: 1)
    [02:34:41 PM] Deployment cancelled.
    [02:34:41 PM] ----  Deployment incomplete  ----.
    [02:34:41 PM] Failed deploying to the iOS simulator.
    [02:34:41 PM] Deployment failed due to one or more errors returned by 'osascript'.  The following is a summary of the returned error(s):
    Command-line execution failed (Return code: 1)

    I deleted xcode 5 and installed xcode 4.6.3. Simulator works ok for 6.1 simulator target version.
    In jdeveloper ios option only 6.1 shows up for simulator target version?
    How do I get the 7 to show up there please?
    If simulator will not show up - can I still deploy / test it in iphone with ios7?

  • ADF Mobile : Deploy My Project To APK File

    Hi...
    How Can I Deploy My Project To APK File.
    Thanks a lot

    Hi All,
    I am facing similar problem can you tell me how it resolved. I have used dex.bat with below command externally [*dx.bat --dex --verbose --output C:\JDeveloper\mywork\SampleMobileADF\deploy\ANDROID_MOBILE_NATIVE_archive2\classes.dex C:\JDeveloper\mywork\SampleMobileADF\deploy\ANDROID_MOBILE_NATIVE_archive2\classes*]
    using this command I am able to create .dex file but after deploying it to emulator it always shows "Application stopped unfortunately"

  • ADF Mobile - Debugging issue

    Hi All,
    I have deployed in Android emulator.
    I have followed dev guide for debugging.
    It gives me the following error:
    Debugger unable to connect to remote process
    cvm.properties:
    java.debug.enabled=true
    java.debug.port=4000
    adb -e forward tcp:4000 tcp:4000
    Please help.
    Regrds,
    Deepak

    Hi Franks,
    Thanks for your reply.
    What i am seeing is we need to try connecting 2-3 times and it gets connected then.
    Anyways i am getting some other error now. Raising another post. Please reply there.
    Refards,
    Deepak

  • ADF Mobile - selectManyCheckbox - Issue to get value

    Hi,
              I have a simple amx page with selectManyCheckbox as below, I want to get value (first / second) inside Test Bean. But not getting the value as expected
    <amx:selectManyCheckbox label="label1" id="smc1" valueChangeListener="#{TestBean.getCheckBoxValue}" value="#{pageFlowScope.pValue}">
    <amx:selectItem label="Check Box 1" value="first"/>
    <amx:selectItem label="Check Box 2" value="second"/>
    </amx:selectManyCheckbox>
              getCheckBoxValue inside TestBean is as below.
    public void getCheckBoxValue(ValueChangeEvent valueChangeEvent) {
    try {
    System.out.println(" vaule is " + valueChangeEvent.getNewValue().toString());
    System.out.println(" vaule is " + valueChangeEvent.getOldValue().toString());
    String selectedValuesAsString  = "";
    ValueExpression ve;
    ve = (ValueExpression)AdfmfJavaUtilities.getValueExpression("#{pageFlowScope.pValue}",String.class);              
    System.out.println(" 1 "+ve);
    System.out.println(" 1 "+(ve.getValue(AdfmfJavaUtilities.getAdfELContext()).getClass().getName()));
    String attrBinding = (String)ve.getValue(AdfmfJavaUtilities.getAdfELContext());
    System.out.println(" 2 "+attrBinding.toString());
    } catch (Exception e) {
    // TODO: Add catch code
    e.printStackTrace();
    All the places : i am getting the value as object , Here is the console output
    06-19 07:58:31.506: D/CVM(1419):  vaule is [Ljava.lang.Object;@fa17c0
    06-19 07:58:31.506: D/CVM(1419):  vaule is [Ljava.lang.Object;@992d6a59
    06-19 07:58:31.516: D/CVM(1419):  1 TreeValueExpression(#{pageFlowScope.pValue})
    06-19 07:58:31.516: D/CVM(1419):  1 java.lang.String
    06-19 07:58:31.526: D/CVM(1419):  2 [Ljava.lang.Object;@aea1046e
    Could you please let me know How to get value back inside bean using  ValueChangeEvent.
    Thanks in advance.
    Ajoy Sinha

    Here is the answer ..
                                    valueChangeEvent.getNewValue() will return array of Object , i.e Object[]. Now one should loop through the Object and retrieve each object to get value out of it.
    Object[] value = (Object[])valueChangeEvent.getNewValue();
    for (int count = 0; count < value.length; count++) {
    Object checkedBox = value[count];
    String checkBoxValue = checkedBox.toString();
    System.out.println(" Check Box Value " + checkBoxValue);

  • ADF Mobile: WebService data control method call with array

    JDev 11.1.2.3
    ADF Mobile deployed to Android emulator
    Hello All,
    I am trying to invoke a method in my Web Service data control and get the following exception
    Caused by: ERROR [oracle.adfmf.framework.exception.AdfInvocationRuntimeException] - Cannot serialize: [I@1dbae822
            at oracle.adfmf.dc.ws.soap.SoapTransportLayer.invokeSoapRequest(Lorg/ksoap2/SoapEnvelope;)Ljava/lang/Object;(Unknown Source)
            at oracle.adfmf.dc.ws.soap.SoapWebServiceOperation.invoke(Ljava/lang/String;Loracle/adfmf/dc/ws/soap/SoapGenericType;)Ljava/lang/Object;(Unknown Source)
            at oracle.adfmf.dc.ws.soap.SoapWebServiceOperation.invoke(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Object;(Unknown Source)
            at oracle.adfmf.dc.JavaBeanOperation.execute(Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;(Unknown Source)
            at oracle.adfmf.dc.ws.WebServiceDataControlAdapter.invokeOperation(Ljava/util/Map;Loracle/adfmf/bindings/OperationBinding;)Z(Unknown Source)
            at oracle.adfmf.bindings.dbf.AmxMethodActionBinding.execute()Ljava/lang/Object;(Unknown Source) This method is an AppModule method exposed as a service interface and the parameter for this method is a List<oracle.jbo.domain.Number>. The schema definition for the input is as follows:
    <element name="acceptTask">
       <complexType>
         <sequence>
                <element maxOccurs="unbounded" minOccurs="0" name="taskID" type="decimal"/>
         </sequence>
       </complexType>
    </element>For the input to my binding, I have tried int[], Integer[] and List<Integer>. All of these result in similar errors.
    I have also tried invoking this through a regular ADF application and that works fine with an int[]. It looks like something specific to the ADF Mobile SOAP layer.
    Is this a bug or a restriction in the framework? Any workarounds that has worked for anyone?

    No luck. A WS DC method call with a simple parameter (java.lang.String or java.lang.Integer) works fine but I can't get it to work when there is an array input.
    I have tried WS methods with int arrays and simple string arrays without any luck. All of them result in a cannot serialize error.
    I can't figure out what I am doing wrong. Are there any working WS Datacontrol samples with array inputs?

  • ADFBindingFilter error while deploying a war to WLS server using jdev 12c

    I've a OSB Server setup using XBUS_MAIN_GENERIC_120131.1402.S which is using JDEVADF_MAIN_GENERIC_120102.0032.6211.
    Launched the 12c Jdev and created a simple adfc web application with a test.jspx page and deployed in the OSB Server. The web app deployed and could launch the test page.
    I have added the page definition for that test page by 'Go to Page Definition' option.
    Now, If I try to deploy this web app war to the OSB Server, I'm getting the following exception in the jdev (Error1) and in the server log I could see the error (Error2).
    Any Idea how to resolve this issue?
    Error1 ( on Jdev )
    [03:15:08 AM] ---- Deployment started. ----
    [03:15:08 AM] Target platform is (Weblogic 10.3).
    [03:15:09 AM] Retrieving existing application information
    [03:15:09 AM] Running dependency analysis...
    [03:15:09 AM] Building...
    [03:15:15 AM] Deploying profile...
    [03:15:16 AM] Wrote Web Application Module to /scratch/sansrini/OSB_DEV/OSBMgmtTestApp/OSBMgmtTaskflowsTestApp/deploy/newosb2.war
    [03:15:16 AM] Deploying Application...
    [03:15:18 AM] [Deployer:149193]Operation "deploy" on application "newosb2" has failed on "AdminServer".
    [03:15:18 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application newosb2 on AdminServer.: [HTTP:101371]There was a failure when processing annotations for application /scratch/sansrini/view_storage/sansrini_xbus2/xbus/build/MW_HOME/user_projects/domains/base_domain/servers/AdminServer/upload/newosb2/app/newosb2.war. Ensure that the annotations are valid. The error is oracle.adf.model.servlet.ADFBindingFilter.
    [03:15:18 AM] weblogic.application.ModuleException: [HTTP:101371]There was a failure when processing annotations for application /scratch/sansrini/view_storage/sansrini_xbus2/xbus/build/MW_HOME/user_projects/domains/base_domain/servers/AdminServer/upload/newosb2/app/newosb2.war. Ensure that the annotations are valid. The error is oracle.adf.model.servlet.ADFBindingFilter
    [03:15:18 AM] Deployment cancelled.
    [03:15:18 AM] ---- Deployment incomplete ----.
    [03:15:18 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    Error2 ( on wls log )
    <Feb 3, 2012 3:15:18 AM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: [HTTP:101371]There was a failure when processing annotations for application /scratch/sansrini/view_storage/sansrini_xbus2/xbus/build/MW_HOME/user_projects/domains/base_domain/servers/AdminServer/upload/newosb2/app/newosb2.war. Ensure that the annotations are valid. The error is oracle.adf.model.servlet.ADFBindingFilter
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:732)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:188)
    at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:93)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
    at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    Truncated. see log file for complete stacktrace

    I guess you should be asking on an internal forum somewhere, because we, the unwashed masses, don't have access to JDev 12c.
    John

Maybe you are looking for