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

Mozilla and Java

 

Mozilla and Java

When I startup a Mozilla session and try to open a file (Java file) I get the following errors:

**************** SERVER ERROR **************
Could not connect to host
**************** ************ **************

**************** SERVER ERROR **************
write_fully: Did not write everything pipe=33 4 -1
**************** ************ **************

I am running Open VMS 7.3-2 CSWB 1.7-11 and Java 1.4.2.

Does anyone have any clue as to what is going on? Any help would be greatly appreciated.
"People will forget what you said,  people will forget what you did,  but people will never forget how you made them feel. "
12 REPLIES
Richard Whalen
Honored Contributor

Re: Mozilla and Java

What TCP/IP stack are you running?

Re: Mozilla and Java

TCP/IP OpenVMS Alpha 5.4 ECO 5
"People will forget what you said,  people will forget what you did,  but people will never forget how you made them feel. "
Rick Retterer
Respected Contributor

Re: Mozilla and Java

Steven,
I'm curious, did you install the java 1.4.2 plugin as per the Java 1.4.2 installation guide, and then did you execute the java$142_setup.com file prior to starting up Mozilla?

The easiest way to ensure that you have the plugin configured, is to bring up the browser and On the URL line enter the command:

about:plugins

Then press return...

This should list out the java plugins...

If this is all setup correctly, but still fails, then give us a example of the java file you are trying to open in the browser and a example of how you are trying to "open" the file.

We will be anticipating your reply.

Cheers,
Rick Retterer
HP Java Support.
- Rick Retterer



Re: Mozilla and Java

I did install the java 1.4.2 plugin as per the Java 1.4.2 installation guide, and then executed the java$142_setup.com file prior to starting up Mozilla, just as I did on the other 2 Alpha ES40 that are in this cluster.

I brought up the browser (spawn/nowait mozilla) and On the URL line entered the command:

about:plugins

Then pressed return...

Here is what I got back as a result:

Java(TM) Plug-in 1.4.2-3

File name: libjavaplugin_oji.so
Java(TM) Plug-in 1.4.2

MIME Type Description Suffixes Enabled
application/x-java-vm Java Yes
application/x-java-applet Java Yes
application/x-java-applet;version=1.1 Java Yes
application/x-java-applet;version=1.1.1 Java Yes
application/x-java-applet;version=1.1.2 Java Yes
application/x-java-applet;version=1.1.3 Java Yes
application/x-java-applet;version=1.2 Java Yes
application/x-java-applet;version=1.2.1 Java Yes
application/x-java-applet;version=1.2.2 Java Yes
application/x-java-applet;version=1.3 Java Yes
application/x-java-applet;version=1.3.1 Java Yes
application/x-java-applet;version=1.4 Java Yes
application/x-java-applet;version=1.4.1 Java Yes
application/x-java-applet;version=1.4.2 Java Yes
application/x-java-applet;jpi-version=1.4.2 Java Yes
application/x-java-applet;jpi-version=1.4.2_05 Java Yes
application/x-java-bean Java Yes
application/x-java-bean;version=1.1 Java Yes
application/x-java-bean;version=1.1.1 Java Yes
application/x-java-bean;version=1.1.2 Java Yes
application/x-java-bean;version=1.1.3 Java Yes
application/x-java-bean;version=1.2 Java Yes
application/x-java-bean;version=1.2.1 Java Yes
application/x-java-bean;version=1.2.2 Java Yes
application/x-java-bean;version=1.3 Java Yes
application/x-java-bean;version=1.3.1 Java Yes
application/x-java-bean;version=1.4 Java Yes
application/x-java-bean;version=1.4.1 Java Yes
application/x-java-bean;version=1.4.2 Java Yes
application/x-java-bean;jpi-version=1.4.2 Java Yes
application/x-java-bean;jpi-version=1.4.2_05 Java Yes


Do you think the problem is with the ,html file the programmer is trying to run? If so, let me know how I can get a copy to you.

Thanks for your assistance.
"People will forget what you said,  people will forget what you did,  but people will never forget how you made them feel. "

Re: Mozilla and Java

By the way, I am planning on doing the system update 7 tomorrow on that server first (then the other cluster members). I will let you know if anything changes but I don't think it will.
"People will forget what you said,  people will forget what you did,  but people will never forget how you made them feel. "
Wim Van den Wyngaert
Honored Contributor

Re: Mozilla and Java

Could this be of any help ?
http://groups.google.be/group/alt.os.linux.mandrake/browse_frm/thread/b3b1d7a9fbb2124a/669258c6364f5fc8?lnk=st&q=%22Could+not+connect+to+host%22+write_fully&rnum=4&hl=en#669258c6364f5fc8

Sorry but the link in it is too old. I have the impression that you need a better mozilla browser.

Wim
Wim

Re: Mozilla and Java

I have version 1.7 of Mozilla on this server as well as 3 other servers in the cluster and the other servers are not having any problems with the java files.
"People will forget what you said,  people will forget what you did,  but people will never forget how you made them feel. "
Wim Van den Wyngaert
Honored Contributor

Re: Mozilla and Java

Same cluster ? Mixup of files / versions ?
Files lost in sys$specific while they should be in sys$common ?

Wim
Wim
Rick Retterer
Respected Contributor

Re: Mozilla and Java

Steven,
Ok, things look good as far as the versions of Java you are using and Mozilla.

As a test to eliminate Mozilla as a possible problem, you can try to open up your Java program using the Java appletviewer.

The other thing you can do from Mozilla is to open up the Java console window, and then attempt to run your java applet. This will certainly help determine if the problem is possibly with the java applet itself...

To Use the Appletviewer:

$ mcr sys$common:[java$142.bin]-java$appletviewer []example1.html

(Note: example1.html is the container that sets up your java applet.)

To enable the Mozilla Java Console Window:

Select: [Tools->Web Development->Java Console] from the CSWB Toolbar.

Then try to access your java applet again from CSWB.

Finally, to test your java environment, you can also try running one of the example applets from the Java kit itself:

$ set def sys$common:[java$142.demo.applets.clock]example1.html
$ Mozilla example1.html

This should help you narrow down the problem between Java/Mozilla and your java applet.

Cheers,
Rick Retterer

- Rick Retterer



Rick Retterer
Respected Contributor

Re: Mozilla and Java

Correction to my last instructions:

Startup Mozilla: $ mozilla

Then Select File->Open File... from the CSWB toolbar, and select example1.html after browing to the directory path:

sys$common:[java$142.demo.applets.clock]

(My fingers type with a mind of their own sometimes) 8*)

Cheers,
Rick
- Rick Retterer



Re: Mozilla and Java

Thanks for all the troubleshooting information but I have a support agreement for these servers so I logged a call. We didn't get the problem fixed but he did offer some interesting troubleshooting ideas, etc. like yourself. Anyway, after cobbling around with the whole process for a while I found out that the Java$142_setup file wasn't working unless it was manually started so I put it in the users login and everything worked fine on tat server (which is the only one that had a problem). It was in sylogin.com so I put it in there and it quits working. So I will call back for HP Support to help if I can't figure it out. In the meantime the user is happy. Thanks for all the help and ideas. CHEERS...
"People will forget what you said,  people will forget what you did,  but people will never forget how you made them feel. "
Zeni B. Schleter
Regular Advisor

Re: Mozilla and Java

Thanks for me , too. I did not realize all those examples existed. I have been trying to determine why a supposed simple Java applet is not working. Someone else's code; works on Windows box. I just was trying to assure myself that what I had installed was working as expected. So Thanks!.