<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: where can i find the java snmp package ? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/where-can-i-find-the-java-snmp-package/m-p/4400814#M42063</link>
    <description>I get the following error when i compile this java code :&lt;BR /&gt;&lt;BR /&gt;SnmpTrapTest.java:39: cannot resolve symbol&lt;BR /&gt;symbol  : class SnmpTrapSender &lt;BR /&gt;location: class com.sun.content.server.foundation.snmp.SnmpTrapTest&lt;BR /&gt;            ^&lt;BR /&gt;SnmpTrapTest.java:39: cannot resolve symbol&lt;BR /&gt;symbol  : variable SnmpTrapSender &lt;BR /&gt;location: class com.sun.content.server.foundation.snmp.SnmpTrapTest&lt;BR /&gt;</description>
    <pubDate>Tue, 14 Apr 2009 18:31:05 GMT</pubDate>
    <dc:creator>SAMI AHMAD</dc:creator>
    <dc:date>2009-04-14T18:31:05Z</dc:date>
    <item>
      <title>where can i find the java snmp package ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/where-can-i-find-the-java-snmp-package/m-p/4400813#M42062</link>
      <description>Iam using the following code i found from web but I think iam missing the package "package com.sun.content.server.foundation.snmp; "&lt;BR /&gt;how can i check if this package is included in the current java142 that I have ? and if its not included where can i download it from?&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; /*&lt;BR /&gt; * $Id: SnmpTrapTest.java 1242 2007-06-20 22:51:21Z carlosh $&lt;BR /&gt; *&lt;BR /&gt; * The contents of this file are subject to the terms&lt;BR /&gt; * of the Common Development and Distribution License&lt;BR /&gt; * (the "License").  You may not use this file except&lt;BR /&gt; * in compliance with the License.&lt;BR /&gt; *&lt;BR /&gt; * You can obtain a copy of the license at&lt;BR /&gt; * &lt;A href="https://opencds.dev.java.net/CDDLv1.0.html" target="_blank"&gt;https://opencds.dev.java.net/CDDLv1.0.html&lt;/A&gt; or&lt;BR /&gt; * opencds/trunk/LicenseReadme/CDDLv1.0.txt.&lt;BR /&gt; * See the License for the specific language governing&lt;BR /&gt; * permissions and limitations under the License.&lt;BR /&gt; *&lt;BR /&gt; * When distributing Covered Code, include this CDDL&lt;BR /&gt; * HEADER in each file and include the License file at&lt;BR /&gt; * opencds/trunk/LicenseReadme/CDDLv1.0.txt.  If applicable,&lt;BR /&gt; * add the following below this CDDL HEADER, with the&lt;BR /&gt; * fields enclosed by brackets "[]" replaced with your&lt;BR /&gt; * own identifying information:&lt;BR /&gt; * Portions Copyright [yyyy] [name of copyright owner]&lt;BR /&gt; *&lt;BR /&gt; * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.&lt;BR /&gt; */&lt;BR /&gt;&lt;BR /&gt;package com.sun.content.server.foundation.snmp;&lt;BR /&gt;&lt;BR /&gt;public class SnmpTrapTest {&lt;BR /&gt;    /**&lt;BR /&gt;     * For unit testing.&lt;BR /&gt;     *&lt;BR /&gt;     * @param args an array of command-line arguments&lt;BR /&gt;     */&lt;BR /&gt;    public static void main(String[] args) {&lt;BR /&gt;&lt;BR /&gt;        try {&lt;BR /&gt;&lt;BR /&gt;            System.out.println("Starting...");&lt;BR /&gt;            SnmpTrapSender sa = SnmpTrapSender.getInstance();&lt;BR /&gt;            //    new SnmpTrapSender("172.16.1.38", 162);&lt;BR /&gt;&lt;BR /&gt;            sa.sendTrap(SnmpConstants.SNMP_TRAP_DBCONNECTION_DOWN, "DB Down Test");&lt;BR /&gt;&lt;BR /&gt;            sa.close();&lt;BR /&gt;            System.out.println("Done...");&lt;BR /&gt;&lt;BR /&gt;        } catch (Exception e) {&lt;BR /&gt;            e.printStackTrace();&lt;BR /&gt;            System.exit(0);&lt;BR /&gt;        }&lt;BR /&gt;&lt;BR /&gt;    }&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Apr 2009 18:19:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/where-can-i-find-the-java-snmp-package/m-p/4400813#M42062</guid>
      <dc:creator>SAMI AHMAD</dc:creator>
      <dc:date>2009-04-14T18:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: where can i find the java snmp package ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/where-can-i-find-the-java-snmp-package/m-p/4400814#M42063</link>
      <description>I get the following error when i compile this java code :&lt;BR /&gt;&lt;BR /&gt;SnmpTrapTest.java:39: cannot resolve symbol&lt;BR /&gt;symbol  : class SnmpTrapSender &lt;BR /&gt;location: class com.sun.content.server.foundation.snmp.SnmpTrapTest&lt;BR /&gt;            ^&lt;BR /&gt;SnmpTrapTest.java:39: cannot resolve symbol&lt;BR /&gt;symbol  : variable SnmpTrapSender &lt;BR /&gt;location: class com.sun.content.server.foundation.snmp.SnmpTrapTest&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Apr 2009 18:31:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/where-can-i-find-the-java-snmp-package/m-p/4400814#M42063</guid>
      <dc:creator>SAMI AHMAD</dc:creator>
      <dc:date>2009-04-14T18:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: where can i find the java snmp package ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/where-can-i-find-the-java-snmp-package/m-p/4400815#M42064</link>
      <description>Sami,&lt;BR /&gt;&lt;BR /&gt;what you have her is just a demo program for the com.sun.content.server.foundation.snmp package (which contains the SnmpTrapSender class that you're missing). As the comment in the program mentions, this seems to be part of the OpenCDS package, &lt;A href="http://opencds.dev.java.net/" target="_blank"&gt;http://opencds.dev.java.net/&lt;/A&gt; , which is a rather BIG thing. Even if the binary package works on VMS, the dependancy list of externals is huge: &lt;A href="https://opencds.dev.java.net/source/browse/opencds/dependencies/external/readme.txt?view=markup" target="_blank"&gt;https://opencds.dev.java.net/source/browse/opencds/dependencies/external/readme.txt?view=markup&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I don't think this'll work.&lt;BR /&gt;&lt;BR /&gt;cu,&lt;BR /&gt;  Martin</description>
      <pubDate>Wed, 15 Apr 2009 06:09:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/where-can-i-find-the-java-snmp-package/m-p/4400815#M42064</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2009-04-15T06:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: where can i find the java snmp package ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/where-can-i-find-the-java-snmp-package/m-p/4400816#M42065</link>
      <description>Thanks Martin !&lt;BR /&gt;&lt;BR /&gt;I hope someone has used the java snmp package in this forum and can give me some directions.</description>
      <pubDate>Wed, 15 Apr 2009 13:55:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/where-can-i-find-the-java-snmp-package/m-p/4400816#M42065</guid>
      <dc:creator>SAMI AHMAD</dc:creator>
      <dc:date>2009-04-15T13:55:55Z</dc:date>
    </item>
  </channel>
</rss>

