Netrexx Instalation Woes!

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Netrexx Instalation Woes!

Quique Britto
Hi all,

I have seen recently many posts regarding instalation of Netrexx, to be honest I never paid much attention because mine was installed several years ago and working since but last weekend one of my machines needed a re-install and now the nightmare has begun.

I have extracted the Netrexx zip, added the tools.jar & NetRexxC.jar to the classpath, but when trying to compile programs (included the hello.nrx) I receive the flwg error msg.

Error occured during initiliazation of VM
too small intial heap for new size specified.

Never have seen this msg before.

Any ideas what this means.

thks to all.



_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Netrexx Instalation Woes!

KP Kirchdörfer
Am Montag, 22. März 2010 22:20:13 schrieb Quique Britto:

> Hi all,
>
> I have seen recently many posts regarding instalation of Netrexx, to be
> honest I never paid much attention because mine was installed several years
> ago and working since but last weekend one of my machines needed a
> re-install and now the nightmare has begun.
>
> I have extracted the Netrexx zip, added the tools.jar & NetRexxC.jar to the
> classpath, but when trying to compile programs (included the hello.nrx) I
> receive the flwg error msg.
>
> Error occured during initiliazation of VM
> too small intial heap for new size specified.
>
> Never have seen this msg before.
>
> Any ideas what this means.
>
> thks to all.

Quique;

I vaguely remember this has been discussed on this list a few weeks ago.
AFAIR you have to remove the option from the java start command in
NetRexxC.cmd.
Look for the thread "NetRexx 2.05 Installation anomalies"

kp

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Netrexx Instalation Woes!

alansam
In reply to this post by Quique Britto
I think this was addressed in one of those threads you mentioned.  That problem was due to a change in recent Java releases which now obey any heap-size option regardless of how ridiculous that request was.  i.e. Even if the requested heap is too small for Java to start it will enforce the request.  As the NetRexxC script was written many years ago when Java initialized with a much smaller heap than NetRexx could use the script asked for a 4M heap.  This size is woefully inadequate for modern JVMs and causes the error you're seeing.

The solution was to edit the NetRexxC script to remove the -ms4M switch from the java command in the script.  For example:

Windows (NetRexxC.bat)
Old version:

java -ms4M %netrexx_java% COM.ibm.netrexx.process.NetRexxC %1 %2 %3 %4 %5 %6 %7 %8 %9

Change to:

java %netrexx_java% COM.ibm.netrexx.process.NetRexxC %1 %2 %3 %4 %5 %6 %7 %8 %9

UNIX (NetRexxC.sh)
Old version:

java -ms4M $NETREXX_JAVA COM.ibm.netrexx.process.NetRexxC $*

Change to:

java $NETREXX_JAVA COM.ibm.netrexx.process.NetRexxC $*



Hope this is what you're experiencing,
Alan.

On 22 March 2010 14:20, Quique Britto <[hidden email]> wrote:
Hi all,

I have seen recently many posts regarding instalation of Netrexx, to be honest I never paid much attention because mine was installed several years ago and working since but last weekend one of my machines needed a re-install and now the nightmare has begun.

I have extracted the Netrexx zip, added the tools.jar & NetRexxC.jar to the classpath, but when trying to compile programs (included the hello.nrx) I receive the flwg error msg.

Error occured during initiliazation of VM
too small intial heap for new size specified.

Never have seen this msg before.

Any ideas what this means.

thks to all.



_______________________________________________
Ibm-netrexx mailing list
[hidden email]





--
Needs more cow-bell!

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Alan

--
Needs more cowbell.
Reply | Threaded
Open this post in threaded view
|

Re: Netrexx Instalation Woes!

KP Kirchdörfer
In reply to this post by KP Kirchdörfer
Am Montag, 22. März 2010 22:49:07 schrieb KP Kirchdoerfer:

> Am Montag, 22. März 2010 22:20:13 schrieb Quique Britto:
> > Hi all,
> >
> > I have seen recently many posts regarding instalation of Netrexx, to be
> > honest I never paid much attention because mine was installed several
> > years ago and working since but last weekend one of my machines needed a
> > re-install and now the nightmare has begun.
> >
> > I have extracted the Netrexx zip, added the tools.jar & NetRexxC.jar to
> > the classpath, but when trying to compile programs (included the
> > hello.nrx) I receive the flwg error msg.
> >
> > Error occured during initiliazation of VM
> > too small intial heap for new size specified.
> >
> > Never have seen this msg before.
> >
> > Any ideas what this means.
> >
> > thks to all.
>
> Quique;
>
> I vaguely remember this has been discussed on this list a few weeks ago.
> AFAIR you have to remove the option from the java start command in
> NetRexxC.cmd.
> Look for the thread "NetRexx 2.05 Installation anomalies"

Ups, missing  "-ms4M" between option and from  :)

kp


_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Netrexx Instalation Woes!

Quique Britto
In reply to this post by alansam
thks, fm the command line the compilation completes and programs runs however in jEdit it still tries to compile with the -ms4M, how I can I tell/instruct jEdit to not to use this as the heap msg returns in the iEdit console.

