Problem in SNMP4J Installation

Hello everyone,
I'm working on developing an SNMPv3 based NMS software for a Licensed Band cellular Radio Backhaul, using SNMP4J. My major concern in this project is to do both, manager as well as the agent part.
Being a beginner, I'm facing problem with the installation of the software itself.
I downloaded snmp4j-agentx-1.3.1a , currently working on Windows XP platform and trying to execute them over the simple command prompt of Windows (Will be working over Eclipse IDE later).
Since there was no online help available regarding the installation steps of this software, i tried n number of open forums which gave me the idea that certain .jar files were to be executed. However, no matter what i tried, all I got were Class Manifest errors. or, NoClassDef errors. This led to more confusion, resulting in multiple copies of the extracted snmp4j-agentx-1.3.1a folder at various locations. Also, is there a particular sequence in which these files are to be compiled/executed.
I also made a simple test code that should make a PDU and send it successfully. Since i can't execute and check it, i 'm a bit doubtful about it too.
// checking for a simple request pdu and sending it.
import java.io.IOException;
import java.util.List;
import org.snmp4j.CommunityTarget;
import org.snmp4j.scopedPDU;
import org.snmp4j.Snmp;
import org.snmp4j.event.ResponseEvent;
import org.snmp4j.mp.SnmpConstants;
import org.snmp4j.smi.Address;
import org.snmp4j.smi.GenericAddress;
import org.snmp4j.smi.OID;
import org.snmp4j.smi.OctetString;
import org.snmp4j.smi.VariableBinding;
import org.snmp4j.transport.DefaultUdpTransportMapping;
public class send
public static void main(String[] args)
//To setup a default SNMP session for UDP transport
Address targetAddress = GenericAddress.parse("udp:127.0.0.1/161");
TransportMapping transport = new DefaultUdpTransportMapping();
snmp = new Snmp(transport);
USM usm = new USM(SecurityProtocols.getInstance(),
new OctetString(MPv3.createLocalEngineID()), 0);
SecurityModels.getInstance().addSecurityModel(usm);
transport.listen();
// add user to the USM
snmp.getUSM().addUser(new OctetString("MD5DES"),
new UsmUser(new OctetString("MD5DES"),
AuthMD5.ID,
new OctetString("MD5DESUserAuthPassword"),
PrivDES.ID,
new OctetString("MD5DESUserPrivPassword")));
// create the target
UserTarget target = new UserTarget();
target.setAddress(targetAddress);
target.setRetries(1);
target.setTimeout(5000);
target.setVersion(SnmpConstants.version3);
target.setSecurityLevel(SecurityLevel.AUTH_PRIV);
target.setSecurityName(new OctetString("MD5DES"));
// create the PDU
PDU pdu = new ScopedPDU();
pdu.add(new VariableBinding(new OID("1.3.6")));
pdu.setType(PDU.GETNEXT);
// send the PDU
ResponseEvent response = snmp.send(pdu, target);
if(response.getResponse()== NULL)
System.out.println("Request Timed out!!!");
exit();
// extract the response PDU (could be null if timed out)
PDU responsePDU = response.getResponse();
// extract the address used by the agent to send the response:
Address peerAddress = response.getPeerAddress();
}

Hi,
  Client copy is important when your adding Java Addin. The java stack will be on this client only.
Can I perform client copy after J2EE installation?
Yes you can.. create client just say 555 give this client in while adding java addin. It will create another instance. It might not be a problem. If possible, try to delete the java instance refer to the installation gude.
If not, do I need to uninstall and start the installation from the scratch?
In my view not required from scratch
Also Please let me know the procedure for client copy?
Go to Tcode scc4 to create client give the required details if possible all.
Remember the client you created in the above transaction.
Try to login system using the created client number and userid is SAP*
and passwrd is "PASS".
Go to tcode sccl there you have copy the data from which client. Try to give the profile which is mentioned in the installation guide..
Regards,
Daniel.. L A

Similar Messages

  • Problem with linux installation on Thinkpad T410i

    Hello everyone. I have a problem with an installation of Linux (Debian). Installation ended in my Thinkpad T410i, but when you are starting, the computer constantly restarts. With windows does not happen. What's the problem?
    Probe with two versions: one with and one without GUI, and always restarts during startup stage or just finish loading the operating system. If eligo Windows in GRUB, the pc works normally.
    I appreciate any help you can give me.

    Madhukar,
    Check the below forums which also discuss about same problem like yours.
    Trouble with SAP system installation GUI
    error in installation of solution manager
    Regards,
    Debasis.

  • Hello I have a problem since my installation of the Yosemite update on my Mac I can longer open Indesign CS6

    Hello
    Hello I have a problem since my installation of the Yosemite update on my Mac I can longer open Indesign CS6.
    I have a problem since my installation of the Yosemite update on my Mac I can more open Indesign yet I have installed JavaForOSX2014-001 but it has changed nothing someone could help me?

    Please do not post the same question multiple times. If someone can help you, they will, but you need to be patient -- we're all just volunteers, users like yourself. I'm going to delete your other posts.

  • Has anybody had the following error while trying to download iTunes 10.5? There is a problem with Windows Installer package. A program required for this install to complete could not be run.

    Has anybody had the following error while trying to download iTunes 10.5? There is a problem with Windows Installer package. A program required for this install to complete could not be run.

    Go to "control panel" then "add or remove programs".  Highlight "Apple software update"  Choose "change" click "Repair"  This should do the trick.  Then download and install iTunes 10.5 again.

  • Tried to install iTunes 10.5 this morning but an error appeared saying "problem with windows installer package. A program required for this install to complete could not be run." Can someone please help

    I tried to install iTunes 10.5 this morning but an error appeared saying "problem with windows installer package. A program required for this install to complete could not be run." Can someone please help

    Firstly, are you installing iTunes for the first time or are you updating your current version of iTunes?
    If you're installing iTunes for the first time have you tried redownloading the installer package? Perhaps the file you downloaded originally is corrupted...
    http://www.apple.com/itunes/
    If you've tried that, then try installing iTunes as your computer's administrator. To do this right-click the install package and choose "Run as administrator".
    If you're updating iTunes to the most recent version try repairing the Apple Software Update program on your computer. It's under the add/remove programs.
    1. Open the control panel
    2. Open Add/Remove programs (called "Programs and Features" in Windows 7)
    3. Navigate to "Apple Software Update" in the list and click on it
    4. Click on "Change" then select "Repair" (or just select the repair option in Windows 7)
    Once you repair this, try running iTunes and the update again.
    Fingers crossed!

  • Problems by the Installation of Adobe Photoshop Elements 12

    Problems by the Installation of Adobe Photoshop Elements 12  can some one help me please?

    Thanks you so much,
    Somehow it is solved now. It is now perfectly installed. and when it is as
    easely as I was using 3.2 version, I shall buy it at once.
    God bless you and thanks.
    Alwin lyss
    2014-07-11 22:01 GMT+02:00 kglad <[email protected]>:
        Problems by the Installation of Adobe Photoshop Elements 12  created
    by kglad <https://forums.adobe.com/people/kglad> in *Downloading,
    Installing, Setting Up* - View the full discussion
    <https://forums.adobe.com/message/6543307#6543307>

  • Hi! I just bought Lion and I am having a problem with the installation. It keeps telling me that the computer's hard drive has a S.M.A.R.T. problem. How can I solve it?problem.

    Hi! I just bought Lion and I am having a problem with the installation. It keeps telling me that the computer's hard drive has a S.M.A.R.T. problem. How can I solve it?
    Thanks!
    Angela

    You may have a hard drive problem. When I installed Lion, the installer told me that it couldn't complete because the hard drive was failing (or broken, the exact words escape me). Since the HD had been functioning just fine, I took it to the Genius Bar, and found out that yes, the hard drive was slowly dying (bad sectors). I couldn't reboot into Snow Leopard, the installer wouldn't let me and then the drive just wouldn't work at all.
    I had to replace my drive and restore from Time Machine. Thankfully, I had Time Machine, and had just done a backup 5 minutes before the crash.
    Best of luck.

  • When i try to update my itunes on my pc i keep getting the messaage that there was a problem with the installer and it could not finish. how do i fix this? i`ve tried to download 3 times already.

    when i try to update my itunes on my pc i keep getting the messaage that there was a problem with the installer and it could not finish. how do i fix this? i`ve tried to download 3 times already.

    Hi
    I've got a similar problem.  iTunes v10.2 worked fine, but when I tried to update it to 10.5 I got a 'Bonjour' error.  I eventually solved that but I still couldn't upgrade to 10.5, so I deleted every single Apple, Quicktime, iTunes, etc file on my PC using Revo Unistaller (because the normal Windows Add/Delete programs wouldn't work) but now, when I install the latest iTunes version from scratch (on XP SP3), it says: "the installer encountered errors before it could be configured.... your system has not been modified" 
    Any ideas?
    Rick

  • HT1349 Hi all,I have just purchased new iphone but have difficulty in completing the itunes download with message : problem with Windows installer package. A program run as part of the setup did not finish as expected.

    Hi all,I have just purchased new iphone but have difficulty in completing the itunes download with message : problem with Windows installer package. A program run as part of the setup did not finish as expected.
    Would appreciate help...its driving me up the wall!!

    Perhaps let's first try updating your Apple Software Update.
    Launch Apple Software Update ("Start > All Programs > Apple Software Update"). Does it launch and offer you a newer version of Apple Software Update? If so, choose to install just that update to Apple Software Update. (Deselect any other software offered at the same time.)
    If the ASU update goes through okay, try another iTunes install. Does it go through without the errors this time?

  • Having trouble trying to install itunes 10.5. Receive message saying 'There is a problem with this installer package. A program required for this install to complete could not be found. Please contact product vendor'

    Having trouble trying to install itunes 10.5. Receive message saying 'There is a problem with this installer package. A program required for this install to complete could not be found. Please contact product vendor'

    Managed to get the installation sorted. Go to Control Panel, and where you have a list of all installed programs, repair all the Apple/Itunes related programs. Installation worked fine after that. Hopefully it helps you out too!

  • Problem in post installation of PI7.1

    Hi All expert  ,
    I facing problem in post installation of PI7.1 ,
    I have tried  to run net weaver initial setup with the help of configuration wizard we are facing given  following problem .
    During 60% of instatllation I have got error u201CChoose a password that is different from your last 5 passwordsu201D I  have changed it in ABAP side but still getting same error
    When I skip this step then second error
    : Choose a password that is different from your last 5 passwords 'PI_JCO_RFC'
    AI_RUNTIME_JCOSERVER
    RFC_ERROR_LOGON_FAILURE: Password logon no longer possible - too many failed attempts
    Is it any way to change all standard user(i.e. created during installation ) like PI*,  password in one shot in both ABAP side and  JAVA side .
    Regards,
    Amit

    Hi,
    that problem is resolved now m facing other problem during initial setup of configuration wizard .
    please see detail log .
    NetWeaver initial setup > PI UT initial setup > PI initial setup > Configure IntegrationServer > Initial setup of functional unit IntegrationServer > Initial setup of functional unit IntegrationServer > This wizard will execute Postinstall steps of technical configuration > Executing BAPI SXMB_SET_ROLE_TO_IS
    Executing BAPI SXMB_SET_ROLE_TO_IS
    Description
    No specified detailed description
    State
    START_ACTION
    Support Information
    Type of Action
    InvokeServiceDebug Events
    error message
    Error: Execution of Function SXMB_SET_ROLE_TO_IS ends with an error (cause:ONLY_ONE_CENTRAL_XMB:100, error code:092).
    error message
    Error: Execution of Function SXMB_SET_ROLE_TO_IS ends with an error (cause:ONLY_ONE_CENTRAL_XMB:100, error code:092).
    InvokeService:Executing BAPI SXMB_SET_ROLE_TO_IS
    Library: sap.com/tclmconfig~content
    SourcePath ./NetweaverProcess/PIJavaConstraint/PIJavaProcess/IntegrationServerRootProcess/IntegrationServerProcess/IntegrationServerProcess/SXMB_SET_ROLE_TO_IS/INVOKESERVICEBAPIIS
    Time 2009/07/31 at 14:30:47
    WSDL content/Netweaver/PI/IntegrationServer/service/BAPIConfiguringRoleOfIS.wsdl
    Destination parameters
    user : PISUPER
    password : % secure content %
    host : ctsgvcsapbl03
    sysnr : 10
    client : 001
    language : en
    function name: SXMB_SET_ROLE_TO_ISInput
    <Input>
    <NAME>EGAL</NAME>
    </Input>
    InvokeService- Result: Failed
    Exception Message:Execution of Function SXMB_SET_ROLE_TO_IS ends with an error (cause:ONLY_ONE_CENTRAL_XMB:100, error code:092).
    Exception Class:com.sap.tc.lm.ctc.metamodel.exception.ActionExecuteException
    Stacktrace
    com.sap.tc.lm.ctc.cul.serviceimpl.process.InvokeServiceControllerDefault.execute(InvokeServiceControllerDefault.java:171)
    error message
    Error: Execution of Function SXMB_SET_ROLE_TO_IS ends with an error (cause:ONLY_ONE_CENTRAL_XMB:100, error code:092).
    Regards,
    Amit

  • À PROBLEM IN THE INSTALLATION OF SQL SERVER

    I HAVE À PROBLEM IN THE INSTALLATION OF SQL SERVER ,I HAVE WINDOWS 8 64 BITS LENOVO ,I TRIED MANY VERSIONS, BUT IT DOESN'T WORK YET :(
    PLEASE HELP ME !

    I HAVE À PROBLEM IN THE INSTALLATION OF SQL SERVER ,I HAVE WINDOWS 8 64 BITS LENOVO ,I TRIED MANY VERSIONS, BUT IT DOESN'T WORK YET :(
    PLEASE HELP ME !
    Without the exact error message wwe will just hit arrow in the bush.Please post summary.txt which was generated due to failed installation.Below link will help you locate it
    http://technet.microsoft.com/en-us/library/ms143702.aspx
    Below link will give useful info about how to proceed with installing SQL server on win 8
    Considerations before installing SQL server on win 8
    Hardware and software requirement for installing SQL server 2012
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Hello I'm having problems with the installation of EFI 2.2 my macbook shutdown every time I try to install the actualization is this normal?

    Hello I'm having problems with the installation of EFI 2.2 my macbook shuts down every time I try to install the actualization is this normal?

    Hello I'm having problems with the installation of EFI 2.2 my macbook shuts down every time I try to install the actualization is this normal?

  • I have problems with the 'installation of creative cloud. Error Code: 205

    I have problems with the 'installation of creative cloud. Error Code: 205 What can I do to fix this?

    Errors 201 & 205 & 206 & 207 or several U43 errors
    -http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html

  • Problem in xi installation

    HI All,
    I have installed XI3.0 in my system, the installation is success. However, I missed out copying the client from 000 to someother before the installation of J2EE stack. Hence its giving problem in post installation activites while generating the profiles.
    Now my doubts are :
    Can I perform client copy after J2EE installation?
    If not, do I need to uninstall and start the installation from the scratch?
    Also Please let me know the procedure for client copy?
    Please make me clear on above.....
    Thanks in advance.
    Ravindra.

    Hi,
      Client copy is important when your adding Java Addin. The java stack will be on this client only.
    Can I perform client copy after J2EE installation?
    Yes you can.. create client just say 555 give this client in while adding java addin. It will create another instance. It might not be a problem. If possible, try to delete the java instance refer to the installation gude.
    If not, do I need to uninstall and start the installation from the scratch?
    In my view not required from scratch
    Also Please let me know the procedure for client copy?
    Go to Tcode scc4 to create client give the required details if possible all.
    Remember the client you created in the above transaction.
    Try to login system using the created client number and userid is SAP*
    and passwrd is "PASS".
    Go to tcode sccl there you have copy the data from which client. Try to give the profile which is mentioned in the installation guide..
    Regards,
    Daniel.. L A

Maybe you are looking for

  • Pay roll log Error while running the Payroll

    Hi Experts, I am getting one error  while i am running the payroll.Create valuation bases(addition).In Pcr X010  P01. I was the valuation of WTs in Table V_512w_B.Can u any body give solution to rectify this error. Thanks in Advance Bhaskar Edited by

  • Hierarchial Input Parameters

    Hi All, I have created a Crystal report with SAP BW Database. On executing the SAP BW Query in the BEx Analyser, I find the input parameters to be displayed in hierarchial format.  When I use that query in the Crystal Report, I get only few of  those

  • E-business Upgrade Plan Template

    Dear All, We already upgrad 12.0.6/solaris sparc 64/10.2.0.3 to 12.1.1/soloris sparc 64/11.2.03 in TEST env, application team tested and green sigle to move production. we have 4 days Holiday, so we are planning upgrade on production. as APPSDBA i m

  • What is the best way to do this? I am stuck!!

    I have a block with this, PLEASE help! I am writing a plsql package that is going to create a custom table everything is going fine EXCEPT that I don’t know what will be the best way to do this. Please point me in the right direction a function or so

  • Migrate from WD Java to WD ABAP in ESS Trips and Expenses

    Hi I got request to migrate from from Java to ABAP fof ESS trips and expenses. Could someone please give me a link to the documentation or any existing blogs? thanks