安装plugman ...错误代码:INTERNAL_ERROR jdeveloper [英] Installing plugman ... Error Code : INTERNAL_ERROR jdeveloper

查看:299
本文介绍了安装plugman ...错误代码:INTERNAL_ERROR jdeveloper的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始使用Oracle MAF开发,并根据教程创建了一个移动应用程序项目。当我尝试部署到设备,得到以下问题,它失败。任何指示,决议及帮助,赞赏。

  [11:29:51 AM] ----部署开始。 ---- 
[11:29:51 AM]目标平台是(Android)。
[11:29:51 AM]开始部署MAF应用程序Application1到Android使用配置文件Android1。
[11:29:57 AM]检查Android Debug Bridge服务器的状态...
[11:30:02 AM]启动Android Debug Bridge服务器。
[11:30:02 AM]验证单个Android设备是否在线并连接到ADB服务器...
[11:30:02 AM]无法获取由ARM支持的ARM版本Android设备。如果设备至少不支持ARMv6,则应用程序可能无法正常工作。
[11:30:02 AM]无法找到Cordova Plugman,需要安装。
[11:30:02 AM]此一次性安装可能需要几分钟。
[11:30:02 AM]安装Cordova Plugman ...
[11:30:04 AM]命令行执行:[/ home / yogesh / Oracle / Middleware / Oracle_Home / oracle_common / jdk / bin / java,-jar,/home/yogesh/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/maf-helper.jar,installTools,-tools,/ home / yogesh / Oracle / Middleware / Oracle_Home /jdeveloper/jdev/extensions/oracle.maf/tools]
[11:30:04 AM]创建目录/home/yogesh/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/ plugman
[11:30:04 AM]正在安装plugman ...
[11:30:04 AM]错误代码:INTERNAL_ERROR
[11:30:04 AM] / home / yogesh /Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/node-linux-x86/bin/npm:2:exec:/ home / yogesh / Oracle / Middleware / Oracle_Home / jdeveloper / jdev / extensions / oracle.maf / tools / node-linux-x86 / bin / node:not found
[11:30:04 AM] oracle.maf.mafhelper.api.MafHelperException:oracle.maf.mafhelper.api.MafHelperException: oracle.maf.mafhelper.api.MafHelperException:java.lang.Exception
[11:30:04 AM] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities.installTools(未知来源)
[ 11:30:04 AM] at oracle.maf.mafhelper.MafHelperMain.main(未知源)
[11:30:04 AM] Caused by:oracle.maf.mafhelper.api.MafHelperException:oracle.maf。 mafhelper.api.MafHelperException:java.lang.Exception
[11:30:04 AM] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities.runProcess(未知来源)
[11:30: 04 AM] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities.executeCmd(unknown Source)
[11:30:04 AM] ... 2 more
[11:30:04 AM] Caused by:oracle.maf.mafhelper.api.MafHelperException:java.lang.Exception
[11:30:04 AM] ...另外4个
[11:30:04 AM]造成: java.lang.Exception
[11:30:04 AM] at oracle.maf.mafhelper.api.MafHelperException。< init>(未知来源)
[11:30:04 AM] .. 。4 more
[11:30:04 AM]关闭Android Debug Bridge服务器...
[11:30:04 AM]部署已取消。
[11:30:04 AM] ----部署不完全----。
[11:30:04 AM]安装plugman时出错。 (oracle.adfmf.framework.dt.deploy.common.deployers.plugins.PlugmanInstallerDeployer)


解决方案

我花了大约一天试图找到这个问题的解决方案。
原因是:节点可执行文件(... / Oracle / Middleware / Oracle_Home / jdeveloper / jdev / extensions / oracle.maf / tools / node-linux-x86 / bin /节点),随同jdeveloper与操作系统。 jdeveloper的官方发布版包含一个32位(x86)版本的节点。因此,如果您遇到此问题,您可能使用的是64位操作系统。



要在64位多架构Ubuntu系统上运行32位可执行文件,必须添加i386架构并安装三个库包libc6:i386,libncurses5:i386和libstdc ++ 6:i386:

  sudo dpkg --add-architecture i386 



