Open GoogleCodeExporter opened 8 years ago
It seems that the OpenOffice environment is different with regards to how the
JAX-RS RuntimeDelegate is instantiated. The JAX-RS specification contains some
information on how the configuration works (chapter 7). Maybe you can try to
set the Jersey RuntimeDelegate implementation "by hand" as a workaround to see
if it works then, e.g. call the static setInstance method from within your
code. Another interesting thing would be to have a look at the classpath and
compare it to the one from the working environment.
Original comment by philipp.sebastian.thun
on 9 Nov 2011 at 12:37
Hi Philipp,
Thanks for looking into the issue.
I added the following code before invoking ODataConsumer.create
import javax.ws.rs.ext.RuntimeDelegate;
import com.sun.jersey.server.impl.provider.RuntimeDelegateImpl;
RuntimeDelegate.setInstance(new RuntimeDelegateImpl());
But this did not solve the issue. I still get the same error as in previous
attached screenshot.
Also the open office classpath is same as the working ebviornment. Kindly refer
the screenshot "openoffice_classpath.jpg" attached.
Thanks & Regards,
Sounak Basu
Original comment by soun...@gmail.com
on 9 Nov 2011 at 8:04
Attachments:
Original issue reported on code.google.com by
soun...@gmail.com
on 7 Nov 2011 at 12:30Attachments: