ADF Mobile failed to deploy to android device

Hello all,
I'm trying to create an ADF Mobile App, following [this video tutorial|http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adfmobiledemo/adfmobiledemo.html].
I'm using JDeveloper Studio Edition Version 11.1.2.3.0 and getting this error message:
[11:59:41 AM] Could not find the Application Controller project in a folder named "ApplicationController".
[11:59:41 AM] Shutting down Android Debug Bridge server...
[11:59:42 AM] Deployment cancelled.
[11:59:42 AM] ---- Deployment incomplete ----.
[11:59:42 AM] Failed to deploy - the Application Controller project is missing. (oracle.adfmf.framework.dt.deploy.common.deployers.ApplicationValidatorDeployer)
any ideas?
Edited by: 968387 on Nov 12, 2012 3:57 AM
Edited by: 968387 on Nov 12, 2012 3:58 AM

Is there a reason, why there is no direct support for adf bc via jdbc? Not exactly sure what you mean here. Remember that the mobile device is a one user environment so it won't make sense to have the full ADF BC run on the mobile device.
Since you are working over the network accessing a remote server, you probably don't want direct JDBC access to the DB on the server because of network port security settings.
Web services are the standard way to invoke remote logic on servers.
Why is there no support for exposing the application module via a RESTful service, or is it planned to support in further versions?This is planned for a future version.

