Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:


Go Back   Caucho Forums > Hessian

Reply
 
Thread Tools Display Modes
  #1  
Old 07-09-2012, 08:55 AM
MZ3291 MZ3291 is offline
Junior Member
 
Join Date: Jul 2012
Posts: 1
Default HessianConnectionException

Hello..

my problem is about the connection to my servlet ..
I guess that the cause is a wrong url, because a hessianConnectionException is thrown, caused by a fileNotFoundException..

But I tried several versions of urls patterns.. and before I put my servlet into a new package it was working..

the url I am using looks like the following:
http://localhost:8080/MyProject/mypackages/MyServlet

Code:
public IService get() {
		HessianProxyFactory hessianProxyFactory = new HessianProxyFactory();
		IService service;
		try {
			service = (IService) hessianProxyFactory.create(IService.class, url);
		} catch (MalformedURLException e) {
			// Some ExceptionHandling ..
		}
		return service;
	}
I am using hessian in combination with Stripes, Guice and Tomcat ( if anybody as an idea that the cause may be another framework)

Awaiting any proposals ..
MZ
Reply With Quote
Reply

Tags
connection, url

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:59 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.