ADF Mobile - Error deploying to Default Server

Hi
I am currently doing an ADF mobile application, I can successfully build and compile the project but then when i run my br-o.jspx i encounter this error:
C:\bea\jdeveloper\system\system11.1.1.0.31.52.05\DefaultDomain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
JAVA Memory arguments: -Xms256m -Xmx512m
WLS Start Mode=Development
CLASSPATH=;C:\bea\patch_wlw1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\JROCKI~1\lib\tools.jar;C:\bea\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\bea\WLSERV~1.3\server\lib\weblogic.jar;C:\bea\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\bea\WLSERV~1.3\server\lib\webservices.jar;C:\bea\modules\ORGAPA~1.5/lib/ant-all.jar;C:\bea\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\bea\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\bea\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\bea\WLSERV~1.3\server\lib\xqrl.jar;;
PATH=C:\bea\patch_wlw1030\profiles\default\native;C:\bea\patch_wls1030\profiles\default\native;C:\bea\patch_jdev1111\profiles\default\native;C:\bea\patch_cie660\profiles\default\native;C:\bea\WLSERV~1.3\server\native\win\32;C:\bea\WLSERV~1.3\server\bin;C:\bea\modules\ORGAPA~1.5\bin;C:\bea\JROCKI~1\jre\bin;C:\bea\JROCKI~1\bin;C:\Hyperion\common\CSS\9.5.0.0\bin;C:\Hyperion\common\EssbaseRTC\9.5.0.0\bin;C:\app\L308C11\product\11.1.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program Files\ZipGenius 6;C:\Program Files\Microsoft SQL Server\80\Tools\Binn;C:\Program Files\Microsoft SQL Server\90\DTS\Binn;C:\Program Files\Microsoft SQL Server\90\Tools\binn;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies;C:\Hyperion\common\ODBC\Merant\5.2\Drivers;C:\Hyperion\common\ODBC\Merant\5.2\Drivers;C:\bea\WLSERV~1.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32, compiled mode)
Starting WLS with line:
C:\bea\JROCKI~1\bin\java -jrockit -Xms256m -Xmx512m -Xverify:none -da -Dplatform.home=C:\bea\WLSERV~1.3 -Dwls.home=C:\bea\WLSERV~1.3\server -Dweblogic.home=C:\bea\WLSERV~1.3\server -Ddomain.home=C:\bea\JDEVEL~1\system\SYSTEM~1.05\DEFAUL~1 -Doracle.home=C:\bea\jdeveloper -Doracle.security.jps.config=C:\bea\JDEVEL~1\system\SYSTEM~1.05\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\bea\patch_wlw1030\profiles\default\sysext_manifest_classpath;C:\bea\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\bea\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\bea\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\bea\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
<Jul 2, 2009 10:37:17 AM SGT> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\bea\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar>
<Jul 2, 2009 10:37:18 AM SGT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with BEA JRockit(R) Version R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32 from BEA Systems, Inc.>
<Jul 2, 2009 10:37:18 AM SGT> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR380042 Thu Sep 11 13:33:40 PDT 2008
WebLogic Server Temporary Patch for 7372756 Fri Sep 12 17:05:44 EDT 2008
WebLogic Server Temporary Patch for CR381265 Wed Oct 08 10:15:58 PDT 2008
WebLogic Server Temporary Patch for CR380913 Wed Oct 15 13:24:22 PDT 2008
WebLogic Server Temporary Patch for CR382965 Fri Nov 21 15:51:48 PST 2008
WebLogic Server Temporary Patch for CR383260 Thu Nov 20 12:58:15 PST 2008
WebLogic Server Temporary Patch for CR383202 Fri Nov 21 09:58:15 PST 2008
WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 >
<Jul 2, 2009 10:37:20 AM SGT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jul 2, 2009 10:37:20 AM SGT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Jul 2, 2009 10:37:20 AM SGT> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea\jdeveloper\system\system11.1.1.0.31.52.05\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
<Jul 2, 2009 10:37:26 AM SGT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Jul 2, 2009 10:37:35 AM SGT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Jul 2, 2009 10:37:35 AM SGT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jul 2, 2009 10:37:38 AM SGT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Jul 2, 2009 10:37:39 AM SGT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Jul 2, 2009 10:37:39 AM SGT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Jul 2, 2009 10:37:39 AM SGT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.248.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Jul 2, 2009 10:37:39 AM SGT> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Jul 2, 2009 10:37:39 AM SGT> <Warning> <Server> <BEA-002611> <Hostname "L30911.sitfypj.nyp.edu.sg.sitfypj.nyp.edu.sg", maps to multiple IP addresses: 192.168.154.1, 192.168.248.1, 172.20.132.71, 192.168.2.2, 127.0.0.1>
<Jul 2, 2009 10:37:39 AM SGT> <Warning> <Server> <BEA-002611> <Hostname "L30911.sitfypj.nyp.edu.sg", maps to multiple IP addresses: 192.168.154.1, 192.168.248.1, 172.20.132.71, 192.168.2.2, 127.0.0.1>
<Jul 2, 2009 10:37:39 AM SGT> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 192.168.2.2:7101 for protocols iiop, t3, ldap, snmp, http.>
<Jul 2, 2009 10:37:39 AM SGT> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 192.168.154.1, 192.168.248.1, 172.20.132.71, 192.168.2.2, 127.0.0.1>
<Jul 2, 2009 10:37:39 AM SGT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.154.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Jul 2, 2009 10:37:39 AM SGT> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 172.20.132.71:7101 for protocols iiop, t3, ldap, snmp, http.>
<Jul 2, 2009 10:37:39 AM SGT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
<Jul 2, 2009 10:37:39 AM SGT> <Warning> <Server> <BEA-002611> <Hostname "L30911", maps to multiple IP addresses: 192.168.154.1, 192.168.248.1, 172.20.132.71, 192.168.2.2, 127.0.0.1>
<Jul 2, 2009 10:37:39 AM SGT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Jul 2, 2009 10:37:39 AM SGT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
DefaultServer startup time: 32533 ms.
DefaultServer started.
[Running application adfm-new on Server Instance DefaultServer...]
Uploading credentials.
---- Deployment started. ---- Jul 2, 2009 10:37:47 AM
Target platform is (Weblogic 10.3).
Running dependency analysis...
#### Deployment incomplete. #### Jul 2, 2009 10:37:47 AM
java.lang.RuntimeException: java.lang.NullPointerException
     at oracle.jdevimpl.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:88)
     at oracle.jdeveloper.deploy.common.ModulePackager.deployProfiles(ModulePackager.java:63)
     at oracle.jdeveloper.deploy.common.ModulePackager.deployImpl(ModulePackager.java:52)
     at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
     at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
     at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
     at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
     at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
     at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
     at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
     at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
     at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
     at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
     at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
     at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
     at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
     at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
     at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
     at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
     at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
     at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
     at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
     at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
     at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
     at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
     at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
     at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
