Re: OVMS NetBeans IDE Error



I used it over a VPN tunnel, with NAT at both ends.

Jur.

Jan-Erik Söderholm wrote, On 19-11-2008 13:43:
Jur van der Burg wrote:
> Have you actualy tried it ?

Yes I have. And it works. I never got any response from HP, so I found this out myself
after doing network traces trying to find out why the !@#$%^ thing did not work.
Enter it as a parameter to netbeans, literally. No space between the -J and -D.
And watch out that if you run a tunnel that you use the ip address that your machine
got from the tunnel server, if you use the real box's ip adress you go wrong too. This
is the address it uses to setup a connection back to the vms host.

That java rmi stuff really sucks (personal opinion).

Jur.

OK.
Was this using a NAT router at *one* of the ends ?
That is, either at the client *or* the server end ?

In my case the client was NAT'et at home and the server
was NAT'ed at my office down-town, and I never got
it to work over that link.

Jan-Erik.



Jan-Erik Söderholm wrote:
Jur van der Burg wrote:
Two things: if the vms host has multiple network interfaces you need to specify
the logical name IDE$HOST_IPNAME pointing to the interface to use, like this:

$ define/system ide$host_ipname "vmshost.example.com"

Second, if you use netbeans over a vpn tunnel you must start the ide with
an option telling the application the ip address of the windows system,
so add this option to the shortcut starting the ide:

-J-Djava.rmi.server.hostname=mywindowsbox.example.com

Then it should work.

Have you actualy tried it ?
I have, with the active help from the OVMS NetBeans IDE
maintiners at HP, still with no luck...


Jave and rmi are very unfriendly for tunnels and
very sensitive to network setup.

I did however not use netbeans, it needs either ftp access or a network share
in the vms system. A network share can be done with Samba, but that's far too
unstable to be of any serious use. And ftp does not cut it if you want to
work from multiple systems on the same project, like I tried to (work in the
office and work on my system at home over a vpn tunnel). That gives so much
issues that I just use plain terminal serssions (lots of them).

Fwiw,

Jur.

sccr13plyr@xxxxxxxxx wrote:
On Nov 18, 1:06 pm, koeh...@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (Bob
Koehler) wrote:
In article <1162ca5f-c114-4ad0-829c-c6cb82ded...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, sccr13p...@xxxxxxxxx writes:





Hello,
Our System Admin recently installed the OpenVMS component for
NetBeans. I installed NetBeans and the OVMS module on my machine.
When I try to establish a connection with the remote IDE server, I get
a popup with the error:
error during JRMP connection establishment; nested exception is:
javax.net.ssl.SSLHandshakeException: Remote host closed connection
during handshake
The sysadmin has been too busy to look at the issue right now, so I
was curious if anyone around here might have some suggestions as to
what the problem might be...
TIA
sccr13plyr
Since you have no data and we're just wild guessing here, I'd suspect
something in your LOGIN.COM on the remote server that the connection
doesn't expect.- Hide quoted text -

- Show quoted text -

Bob,

Thank you for your response! I have provided pretty much the data I
have. I was looking for someone who has installed and used the
NetBeans IDE and perhaps had come across this error. If everyone who
is using NetBeans has not seen this error, then I would assume that my
friendly neighborhood admin has missed a setup step.

As for the login.com, the NetBeans application connects to an IDE
$SERVER daemon. It apparently uses my OVMS credentials for
authentication somewhere along the road, but I don't think it is even
getting that far (as putting in an invalid password or username does
not change the error message). Even if it did, I had already changed
the login to immediately exit as a safeguard.

There is an IDE$SERVER log on the VMS box and this some addtional
information:

java.rmi.ConnectIOException: error during JRMP connection
establishment; nested exception is:
javax.net.ssl.SSLHandshakeException: Remote host closed
connection during handshake

at sun.rmi.transport.tcp.TCPChannel.createConnection
(TCPChannel.java:273)

at sun.rmi.transport.tcp.TCPChannel.newConnection
(TCPChannel.java:171)

at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)

at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)

at org.netbeans.modules.distributed.util.RMIMethodInvoker
$1BindThread.run(Unknown Source)

Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed
connection during handshake

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord
(SSLSocketImpl.java:742)

at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake
(SSLSocketImpl.java:1030)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord
(SSLSocketImpl.java:622)

at com.sun.net.ssl.internal.ssl.AppOutputStream.write
(AppOutputStream.java:59)

at java.io.BufferedOutputStream.flushBuffer
(BufferedOutputStream.java:65)

at java.io.BufferedOutputStream.flush
(BufferedOutputStream.java:123)

at java.io.DataOutputStream.flush(DataOutputStream.java:106)

at sun.rmi.transport.tcp.TCPChannel.createConnection
(TCPChannel.java:198)

... 4 more

Caused by: java.io.EOFException: SSL peer shut down incorrectly

at com.sun.net.ssl.internal.ssl.InputRecord.read
(InputRecord.java:333)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord
(SSLSocketImpl.java:723)

... 11 more


But, I am not 100% they are related.

Any further thoughts?

sccr13plyr, HP ASE (Of the OVMS flavor)
.



Relevant Pages

  • Re: OVMS NetBeans IDE Error
    ... if the vms host has multiple network interfaces you need to specify ... so add this option to the shortcut starting the ide: ... I did however not use netbeans, it needs either ftp access or a network share ... When I try to establish a connection with the remote IDE server, ...
    (comp.os.vms)
  • Re: OVMS NetBeans IDE Error
    ... if the vms host has multiple network interfaces you need to specify ... so add this option to the shortcut starting the ide: ... I did however not use netbeans, it needs either ftp access or a network share ... When I try to establish a connection with the remote IDE server, ...
    (comp.os.vms)
  • Re: OVMS NetBeans IDE Error
    ... Enter it as a parameter to netbeans, ... got from the tunnel server, if you use the real box's ip adress you go wrong too. ... so add this option to the shortcut starting the ide: ... When I try to establish a connection with the remote IDE server, ...
    (comp.os.vms)
  • Re: OVMS NetBeans IDE Error
    ... Enter it as a parameter to netbeans, ... And watch out that if you run a tunnel that you use the ip address that your machine ... so add this option to the shortcut starting the ide: ... When I try to establish a connection with the remote IDE server, ...
    (comp.os.vms)
  • Re: OVMS NetBeans IDE Error
    ... so add this option to the shortcut starting the ide: ... with the active help from the OVMS NetBeans IDE ... office and work on my system at home over a vpn tunnel). ... When I try to establish a connection with the remote IDE server, ...
    (comp.os.vms)