BB10 network plugin fails on the second call

Hi all

I created a plugin(native extension) network that works very well when you call the first javascript application.

The entrance to this extension is: {'url' ": '"http://example.com ', imeOut: '4'}

When I try to call this plugin the next time, he demonstrated "operation cancelled" due to the delay. If I delete the time-out period of extension, not getting not response in onRequestFinished and it returns nothing for javascript application.

Please, help me find an error code below.

It is very urgent.

Thanks in advance.

template_js.hpp

#ifndef TemplateJS_HPP_
#define TemplateJS_HPP_

#include 
#include "../public/plugin.h"
#include "template_ndk.hpp"

class TemplateJS: public JSExt {

public:
    explicit TemplateJS(const std::string& id);
    virtual ~TemplateJS();
    virtual bool CanDelete();
    virtual std::string InvokeMethod(const std::string& command);
    void NotifyEvent(const std::string& event);
    bool StartThread();
    std::string params;

private:
    std::string m_id;

};

#endif /* TemplateJS_HPP_ */


template_js.cpp

#include #include "../public/tokenizer.h"#include #include "template_js.hpp"#include "template_ndk.hpp"

using namespace std;

/** * Default constructor. */TemplateJS::TemplateJS(const std::string& id) : m_id(id) {

}

/** * TemplateJS destructor. */TemplateJS::~TemplateJS() {

}

/** * This method returns the list of objects implemented by this native * extension. */char* onGetObjList() { static char name[] = "TemplateJS"; return name;}

/** * This method is used by JNext to instantiate the TemplateJS object when * an object is created on the JavaScript server side. */JSExt* onCreateObject(const string& className, const string& id) { if (className == "TemplateJS") { return new TemplateJS(id); }

 return NULL;}

/** * Method used by JNext to determine if the object can be deleted. */bool TemplateJS::CanDelete() { return true;}

/** * It will be called from JNext JavaScript side with passed string. * This method implements the interface for the JavaScript to native binding * for invoking native code. This method is triggered when JNext.invoke is * called on the JavaScript side with this native objects id. */string TemplateJS::InvokeMethod(const string& command) { // command appears with parameters following after a space int index = command.find_first_of(" "); std::string strCommand = command.substr(0, index); std::string arg = command.substr(index + 1, command.length()); params = arg; if (strCommand == "doNSIRequest") { StartThread(); strCommand.append(";"); strCommand.append(command); return strCommand; }

 return "Unknown C++ method";}

void* SignalThread(void* parent) { TemplateJS *pParent = static_cast(parent);

 int argc = 0; char **argv = NULL; QCoreApplication QCoreApplication(argc, argv); webworks::TemplateNDK *m_signalHandler = new webworks::TemplateNDK(pParent); m_signalHandler->doNetworkRequest();

 QCoreApplication::exec(); delete m_signalHandler; return NULL;}

bool TemplateJS::StartThread(){

 pthread_attr_t thread_attr; pthread_attr_init(&thread_attr); pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_DETACHED);

 pthread_t m_thread; pthread_create(&m_thread, &thread_attr, SignalThread, static_cast(this)); pthread_attr_destroy(&thread_attr); if (!m_thread) { return true; } else { return false; }}

// Notifies JavaScript of an eventvoid TemplateJS::NotifyEvent(const std::string& event) { std::string eventString = m_id + " "; eventString.append(event); SendPluginEvent(eventString.c_str(), m_pContext);}
template_ndk.hpp



#ifndef TEMPLATENDK_HPP_#define TEMPLATENDK_HPP_

#include #include #include #include #include 

using namespace bb::device;

class TemplateJS;

namespace webworks {

class TemplateNDK : public QObject {

 Q_OBJECT

public: explicit TemplateNDK(TemplateJS *parent = NULL); virtual ~TemplateNDK(); void doNetworkRequest();

public Q_SLOTS: void onRequestFinished(QNetworkReply *reply); void connectionStateChanged (bb::device::CellularConnectionState::Type connectionState); void onNetworkTimeOut();

private: void doNSIRequest(); void disconnectService(); void parseXml(const QByteArray buffer, int httpCode, QString status, QString errorInfo); void parseJsonParams();

private: TemplateJS *m_pParent; QNetworkAccessManager *_networkAccessManager; CellularDataInterface *_cellularDataInterface; int networkTimeout; std::string url;};

} // namespace webworks

#endif /* TEMPLATENDK_H_ */


template_ndk.cpp

#include #include #include #include #include #include #include #include "template_ndk.hpp"#include "template_js.hpp"

