Solved

com.jcraft.jsch.agentproxy.AgentProxyException not found

Posted on 2014-10-10
7
183 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 Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
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.

706 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

19 Experts available now in Live!

Get 1:1 Help Now