Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

MAF: Cannot Create Feature

TreeStrepek-JavaNetJul 28 2014 — edited Aug 7 2014

Hey All:

I created a simple new app in MAF. This app is basic, has a few features with basic behaviors.

#1: when I execute "Clean All" -> MAF Cancels the CLEAN

#2: at deploy I am getting "feature not created"

Any direction is welcome. I would like to begin working with MAF & its new features. I need to get some confidence in this new tool under my belt before I will move forward to create Cordova plugins.

Screenshot 2014-07-28 09.49.15.png

Screenshot 2014-07-28 09.42.29.png

This post has been answered by TreeStrepek-JavaNet on Aug 5 2014
Jump to Answer

Comments

Could you post the contents of your maf-application.xml and maf-feature.xml?  That might help diagnose the second problem.

TreeStrepek-JavaNet

-------------------------------

*MAF-FEATURE.XML*

-------------------------------

Question: is it possible the declarative UI did not create the correct backend code? I don't see a source or url attribute in the iTreewareBLOG feature?

Screenshot 2014-07-28 11.31.34.png

<?xml version="1.0" encoding="UTF-8" ?>

<adfmf:features xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:adfmf="http://xmlns.oracle.com/adf/mf">

<adfmf:feature id="Targets" name="Targets" icon="images/superheroTEAM.jpg" image="images/superheroTEAM.jpg"

             listener-class="mobile.activity.listener.TargetLifeCycleListener">

\<adfmf:content id="Targets.1">

  \<adfmf:amx file="Targets/Targets.amx"/>

\</adfmf:content>

</adfmf:feature>

<adfmf:feature id="iTreeware" name="iTreeware">

\<adfmf:content id="iTreeware.2">

  \<adfmf:remoteURL connection="iTreeware.com"/>

\</adfmf:content>

</adfmf:feature>

<adfmf:feature id="iTreewareBLOG" name="iTreewareBLOG">

\<adfmf:content id="iTreewareBLOG.1">

  \<adfmf:remoteURL connection="iTreewareBLOG"/>

\</adfmf:content>

</adfmf:feature>

<adfmf:feature id="HOME" name="HOME">

\<adfmf:content id="HOME.2">

  \<adfmf:localHTML url="HOME/springBOARD.html"/>

\</adfmf:content>

</adfmf:feature>

<adfmf:feature id="Twitter" name="Twitter">

\<adfmf:content id="Twitter.1">

  \<adfmf:remoteURL connection="Tree\_on\_Twitter"/>

\</adfmf:content>

</adfmf:feature>

<adfmf:feature id="LinkedIn" name="LinkedIn">

\<adfmf:content id="LinkedIn.1">

  \<adfmf:remoteURL connection="TreeStrepek\_LinkeIn"/>

\</adfmf:content>

</adfmf:feature>

<adfmf:feature id="iTreewareHANGOUT" name="iTreewareHANGOUT">

\<adfmf:content id="iTreewareHANGOUT.1">

  \<adfmf:remoteURL connection="iTreewareHANGOUT"/>

\</adfmf:content>

</adfmf:feature>

<adfmf:feature id="GoogleME" name="GoogleME">

\<adfmf:content id="GoogleME.1">

  \<adfmf:remoteURL connection="GoogleTheresaStrepek"/>

\</adfmf:content>

</adfmf:feature>

</adfmf:features>

--------------------------------------

*MAF-APPLICATION.XML*

--------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<adfmf:application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:adfmf="http://xmlns.oracle.com/adf/mf"

               version="1.0" name="TeamME" id="com.company.TeamME" appControllerFolder="ApplicationController"

               listener-class="application.LifeCycleListenerImpl">

<adfmf:deviceFeatureAccess>

\<adfmf:deviceCamera access="true" id="dc1"/>

\<adfmf:deviceContacts access="true" id="dc2"/>

\<adfmf:deviceEmails access="true" id="de1"/>

\<adfmf:deviceFiles access="true" id="df1"/>

\<adfmf:deviceLocation access="true" id="dl1"/>

\<adfmf:deviceNetwork access="true" id="dn1"/>

\<adfmf:devicePhone access="true" id="dp1"/>

