Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A question on URL for tunneling - TIA !

 
achana chan
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
For input/output streams :
* on the client-side I have a TunnelLiteClient extending BaseTunnelClient.
* on the server-side I have a TunnelLiteServer extending BaseTunnelServlet.
Then I created the client proxy to take the place of the object, in this case "Math".
The proxy has the following lines of code :

Does this mean that I should reset url like this :
url = http://larryboy/RemoteMathLite/Server" ???
I don't quite see how to do it otherwise, at the moment. I would really appreciate some hints.
 
achana chan
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
At the moment, when I start the html, the java plug-in exception dialog throws this exception :
java.lang.NoClassDefFoundError: MathLiteApplet (wrong name : com/developer/Tunnel/MathLiteApplet)
I checked the CLASSPATH in /etc/profile - looks okay to me. In any case I added an extension to the classpath to lead right into the afore-mentioned directory. No effect !?!
The frustrating part for me is to find out whether the error occured when I was trying to define the URL in RemoteMathLiteClient.java or in the <APPLET...> tag of the html.
I suspect the former because the whole applet-tag reads like this :

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic