Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Distributed NetBeans

SOLVED
Go to solution
Kjell Carlsson
Frequent Advisor

Distributed NetBeans

Hi

When booting the computer the IDEserver starts up, but restarting by IDE$SHUTDOWN - IDE$STARTUP doesn't work. The logfile IDE$ROOT:[IDE$SERVER.LOGS]IDE$SERVER.LOG shows the following:

$ Set NoOn
$ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY"))
Preparing to launch distributed IDE Server...
Defining TZ as CET
JDK_VERSION = "142"
P1 = "FAST"
Checking sys$manager:java$142_setup.com...
Calling Java setup procedure SYS$COMMON:[SYSMGR]JAVA$142_SETUP.COM;1 HOTSPOT
%DCL-I-SUPERSEDE, previous value of JAVA$TIMED_READ_USE_QIO has been superseded
Launching Secure RMI registry...
JAVA_SWITCHES = " -Dide_verbose_log=true "-Dsun.rmi.dgc.server.gcInterval=12
0000" -V "
RMIREG_JAVA_SWITCHES = " -Dide_verbose_log=true -V "
RMI_PORT = "1099"
Launching RMI Registry Server on RMI port 1099
%DCL-S-SPAWNED, process IDE$RMIREG spawned
ide$scratch:ide$secrmireg.tmp
waiting...
waiting...
waiting...
waiting...
waiting...
waiting...
Secure RMI registry launch failed.
Launching Distributed IDE Server on RMI port 1099
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.

Any tips from someone?

KjellC
6 REPLIES
Karl Rohwedder
Honored Contributor

Re: Distributed NetBeans

Something useful in ide$logs:rmiregistryserver.log perhaps?

Have you checked, that the IDE$RMIREG process has really been stopped by the shutdown procedure?

regards Kalle
Kjell Carlsson
Frequent Advisor

Re: Distributed NetBeans

IDE$ROOT:[IDE$SERVER.LOGS]RMIREGISTRYSERVER.LOGcontains:
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.

Nothing new.


IDE$RMIREG is not running.

regards
kjell
Hoff
Honored Contributor
Solution

Re: Distributed NetBeans

I ended up creating a small DCL procedure to launch IDE Server in a context similar to what it clearly expects (SYSTEM username, and during the system startup); the existing startup DCL is not particularly robust in that regard and makes various assumptions.

I'd also look at loading and using Java 5 here, as that cured some weirdnesses I saw with some IDE server installations.
Kjell Carlsson
Frequent Advisor

Re: Distributed NetBeans

I created a small script which restarts the IDEserver from a batch job. Success! Thanks for the tip.

Regards
kjell
Kjell Carlsson
Frequent Advisor

Re: Distributed NetBeans

Solved.
Jur van der Burg
Respected Contributor

Re: Distributed NetBeans

This is from my systartup.com procedure:

$ define/system ide$host_ipname "xxx.xxx.com"
$! workaround ide$server bug
$ set default sys$common:[sys$startup]
$ @sys$startup:ide$startup
$ set default sys$sysroot:[sys$manager]

This has been known for some time now. Besides that, there are a lot of funny things too when you try to use it over a vpn connection. It can be pretty useless.

Fwiw,

Jur.