namespace webworks {

TemplateNDK::TemplateNDK(TemplateJS *parent) {

 m_pParent = parent; _networkAccessManager = 0; _cellularDataInterface = 0; networkTimeout = 0; url = "";

}

TemplateNDK::~TemplateNDK() {

 if (_networkAccessManager){ delete _networkAccessManager; _networkAccessManager = 0; } if (_cellularDataInterface) { if (_cellularDataInterface->connectionState() == CellularConnectionState::Connected) { disconnectService(); } delete _cellularDataInterface; _cellularDataInterface = 0; } if(m_pParent){ delete m_pParent; m_pParent = 0; }}

void TemplateNDK::doNetworkRequest(){ _networkAccessManager = new QNetworkAccessManager(); _cellularDataInterface = new CellularDataInterface(); connect( _networkAccessManager, SIGNAL(finished(QNetworkReply*)), this, SLOT(onRequestFinished(QNetworkReply*)));

 connect(_cellularDataInterface, SIGNAL(connectionStateChanged(bb::device::CellularConnectionState::Type)), this, SLOT(connectionStateChanged(bb::device::CellularConnectionState::Type)));

 parseJsonParams();

 doNSIRequest();}

void TemplateNDK::parseJsonParams() { std::string networkParams = m_pParent->params;

 // Parse the arg string as JSON Json::FastWriter writer; Json::Reader reader; Json::Value root; bool parse = reader.parse(networkParams, root);

 if (!parse) {

 QByteArray buffer(NULL); parseXml(buffer, 1, "fail", "Cannot parse input JSON object");

 } else {

 url = root["url"].asString(); int timeout = root["timeOutValue"].asInt(); networkTimeout = timeout * 1000; //converting into milliseconds

 }}

/** * Set name for mobile data and attempt to activate the network connection if name is valid */

void TemplateNDK::doNSIRequest() { _cellularDataInterface->setName("blackberry"); if (_cellularDataInterface->isValid()) { QString networkInterfaceName =_cellularDataInterface->networkInterfaceName();

 if (!networkInterfaceName.isEmpty()) { _cellularDataInterface->requestConnect(); } else { QByteArray buffer(NULL); QString strError = "Mobile data off"; parseXml(buffer, 1, "fail", strError); }

 } else { QByteArray buffer(NULL); QString strError = ""; if (_cellularDataInterface->networkInterfaceName() == ""){ strError = "No Sim Available"; }else{ strError = "Invalid cellular data services"; }

 parseXml(buffer, 1, "fail", strError); }}

/** * Attempt to de-activate the network connection */

void TemplateNDK::disconnectService(){ _cellularDataInterface->requestDisconnect(); unsetenv("SOCK_SO_BINDTODEVICE");}

/** * Slot getting called after successful connection to Mobile data. * If connected then send server request else handling error */

void TemplateNDK::connectionStateChanged (bb::device::CellularConnectionState::Type connectionState){ QString strError = ""; if (connectionState == CellularConnectionState::Connected) {

 int EOK = 0; if (setenv("SOCK_SO_BINDTODEVICE", _cellularDataInterface->networkInterfaceName().toAscii().constData(), 1) == EOK) { QNetworkRequest request = QNetworkRequest(); QString inputUrl = QString::fromUtf8(url.c_str()); request.setUrl(QUrl(inputUrl)); QNetworkReply* response = _networkAccessManager->get(request);

 QTimer *timer = new QTimer(response); timer->setSingleShot(true); connect(timer, SIGNAL(timeout()), this, SLOT(onNetworkTimeOut())); timer->start(networkTimeout);

 } else { strError = "Not connected to 2g/3g connection! Please try again"; }

 } else if (connectionState == CellularConnectionState::PendingConnect) { strError = "Pending Connect! Please try again";

 } else if (connectionState == CellularConnectionState::Disconnected) { strError = "Disconnected! Please try again"; unsetenv("SOCK_SO_BINDTODEVICE");

 } else { strError = "Not Connected! Please try again"; } if (!strError.isEmpty()){ QByteArray buffer(NULL); parseXml(buffer, 2, "fail", strError); }

}

void TemplateNDK::onNetworkTimeOut() { QTimer *timer = qobject_cast(sender()); QNetworkReply *response = qobject_cast(timer->parent()); response->abort();}

/** * Handling response coming from server */void TemplateNDK::onRequestFinished(QNetworkReply *reply){ int httpStatusCode = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(); httpStatusCode = reply->error(); QString status = ""; QByteArray buffer(NULL); QString strErrorInfo = ""; if (reply->error() == QNetworkReply::NoError) {

 const int available = reply->bytesAvailable(); if (available > 0) { status = "success"; buffer = reply->readAll();

 }else{ status = "fail"; httpStatusCode = 2; strErrorInfo = "Response is null"; }

 } else {

 strErrorInfo = reply->errorString(); if (strErrorInfo.contains("\"\"")) { //case like: Protocol "" is unknown strErrorInfo = strErrorInfo.remove("\"\""); } status = "fail";

 } parseXml(buffer, httpStatusCode, status, strErrorInfo); reply->deleteLater();}

/** * parses xml coming from server as response, Create JSON object and calling notify */void TemplateNDK::parseXml(const QByteArray buffer, int httpCode, QString status, QString errorInfo) { QXmlStreamReader xml; std::string event = "NSI_requestCallbackResult";

 // Parse the arg string as JSON Json::FastWriter writer; Json::Reader reader; Json::Value root;

 root["language"] = ""; root["subId2"] = ""; root["accountSubType"] = ""; root["status"] = status.toLocal8Bit().constData(); root["httpCode"] = httpCode; root["errorInfo"] = errorInfo.toLocal8Bit().constData();

 try{ if (!buffer.isNull()) { xml.addData(buffer);

 while (!xml.atEnd()) { xml.readNext();

 if (xml.isStartElement()) { if (xml.name() == "eamLanguage") { root["language"] = xml.readElementText().toLocal8Bit().constData();

 } if (xml.name() == "subId2") { root["subId2"] = xml.readElementText().toLocal8Bit().constData(); } if (xml.name() == "accountSubType") { root["accountSubType"] = xml.readElementText().toLocal8Bit().constData(); } }

 } } }catch (...) { QString status = "fail"; int httpCode = 2; QString strBuffer(buffer); QString errorInfo = "Exception:FormatException Function:parseXml ServerResponse: " + strBuffer;

 root["status"] = status.toLocal8Bit().constData(); root["httpCode"] = httpCode; root["errorInfo"] = errorInfo.toLocal8Bit().constData(); }

 m_pParent->NotifyEvent(event + " " + writer.write(root));

}

} /* namespace webworks */

Finally I found the solution of the present.

Question is due to every javascript function call new pthread is be created every time and existing thread is never destroyed. However, I assumed that this local variable of pthread_t destroyed but it is not run like that. If trying to kill thread existing manually using pthread_cancel(), application crashes. Application of network function is called in this thread and QNetworkAccessManager slot is never get called except for the first time.

To solve it, I used a public global variable that allow to create the thread only once and give the signal for the following applications when native code receives a StartThread function call. For signalling, used pthread mutex lock and characteristic signal.

Here is the code for the function StartThread:

bool TemplateJS::StartThread()
{

    parseJsonParams();

    if (!g1.g_isSignalThreadCreated) {
        g1.g_isSignalThreadCreated = true;

        pthread_attr_t thread_attr;
        pthread_attr_init(&thread_attr);
        pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_DETACHED);
        pthread_t m_thread;
        pthread_create(&m_thread, &thread_attr, SignalThread, static_cast(this));
        pthread_attr_destroy(&thread_attr);

    } else {
        pthread_mutex_lock(&mutex);
        pthread_cond_signal(&cond);
        pthread_mutex_unlock(&mutex);

    }
    return true;
}

