Closed
Bug 134340
Opened 22 years ago
Closed 22 years ago
PowerChuteBusinessEdition
Categories
(Core Graveyard :: Java: OJI, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ToddAndMargo, Assigned: joshua.xia)
References
()
Details
(Whiteboard: UPS)
Hi All,
I am running Red Hat 7.2 on a PC with an APC Smart UPS 620 and
mozilla-0.9.9-1.i386.rpm.
I have installed APC' PowerChuteBusinsessEdition (pbeagent-6.0.2-1.i386.rpm)
from APC's web site:
ftp://ftp.apcc.com/apc/public/software/unix/linux/pcbe/602/pbeagent-6.0.2-1.i386.rpm
Unfortunately, pbeagent only works with Netscape 4.7x. Mozilla can not
log in.
To test this, you
1) need an APC UPS with a serial cable
2) need to install the pbeagent from APC
3) need to install Apache and remember to start it(/etc/rc.d/init.d/httpd start)
4) start Mozilla and log into your own web server with the following address:
http://127.0.0.1:3052
I suppose I could run Netscape 4.7x for this one application, but it
is the principle of the matter... :)
Many thanks,
--Tony
aewell@gbis.com
Comment 1•22 years ago
|
||
What doesn't work ? You can't submit your login data (if form) ? Or do you get a Basic Auth window with username password ? Can you attach the page source ? Do you get errors in the JS Console (Tasks/tools/Javascript Console) ?
Severity: enhancement → normal
Hi Matti, I get a box to fill in my user name, another box to fill in my password, and button to press called "Login". I can fill in the two boxes, but pressing "login" does nothing. Absolutely nothing. It doesn't even change shading. Leads you to believe you missed it the first couple of times with the mouse. Not to ask too stupid of a question, but how do I attach the page source? What do I attach? Do you still need me to? I am in NT at the moment, eMail me if you need me to go into Linux and check my JS Console (Tasks/tools/Javascript Console). Many thanks, --Tony aewell@gbis.com
Comment 3•22 years ago
|
||
not many people here have the APC software running under linux and we must find the problem... You can attach the page source if that software has a page with login forms (like the bugzilla password entry). You can't attach the source if you get an alert box where do you must enter your password/username. If you are unsure, you can attach a screenshot first. (use the "Create a New Attachment" link in this bug) (You can do that tommorrow)
Hi Matti, I got to thinking. If you download PowerChutePlusBusinessEdition and tell it to manually configure to one of your com ports, instead of automatic detection, you can probably troubleshoot without an APC UPS actually attached. I got my rpm from: ftp://ftp.apcc.com/apc/public/software/unix/linux/pcbe/602/pbeagent-6.0.2-1.i386.rpm --Tony
Comment 5•22 years ago
|
||
-> Oji I can't test this bug myself because I'm a win32 user :-( You could really try JRe1.4 because it solved many Java related problem for me on win32.
Assignee: asa → joe.chou
Status: UNCONFIRMED → NEW
Component: Browser-General → OJI
Ever confirmed: true
QA Contact: doronr → pmac
Hi Matti,
I upgraded to j2re-1_4_0-fcs-linux-i386.rpm. No symptom change.
--TonyChris Petersen is a new QA contact for oji component. His email is: petersen@netscape.com
Assignee: joe.chou → petersen
Comment 8•22 years ago
|
||
fixing small error for pmac@netscape.com (filter with : SPAMMAILSUCKS)
Assignee: petersen → joe.chou
QA Contact: pmac → petersen
| Assignee | ||
Comment 10•22 years ago
|
||
Reporter: Is the bug still here? can you use the lastest jre 1.4.1_01 and mozilla 1.2 to test? We can't test because that we have no APC Smart UPS 620 Thanks!
| Reporter | ||
Comment 11•22 years ago
|
||
Hi Joshua,
I don't have access to the customer's site for such a test.
But, I should be able to mock it up at my office in a week or so
(just as soon as I get my partitions backs to normal).
But, you don't even need a ups to check this. Just install
the power chute software and tell it you have a ups on one of
your serial ports. The problem is the java script that
logs you into the software. Once that works, power chute
will just tell you it can not find the ups.
I will retest in about two weeks. Let me know if you
find anything sooner.
Many thanks,
--Reporter (also know as "Tony")| Reporter | ||
Comment 12•22 years ago
|
||
Hi Joshua,
I am about to get to the point where I can test this. But, I
am still having a problem getting my Java plugins into
Mozilla. (They do not show up on about:plugins.)
Here is what I have done. What am I missing? (I am using
Red Hat 8.0, mozilla-1.3a-2002120921_trunk_rh8.i386.rpm, and
j2re-1_4_1_01-fcs-linux-i586.rpm.) All of the installed links
show when I "ls -alg" them.
--Tony
----------------------------------------
MakeJavaLinks--------------------------------------
#! /bin/bash
# Make current Java links.
# Note: modify "JavaRev" to your java path (look in /usr/java)
# and "MozPluginsDir" to your Mozilla directory
# And edit /etc/profile (or equivalent) to include "JavaBin"
/usr/java/java.current/bin
# in your $PATH.
JavaRev=j2re1.4.1_01
JavaHome=/usr/java
JavaCurrent="$JavaHome"/java.current
JavaBin="$JavaCurrent"/bin
JavaPlugin="$JavaCurrent"/plugin/i386
MozPluginsDir=/usr/lib/mozilla/plugins
UserPluginsDir="$HOME"/.mozilla/plugins
ln -s "$JavaCurrent" "$JavaHome"/"$JavaRev"
echo " Add ""$JavaHome""/java.current to /etc/profile "'$PATH'
echo " I.e.,"
echo " pathmunge /usr/java/java.current after"
#ln -s "$JavaPlugin"/ns4/javaplugin.so "$MozPluginsDir"/.
#ln -s "$JavaPlugin"/ns600/libjavaplugin_oji.so "$MozPluginsDir"/.
if [ -f "$MozPluginsDir""/libjavaplugin_oji.so" ]; then
rm "$MozPluginsDir""/libjavaplugin_oji.so"
fi
ln -s "$JavaPlugin"/ns610/libjavaplugin_oji.so "$MozPluginsDir"/.
if [ ! -d "$UserPluginsDir" ]; then
mkdir "$UserPluginsDir"
fi
if [ -f "$UserPluginsDir""/libjavaplugin_oji.so" ]; then
rm "$UserPluginsDir""/libjavaplugin_oji.so"
fi
ln -s "$JavaPlugin"/ns610/libjavaplugin_oji.so "$UserPluginsDir"/.
Comment 13•22 years ago
|
||
>mozilla-1.3a-2002120921_trunk_rh8.i386.rpm
This is the problem.
Because of ABI changes in the GCC3.X compiler java doesn't work with GCC3.x builds.
The non-rpm builds from mozilla.org are compiled with gcc2.9x and java will work.
| Reporter | ||
Comment 14•22 years ago
|
||
Hi Matti, > from mozilla.org Not to ask too stupid of a question, but I have searched all over mozilla.org and have not been able to locate a Java download (xpi?), is there a link you can send me to download them? --Tony aewll@gbis.com
Comment 15•22 years ago
|
||
You can download the Java JRE from http://java.sun.com/j2se/1.4.1/download.html
| Reporter | ||
Comment 16•22 years ago
|
||
Hi All, I give up. I have tried compiling j2re-1_4_1_01-linux-i586.bin, but still can not get Java to activate in Mozilla. As far as I can tell, it is because I am running libstdc++-3.2-7 instead of 2.9x. But, I am only guessing. (I am running Red Hat 8.0) Joshua, if you can get Java to work, can you just make up a UPS for PowerChute? --Tony aewell@gbis.com
| Reporter | ||
Comment 17•22 years ago
|
||
Okay, so I didn't give up. I unloaded my nightly and reloaded 1.2.1 and now Java is working. I hope to be able to test the APC software in a week or so with java 1.4.1 --Tony
| Reporter | ||
Comment 18•22 years ago
|
||
Hi All,
I finally got a chance to test it. It is now working. If you will forgive
me being a bit wordy here, this is what I found. Use at your own risk.
The following is for Red Hat 8.0 and APC's pbeagent-6.1.0-1.i386.rpm
only:
1) Java and Linux Mozilla 1.3a are not the best of friends. Mozilla
1.3a is compiled under a Java unfriendly versi6) Log into the Agent with
Mozilla. Use the following URL:
http://127.0.0.1:3052
note: the user name is "root" and the password is the root's
or whatever user name and password you told it when you
ranp be_agent_redhat_jvm.binon of gcc. So I reverted
to Mozilla 1.2.1. 1.3a is called "Alpha" for a reason.
2) I installed IBM's Java
(http://www-106.ibm.com/developerworks/java/jdk/linux140/jre-info.html)
rpm -ivh IBMJava2-JRE-1.4-0.0.i386.rpm
Note: the rpm is also installed from the script below in step 3
if you want to use the script instead
3) I ran a script I wrote:
#! /bin/bash
# Make current Java links with the IBM JRE
# Note: modify "JavaRev" to your java path (look in /opt/IBMJava2-14)
# and "MozPluginsDir" to your Mozilla directory
# And edit /etc/profile (or equivalent) to include "JavaBin"
(/opt/java.current/jre/bin) in your $PATH.
JavaRev=IBMJava2-14
JavaHome=/opt
JavaCurrent="$JavaHome"/java.current
JavaBin="$JavaCurrent"/jre/bin
JavaName=libjavaplugin_oji.so
JavaPlugin="$JavaBin""/""$JavaName"
MozPluginsDir=/usr/lib/mozilla/plugins
rpm -Uvh IBMJava2-JRE-1.4-0.0.i386.rpm
echo " "
if [ -h "$JavaCurrent" ]; then rm "$JavaCurrent"; fi
ln -s "$JavaHome"/"$JavaRev" "$JavaCurrent"
if [ -f "$MozPluginsDir""/""$JavaName" ]; then rm
"$MozPluginsDir""/""$JavaName"; fi
ln -s "$JavaPlugin" "$MozPluginsDir"
echo " Add $JavaBin to /etc/profile "'$PATH'
echo " I.e.,"
echo " pathmunge $JavaBin after"
4) You have to exit and restart Mozilla for the link to take. If
you open Mozilla and go to "Help", "About plugins" and do not see
a ton of Java entries, then Java is not installed properly.
You will have to log out and back in to Linux to get any /etc/profile
paths to take effect
5) Install and configure the APC agent:
rpm -ivh pbeagent-6.1.0-1.i386.rpm
note: you have to run an undocumented the configuration utility
from the directory that it is installed in.
cd /opt/APC/PowerChuteBusinessEdition/Agent
pbe_agent_redhat_jvm.bin
6) Log into the Agent with Mozilla. Use the following URL:
http://127.0.0.1:3052
note: the user name is "root" and the password is the root's
or whatever user name and password you told it when you
ran pbe_agent_redhat_jvm.bin
My appreciation to everyone that help me with this, both on this
bug and in the newsgroups.
--Tony
Please close this bugStatus: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•