How to make my HttpSender visible? [message #55208] |
Tue, 05 August 2008 14:17 |
Eclipse User |
|
|
|
Originally posted by: divis1969.mail.ru
Hi,
I'm developing a Mylyn connector for my bug tracking system. It is using
SOAP, so I decided to use a Jira connector as an example.
I've added 2 plugins (core and ui) and can create a repository. Now I'm
trying to retrieve some data from the server.
The problem is MyHttpSender class that is not visible to an Axis when I
debug my plugins. This class is based on CommonsHttpSender (the copy from
Jira's one) and is declared in client-config.wsdd:
<transport name="http" pivot="java:com.myconnector.core.MyHttpSender" />
For some reason it is not known for Axis:
org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException:
com.myconnector.core.MyHttpSender
java.lang.ClassNotFoundException: com.myconnector.core.MyHttpSender
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:481)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
at
org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewIns tance(WSDDTargetedChain.java:157)
I did not find any specific configuration in Jira plugin, so I suppose
this can be fixed with debug configuration. I've tried to add a path to my
class to CLASSPATH variable, but it does not work.
So, I would appreciate any advice how to fix this.
Dmitry
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04239 seconds