\<adfmf:deviceSMS access="true" id="dsms1"/>

\<adfmf:devicePushNotifications access="true" id="dpn1"/>

</adfmf:deviceFeatureAccess>

<adfmf:featureReference id="iTreeware"/>

<adfmf:featureReference id="iTreewareBLOG"/>

<adfmf:featureReference id="Targets"/>

<adfmf:featureReference id="HOME" showOnNavigationBar="false" showOnSpringboard="false"/>

<adfmf:featureReference id="Twitter"/>

<adfmf:featureReference id="LinkedIn"/>

<adfmf:featureReference id="iTreewareHANGOUT"/>

<adfmf:featureReference id="GoogleME"/>

<adfmf:preferences/>

<adfmf:remoteURLWhiteList>

\<adfmf:domain id="d1">\</adfmf:domain>

\<adfmf:domain id="d2">[http://itreeware.blogspot.com/](http://itreeware.blogspot.com/)\</adfmf:domain>

\<adfmf:domain id="d3">[https://twitter.com/iTreeware](https://twitter.com/iTreeware)\</adfmf:domain>

\<adfmf:domain id="d4">[https://www.linkedin.com/in/theresastrepek](https://www.linkedin.com/in/theresastrepek)\</adfmf:domain>

\<adfmf:domain id="d5">[https://plus.google.com/u/0/hangouts](https://plus.google.com/u/0/hangouts)\</adfmf:domain>

\<adfmf:domain id="d6">[https://www.google.com/#q=theresa+strepek](https://www.google.com/#q=theresa+strepek)\</adfmf:domain>

</adfmf:remoteURLWhiteList>

<adfmf:cordovaPlugins/>

</adfmf:application>

> Question: is it possible the declarative UI did not create the correct backend code?  I don't see a source or url attribute in the iTreewareBLOG feature?

That would depend on what you are expecting the backend to do.  Are these REST or SOAP endpoints?  Where do you expect them to run and how are you binding them to your AMX pages or taskflows?

TreeStrepek-JavaNet

The referenced ...BLOG feature has a screenshot attached.  It is defined as a remoteURL.  I am expecting MAF to (1)Build the feature (2)at runtime redirect to the URL specified.

Is this correct? 

Are you hearing of anyone else having difficulty getting MAF to create simple features? 

TreeStrepek-JavaNet

Hi Oracle Forum:

Can someone respond please?  Why am I getting a "feature [featureName] was not created"  error at runtime?  Is this a current known issue with MAF?  What can I do. 

Is this an error that needs a new patch to resolve?

Thanks for any help you provide!

TreeStrepek

Hi TreeStrepek,

I haven't been able to reproduce this exact issue yet.  Could you try narrowing the problem down to a single issue.  For example, create a reduced version of your application that contains just one feature that uses a remote url connection to a known working site like "google.com", see if that works and scale up from there?  Also, if you could raise your logging granularity to INFO that might give us more information on what specifically is failing.

Thanks,

Cameron

Andrew_Paterson

Hi

I tried to replicate this issue and can't.  I created a new application, added a feature called iTreeWare and configured to a remote url connection called TreewareBLOG that pointed to your blog. I didn't tick the Network access as I thought that may have been the problem, but the app deployed and showed an error relating to not having access to url.

I then ticked the Network access box and redeployed and it works fine.

[Note that you shouldn't need to update the whitelist in maf-application.xml . That is supposed to be populated on build from your connections. Doubt that is the problem but you may want to remove your hand crafted list, if you did so, and check again?]

As Cameron suggested, go back to basics and a single feature and connection and see if that works. 

FYI - my version of oracle.adfm is 12.1.3.1.41.140623.0901  (check under extensions. Maybe your patch wasn't successful?)

TreeStrepek-JavaNet

Hey Oracle Crew:

I created a super-simple MAF application with only 1 feature.  The feature is simply a remote URL to www.google.com.  This app builds & deploys without error.  However, as before, this app is hanging at runtime.  Here are my logs.  Search for "###" to see where my applicationLifeCycleListener gets triggered...

I appreciate any assistance you can offer as I am still trying to get any variety of confidence in the new MAF stack.  So far~ no luck for me.

TreeStrepek

2014-08-0

2014-08-04 10:19:02.654 Oracle_ADFmc_Container_Template[28920:60b] Perf log: Application startup, timestamp: 1407165542654.556152

[INFO - oracle.adfmf.framework - ADFCommandLineArgs - (-)parseCommandLineArgs] line:75 - thread:<NSThread: 0xc93ab30>{name = (null), num = 1} - /Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/Oracle_ADFmc_Container_Template = <null>

[INFO - oracle.adfmf.framework - ADFCommandLineArgs - (-)parseCommandLineArgs] line:75 - thread:<NSThread: 0xc93ab30>{name = (null), num = 1} - -consoleRedirect = FALSE

[FINEST - oracle.adfmf.framework - AdfmfMobileApplication - (-)launchApplication] line:103 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Launching application

[INFO - oracle.adfmf.framework - AdfmfMobileApplication - (-)configureLogging] line:453 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Launching MAF Application with parameters '{

    "-consoleRedirect" = FALSE;

    "/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/Oracle_ADFmc_Container_Template" = "<null>";

}'

[FINEST - oracle.adfmf.framework - AdfmfMobileApplication - (-)configureLogging] line:460 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Explicitly NOT redirecting console output to a file

[FINEST - oracle.adfmf.framework - AdfmfMobileApplication - (-)activeDirectory] line:250 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Determined the current active directory for the mobile application is '/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app'

2014-08-04 10:19:02.785 Oracle_ADFmc_Container_Template[28920:f03] Reachability Flag Status: -R -----l- networkStatusForFlags

[INFO - oracle.adfmf.framework - __43AdfmfMobileApplication - (-)launchApplication_block_invoke178] line:179 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Application Launch: Starting the java virtual machine

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:42 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Starting Java using main class 'oracle.adfmf.framework.JavaFramework'

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:54 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - -cp paramter = /Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app:/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/user/opc-sync-client-adfmf.jar:/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/lib/j2me_jce.jar:/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/lib/java_crw_demo.jar:/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/lib/sunrsasign.jar:/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/lib/zi.jar

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:59 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - CVM debugging port: 0  classpath: /Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app:/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/user/opc-sync-client-adfmf.jar:/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/lib/j2me_jce.jar:/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/lib/java_crw_demo.jar:/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/lib/sunrsasign.jar:/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/lib/zi.jar   main-class: oracle.adfmf.framework.JavaFramework

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:85 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Adding -Duser.language=-Duser.language=en

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:109 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Adding -Duser.region=

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:118 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Adding -Duser.timezone=GMT-5:00

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:131 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Adding Custom Argument: '-Xms15M'

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:131 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Adding Custom Argument: '-Xmn7M'

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:131 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Adding Custom Argument: '-Xmx30M'

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:162 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - All args being sent to CVM:

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   -cp

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   /Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app:/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/user/opc-sync-client-adfmf.jar:/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/lib/j2me_jce.jar:/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/lib/java_crw_demo.jar:/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/lib/sunrsasign.jar:/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/lib/zi.jar

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   -Dcom.oracle.net.httpProxySource=native

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   -Duser.language=en

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   -Duser.region=

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   -Duser.timezone=GMT-5:00

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   -Djavax.microedition.io.Connector.protocolpath=oracle.maf.cdc.io

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   -Xms15M

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   -Xmn7M

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   -Xmx30M

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   -Djava.library.path=/Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/lib

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   oracle.adfmf.framework.JavaFramework

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   TeamME

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   -lp

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   /Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/lib/logging.properties

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   -scp

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   /Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/FARs/ApplicationController

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:165 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} -   /Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/Oracle_ADFmc_Container_Template -consoleRedirect=FALSE

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:176 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Starting CVM.

[FINEST - oracle.adfmf.framework - AdfmfJavaVirtualMachine - (-)startJava] line:178 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - CVM is now started.

[FINEST - oracle.adfmf.framework - FeatureContextManager - (-)initWithNames:] line:55 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - FeatureContextManager initialization with with 1 names

[FINEST - oracle.adfmf.framework - FeatureContextManager - (-)initWithNames:] line:64 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Creating a feature context (in FeatureContextManager) for _Control_Channel_

[FINEST - oracle.adfmf.framework - FeatureContext - (-)initWithFeatureContextManager:featureContextId:andName:] line:44 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Created a feature context with context id 0 and name _Control_Channel_

[FINEST - oracle.adfmf.framework - AdfChannel - (-)initWithIndex:systemRequestHandler:andApplicationRequestHandler:] line:70 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - AdfChannel initialize with channel index 0 ....

[FINEST - oracle.adfmf.framework - AdfChannel - (-)channel] line:99 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Creating the control channel ....

[FINEST - oracle.adfmf.framework - AdfChannel - (-)channel] line:110 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Control Channel has been created.

[FINEST - oracle.adfmf.framework - AdfChannel - (-)initWithIndex:systemRequestHandler:andApplicationRequestHandler:] line:77 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - AdfChannel channel 0 [VMChannel id=212049776] is now initialized.

[FINEST - oracle.adfmf.framework - FeatureContextManager - (-)initWithNames:] line:78 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - FeatureContextManager initialization with with 1 names is now complete.

[INFO - oracle.adfmf.framework - AdfmfMobileApplication - (-)observeValueForKeyPath:ofObject:change:context:] line:264 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - The mobile application is switching from state '<null>' to 'active'

[INFO - oracle.adfmf.framework - __43AdfmfMobileApplication - (-)launchApplication_block_invoke178] line:187 - thread:<NSThread: 0xce20b90>{name = (null), num = 2} - Launch of the mobile application is complete.

[INFO - oracle.adfmf.framework - JavaFramework - main] Job: null; Build: null; Revision: null

[INFO - oracle.adfmf.framework - JavaFramework - main] Setting device time zone id: GMT-5:00

[INFO - oracle.adfmf.framework - JavaFramework - main] Initializing Mobile Application Framework

[FINEST - oracle.adfmf.framework - JavaFramework - main] JavaFramework.main arg: TeamME

[FINEST - oracle.adfmf.framework - JavaFramework - main] JavaFramework.main arg: -lp

[FINEST - oracle.adfmf.framework - JavaFramework - main] JavaFramework.main arg: /Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/lib/logging.properties

[FINEST - oracle.adfmf.framework - JavaFramework - main] JavaFramework.main arg: -scp

[FINEST - oracle.adfmf.framework - JavaFramework - main] JavaFramework.main arg: /Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/FARs/ApplicationController

[FINEST - oracle.adfmf.framework - JavaFramework - main] JavaFramework.main arg: /Users/AST/Library/Application Support/iPhone Simulator/7.1/Applications/E058BCA1-4D26-4A28-9E11-D5326CF9F39C/Oracle_ADFmc_Container_Template.app/Oracle_ADFmc_Container_Template -consoleRedirect=FALSE

[FINE - oracle.adfmf.framework - EmbeddedFeatureContextManager - registerAdfElContext] ADF EL Context is now created.

[FINE - oracle.adfmf.framework - EmbeddedFeatureContextManager - FeatureContextManager] Creating the application common class loader (if needed)

[FINE - oracle.adfmf.framework - FeatureContextManager - FeatureContextManager] FCM initialize - pre-register the feature 0 : _Control_Channel_

[INFO - oracle.adfmf.framework - EmbeddedFeatureContext - EmbeddedFeatureContext] Creating FeatureContext id: _Control_Channel_ name: _Control_Channel_

[FINER - oracle.adfmf.framework - AdfChannel - AdfChannel] AdfChannel[0] initialization is now done -- null

[FINEST - oracle.adfmf.framework - AdfControlChannel - AdfControlChannel] AdfControlChannel.init .... starting ... 0 CH= 0

[FINEST - oracle.adfmf.framework - AdfControlChannel - AdfControlChannel] AdfControlChannel.init .... starting ... cm= com.oracle.cvm.channel.Darwin_CVM.VMChannelManagerImpl@fd3dbf4f CH= 0

[FINEST - oracle.adfmf.framework - AdfControlChannel - AdfControlChannel] Attempting to start listening on channel CH= 0

[FINEST - oracle.adfmf.framework - AdfControlChannel - AdfControlChannel] Return from start Listening on channel CH= 0

[INFO - oracle.adfmf.framework - AdfControlChannel - AdfControlChannel] AdfControlChannel.init .... SUCCEEDED on CH = 0

[INFO - oracle.adfmf.framework - EmbeddedFeatureContextManager - createFeatureContext] Embedded: feature context _Control_Channel_ was created.

[FINE - oracle.adfmf.framework - FeatureContextManager - FeatureContextManager] FCM initialize - pre-register the feature 1 : _EMBEDDED_TO_NATIVE_FEATURE_

[INFO - oracle.adfmf.framework - EmbeddedFeatureContext - EmbeddedFeatureContext] Creating FeatureContext id: _EMBEDDED_TO_NATIVE_FEATURE_ name: _EMBEDDED_TO_NATIVE_FEATURE_

[FINER - oracle.adfmf.framework - AdfChannel - getVMChannel] Attempting to create the underlying channel [AdfChannel id=     1, created=1407165542893].

[FINEST - oracle.adfmf.framework - __52FeatureContextManager - (-)featureContextForFeatureId:_block_invoke] line:94 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - In FeatureContextManager.featureContextForFeatureId context count 1 - getting context for '_EMBEDDED_TO_NATIVE_FEATURE_'

[INFO - oracle.adfmf.framework - AdfChannel - getVMChannel] AdfChannel[1]: Underlying channel created. Attempting to start listening on channel

[FINEST - oracle.adfmf.framework - FeatureContextManager - (-)adfChannel:didCreateChannel:] line:211 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - Creating a feature context (in FeatureContextManager) for _EMBEDDED_TO_NATIVE_FEATURE_

[FINEST - oracle.adfmf.framework - FeatureContext - (-)initWithFeatureContextManager:featureContextId:andName:] line:44 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - Created a feature context with context id 1 and name _EMBEDDED_TO_NATIVE_FEATURE_

[FINEST - oracle.adfmf.framework - FeatureContextManager - (-)adfChannel:didCreateChannel:] line:221 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - Starting the container side AdfChannel for feature context 1:_EMBEDDED_TO_NATIVE_FEATURE_

[FINEST - oracle.adfmf.framework - AdfChannel - (-)initWithIndex:systemRequestHandler:andApplicationRequestHandler:] line:70 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - AdfChannel initialize with channel index 1 ....

[FINER - oracle.adfmf.framework - AdfChannel - getVMChannel] Return from start listening on channel [AdfChannel id=     1, created=1407165542893]

[FINEST - oracle.adfmf.framework - AdfChannel - (-)channel] line:113 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - AdfChannel.getting the underlying VMChannel for channel 1

[FINEST - oracle.adfmf.framework - AdfChannel - (-)channel] line:116 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - AdfChannel starting to listen on channel 1

[FINER - oracle.adfmf.framework - AdfChannel - AdfChannel] AdfChannel[1] initialization is now done -- [CVM Channel-1, State=created, ableToSend=Yes] -

[FINEST - oracle.adfmf.framework - AdfChannel - (-)initWithIndex:systemRequestHandler:andApplicationRequestHandler:] line:77 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - AdfChannel channel 1 [VMChannel id=213234096] is now initialized.

[INFO - oracle.adfmf.framework - EmbeddedFeatureContextManager - createFeatureContext] Embedded: feature context _EMBEDDED_TO_NATIVE_FEATURE_ was created.

[FINE - oracle.adfmf.framework - FeatureContextManager - FeatureContextManager] FCM initialize - pre-register the feature 2 : _NATIVE_TO_EMBEDDED_FEATURE_

[INFO - oracle.adfmf.framework - EmbeddedFeatureContext - EmbeddedFeatureContext] Creating FeatureContext id: _NATIVE_TO_EMBEDDED_FEATURE_ name: _NATIVE_TO_EMBEDDED_FEATURE_

[FINER - oracle.adfmf.framework - AdfChannel - getVMChannel] Attempting to create the underlying channel [AdfChannel id=     2, created=1407165542897].

[FINEST - oracle.adfmf.framework - __52FeatureContextManager - (-)featureContextForFeatureId:_block_invoke] line:94 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - In FeatureContextManager.featureContextForFeatureId context count 2 - getting context for '_NATIVE_TO_EMBEDDED_FEATURE_'

[FINEST - oracle.adfmf.framework - FeatureContextManager - (-)adfChannel:didCreateChannel:] line:211 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - Creating a feature context (in FeatureContextManager) for _NATIVE_TO_EMBEDDED_FEATURE_[INFO - oracle.adfmf.framework - AdfChannel - getVMChannel] AdfChannel[2]: Underlying channel created. Attempting to start listening on channel

[FINEST - oracle.adfmf.framework - FeatureContext - (-)initWithFeatureContextManager:featureContextId:andName:] line:44 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - Created a feature context with context id 2 and name _NATIVE_TO_EMBEDDED_FEATURE_

[FINEST - oracle.adfmf.framework - FeatureContextManager - (-)adfChannel:didCreateChannel:] line:221 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - Starting the container side AdfChannel for feature context 2:_NATIVE_TO_EMBEDDED_FEATURE_

[FINEST - oracle.adfmf.framework - AdfChannel - (-)initWithIndex:systemRequestHandler:andApplicationRequestHandler:] line:70 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - AdfChannel initialize with channel index 2 ....

[FINER - oracle.adfmf.framework - AdfChannel - getVMChannel] Return from start listening on channel [AdfChannel id=     2, created=1407165542897]

[FINEST - oracle.adfmf.framework - AdfChannel - (-)channel] line:113 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - AdfChannel.getting the underlying VMChannel for channel 2

[FINEST - oracle.adfmf.framework - AdfChannel - (-)channel] line:116 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - AdfChannel starting to listen on channel 2

[FINER - oracle.adfmf.framework - AdfChannel - AdfChannel] AdfChannel[2] initialization is now done -- [CVM Channel-2, State=created, ableToSend=Yes] -

[FINEST - oracle.adfmf.framework - AdfChannel - (-)initWithIndex:systemRequestHandler:andApplicationRequestHandler:] line:77 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - AdfChannel channel 2 [VMChannel id=211278496] is now initialized.

[INFO - oracle.adfmf.framework - EmbeddedFeatureContextManager - createFeatureContext] Embedded: feature context _NATIVE_TO_EMBEDDED_FEATURE_ was created.

[FINE - oracle.adfmf.framework - FeatureContextManager - FeatureContextManager] FCM initialize - pre-register the feature 3 : _HIDDEN_BACKGROUND_FEATURE_

[INFO - oracle.adfmf.framework - EmbeddedFeatureContext - EmbeddedFeatureContext] Creating FeatureContext id: _HIDDEN_BACKGROUND_FEATURE_ name: _HIDDEN_BACKGROUND_FEATURE_

[FINER - oracle.adfmf.framework - AdfChannel - getVMChannel] Attempting to create the underlying channel [AdfChannel id=     3, created=1407165542900].

[FINEST - oracle.adfmf.framework - __52FeatureContextManager - (-)featureContextForFeatureId:_block_invoke] line:94 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - In FeatureContextManager.featureContextForFeatureId context count 3 - getting context for '_HIDDEN_BACKGROUND_FEATURE_'

[FINEST - oracle.adfmf.framework - FeatureContextManager - (-)adfChannel:didCreateChannel:] line:211 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - Creating a feature context (in FeatureContextManager) for _HIDDEN_BACKGROUND_FEATURE_

[FINEST - oracle.adfmf.framework - FeatureContext - (-)initWithFeatureContextManager:featureContextId:andName:] line:44 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - Created a feature context with context id 3 and name _HIDDEN_BACKGROUND_FEATURE_

[FINEST - oracle.adfmf.framework - FeatureContextManager - (-)adfChannel:didCreateChannel:] line:221 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - Starting the container side AdfChannel for feature context 3:_HIDDEN_BACKGROUND_FEATURE_

[INFO - oracle.adfmf.framework - AdfChannel - getVMChannel] AdfChannel[3]: Underlying channel created. Attempting to start listening on channel

[FINEST - oracle.adfmf.framework - AdfChannel - (-)initWithIndex:systemRequestHandler:andApplicationRequestHandler:] line:70 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - AdfChannel initialize with channel index 3 ....

[FINEST - oracle.adfmf.framework - AdfChannel - (-)channel] line:113 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - AdfChannel.getting the underlying VMChannel for channel 3

[FINEST - oracle.adfmf.framework - AdfChannel - (-)channel] line:116 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - AdfChannel starting to listen on channel 3

[FINER - oracle.adfmf.framework - AdfChannel - getVMChannel] Return from start listening on channel [AdfChannel id=     3, created=1407165542900]

[FINEST - oracle.adfmf.framework - AdfChannel - (-)initWithIndex:systemRequestHandler:andApplicationRequestHandler:] line:77 - thread:<NSThread: 0xca3a3a0>{name = (null), num = 4} - AdfChannel channel 3 [VMChannel id=211029408] is now initialized.

[FINER - oracle.adfmf.framework - AdfChannel - AdfChannel] AdfChannel[3] initialization is now done -- [CVM Channel-3, State=created, ableToSend=Yes] -

[INFO - oracle.adfmf.framework - EmbeddedFeatureContextManager - createFeatureContext] Embedded: feature context _HIDDEN_BACKGROUND_FEATURE_ was created.

[FINE - oracle.adfmf.framework - LifeCycleStateModel - transition] attempting to transition from UNINITIALIZED to INTIALIZATION

[FINE - oracle.adfmf.framework - LifeCycleStateModel - transition] invoking oracle.adfmf.framework.AdfmfFrameworkApplicationListener.init

[FINE - oracle.adfmf.framework - Environment - getEnvironment] Obtaining the environment from the container

I'm wondering if this is similar to Not able to deploy Sample HelloWorld application (Provided with MAF) in Emulator.

In that case there was an invalid feature in the view controller that was causing the application to fail to work.  I notice this error:

[WARNING - oracle.adfmf.framework - EmbeddedToNativeRequestHandler - (-)getActivationOptions:] line:115 - thread:<NSThread: 0xcb5b6e0>{name = AdfChannel[index=1,AppHandler=FeatureContext[index=1,name=_EMBEDDED_TO_NATIVE_FEATURE_]], num = 5} - Unable to obtain activation options for the feature identified by 'iTreewareBLOG';  the feature does not exist or is not available


which makes me wonder if there are features still active or partially active in your application other than the google one (the warning above is for iTreewareBLOG). 

TreeStrepek-JavaNet

Hey Cameron:

#1: I have the patch installed. Noticeably Strange behavior in MAF- the patch ---xxx351 never disappears out of my updates window. It's there every time I check for updates/ patches. I have taken this a quark of MAF & ignore it. But other developers may be thinking this means the patch never installed.

#2: Network access was always turned on in my app. (I believe that's what you wanted me to pick up from the link).

#3: I am going to start over and create a single app with a single feature (AGAIN).

I have many hours into trying to build, deploy, run, test an MAF app. It is a good thing I can still move forward in ADF Mobile for my company.

Not a Quitter!

~TreeStrepek

Screenshot 2014-08-04 15.03.08.png

Screenshot 2014-08-04 15.06.48.png

Screenshot 2014-08-04 14.51.17.png

TreeStrepek-JavaNet
Answer

Hey All:  If you run across similar issues, here's the fix:

  1. Confirm the patch has successfully been installed
    1. Goto Help ->About
    2. Extensions tab
    3. click on the Name column (to order)
      1. check that the extension for "ADF Model Data Control Adapters" is different than "ADF Model Overview Editor".
        1. if they are the same, you have a patch installation issue ->and may need to reinstall JDev
  2. Delete the current app & restart simple
    1. This was my issue.  Some feature corrupted.  I restarted a brand new app with 1 basic feature, deployed it & ran it and started building from there...

Happy Coding To all my Fellow Nerds/Nerdettes !

TreeSrepek

Marked as Answer by TreeStrepek-JavaNet · Sep 27 2020
Cameron Bateman-Oracle

Hi TreeStrepek,

You might also try OEPE to do your MAF development.  You don't need to apply a patch to enable the tools and our feature and application editors have validation that have helped others detect these issues without delete/restart.  For example, Not able to deploy Sample HelloWorld application  (Provided with MAF) in Emulator. that I linked above.

Thanks,

Cameron

1 - 12

Post Details

Added on Jul 28 2014
12 comments
3,831 views