Replacing all java applets
Hi,
What technology shoud we use to replace all the Java Applets in our MII applications ¡? . The reason is that java applets slows them down , sometimes the application screen ( GUI ) seems like not responding & when the end user is proactive changes his computer java version to the latest which does create other kind of problems to the MII applications .
Furthermore, we want our MII applications running on plataforms which do not support java applets ( ipads for example ) . I guess that our next move is to use AJAX, JQUERY & XSLT technologies instead of java applets, but still we would like to make sure that there is no another way .
Thanks in advance ,
Note : We are running a MII 12.2.3 build 167 sp 5 with a 7.11 CW NW version
Hi Fernando
The best UI technology providing rich UI is HTML5 currently which is supported on all devices and browsers (IE9 is minimum) but with varying degrees of support with Chrome the best but others are not too far behind.
The easiest way to replace the Applets and use HTML5 rendering is to upgrade to MII 14.0 SP4 and use the SAP UI5 based i5Charts, i5Grid.
If you cannot upgrade to MII 14.0 or higher (15.0 has some cool features as well) you may do this on your own where you may use one of several HTML5 based charting libraries like D3, High Charts etc but the work will be more for you as MII 12.2 does not have JSON support (available with MII 14.0 again) and you will have to work with XML or write custom code to convert XML to JSON.
So my suggestion would be upgrade and use i5 Charts as these look much better, are faster and provide almost the same support as the applets. Also these charts would be developed in the future in MII but the applets would remain mostly in maintenance mode. This means new features would, most probably, be only added to the HTML5 charts in MII.
Best Regards
Partha
Similar Messages
-
We have about 1,800 workstations running Windows 7 (both 32-bit and 64-bit) running various versions of the Java JRE from 6 update 32 through 7 update 51. Most are on 6 update 45. We would like to standardize on Java 7 update 51 (32-bit) and get everyone updated to that version for security reasons.
For the past two weeks, we have been having trouble with our installation pre-pilot. What we are seeing is that our procedure successfully closes any open Internet Explorer windows and Java-related processes, uninstalls all old versions of the Java JRE, and then claims to have successfully installed Java 7 update 51. The Java Control panel works. We can even take Internet Explorer to Verify Java Version or Java Tester - What Version of Java Are You Running? and confirm that the Java applets on those sites are loading (though the latter only works after adding the site to the exceptions site list); however, when testers try to access our Kronos Workforce Central 6.3.10 system, the Java applets used by that system do not load.
We have tried the following things, none of which worked:
Clear Internet Explorer browser cache and cookies.
Clear the local Java cache.
Reboot the computer.
Reset Internet Explorer settings, including personal settings.
The one thing which does work is going into the Java Control Panel, going to the Security tab, unchecking "Enable Java content in the browser", pressing Apply, pressing OK on the pop-up window, checking the "Enable Java content in the browser" box again, pressing OK, pressing OK on the pop-up window, and then restarting Internet Explorer. It is only after this point that all Java applets, including the ones used by Kronos Workforce Central 6.3.10, work.
What I need to know is how I can automate the procedure of reinitializing the "Enable Java content in the browser" checkbox after installation or am I doing something wrong or missing a step in the automated installation that is causing this to happen?
We are using Microsoft SCCM 2007 R3 to accomplish this upgrade, and everything is being run on the client machine using the SYSTEM account. First, the PowerShell script "javaclean.ps1" is run, with part of the command-line process changing the PowerShell script execution policy to Bypass. This script handles the closing of Java-dependent applications and Java processes and uninstalls old Java versions.
javaclean.ps1:
#Find all Java products excluding the auto updater which actually gets uninstalled when the main install is removed.
write-host "Searching for all installed Java versions" -ForegroundColor Yellow
[array]$javas=Get-WmiObject -query "select * from win32_Product where (Name like 'Java %' or Name like 'Java(TM)%' or Name like 'J2SE%') and Name <> 'Java Auto Updater'"
if ($javas.count -gt 0)
write-host "Java is already Installed" -ForegroundColor Yellow
#Get all the Java processes and kill them. If java is running and the processes aren't killed then this script will invoke a sudden reboot.
[array]$processes=Get-Process -Name "Java*" #-erroraction silentlycontinue
$processes += Get-Process -Name "iexplore" #-erroraction silentlycontinue
$processes += Get-Process -Name "firefox" #-erroraction silentlycontinue
$processes += Get-Process -Name "chrome" #-erroraction silentlycontinue
$processes += Get-Process -Name "jqs" #-erroraction silentlycontinue
$processes += Get-Process -Name "jusched" #-erroraction silentlycontinue
$processes += Get-Process -Name "jp2launcher" #-erroraction silentlycontinue
if ($processes.Count -gt 0)
foreach ($myprocess in $processes)
$myprocess.kill()
#Loop through the installed Java products.
foreach($java in $javas){
write-host "Uninstalling "$java.name -ForegroundColor Yellow
$java.Uninstall()
After this script is complete, SCCM calls a the VBS script "install.vbs" to perform the actual installation of Java JRE 7 update 51.
install.vbs
'* Script: Install JRE 7 routine
'* Date: 3/14/14
'* Author: [REDACTED]
'* Rev: 1.0
'* Notes:
'/// Common
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objWshShell = CreateObject("WScript.Shell")
' Get system architecture
Dim colSys : Set colSys = GetObject("WinMGMTS://").ExecQuery("SELECT AddressWidth FROM Win32_Processor",, 48)
Dim objSys
For Each objSys In colSys
If objSys.AddressWidth = 64 Then bolIs64Bit = True
Next
' Get operating system
Dim colOS : Set colOS = GetObject("WinMGMTS://").ExecQuery ("Select * from Win32_OperatingSystem",,48)
Dim objOS
For Each objOS In colOS
If Left(objOS.caption, 20) = "Microsoft Windows 8 " Then
bolIsWin8 = True
WScript.Echo "win8"
End If
If Left(objOS.caption, 22) = "Microsoft Windows 8.1 " Then
bolIsWin81 = True
WScript.Echo "win81"
End If
Next
' Set 32 bit program files directory
If bolIs64Bit = True Then
strPFILES = "Program Files (x86)"
strSYSDIR = "SysWOW64"
Else strPFILES = "Program Files"
strSYSDIR = "System32"
End If
' Set windows directory
strWIN = objWshShell.ExpandEnvironmentStrings("%windir%")
' Set the current directory
strCurrentDir = objFSO.GetParentFolderName(Wscript.ScriptFullName)
' Set computer name
strCompName = objWshShell.ExpandEnvironmentStrings("%computername%")
'/// Main script
'/// Install via .msi & capture exit code
'intExitCode = objWshShell.Run("msiexec.exe /i """ & strCurrentDir & "\package.msi""" & " TRANSFORMS=""" & strCurrentDir & _
' "\transform.mst"" ALLUSERS=1 Reboot=ReallySuppress /qn", 8, True)
'wscript.quit(intExitCode)
'****RUN COMMANDS HERE****
' Create folder structure if it doesn't exist already
strFullPath = "c:\Windows\Sun\Java\Deployment" '
' How many levels are there in the path?
nLevel = 0
strParentPath = strFullPath
Do Until strParentPath = ""
strParentPath = objFSO.GetParentFolderName(strParentPath)
nLevel = nLevel + 1
Loop
For iLevel = 1 To nLevel
' Figure out path for directory at level iLevel
strParentPath = strFullPath
For j = 1 To nLevel - iLevel
strParentPath = objFSO.GetParentFolderName(strParentPath)
Next
' Does this directory exist? If not, create it.
If objFSO.FolderExists(strParentPath) = False Then
Set newFolder = objFSO.CreateFolder(strParentPath)
End If
Next
' Kill running processes
objWshShell.Run "taskkill /F /IM iexplore.exe", 8, True
objWshShell.Run "taskkill /F /IM firefox.exe", 8, True
objWshShell.Run "taskkill /F /IM chrome.exe", 8, True
objWshShell.Run "taskkill /F /IM javaw.exe", 8, True
objWshShell.Run "taskkill /F /IM java.exe", 8, True
objWshShell.Run "taskkill /F /IM jqs.exe", 8, True
objWshShell.Run "taskkill /F /IM jusched.exe", 8, True
' Copy deployment files
objFSO.CopyFile strCurrentDir & "\deployment.config", "c:\Windows\Sun\Java\Deployment\", True
objFSO.CopyFile strCurrentDir & "\deployment.properties", "c:\Windows\Sun\Java\Deployment\", True
' Disable UAC
' If bolIsWin8 Or bolIsWin81 = True Then
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v PromptOnSecureDesktop /t REG_DWORD /d 0 /f", 8, True
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f", 8, True
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f", 8, True
' End If
' Install application
intExitCode = objWshShell.Run("msiexec.exe /i """ & strCurrentDir & "\jre1.7.0_51.msi"" IEXPLORER=1 AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 WEB_JAVA=1 ALLUSERS=1 Reboot=ReallySuppress /qn", 8, True)
' Enable UAC
' If bolIsWin8 Or bolIsWin81 = True Then
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v PromptOnSecureDesktop /t REG_DWORD /d 1 /f", 8, True
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f", 8, True
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 5 /f", 8, True
' End If
wscript.quit(intExitCode)
'/// Install via .exe on network
'objWshShell.Run """" & strCurrentDir & "\Setup.exe"" -s -sms -f1""" & strCurrentDir & _
' "\setup.iss"" -f2""" & strWIN & "\Temp\Install-app.txt""", 8, True
' Need to turn off the open file security warning first
Set objEnv = objWshShell.Environment("PROCESS")
objEnv("SEE_MASK_NOZONECHECKS") = 1
' intExitCode = objWshShell.Run("""" & strCurrentDir & "\jre-7u45-windows-i586.exe"" /s /v""/norestart " & _
' "TRANSFORMS=""" & strCurrentDir & "\Tribe-jre7.mst""""", 8, True)
' WScript.Quit(intExitCode)
'****RUN COMMANDS HERE****
' Then turn it back on
objEnv.Remove("SEE_MASK_NOZONECHECKS")
'/// Additional functions
Help on this issue would be much appreciated!It turns out that this is actually a problem with Kronos Workforce Central. We had the "site.java.plugin.CLSID.familyVersion" setting in that application set to "clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA", which is the Java CLSID for Java 6. After updating this value to "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" (the Java universal CLSID), this problem did not occur upon the automatic upgrade of Java.
We have both Java 6 and Java 7 in our environment, and did during our Kronos implementation, so I don't know why we were using the Java 6 CLSID in the first place.
Case closed! -
Java applet permissions (allow access to ports 1024 )
Hello everyone,
Not sure if this is the place to post this question but this forum has been extremely helpful to me in the past.
I'm interested in allowing a java applet to both edit my hosts file and bind to privileged ports (this is for a trusted corporate SSL VPN connection). I've tried editting my java.policy file, but it doesn't seem to affect anything. Even if I set a policy rule to temporarly allow ALL java applets to use privileged ports, it still won't work. Ditto for allowing write file permissions to /etc/hosts:
grant {
permission java.io.FilePermission "/etc/hosts", "write";
The only thing that seems to work is running firefox in root, which I really don't want to do.
Am I going about this the right way? Thanks!If applet is signed, Change in Java Control Panel tab Security, Security Level to High.
-
Java Control Panel wont open at all and any Java Applets crash web browsers
Hello,
I recently installed a fresh fully updated copy of Windows 7 Home Premium 64 bit, and I have not for the life of me been able to get Java working at all. Java version is the latest JRE 6U31. I only have Internet Explorer 9 installed but I doubt it is a browser issue since I cannot even open the Java control panel. I have tried using the 32 bit version of Java, and the 64 bit. Anytime I try to open the Java control panel with either 32 bit or 64 bit, I get an error message (click link below to view error message):
http://i65.photobucket.com/albums/h204/gobigjeff/Java%20Error/javaerror.png
I can only bring up the Java Control Panel using the command “javaws –viewer” . Anytime I try to load a web page with a Java applet in either 64 bit or 32 bit, it freezes and crashes. I am running Internet Explorer 9 and have tried both the 32 bit and 64 bit browser versions. I saw Java’s recommendation to only use the 32 bit version so I have mainly been trying to get the 32 bit version working 1st, with no success. I have tried ALL of the following steps, and have done some exhaustive research on this problem. It seems others have had this issue as well, with no solution to be found:
• Uninstalled and reinstalled only Java 32 bit JRE 6u31 multiple times (Used Javara and reg cleaner to remove all old Java traces)
• Uninstalled and reinstalled only Java 64 bit JRE 6u31 (Used Javara and reg cleaner to remove all old Java traces)
• Uninstalled and reinstalled bit JRE 7 (Used Javara and reg cleaner to remove all old Java traces)
• Used SFC /scannow in safe mode to verify Windows files
• Ran spyware and virus scan with no issues detected
• Added all java processes to windows firewall
I am out of solutions here. If anyone has had this problem with Java or knows what I need to do to fix the problem your advice would be greatly appreciated. I don’t think reinstalling windows is the solution because this is a fresh install.
Edited by: 918650 on Mar 4, 2012 1:16 PMI figured it out. I changed the installation folder to C:/Java and it finally worked!
-
SeaMonkey v2.0.4's Java applets doesn't work all the time.
Hello. I use Mozilla's SeaMonkey v2.0.4 (using binary from mozilla.org) in Debian/Linux. I can get Java applets to work on https://eetime11.adp.com/c08e/logon but not on http://javatester.org, http://java.com/en/download/installed.jsp, and http://java.com/en/download/help/testvm.xml
Java Plug-in 1.6.0_20
Using JRE version 1.6.0_20-b02 Java HotSpot(TM) Client VM
User home directory = /home/ant
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
load: class testvm2/Main.class not found.
java.lang.ClassNotFoundException: testvm2.Main.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
FYI on my setups:
$ pwd
/home/Programs/seamonkey2/plugins
$ ls -all
total 28
drwxr-xr-x 2 ant ant 4096 2010-04-15 15:46 .
drwxr-xr-x 15 ant ant 4096 2010-04-16 08:32 ..
lrwxrwxrwx 1 root root 32 2009-11-27 17:19 libflashplayer.so -> /home/Programs/libflashplayer.so
lrwxrwxrwx 1 root root 63 2010-04-15 15:46 libjavaplugin_oji.so -> /home/Programs/jre1.6.0_20/plugin/i386/ns7/libjavaplugin_oji.so
-rwxr-xr-x 1 ant ant 15824 2009-10-17 09:30 libnullplugin.so
$ ls -all /home/Programs/jre1.6.0_20/plugin/i386/ns7/libjavaplugin_oji.so
-rwxr-xr-x 1 ant ant 137021 2010-04-12 14:39 /home/Programs/jre1.6.0_20/plugin/i386/ns7/libjavaplugin_oji.so
Does anyone know why? Thank you in advance. :)
Edited by: antdude on Apr 16, 2010 8:37 AMMore poking around:
$ java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8pre) (6b18~pre2-1)
OpenJDK Server VM (build 14.0-b16, mixed mode)
# dpkg -l | grep ^ii |grep java
ii ca-certificates-java 20091021 Common CA certificates (JKS keystore)
ii java-common 0.35 Base of all Java packages
ii libaccess-bridge-java 1.26.2-4 Java Access Bridge for GNOME
ii libaccess-bridge-java-jni 1.26.2-4 Java Access Bridge for GNOME (jni bindings)
ii libhsqldb-java 1.8.0.10-6 Java SQL database engine
ii liblucene2-java 2.9.2+ds1-1 Full-text search engine library for Java(TM)
ii libservlet2.4-java 5.0.30-12 Servlet 2.4 and JSP 2.0 Java library
ii openoffice.org-java-common 1:3.2.0-4 full-featured office productivity suite -- arch-independent Java support files
ii tzdata-java 2010h-1 time zone and daylight-saving time data for use by java runtimes
# dpkg -l | grep ^ii |grep jre
# locate bin/java
/home/Programs/jre1.6.0_20/bin/java
/home/Programs/jre1.6.0_20/bin/java_vm
/home/Programs/jre1.6.0_20/bin/javaws
/usr/bin/java
/usr/bin/javaws
/usr/lib/jvm/java-6-openjdk/bin/java
/usr/lib/jvm/java-6-openjdk/bin/java-rmi.cgi
/usr/lib/jvm/java-6-openjdk/bin/javaws
/usr/lib/jvm/java-6-openjdk/jre/bin/java
/usr/lib/jvm/java-6-openjdk/jre/bin/javaws
/usr/lib/jvm/java-6-openjdk/jre/bin/javaws.real
I tried to uninstall all the unneccesary Java packages, but still had some can't be removed because of other programs requiring it like OpenOffice:
# apt-get remove openjdk-6-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
openoffice.org-filter-mobiledev ttf-sil-gentium ttf-sil-gentium-basic
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
ca-certificates-java libaccess-bridge-java libaccess-bridge-java-jni libhsqldb-java liblucene2-java libservlet2.4-java
openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib openoffice.org openoffice.org-base openoffice.org-officebean
openoffice.org-report-builder-bin
0 upgraded, 0 newly installed, 13 to remove and 125 not upgraded.
After this operation, 114MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
# apt-get remove java-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
openoffice.org-filter-mobiledev ttf-sil-gentium ttf-sil-gentium-basic
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
ca-certificates-java java-common libaccess-bridge-java libaccess-bridge-java-jni libhsqldb-java liblucene2-java
libservlet2.4-java openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib openoffice.org openoffice.org-base
openoffice.org-officebean openoffice.org-report-builder-bin
0 upgraded, 0 newly installed, 14 to remove and 125 not upgraded.
After this operation, 115MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
Any ideas? :( -
java applets will not load,
i have run the java test page & i have the latest version installed.
have removed all old versions of java from my hard drive & restarted the computer.
i have checked that java is enabled in the plug-ins and it is with version se 6 u22, also something called java development toolkit 6.0.220.4 np runtime script plug-in library for java (tm) deploy.
if i click on java console in tolls nothing happensHi,
You might want to look in your control panel for 'Java' icon. It should give you an option to enable java plugin into your browser. Let me know if you still face the issue.
Thanks! -
How do I clear all of the java applets that have been downloaded?
I migrated firefox and other applications to my new mac so that I would not to reenter all of my passwords saved by firefox. However, it appears that the java applets were also transfered and one of these applets does not work with the new intel mac. I was able to get the same applet to work in safari, and I was able to delete the applet from safari as well, but was unable to do so in firefox.
So, how do I clear all of the previously downloaded applets, or even better, just the one I want to? Clearing all of the recent history didn't work.
Here is the site:
http://www.mdbg.net/chindict/chindict.php
== This happened ==
A few times a weekI did that already, and it cleared the applets for Safari, but not for Firefox.
-
I have a Mac running OS X 10.6.8 and have installed all updates and have disabled Java Applets. Do I need to install antivirus software and, if so, do you have a recommendation on what works best.
Mac OS X versions 10.6.7 and later have built-in detection of known Mac malware in downloaded files. The recognition database is automatically updated once a day; however, you shouldn't rely on it, because the attackers are always at least a day ahead of the defenders. In most cases, there’s no benefit from any other automated protection against malware.
The most effective defense against malware is your own intelligence. All known malware that affects a fully-updated installation of Mac OS X 10.6 or later takes the form of trojans, which can only work if the victim is duped into running them. If you're smarter than the malware attacker thinks you are, you won't be duped. That means, primarily, that you never install software from an untrustworthy source. How do you know a source is untrustworthy?
Any website that prompts you to install a “codec,” “plug-in,” or “certificate” that comes from that same site, or an unknown site, merely in order to use the site, is untrustworthy.
A web operator who tells you that you have a “virus,” or that anything else is wrong with your computer, or that you have won a prize in a contest you never entered, is trying to commit a crime with you as the victim.
“Cracked” versions of commercial software downloaded from a bittorrent are likely to be infected.
Software with a corporate brand, such as Adobe Flash Player, must be downloaded directly from the developer’s website. No intermediary is acceptable.
Disable Java (not JavaScript) in your web browser(s). Few websites have Java content nowadays, so you won’t be missing much. This setting is mandatory in Mac OS X 10.5.8 or earlier, because Java in those versions has bugs that make it unsafe to use on the Internet. Those bugs will probably never be fixed, because those older operating systems are no longer being maintained by Apple. Migrate to a newer version of the Mac OS as soon as you can.
Follow these guidelines, and you’ll be as safe from malware as you can reasonably be.
Never install any commercial "anti-virus" products for the Mac, as they all do more harm than good. If you need to be able to detect Windows malware in your files, use ClamXav — nothing else. -
WebAnalysis/WebAdminServicesConsole very slow (because of java applet)
Hello,
Context: Hyperion System 9.3.1
server1, Windows -> installed Administration Services e BI+ (Workspace, Web Analysis ecc)
server2, AIX -> installed Essbase
The client has externalized the software/hardware so we have:
network A =client's network
network B = Internet Service provider network
network C =network of the society to which client has externalized the hardware
The communication path is: network A -> network B -> network C
server1 and server2 are on network C.
From the client's computers in network A, Web Analysis Studio and Web Administration Services Console (both using java applets)
have very very slow response times. To give you an idea, an blank report in Web Analysis needs 10min to open. With Web Admin Console I can't do anything: in an empty outline, I added 2 dimensions with 1 member each, when I tried 'Save outline' after 20mins of waiting a response the system also freezed.
When I work in remote control directly on server1, Web Analysis studio and Web Admin Console are very very fast.
This happens only with these two components, the other web components not using java applet (Workspace ecc) don't have this problem.
That made me think there is a network issue. But ping and tracert to both servers (1,2) from the client machines gave me positive results.
I don't know what else to test/try.
Any help will be appreciated!
Thank you!
DanielaCiao,
It seems Web Analysis works well only with jre 1.5.0 update 11. I had java 1.6.0 update 4. I had disintalled java 1.6.0_4, installed 1.5.0_11 and now web analysis applet won't even load.
The java console makes me see the following messages (I replaced by hand the real server name with the server_name):
Java Plug-in 1.5.0_11
Uso della versione JRE 1.5.0_11 Java HotSpot(TM) Client VM
Directory principale utente = C:\Documents and Settings\Administrator
c: cancella finestra console
f: finalizza oggetti nella coda di finalizzazione
g: recupera spazio
h: visualizza questo messaggio di aiuto
l: esegui dump dell'elenco classloader
m: stampa utilizzo memoria
o: attiva registrazione eventi
p: ricarica configurazione proxy
q: nascondi console
r: ricarica configurazione criteri
s: esegui dump delle proprietà del sistema e dell'installazione
t: esegui dump dell'elenco thread
v: esegui dump dello stack del thread
x: cancella cache classloader
0-5: imposta livello di traccia su <n>
[WARN] HYABaseClient - -Analyzer Client Version=9.3.1.0.0.248
[WARN] HYABaseClient - -ServerURL=http://server_name/WebAnalysis/processor
[INFO] ProxyHttpClientHelper - -[PROXY_INIT] - Detect proxy settings using JavaPlugin Proxy Service...
[INFO] ProxyHttpClientHelper - -[PROXY_INIT] - Proxy settings missed or bypassed. Go to sever directly
[INFO] ProxyHttpClientHelper - -[PROXY_INIT] - Proxy settings are detected successfully.
java.net.UnknownHostException: server_name
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at com.hyperion.atf.services.distributed.http.HttpRequestProcessor.checkProxySettings(HttpRequestProcessor.java:269)
at com.hyperion.atf.services.distributed.http.HttpRequestProcessor.checkProxySettings(HttpRequestProcessor.java:234)
at com.hyperion.analyzer.usersession_base.HYABaseClient.obtainProxySettings(Unknown Source)
at com.hyperion.analyzer.usersession_base.HYABaseClient.initATF(Unknown Source)
at com.hyperion.analyzer.usersession_base.HYABaseClient.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[WARN] HYABaseClient - -Using Config: config_client.xml
[INFO] SessionScopeBindingToJVM - -Releasing services for session: Unbound/Undefined SessionId
[ERROR] ServiceManager - -Creating dummy lock.
[INFO] SessionScopeBindingToJVM - -Creating token for session: INITIALIZATION
[INFO] HttpRequestProcessor - -ServerURL=http://server_name/WebAnalysis/processor
[INFO] HttpRequestProcessor - -Connect to server DIRECTLY
[INFO] EventHandlerAsynchronous - -Created 3 worker threads.
[ERROR] NamingServiceProxy - -Could not retrieve root entry. <org.apache.commons.lang.exception.NestableRuntimeException: org.apache.commons.lang.exception.NestableException: An error occurred during network communications.>org.apache.commons.lang.exception.NestableRuntimeException: org.apache.commons.lang.exception.NestableException: An error occurred during network communications.
at com.hyperion.atf.services.distributed.clientproxies.NamingServiceProxy.getRootEntry(NamingServiceProxy.java:1008)
at com.hyperion.atf.internal.services.naming.NamingServiceProxy.getRootEntry(NamingServiceProxy.java:119)
at com.hyperion.atf.internal.services.naming.NamingServiceProxy.initialize(NamingServiceProxy.java:102)
at com.hyperion.atf.internal.services.containers.UserSessionContainer.initialize(UserSessionContainer.java:119)
at com.hyperion.atf.services.ServiceManager.setServiceContainer(ServiceManager.java:526)
at com.hyperion.atf.services.ServiceManager.getService(ServiceManager.java:271)
at com.hyperion.atf.services.ServiceManager.setServiceContainer(ServiceManager.java:503)
at com.hyperion.atf.services.ServiceManager.initServiceContainer(ServiceManager.java:463)
at com.hyperion.atf.services.ServiceManager.initialize(ServiceManager.java:661)
at com.hyperion.atf.services.ServiceRegistry.initialize(ServiceRegistry.java:126)
at com.hyperion.analyzer.usersession_base.HYABaseClient.initATF(Unknown Source)
at com.hyperion.analyzer.usersession_base.HYABaseClient.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.commons.lang.exception.NestableException: An error occurred during network communications.
at com.hyperion.atf.services.distributed.http.HttpRequestProcessor.internalProcess(HttpRequestProcessor.java:480)
at com.hyperion.atf.services.distributed.DistributedRequestProcessorClient.process(DistributedRequestProcessorClient.java:115)
at com.hyperion.atf.services.distributed.clientproxies.NamingServiceProxy.getRootEntry(NamingServiceProxy.java:999)
... 13 more
Caused by: java.net.UnknownHostException: server_name
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at com.hyperion.atf.services.distributed.http.HttpRequestProcessor.internalProcess(HttpRequestProcessor.java:466)
... 15 more
[ERROR] UserSessionContainer - -java.lang.IllegalStateException: Root entry is null
[ERROR] UserSessionContainer - -Could not destroy container instance properly "com.hyperion.atf.internal.services.naming.NamingServiceProxy". <java.lang.NullPointerException>java.lang.NullPointerException
at com.hyperion.atf.internal.services.containers.UserSessionContainer.destroy(UserSessionContainer.java:336)
at com.hyperion.atf.internal.services.containers.UserSessionContainer.initialize(UserSessionContainer.java:127)
at com.hyperion.atf.services.ServiceManager.setServiceContainer(ServiceManager.java:526)
at com.hyperion.atf.services.ServiceManager.getService(ServiceManager.java:271)
at com.hyperion.atf.services.ServiceManager.setServiceContainer(ServiceManager.java:503)
at com.hyperion.atf.services.ServiceManager.initServiceContainer(ServiceManager.java:463)
at com.hyperion.atf.services.ServiceManager.initialize(ServiceManager.java:661)
at com.hyperion.atf.services.ServiceRegistry.initialize(ServiceRegistry.java:126)
at com.hyperion.analyzer.usersession_base.HYABaseClient.initATF(Unknown Source)
at com.hyperion.analyzer.usersession_base.HYABaseClient.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[ERROR] ServiceManager - --------------------------
[ERROR] ServiceManager - -Service "naming" was not initialized. Removed from registry.
[ERROR] ServiceManager - -java.lang.IllegalStateException: Could not initalize container for: ServiceRegistration (name=naming, scope=user_session, priority=99, class=com.hyperion.atf.internal.services.naming.NamingServiceProxy, cronned=null)
[ERROR] ServiceManager - --------------------------
[INFO] SessionScopeBindingToJVM - -Releasing services for session: INITIALIZATION
[WARN] SecurityContextManagerProxy - -Could not verify login...will try again. <org.apache.commons.lang.exception.NestableRuntimeException: org.apache.commons.lang.exception.NestableException: An error occurred during network communications.>org.apache.commons.lang.exception.NestableRuntimeException: org.apache.commons.lang.exception.NestableException: An error occurred during network communications.
at com.hyperion.atf.services.distributed.clientproxies.SecurityContextManagerProxy.hasValidSecurityContext(SecurityContextManagerProxy.java:286)
at com.hyperion.atf.security.authentication.SecurityContextManagerProxy.refresh(SecurityContextManagerProxy.java:73)
at com.hyperion.atf.security.authentication.SecurityContextManagerProxy.hasValidSecurityContext(SecurityContextManagerProxy.java:162)
at com.hyperion.atf.security.authentication.SecurityContextManagerProxy.getUser(SecurityContextManagerProxy.java:149)
at com.hyperion.atf.security.authentication.SecurityContextManagerProxy.toString(SecurityContextManagerProxy.java:195)
at java.lang.String.valueOf(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at com.hyperion.atf.internal.services.containers.UserSessionContainer.internalRelease(UserSessionContainer.java:259)
at com.hyperion.atf.internal.services.containers.UserSessionContainer.release(UserSessionContainer.java:219)
at com.hyperion.atf.internal.services.containers.UserSessionContainer.release(UserSessionContainer.java:229)
at com.hyperion.atf.services.ServiceManager.releaseServices(ServiceManager.java:354)
at com.hyperion.atf.services.SessionScopeBindingToJVM.destroy(SessionScopeBindingToJVM.java:34)
at com.hyperion.atf.services.ServiceManager.initialize(ServiceManager.java:682)
at com.hyperion.atf.services.ServiceRegistry.initialize(ServiceRegistry.java:126)
at com.hyperion.analyzer.usersession_base.HYABaseClient.initATF(Unknown Source)
at com.hyperion.analyzer.usersession_base.HYABaseClient.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.commons.lang.exception.NestableException: An error occurred during network communications.
at com.hyperion.atf.services.distributed.http.HttpRequestProcessor.internalProcess(HttpRequestProcessor.java:480)
at com.hyperion.atf.services.distributed.DistributedRequestProcessorClient.process(DistributedRequestProcessorClient.java:115)
at com.hyperion.atf.services.distributed.clientproxies.SecurityContextManagerProxy.hasValidSecurityContext(SecurityContextManagerProxy.java:277)
... 17 more
Caused by: java.net.UnknownHostException: server_name
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at com.hyperion.atf.services.distributed.http.HttpRequestProcessor.internalProcess(HttpRequestProcessor.java:466)
... 19 more
[ERROR] HYABaseClient - -Error while initializing ATF <com.hyperion.atf.services.InitializationException: Could not initialize service manager: 1224512931093>com.hyperion.atf.services.InitializationException: Could not initialize service manager: 1224512931093
at com.hyperion.atf.services.ServiceManager.initialize(ServiceManager.java:678)
at com.hyperion.atf.services.ServiceRegistry.initialize(ServiceRegistry.java:126)
at com.hyperion.analyzer.usersession_base.HYABaseClient.initATF(Unknown Source)
at com.hyperion.analyzer.usersession_base.HYABaseClient.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.hyperion.atf.services.ServiceManager$ServiceRecursiveInitException: Could not start critical service: "appinit.tasks", all services are being rolled back.
at com.hyperion.atf.services.ServiceManager.setServiceContainer(ServiceManager.java:546)
at com.hyperion.atf.services.ServiceManager.initServiceContainer(ServiceManager.java:463)
at com.hyperion.atf.services.ServiceManager.initialize(ServiceManager.java:661)
... 5 more
org.apache.commons.lang.exception.NestableRuntimeException: org.apache.commons.lang.exception.NestableException: An error occurred during network communications.
at com.hyperion.analyzer.atf.service.clientproxies.HYALicensingServiceProxy.isFeatureEnabled(Unknown Source)
at com.hyperion.analyzer.usersession_base.AnalyzerClient.initShowHideParams(Unknown Source)
at com.hyperion.analyzer.usersession_base.AnalyzerClient.createGUI(Unknown Source)
at com.hyperion.analyzer.usersession_base.HYABaseClient.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.commons.lang.exception.NestableException: An error occurred during network communications.
at com.hyperion.atf.services.distributed.http.HttpRequestProcessor.internalProcess(HttpRequestProcessor.java:480)
at com.hyperion.atf.services.distributed.DistributedRequestProcessorClient.process(DistributedRequestProcessorClient.java:115)
... 6 more
Caused by: java.net.UnknownHostException: server_name
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at com.hyperion.atf.services.distributed.http.HttpRequestProcessor.internalProcess(HttpRequestProcessor.java:466)
... 7 more
Any help will be appreciated! -
Java applet funktioniert nicht
der Druck von DHL Online Porto Marke funktioniert nicht. Woran kann das liegen? Java Applet ist in den Sicherheitseinstellungen von Safari aktiviert.
Servussig and J.C. Westin-
I used the Adobe Flash UNinstaller, and then installed Adobe Flash Player v10.0.12.10. No improvement/it did not correct the problem. Power E*Trade Pro (a Java Applet) still won't start properly (since Apple Software Update installed Java Release 7).
I even did all the Repair Permissions steps before and after Flash UNinstal/reinstall (suggested by J.C. Westin; even though they did seem somewhat excessive; Note: all permissions were set properly before installing; Permissions DID need repair AFTER installing Flash; guess that Adobe doesn't get the permissions right in it's own installer!).
To be honest, I did not really place much hope in solving the problem via an update to a BETA version of Flash. The problem occurred when I updated Java (per Apple's Software Update), not when doing anything with Flash. More to the point, I don't believe the Java applet that's having problems now uses Flash at all. Placing hope in a Flash BETA seemed to me like being told to replace my brake fluid after complaining the engine wasn't running.
I'm (still) looking for a (non-draconian) way of reverting back to Java Release 6. Someone has to have some steps for trashing specific files/binaries to Remove Java Release 7, then installing the full Java Release 6 anew. Please? Anyone? Trashing the entire OS then performing a clean install is a huge amount of work. I just need to trash Java Release 7.
Thanks in advance to anyone who can help here. -
an embedded Java applet pops up a response box with success or failure on a dbms update. With FFOX(32) 8.x and 9.x running on win7 64, the response box is blank but it should always be either Success or Failed.
This works just fine in older FFox(with XP), Goggle Chrome(win7 64), etc.Hi and Welcome to the Forums!
Anytime random strange behaviors creep in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
Best!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Rewriting java applet parameters
I am attempting to get a java applet to work through the portal. Of
course it
does not work "out of the box" The applet is a menuing applet and it
gets is
text for the menu options (and the associated links) from the applet
parameters. I have read the documentation for this and, in typical Portal
Server documentation fashion, it has been less than helpful.
Here are the details: The asp page that loads the applet is loaded from
/menu/menu.asp Here is the HTML that loads applet and sets some of the
parameters:
<td><APPLET name='1' code='imgMenu.class'
codebase='class/'height='17' width='124' id=Applet1>
<param name='xloc' value='0'>
<param name='yloc' value='17'>
<param name='upimage' value='/menu/images/bbusinessunit.gif'>
<param name='placement' value='right'>
<param name="item1" value="0|ACT - Alaska Consolidated Team">
<param name="item2" value="1|ACT Home">
<param name="URL2" value="http://alaska.somewhere.com/act|_top">
<param name="item3" value="1|ACT Badami">
<param name="URL3" value="http://alaska.somewhere.com/cns_badami|_top">
<param name="item4" value="1|ACT Endicott">
I configured the rewriter like this:
/menu/menu.asp imgMenu.class upimage
/menu/menu.asp imgMenu.class URL*
so that the upimage parameter would be rewritten as well ad the URL*
parameters (there are URL1 all the way to URL53). This does not work.
Has anyone gotten the Java applet paremeters rewriting working? If so,
what I am I missing?
Kent
"For everything there is a season, and a time for every matter
under heaven: ... a time to love, and a time to hate; a time
for war, and a time for peace."
-- Ecclesiastes 3:1,8sig and J.C. Westin-
I used the Adobe Flash UNinstaller, and then installed Adobe Flash Player v10.0.12.10. No improvement/it did not correct the problem. Power E*Trade Pro (a Java Applet) still won't start properly (since Apple Software Update installed Java Release 7).
I even did all the Repair Permissions steps before and after Flash UNinstal/reinstall (suggested by J.C. Westin; even though they did seem somewhat excessive; Note: all permissions were set properly before installing; Permissions DID need repair AFTER installing Flash; guess that Adobe doesn't get the permissions right in it's own installer!).
To be honest, I did not really place much hope in solving the problem via an update to a BETA version of Flash. The problem occurred when I updated Java (per Apple's Software Update), not when doing anything with Flash. More to the point, I don't believe the Java applet that's having problems now uses Flash at all. Placing hope in a Flash BETA seemed to me like being told to replace my brake fluid after complaining the engine wasn't running.
I'm (still) looking for a (non-draconian) way of reverting back to Java Release 6. Someone has to have some steps for trashing specific files/binaries to Remove Java Release 7, then installing the full Java Release 6 anew. Please? Anyone? Trashing the entire OS then performing a clean install is a huge amount of work. I just need to trash Java Release 7.
Thanks in advance to anyone who can help here. -
Java Applet - GridBagConstraint
Hi,
I have a question, could somebody tell me how to decrease the space between buttons in my applet as g.weighty = 1; is making the gap too big? I would like to have all button on top with some space but the space I am getting now is too big and I can't find a way how to decrease it.
import java.awt.*;
import javax.swing.*;
public class GUI extends JApplet{
private GridBagConstraints g = new GridBagConstraints();
private JPanel jPanelContentPanel;
private JPanel jPanelButtonPanel;
private JPanel jPanelGraphPanel;
private JButton jButton1;
private JButton jButton2;
private JButton jButton3;
private JButton jButton4;
private GridBagLayout gridbag;
public ApplicationGUI() {
init();
public void init() {
setSize(450,350);
enableEvents(AWTEvent.WINDOW_EVENT_MASK);
jPanelContentPanel = (JPanel) this.getContentPane();
gridbag = new GridBagLayout();
jPanelGraphPanel = new JPanel();
jPanelGraphPanel.setBorder(BorderFactory.createTitledBorder(""));
jPanelContentPanel.add(jPanelGraphPanel,BorderLayout.CENTER);
jPanelButtonPanel = new JPanel(gridbag);
jPanelButtonPanel.setBorder(BorderFactory.createTitledBorder(""));
g.insets = new Insets(5,5,0,5);
g.anchor = GridBagConstraints.PAGE_START;
g.weighty = 1;
jButton1 = new JButton("Button 1");
jButton1.setPreferredSize(new Dimension(100, 30));
g.gridx = 0;
g.gridy = 0;
jPanelButtonPanel.add(jButton1,g);
jButton2 = new JButton("Button 2");
jButton2.setPreferredSize(new Dimension(100, 30));
g.gridx = 0;
g.gridy = 1;
jPanelButtonPanel.add(jButton2,g);
jButton3 = new JButton("Button 3");
jButton3.setPreferredSize(new Dimension(100, 30));
g.gridx = 0;
g.gridy = 2;
jPanelButtonPanel.add(jButton3,g);
jButton4 = new JButton("Button 4");
jButton4.setPreferredSize(new Dimension(100, 30));
g.gridx = 0;
g.gridy = 3;
jPanelButtonPanel.add(jButton4,g);
jPanelContentPanel.add(jPanelButtonPanel,BorderLayout.EAST);
Thank in advancesig and J.C. Westin-
I used the Adobe Flash UNinstaller, and then installed Adobe Flash Player v10.0.12.10. No improvement/it did not correct the problem. Power E*Trade Pro (a Java Applet) still won't start properly (since Apple Software Update installed Java Release 7).
I even did all the Repair Permissions steps before and after Flash UNinstal/reinstall (suggested by J.C. Westin; even though they did seem somewhat excessive; Note: all permissions were set properly before installing; Permissions DID need repair AFTER installing Flash; guess that Adobe doesn't get the permissions right in it's own installer!).
To be honest, I did not really place much hope in solving the problem via an update to a BETA version of Flash. The problem occurred when I updated Java (per Apple's Software Update), not when doing anything with Flash. More to the point, I don't believe the Java applet that's having problems now uses Flash at all. Placing hope in a Flash BETA seemed to me like being told to replace my brake fluid after complaining the engine wasn't running.
I'm (still) looking for a (non-draconian) way of reverting back to Java Release 6. Someone has to have some steps for trashing specific files/binaries to Remove Java Release 7, then installing the full Java Release 6 anew. Please? Anyone? Trashing the entire OS then performing a clean install is a huge amount of work. I just need to trash Java Release 7.
Thanks in advance to anyone who can help here. -
Problem Launching Java Applet with Plug-in: Version 1.4.2_01
Hello out there:
I recently installed j2re-1.4.2_01 on my home computer but have been unable to access Web sites emmploying JAva applets. The following is an email exchange with Jeff Hall of Lowell Observatory, manager of an educational site hosted by Lowell, trying to resolve my problem. The messages are better understood if read in reverse order.
I'm hoping that someone will recognize the source of my problem and can recommmend a solution. I would appreciate any help offered.
Thanks,
Mike Coucke
Hi Jeff:
Well, I guess the problem lies with me somewhere. Here's my answer/status to your questions/suggestions:
1) I'm using MS Windows Me version 4.90.3000
2) I do have the directory C:\Windows\.jpi_cache\jar\, but the only thing in it is an empty folder labeled "1.0". The file LP.jar does not exist anywhere on my hard drive.
3) I tried several game sites that utilized Java applets and got the same results: the Java cup in the upper left corner followed a few seconds later by the red "X". So, evidently the problem is somewhere on my end.
I'm going to post our email exchanges in a Java Users Forum managed by Sun to see if anyone out there can solve my problem. However, if you have any more suggestions, I'll be glad to try them.
Thanks for the help.
Mike Coucke
[email protected]
----- Original Message -----
From: "Jeffrey Hall" <[email protected]>
To: "'Mike Coucke'" <[email protected]>
Sent: Friday, September 05, 2003 1:02 PM
Subject: RE: Registration with Lowell Education Online
Mike,
Rats! What version of Windows are you using? It's a little strange to
see the user directory set to C:\Windows; if you're using XP, I'd expect
it to be something like C:\Documents and Settings\Mike Coucke. In any
event, the output that is of concern is these two lines:
java.lang.ClassNotFoundException: LPRemote.class
Caused by: java.net.UnknownHostException: proxy
It looks like your browser is not finding our server's IP when it comes
time to download the necessary Java code.
LPRemote.class is the fundamental code that runs LOPARC, and your
browser should be downloading it automatically when you click connect.
LPRemote.class is stored along with a bunch of other classes in a file
called "LP.jar" that you download from our server. So, if you go to C:
in Windows Explorer and do a file search for LP.jar, you should find it.
On my machine, it's stored in a directory called ".jpi_cache\jar\" in my
user home directory. Let me know if you have this file, or the
jpi-cache directory.
One other thing you might try is going to a different site that you know
uses Java applets -- I think some of the online game rooms at Yahoo use
Java. See if other sites that use Java load correctly. Then we'll know
if it's our server specifically, or a more general problem on your end.
Jeff Hall
Lowell Observatory
Hello Jeff:
I still have the Java "blues". I followed your instructions, but am still unable to launch a LOPARC session. After an initial failure, I uninstalled all three Java versions I had (1.4.0, 1.4.1, 1.4.2), then reinstalled 1.4.2_01 from the Sun website.
Now, when I try to launch LOPARC, I initially get a blank window with the Java cup in the upper left corner. After about 20 seconds, the cup changes to a red "X". During those 20 seconds, the following appear in the IE message bar at the bottom of the window: "Applet LPRemote notinited" (their spelling) which changes to "Loading Java Applet Failed..." when the red "X" appears.
Following is a copy of the log from my Java Console during all of this:
Java(TM) Plug-in: Version 1.4.2_01
Using JRE version 1.4.2_01 Java HotSpot(TM) Client VM
User home directory = C:\WINDOWS
Proxy Configuration: Manual Configuration
Proxy: http=proxy,https=proxy,ftp=proxy,gopher=proxy
Proxy Overrides:
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
load: class LPRemote.class not found.
java.lang.ClassNotFoundException: LPRemote.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.UnknownHostException: proxy
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.http.HttpClient.privilegedOpenServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.<init>(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.New(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
I followed this up by executing the following three console commands:
"dump system properties"
"dump classholder list"
"dump thread list"
and obtained the following listings:
Dump system properties ...
acl.read = +
acl.read.default =
acl.write = +
acl.write.default =
application.home = C:\PROGRA~1\JAVA\J2RE14~1.2_0
awt.toolkit = sun.awt.windows.WToolkit
browser = sun.plugin
browser.vendor = Sun Microsystems, Inc.
browser.version = 1.1
deployment.javaws.cache.dir = C:\WINDOWS\.javaws\cache
deployment.javaws.jre.0.enabled = true
deployment.javaws.jre.0.location = http://java.sun.com/products/autodl/j2se
deployment.javaws.jre.0.osarch = x86
deployment.javaws.jre.0.osname = Windows
deployment.javaws.jre.0.path = C:\Program Files\Java\j2re1.4.2_01\bin\javaw.exe
deployment.javaws.jre.0.platform = 1.4
deployment.javaws.jre.0.product = 1.4.2_01
deployment.javaws.jre.0.registered = true
deployment.javaws.version = javaws-1.4.2_01
deployment.system.cacerts = C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\security\cacerts
deployment.system.home = C:\WINDOWS\Sun\Java\Deployment
deployment.system.jssecacerts = C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\security\cacerts
deployment.system.profile = C:\WINDOWS
deployment.system.security.policy = file:/C:/WINDOWS/Sun/Java/Deployment/security/java.policy
deployment.user.cachedir = C:\WINDOWS\Application Data\Sun\Java\Deployment\cache
deployment.user.certs = C:\WINDOWS\Application Data\Sun\Java\Deployment\security\deployment.certs
deployment.user.extdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\ext
deployment.user.home = C:\WINDOWS\Application Data\Sun\Java\Deployment
deployment.user.jssecerts = C:\WINDOWS\Application Data\Sun\Java\Deployment\security\deployment.jssecerts
deployment.user.logdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\log
deployment.user.profile = C:\WINDOWS\Application Data
deployment.user.security.policy = file:/C:/WINDOWS/Application%20Data/Sun/Java/Deployment/security/java.policy
deployment.user.tmpdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\cache\tmp
file.encoding = Cp1252
file.encoding.pkg = sun.io
file.separator = \
file.separator.applet = true
http.agent = Mozilla/4.0 (Windows Me 4.90)
http.auth.serializeRequests = true
https.protocols = SSLv3,SSLv2Hello
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.awt.printerjob = sun.awt.windows.WPrinterJob
java.class.path = C:\PROGRA~1\JAVA\J2RE14~1.2_0\classes
java.class.version = 48.0
java.class.version.applet = true
java.endorsed.dirs = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\endorsed
java.ext.dirs = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\ext
java.home = C:\PROGRA~1\JAVA\J2RE14~1.2_0
java.io.tmpdir = C:\WINDOWS\TEMP\
java.library.path = D:\PROGRAM FILES\INTERNET EXPLORER 6;.;C:\WINDOWS\SYSTEM;C:\WINDOWS;D:\PROGRA~1\INTERN~1;;C:\WINDOWS;C:\WINDOWS\COMMAND
java.protocol.handler.pkgs = sun.plugin.net.protocol|sun.plugin.net.protocol
java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version = 1.4.2_01-b06
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.4
java.util.prefs.PreferencesFactory = java.util.prefs.WindowsPreferencesFactory
java.vendor = Sun Microsystems Inc.
java.vendor.applet = true
java.vendor.url = http://java.sun.com/
java.vendor.url.applet = true
java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
java.version = 1.4.2_01
java.version.applet = true
java.vm.info = mixed mode
java.vm.name = Java HotSpot(TM) Client VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 1.4.2_01-b06
javaplugin.maxHeapSize = 96m
javaplugin.nodotversion = 142_01
javaplugin.proxy.config.list = http=proxy,https=proxy,ftp=proxy,gopher=proxy
javaplugin.proxy.config.type = manual
javaplugin.version = 1.4.2_01
javaplugin.vm.options = -Djava.class.path=C:\PROGRA~1\JAVA\J2RE14~1.2_0\classes -Xbootclasspath/a:C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.4.2_01 -Djavaplugin.nodotversion=142_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\JAVA\J2RE14~1.2_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol
line.separator = \r\n
line.separator.applet = true
os.arch = x86
os.arch.applet = true
os.name = Windows Me
os.name.applet = true
os.version = 4.90
os.version.applet = true
package.restrict.access.netscape = false
package.restrict.access.sun = true
package.restrict.definition.java = true
package.restrict.definition.netscape = true
package.restrict.definition.sun = true
path.separator = ;
path.separator.applet = true
sun.arch.data.model = 32
sun.boot.class.path = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\rt.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\i18n.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\sunrsasign.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\jsse.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\jce.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\charsets.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\classes;C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\plugin.jar
sun.boot.library.path = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\bin
sun.cpu.endian = little
sun.cpu.isalist = pentium i486 i386
sun.io.unicode.encoding = UnicodeLittle
sun.java2d.fontpath =
sun.net.client.defaultConnectTimeout = 120000
sun.os.patch.level =
trustProxy = true
user.country = US
user.dir = C:\WINDOWS\Desktop
user.home = C:\WINDOWS
user.language = en
user.name = Michael G. Coucke
user.timezone =
user.variant =
Done.
Dump classloader list ...
codebase=http://kraken.lowell.edu/, key=http://kraken.lowell.edu/,IONJava/classes/ion_16.jar,IONJava/classes/LP.jar, zombie=false, cache=true, refcount=1, info=sun.plugin.ClassLoaderInfo@109de5b
Done.
Dump thread list ...
Group main,ac=11,agc=2,pri=10
main,5,alive
AWT-Windows,6,alive,dameon
AWT-Shutdown,5,alive
Java2D Disposer,10,alive,dameon
AWT-EventQueue-0,6,alive
Group Plugin Thread Group,ac=3,agc=0,pri=10
Main Console Writer,6,alive
AWT-EventQueue-1,6,alive
TimerQueue,5,alive,dameon
Group http://kraken.lowell.edu/-threadGroup,ac=2,agc=0,pri=4
thread applet-LPRemote.class,4,alive
AWT-EventQueue-2,4,alive
Done.
I'm not a Java expert, so this may be more information than you ever wanted to see.
Once again, I hope that you can help. My experience has been that I usually have some obscure option set incorrectly and that causes me great grief.
Thanks fo your help,
Mike Coucke
[email protected]
----- Original Message -----
From: "Jeffrey Hall" <[email protected]>
To: "'Mike Coucke'" <[email protected]>
Sent: Thursday, September 04, 2003 11:48 AM
Subject: RE: Registration with Lowell Education Online
Hi Mike,
Try it now. I think this problem has arisen because Sun just
released a new version of the Plug-in (1.4.2), and when we released the
public beta of LOPARC, only one relevant version (1.4.0) was available
and the LOPARC code was written to look for that by default. I have
just recoded the relevant routines so they should now cause your browser
to simply pick up the latest 1.4 version of the Plug-in you have
installed, whatever it is. I "broke" Java on my machine to replicate
your problem, and the code I inserted today did fix it. Hopefully it
will have the same effect for you. I am running IE 6 and plugin
1.4.2_01 (as accessed via Tools->Sun Java Console).
One broader problem: some (non-LOPARC-specific) users on the Sun
forums have reported the "JRE collision" you are seeing when multiple
versions of the Plug-in are installed on the same machine. So if the
fix I made to our code doesn't work, one option would be to uninstall
all Java components from your computer and do a fresh install of the
latest runtime environment.
Let me know how/if this works. Thanks for the feedback and for your
patience.
Best regards,
Jeff Hall
Lowell Observatory
-----Original Message-----
From: Mike Coucke [mailto:[email protected]]
Sent: Wednesday, September 03, 2003 6:30 PM
To: [email protected]
Subject: Re: Registration with Lowell Education Online
Hello Jeff:
So far, I have been unable to launch a LOPARC session. I repeatedly
get the following error message:
"Exception: java.lang.ClassNotFoundException: LPRemote.class"
My browser is MS Internet Explorer version 6.0.2800.1106 Initially I was
using Java Plug-In version 1.4.1 and received the error message. I went
to the Sun website and downloaded/installed Java Plug-In version 1.4.2
and still get the message.
Before I try to launch LOPARC, I can select Tools->Sun Java Console from
IE's pull down menu to check my Java Plug-In version. When I try to
launch LOPARC, I get the following message:
"Applet(s) in this HTML page requires a version of Java different from
the one the browser is currently using. In order to run the applet(s)
in this HTML page, a new browser session is required, press 'Yes' to
start a new browser session." If I select 'No', I get the following
message: "Java Plug-in detected JRE collission"
If I select 'Yes', a new browser window opens and then I get the first
message above.
Can you help?
Mike Coucke
[email protected]
----- Original Message -----
From: <[email protected]>
To: <[email protected]>
Sent: Monday, September 01, 2003 5:30 PM
Subject: Registration with Lowell Education Online
September 1, 2003
Dear Michael Coucke:
Thank you for registering with Lowell Observatory's online education
site. We hope you enjoy using it and visit regularly as we continue to
expand its features and capabilities. This is a one-time welcoming
email.
For your records, your user ID is xxxxx, and your password is #########.
You'll need to supply these each time you log in.
This site gives you access to research-grade equipment including a 16"
telescope, CCD detector, and image processing software. Our online
archive of data is now available 24/7. The telescope will be opening to
our onsite users in May, and on select nights to the Internet at large
in June.
We have designed this site so you don't need a huge monitor or a
supercomputer to use it. All pages are viewable on screens running at
800x600 resolution or higher. To use LOPARC, you'll need a Java-enabled
browser with the Java 1.4 plug-in installed. If you don't have the
plug-in, you'll be prompted to download it the first time you attempt to
connect. This is an admittedly large (9 MB) but one-time-only download.
This site works correctly under Internet Explorer version 5 or higher.
If you use Netscape, you must be running version 6 or higher, and
display or applet behavior anomalies may occur.
If at any time you can't connect to our server, simply try again later.
We do experience several power outages each year, particularly during
Flagstaff's summer thunderstorm season. Our server is fully protected
and backed up, and can be quickly brought back on line, but any active
user sessions will be lost. Thanks for your patience during these
inevitable downtimes.
Your questions, comments, suggestions, and bug reports about this site
are always welcome. On behalf of the LOPARC development team, thanks
for signing up!
Jeffrey Hall
Assistant Research Scientist
Associate Director, Education and Special Programs
Lowell Observatory
Flagstaff, ArizonaHi Mike,
I see this in your logs:
Java(TM) Plug-in: Version 1.4.2_01
Using JRE version 1.4.2_01 Java HotSpot(TM) Client VM
User home directory = C:\WINDOWS
Proxy Configuration: Manual Configuration
Proxy: http=proxy,https=proxy,ftp=proxy,gopher=proxy
Proxy Overrides:
I just helped my Dad set up his computer with a new
cable modem, and had the situation where we couldn't
access any secure Web sites. The cable folks had us
disable the proxy. It looks like the error message is
saying it can't find your proxy server, and the logs
you posted say that you've decided to configure your
proxy manually, rather than using the settings from
IE (which is how mine is set up in the plugin
control panel.)
Could that be the problem?
--Steve -
Removing the 'Warning Java Applet' Status Bar
Hi,
I've written an applet that does not require access outside the sandbox so doesn't need signing. However, it pops up an instance of Window, and because it's not signed the window has a status bar across the bottom which says 'Warning Java Applet' or something similar depending on the browser. Is there any way to remove this status bar without signing the applet or changing the security settings of the browser. I guess it must be added to the window so maybe it's just a component that can be removed, but how?
Thanks in advanceToday the Security Warning sign appeared at the bottom of my computer screen - how do I get rid of it. I do have Java whose icon used to be in the lower right hand section of my screen - along with all the other icon programs that I have.
Now the icon is no longer down on the bottom right of the screen, but in the middle with a Security Warning -(the wording) next to the jave icon.
This is really annoying me - how can I get rid of it, and - why did it appear here?
Anxiously awaiting your reply.
Donna
Maybe you are looking for
-
:NEW cannot be used in After Delete Trigger ?
Hi, Is there any way to get the :NW.value in the After delete trigger for each row. My requirement is audit log of the end user DML operations along with user Name (HERE THE USER IS NOT THE ORACLE USER, BECAUSE OF THE LARGE NUMBER OF END USERS WE ARE
-
The black on screen presentation director didn't appear when i press FN + F7
hi everyone, the black on screen presentation director didn't appear when i press the hotkey FN + F7! presentation director itself works when i start it trought thinkvantage productivitycenter (the white one. when i press the fn + f7 hotkey...a soun
-
Hi all, we are using Function module SWE_EVENT_CREATE to trigger workflow for MM invoice. Business object used - BUS2081 and event used to trigger workflow is BLOCKEDQUANT. yesterday there are 2 workflows triggered for each invoice using this FM. Can
-
Changes in files referenced by a CLIP XML file
What happens if we change a VHD file referenced by a CLIP XML file after we have created the XML file. The MD5 of the VHD files is stored int he CLIP XML file. Does this have any bearing on the actual compilation? Say hello to my little friend. RFC
-
Installing windows - black screen
Tried to follow the instructions, somehow failed and I have a black screen with "no bootable device - insert boot disk and press any key" no keys work neither does restarting. Unfortunately I have no idea what I am doing!