如果您使用的是Ubuntu 12.04 LTS(Precise Pangolin)或以下,请使用:

  echoforeign-architecture i386> /etc/dpkg/dpkg.cfg.d/multiarch 

然后输入:



sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc ++ 6:i386


I have just started developing with Oracle MAF and created a mobile app project as per the tutorial. When I tried to deploy it to device, get the following issue and it fails. Any directions, resolutions & help, appreciated.

[11:29:51 AM] ----  Deployment started.  ----
[11:29:51 AM] Target platform is  (Android).
[11:29:51 AM] Beginning deployment of MAF application "Application1" to Android using profile "Android1".
[11:29:57 AM] Checking state of Android Debug Bridge server...
[11:30:02 AM] Started Android Debug Bridge server.
[11:30:02 AM] Verifying a single Android device is online and connected to the ADB server...
[11:30:02 AM] Unable to obtain the version of ARM supported by the Android device.  The application may not work correctly if the device does not support at least ARMv6.
[11:30:02 AM] Cordova Plugman could not be found and needs to be installed.
[11:30:02 AM] This one-time installation may take a few minutes.
[11:30:02 AM] Installing Cordova Plugman...
[11:30:04 AM] Command-line executed: [/home/yogesh/Oracle/Middleware/Oracle_Home/oracle_common/jdk/bin/java, -jar, /home/yogesh/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/maf-helper.jar, installTools, -tools, /home/yogesh/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools]
[11:30:04 AM] Creating directory /home/yogesh/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/plugman
[11:30:04 AM] Installing plugman ...
[11:30:04 AM] Error Code : INTERNAL_ERROR
[11:30:04 AM] /home/yogesh/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/node-linux-x86/bin/npm: 2: exec: /home/yogesh/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/node-linux-x86/bin/node: not found
[11:30:04 AM] oracle.maf.mafhelper.api.MafHelperException: oracle.maf.mafhelper.api.MafHelperException: oracle.maf.mafhelper.api.MafHelperException: java.lang.Exception
[11:30:04 AM] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities.installTools(Unknown Source)
[11:30:04 AM] at oracle.maf.mafhelper.MafHelperMain.main(Unknown Source)
[11:30:04 AM] Caused by: oracle.maf.mafhelper.api.MafHelperException: oracle.maf.mafhelper.api.MafHelperException: java.lang.Exception
[11:30:04 AM] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities.runProcess(Unknown Source)
[11:30:04 AM] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities.executeCmd(Unknown Source)
[11:30:04 AM] ... 2 more
[11:30:04 AM] Caused by: oracle.maf.mafhelper.api.MafHelperException: java.lang.Exception
[11:30:04 AM] ... 4 more
[11:30:04 AM] Caused by: java.lang.Exception
[11:30:04 AM] at oracle.maf.mafhelper.api.MafHelperException.<init>(Unknown Source)
[11:30:04 AM] ... 4 more
[11:30:04 AM] Shutting down Android Debug Bridge server...
[11:30:04 AM] Deployment cancelled.
[11:30:04 AM] ----  Deployment incomplete  ----.
[11:30:04 AM] An error occurred installing plugman. (oracle.adfmf.framework.dt.deploy.common.deployers.plugins.PlugmanInstallerDeployer)

解决方案

I spent about a day trying to find a solution to this problem. Turns out that the culprit is compatibility issue of the node executable(.../Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/node-linux-x86/bin/node) that comes alongside jdeveloper with the OS. The official release of jdeveloper consists of a 32 bit(x86) release of node. So if you experienced this problem you may be using a 64 bit OS.

To run a 32-bit executable file on a 64-bit multi-architecture Ubuntu system, you have to add the i386 architecture and install the three library packages libc6:i386, libncurses5:i386, and libstdc++6:i386:

sudo dpkg --add-architecture i386

If you are using Ubuntu 12.04 LTS (Precise Pangolin) or below, use this:

 echo "foreign-architecture i386" > /etc/dpkg/dpkg.cfg.d/multiarch

Then enter:

 sudo apt-get update
 sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

这篇关于安装plugman ...错误代码:INTERNAL_ERROR jdeveloper的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