Solved

com.jcraft.jsch.agentproxy.AgentProxyException not found

Posted on 2014-10-10
7
186 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
tvirtualstringtree freeze when load too manny images 10 52
print map entry 34 54
servlet  URL Rewriting 1 26
javap not working 8 36
This article will show, step by step, how to integrate R code into a R Sweave document
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now