thks again for yr help



On 22 March 2010 23:04, Alan Sampson <[hidden email]> wrote:
I think this was addressed in one of those threads you mentioned.  That problem was due to a change in recent Java releases which now obey any heap-size option regardless of how ridiculous that request was.  i.e. Even if the requested heap is too small for Java to start it will enforce the request.  As the NetRexxC script was written many years ago when Java initialized with a much smaller heap than NetRexx could use the script asked for a 4M heap.  This size is woefully inadequate for modern JVMs and causes the error you're seeing.

The solution was to edit the NetRexxC script to remove the -ms4M switch from the java command in the script.  For example:

Windows (NetRexxC.bat)
Old version:

java -ms4M %netrexx_java% COM.ibm.netrexx.process.NetRexxC %1 %2 %3 %4 %5 %6 %7 %8 %9

Change to:

java %netrexx_java% COM.ibm.netrexx.process.NetRexxC %1 %2 %3 %4 %5 %6 %7 %8 %9

UNIX (NetRexxC.sh)
Old version:

java -ms4M $NETREXX_JAVA COM.ibm.netrexx.process.NetRexxC $*

Change to:

java $NETREXX_JAVA COM.ibm.netrexx.process.NetRexxC $*



Hope this is what you're experiencing,
Alan.

On 22 March 2010 14:20, Quique Britto <[hidden email]> wrote:
Hi all,

I have seen recently many posts regarding instalation of Netrexx, to be honest I never paid much attention because mine was installed several years ago and working since but last weekend one of my machines needed a re-install and now the nightmare has begun.

I have extracted the Netrexx zip, added the tools.jar & NetRexxC.jar to the classpath, but when trying to compile programs (included the hello.nrx) I receive the flwg error msg.

Error occured during initiliazation of VM
too small intial heap for new size specified.

Never have seen this msg before.

Any ideas what this means.

thks to all.



_______________________________________________
Ibm-netrexx mailing list
[hidden email]





--
Needs more cow-bell!

_______________________________________________
Ibm-netrexx mailing list
[hidden email]




_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Netrexx Instalation Woes!

David Requena
Quique,

Please download NetRexxDE 1.0.2c from http://kenai.com/projects/netrexx-misc/downloads/directory/NetRexxDE

This version was quickly released just to fix this very issue.

---
Saludos / Kind regards.
David Requena

El 22/03/2010 23:19, Quique Britto escribió:
thks, fm the command line the compilation completes and programs runs however in jEdit it still tries to compile with the -ms4M, how I can I tell/instruct jEdit to not to use this as the heap msg returns in the iEdit console.

thks again for yr help



On 22 March 2010 23:04, Alan Sampson <[hidden email]> wrote:
I think this was addressed in one of those threads you mentioned.  That problem was due to a change in recent Java releases which now obey any heap-size option regardless of how ridiculous that request was.  i.e. Even if the requested heap is too small for Java to start it will enforce the request.  As the NetRexxC script was written many years ago when Java initialized with a much smaller heap than NetRexx could use the script asked for a 4M heap.  This size is woefully inadequate for modern JVMs and causes the error you're seeing.

The solution was to edit the NetRexxC script to remove the -ms4M switch from the java command in the script.  For example:

Windows (NetRexxC.bat)
Old version:

java -ms4M %netrexx_java% COM.ibm.netrexx.process.NetRexxC %1 %2 %3 %4 %5 %6 %7 %8 %9

Change to:

java %netrexx_java% COM.ibm.netrexx.process.NetRexxC %1 %2 %3 %4 %5 %6 %7 %8 %9

UNIX (NetRexxC.sh)
Old version:

java -ms4M $NETREXX_JAVA COM.ibm.netrexx.process.NetRexxC $*

Change to:

java $NETREXX_JAVA COM.ibm.netrexx.process.NetRexxC $*



Hope this is what you're experiencing,
Alan.

On 22 March 2010 14:20, Quique Britto <[hidden email]> wrote:
Hi all,

I have seen recently many posts regarding instalation of Netrexx, to be honest I never paid much attention because mine was installed several years ago and working since but last weekend one of my machines needed a re-install and now the nightmare has begun.

I have extracted the Netrexx zip, added the tools.jar & NetRexxC.jar to the classpath, but when trying to compile programs (included the hello.nrx) I receive the flwg error msg.

Error occured during initiliazation of VM
too small intial heap for new size specified.

Never have seen this msg before.

Any ideas what this means.

thks to all.



_______________________________________________
Ibm-netrexx mailing list
[hidden email]





--
Needs more cow-bell!

_______________________________________________
Ibm-netrexx mailing list
[hidden email]



_______________________________________________ Ibm-netrexx mailing list [hidden email]

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Netrexx Instalation Woes!

FreeFall
In reply to this post by Quique Britto
Rather than recording these solutions in postings, we definitely need to update the downloadable files and the user guide with each solution to prevent reoccurrence of the problem.    Unfortunately the retired technical author I tried to interest in the user guide preferrers his existing interests.

If someone knows of anyone who would be good at either of these tasks, please encourage them into the community.

