Solved

com.jcraft.jsch.agentproxy.AgentProxyException not found

Posted on 2014-10-10
7
204 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
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

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.

Question has a verified solution.

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

Suggested Solutions

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
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.

733 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