Re: [SNMP4J] SNMP4J Agent on Xilinx Zynq ZCU102 Development Board Running Peta Linux
Hi Frank, Thanks for your hint, I got it working. Thanks, Don -Original Message- From: Frank Fock [mailto:f...@agentpp.com] Sent: Wednesday, December 06, 2017 5:26 PM To: Broderick, Don <d...@mitre.org> Cc: snmp4j@agentpp.org Subject: Re: [SNMP4J] SNMP4J Agent on Xilinx Zynq ZCU102 Development Board Running Peta Linux Hi Don, It is just a guess: may be it is caused because the system is very slow in providing random data. Have you checked that? (On most such platforms there is a workaround to provide faster good random values) But I have to admit, that it could be something completely different. Best regards, Frank > On 6. Dec 2017, at 19:30, Broderick, Don <d...@mitre.org> wrote: > > I am trying to run an agent I made using AgenPro on this hardware and it get > to calling AgentConfigmanager.initialize() method but it never returns. This > same agent works on Windows and Linux without problem. I have included a > portion of the Java verbose output below and the Agent just hangs after the > last line below with no other activity happening. When I run it on Linux or > Windows I get much more output after the corresponding last line below. I > would expect the Agent.bc file to be created/updated in the initialize method > but it is not being created. I tried manually creating the file but still > have the same behavior. I am using the Oracle Java distribution. Any > suggestions would be appreciated. > > Thanks, > Don > > [Loaded org.snmp4j.security.USM from jar:rsrc:snmp4j-2.5.7.jar!/] > [Loaded org.snmp4j.security.SecurityParameters from > jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded > org.snmp4j.security.SecurityStateReference from > jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded > org.snmp4j.security.SecurityProtocols from > jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded > org.snmp4j.security.SecurityProtocol from jar:rsrc:snmp4j-2.5.7.jar!/] > [Loaded org.snmp4j.security.AuthenticationProtocol from > jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded > org.snmp4j.security.PrivacyProtocol from jar:rsrc:snmp4j-2.5.7.jar!/] > [Loaded org.snmp4j.security.AuthGeneric from > jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.AuthMD5 from > jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded > java.security.GeneralSecurityException from > /home/root/jdk1.8.0_152/jre/lib/rt.jar] > [Loaded java.security.NoSuchAlgorithmException from > /home/root/jdk1.8.0_152/jre/lib/rt.jar] > [Loaded org.snmp4j.mp.SnmpConstants from jar:rsrc:snmp4j-2.5.7.jar!/] > [Loaded org.snmp4j.security.AuthSHA from jar:rsrc:snmp4j-2.5.7.jar!/] > [Loaded org.snmp4j.security.AuthSHA2 from jar:rsrc:snmp4j-2.5.7.jar!/] > [Loaded org.snmp4j.security.AuthHMAC128SHA224 from > jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded > org.snmp4j.security.AuthHMAC192SHA256 from > jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded > org.snmp4j.security.AuthHMAC256SHA384 from > jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded > org.snmp4j.security.AuthHMAC384SHA512 from > jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded > org.snmp4j.security.PrivacyGeneric from jar:rsrc:snmp4j-2.5.7.jar!/] > [Loaded org.snmp4j.security.PrivDES from jar:rsrc:snmp4j-2.5.7.jar!/] > [Loaded java.security.spec.AlgorithmParameterSpec from > /home/root/jdk1.8.0_152/jre/lib/rt.jar] > [Loaded java.security.Key from /home/root/jdk1.8.0_152/jre/lib/rt.jar] > [Opened /home/root/jdk1.8.0_152/jre/lib/jce.jar] > [Loaded javax.crypto.NoSuchPaddingException from > /home/root/jdk1.8.0_152/jre/lib/jce.jar] > [Loaded java.security.InvalidAlgorithmParameterException from > /home/root/jdk1.8.0_152/jre/lib/rt.jar] > [Loaded java.security.KeyException from > /home/root/jdk1.8.0_152/jre/lib/rt.jar] > [Loaded java.security.InvalidKeyException from > /home/root/jdk1.8.0_152/jre/lib/rt.jar] > [Loaded org.snmp4j.security.Salt from jar:rsrc:snmp4j-2.5.7.jar!/] > [Loaded sun.security.provider.SecureRandom$SeederHolder from > /home/root/jdk1.8.0_152/jre/lib/rt.jar] > [Loaded sun.security.provider.SeedGenerator from > /home/root/jdk1.8.0_152/jre/lib/rt.jar] > [Loaded sun.security.provider.SeedGenerator$URLSeedGenerator from > /home/root/jdk1.8.0_152/jre/lib/rt.jar] > [Loaded sun.security.provider.NativeSeedGenerator from > /home/root/jdk1.8.0_152/jre/lib/rt.jar] > [Loaded sun.security.provider.SeedGenerator$URLSeedGenerator$1 from > /home/root/jdk1.8.0_152/jre/lib/rt.jar] > [Loaded sun.security.provider.SeedGenerator$1 from > /home/root/jdk1.8.0_152/jre/lib/rt.jar] > [Loaded java.net.NetworkInterface$2 from > /home/root/jdk1.8.0_152/jre/lib/rt.jar] > [Loaded java.nio.file.DirectoryStream$Filter from > /home/root/jdk1.8.0_152/jre/lib/rt.jar] > [Loaded java.nio.file.Files$AcceptAllFilter from > /home/root/jdk1.8.0_152/jre/lib/rt.jar] > [Loaded java.nio.file.DirectoryStr
[SNMP4J] SNMP4J Agent on Xilinx Zynq ZCU102 Development Board Running Peta Linux
I am trying to run an agent I made using AgenPro on this hardware and it get to calling AgentConfigmanager.initialize() method but it never returns. This same agent works on Windows and Linux without problem. I have included a portion of the Java verbose output below and the Agent just hangs after the last line below with no other activity happening. When I run it on Linux or Windows I get much more output after the corresponding last line below. I would expect the Agent.bc file to be created/updated in the initialize method but it is not being created. I tried manually creating the file but still have the same behavior. I am using the Oracle Java distribution. Any suggestions would be appreciated. Thanks, Don [Loaded org.snmp4j.security.USM from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.SecurityParameters from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.SecurityStateReference from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.SecurityProtocols from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.SecurityProtocol from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.AuthenticationProtocol from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.PrivacyProtocol from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.AuthGeneric from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.AuthMD5 from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded java.security.GeneralSecurityException from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded java.security.NoSuchAlgorithmException from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded org.snmp4j.mp.SnmpConstants from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.AuthSHA from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.AuthSHA2 from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.AuthHMAC128SHA224 from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.AuthHMAC192SHA256 from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.AuthHMAC256SHA384 from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.AuthHMAC384SHA512 from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.PrivacyGeneric from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded org.snmp4j.security.PrivDES from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded java.security.spec.AlgorithmParameterSpec from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded java.security.Key from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Opened /home/root/jdk1.8.0_152/jre/lib/jce.jar] [Loaded javax.crypto.NoSuchPaddingException from /home/root/jdk1.8.0_152/jre/lib/jce.jar] [Loaded java.security.InvalidAlgorithmParameterException from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded java.security.KeyException from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded java.security.InvalidKeyException from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded org.snmp4j.security.Salt from jar:rsrc:snmp4j-2.5.7.jar!/] [Loaded sun.security.provider.SecureRandom$SeederHolder from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded sun.security.provider.SeedGenerator from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded sun.security.provider.SeedGenerator$URLSeedGenerator from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded sun.security.provider.NativeSeedGenerator from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded sun.security.provider.SeedGenerator$URLSeedGenerator$1 from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded sun.security.provider.SeedGenerator$1 from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded java.net.NetworkInterface$2 from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded java.nio.file.DirectoryStream$Filter from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded java.nio.file.Files$AcceptAllFilter from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded java.nio.file.DirectoryStream from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded sun.nio.fs.UnixDirectoryStream from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded java.util.concurrent.locks.ReadWriteLock from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded java.util.concurrent.locks.ReentrantReadWriteLock from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded java.util.concurrent.locks.ReentrantReadWriteLock$Sync from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded java.util.concurrent.locks.ReentrantReadWriteLock$FairSync from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded java.util.concurrent.locks.ReentrantReadWriteLock$Sync$ThreadLocalHoldCounter from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock from /home/root/jdk1.8.0_152/jre/lib/rt.jar] [Loaded sun.nio.fs.UnixDirectoryStream$UnixDirectoryIterator from /home/root/jdk1.8.0_152/jre/lib/rt.jar] ___ SNMP4J mailing list SNMP4J@agentpp.org https://oosnmp.net/mailman/listinfo/snmp4j
Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository?
Frank, With 1.8.0 I have the following which works: org.snmp4j.smi snmp4j-smi-pro 1.8.0 For 1.9.2 I have the following which causes the Maven error: org.snmp4j.smi snmp4j-smi-pro 1.9.2 jar-with-dependencies That is the only difference in the pom file from when it works and doesn’t. I have taken the jar with dependencies and included it directly in the java build path in Eclipse as an external library and removed the dependency from my pom file. This works correctly and I am able to build and run my application. Thanks, DonB From: Frank Fock [mailto:f...@agentpp.com] Sent: Wednesday, September 20, 2017 4:26 PM To: Broderick, Don <d...@mitre.org> Cc: snmp4j@agentpp.org Subject: Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository? Don, The JASMI classes are in the packages com.agentpp.smi and com.agentpp.smiparser for example. They are all included in the jar-with-dependencies. Something must be still wrong with your pom.xml A dependency to JASMI should not exists in that pom.xml nor induced due to transitive dependencies. Best regards, Frank On 20. Sep 2017, at 17:16, Broderick, Don <d...@mitre.org<mailto:d...@mitre.org>> wrote: Frank, No problem, I am grateful you are being so helpful! Unfortunately I am getting "Missing artifact com.oosnmp:jasmi:jar:4.2.2" now. I examined our Artifactory and see snmp4j-smi-pro-1.9.2-jar-with-dependencies.jar that is 893.84 KB. When I examine what is in the jar using the Artifactory web interface I see under com it has agentpp, objectspace, and snmp4j. Should it show oosnmp that has jasmi also? Thanks for all your help, DonB -Original Message- From: Frank Fock [mailto:f...@agentpp.com] Sent: Thursday, September 14, 2017 8:37 PM To: Broderick, Don <d...@mitre.org<mailto:d...@mitre.org>> Cc: snmp4j@agentpp.org<mailto:snmp4j@agentpp.org> Subject: Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository? Don, You are right. It was my fault. The classifier for the JAR with dependencies was 'jar-with-dep’ in 1.9.1 instead the “standard” classifier 'jar-with-dependencies’. I have fixed that with version 1.9.2 which is now available. I took a long time to sort this out. Please excuse that. I had to understand how you access the repository with the JAR first, in order to understand what was going wrong. Best regards, Frank On 14. Sep 2017, at 15:23, Broderick, Don <d...@mitre.org<mailto:d...@mitre.org>> wrote: Frank, We have a corporate repository using Artifactory that mirrors your repository. I can see the jar and pom files on our repository and the pom file there is the same as the one on your repository. I have been consulting with some other people internally that are more experienced with Maven than I am and have not been able to resolve the issue. I am unable to directly go to your repository due to the corporate firewall and security configuration of our network. Artifactory says to use "jar-with-dep" classifier to access this artifact. I have tried this and get missing artifact for jasmi:jar:4.2.2 This is the only artifact I am having issues with and this is only since 1.9.1. If necessary I will have to see if I can manually load the jar on our repository using a simple pom file that won't need the classifier. Thanks, DonB -Original Message- From: Frank Fock [mailto:f...@agentpp.com] Sent: Monday, September 11, 2017 6:18 PM To: Broderick, Don <d...@mitre.org<mailto:d...@mitre.org>> Cc: snmp4j@agentpp.org<mailto:snmp4j@agentpp.org> Subject: Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository? Hi Don, I am confused. What Maven repository are you using? (And if it is not oosnmp.net<http://oosnmp.net>, then how did you deploy SNMP4J-SMI-PRO there?) Best regards, Frank On 11. Sep 2017, at 18:29, Broderick, Don <d...@mitre.org<mailto:d...@mitre.org>> wrote: Hi Frank, When I added the classifier I know get the following error: Missing artifact org.snmp4j.smi:snmp4j-smi-pro:jar:jar-with-dependencies:1.9.1 org.snmp4j.smi snmp4j-smi-pro 1.9.1 jar-with-dependencies Any other suggetions? Thanks, DonB -Original Message----- From: Frank Fock [mailto:f...@agentpp.com] Sent: Thursday, September 07, 2017 1:29 AM To: Broderick, Don <d...@mitre.org<mailto:d...@mitre.org>> Cc: snmp4j@agentpp.org<mailto:snmp4j@agentpp.org> Subject: Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository? Hi Don, Please just add the following line to your dependency definition: jar-with-dependencies I have also added the complete example to the FAQ at: https://oosnmp.net/confluence/pages/viewpage.action?pageId=5799973 Best regards, Frank On 6. Sep 2017, at 13:31, Broderick, Don <d...@mitre.org<mailto
Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository?
Frank, No problem, I am grateful you are being so helpful! Unfortunately I am getting "Missing artifact com.oosnmp:jasmi:jar:4.2.2" now. I examined our Artifactory and see snmp4j-smi-pro-1.9.2-jar-with-dependencies.jar that is 893.84 KB. When I examine what is in the jar using the Artifactory web interface I see under com it has agentpp, objectspace, and snmp4j. Should it show oosnmp that has jasmi also? Thanks for all your help, DonB -Original Message- From: Frank Fock [mailto:f...@agentpp.com] Sent: Thursday, September 14, 2017 8:37 PM To: Broderick, Don <d...@mitre.org> Cc: snmp4j@agentpp.org Subject: Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository? Don, You are right. It was my fault. The classifier for the JAR with dependencies was 'jar-with-dep’ in 1.9.1 instead the “standard” classifier 'jar-with-dependencies’. I have fixed that with version 1.9.2 which is now available. I took a long time to sort this out. Please excuse that. I had to understand how you access the repository with the JAR first, in order to understand what was going wrong. Best regards, Frank > On 14. Sep 2017, at 15:23, Broderick, Don <d...@mitre.org> wrote: > > Frank, > > We have a corporate repository using Artifactory that mirrors your > repository. I can see the jar and pom files on our repository and the pom > file there is the same as the one on your repository. I have been consulting > with some other people internally that are more experienced with Maven than I > am and have not been able to resolve the issue. I am unable to directly go > to your repository due to the corporate firewall and security configuration > of our network. > > Artifactory says to use "jar-with-dep" classifier to access this > artifact. I have tried this and get missing artifact for > jasmi:jar:4.2.2 > > This is the only artifact I am having issues with and this is only since > 1.9.1. If necessary I will have to see if I can manually load the jar on our > repository using a simple pom file that won't need the classifier. > > Thanks, > DonB > > -Original Message- > From: Frank Fock [mailto:f...@agentpp.com] > Sent: Monday, September 11, 2017 6:18 PM > To: Broderick, Don <d...@mitre.org> > Cc: snmp4j@agentpp.org > Subject: Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository? > > Hi Don, > > I am confused. What Maven repository are you using? (And if it is not > oosnmp.net, then how did you deploy SNMP4J-SMI-PRO there?) > > Best regards, > Frank > > >> On 11. Sep 2017, at 18:29, Broderick, Don <d...@mitre.org> wrote: >> >> Hi Frank, >> >> When I added the classifier I know get the following error: >> Missing artifact >> org.snmp4j.smi:snmp4j-smi-pro:jar:jar-with-dependencies:1.9.1 >> >> >> org.snmp4j.smi >> snmp4j-smi-pro >> 1.9.1 >> jar-with-dependencies >> >> >> Any other suggetions? >> >> Thanks, >> DonB >> >> -Original Message- >> From: Frank Fock [mailto:f...@agentpp.com] >> Sent: Thursday, September 07, 2017 1:29 AM >> To: Broderick, Don <d...@mitre.org> >> Cc: snmp4j@agentpp.org >> Subject: Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository? >> >> Hi Don, >> >> Please just add the following line to your dependency definition: >> >> jar-with-dependencies >> >> I have also added the complete example to the FAQ at: >> https://oosnmp.net/confluence/pages/viewpage.action?pageId=5799973 >> >> Best regards, >> Frank >> >>> On 6. Sep 2017, at 13:31, Broderick, Don <d...@mitre.org> wrote: >>> >>> Sorry if this is a duplicate, I am not sure if the first one went out. >>> >>> Frank, >>> >>> I only have this in my POM, if I don't have this I will need to manually >>> download and install the jar on each system. >>> >>> org.snmp4j.smi >>> snmp4j-smi-pro >>> 1.9.1 >>> >>> >>> When I build with 1.8.0 it works fine and the POM for 1.8.0 in your Maven >>> repository is: >>> >>> http://maven.apache.org/POM/4.0.0 >>> http://maven.apache.org/xsd/maven-4.0.0.xsd;> >>> 4.0.0 >>> org.snmp4j.smi >>> snmp4j-smi-pro >>> 1.8.0 >>> SNMP4J-SMI-PRO MIB Parser API >>> >>> The POM in your repository for 1.9.1 is very different and lists the >>> dependencies that are causing the problem. Shouldn't the POM in the >>> reposito
Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository?
Frank, We have a corporate repository using Artifactory that mirrors your repository. I can see the jar and pom files on our repository and the pom file there is the same as the one on your repository. I have been consulting with some other people internally that are more experienced with Maven than I am and have not been able to resolve the issue. I am unable to directly go to your repository due to the corporate firewall and security configuration of our network. Artifactory says to use "jar-with-dep" classifier to access this artifact. I have tried this and get missing artifact for jasmi:jar:4.2.2 This is the only artifact I am having issues with and this is only since 1.9.1. If necessary I will have to see if I can manually load the jar on our repository using a simple pom file that won't need the classifier. Thanks, DonB -Original Message- From: Frank Fock [mailto:f...@agentpp.com] Sent: Monday, September 11, 2017 6:18 PM To: Broderick, Don <d...@mitre.org> Cc: snmp4j@agentpp.org Subject: Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository? Hi Don, I am confused. What Maven repository are you using? (And if it is not oosnmp.net, then how did you deploy SNMP4J-SMI-PRO there?) Best regards, Frank > On 11. Sep 2017, at 18:29, Broderick, Don <d...@mitre.org> wrote: > > Hi Frank, > > When I added the classifier I know get the following error: > Missing artifact org.snmp4j.smi:snmp4j-smi-pro:jar:jar-with-dependencies:1.9.1 > > > org.snmp4j.smi > snmp4j-smi-pro > 1.9.1 > jar-with-dependencies > > > Any other suggetions? > > Thanks, > DonB > > -Original Message- > From: Frank Fock [mailto:f...@agentpp.com] > Sent: Thursday, September 07, 2017 1:29 AM > To: Broderick, Don <d...@mitre.org> > Cc: snmp4j@agentpp.org > Subject: Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository? > > Hi Don, > > Please just add the following line to your dependency definition: > > jar-with-dependencies > > I have also added the complete example to the FAQ at: > https://oosnmp.net/confluence/pages/viewpage.action?pageId=5799973 > > Best regards, > Frank > >> On 6. Sep 2017, at 13:31, Broderick, Don <d...@mitre.org> wrote: >> >> Sorry if this is a duplicate, I am not sure if the first one went out. >> >> Frank, >> >> I only have this in my POM, if I don't have this I will need to manually >> download and install the jar on each system. >> >> org.snmp4j.smi >> snmp4j-smi-pro >> 1.9.1 >> >> >> When I build with 1.8.0 it works fine and the POM for 1.8.0 in your Maven >> repository is: >> >> http://maven.apache.org/POM/4.0.0 >> http://maven.apache.org/xsd/maven-4.0.0.xsd;> >> 4.0.0 >> org.snmp4j.smi >> snmp4j-smi-pro >> 1.8.0 >> SNMP4J-SMI-PRO MIB Parser API >> >> The POM in your repository for 1.9.1 is very different and lists the >> dependencies that are causing the problem. Shouldn't the POM in the >> repository for 1.9.1 be the same as the 1.8.0 one except for the version >> number? >> >> Thanks, >> DonB >> >> -Original Message- >> From: Frank Fock [mailto:f...@agentpp.com] >> Sent: Tuesday, August 29, 2017 5:13 PM >> To: Broderick, Don <d...@mitre.org> >> Cc: snmp4j@agentpp.org >> Subject: Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository? >> >> Hi Don, >> The pom.xml your are using is wrong, i.e. remove all missing dependencies >> and use the SNMP4J SMI PRO jar that comes with the distribution file. >> Best regards >> Frank >> >>> Am 24.08.2017 um 23:20 schrieb Frank Fock <f...@agentpp.com>: >>> >>> Hi Don, >>> >>> The artefacts you are missing are internal ones and are already included in >>> the SNMP4J-SMI-PRO 1.9.1 JAR file.Why do you think that those classes are >>> missing? Do you get any class not found exception? >>> >>> Best regards, >>> Frank >>> >>> >>>> On 24. Aug 2017, at 17:19, Broderick, Don <d...@mitre.org> wrote: >>>> >>>> I am trying to upgrade so v1.9.1 and get the following error: >>>> com.oosnmp:jasmi:jar:4.2.2, com.oosnmp:valueconverter:jar:3.0.4: Could not >>>> find artifact >>>> >>>> I have looked in https://oosnmp.net/dist/release/com/oosnmp/ and do not >>>> see jasmi, is this missing from the repository? >>>> >>>> Thanks, >>>> DonB >>>> ___ >>>> SNMP4J mailing list >>>> SNMP4J@agentpp.org >>>> https://oosnmp.net/mailman/listinfo/snmp4j >>> >>> ___ >>> SNMP4J mailing list >>> SNMP4J@agentpp.org >>> https://oosnmp.net/mailman/listinfo/snmp4j >> > ___ SNMP4J mailing list SNMP4J@agentpp.org https://oosnmp.net/mailman/listinfo/snmp4j
Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository?
Hi Frank, When I added the classifier I know get the following error: Missing artifact org.snmp4j.smi:snmp4j-smi-pro:jar:jar-with-dependencies:1.9.1 org.snmp4j.smi snmp4j-smi-pro 1.9.1 jar-with-dependencies Any other suggetions? Thanks, DonB -Original Message- From: Frank Fock [mailto:f...@agentpp.com] Sent: Thursday, September 07, 2017 1:29 AM To: Broderick, Don <d...@mitre.org> Cc: snmp4j@agentpp.org Subject: Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository? Hi Don, Please just add the following line to your dependency definition: jar-with-dependencies I have also added the complete example to the FAQ at: https://oosnmp.net/confluence/pages/viewpage.action?pageId=5799973 Best regards, Frank > On 6. Sep 2017, at 13:31, Broderick, Don <d...@mitre.org> wrote: > > Sorry if this is a duplicate, I am not sure if the first one went out. > > Frank, > > I only have this in my POM, if I don't have this I will need to manually > download and install the jar on each system. > > org.snmp4j.smi > snmp4j-smi-pro > 1.9.1 > > > When I build with 1.8.0 it works fine and the POM for 1.8.0 in your Maven > repository is: > > http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd;> > 4.0.0 > org.snmp4j.smi > snmp4j-smi-pro > 1.8.0 > SNMP4J-SMI-PRO MIB Parser API > > The POM in your repository for 1.9.1 is very different and lists the > dependencies that are causing the problem. Shouldn't the POM in the > repository for 1.9.1 be the same as the 1.8.0 one except for the version > number? > > Thanks, > DonB > > -----Original Message- > From: Frank Fock [mailto:f...@agentpp.com] > Sent: Tuesday, August 29, 2017 5:13 PM > To: Broderick, Don <d...@mitre.org> > Cc: snmp4j@agentpp.org > Subject: Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository? > > Hi Don, > The pom.xml your are using is wrong, i.e. remove all missing dependencies and > use the SNMP4J SMI PRO jar that comes with the distribution file. > Best regards > Frank > >> Am 24.08.2017 um 23:20 schrieb Frank Fock <f...@agentpp.com>: >> >> Hi Don, >> >> The artefacts you are missing are internal ones and are already included in >> the SNMP4J-SMI-PRO 1.9.1 JAR file.Why do you think that those classes are >> missing? Do you get any class not found exception? >> >> Best regards, >> Frank >> >> >>> On 24. Aug 2017, at 17:19, Broderick, Don <d...@mitre.org> wrote: >>> >>> I am trying to upgrade so v1.9.1 and get the following error: >>> com.oosnmp:jasmi:jar:4.2.2, com.oosnmp:valueconverter:jar:3.0.4: Could not >>> find artifact >>> >>> I have looked in https://oosnmp.net/dist/release/com/oosnmp/ and do not see >>> jasmi, is this missing from the repository? >>> >>> Thanks, >>> DonB >>> ___ >>> SNMP4J mailing list >>> SNMP4J@agentpp.org >>> https://oosnmp.net/mailman/listinfo/snmp4j >> >> ___ >> SNMP4J mailing list >> SNMP4J@agentpp.org >> https://oosnmp.net/mailman/listinfo/snmp4j > ___ SNMP4J mailing list SNMP4J@agentpp.org https://oosnmp.net/mailman/listinfo/snmp4j
[SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository?
Sorry if this is a duplicate, I am not sure if the first one went out. Frank, I only have this in my POM, if I don't have this I will need to manually download and install the jar on each system. org.snmp4j.smi snmp4j-smi-pro 1.9.1 When I build with 1.8.0 it works fine and the POM for 1.8.0 in your Maven repository is: http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;> 4.0.0 org.snmp4j.smi snmp4j-smi-pro 1.8.0 SNMP4J-SMI-PRO MIB Parser API The POM in your repository for 1.9.1 is very different and lists the dependencies that are causing the problem. Shouldn't the POM in the repository for 1.9.1 be the same as the 1.8.0 one except for the version number? Thanks, DonB -Original Message- From: Frank Fock [mailto:f...@agentpp.com] Sent: Tuesday, August 29, 2017 5:13 PM To: Broderick, Don <d...@mitre.org> Cc: snmp4j@agentpp.org Subject: Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository? Hi Don, The pom.xml your are using is wrong, i.e. remove all missing dependencies and use the SNMP4J SMI PRO jar that comes with the distribution file. Best regards Frank > Am 24.08.2017 um 23:20 schrieb Frank Fock <f...@agentpp.com>: > > Hi Don, > > The artefacts you are missing are internal ones and are already included in > the SNMP4J-SMI-PRO 1.9.1 JAR file.Why do you think that those classes are > missing? Do you get any class not found exception? > > Best regards, > Frank > > >> On 24. Aug 2017, at 17:19, Broderick, Don <d...@mitre.org> wrote: >> >> I am trying to upgrade so v1.9.1 and get the following error: >> com.oosnmp:jasmi:jar:4.2.2, com.oosnmp:valueconverter:jar:3.0.4: Could not >> find artifact >> >> I have looked in https://oosnmp.net/dist/release/com/oosnmp/ and do not see >> jasmi, is this missing from the repository? >> >> Thanks, >> DonB >> ___ >> SNMP4J mailing list >> SNMP4J@agentpp.org >> https://oosnmp.net/mailman/listinfo/snmp4j > > ___ > SNMP4J mailing list > SNMP4J@agentpp.org > https://oosnmp.net/mailman/listinfo/snmp4j ___ SNMP4J mailing list SNMP4J@agentpp.org https://oosnmp.net/mailman/listinfo/snmp4j
Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository?
Frank, When I do a Maven build I get the following: [INFO] [INFO] [INFO] Building 1.0.3-SNAPSHOT [INFO] [INFO] Downloading: https:///artifactory/java-libs-release/com/oosnmp/jasmi/4.2.2/jasmi-4.2.2.pom [INFO] Downloading: https:///artifactory/java-libs-snapshot/com/oosnmp/jasmi/4.2.2/jasmi-4.2.2.pom [WARNING] The POM for com.oosnmp:jasmi:jar:4.2.2 is missing, no dependency information available [INFO] Downloading: https:///artifactory/java-libs-release/com/oosnmp/valueconverter/3.0.4/valueconverter-3.0.4.pom [INFO] Downloading: https:///artifactory/java-libs-snapshot/com/oosnmp/valueconverter/3.0.4/valueconverter-3.0.4.pom [WARNING] The POM for com.oosnmp:valueconverter:jar:3.0.4 is missing, no dependency information available [INFO] Downloading: https:///artifactory/java-libs-release/com/oosnmp/jasmi/4.2.2/jasmi-4.2.2.jar [INFO] Downloading: https:///artifactory/java-libs-release/com/oosnmp/valueconverter/3.0.4/valueconverter-3.0.4.jar [INFO] Downloading: https:///artifactory/java-libs-snapshot/com/oosnmp/jasmi/4.2.2/jasmi-4.2.2.jar [INFO] Downloading: https:///artifactory/java-libs-snapshot/com/oosnmp/valueconverter/3.0.4/valueconverter-3.0.4.jar [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 4.503 s [INFO] Finished at: 2017-08-29T14:38:22-04:00 [INFO] Final Memory: 10M/155M [INFO] [ERROR] Failed to execute goal on project : Could not resolve dependencies for project -SNAPSHOT: The following artifacts could not be resolved: com.oosnmp:jasmi:jar:4.2.2, com.oosnmp:valueconverter:jar:3.0.4: Could not find artifact com.oosnmp:jasmi:jar:4.2.2 in central () -> [Help 1] Thanks, DonB -Original Message- From: Frank Fock [mailto:f...@agentpp.com] Sent: Thursday, August 24, 2017 5:21 PM To: Broderick, Don <d...@mitre.org> Cc: snmp4j@agentpp.org Subject: Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository? Hi Don, The artefacts you are missing are internal ones and are already included in the SNMP4J-SMI-PRO 1.9.1 JAR file.Why do you think that those classes are missing? Do you get any class not found exception? Best regards, Frank > On 24. Aug 2017, at 17:19, Broderick, Don <d...@mitre.org> wrote: > > I am trying to upgrade so v1.9.1 and get the following error: > com.oosnmp:jasmi:jar:4.2.2, com.oosnmp:valueconverter:jar:3.0.4: Could not > find artifact > > I have looked in https://oosnmp.net/dist/release/com/oosnmp/ and do not see > jasmi, is this missing from the repository? > > Thanks, > DonB > ___ > SNMP4J mailing list > SNMP4J@agentpp.org > https://oosnmp.net/mailman/listinfo/snmp4j ___ SNMP4J mailing list SNMP4J@agentpp.org https://oosnmp.net/mailman/listinfo/snmp4j
[SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository?
I am trying to upgrade so v1.9.1 and get the following error: com.oosnmp:jasmi:jar:4.2.2, com.oosnmp:valueconverter:jar:3.0.4: Could not find artifact I have looked in https://oosnmp.net/dist/release/com/oosnmp/ and do not see jasmi, is this missing from the repository? Thanks, DonB ___ SNMP4J mailing list SNMP4J@agentpp.org https://oosnmp.net/mailman/listinfo/snmp4j
[SNMP4J] Issue when a PDU contains two SETs for a table row status with a value of 6 to destroy when one row exists and the other row does not exist
SNMP4J version 2.5.6 SNMP4J-Agent version 2.6.0 I have discovered the following behavior inconsistency where I would expect no error to be returned in both cases. When a PDU is sent containing one SET of a row status to 6 for destroy for a row that exists the row is destroyed and no error is returned. Performing the same operation in a separate PDU for a row that does not exist again returns no error. When a PDU containing 2 SETs, one for a row that exists and one for a row that does not exist (both in the same table) a commit failed error is returned and the row that existed is destroyed. In the line highlighted below of DefaultMOTable the variable "row" has a null value when this event occurs and causes a null pointer exception. public void commit(SubRequest request) { OID cellOID = request.getVariableBinding().getOid(); MOTableCellInfo cell = getCellInfo(cellOID); MOMutableColumn col = (MOMutableColumn) getColumn(cell.getColumn()); if (logger.isDebugEnabled()) { logger.debug("Committing sub-request ("+ request.getVariableBinding()+") for column: "+col); } // Make sure changes are atomic -> sync whole table model synchronized (model) { R row; if (hasNewRows(request.getRequest())) { row = getNewRows(request.getRequest()).get(cell.getIndex()); // check if row has been added already if (!model.containsRow(row.getIndex())) { if (!addRow(row)) { request.setErrorStatus(PDU.resourceUnavailable); return; } } } else { row = model.getRow(cell.getIndex()); } -DonB ___ SNMP4J mailing list SNMP4J@agentpp.org https://oosnmp.net/mailman/listinfo/snmp4j