RE: AW: Generics and NetRexx

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

RE: AW: Generics and NetRexx

PATRICK LEROY
Hi all,
Got this error while trying to compile a simple program. I know that new java 1.3 has been installed...

Can anybody give me an idea of what is missing ? (I'm not an U*ix person:-)
Thanks in advance
Patrick Leroy


(...)
 NetRexx portable processor, version 2.02                                      
 Copyright (c) IBM Corporation, 2001.  All rights reserved.                    
 Program testparm.nrx                                                          
   === class testparm ===                                                      
     function main(String::)                                                    
       signals IOException                                                      
 Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/javac/Main
 :at COM.ibm.netrexx.process.RxTranslator.compile(RxTranslator.nrx:660)        
 :at COM.ibm.netrexx.process.NetRexxC.process(NetRexxC.nrx:183)                
 :at COM.ibm.netrexx.process.NetRexxC.main2(NetRexxC.nrx:123)                  
 :at COM.ibm.netrexx.process.NetRexxC.main(NetRexxC.nrx:82)                    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>


Reply | Threaded
Open this post in threaded view
|

Re: AW: Generics and NetRexx

rvjansen
Hi Patrick,

you have to have tools.jar on the classpath to compile.


PATRICK LEROY wrote:

> Hi all,
> Got this error while trying to compile a simple program. I know that new java 1.3 has been installed...
>
> Can anybody give me an idea of what is missing ? (I'm not an U*ix person:-)
> Thanks in advance
> Patrick Leroy
>
>
> (...)
>  NetRexx portable processor, version 2.02                                      
>  Copyright (c) IBM Corporation, 2001.  All rights reserved.                    
>  Program testparm.nrx                                                          
>    === class testparm ===                                                      
>      function main(String::)                                                    
>        signals IOException                                                      
>  Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/javac/Main
>  :at COM.ibm.netrexx.process.RxTranslator.compile(RxTranslator.nrx:660)        
>  :at COM.ibm.netrexx.process.NetRexxC.process(NetRexxC.nrx:183)                
>  :at COM.ibm.netrexx.process.NetRexxC.main2(NetRexxC.nrx:123)                  
>  :at COM.ibm.netrexx.process.NetRexxC.main(NetRexxC.nrx:82)                    
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
> [hidden email]
> with the following message in the body of the note
> unsubscribe ibm-netrexx <e-mail address>
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>


Reply | Threaded
Open this post in threaded view
|

RE: Tools.jar

PATRICK LEROY
In reply to this post by PATRICK LEROY
Thanks all for your responses.
I was able to compile now, when including in my CLASSPATH the "/usr/lpp/java/IBM/J1.3/lib/tools.jar" (not "/usr/lpp/java/IBM/J1.3/lib/").

Do I have to include it also in CLASSPATH in the httpd.envvars to have it executed as a CGI ?
(There, I have NetRexxC.jar)

Thanks

Patrick Leroy
Tel: +351 21 421 9123 Ext: 116123
DISC - Automação e Aplicações de Sistemas
  _____  

VELHOS DITADOS: Hacker que ladra, não morde!
  _____  



> -----Original Message-----
> From: René Vincent Jansen [mailto:[hidden email]]
> Sent: segunda-feira, 27 de Janeiro de 2003 20:08
> To: PATRICK LEROY; [hidden email]
> Subject: Tools.jar
>
>
> Hi Patrick,
>
> you have to have tools.jar on the classpath to compile.
>
>
> PATRICK LEROY wrote:
> > Hi all,
> > Got this error while trying to compile a simple program. I
> know that new java 1.3 has been installed...
> >
> > Can anybody give me an idea of what is missing ? (I'm not
> an U*ix person:-)
> > Thanks in advance
> > Patrick Leroy
> >
> >
> > (...)
> >  NetRexx portable processor, version 2.02                  
>                    
> >  Copyright (c) IBM Corporation, 2001.  All rights reserved.
>                    
> >  Program testparm.nrx                                      
>                    
> >    === class testparm ===                                  
>                    
> >      function main(String::)                                
>                    
> >        signals IOException                                  
>                    
> >  Exception in thread "main" java.lang.NoClassDefFoundError:
> sun/tools/javac/Main
> >  :at
> COM.ibm.netrexx.process.RxTranslator.compile(RxTranslator.nrx:
> 660)        
> >  :at
> COM.ibm.netrexx.process.NetRexxC.process(NetRexxC.nrx:183)    
>              
> >  :at
> COM.ibm.netrexx.process.NetRexxC.main2(NetRexxC.nrx:123)      
>              
> >  :at COM.ibm.netrexx.process.NetRexxC.main(NetRexxC.nrx:82)
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>


Reply | Threaded
Open this post in threaded view
|

CGI: Error loading Java to run

PATRICK LEROY
In reply to this post by PATRICK LEROY
Hi again,

Please help in the following problem:
A have a Netrexx CGI that was working well, until systems people upgraded from Java 1.1.8 to Java 2 (1.3). Now, when I call my CGI from the browser, I get "Error 500
Error loading Java to run Error 500 /web/dsc/aas/rexx/netrexx/techelp.class"...

They revised ENVVARS member and it seems to be ok (maybe something is missing). The only error I see on the httpd-errors log is (cgi-error log is empty! Strange?):

...httpd-errors (at server initialization!)
IMW6104E Bad password
IMW6310E SSL support initialization failed, server will run only in non-secure mode without listening on ssl port
IMW0330E Error -97 attempting to execute /usr/lpp/internet/server_root/rexx/sinit.rx.
IMW0438E Serverinit Error: server did not load functions from DLL module /usr/lpp/internet/bin/IMWX00.so
...

...httpd.envvars
CLASSPATH=.:/usr/lpp/internet/server_root/CAServlet:/web/prods/netrexx/lib/NetRexxC.jar:/usr/lpp/java/IBM/J1.3/lib/tools.jar:/web/dsc/aas/rexx/netrexx

JAVA_HOME=/usr/lpp/java/IBM/J1.3/

LIBPATH=/usr/lpp/internet/bin:/usr/lpp/internet/sbin:/usr/lpp/ldap/lib:/usr/lpp/java/IBM/J1.3/bin

PATH=/bin:.:/usr/sbin:/usr/lpp/internet/bin:/usr/lpp/internet/sbin:/usr/l102ldap/bin:/usr/lpp/java/IBM/J1.3/bin
...

PS: "/web/dsc/aas/rexx/netrexx" is where my CGI netrexx program (.class) is located.

I have no more ideas. Can anybody help to find the trick ?
Many thanks in advance...

Patrick Leroy
DISC - Automação e Aplicações de Sistemas
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>