And here's the code must call after event notification.

void TemplateNDK::Workerthread_waitForNextTime()
    {
        pthread_mutex_lock(&mutex);
        pthread_cond_wait(&cond, &mutex);
        pthread_mutex_unlock(&mutex);

        //keeps waiting here until get Signal from StartThread.
        doNetworkRequest();
    }

Tags: BlackBerry Developers

Similar Questions

  • migrate from Windows 10 failure error oxc ox400d 1900 failed in the second phase of startup with the error during operation of data on my windows desktop 7

    Windows 10 has failed 75% error oxc 1900-ox 400 d has failed in the second phase of startup with the error during the operation of the Migrate_data on my windows desktop 7 using media creation tool. Help please.

    Turn off the computer.

    Wait 10 minutes.

    Start the computer.

    The installation program automatically restores your previous version of Windows 10 or an earlier version of Windows.

    Launch the prompt with administrator privileges.

    Press the Windows key + X

    Click prompt (Admin)

    Type the following command:

    Rundll32.exe pnpclean.dll, RunDLL_PnpClean /DRIVERS /MAXCLEAN

    Press enter on your keyboard

    Exit command prompt

    Restart

    • Turn off (preferably uninstall) your Antivirus utility before you perform the upgrade.
    • Reboot several times and try again.
    • Disable the general USB peripherals (for example - smart card reader).
    • If you are using a SCSI drive, make sure you have the drivers available for your storage on a thumdrive device and it is connected. During the installation of Windows 10, click on the advanced custom Option and use the command load driver to load the driver for the SCSI drive. If this does not work and the installer still fails, consider switching to an IDE based hard drive.
    • Do a clean boot, and then try again.
    • If you upgrade to the. ISO file, disconnect from the Internet during the installation, if you are connected in LAN (Ethernet) or wireless, disable both and try the installation again.
    • If you update via Windows Update, when download reaches 100%, disconnect the Internet LAN (Ethernet) or wireless, and proceed with the installation.
    • If this does not work, try using the. ISO file to upgrade if possible.
    • If you are connected to a domain, go to a local account
    • If you have an external equipment, attached to the machine, unplug them (example, game controllers, USB sticks, external hard drive, printers, peripherals not essential).
  • Enable AAA fails on the second ACS server

    I have 2 servers Windows 2003 4.2 ACS, who authenticate with AD. I have configured authentication GANYMEDE + both for my PIX 515 running version 7.24. GANYMEDE + authentication works fine on both. However, when I use the 'aaa authentication enable console LOCAL ProsperAdminAuth', the enable password only works with the first ACS server. When the first server is unavailable, it fails on the second ACS server and authentication failed on ACS "ACS invalid password" reports. It does not allow the LOCAL password. I checked all the password and there is no problem there. I know that for you, because GANYMEDE auth works. Someone at - he seen elsewhere issue or know what I might try?

    Thank you

    Vivek

    Hello

    Configuration of external database is not replicated between servers ACS so my guess here that is on your ACS secondary if you go to the external-> unknown user policy user databases, you will find that under configure enable password behavior you are on "internal data" instead of "The database which the user profile is required."

    -Jesse

  • SX80 xcommand to add the second call

    Hello

    Everyone was able to add a second appeal in a call using xcommands and merge the calls?

    Thanks for the help

    Andrew

    Hi André,.

    I tried a few days ago on the SX20 in my laboratory using the following command and it worked

    xCommand call Join

    Manish

  • 12.1.0.7 - Db plugin failed with the "process Yes/bin/runInstaller is not null: 139 ' error.

    Like to, failed to deploy Plugin with Yes/bin/runInstaller process is different from zero: 139 "error. All suggestions will be help ful.

    Hello

    Found the Soultion via SR.

    * Please check your environment/Support applied prior to the amendments.

    Make a backup of Middlewarehome/OMS/oui/oraparam.ini

    2. edit the file oraparam.ini and change the line shown as follows:

    From:

    BOOTSTRAP = TRUE

    TO:

    BOOTSTRAP = FALSE

    3 deploy the plug-in

    4. once the plugin deploy finished, return true BOOTSTRAP

    Concerning

    Krishnan

  • iPhone 4S only rings on the second call

    If someone calls me, iPhone doesn't ring or buzz, but registers a missed call. People get the 'busy' tone when they call me. BUT! They remember immediately after the connection cut my phone works normally and it sounds. Installed a new SIM card, same problem. Now, I already said many people af rings me twice but I can not get this message to all those who want (and need) to talk tot me. I find always (afterwards) that I had a missed call, and then that I was able to pick up. Goose bumps...

    Check: Settings - do not disturb = Off?

  • Vista install fails on the second stage. "Install.wim is missing or damaged.

    I am trying to reinstall Vista Ultimate on a computer, E-Machines, and it gives me the message "Install.wim is missing or damaged.  I have no idea why this is happening.  I used my cell phone to check the disk for the file, and it is there and seems to be ok.  Any ideas?  Note: The disc seemed scratched, so I used a disc repair system that actually works, but who have done nothing.  I want to reinstall because of the problem of the BSOD I have.  Every day there are at least a Blue Screen of Death.

    If it is scratched, replace:

    http://support.Microsoft.com/default.aspx/KB/326246

    'How to replace Microsoft software or hardware, order service packs and upgrades, and replace product manuals'

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Or borrow a good Microsoft Vista DVD (not Dell, HP, etc).
    A good Vista DVD contains all versions of Vista.
    The product key determines which version of Vista is installed.

    There are 2 disks of Vista: one for 32-bit operating system, and one for 64-bit operating system.

    If install a cleaning is required with a good DVD of Vista (not HP, Dell recovery disks):

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu

    http://support.Microsoft.com/default.aspx/KB/918884

    MS advice on the conduct of clean install.

    http://www.theeldergeekvista.com/vista_clean_installation.htm

    A tutorial on the use of a clean install

    http://www.winsupersite.com/showcase/winvista_install_03.asp

    Super Guide Windows Vista Installation

    After installation > go to the website of the manufacturer of your computer/notebook > drivers and downloads Section > key in your model number > get latest Vista drivers for it > download/install them.

    Save all data, because it will be lost during a clean installation.

    See you soon.

    Mick Murphy - Microsoft partner

  • Grid Infra configuration failed when running root.sh on the second node

    Hello world.

    I am new guy on RAC environment. When you try to install Oracle RAC on the local environment, I had this problem:

    -J' have run root.sh successfully on a local first node

    -After that, the first node, there are 3 cards of virtual network created to SCAN listening addresses

    -After the success of action on the first node, I tried to run this script on the second node, but the error occurred:

    CRS-2676: Start of 'ora.DATA.dg' on 'dbnode2' succeeded
    PRCR-1079 : Failed to start resource ora.scan1.vip
    CRS-5017: The resource action "ora.scan1.vip start" encountered the following error:
    CRS-5005: IP Address: 192.168.50.124 is already in use in the network
    . For details refer to "(:CLSN00107:)" in "/u01/app/11.2.0/grid/log/dbnode2/agent/crsd/orarootagent_root/orarootagent_root.log".
    
    CRS-2674: Start of 'ora.scan1.vip' on 'dbnode2' failed
    CRS-2632: There are no more servers to try to place resource 'ora.scan1.vip' on that would satisfy its placement policy
    PRCR-1079 : Failed to start resource ora.scan2.vip
    CRS-5017: The resource action "ora.scan2.vip start" encountered the following error:
    CRS-5005: IP Address: 192.168.50.122 is already in use in the network
    . For details refer to "(:CLSN00107:)" in "/u01/app/11.2.0/grid/log/dbnode2/agent/crsd/orarootagent_root/orarootagent_root.log".
    
    CRS-2674: Start of 'ora.scan2.vip' on 'dbnode2' failed
    CRS-2632: There are no more servers to try to place resource 'ora.scan2.vip' on that would satisfy its placement policy
    PRCR-1079 : Failed to start resource ora.scan3.vip
    CRS-5017: The resource action "ora.scan3.vip start" encountered the following error:
    CRS-5005: IP Address: 192.168.50.123 is already in use in the network
    . For details refer to "(:CLSN00107:)" in "/u01/app/11.2.0/grid/log/dbnode2/agent/crsd/orarootagent_root/orarootagent_root.log".
    
    CRS-2674: Start of 'ora.scan3.vip' on 'dbnode2' failed
    CRS-2632: There are no more servers to try to place resource 'ora.scan3.vip' on that would satisfy its placement policy
    
    start scan ... failed
    FirstNode configuration failed at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 9379.
    /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
    
    

    I tried again with several times (with left-hand) but the problem was still there. Can you explain to me?

    -Why, after running root.sh on the first node, all IP SCANNER interfaces was created on this node? This is the reason why root.sh fails on the second node.

    -How to solve?

    I use the server for address scan local DNS resolves to 3 IPs, and I can run script runcluvfy.sh with success on both nodes.

    I thank in advance

    PS:

    I use two virtual machines in vmware. After running root.sh on the first node, I checked and found this funny information:

    [oracle@dbnode1 sshsetup] $ / sbin/ifconfig

    eth0 Link encap HWaddr 00: 0C: 29:BC:43:1 B

    INET addr:192.168.50.66 Bcast:192.168.50.255 mask: 255.255.255.0

    ADR inet6: fe80::20c:29ff:febc:431 b / 64 Scope: link

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    Dropped packets: 249814 RX errors: 0:0 overruns: 0 frame: 0

    Dropped packets: 2956882 TX errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:1000

    RX bytes: 24913472 (23.7 MiB) TX bytes: 4369984705 (4.0 GiB)

    eth0: 1 link encap HWaddr 00: 0C: 29:BC:43:1 B

    INET addr:192.168.50.120 Bcast:192.168.50.255 mask: 255.255.255.0

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    eth0:2 Link encap HWaddr 00: 0C: 29:BC:43:1 B

    INET addr:192.168.50.122 Bcast:192.168.50.255 mask: 255.255.255.0

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    eth0:3 Link encap HWaddr 00: 0C: 29:BC:43:1 B

    INET addr:192.168.50.123 Bcast:192.168.50.255 mask: 255.255.255.0

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    eth0:4 Link encap HWaddr 00: 0C: 29:BC:43:1 B

    INET addr:192.168.50.124 Bcast:192.168.50.255 mask: 255.255.255.0

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    eth1 Link encap HWaddr 00: 0C: 29:BC:43:25

    INET addr:192.168.29.10 Bcast:192.168.29.255 mask: 255.255.255.0

    ADR inet6: fe80::20c:29ff:febc:4325 / 64 Scope: link

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    Fall of RX packets: 471 errors: 0:0 overruns: 0 frame: 0

    Dropped packets: 664 TX errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:1000

    RX bytes: 82216 (80.2 KiB) TX bytes: 107920 (105.3 KiB)

    eth1:1 Link encap HWaddr 00: 0C: 29:BC:43:25

    INET addr:169.254.75.201 Bcast:169.254.255.255 mask: 255.255.0.0

    RUNNING BROADCAST MULTICAST MTU:1500 metric: 1

    Lo encap:Local Loopback link

    INET addr:127.0.0.1 mask: 255.0.0.0

    ADR inet6:: 1/128 Scope: host

    RACE of LOOPING 16436 Metric: 1

    Fall of RX packets: 10626 errors: 0:0 overruns: 0 frame: 0

    Dropped packets: 10626 TX errors: 0:0 overruns: 0 carrier: 0

    collisions: 0 txqueuelen:0

    RX bytes: 7942626 (7.5 MiB) TX bytes: 7942626 (7.5 MiB)

    I think it's because of the failure on node 2

    UPDATE:

    That thing is normal, I ignored it and the installation can continue normally. Thank you all for your help.

  • VI controls are frozen on the second run.

    I have a VI that gives the word in another VI. Let's call them a - VI and VI - b.

    Now, when I try to run VI, one, it works as it is supposed to. No matter how many times I run and close it.

    But when she is called in VI - b, it works well for the first time and freeze all the controls on the second call (closing and try to open it again).

    What can be the reason?

    I called VI - by contributions of wiring to the VI - b connectors.


  • Call "HostNetworkSystem.UpdateVirtualSwitch" for the error of the object when you attempt to add the second NETWORK card

    Hi there - first post here, so please be nice :-).

    We are just trying to place an ESX4.1 own deployment in our environment (no previous installation of VMWare) to our main office, using Dell M610 and blades blades M600 to what would become our DR - two sites site hosting VMS on Equallogic iSCSI SAN disks.

    I configured 4 of our blade M610 with ESX 4.1 successfully and they work very well.  These blades have double NIC onboard, and after the initial installation of ESX, I could go to the virtual switch and add in the second NIC like vmnic1 (because one had already been detected during installation).  This fine workd for 4 guests on the M610 blades.  However, I came today to make my first installation on one of the old M600 blades and I encountered a problem.

    Installation went without any problems and I was able to add the host in my vCenter.  I can change all the settings without problem (created the Port of VMKernal for my connection to SAN iSCSI etc, but as soon as I try to add in the second NETWORK card, he paused for a while, and then I get the following error message:)

    Call 'HostNetworkSystem.UpdateVirtualSwitch' of object 'networkSystem-56 "on vCenter Server"VCEN01." ournetwork.local"failed. (network name has been changed for post).  When this happens, it locks up again for several seconds, and when the system returns, I can no longer communicate with the ESX host (Observer of events in vCenter watch 'host is not responding' and I find that I can not ping the host unless I reboot it.)

    If anyone has any suggestions I would appreciate it that I don't want to proceed down to the line with our Installer if theres an underlying issue and I need to redo everything.

    Concerning

    EFIN.

    Do you get the same error when you try to add the network adapter by using the command line?

    1. esxcfg-vSwitch - L vmnic1 vSwitch0

    If you have found this or other useful information, please consider awarding points to 'Correct' or 'useful '.

  • Use the second router to extend the network to Time Capsule

    I have a v7.6.7 running Time Capsule 1 TB and older airport. I'm hoping to add a second router in a new location, and I use an ethernet cable from the TC at the new router (TP Link Archer C5), updated to the latest version of the firmware. The IP address of the TC is 192.168.1.1.

    I have set up my router C5 as follows: allocation of IP 192.168.1.199, value DHCP = off, and I connect a cable between the TC ports and port WAN (not Internet) available on the C5. In the C5 wireless settings, I tried both using the TC SSID and pw and creating a new SSID and pw. In both cases, the network will work for a short time, but eventually the entire network, including the TC, stops working. I made no changes to the parameters of the TC on any trial.

    Is it possible to use a TC and a router not Apple on the same network? If so, what are the right settings for the TC and the secondary router? If not, is it better to have the not Apple as main router and add the TC to the network created by the non-Apple router?

    Is it possible to use a TC and a router not Apple on the same network? If so, what are the right settings for the TC and the secondary router?

    Yes. That would be the basis of a network of mobile type.

    The key for a roaming network parameters are:

    • The 'primary' router must be configured as a router. In other words, it must have active NAT and DHCP services.
    • All other routers used in a network of roaming must be reconfigured as a bridge.
    • All routers must broadcast a Wi - Fi network that uses the same network (SSID, aka) name, and the type of wireless security, and the password.
    • All routers must be interconnected by Ethernet. To provide Powerline adapters using an Ethernet connectivity should also work.

    If not, is it better to have the not Apple as main router and add the TC to the network created by the non-Apple router?

    Should not really which is the main in the roaming network.

    I think at this point, your current circuit line. To check that, I would suggest that you consider to bring back the router C5 in the same room as you have the TC. Then connect it directly to one of the LAN of the TC ports. Complete the entire upward to a mobile network and test it. If everything works, bring back the C5 in the desired location, and then try again.

    If it fails, then the circuit line will be tested to check that it provides a solid 'Ethernet' connection between the adapters.

  • CMS OVA, adding the second NETWORK card breaks the first NETWORK card

    I'm testing CMS 2.0 and when I try to add a second NETWORK card in VMware, he immediately interrupts the first network card.  As soon as the loading of the image, the first NIC fails.  Even if I disable iface b, it will allow all traffic where iface one.  If I stop the application, remove the NETWORK adapter and run it back again, it works very well to the iface one.

    I want to test the public face with box feature, but I can't if I can't add a second network card.

    How do you add the second network interface and interface you add?

    You should add 'VMXNET3' type if you use VMWare, if you chose something else, you invalidate your license, see section 3.3 of the virtualized CMS 2.0 Setup Guide for deployments.

    If you need assistance, you must move this thread to the section of telepresence of forums, where this device is actively discussed.  You can change your question and change the categories at the bottom of the page.

  • "Temp fail" with the BLF speed dial + Call Pickup

    Hello all,.

    I am running version 8.6.2 CUCM and many phones IP 7962 G.

    I have a Manager configured with extension 1001 and his PA with extension 1002. The two extensions are configured in the same group of pick-up call.

    On the phone IP of PA, the second button is configured as a BLF Speed Dial with Call Pickup for the Manager.

    When someone calls the Manager, she can see that the line manager sounds but when she push the button to identify which called, she hears a busy tone and the IP phone displays a message that says "Temp Fail". I checked everything on IP phones and everything seems to be OK. Am I missing something?

    When I changed the line manager of 1001 to 1003, in the Group of pick-up even call it's works fine. She is able to pick up calls to 1003. But the server of CUCM, there is no difference between 1001 and 1003 extension.

    Please notify.

    Best regards,

    J. Mr. Kabundi.

    No matter what PickUp group they belong, do not need to be the same for the BLF pick-up function.

    But if they are in the same group, as you say: can the normal collection through the display key PickUp?

    If only change the number to work, I think you may have a problem with the DNs/Partitions. Never renamed the partition? Try to remove the Manager DN, delete the number not assigned to your server and add it again.

    If this still does not work... I will re-start the server if possible.

    Kind regards

    Sven

  • When I use the Client for NFS provided by Windows 7, I'm unable to connect. The "mount \\ip address\share Z:" command fails with the error code "the path not found network".

    Identification of customer's Windows 7 NFS UID GID information

    I am trying to connect to the Windows 7 Client NFS on a server running on a computer (VxWorks) NFS.  I am able to properly connect Client NFS software by a 3rd party on the NFS server.  However, when I use the Client for NFS provided by Windows 7, I am unable to connect.  The \\ip address\share Z: mount"command fails with the error code"the path not found network ".  I can't do a ping of the computer running the NFS server.

    The NFS Client operating system: Windows 7 Ultimate, 64-bit

    Data captured by Wireshark

    MOUNT V1 EXPORT call 3rd party client
    Identification information Flavor: AUTH_UNIX (1)
    Length: 32
    Stamp: 0xc7065970

    Machine name: PC
    UID: 1000
    GID: 1000

    MOUNT V1 EXPORT appeal of the NFS client
    Identification information Flavor: AUTH_NULL (0)
    Length: 0

    It seems that the credentials of NFS Client are not correct.  How can I change the flavor of AUTH_UNIX and the UID and GID to 1000?

    Hello VDAEMP,

    As Eddie and Sudarshan has said, the Microsoft Answers community focuses on issues and problems related to the consumer environment. Please join the public IT pro TechNet forums below:
    TechNet - Windows Server
     
    Thank you

  • Behance plugin fails to publish on WIP.  Returns the following error: "cannot download an update WIP on Behance: invalid permissions or request type.

    Behance plugin fails to publish on WIP in Lightroom 5.6.  Returns the following error: "cannot download an update WIP on Behance: invalid permissions or request type.  (I've also seen this question asked in the forums of Deutsche in January 2014 without answers)

    In settings of Behance Adobe Photoshop Lightroom is authorized to:

    • Revoke access
    • can act on your behalf to comment, follow users, discover and appreciate the projects
    • Allows access to read the flow of network activity
    • Able to read collections you have marked as private
    • Possibility to create, manipulate and remove your collections.
    • Able to read current work marked as private
    • Able to view, manipulate, and delete a work in progress on your behalf

    Does anyone have a solution?

    -System settings-

    Lightroom version: 5.6 [974614]

    Operating system: Windows 8.1 Business Edition

    Version: 6.3 [9600]

    Application architecture: x 64

    System architecture: x 64

    Number of logical processors: 8

    Processor speed: 3.0 GHz

    Built-in memory: 16301,9 MB

    Real memory for Lightroom: 16301,9 MB

    Real memory used by Lightroom: 374.4 MB (2.2%)

    Virtual memory used by Lightroom: 346,3 MB

    Size of the memory cache: 224,4 MB

    Maximum thread count used by Camera Raw: 4

    System DPI setting: 96 DPI

    Composition of the Bureau enabled: Yes

    Exhibition: 1) 2560 x 1440

    Plugins installed:

    (1) Behance

    (2) substantive canon Plugin

    (3) Costco Photo Center

    (4) Facebook

    (5) Flickr

    (6) home Plugin Leica

    (7) attachment Plugin Nikon

    Config.LUA flags: None

    Map #1: Vendor: 8086

    Feature: 412

    Subsystem: 5b 01028

    Review: 6

    Video memory: 0

    Map #2: Seller: 10de

    Feature: 4

    Subsystem: 5b 01028

    Revision: a1

    Video memory: 7 c 1

    Map #3: Seller: 1414

    Device: 8 c

    Subsystem: 0

    Revision: 0

    Video memory: 0

    AudioDeviceIOBlockSize: 1024

    AudioDeviceName: Speakers (Realtek High Definition Audio)

    AudioDeviceNumberOfChannels: 2

    AudioDeviceSampleRate: 44100

    Build: not initialized

    CardID: 1042

    Direct2DEnabled: false

    GPUDevice: D3D

    MaxTexture2DSize: 8192

    OGLEnabled: true

    Renderer: Intel(r) HD Graphics 4600

    ShaderModel: 11.1

    Vendor: Intel

    VendorID: 32902

    Version: 8086:0412:5 b 01028:0006

    Behance Plugin for LR LR 5.6 authorized not

Maybe you are looking for

  • on the area of the screen

    We have a Compaq computer and all day today he showed a white and gray box highlighted in light blue with lettering... it says red audio then in the Middle it says volume 0 then on the bottom it says Compaq... I tried everything to get off and nothin

  • Not motor control steps (very basic)

    Hello! I want to build a Labview/application software that will directly control the motor step-by-step to a cnc one axis (right now). first of all regarding the software my requirements are: (1) I have read a CAD or any vectorial image. (2) so I wan

  • PowerPoint viewer

    I downloaded several versions of microsoft power point nviewer to view the files that were sent to me... they are extensions of pps... 2007, 2010, 2011, none of them work.    and how to make the viewer power point program of choice to open. ?

  • ESX host for a virtual machine specific?

    An ESX (out of 3) host in a cluster has a physique more NICWe would like to place a special virtual machine on the ESX host.  Is it possible to attribute this VM to this particular host?  Needless to say, if there is a failure and that the VM is prop

  • [JS] Real 'leader' of a paragraph with vertical alignment "justify".

    We have a problem reading the real 'leader' of a paragraph when on the textframe vertical alignment "justify" is applied and the attack has been implemented to 'auto '.It doesn't matter what attack is the result of this vertical justification, but th