Caused by: java.lang.NullPointerException
     at oracle.ide.net.URLFileSystem$TrackedOutputStream.flush(URLFileSystem.java:2332)
     at java.io.FilterOutputStream.flush(FilterOutputStream.java:123)
     at oracle.jdevimpl.deploy.stripe.MonitoredOutputStream.flush(MonitoredOutputStream.java:84)
     at java.io.FilterOutputStream.close(FilterOutputStream.java:140)
     at oracle.jdevimpl.deploy.stripe.MonitoredOutputStream.close(MonitoredOutputStream.java:89)
     at oracle.jdevimpl.webapp.jsp.libraries.wl.WebLogicDeployerListener.prepared(WebLogicDeployerListener.java:146)
     at oracle.jdevimpl.deploy.fwk.ListenerSupport.firePrepared(ListenerSupport.java:178)
     at oracle.jdeveloper.deploy.common.AbstractDeployer.prepare(AbstractDeployer.java:78)
     at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:430)
     at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
     at oracle.jdevimpl.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:82)
     ... 26 more
#### Cannot run application adfm-new due to error deploying to DefaultServer.
[Application adfm-new stopped and undeployed from Server Instance DefaultServer]
Please advice how do i solve it, and its quite urgent. Thanks
Shirleen
Edited by: Shirleen on Jul 1, 2009 2:19 PM
Edited by: Shirleen on Jul 2, 2009 11:12 AM

