Hi Matthieu,

what is very stange, is that the "JavaMailClientHelper" class is found, but not the method inside. Do you think there is no more trace of the old JavaMailClientHelper class (the one that was abstract) in your JBoss directory?

Best regards,
Thierry
ps : I've just downloaded JBoss and will start some tests.

Hi Matthieu,

Thierry did some tests with the fixed connector, using it standalone from
Eclipse. Do you have other connectors that work with JBoss (HTTP client for
example)? Have you tried standalone? It might be a classpath issue, but the
method not found exception is weird. We'll do more tests too.

To help us reproduce the issue:
- Which version of JBoss are you using? - Are you deploying using the ServerServlet adapter?

Best regards,
Jerome


Hello

Until now I only used the ServerServlet adapter and the HTTP client connector,
and got no problem with them (good occasion (to say I'm pretty fond of Restlet
actually :-). Regarding JBoss I'm using version 4.0.5GA, and my IDE is Eclipse
3.2.1 if of any use.
The last zip proposed by by Thierry this afternoon did not change anything to my
problem: I also added activation.jar to my archive (jar within a ear) and got
the same problem.
I also made some other testing that may help:
1) deploying my jar file alone, and it does work much better!e 2) using some other client connector (the jetty one, randomly), deployed within
a jar included in a ear, and I got exactly the same error than with the javamail
connector (note that I don't get any error with the http connector though):
GRAVE: Unable to register the server connector
com.noelios.restlet.ext.jetty.AjpServerHelper
java.lang.NoSuchMethodException:
com.noelios.restlet.ext.jetty.AjpServerHelper.<init>(org.restlet.Server)
        at java.lang.Class.getConstructor0(Class.java:2647)
        at java.lang.Class.getConstructor(Class.java:1629)
        at com.noelios.restlet.Engine.<init>(Engine.java:185)
        at com.noelios.restlet.Engine.<init>(Engine.java:93)

So I guuess either I'm doing something wrong in my packaging, or there is some
incompatibility between jboss 4.0.5GA the restlet's client conenctors for some
weird reason. Do you guys manage to have a similar configuration working?

Regards

Reply via email to