Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2002 10:57:33 -0400
From:      "Lapinski, Michael (Research)" <lapinski@crd.ge.com>
To:        "'j mckitrick'" <jcm@freebsd-uk.eu.org>
Cc:        "'Robert F. Ross'" <rross@recourse.com>, shudo@computer.org, freebsd-java@FreeBSD.ORG
Subject:   RE: Inconsistent RMI call problem
Message-ID:  <E4AAC34FE3CF564D8AE89EB8AC333FD705CFEC43@XMB03CRDGE>

next in thread | raw e-mail | index | archive | help
terminal #1 

[10:52am] lapinski@migraine:/projects/fiper/jfiper/jini/jini1_2/lib > java -jar tools.jar -port 6060
-dir /home/lapinski/www -verbose
index.html requested from migraine:49783

-- snip --

terminal #2
[10:53am] lapinski@migraine:~/www > cat index.html 
hi I really do work.

[10:53am] lapinski@migraine:~/www > telnet migraine.crd.ge.com 6060
Trying 3.1.112.3...
Connected to migraine.crd.ge.com.
Escape character is '^]'.
GET /index.html HTTP/1.1

HTTP/1.0 200 OK
Content-Length: 22
Content-Type: application/java

hi I really do work.

Connection closed by foreign host.
[10:53am] lapinski@migraine:~/www > 



Be sure that the dir you specify as root is above the packages of your 
stubs.
Ie.   
  if the stub is for a class in the package my.neat.app and 
  the stub sits in /home/me/my/neat/app/*_Stub.class

  You need to run with -dir /home/me because the java will automatically 
  look for the stubs appending the package path to the / of your codebase.


-mtl

--------------------------------------------------
Michael Lapinski
Computer Scientist
GE Corporate Research & Development 


"I think there is a world market for maybe five computers."
            - IBM Chairman Thomas Watson, 1943


->-----Original Message-----
->From: j mckitrick [mailto:jcm@freebsd-uk.eu.org]
->Sent: Thursday, June 20, 2002 10:46 AM
->To: Lapinski, Michael (Research)
->Cc: 'Robert F. Ross'; shudo@computer.org; freebsd-java@FreeBSD.ORG
->Subject: Re: Inconsistent RMI call problem
->
->
->| I have a jar file that runs a very lightweight webserver to 
->| serve up the stubs if you are interested.
->
->Thanks, Michael.  Is there any trick to getting it running?  
->It seems to
->start okay, but a check of http://localhost:8080 returns an error, as
->does the same URL with (an existing) index.html.
->
->jm
->-- 
->My other computer is your windows box.
->

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E4AAC34FE3CF564D8AE89EB8AC333FD705CFEC43>