Hi, Shirleen, I have recently uploaded a new version of the sample mobile application to Oracle Technology Network that would work with the latest/current version of JDeveloper (11.1.1.1.0). Please try to download it at http://www.oracle.com/technology/tech/wireless/adf_mobile.html.
Also, from the error message I am unable to see anything specific that could help, but I would just make sure that you have FOD schema already downloaded and installed, and have configured the database connection in the sample application to point to the database running the FOD schema.
Thanks,
Joe Huang

Similar Messages

  • Error in starting default server of sun J2EE server

    Hi All,
    I am getting an error, while starting default server. The Server log reads it as:
    [#|2004-05-11T10:56:39.201-0700|SEVERE|sun-appserver-pe8.0|javax.enterprise.system.container.web|_ThreadID=10;|WebModule[/asadmin]StandardWrapper.Throwable
    java.lang.NullPointerException
         at com.sun.enterprise.appverification.tools.InstrumentLoggerImpl.doInstrumentForWeb(InstrumentLoggerImpl.java:125)
    Please, help me with a solution.
    Thanks,
    sumit

    Looks like the AVK was installed at one point. If so was it uninstalled using the scripts provided with the
    AVK?

  • ADF Mobile Error handling and redirect

    I'm stuck on how to handle errors within my ADF Mobile application. My application consumes a number of web services and we have found we often get error messages when phone connections switch from wifi to 3g or lose connection altogether. These are errors such as SSL handshake failure, HTTP500 errors, and also errors where it can't display the binding eh "Unable to get value for the property due to invalid binding iterator" because a WS call has failed. From the little information I can find - and none of it specific to ADF Mobile, I think I need to write an error handler class which I set against ErrorHandlerClass in databinding.cpx - if that correct? Am I able to catch these errors using that method and if so has anyone got any examples at all. Ideally what I'd like to do when I've caught those errors is redirect to another page (showing something like facebooks app does when it loses a connection and says tap to try again), does anyone have any suggestions or examples?
    thanks
    lynsey

    A sample for ADF Mobile Error Handling.
    SDA013
    Error Handling in ADF Mobile
    https://java.net/projects/smuenchadf/pages/ADFMobile#SDA013

  • ADF Mobile error: more than one emulator

    I'm using the latest ADF Mobile development tools and trying to get a simple application deployed but I can't get past this error. I followed the tutorial on the Oracle site to get to this point so I believe I've got everything set up as recommended by Oracle. Does anyone know how to get past this?
    [10:58:00 AM] Updating Android profile dependencies with FAR profiles created from application projects...
    [10:58:00 AM] ---- Deployment started. ----
    [10:58:00 AM] Target platform is (Android).
    [10:58:00 AM] Beginning deployment of ADF Mobile application "MobileApp1" to Android using profile "ANDROID_MOBILE_NATIVE_archive1".
    [10:58:01 AM] Checking state of Android Debug Bridge server...
    [10:58:07 AM] Started Android Debug Bridge server.
    [10:58:07 AM] Verifying a single Android emulator is online and connected to the ADB server...
    [10:58:07 AM] Command-line executed: ["C:\adt-bundle-windows-x86_64\sdk\platform-tools\adb", -e, shell, cat, /proc/cpuinfo]
    [10:58:07 AM] error: more than one emulator
    [10:58:07 AM] Command-line execution failed (Return code: -1)
    [10:58:07 AM] Command-line executed: "C:\adt-bundle-windows-x86_64\sdk\platform-tools\adb" -e shell cat /proc/cpuinfo
    [10:58:07 AM] Shutting down Android Debug Bridge server...
    [10:58:07 AM] Deployment cancelled.
    [10:58:07 AM] ---- Deployment incomplete ----.
    [10:58:07 AM] Deployment failed due to one or more errors returned by 'C:\adt-bundle-windows-x86_64\sdk\platform-tools\adb'. The following is a summary of the returned error(s):
    Command-line execution failed (Return code: -1)
    error: more than one emulator

    More information: if I start the Android emulator I have two android device emulators:
    emulator-5554 offline
    emulator-5556 device
    So I assume somehow in trying to get this all configured I got an extra device emulator out there and when the Android SDK manager runs it creates that second device. I had problems installing the SDK due to windows updates... so I assume my problem is that somewhere in some file a second emulator is registered. Does anyone know where this file is or how to clean it up?

  • #### Cannot run application Application1 due to error deploying to Default.

    Hi all,
    Now, I am studing ADF 11. When I run my application, I meet a problem:
    This problem, "can not run your application", I try to stop java, or rebuild, or clean my application... but not successfull
    *#### Cannot run application Application1 due to error deploying to DefaultServer.*
    *[Application Application1 stopped and undeployed from Server Instance DefaultServer]*
    *[Server Instance DefaultServer is shutting down.  All applications currently running will be terminated and undeployed.]*
    *[sending request to shutdown server...]*
    C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\bin\stopWebLogic.cmd
    Stopping Weblogic Server...
    But, If I remove adf 11 software, after that I install this software then okie, and I can run my application.
    Help me.
    thanks all

    Just for the record - my thinking is that there was an application deployed on the integrated server that was miss configured.
    Instead of removing the whole system directory - you could just remove the defaultServer subdirectory there.
    But even better would have been the option to remove the specific offending application see here:
    http://blogs.oracle.com/shay/2009/08/removing_applications_from_you.html

  • ADF Mobile Error when deploying iOS

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

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

  • ADF Library Error on Remote Managed Server for Clustering

    I wanted to configure 2 managed servers on different PCs for clustering. For this purpose first I created 2 managed servers on my test domain which is on my PC1. Tested my ADF applications for each managed server (srv1 and srv2) on PC1. They passed. When I moved one of these servers to another PC (PC2) with the following commands below, the commands said it was succeeded.
    on PC1:
    pack -managed=true -domain=E:\Oracle\Middleware\user_projects\domains\test_domain -template=E:\Oracle\Middleware\user_template\TEST_DOMAIN.jar -template_name="TEST"
    onPC2: (Remote PC)
    unpack -domain=test_domain -template=D:\oracle\Middleware\user_template\TEST_DOMAIN.jar
    After these steps, I started my servers on command line by using the commands below:
    on PC1:
    startManagedWebLogic.cmd srv1 http://localhost:7011
    on PC2: (Remote Managed Server)
    startManagedWebLogic.cmd srv2 http://30.1.2.192:7011
    srv1 changed its state to RUNNING mode easily, however srv2 changed its state to RUNNING with a lot of errors which were pointing that the ADF libraries and applications couldn't be found.
    After the errors on srv2, I removed srv2 from the targets of libraries by using the Deployments screen of administration console.
    Then I stopped srv2 and started it by using command line. It worked without any library and application. There was no error.
    After those steps, I want to add srv2 to the targets of libraries. When I tried to do this I faced with the error message below:
    An error occurred during activation of changes, please see the log for details.
    [Deployer:149003]Unable to access application source information in 'E:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\adf.oracle.domain.ear' for application 'adf.oracle.domain [LibSpecVersion=1.0,LibImplVersion=11.1.1.2.0]'. The specific error is: [Deployer:149158]No application files exist at 'E:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\adf.oracle.domain.ear'..
    My applications can not run without ADF libraries and I couldn't find any solution to the error above.
    Can anyone help me on this subject

    Hi,
    <h3>Please Confirm Point -1 :</h3>
    NOTE: the Absolute Path of the *"WLS Installation"* and *"Domain Directory"* must be same (Identical) in both the BOXES. Looks like the Path *"E:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\adf.oracle.domain.ear"* doesnt exist in your Remote Box (PC-2). D:\oracle\Middleware.
    I Think mistakenly u have installed WLS in <font color=red>E:\</font> in one Box and <font color=red>D:\</font> in another Box.
    <h3>Please Confirm Point -2 :</h3>
    Please refer to the following link: http://download.oracle.com/docs/cd/E12839_01/webcenter.1111/e12405/wcadm_deploy.htm#BABEJEEA
    Which says that you must install a few Libraries (including ADF) in order to utilize the ADF features ...in every Managed Server, to avoid these kind of issues. You must deploy the following libraries to the new managed server or cluster:
    <font color=maroon><b>
    adf.oracle.domain(1.0,11.1.1.0.0)
    adf.oracle.domain.webapp(1.0,11.1.1.1.0)</b></font><BR>
    jsf(1.2,1.2.9.0)
    jstl(1.2,1.2.0.1)
    ohw-rcf(5,5.0)
    ohw-uix(5,5.0)
    UIX(11,11.1.1.1.0)
    <font color=maroon><b>oracle.adf.dconfigbeans(1.0,11.1.1.0.0)
    oracle.adf.management(1.0,11.1.1.1.0)</b></font><BR>
    oracle.dconfig-infra
    oracle.jrf.system.filter
    oracle.jsp.next(11.1.1,11.1.1)
    oracle.sdp.client(11.1.1,11.1.1)
    oracle.soa.workflow.wc(11.1.1,11.1.1)
    oracle.webcenter.framework(11.1.1,11.1.1)
    oracle.webcenter.framework.view(11.1.1,11.1.1)
    oracle.webcenter.jive.dependency(11.1.1,11.1.1)
    oracle.webcenter.skin(11.1.1,11.1.1)
    oracle.wsm.seedpolicies(11.1.1,11.1.1)
    oracle.portlet-producer.jpdk(11.1.1,11.1.1)
    oracle.portlet-producer.wsrp(11.1.1,11.1.1)
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

  • Jdev+ADF Mobile : Error java.lang.NullPointerException,need global variable

    hi, i am using jdeveloper version 11.1.1.1.0.
    i try to get value of field "id" from a table "customer" from input value from "username" and "password" form in welcome / login page.
    the value of field "id" that logged on will be used for further operation like determine relationship with other table for showing data.
    to accomplish that, i create a new java class "bean.java"
    the content is simple, just a few variable like : eeid,eeuser,eepass, and more else.
    each variable have accessors.
    after create "bean.java", i register that class to faces-config.xml in managed beans tab. i give it description like below :
    - name : beanku
    - class : mvc.bean
    - scope : session
    to login, i check the login button with code like this :
    public String cmdSigninee_action() throws ClassNotFoundException, SQLException {      
    String tuser = (String) inputUseree.getValue(); --> value of username
    String tpass = (String) inputPassee.getValue(); --? value of password
    bean ong = (bean) FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("beanku"); --> it's ok here
    ong.setSeeid("testing"); --> here is the error
    i got an error message like shown below :
    Target URL -- http://127.0.0.1:7101/madf-mvc-context-root/faces/welcome.jsp
    Dec 4, 2009 11:39:26 PM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
    INFO: file:/C:/Documents and Settings/Ong/Application Data/JDeveloper/system11.1.1.1.33.54.07/o.j2ee/drs/madf/madf-mvc-webapp/WEB-INF/classes/mvc/DataBindings.cpx
    Dec 4, 2009 11:39:27 PM oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl setLifecycleContextBuilder
    INFO: ADFc: Initializing ADF Page Lifecycle for the JSF environment, LifecycleContextBuilder is 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
    Dec 4, 2009 11:40:21 PM com.sun.faces.application.ActionListenerImpl processAction
    SEVERE: java.lang.NullPointerException
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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:292)
         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:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         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.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
         at mvc.backing.Welcome.cmdSigninee_action(Welcome.java:380)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         ... 38 more
    Dec 4, 2009 11:40:21 PM com.sun.faces.lifecycle.InvokeApplicationPhase execute
    WARNING: #{backing_welcome.cmdSigninee_action}: java.lang.NullPointerException
    javax.faces.FacesException: #{backing_welcome.cmdSigninee_action}: java.lang.NullPointerException
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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:292)
         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:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         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.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         ... 37 more
    Caused by: java.lang.NullPointerException
         at mvc.backing.Welcome.cmdSigninee_action(Welcome.java:380)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         ... 38 more
    Dec 4, 2009 11:40:21 PM com.sun.faces.lifecycle.Phase doPhase
    SEVERE: JSF1054: (Phase ID: INVOKE_APPLICATION 5, View ID: /welcome.jsp) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@8aa35b]
    <Dec 4, 2009 11:40:21 PM ICT> <Error> <HTTP> <BEA-101017> <[ServletContext@14855001[app:madf module:madf-mvc-context-root path:/madf-mvc-context-root spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@5a2f7[
    POST /madf-mvc-context-root/faces/welcome.jsp?_adf.ctrl-state=4p5g40az1_4 HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
    Referer: http://127.0.0.1:7101/madf-mvc-context-root/faces/welcome.jsp;jsessionid=vs4JLZ7ppccm9mdq4z1RJn31c1Qj9ZpLmdHhT2BGTThzP7JnZfmJ!1909271282?_adf.ctrl-state=4p5g40az1_4
    Accept-Language: en-us
    Content-Type: application/x-www-form-urlencoded
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
    Content-Length: 346
    Connection: Keep-Alive
    Cache-Control: no-cache
    Cookie: JSESSIONID=vs4JLZ7ppccm9mdq4z1RJn31c1Qj9ZpLmdHhT2BGTThzP7JnZfmJ!1909271282
    ]] Root cause of ServletException.
    javax.faces.FacesException: #{backing_welcome.cmdSigninee_action}: java.lang.NullPointerException
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
         Truncated. see log file for complete stacktrace
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         Truncated. see log file for complete stacktrace
    java.lang.NullPointerException
         at mvc.backing.Welcome.cmdSigninee_action(Welcome.java:380)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         Truncated. see log file for complete stacktrace
    >
    anyone can help me with those errors? i just need global variable, so i can use it for check relationship with other table.
    or if anyone of you can give me another way to get the value of field "id" from a table?
    thank you so much before! and i am sorry if my english is bad.

    If you select the JSP page in the graphical stuts-config.xml overview in JDeveloper, you should see the properties of the JSP page in the property inspector. One of those properties defines the Java class that handles the action/forwarding/etc.
    Then you should create a new Java-class that extends the original action handling class. Change the property in the graphical stuts-config.xml overview in JDeveloper to this new class.
    Then add an event attribute to the submitbutton element in the form of your JSP page, e.g. seeDetails.
    In your newly created class you can then create a new method: onSeeDetails. This method should be invoked when the submit button is pressed and the form is submitted.
    In the ADF ToyStore demo there are some examples of Java classes that extend the standard action handler. There in the ViewController project.
    ROnald

  • ADF Mobile - m01. Imageupload to Server

    Frank,
    I downloaded the zip [m01-image-server-upload.zip] but I couldn't find the "\01 image-upload\sample\PhotoBoxOracle" workspace application in the sub-folders to deploy the webservice.
    Also,
    What requires this service to be deployed to 10.3.6 instead of 10.3.5 with the sherman patches?

    Bump ... Anyone else have this issue with the web service app not in the downloaded zip file?

  • WebSphere Default Server Starting Problem

    I am using WebSphere AS and facing a strange problem at the time of starting the default server.
    I had to change the user name & password of the XADataSource of the Server. On applying this, and starting the Default server, the server started and application worked fine. However, the next day, when I restarted the machine & started the Server, the server is not starting.
    I checked the connection using the Test Connection button. The connection is ok.
    I am getting the following error at the Default Server start up in the Default_Server_stdout.log:
    [4/18/03 14:28:38:219 GMT+05:30] 3cce5e54 Server U Build number: ptf30217.01
    [4/18/03 14:29:21:962 GMT+05:30] 3cce5e54 XARminst W WTRN0017W: Encountered an error in XA recover operation: -3
    [4/18/03 14:29:21:982 GMT+05:30] 3cce5e54 XARminst X Error to recover XAResource:
    In the log, the above two lines are repeated in a seemingly infinite loop. (I have to Force Stop the Default Server.)
    I suspect that there is some problem while reading the Default ServerXAResources properties file. I tried deleting this file so that it will be created, replacing it with that from another machine, but these things didn't work.
    (The classes12.zip is present in the classpath. )
    Please let me know if I have to do any more settings whenever I change the dastasource user/password.
    Thanks,
    JRahul.

    The following steps should fix your environment problem.
    1) Delete the log files under <WAS_HOME>\tranlog folder.
    This will allow you to start the server.
    2) Also make sure that your user id has SELECT privilege on
    "DBA_PENDING_TRANSACTIONS" table. I guess your id doesn't have that
    privilege.
    To grant the SELECT privilege on the system view
    "DBA_PENDING_TRANSACTIONS", you must logon to Oracle as "SYS" user using
    Oracle's tool likes SQL*Plus and issue the following command (Note: the
    default password for "SYS" user is "CHANGE_ON_INSTALL")
    sqlplus sys/change_on_install
    SQL> GRANT SELECT ON dba_pending_transactions to myuserid ;
    Sanjeevnagpal1

  • 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

  • Deploying ADF application to a managed weblogic server - ADF security error

    Hi,
    Our group has written an ADF web application, which we are attempting to deploy to a managed weblogic server. Thus far, we have been unsuccessful. The application does successfully deploy to the AdminServer. Our setup:
    Weblogic version is 10.3.0. Domain name is adf_domain. We have installed the ADF (ADF version is 11.1.1.0.0), JSTL(1.2.0.1), and JSF(1.2.7.1) runtime libraries, and they are targeted to both the admin server AND the managed server, which is called CollabServer. This server communicates with the node manager and can be started and stopped via the admin console successfully. The AdminServer is on port 7101, and the CollabServer is on port 7104. We are not using SSL.
    application.xml:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd"
    version="5" xmlns="http://java.sun.com/xml/ns/javaee">
    <display-name>OracleRetailCollaboration</display-name>
    <module>
    <web>
    <web-uri>orc.war</web-uri>
    <context-root>orc</context-root>
    </web>
    </module>
    </application>
    weblogic-application.xml (as taken from the ear file):
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application.xsd" xmln
    s="http://www.bea.com/ns/weblogic/weblogic-application">
    <listener>
    <listener-class>oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener</listener-class>
    </listener>
    <library-ref>
    <library-name>adf.oracle.domain</library-name>
    </library-ref>
    </weblogic-application>
    weblogic.xml (as taken from the war file):
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ww
    w.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    <security-role-assignment>
    <role-name>valid-users</role-name>
    <principal-name>users</principal-name>
    </security-role-assignment>
    <library-ref>
    <library-name>jstl</library-name>
    <specification-version>1.2</specification-version>
    </library-ref>
    <library-ref>
    <library-name>jsf</library-name>
    <specification-version>1.2</specification-version>
    </library-ref>
    </weblogic-web-app>
    As I said, there are no deployment errors when we deploy to the admin server. However, we always see the following errors when deploying to the managed server:
    java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener
    etc.
    This error occurs when deploying via the <wldeploy> ant task included with weblogic, and when deploying the application manually via the admin console.
    So I removed this from weblogic-application.xml:
    <listener>
    <listener-class>oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener</listener-class>
    </listener>
    Which resolved the initial error (I assume there is some sort of bug that causes this workaround to be necessary). The next error is this:
    java.lang.ClassNotFoundException: oracle.adf.share.security.authentication.AuthenticationServlet
    Again, we don't get this error when deploying to the AdminServer - ONLY the managed server CollabServer.
    web.xml:
    <servlet>
    <servlet-name>adfAuthentication</servlet-name>
    <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>adfAuthentication</servlet-name>
    <url-pattern>/adfAuthentication/*</url-pattern>
    </servlet-mapping>
    I then added some adf jar files to the ear file, finally get this error message:
    java.lang.ClassNotFoundException: oracle.adf.share.jsp.ADFLibUtils
    Any ideas on how to resolve this? Thanks.
    Edited by: user10451099 on Apr 15, 2009 12:10 PM

    Dan,
    thanks fro reminding me :-)
    Here are the steps we had to take to get a managed WLS to run an adf application without copying any jar in the domain/lib directory:
    1. you still have to install the adf runtime to any server you want the adf application to deploy to
    2. open the admin console, select the managed server, and select the 'server start' tab in configutation settings.
    3. add /u01/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/bea/patch_jdev1111/profiles/default/sys_manifest_classpath/weblogic_patch.jar:
    /u01/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/bea/jrockit_160_05/lib/tools.jar:/u01/bea/wlserver_103/server/lib/weblogic_sp.jar:
    /u01/bea/wlserver_103/server/lib/weblogic.jar:/u01/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/u01/bea/wlserver_103/server/lib/webservices.jar:
    /u01/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/u01/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:/u01/bea/jdeveloper/modules/features/adf.share_11.1.1.jar:
    /u01/bea/wlserver_103/common/eval/pointbase/lib/pbclient57.jar:/u01/bea/wlserver_103/server/lib/xqrl.jar:
    /u01/bea/patch_wls1030/profiles/default/sysext_manifest_classpath/weblogic_ext_patch.jar to the classpath edit box you have to change '/u01/bea/' with your bea home. The classpath should be on one line without the CR/LF i put in to make it readable.
    4. add -Xms256m -Xmx512m -da -Dplatform.home=/u01/bea/wlserver_103 -Dwls.home=/u01/bea/wlserver_103/server -Dweblogic.home=/u01/bea/wlserver_103/server
    -Ddomain.home=/u01/bea/user_projects/domains/naa_qs -Doracle.home=/u01/bea/jdeveloper -Doracle.security.jps.config=/u01/bea/user_projects/domains/naa_qs/config/oracle/jps-config.xml
    -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=false -Dweblogic.management.server=http://localhost:7001
    -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=
    -Dweblogic.ext.dirs=/u01/bea/patch_wls1030/profiles/default/sysext_manifest_classpath:/u01/bea/patch_jdev1111/profiles/default/sysext_manifest_classpath:/u01/bea/patch_cie660/profiles/default/sysext_manifest_classpath
    -Dweblogic.management.username=weblogic -Dweblogic.management.password=******** -Dweblogic.Name=GESTIS_QS
    -Djava.security.policy=/u01/bea/wlserver_103/server/lib/weblogic.policy to the 'Arguments' edit box. As with the calsspath change '/u01/bea' to your bea home and change the domain name (in our case 'naa_qs') to your domain name. change the managementuser and passwort to your needs. As whith the classpath I put some CR/LF into the code section to make it readable.
    5. save the changes and restart the server
    Essentially all we copied the arguments from the admin server start script in addition to adding the class path.
    Timo

  • ADF Mobile: HTTP Status Code 500 Internal Server Error

    Hi,
    I wrote a SOAP web service and deployed it to my standalone ADF Server. I tested it with the HTTP Analyzer, works great. I used it in a Web Service Data Control in normal ADF Web - works perfect. It returns a table of data as programmed. However, ADF Mobile gives me errors: "Http Status Code 500 Internal Server Error: The server encountered an unexpected condition which prevented it from fulfilling the request".
    I developed an ADF Mobile interface with an amx page. I created the same Web Service Data Control and created a List View based on the data control. The error pops up every single time, both on iOS simulator and Android Simulator.
    I know the simulators have network access to the web services - because i can open the web service test page and WSDL from both simulator's internet browsers.
    I know the web services are running - because my ADF Web application can access it.
    Any ideas?
    Thank you!
    -Gavin

    Thanks for the reply. There were no errors in my WLS server. However, I will add some statements to my web service to write to the log file. That way i can see if or at what point is the web service is being accessed by the mobile app.
    Thanks,
    Gavin

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

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

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

  • Error in ADF application deployment to wls server

    Dear Friends,
    Kindly , i facing error when deploy an ADF sample application to weblogic Managed server
    error in oracle/adf/share/logging/ADFlogger
    however the JRF templated applied to the managed server .
    Please advise
    Thanks & Regards,

    How do you think we can help?
    We don't even know which version you or your client use.
    We actually don't no nothing about the app and the environment.
    What has changed since the last deployment?
    Have the other deployments tested with FF and IE?
    Which versions of FF,IE and Chrome do you use?
    Timo

Maybe you are looking for