Re: Debug for clijava.cnf
Posted in 2000
It was a simple solution I placed the "clijava" dir in the same dir as the "test.html" everything worked form that point on [CODEBASE="path" did not help]. My test setup is a simple one: Win '98 running Apache/1.3.6 (Win32) ApacheJServ/1.0 Connecting via "WINRSH.EXE" to a unix application server. All seems to work fine... This brings up another question... I can restrict access to my "test.html" via Apache security. I'm only using a simple user authentication htpasswd now. How can I use the user name entered for password verification in the clijava.cnf file. I wish to use something like the following: cjac.app."test".cmd= "rsh -l $USER_NAME -h unixbox unix_command" $(FGL_AUTHUSER) is obviously not applicable here. Thanks for any assistance wrt user access. Zion Mahangoo Raytheon Engineers and Constructors P.S. What options are available (if any) for editing data in a text field. In article <MPG.131ca498b486cec39896a3@news.xtra.co.nz>, afalout@ihug.co.nz wrote: > In article <88s6f7$jg7$1@nnrp1.deja.com>, zkm@trac3000.ueci.com says... > > Thank you Andrej Falout <afalout@xtra.co.nz> for your java console > > pointer... > > You're welcome. > > > Once again I'm trying to run the ia example. > > It has lead me to the following error showing up in the Java Console: > > 4,970 Debug: APLTERR(Thread-30): Applet: Oops,...: > > com.ms.security.SecurityExceptionEx > > [com/fourjs/fgl/client/io/http/HttpIOStream.get]: java.io.IOException: > > bad path: \\servlets\\cjac?RUN=0&REF=10604815 > > Is this a backslash? What platform, OS, versions of CLI-Java are you > running? > > How does your URL look like? > > Can you run any CLI-Java program on my site? > > Did you define HTML page with <APPLET..> stuff or are you trying to call > program directly in URL? This will not work, you need HTML page to define > parameters for applet. > > > I thought this would have been taken care of when, as documented, I > > entered Servlet Aliase:- servlet.cjac.code=com.fourjs.communication.CJAC > > in the \\Apache JServ\\conf\\zone.properties file. > > > > My assumption is based on the fact that the documented tests:- > > "http://localhost/servlets/fglTestServlet" and > > "http://localhost/servlets/cjac?TEST" worked. > > > > Any futher assistance will be apreciated.. > > > > Regards, > > > > Zion Mahangoo > > Raytheon Engineers and Constructors. > > > > In article <88hq0b$om4$1@nnrp1.deja.com>, > > zionmahangoo@my-deja.com wrote: > > > I'm just trying to get a first run of CLIJAVA > > > (D4GL V 3.0)going. > > > Having gone through the steps, I gotten to the > > > point where the documented test > > > http://web_server/servlets/cjac?TEST works. > > > > > > I went to the next step of editing the cjac.cnf > > > file to get the "ia" test running (my web and > > > application servers are on two different > > > machines, therfore I "rsh runwout.sh" as > > > documented). > > > > > > Bringing up the test.html in my browser loads the > > > starts the applet and loads the cja.class then > > > all that happens is the "Please wait ...." > > > message runs continuously.. > > > > > > I know there are many variable in setting up the > > > cjac.cnf (based on software and hardware > > > configuration). > > > Is there a way to debug the cjac.cnf in any > > > manner? > > > I really just need to know why its hanging... > > > or even if it's acceping my "cjac.app....." > > > settings. > > > > > > Thanks for any assistance... > > > > > > Zion Mahangoo > > > Raytheon Engineers & Constructors > > > > > > Sent via Deja.com http://www.deja.com/ > > > Before you buy. > > > > > > > > > Sent via Deja.com http://www.deja.com/ > > Before you buy. > > > > -- > Yours, Andrej Falout, http://www.falout.com ICQ 7628616 ++64.21.607517 > #----------------------------------------------------------------- > globals "std_disclaimer.4gl" > > Ask yourself just one question: ' Qu' m's se puede hacer y aprender ? > - Propellerhead ReBirth RB-338 manual > Sent via Deja.com http://www.deja.com/ Before you buy.