Similar Messages

  • ADF Mobile: Unable to deploy to iphone simulator

    I am trying to deploy an app to ios simulator on OSX 10.8.2 and see following error
    NoClassDefFoundError in o.adfmf.framework.dt.deploy.features.deployers.FeatureArchiveDeployer:282
    overall trace is:
    [11:22:22 PM] ---- Deployment started. ----
    [11:22:22 PM] Target platform is (iOS).
    [11:22:22 PM] Beginning deployment of ADF Mobile application 'CRMSalesApp' to iOS using profile 'CRMSalesAppDeployIOS'.
    [11:22:22 PM] Command-line executed: [Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild, -version]
    [11:22:22 PM] Command-line execution succeeded.
    [11:22:22 PM] Running dependency analysis...
    [11:22:22 PM] Building...
    [11:22:22 PM] Deploying 3 profiles...
    [11:22:22 PM] ---- Deployment incomplete ----.
    so no other error.
    Please note that the same app deploys fine on the android device.

    i tried to restart jdev and redeploy and this time a popup came up as
    Uncaught exception
    java.lang.NoClassDefFoundError: oracle/adf/model/adapter/rest/RestURLDCDefinition
    o.adfmf.framework.dt.deploy.features.deployers.FeatureArchiveDeployer._getWebServiceDataControls(FeatureArchiveDeployer.java:282)
    o.adfmf.framework.dt.deploy.features.deployers.FeatureArchiveDeployer.deployImpl(FeatureArchiveDeployer.java:132)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.adfmf.framework.dt.deploy.common.deployers.AbstractDeployerWrapper.deploy(AbstractDeployerWrapper.java:201)
    o.ji.deploy.fwk.DeploymentManager.deployImpl(DeploymentManager.java:481)
    o.ji.deploy.fwk.DeploymentManager.deploy(DeploymentManager.java:408)
    o.j.deploy.DeploymentManager.deploy(DeploymentManager.java:270)
    o.ji.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:84)
    o.j.deploy.common.ModulePackager.deployProfiles(ModulePackager.java:64)
    o.j.deploy.common.ModulePackager.deployImpl(ModulePackager.java:53)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.adfmf.framework.dt.deploy.common.deployers.AbstractDeployerWrapper.deploy(AbstractDeployerWrapper.java:201)
    o.j.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.j.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.j.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.ji.deploy.fwk.TopLevelDeployer.deployImpl(TopLevelDeployer.java:54)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.ji.deploy.fwk.DeploymentManager.deployImpl(DeploymentManager.java:481)
    o.ji.deploy.fwk.DeploymentManager.deploy(DeploymentManager.java:408)
    o.j.deploy.DeploymentManager.deploy(DeploymentManager.java:270)
    o.j.deploy.cmd.DeployCommand.deploy(DeployCommand.java:375)
    o.j.deploy.cmd.DeployCommand$DeploymentProgressShellAdapter$1.deploy(DeployCommand.java:504)
    o.ji.deploy.fwk.RunnableImpl.run(RunnableImpl.java:372)
    j.lang.Thread.run(Thread.java:680)
    Caused by:
    java.lang.ClassNotFoundException: oracle.adf.model.adapter.rest.RestURLDCDefinition
    org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
    org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    j.lang.ClassLoader.loadClass(ClassLoader.java:247)
    o.adfmf.framework.dt.deploy.features.deployers.FeatureArchiveDeployer._getWebServiceDataControls(FeatureArchiveDeployer.java:282)
    o.adfmf.framework.dt.deploy.features.deployers.FeatureArchiveDeployer.deployImpl(FeatureArchiveDeployer.java:132)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.adfmf.framework.dt.deploy.common.deployers.AbstractDeployerWrapper.deploy(AbstractDeployerWrapper.java:201)
    o.ji.deploy.fwk.DeploymentManager.deployImpl(DeploymentManager.java:481)
    o.ji.deploy.fwk.DeploymentManager.deploy(DeploymentManager.java:408)
    o.j.deploy.DeploymentManager.deploy(DeploymentManager.java:270)
    o.ji.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:84)
    o.j.deploy.common.ModulePackager.deployProfiles(ModulePackager.java:64)
    o.j.deploy.common.ModulePackager.deployImpl(ModulePackager.java:53)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.adfmf.framework.dt.deploy.common.deployers.AbstractDeployerWrapper.deploy(AbstractDeployerWrapper.java:201)
    o.j.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.j.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.j.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.ji.deploy.fwk.TopLevelDeployer.deployImpl(TopLevelDeployer.java:54)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.ji.deploy.fwk.DeploymentManager.deployImpl(DeploymentManager.java:481)
    o.ji.deploy.fwk.DeploymentManager.deploy(DeploymentManager.java:408)
    o.j.deploy.DeploymentManager.deploy(DeploymentManager.java:270)
    o.j.deploy.cmd.DeployCommand.deploy(DeployCommand.java:375)
    o.j.deploy.cmd.DeployCommand$DeploymentProgressShellAdapter$1.deploy(DeployCommand.java:504)
    o.ji.deploy.fwk.RunnableImpl.run(RunnableImpl.java:372)
    j.lang.Thread.run(Thread.java:680)

  • BEA-160197: Simple ADF application fails to deploy on integrated weblogic

    JDeveloper 11.1.1.6.0
    Simple JSF ADF application fails to test localy on integrated weblogic. I have never seen this and have no clue where to look for the problem. Anyone?
    [01:11:01 PM] Deploying Application...
    <23.05.2012. 13.11.01 CEST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor C:\Documents and Settings\drtodor\Application Data\JDeveloper\system11.1.1.6.38.61.92\o.j2ee\drs\TrackingSystem11g/META-INF/weblogic-application.xml of module TrackingSystem11g. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:161)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
         at weblogic.application.ApplicationDescriptor.getWeblogicApplicationDescriptor(ApplicationDescriptor.java:324)
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:181)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:67)
         at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:315)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:81)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:97)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86e4fd19(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
         at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
         at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:539)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:381)
         at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:140)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:200)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
         at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
         ... 27 more
    Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86e4fd19(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
         ... 35 more
    .>
    <23.05.2012. 13.11.01 CEST> <Error> <Deployer> <BEA-149605> <Failed to create App/Comp mbeans for AppDeploymentMBean TrackingSystem11g#V2.0. Error - weblogic.management.DeploymentException: Unmarshaller failed.
    weblogic.management.DeploymentException: Unmarshaller failed
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86e4fd19(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         Truncated. see log file for complete stacktrace
    >
    <23.05.2012. 13.11.01 CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1337771461093' for task '1'. Error is: 'weblogic.management.DeploymentException: Unmarshaller failed'
    weblogic.management.DeploymentException: Unmarshaller failed
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86e4fd19(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         Truncated. see log file for complete stacktrace
    >
    <23.05.2012. 13.11.01 CEST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'TrackingSystem11g [Version=V2.0]'.>
    <23.05.2012. 13.11.01 CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException: Unmarshaller failed
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86e4fd19(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         Truncated. see log file for complete stacktrace
    >
    [01:11:01 PM] #### Deployment incomplete. ####
    [01:11:01 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application TrackingSystem11g due to error deploying to IntegratedWebLogicServer.
    [Application TrackingSystem11g stopped and undeployed from Server Instance IntegratedWebLogicServer]

    OK I found it and opened it. This is the content before I started the application:
    <?xml version = '1.0' encoding = 'windows-1250'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                          xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.1/weblogic-application.xsd"
                          xmlns="http://xmlns.oracle.com/weblogic/weblogic-application">
      <listener>
        <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
      </listener>
      <listener>
        <listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
      </listener>
      <library-ref>
        <library-name>adf.oracle.domain</library-name>
      </library-ref>
    </weblogic-application>I kept it open and ran the app. It got edited in front my eyes just like this:
    <?xml version = '1.0' encoding = 'windows-1250'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                          xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.1/weblogic-application.xsd"
                          xmlns="http://xmlns.oracle.com/weblogic/weblogic-application">
      <listener>
        <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
      </listener>
      <listener>
        <listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
      </listener>
      <listener>
        <listener-class>
          oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
        </listener-class>
      </listener>
      <listener>
        <listener-class>
          oracle.mds.lcm.weblogic.WLLifecycleListener
        </listener-class>
      </listener>
      <library-ref>
        <library-name>adf.oracle.domain</library-name>
      </library-ref>
      <library-ref>
        <library-name>
          adf.oracle.domain
        </library-name>
      </library-ref>
    </weblogic-application>

  • VPN fails for iOS and Android devices

    L2TP and PPTP VPN set up on OS X Server 3.0 fails when connection is made from iOS or Android device. When connecting from a MacBook Air running Maverick it all works fine. Exact same client settings are done on iOS and OS X.
    When connecting from OS X, Server VPN log shows all the details. But when trying to connect from iOS and even from my Android, there is not a single entry in the Server logs that anything even reaches the server.
    I checked using TCPMon and using PPTP and was clearly showing that packages were forwarded to the server. But still nothing showed in the log.

    It's a known bug and will be fixed with 10.9.1 according to the Apple support.

  • ADF Mobile , how to deploy as IPhone 5 screen size

    Hi all,
    Current deployment to my device only supports IPhone 4 resolution, how do i set to iPhone 5 resolution in JDeveloper..
    Thanks

    Use JDeveloper 11.1.2.4.0

  • ADF Mobile Error when deploying iOS

    Hi all, i received this error when to try to distribute to iOS package
    1. ive created the appid net.pakcikkantin.*
    [10:55:45 AM] error: /usr/bin/codesign force preserve-metadata=identifier,entitlements,resource-rules sign iPhone Developer: aaaaaaa (EP9NMMA3DE) resource-rules=/var/folders/hy/6b__npdd11qggj__5_zjjwkw0000gn/T/tRtHgIsMja/Payload/TestiPhone.app/ResourceRules.plist /var/folders/hy/6b__npdd11qggj__5_zjjwkw0000gn/T/tRtHgIsMja/Payload/TestiPhone.app failed with error 1. Output: /var/folders/hy/6b__npdd11qggj__5_zjjwkw0000gn/T/tRtHgIsMja/Payload/TestiPhone.app: replacing existing signature
    [10:55:45 AM] Program /usr/bin/codesign returned 1 : [/var/folders/hy/6b__npdd11qggj__5_zjjwkw0000gn/T/tRtHgIsMja/Payload/TestiPhone.app: replacing existing signature
    [10:55:45 AM] Command-line execution failed (Return code: 1)
    [10:55:45 AM] Deployment cancelled.
    [10:55:45 AM] ---- Deployment incomplete ----.
    [10:55:45 AM] Failed to package the XCode application.
    [10:55:45 AM] Failed to build the iOS application bundle.
    [10:55:45 AM] Deployment failed due to one or more errors returned by '/usr/bin/xcrun'. The following is a summary of the returned error(s):
    Command-line execution failed (Return code: 1)
    error: /usr/bin/codesign force preserve-metadata=identifier,entitlements,resource-rules sign iPhone Developer: aaaaaaa (EP9NMMA3DE) resource-rules=/var/folders/hy/6b__npdd11qggj__5_zjjwkw0000gn/T/tRtHgIsMja/Payload/TestiPhone.app/ResourceRules.plist /var/folders/hy/6b__npdd11qggj__5_zjjwkw0000gn/T/tRtHgIsMja/Payload/TestiPhone.app failed with error 1. Output: /var/folders/hy/6b__npdd11qggj__5_zjjwkw0000gn/T/tRtHgIsMja/Payload/TestiPhone.app: replacing existing signature
    Program /usr/bin/codesign returned 1 : [/var/folders/hy/6b__npdd11qggj__5_zjjwkw0000gn/T/tRtHgIsMja/Payload/TestiPhone.app: replacing existing signature
    Thank you very much for the replies

    it looks like it's an Xcode setting problem
    https://blogs.oracle.com/mobile/entry/workaround_for_an_xcode_ios
    susan

  • Flex mobile - file access on a android device

    Hi,
    is it possible to access the file system (to read a text file) of a andoid device and if yes, how can i do that?

    Not sure if all of these are accessible but you may want to start with the directories provided in flash.filesystem.File. Some of those might resolve to useful locations on device. http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.h tml

  • Debugging ADF Mobile Memory Usage

    I'm attempting to debug/profile an ADF Mobile application running on an Android device. I've noticed that once a breakpoint is hit, the debugger will disconnect, I'll see a com.sun.jdi.VMDisconnectedException thrown in JDev and the application is killed on the device. This seems to be dependent on which debugger windows I have open. Specifically, I've seen this when the Heap or Classes window is open. If these windows are NOT open, I'm able to step through the source and view data, stack and thread info. If I'm stepping through code and decide to open the Classes window, the debugger loses the connection and the application is killed on the device but I see no exception in JDeveloper. I can open the Heap window, but when I attempt to manually add a new type I observe the same behavior of losing the connection and application being killed. I've reported this behavior using the automatic feedback agent when an exception is seen in JDev (bug numbers 16179056 and 16179135).
    Does anyone have troubleshooting tips or a workaround? I'm trying to get some memory usage information.
    JDev build: JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1
    ADF Mobile: 11.1.2.3.39.62.94
    OS: Windows 7
    Device Model: Samsung Galaxy S3 SCH-I535
    Android Version: 4.1.1
    Android Debug Bridge Version: 1.0.29

    Hi,
    ADB (Android Debug Bridge) is an Android SDK utility that provides interface between developer machine and emulator/Android device. This command needs to run using a command prompt - typically you would need to run in the directory containing ADB app unless you have the PATH env variable set up. ADB is typically located in <Android SDK Location>\android-sdk\platform-tools. First you will need to start the Android Emulator, and then run the ADB port forward command to set the forward port. You would need to configure the JDeveloper Java debugger accordingly, as well as setting Java Debugging to true in the cvm.properties file. You can then deploy your application mobile app on the emulator, start the JDeveloper Java debugger, and then launch the ADF Mobile app. It is important that you remember to run the Java debugger from JDev before launching the ADF Mobile app, or the app startup will hang while trying to connect to the debugger.
    On a side note, you can look at the logging output from the emulator using the ddms utility (In the Android SDK's tools directory).
    Good luck and let me know if you have more issues.
    Thanks,
    Joe Huang

  • Failed to deploy ADF Mobile app on Android device

    Hi,
    I created an application using Jdeveloper 11.1.2.3 .While deploying to android device ,I am getting the ‘INSTALL_FAILED_INSUFFICIENT_STORAGE’ error. The size of the apk file is 22.6 MB while the free space on device is 1.84 GB.
    The error message is:
    [02:46:38 PM] Deploying ADF Mobile Framework application to Android device (this may take a few minutes)...
    [02:46:54 PM] Command-line executed: [Users/chdsez249662dadm/Desktop/android-sdk-macosx/platform-tools/adb, -d, install, -r,  /Users/chdsez249662dadm/Desktop/iExpenseRefresh/deploy/ANDROID_MOBILE_NATIVE_archive1/iexpenserefresh.apk]
    [02:46:54 PM] 1512 KB/s (22601586 bytes in 14.595s)
    [02:46:54 PM] pkg: /data/local/tmp/iexpenserefresh.apk
    [02:46:54 PM] Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
    [02:46:54 PM] Command-line execution failed (Return code: 0)
    [02:46:54 PM] Command-line executed: /Users/chdsez249662dadm/Desktop/android-sdk-macosx/platform-tools/adb -d install -r /Users/chdsez249662dadm/Desktop/iExpenseRefresh/deploy/ANDROID_MOBILE_NATIVE_archive1/iexpenserefresh.apk
    [02:46:54 PM] Shutting down Android Debug Bridge server...
    [02:46:54 PM] Deployment cancelled.
    [02:46:54 PM] ---- Deployment incomplete ----.
    [02:46:54 PM] Deployment failed due to one or more errors returned by '/Users/chdsez249662dadm/Desktop/android-sdk-macosx/platform-tools/adb'. The following is a summary of the returned error(s):
    Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE].
    Could you please help me to identify the possible reason for this.

    Yes, we copied the app file to an android device and installed it using 'PackageInstaller' but the application did not open up and gave the following error:
    The copy of the connections.xml file from the bundle to the configuration service managed location has failed. Could not create destination file : /null/oracleconfigservice/.adf/META-INF/connections.xml. This indicates a failed bundling of the application. Shutting down.
    Any idea on this?

  • 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

  • Problem with ADF Mobile on Android

    Hi,
    I'm trying to run a very simple test with adf mobile on android emulator.
    But when I try to open the app, the splash screen never changes.
    Only when I go to the menu and I return to the app from the device menu, this show the main screen.
    And...
    When I try to open a very simple amx page, the app launch a message that says
    Failed to initilize the AdfcContext{classname: oracle.adfmf.framework.api.Model; method: pushPageFlowScope; params: ; }
    Somebody can help me?
    I am using:
    ADF Mobile Framework oracle.adf.mobile 11.1.2.4
    Android sdk 22
    Message: http://db.tt/mIqcekCI
    Log: http://db.tt/0frlguNq
    Thanks!

    Hi, there, a couple of things to double check on your emulator settings:
    When configuring the Android emulator, please make sure the emulator emulates ARM Processor (armeabi - v7).  ADF Mobile only works with ARM processors - both device and emulator.
    Under Memory Options, please ensure RAM is at least 768 or greater.  This of course is also constraint by the amount of memory your development machine has, but generally you should have at least 768 MB allocated.  ADF Mobile app itself won't take up nearly that much RAM of course, but there are a lot of Android apps that are started in the background when Android emulator starts.
    Also, make sure there is 500 MB of internal storage configured - you can go as low as 200 MB but the space will quickly.
    Lastly, before you compile/deploy again, please go to JDeveloper menu item Build - Clean All to clean up any left over deployment artifacts.
    Thanks,
    Joe Huang

  • 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.

  • ADF Mobile on Android? Offline synchronization with the database?

    Hello,
    We are thinking about developing a project on Oracle ADF Mobile, and want it to run on both Android and IOS devices.
    And we want to be able to synchronize our database for offline mode.
    I read some docs, and they say Oracle does not have an Android version of ADF Mobile Client. It provides ADF Mobile Browser,
    but then it will not be possible to be synchronized with a remote database and run in offline mode.
    Is it possible to develop an application with Oracle ADF Mobile technology, that runs on Android and IOS phones,
    syncs with a remote database and run both online and offline mode, and uses device's services like GPS, camera, etc?
    Thanks,
    Bora Yuret
    Edited by: 919404 on 07.Mar.2012 09:01
    Edited by: 919404 on 07.Mar.2012 09:02

    Trinidad faces and JSF faces not optimized for android web-browser.

  • 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 App integration with webservices, connection refused error

    I created an ADF application for department search with business components and exposed this as a webservice. I can access the WSDL locally from a browser. Then created an ADF mobile application and deployed it to android emulator. I am able to deploy the application to emulator and I can see the app on Android emulator. When I try to search for any department, I am getting "cannot connect to localhost on port 7101 : connection refused". My server is started already and the port number is also correct. Did any one came across this issue before? Even the WSDL URL is not accessible from the browser of android emulator.
    Edited by: adf_forum on Nov 16, 2012 2:16 PM

    Hi,
    One more thing to keep in mind is that Android emulator is itself a network host, and localhost will likely loop back into itself, i.e. emulator. Please try to set up the WLS to listen on an actual IP address for your development machine, create your WS DC using this real IP address, and then try to deploy/run the app.
    If you need to retrofit your app with an new IP address, please keep in mind there are several places you would need to manually fix up, including the connections.xml file.
    In general, if the device emulator's browser cannot hit a web service, then the ADF Mobile app will also not be able to hit a web service.
    The most reliable way is to treat the emulator like an actual device, then work out your application's connection accordingly.
    Thanks,
    Joe Huang

Maybe you are looking for

  • LOV an SQL : how to configure a select list to get all records

    Hello, I am using Oracle 10g with APEX 2.0. Here is my question: I have a report and I am using 3 text fields and a select list to search through a join of two tables. The select list is composed of a "list of values" and the parameter, which is used

  • Change BI 7 WAD exception symbol

    Dear All, I have a question regarding exception symbol in BI 7 WAD. we can change the exception from color to image(symbol). the question is can we change the symbol? the default is just an arrow up, down and across. I want to change with something e

  • How to make add the program system.out messages to a applet text field?

    How to make add the program system.out messages to a applet text field? System.out.println("I wanna displany this message on a applet text field, thanks");

  • Legal and management consolidation

    Hi experts, Anybody can specify what are all the differences between legal and management consolidation? What are the tasks that differentiate each one from the other? Regards.

  • Trouble using ftp access within DW CS4

    I am having trouble accessing my site via ftp through dreamweaver. Using the same credentials, I am able to access the site via filezilla, but am having no luck with DW. Any ideas? Any help is a big help!! Many thanks