Regards,

<Connor>
    
On 22 Mar 2010, at 22:19, Quique Britto wrote:

thks, fm the command line the compilation completes and programs runs however in jEdit it still tries to compile with the -ms4M, how I can I tell/instruct jEdit to not to use this as the heap msg returns in the iEdit console.

thks again for yr help



On 22 March 2010 23:04, Alan Sampson <[hidden email]> wrote:
I think this was addressed in one of those threads you mentioned.  That problem was due to a change in recent Java releases which now obey any heap-size option regardless of how ridiculous that request was.  i.e. Even if the requested heap is too small for Java to start it will enforce the request.  As the NetRexxC script was written many years ago when Java initialized with a much smaller heap than NetRexx could use the script asked for a 4M heap.  This size is woefully inadequate for modern JVMs and causes the error you're seeing.

The solution was to edit the NetRexxC script to remove the -ms4M switch from the java command in the script.  For example:

Windows (NetRexxC.bat)
Old version:

java -ms4M %netrexx_java% COM.ibm.netrexx.process.NetRexxC %1 %2 %3 %4 %5 %6 %7 %8 %9

Change to:

java %netrexx_java% COM.ibm.netrexx.process.NetRexxC %1 %2 %3 %4 %5 %6 %7 %8 %9

UNIX (NetRexxC.sh)
Old version:

java -ms4M $NETREXX_JAVA COM.ibm.netrexx.process.NetRexxC $*

Change to:

java $NETREXX_JAVA COM.ibm.netrexx.process.NetRexxC $*



Hope this is what you're experiencing,
Alan.

On 22 March 2010 14:20, Quique Britto <[hidden email]> wrote:
Hi all,

I have seen recently many posts regarding instalation of Netrexx, to be honest I never paid much attention because mine was installed several years ago and working since but last weekend one of my machines needed a re-install and now the nightmare has begun.

I have extracted the Netrexx zip, added the tools.jar & NetRexxC.jar to the classpath, but when trying to compile programs (included the hello.nrx) I receive the flwg error msg.

Error occured during initiliazation of VM
too small intial heap for new size specified.

Never have seen this msg before.

Any ideas what this means.

thks to all.



_______________________________________________
Ibm-netrexx mailing list
[hidden email]





--
Needs more cow-bell!

_______________________________________________
Ibm-netrexx mailing list
[hidden email]



_______________________________________________
Ibm-netrexx mailing list
[hidden email]



_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Netrexx Instalation Woes!

Thomas.Schneider.Wien
In reply to this post by alansam
May I also suggest to simply pass *ALL Parameters in zthe Windows BATCH
File to the NetRexx processor,

I.E.  *USE*.

%*
   instead of
%1 %2 %3 %4 ... %9

!!! :-)

Thomas Schneider.
===================================
Alan Sampson schrieb:

> I think this was addressed in one of those threads you mentioned.  
> That problem was due to a change in recent Java releases which now
> obey any heap-size option regardless of how ridiculous that request
> was.  i.e. Even if the requested heap is too small for Java to start
> it will enforce the request.  As the NetRexxC script was written many
> years ago when Java initialized with a much smaller heap than NetRexx
> could use the script asked for a 4M heap.  This size is woefully
> inadequate for modern JVMs and causes the error you're seeing.
>
> The solution was to edit the NetRexxC script to remove the -ms4M
> switch from the java command in the script.  For example:
>
> Windows (NetRexxC.bat)
> Old version:
>
> java *-ms4M *%netrexx_java% COM.ibm.netrexx.process.NetRexxC %1 %2 %3
> %4 %5 %6 %7 %8 %9
>
> Change to:
>
> java %netrexx_java% COM.ibm.netrexx.process.NetRexxC %1 %2 %3 %4 %5 %6
> %7 %8 %9
>
> UNIX (NetRexxC.sh)
> Old version:
>
> java *-ms4M* $NETREXX_JAVA COM.ibm.netrexx.process.NetRexxC $*
>
> Change to:
>
> java $NETREXX_JAVA COM.ibm.netrexx.process.NetRexxC $*
>
>
>
> Hope this is what you're experiencing,
> Alan.
>
> On 22 March 2010 14:20, Quique Britto <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hi all,
>
>     I have seen recently many posts regarding instalation of Netrexx,
>     to be honest I never paid much attention because mine was
>     installed several years ago and working since but last weekend one
>     of my machines needed a re-install and now the nightmare has begun.
>
>     I have extracted the Netrexx zip, added the tools.jar &
>     NetRexxC.jar to the classpath, but when trying to compile programs
>     (included the hello.nrx) I receive the flwg error msg.
>
>     Error occured during initiliazation of VM
>     too small intial heap for new size specified.
>
>     Never have seen this msg before.
>
>     Any ideas what this means.
>
>     thks to all.
>
>
>
>     _______________________________________________
>     Ibm-netrexx mailing list
>     [hidden email] <mailto:[hidden email]>
>
>
>
>
>
> --
> Needs more cow-bell!
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>  


_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Tom. (ths@db-123.com)