Solved

com.jcraft.jsch.agentproxy.AgentProxyException not found

Posted on 2014-10-10
7
190 Views
Last Modified: 2014-10-18
I'm using apache service mix 5.1.2 with the built in jclouds 1.7.2 feature.  When I try to run my service that uses jclouds, I get the following error:

java.lang.ClassNotFoundException: com.jcraft.jsch.agentproxy.AgentProxyException not found by wrap_mvn_com.jcraft_jsch.agentproxy.jsch_0.0.7 [247]
      at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1460)

First, I thought this should be included in the jclouds feature.  But I can't even find what maven package AgentyProxyException is in so can't even add an appropriate dependency.
I
0
Comment
Question by:HyperBPP
  • 4
  • 3
7 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 40373295
0
 
LVL 6

Author Comment

by:HyperBPP
ID: 40373431
I tried that and still had the same problem.  The com.jcraft bundles are using are 0.0.7 and there is only a POM for Jcraft jsch 0.0.7.  Not sure what packages.  Also, why doen'st htis work with the jclouds feature in ASM?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 40373549
I tried that and still had the same problem.
What exactly did you do?
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 6

Author Comment

by:HyperBPP
ID: 40373609
I installed the mvn bundle for Jcraft jsch and I still had the agentproxyexception error.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 40373616
So that stopped the running app, added the missing jar(s) to its classpath, and restarted it?
0
 
LVL 6

Assisted Solution

by:HyperBPP
HyperBPP earned 0 total points
ID: 40377200
I got it working:

1. Got a fresh distro of ASM 5.1.2
2. Removed the Jclouds 1.7.2 URL
3. Added the Jclouds 1.8.0 URL
4. Installed necessary Jclouds URL features
5. And God saw it and said that it was good.
0
 
LVL 6

Author Closing Comment

by:HyperBPP
ID: 40388573
My answer has ultimate solution.  Other information helped lead me to this answer.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
java stored proc example 9 29
Tomcat: Unable to run tomcat service. 2 18
Unhandled exception type Exception 18 28
awk file 6 49
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question