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

Similar Messages

  • ADF Mobile - Debugging iOS through XCODE Pkg

    I downloaded Frank's example on the image upload. I deployed the webservice to my standalone WLS.
    I migrated the mobile app (PhotoBox) to 11.1.2.4 and made the necessary migration changes per the document.
    I deployed the app to a distribution package and opened up the xcode project in Xcode 4.6.2. I added -consoleRedirect=FALSE to my debug scheme and it dumps a lot of output to the console when I run it on my device.
    The issue with this is I am trying to invoke the UPLOAD process on the Image Upload screen on the device. It doesn't error out ... it acts as if it's uploading the image, but doesn't do anything. It just stays on the Image Upload screen.
    The output in my Xcode console doesn't display any error messages as well. It says "Cordova Response Success" after alot of other callbacks.
    Any suggestions on what else I can do to debug this issue?

    Vik2 wrote:
    I know i can deploy the same app to iOS by creating a deployment profile. However, I am little confused on this based on tutorials.
    So, the question is can i develop a ADF Mobile app on a windows machine and keep testing it on a android device and once satisfied can just create a deployment profile and deploy to iOS ?
    what could be the possible issues?
    how much it is important to test it on an actual iOS device during development ?
    Also does iOS emulator work on windows machine as i am seeing in tutorial to use a mac and install xCode.You can't test/deploy iOS apps on a Windows. You will need a Mac with XCode.
    In general, the apps you develop will run very smooth on iOS (better then Android). So you could asume everything works fine in iOS.
    However, you should test it to be sure. Since there are some minor differences between iOS and Android.

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

    Hi,
    I need to set breakpoint in ADF mobile project while debugging in Android emulator,Can anyone tell me how to set breakpoint ????

    Hi,
    see this: https://blogs.oracle.com/shay/entry/debugging_adf_mobile_apps_on
    and
    the product documentation: http://docs.oracle.com/cd/E35521_01/doc.111230/e24475/debugging.htm
    Frank

  • 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 - 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);

  • 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

  • Issues in ADF mobile application using Trinidad components

    I am facing the following issues when developing a mobile application using trinidad components :
    Jdev version : 11.1.1.6
    1) I dont see a date component using trinidad components? The dev guide http://docs.oracle.com/cd/E23943_01/web.1111/e10140/sup_comp.htm says that tr:inputDate is supported but when i try to drag a data field to jsf page i don't see an option for Trinidad date component. so i went ahead and created an af:inputDate in the page. But the date selection dialog doesnt open up.
    2) i tried using 'Rendered' for conditional rendering of a component but it does not work or refresh immediately, the same problem is solved in my adf application using visible property but looks like there is no 'Visible' property for Trinidad components. any work around?
    3) i wanted to have a 'create insert' call in my task flow before launching the page. Since Task flows are not supported in ADF mobile application, i have added 'ADF Faces' also into my project and created task flow and jsff page as i do for a adf web application the only diff being the usage of trinidad components in my jsff page. is this fine? Also can we mix trinidad components and adf components into the same page?
    4) I have a tr:inputText on a clob input text field which i am updating in ADF page using a clob converter class. Same thing i cannot do for trinidad text as it is resulting in null pointer exception. any solution to update clob fields into database which uses tr:inputText compents.
    Help to solve any one of the above issues (by quoting serial no) would be highly appreciated. Thanks.

    >
    4) I have a tr:inputText on a clob input text field which i am updating in ADF page using a clob converter class. Same thing i cannot do for trinidad text as it is resulting in null pointer exception. any solution to update clob fields into database which uses tr:inputText compents.
    wht is the stack trace.. when is it giving null pointer exception.. explain
    >
    Below is the code for an inputText component based on a CLOB Field.
    <tr:inputText value="#{bindings.ObsComments.inputValue}"
                        label="#{bindings.ObsComments.hints.label}"
                        required="#{bindings.ObsComments.hints.mandatory}"
                        columns="#{bindings.ObsComments.hints.displayWidth}"
                        maximumLength="#{bindings.ObsComments.hints.precision}"
                        id="it4" rows="4" binding="#{ObsMobileBean.obsComments}"
                        showRequired="#{bindings.WoNeeded.attributeValue eq 'Y'}"
                        partialTriggers="sbc1" converter="ClobConverter">
            <f:validator binding="#{bindings.ObsComments.validator}"/>
          </tr:inputText>When i try to render the page it self i face this error initially.
    >
    java.lang.NullPointerException
         at sfi.apps.sso.mobileUi.util.ClobConverter.getAsString(ClobConverter.java:41)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ValueRenderer.getConvertedString(ValueRenderer.java:63)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.EditableValueRenderer.getConvertedString(EditableValueRenderer.java:163)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleInputTextRenderer.renderContent(SimpleInputTextRenderer.java:364)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleInputTextRenderer.encodeAllAsElement(SimpleInputTextRenderer.java:121)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormElementRenderer.encodeAll(FormElementRenderer.java:109)
         at org.apache.myfaces.trinidad.render.CoreRenderer.delegateRenderer(CoreRenderer.java:435)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.InputLabelAndMessageRenderer.renderFieldCellContents(InputLabelAndMessageRenderer.java:146)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer._renderFieldCell(LabelAndMessageRenderer.java:492)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer.encodeAll(LabelAndMessageRenderer.java:359)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.InputLabelAndMessageRenderer.encodeAll(InputLabelAndMessageRenderer.java:124)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:911)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:48)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1419)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1338)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:312)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:137)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:133)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer._encodeChildren(RegionRenderer.java:278)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer.encodeAll(RegionRenderer.java:201)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at oracle.adf.view.rich.component.fragment.UIXRegion.encodeEnd(UIXRegion.java:300)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:69)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:142)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:151)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:78)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    Now if i remove the tag converter="ClobConverter" then the page renders fine but when i try to submit the values back into the database, then i got the error
    >
    Cannot convert <entered text> of type class java.lang.String to class oracle.jbo.domain.ClobDomain
    >
    My clob converter class is registered in faces-config.xml file and the code for it is also pasted below for reference:
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.convert.Converter;
    import javax.faces.convert.ConverterException;
    import oracle.jbo.domain.ClobDomain;
    public class ClobConverter implements Converter {
        public ClobConverter() {
        public Object getAsObject(FacesContext context, UIComponent component,
                                  String value) {
            if (context == null || component == null) {
                throw new NullPointerException("FacesContext and UIComponent can not be null");
            if (value == null) {
                return null;
            try {
                return new ClobDomain(value);
            } catch (Exception ex) {
                final String message =
                    String.format("Unable to convert boolean value \"%s\" into a oracle.jbo.domain.Number",
                                  value);
                throw new ConverterException(message, ex);
        public String getAsString(FacesContext context, UIComponent component,
                                  Object value) {
            if (context == null || component == null) {
                throw new NullPointerException("FacesContext and UIComponent can not be null");
            return value.toString();
    }

  • ADF Mobile - Phone Performance Issues

    Hello,
    I've been using ADF Mobile for a while now. All's going well - I'm able to access web-based data services etc and everything seems to work. I do have a couple of couple of questions regarding performance on the phone though and I was wondering if anyone could offer some help/advice etc.
    I've followed all the steps here: https://blogs.oracle.com/mobile/entry/configuration_tips_for_better_performance
    ...but with no visibile improvements. My issues are:
    <1> Once the app is deployed, starting it for the first time takes around 2 minutes. All subsequent start-ups of the app after this take a couple of seconds, even after a shutdown of the phone. I'm not sure how to determine what exactly is happening during this phase, and why this takes so long just the first time? The duration for this also seems to have increased as I've added pages to my app, and as it only has 4 at the moment I'm concerned that adding much more to it will make the problem worse.
    <2> I use "listItems" on most pages in a "panelGroupLayout", and the scrolling performance is very poor. All other apps I have on my phone scroll very smoothly. With my ADF app, you drag your finger to scroll up or down and there's a noticeable delay before all the rows move in one go with no visible scrolling actually taking place. This happens even when all the rows to be displayed are loaded on to the page and there's no more calling of the web service necessary. I've deployed the sample "DeviceDemo" to my phone and the "Properties" page has the same problem. The scrolling is very poor.
    I've done a fair bit of Googling on this without much success, Any help or suggested reading on any of this would be very much appreciated.
    Cheers, Rich.
    Edited by: user10788009 on 15-Feb-2013 05:44 - Spelling

    Currently there is no 'solution' for this problem.
    A quote from Joe
    Joe Huang wrote:
    Hi
    First you would need to deploy the application in "Release Mode". This requires you to create a Java Keystore and a certificate using the Java keytool, and then you would use it to compile the app. If you have done that, then can you please help explain what these pages are doing, and observed performance?
    Unfortunately Galaxy Tab 2 is a bit old - if you have done everything to optimize the app, this could be due to older Android OS. Android OS (especially version 2.x) does not support HTML5/JS well, and performance is much worse than HTML5/JS running on Android 4.x devices. This is more than just HW differences - this is primarily due to the web engine used by the webview.
    This is also somewhat a general issue with Android - Chrome is a much faster browser on Android, but unfortunately the webview (which ADF Mobile leverages) is not yet based on Chrome. If and when they switch to Chrome, the JavaScript/HTML5 support would start to rival that of the iOS.
    Thanks,
    Joe Huang

  • ADF mobile Client App: Issue about using db sequence for populating row_id

    Hi,
    I'm working on an ADF mobile client app POC project. In the mobile app, new record can be created, the column type for row_id is VARCHAR2(15), I used the db sequence created in MC db, converted the seq number to a string, then set row_id via initDefaults method.
    The new records are created and row_ids are set with the proper sequence numbers when first time launching the client app in blackberry simulator. But if I exit the app and re-launch the app again, I got net.rim.device.api.database.DataTypeExpection when trying to create a new record.
    Could anyone please help me and let me know what could cause this issue? What should be the proper way to populate the row_id? Appreciate your response in advance!
    Jdev/ADFMobile extension version:
    11.1.1.4.0 build 5860
    mobile server version:
    10.3.0.3
    blackberry version:
    BlackBerry JDE 5.0.0
    BlackBerry Smartphone Simulators 6.0.0.141 (9800)
    Code:
    public class SOrgExtEOImpl extends EntityImpl {
    protected void initDefaults() {
    super.initDefaults();
    SequenceImpl seq = new SequenceImpl("S_SIEBELMOBILE_S_ORG_EXT", getDBTransaction());
    populateAttributeAsChanged(ROWID1, seq.getSequenceNumber().toString());
    Log:
    First time launching the MC app:
    [FINE - adfnmc.bindings - BC4JIteratorBinding - createRow]
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 0 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 1 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 2 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 3 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 4 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 5 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 6 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 7 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 8 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 9 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 10 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 11 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 12 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 1 to 2010-12-20 14:58:13.0
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 3 to 2010-12-20 14:58:13.0
    [FINE - adfnmc.model - SequenceImpl - create] Database SQLite doesn't support sequences natively; creating TableSequenceImpl for
    S_SIEBELMOBILE_S_ORG_EXT
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 0 to 73501
    [FINE - adfnmc.model - EntityImpl - getAttribute] Retrieved from siebel.mobile.SOrgExtEO.CreatedBy at index 2
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 2 to 1-11ZQ
    [FINE - adfnmc.model - EntityImpl - getAttribute] Retrieved from siebel.mobile.SOrgExtEO.LastUpdBy at index 4
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 4 to 1-53Y
    [FINE - adfnmc.model - EntityImpl - getAttribute] Retrieved from siebel.mobile.SOrgExtEO.BuId at index 5
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 5 to 1-1DG
    [INFO - adfnmc.model - MetaObjectManager - findOrLoadMetaObject] MetaObject siebel.mobile.AccountAddressFKAssoc not found in cache, so
    loading it from XML
    [INFO - adfnmc.model - MetaObjectManager - findOrLoadMetaObject] MetaObject siebel.mobile.ActivityAccountFKAssoc not found in cache, so
    loading it from XML
    [FINE - adfnmc.bindings - BC4JIteratorBinding - notifyRowInserted]
    [FINE - adfnmc.bindings - IteratorExecutableBindingImpl - rowInserted] IterBinding - AccountPageDef:AccountAddressView1Iterator
    [FINE - adfnmc.bindings - IteratorExecutableBindingImpl - notifyRowInserted] IterBinding - AccountPageDef:AccountAddressView1Iterator
    [FINE - adfnmc.bindings - RangeBindingImpl - rowInserted] AccountAddressView1
    [FINE - adfnmc.bindings - RangeBindingImpl - notifyNewElement] AccountAddressView1, index:0
    [FINE - adfnmc.ui - BBTable - newElement] relativeIndex = 0
    [FINE - adfnmc.bindings - RangeBindingImpl - setVariableIndex] Begin, AccountAddressView1, listener: oracle.adfnmc.component.ui.BBTable$1
    [FINE - adfnmc.bindings - SimpleContext$Variables - setVariable] Setting variable "row" to expression #
    {AccountPageDef_AccountAddressView1_rowAlias}
    [FINE - adfnmc.ui - BBOutputText - endInit]
    Re-launching the MC app:
    INFO - adfnmc.bindings - BC4JOperationBinding - execute] Preparing to execute OperationBinding id:'CreateInsert'
    [FINE - adfnmc.bindings - BC4JIteratorBinding - createRow]
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 0 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 1 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 2 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 3 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 4 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 5 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 6 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 7 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 8 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 9 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 10 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 11 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 12 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 1 to 2010-12-20 15:08:35.0
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 3 to 2010-12-20 15:08:35.0
    [FINE - adfnmc.model - SequenceImpl - create] Database SQLite doesn't support sequences natively; creating TableSequenceImpl for
    S_SIEBELMOBILE_S_ORG_EXT
    [INFO - adfnmc.ui - ErrorHandlerImpl - reportException] BindingContainer: AccountPageDef, exception: oracle.adfnmc.AMCJboException
    [WARNING - adfnmc.ui - ErrorHandlerImpl - reportException] [oracle.jbo.server.SequenceImpl$TableSequenceImpl.retrieveSequenceParamsFromDB]
    oracle.adfnmc.AMCJboException: ADF-MNC-60109: Error retrieving sequence parameters for sequence S_SIEBELMOBILE_S_ORG_EXT
    [WARNING - adfnmc.ui - ErrorHandlerImpl - reportException] oracle.adfnmc.java.sql.SQLException:
    net.rim.device.api.database.DataTypeException:Datatype mismatch
    [WARNING - adfnmc.ui - ErrorHandlerImpl - reportException] Unable to retrieve String at index 2
    [WARNING - adfnmc.ui - ErrorHandlerImpl - reportException]
    [FINE - adfnmc.ui - MessageBox - show] message=oracle.adfnmc.AMCJboException: ADF-MNC-60109: Error retrieving sequence parameters for
    sequence S_SIEBELMOBILE_S_ORG_EXT
    [FINE - adfnmc.ui - MessageBox - show] oracle.adfnmc.java.sql.SQLException: net.rim.device.api.database.DataTypeException:Datatype mismatch
    [FINE - adfnmc.ui - MessageBox - show] Unable to retrieve String at index 2

    >
    >
    using 10gR2 on Sun-Solaris. Getting consistently "db file parallel read" over 35 ms as an average wait for the past few months. No performance issues as such.
    Using RAID 1+0. DB Size is 2 TB. Transactions are OLTP/Batch
    Is this metric high or normal. How to justify that..
    Looking at your results it's not really possible to say.
    db file parallel read is a request for a number of randomly distirbuted blocks, and the time for a read is the time for the last block of the set to be returned.
    Without knowing how many blocks are being requested at a time you can't really determine what constitutes a reasonable time. Given that you say OLTP + Batch, and have a large volume of scattered reads, it's quite possible that you have some queries on the Batch side doing very large index range scans - which would allow for some very large db file parallel reads.
    I take it from the use of statspack that you're not licensed for the diagnostic and performance packs; it would be easy to query v$active_session_history to get some idea of the number of blocks per request as this is given by the P2 parameter. As it is. you may be able to get a rough idea by messing about with the various "physical read" numbers in the Instance Activity section of statspack.
    Regards
    Jonathan Lewis

  • ADF Mobile bundle extension issue

    Hi
    I've just installed adf_mobile_bundle extension in Jdeveloper (as described here https://blogs.oracle.com/brunoborges/entry/first_steps_with_oracle_adf).
    It seems ok,but jdeveloper ,once, restarted doesn't reflect the changing expected : no ADF mobile application , no evidence in the >tools>preferences form.
    do i have done something wrong?
    Regards
    Max

    thank for your prompt response but it doesn't work.
    I'm newbie so it might be possible that i have doing something wrong. For istance it sound strange me see that jdeveloper, once specified the folder and the file adf-mobile_bundle.zip doesn't execute any setup step. It just shows me some information about the licence and after having clicked OK it suddenly asks to restart..I mean , I should have expect at least a run of unzip step, install process..stuff like this or jdeveloper waits the restart for doing this?
    Regards
    Max

  • ADF Mobile: Code Signing Error Workaround

    Hi, everyone:
    If you are doing ADF Mobile development, and you need to deploy the application to an iOS device, you would need to compile/deploy the app with iOS App Certificates and Provisioning Profile. This means you would need to "Deploy to Package" or "Deploy to iTunes" during deployment, and configure JDeveloper with the proper certificates/profiles. In some instances (exact combination is still not clear), deploy and signing the application to generate the ipa file may fail with similar error message at the end of the deployment log:
    [01:04:45 PM] 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 Distribution: Oracle Corporation resource-rules=/var/folders/x7/21sjrpx13qj9tq20z14s3j_w0000gn/T/tkROhP11qU/Payload/HelloWorld.app/ResourceRules.plist --entitlements /var/folders/x7/21sjrpx13qj9tq20z14s3j_w0000gn/T/tkROhP11qU/entitlements_plistEINPBkIG /var/folders/x7/21sjrpx13qj9tq20z14s3j_w0000gn/T/tkROhP11qU/Payload/HelloWorld.app failed with error 1. Output: /var/folders/x7/21sjrpx13qj9tq20z14s3j_w0000gn/T/tkROhP11qU/Payload/HelloWorld.app: replacing existing signature Program /usr/bin/codesign returned 1 : [/var/folders/x7/21sjrpx13qj9tq20z14s3j_w0000gn/T/tkROhP11qU/Payload/HelloWorld.app: replacing existing signature 
    This issue is a known issue and is not related to ADF Mobile. The workaround is discussed in this article:
    http://stackoverflow.com/questions/7425840/that-codesign-returned-1-object-ifile-format-invalid-or-unsuitable-problem-aga
    This article refers to the old location of Xcode, so you would need to adjust the paths accordingly. The path for Xcode 4.3 and above would be like:
    /Applications/Xcode.app/Contents//Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/PackageApplication to this script file.
    To modify it, you probably can’t use TextEdit. I end up opening a terminal session, changed the file permission, and used vi to update it.
    This fixed the issue I was having.
    Hope this is helpful - please drop a reply if you encountered the same issue.
    Thanks,
    Joe Huang

    I ran the entire code and the output is:
    [02:40:18 PM] Updating iOS profile dependencies with FAR profiles created from application projects...
    [02:40:18 PM] ---- Deployment started. ----
    [02:40:18 PM] Target platform is (iOS).
    [02:40:18 PM] Beginning deployment of ADF Mobile application 'Application1' to iOS using profile 'IOS_MOBILE_Application1'.
    [02:40:18 PM] Command-line executed: [Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/xcodebuild, -version]
    [02:40:18 PM] Command-line execution succeeded.
    [02:40:18 PM] Running dependency analysis...
    [02:40:18 PM] Building...
    [02:40:18 PM] Deploying 3 profiles...
    [02:40:18 PM] Wrote Archive Module to /java/development/JDev11gBuild6276.1Sandpit/Application1/ApplicationController/deploy/ApplicationController.jar
    [02:40:18 PM] WARNING: No Resource Catalog enabled ADF components found to package
    [02:40:18 PM] Wrote Archive Module to /java/development/JDev11gBuild6276.1Sandpit/Application1/ViewController/deploy/ViewController.jar
    [02:40:18 PM] Verifying Application Controller project exists...
    [02:40:18 PM] Verifying application dependencies...
    [02:40:18 PM] Validating application XML files...
    [02:40:18 PM] Validating XML files in project ApplicationController...
    [02:40:18 PM] Validating XML files in project ViewController...
    [02:40:18 PM] Copying common javascript files...
    [02:40:21 PM] Copying FARs to the ADF Mobile Framework application...
    [02:40:21 PM] Copying FAR from source: ViewController...
    [02:40:21 PM] Copying FAR from source: ApplicationController...
    [02:40:21 PM] Deploying skinning files...
    [02:40:21 PM] Copying the CVM SDK files built for the ARM processor...
    [02:40:21 PM] Copying the CVM JDK files built for the ARM processor...
    [02:40:21 PM] Command-line executed: [cp, -R, -p, /java/jdeveloper/JDev11gBuild6276.1/jdeveloper/jdev/extensions/oracle.adf.mobile/iOS/jvmti/arm/, /java/development/JDev11gBuild6276.1Sandpit/Application1/deploy/IOS_MOBILE_Application1/temporary_xcode_project/lib]
    [02:40:21 PM] Command-line execution succeeded.
    [02:40:21 PM] Command-line executed: [cp, -R, -p, /java/jdeveloper/JDev11gBuild6276.1/jdeveloper/jdev/extensions/oracle.adf.mobile/iOS/jvmti/jar/, /java/development/JDev11gBuild6276.1Sandpit/Application1/deploy/IOS_MOBILE_Application1/temporary_xcode_project/lib]
    [02:40:21 PM] Command-line execution succeeded.
    [02:40:21 PM] Copying security related files to the ADF Mobile Framework application...
    [02:40:22 PM] Command-line executed from path: /java/development/JDev11gBuild6276.1Sandpit/Application1/deploy/IOS_MOBILE_Application1/temporary_xcode_project/
    [02:40:22 PM] Command-line executed: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/xcodebuild clean install -configuration Debug -sdk iphoneos DSTROOT=/java/development/JDev11gBuild6276.1Sandpit/Application1/deploy/IOS_MOBILE_Application1/Destination_Root/ ARCHS=armv7 VALID_ARCHS=armv7 ONLY_ACTIVE_ARCHS=NO CODE_SIGN_IDENTITY=iPhone Developer: Eddie V Phan (QV69QS58FK) IPHONEOS_DEPLOYMENT_TARGET=5.0 TARGETED_DEVICE_FAMILY=1,2 PRODUCT_NAME=Application1 ADD_SETTINGS_BUNDLE=NO
    [02:40:30 PM] ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in CVMmemoryBarrier from Frameworks/OracleCVM.sdk/libcvmadf_arm_debug.a(atomic_arm.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
    [02:40:30 PM] Command-line execution succeeded.
    [02:40:30 PM] Command-line executed from path: /java/development/JDev11gBuild6276.1Sandpit/Application1/deploy/IOS_MOBILE_Application1/Destination_Root/Oracle_ADFmc_Container_Application/device/
    [02:40:30 PM] Command-line executed: /usr/bin/xcrun -sdk iphoneos PackageApplication -v /java/development/JDev11gBuild6276.1Sandpit/Application1/deploy/IOS_MOBILE_Application1/Destination_Root/Applications/Application1.app -o /java/development/JDev11gBuild6276.1Sandpit/Application1/deploy/IOS_MOBILE_Application1/Destination_Root/Oracle_ADFmc_Container_Application/device/Application1.ipa sign iPhone Developer: Eddie V Phan (QV69QS58FK) embed /developement/iOS_Provisioning_Profile/devTest.mobileprovision
    [02:40:31 PM] error: /usr/bin/codesign force preserve-metadata=identifier,entitlements,resource-rules sign iPhone Developer: Eddie V Phan (QV69QS58FK) resource-rules=/var/folders/zm/pnmpplxs2rb7_n29ltfkvpzc0000gn/T/YPzy7_Hf6L/Payload/Application1.app/ResourceRules.plist /var/folders/zm/pnmpplxs2rb7_n29ltfkvpzc0000gn/T/YPzy7_Hf6L/Payload/Application1.app failed with error 1. Output: /var/folders/zm/pnmpplxs2rb7_n29ltfkvpzc0000gn/T/YPzy7_Hf6L/Payload/Application1.app: replacing existing signature
    [02:40:31 PM] Program /usr/bin/codesign returned 1 : [/var/folders/zm/pnmpplxs2rb7_n29ltfkvpzc0000gn/T/YPzy7_Hf6L/Payload/Application1.app: replacing existing signature
    [02:40:31 PM] Command-line execution failed (Return code: 1)
    [02:40:31 PM] Deployment cancelled.
    [02:40:31 PM] ---- Deployment incomplete ----.
    [02:40:31 PM] Failed to package the XCode application.
    [02:40:31 PM] Failed to build the iOS application bundle.
    [02:40:31 PM] 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: Eddie V Phan (QV69QS58FK) resource-rules=/var/folders/zm/pnmpplxs2rb7_n29ltfkvpzc0000gn/T/YPzy7_Hf6L/Payload/Application1.app/ResourceRules.plist /var/folders/zm/pnmpplxs2rb7_n29ltfkvpzc0000gn/T/YPzy7_Hf6L/Payload/Application1.app failed with error 1. Output: /var/folders/zm/pnmpplxs2rb7_n29ltfkvpzc0000gn/T/YPzy7_Hf6L/Payload/Application1.app: replacing existing signature
    Program /usr/bin/codesign returned 1 : [/var/folders/zm/pnmpplxs2rb7_n29ltfkvpzc0000gn/T/YPzy7_Hf6L/Payload/Application1.app: replacing existing signature
    What do you mean by "the "-sign" parameter values look dubious (besides your name :-P), how can it interpret those spaces?"
    The sign parameter that i'm using is from the KeyChain app, so i'm assuming in the preferences where it asks for the Certificate, that its asking for the certificate name in KeyChain? When trying to escape the spaces in the Preferences menu, it complains that the certificate names do not match.. Or am i meant to be using another parameter here..?
    [02:34:07 PM] Command-line executed from path: /java/development/JDev11gBuild6276.1Sandpit/Application1/deploy/IOS_MOBILE_Application1/temporary_xcode_project/
    [02:34:07 PM] Command-line executed: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/xcodebuild clean install -configuration Debug -sdk iphoneos DSTROOT=/java/development/JDev11gBuild6276.1Sandpit/Application1/deploy/IOS_MOBILE_Application1/Destination_Root/ ARCHS=armv7 VALID_ARCHS=armv7 ONLY_ACTIVE_ARCHS=NO CODE_SIGN_IDENTITY=iPhone\ Developer:\ Eddie\ V\ Phan\ \(QV69QS58FK\) IPHONEOS_DEPLOYMENT_TARGET=5.0 TARGETED_DEVICE_FAMILY=1,2 PRODUCT_NAME=Application1 ADD_SETTINGS_BUNDLE=NO
    [02:34:09 PM] [BEROR]Code Sign error: The identity 'iPhone\ Developer:\ Eddie\ V\ Phan\ \(QV69QS58FK\)' doesn't match any valid, non-expired certificate/private key pair in your keychains
    [02:34:09 PM] Code Sign error: The identity 'iPhone\ Developer:\ Eddie\ V\ Phan\ \(QV69QS58FK\)' doesn't match any valid, non-expired certificate/private key pair in your keychains
    [02:34:09 PM] Command-line execution failed (Return code: 65)
    [02:34:09 PM] Deployment cancelled.
    [02:34:09 PM] ---- Deployment incomplete ----.
    [02:34:09 PM] Failed to build the iOS application bundle.
    [02:34:09 PM] Deployment failed due to one or more errors returned by '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/xcodebuild'. The following is a summary of the returned error(s):
    Command-line execution failed (Return code: 65)
    [BEROR]Code Sign error: The identity 'iPhone\ Developer:\ Eddie\ V\ Phan\ \(QV69QS58FK\)' doesn't match any valid, non-expired certificate/private key pair in your keychains
    Code Sign error: The identity 'iPhone\ Developer:\ Eddie\ V\ Phan\ \(QV69QS58FK\)' doesn't match any valid, non-expired certificate/private key pair in your keychains

  • Not able to access SOAP web service data control from adf mobile

    Hi,
    I am trying to call web services from adf mobile..
    I have created data control from external web service and it is perfectlly working on web browser..
    But why it is showing an error on emulator??
    Is there any .jar file missing in adf mobile so that it is not supporting a web service?
    Or is there any other problem? Emulator is connected to network and I am able to run WSDL in emulator's browser..
    Please help me to solve this issue..
    Thanks,
    Laxmi

    Emulator is connected to network and I am able to run WSDL in emulator's browser..
    Connecting to WSDL in the browser is not the same as connecting to WSDL in an application.
    To access a web service from an Android device enable a permission in AndroidManifest.xml that allows applications to open network sockets. Add the following uses-permission element.
    <uses-permission android:name="android.permission.INTERNET"></uses-permission>

  • Error while deploying the ADF Mobile application to the Android Emulator.

    Hi,
    I'm getting an error when trying to deploying a basic helloworld ADF mobile application to my Android sdk emulator which is already running as below.
    I'm not able to make anything from this limited log. Can anyone have a look and help me with what could be wrong.
    Any kind of suggestions are most welcome.
    [06:09:30 PM] Print the version of this tool (1.7).
    [06:09:30 PM] dx --help
    [06:09:30 PM] Print this message.
    [06:09:30 PM] Command-line execution failed (Return code: 1)
    [06:09:30 PM] Command-line executed: "D:\1_DevCore\android_sdk\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\dx.bat" dex debug keep-classes output="D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\classes.dex" D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\classes D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\AND_ksoap.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\Container.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\IDMMobileSDK.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\logging_dalvik_release.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\phonegap.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\vmchannel_dalvik_release.jar
    [06:09:30 PM] Shutting down Android Debug Bridge server...
    [06:09:30 PM] Deployment cancelled.
    [06:09:30 PM] ---- Deployment incomplete ----.
    [06:09:30 PM] Deployment failed due to one or more errors returned by 'D:\1_DevCore\android_sdk\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\dx.bat'. The following is a summary of the returned error(s):
    Command-line execution failed (Return code: 1)
    Thanks,
    Bhasker

    I'm not able to make anything from this limited log.
    For Android emulator logs run the following command.
    adb logcat
    logcat | Android Developers

  • How to install ADF Mobile extension to JDeveloper on OSX 10.8.2

    Using the info from the following discussion thread it was pretty straightforward to install jdeveloper to OSX 10.8.2.
    Re: Jdeveloper install on os x lion (10.7.5)
    as well as the blog posts
    http://adf4beginners.blogspot.be/2012/10/installing-jdeveloper-on-mac-osx-108.html
    https://blogs.oracle.com/shay/entry/installing_jdeveloper_on_mac_os
    Now the issue is that when I try to install the ADF Mobile extension I run into problems:
    I tried installing both directly from the update centres as well as from local file, but the
    only extension available after restart is the "ADF Mobile Help" (oracle.adf.mobile.doc).
    I can also see from the startup console a lot of warning messages of type as indicated below.
    Oracle JDeveloper 11g Release 2 (11.1.2.3.0)
    Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
    Installing updates...
    Jan 10, 2013 9:36:47 PM oracle.ideimpl.deferredupdate.task.BundleDetails getOsgiBundleDetails
    WARNING: Bundle: /Users/gwr/Downloads/jdeveloper/../jdeveloper/jdev/extensions/oracle.adf.mobile/iOS/juel-api-2.2.4-SNAPSHOT.jar has an invalid version number 2.2.4-SNAPSHOT
    Jan 10, 2013 9:36:47 PM oracle.ideimpl.deferredupdate.task.BundleDetails getOsgiBundleDetails
    WARNING: Bundle: /Users/gwr/Downloads/jdeveloper/../jdeveloper/jdev/extensions/oracle.adf.mobile/iOS/juel-impl-2.2.4-SNAPSHOT.jar has an invalid version number 2.2.4-SNAPSHOT
    Jan 10, 2013 9:36:47 PM oracle.ideimpl.deferredupdate.task.BundleDetails getOsgiBundleDetails
    WARNING: Bundle: /Users/gwr/Downloads/jdeveloper/../jdeveloper/jdev/extensions/oracle.adf.mobile/iOS/jvmti/jar/juel-api-2.2.4-SNAPSHOT.jar has an invalid version number 2.2.4-SNAPSHOT
    Jan 10, 2013 9:36:47 PM oracle.ideimpl.deferredupdate.task.BundleDetails getOsgiBundleDetails
    WARNING: Bundle: /Users/gwr/Downloads/jdeveloper/../jdeveloper/jdev/extensions/oracle.adf.mobile/iOS/jvmti/jar/juel-impl-2.2.4-SNAPSHOT.jar has an invalid version number 2.2.4-SNAPSHOT
    Jan 10, 2013 9:36:47 PM oracle.ideimpl.deferredupdate.task.BundleDetails getOsgiBundleDetails
    WARNING: Bundle: /Users/gwr/Downloads/jdeveloper/../jdeveloper/jdev/extensions/oracle.adf.mobile/iOS/release/jar/juel-api-2.2.4-SNAPSHOT.jar has an invalid version number 2.2.4-SNAPSHOT
    Jan 10, 2013 9:36:47 PM oracle.ideimpl.deferredupdate.task.BundleDetails getOsgiBundleDetails
    WARNING: Bundle: /Users/gwr/Downloads/jdeveloper/../jdeveloper/jdev/extensions/oracle.adf.mobile/iOS/release/jar/juel-impl-2.2.4-SNAPSHOT.jar has an invalid version number 2.2.4-SNAPSHOT
    Jan 10, 2013 9:36:47 PM oracle.ideimpl.deferredupdate.task.BundleDetails getOsgiBundleDetails
    WARNING: Bundle: /Users/gwr/Downloads/jdeveloper/../jdeveloper/jdev/extensions/oracle.adf.mobile/lib/juel-api-2.2.4-SNAPSHOT.jar has an invalid version number 2.2.4-SNAPSHOT
    Jan 10, 2013 9:36:47 PM oracle.ideimpl.deferredupdate.task.BundleDetails getOsgiBundleDetails
    WARNING: Bundle: /Users/gwr/Downloads/jdeveloper/../jdeveloper/jdev/extensions/oracle.adf.mobile/lib/juel-impl-2.2.4-SNAPSHOT.jar has an invalid version number 2.2.4-SNAPSHOT
    Jan 10, 2013 9:36:55 PM org.netbeans.core.startup.NbEvents logged
    INFO: Turning on modules:
    Jan 10, 2013 9:36:55 PM org.netbeans.core.startup.NbEvents dumpModulesList
    INFO:      org.openide.util.lookup [8.3.1 201007282301]
         org.openide.util [8.6.2 201103231602]
         org.openide.modules [7.17.2 201008301741]
         org.openide.filesystems [7.38.2 201007282301]
         org.netbeans.core.dynamicconfig [1.0 120919]
         org.netbeans.libs.osgi [1.1.1 201007282301]
         org.netbeans.bootstrap/1 [2.33.5 201104201301]
         org.netbeans.core.startup/1 [1.25.5 201103231602]
         org.netbeans.core.netigso [1.4.5 201011191627]
         org.apidesign.netbinox [1.16.10 110502]
         oracle.ide_osgi [11.1.2 11.1.2]
         com.oracle.jdeveloper.nbbridge [1.1 120919]

    thanks,
    you gave me the courage to move along, and I stumbled across some info
    (should have given a link here, but not able to find the most correct one right now)
    As a matter of fact it seems like several postings in blogs and discussion forums touch this area.
    Just wonder if we could smooth this process a bit.
    issuing this command sequence, did the trick:
    sudo mkdir -p /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/jre/lib
    cd /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/jre/lib
    sudo ln -s /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/classes/classes.jar rt.jar
    Then for jdk location I selected
    /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Contents/Home

Maybe you are looking for

  • Can't see video on NTSC Monitor During Playback

    Since loading FCPS2, I can't get video output to my NTSC Monitor

  • Count number of rows for TWO QUERIES USING MINUS OPERATOR

    I have the following piece of sql, i would like to know how could i programatically using plsql count the number of rows returned by the following statement. I know that %ROWCOUNT returns the rowcount for the last execute INSERT, UPDATE, DELETE and S

  • Wsimport & custom Adapter package names

    I'm working with JAX-WS (2.1.7) How do you change the package name for the generated Adapter classes. They are currently generated in package "org.w3._2001.xmlschema" I can do this with XJC as per [https://jaxb.dev.java.net/guide/Customizing_Java_pac

  • Regarding Form development in apps

    Hi, I developed one custom form in oracle apps, i inserted data into table , but i am not able to see from front end. If am i entered data trough from front end then i am able to see the data. Thanks&Regards, Hanimi

  • ACE not passing the traffic to the server.

    Hi Experts, Could you please help me on this issue:- The users are not able to access the palm application passing through the ACE module. The clients gets to the citrik server and from ther it goes to palm application. Now both external and internal