hi Thierry 

Im really sorry for the partial information in the post. i will just explain 
what i have done till now so it more clear about my problem.

In matlab we can add the jar files dynamically or statically.

Adding Jar files to matlab math
dynamically
==============================
I tried to add the following jar files
org.restlet.ext.json-1.1.7.jar
org.json_2.0.0.jar
org.restlet-1.1.7.jar
com.noelios.restlet-1.1.7.jar 

dynamically (using matlab command javaaddpath).
The jar files currently inside the matlab environment can been seen with 
command javaclasspath.
Now i was able to see all the jar files mentioned above in the javaclasspath.

Then when i tried to create a client
Client(Protocol.HTTP)

I got the following error
??? Java exception occurred:
java.lang.RuntimeException: Unable to fully initialize the Restlet. No Restlet 
engine available.

But this problem was solved when i added the jar files statically to matlab.
(We can do that by editing the classpath.txt). (I dont know the reson for this 
because im not sure how the classloading for matlab works.I got the info from 
the forums that there has been difference in behaviour between static and 
dynamic class loading). 

After this problem was solved 
When i tried to execute to 
Client(Protocol.HTTP)

i got the warning 
No available client connector supports the required protocols: 'PROTOCOL.HTTP 
Protocol' . Please add the JAR of a matching connector to your classpath.

But based on your inputs i tried to include 
following jar files also to matlab class path
i.com.noelios.restlet.ext.net.jar
and also i tired adding 
org.apache.commons.httpclient.jar
and com.noelios.restlet.ext.httpclient_3.1.jar
These were done as separate trials.
Still i have the same warning.
Can u pls let me know what all information you need from matlab side so that we 
can figure out this issue.

Regards
Rashik

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2450078

Reply via email to