Remote Java applet ftp hangs
Hi,
I have a java applet that ftps files back to a server. It is correctly signed and can access files on the hard drive.
When downloaded and run as a local applet it works fine, however when downloaded as a remote applet it just hangs at the line
FTPClient ftp = new FTPClient();
No error messages, no clue, just gets no further than that.
Apologies if this is a bit vague or missing any vital information, but java isn't really my thing....
Cheers
Ralph
Thanks, I'm running 1.6.0_12.
No, FF has the option but nothing happens when I click on it. I just upgraded today from v3.5.x because under that version the option is there but when clicked on it deactivates the option. I first tried upgrading to the latest console plugin for FF. As soon as I installed it and FF restarted it said that it was desupported and next time it re-started it just does nothing as I said. So I upgraded to v3.6.13 and re-started and same same. It says it's de-supported. I dunno.
Anyway, I went to the System tray Java icon and right-clicked on it and clicked on properties. Under 'Advanced | Java Console' I see I had it as "hide Console". I changed it to "Show Console". When I started an Applet I got the console. I closed it and now I don't get it again. Weird.
I just cancelled the Java icon in the system tray and restarted it. I checked it back to Hide the Java Console and "Apply", then Show it, and "Apply". Then I started an Applet. No dice. I started it again and Got the Console. But is seems if I close it I can't get it back without all this riggamorole.
Similar Messages
-
Javascript to java - applet.requestfocus hangs browser
Following is my javascript which invokes the method jsSetFocus() on the applet to set focus on a button in applet.
<script>
function appletSetFocus() {
document.applet.jsSetFocus();
document.applet.requestFocus(); //this line has problem
window.onfocus = appletSetFocus;
</script>
Everything works perfectly on the first invocation of the applet. When i hit the refresh button to reload the applet the browser hangs. If i go to some other page and then come back to the applet the second time in this case also it is working properly.
The problem occurs on the refresh button and only on the requestfocus line. If this line is commented, then
everything is great again....
I am using 1.3.1, IE 5.5 sp1, NT4 sp6.
Can anyone help?
Vineet.Forgot to mention... the problem comes only when i hit refresh and go to some other window and try to come back to the window with the applet... that when the javascript function is invoked.
Vineet -
BROWSER HANGING WITH LOADING JAVA APPLET
HI
WHEN I RUN THE FORM ON THE EXTERNAL
BROWSER.(USING OPTION RUN A FORM ON THE WEB).
FILLING IN ALL THE DETAILS.
BROWSER HANGS WITH MESSAGE LOADING JAVA APPLET.
TEST.FMX IS IN THE FORMS60 PATH.
I NEED HELP THANKS
DEEPAK.
nullTry using the java console to get more info on what is hapenning.
If you have using Jinitator its on the jinitator control panel. -
Multiple Java Applets hangs when run on Win 2000 Pro SP4
I have a Java Applets which is used to connect to a remote element using server socket connections.
When I launch mulitple applets to connect to different elements on Win XP with SP2 OS using IE6 SP2 it works fine.
However ,the same I do in Win2K Pro SP4 with IE6 SP1 it doesn't work. In this case all the applets hung.
Does Java applet has platform specific problem? Any pointers regarding this problem highly appreciated.
TIA,...SachinDoes anyone know if there is any bug creating socket connection from Windows 2000 pc with Service Pack 4?
Thanks in advance.
Biju -
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 -
How to Debug Java Applet called in a BSP Component
Hi All,
In CRM Marketing->Segments->Graphical Modeler
A click on settings button will load a Java Applet window.
The settings window displays some elements. I want to translate a text displayed in that Java Applet window.
Please let me know the ways to debug a Java applet loaded from BSP Component or ways the data is loaded into Java applet from SAP.
Your help would be appreciated and points will be rewarded.
Thanks a lot in advance.For the newbies, like me:
Instruction to setup and debug an applet in Eclipse IDE via your Browser
Java Console Setup for Applet debugging:
1. Open up the Java Console Application by double clicking on it at C:\Program Files (x86)\Java\jre1.6.0_03\bin\javacpl.exe
2. Select the Java Tab
3. View Applet Runtime Settings button
4. Enter in the Java Runtime Parameters the following: -Xdebug -Xrunjdwp:transport=dt_socket,address=5555,server=y,suspend=y
5. Note: the port address 5555 can be anytime you want. You will need to enter whatever number you select into Eclipse IDE.
6. Note: if you don�t need to debug code in the Applet�s init() method, then use....suspend=n (Not tested yet.)
Eclipse setup for Applet debugging:
1. Open up Eclipse and create your Applet. Once you are ready to debug go to the next step.
2. Select the top level Run menu
3. Pick the Open Debug Dialog� option
4. In the left column select Remote Java Application
5. Then select the �New� button to create a debug configuration for the remote session (the new button looks like a page with a yellow plus in the upper right hand corner)
6. Give your session a name. I used the class name followed with the work remote for example: mainclassnameRemote
7. Set connection type to Standard (Socket Attached)
8. Host to localhost
9. Port to 5555, or whatever you used in Java Console Setup step 5.
10. Due not check the �Allow termination of remote VM�
11. Due not close this window.
Start debugging:
1. Go to your Applet html launch file and launch in a browser
2. Then go back to eclipse and select the debug button
3. Eclipse should now throw you into the debugger mode.
4. If it hangs, just retry again. It seems to work ok most of the time. A few time I need to close the browser and start over and then it seems to work. -
How to update content of a file on server using a Java Applet?
Hi,
I'm new to Java, and I have a task now to overwrite a text file on a server using an applet. I have written a piece of code which compiles but doesn't work. Can you please take a look at the code or give me another way to do it?
Thanks.
Code:
import java.applet.Applet;
import java.io.*;
import java.net.*;
public class test2 extends Applet{
public void init() {
StringBuffer buf = new StringBuffer();
try {
String output = "this is some string";
URL aUrl = new URL (getCodeBase().toString() + "test.txt");
System.out.println(aUrl);
URLConnection con = aUrl.openConnection();
con.setDoOutput(true);
PrintWriter out = new PrintWriter( new BufferedWriter( new OutputStreamWriter(con.getOutputStream())));
out.println(output);
out.close();
catch (MalformedURLException mue) {
System.out.println("improper url");
mue.printStackTrace();
catch (IOException e) {
System.out.println("io exception");
e.printStackTrace();
}Ram.ViSolve wrote:
869975 wrote:
Thanks. I knew there would be a security issue, but I do not have sufficient knowledge to get around it. If you have a reference how to configure a server please post it here.You need to create Signed Applet. Because normally applets have some restriction to access the files in the client machine. Signed applets overrides the restriction.
To know more, Read [url http://192.9.162.55/developer/onlineTraining/Programming/JDCBook/signed.html]Signed Applet
No. Our OP wants to write to the server, not to the client! And to achieve this from an applet, you don't need it signed, iff the server is the machine from where the applet was downloaded in the first place. You only need to use a mechanism that allows you to write to servers, which HTTP is not. FTP, on the other hand, if setup properly can do it. So instead of trying to write using an HttpURLConnection (OP's attempt), you would use an FTP client library. FTP here is just an example and probably not the best way. Another option is to use some servlet or PHP or ASP on the server side and the applet will sumbmit the changes to that code on the server, which in turn will write to the file. The idea is that you need some 'partner code' on the server, be it the FTP server or the servlet/PHP/ASP code. None of this requires the applet to be signed. -
Java applets wont load in Safari and constantly crash in Firefox
I have to use Java Applets to work from home. I normally use Firefox as my browser but since the last Java update Forefox keeps crashing. I have tried Safari too and it wont load the applets at all. I am desperate to get some work done but I can't get into my work files that are stored on my office's servers.
I have seen lots of discussion about enabling java etc. in my browser and all of that has been done.Make sure your Java system is updated on both sides (home and work computers).
As an alternative, you might look into a non-Java VPN solution. I use RealVNC (free for up to 5 computers) to work from home on my Macs and connetc to WinXP and Win7 systems at work. It works beautifully and I can connect to all 4 work systems simultaniously! The only thing the free version won't do is print remotely... so I print to PDF in my Dropbox and print that at home.
For VPN, I use a Cisco RV042 4 port router (about $90 at BestBuy) and connect via the built in OS X VPN in the Network Preferences panel. It literally took less than 5 minutes to set up. Sweet, simple, minimal cost and setup, and I can work from the house 24/7 if needed. -
Computerised call from PC to a mobile using java applets
i want to know whether it is possible to make a call from PC to mobile using java applets. Please give me a correct reply with proof.
The situation is like this.
We are transfering the JAR file from the PC to the Mobile using Bluetooth.
Our J2ME project is already install on Nokia's 6600 and given to the salesman's on the field. Now i have updated my software and i want to upgrade the same on their mobiles. For this i can't call all the 2000 salesman's who are all over the country (India) to my place to get the latest software installed and configure.
If i have a GPRS like solution for transfering my file from my PC to the remote mobile. I would be better. If you know any this related to this kindly reply me. -
I am running an FTP server "Rumpus" and generally it works very well.
It does FTP and FTP via HTTP. We use it as an internal FTP server within our company.
However, there is a drag and drop feature that has stopped working on most clients that are connecting using Firefox and Safari.
The problem seems to be that the drag and drop function is a Java applet that requires the client to accept a digital signature, and on almost all machines the window prompting users to accept the certificate/signature never pops up.
The drag and drop feature works on a Windows 2003 server box, and one Mac. The other 35 macs we run all fail to load the applet. The clients connecting are a mix of 10.5.8 and 10.6.3 machines. There is no proxy server, all system updates have been done. Occasionally if I run "cocktail" and clean caches it might work once before crashing Safari or Firefox. I tried Firebug in Firefox but it does not catch anything, no messages in Console either. Under the Java preferences pane, what versions of Java need to be turned on? Any history of other things that might conflict with Java? Any suggestions...Make sure the Java version selected is current:
http://support.apple.com/kb/TS3489
Mac OS X has its own built-in FTP server, which is documented here:
http://www.dummies.com/how-to/computers-software/macs-os-x/Mac-OS-X-Snow-Leopard .html?sort=POPULAR&page=3
And Leopard has one as well:
http://www.ehow.com/how4674062set-server-mac-os-leopard.html
Finally, if your problem is connecting to another FTP server, SFTP is well done by Fugu for the Mac:
http://rsug.itd.umich.edu/software/fugu/
And regular passive ftp is easy with the light mode of
http://www.rbrowser.com/ 's RBrowser.
Both work well with Leopard & Snow Leopard.
Java is great when it works, but it can get really bogged down if it is a Java client on a PC that requires ActiveX PC plugins. While any Intel Mac can run Windows to act on ActiveX, and possibly WINE, ActiveX based Java is very insecure. I recommend steering away from non-Mac based Java apps wherever possible. -
Java Applet 6 crashes after Apple update in Firefox 8
After my update in Apple a day ago, my Java (6.0version) and Firefox 8 do not mix. I can't open a second window without Firefox crashing.
I have also "tested" my Java on the Java website and it says Java's working, then when I hit the back button, it crashes again.
I know other Mac users are having this issue using the OS X v.10.6.8. (Google it)
Now, Apple points the finger at Firefox, who all know about this "bug" and they in return accuse Apple of the Java release not working with their new Firefox. I am stuck in the middle trying to figure out a way to get this resolved.
Can someone please help? Who's fault is this? I would have not updated these two (which were working wonderfully before the upgrade!) So frustrating! I have included how to test the crash error:
Steps to reproduce:
This happens with Firefox 8.0 and Mac OS X 10.6.8 and java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527).
Visit
http://java.com/en/download/testjava.jsp
wait for the java applet to load and display the JRE info. Close the tab and firefox crashes.
I have also included a copy of my console file list messages in the diagnostic section re: Firefox. Hope this helps, thank you to all who reply.
11/15/11 8:06:14 PM firefox[147] Process manager already initialized -- can't fully enable headless mode.
11/15/11 8:06:14 PM [0x0-0xc00c].org.mozilla.firefox 2011-11-15 20:06:14.499 firefox[147:903] Process manager already initialized -- can't fully enable headless mode.
11/15/11 8:06:57 PM [0x0-0xc00c].org.mozilla.firefox Invalid memory access of location 0x100000000d rip=0x101bee53f
11/15/11 8:07:45 PM firefox[157] Process manager already initialized -- can't fully enable headless mode.
11/15/11 8:07:45 PM [0x0-0xc00c].org.mozilla.firefox 2011-11-15 20:07:45.447 firefox[157:903] Process manager already initialized -- can't fully enable headless mode.
11/15/11 8:07:49 PM [0x0-0xc00c].org.mozilla.firefox Invalid memory access of location 0xa0000 rip=0xa0000Okay, funny how I don't know a whole lot about computers but I did quite a lot of research on this and found the fix for this Java (6.0) problem.
FIrefox said it probably was the Apple release of the new Java that conflicted with it's newest release, though I had to read about it on their bugzilla.mozilla.org website to find out more.
Firefox released a fix for the 8.0 (now version 8.0.1) to help with Java and Roboform platform on their FTP Server.
You can't do the update through "about Firefox" on your pull down tabs and click "check for updates" because that won't work.
You can go to this link for an explanation and download link:
http://browserfame.com/309/firefox-801-browser-crash-fix-roboform-apple-java-upd ate-mac-osx
A window with files will pop up. Choose your OS....Mac-for OSX users, then more files come on the next screen, Choose - "en-US" for US english, if that is your Firefox program version.
I hope this helps anybody who had this frustrating problem. I know Apple is committed to Safari browser but they wouldn't suggest or even give an probable answer about this and I had to scramble scratching my head to find the answer myself....sad. -
Safari 6.0.4 - java applet keeps running when not in use?
Mac OS X 10.7.5
Safari 6.0.4
all the latest updates (software) as of 4/27/13
Oracle's Java r 21 also installed (latest)
website: http://javatester.org/version.html
NOTE: I have seen this on more than 1 computer that the 1st time running the Java applet (after clicking on the plugin missing placeholder, the app appears to begin loading, but 'hangs' as far as UI is concerned, although it is using CPU and accessing the disk the whole time.
Refreshing the page then allows you to see the Oracle java version displayed in the pink box
However, what I notice is that if you enter a new URL and go there, blowing away the Java applet page, guess what's still running in the background (via Activity Monitor) "Java Applet - javatester.org", occupying memory and using some small CPU.
this seems like ridiculously bad behavior in general. Has anyone else seen similar issues? is this related to an outstanding memory leak (bigger problem) in Safari? Any way to get java to behave if you aren't possibly using an applet?
could it be lazy cleanup/garbage collection in Safari? meaning it might vanish from the process list at some indeterminate point in the future? closing the tab it was running on (before a new URL was loaded) outright doesn't seem to kill it.I have not used Onyx recently, although i use a number of other utils, and reset safari periodically.
It seems that it may be a delayed garbage collection issue. If I leave it for a bit and then come back it seems that the process is disappearing. If I can isolate anything more reliably I'll post again, but for now I'm going to stop worrying about it.
It was lingering long enough I thought maybe was a leak, but i guess I'm just not patient enough...
Also, I haven't reliably reproduced the high CPU cycle / hung applet condition on the 1st load. that may be something that shouldn't be going on (regarding the new security around java probably) but low pain point once I reload the page and tell safari to let the app run all the time.
so just to recap
- looks like the applet persistence in the process table is a delayed disposal issue that eventually gets done
- hanging applet on 1st load post security patch may be something, but hitting cmd-R is a lot more satisfying than devoting a lot of time to tracking that down right now
thanks for your suggestion -
0 down vote favorite
I have written an applet with Netbeans. When I click on Clean and Build then Netbean create a jar file "Test.jar" and also another folder called lib in the same directory. I've signed the Test.jar. Basically this applet upload files to server with FTP. So when Applet loads into browser then I am able to select files but when I click on upload then it stops. So my question is:
1. Have I also need to sign all dependent jar files?
2. My directory structure is as follow:
C:\AppletPage.html C:\Test.jar C:\lib
and code in html file is as follow
<applet code="UploadGUI.class"
archive="test.jar"
width=400 height=400></applet>Please advice me where am I wrong?
Thanks in AdvanceShahid_Hanif wrote:
0 down vote favoriteHuhh?
I have written an applet with Netbeans. ..My condolences.
..lWhen I click on Clean and Build then Netbean create a jar file "Test.jar" and also another folder called lib in the same directory. I've signed the Test.jar. Basically this applet upload files to server with FTP. ..If you deploy the applet in a Plug-In 2 architecture JRE and launch it using Java Web Start - it can be sand-boxed.
..So when Applet loads into browser then I am able to select files but when I click on upload then it stops. .. What messages appear in the Java Console? Does the code of the applet [swallow exceptions|http://pscode.org/javafaq.html#stacktrace] (<- link)?
..So my question is:
1. Have I also need to sign all dependent jar files?What dependent Jars? The applet element shown lists only one Jar in the archive attribute.
2. My directory structure is as follow:
C:\AppletPage.html C:\Test.jar C:\libWhat (if anything) is in 'lib'?
Edit 1:
Also posted to [http://stackoverflow.com/questions/3740006/java-applet-sign]
Edited by: AndrewThompson64 on Sep 18, 2010 1:07 PM -
Proxy Login Request on Java applets
• 10.4.5 Client
• Windows 2.3k ISA 2005 Proxy Server
• Users' fileserving to Win2.3k - ADmitMac for AD integration
The client is a test machine on which I build campus master NetInstall images. In my testing procedures I've come across a bizarre problem with Java in the browsers (IE, Safari, & FireFox).
We use ISA proxy server with web filtering, and users must authenticate to the proxy. On a new user's first use of any browser, the proxy username & password are requested, and the Add to Keychain checkbox is available. If the user checks the box, no further proxy login requests are made; the user's Keychain is updated with the proxy information.
On pages with Java applets, however, each and every applet will ask for a proxy login, but the login window does not offer a Add to Keychain checkbox! If a page has 15 applets on it, the user will be asked 15 times to authenticate against the proxy.
Naturally, this is a BIG problem, especially when several of the sites our teachers use in classes and labs contain many Java applets.
On the web, there is almost nothing concerning setting up Java with proxy servers, as all Apple Java from v. 1.4.2 onwards picks up proxy information from the system's network settings.
On the Apple Developer site, Tech Note QA1263 demonstrates a way of setting HTTPS proxy settings by entering text strings in the 1.3.1 and 1.4.1 Plugin Settings apps Java Runtime Parameters. The same capability exists in the J2SE 5.0 Java Preferences app, too. Unfortunately, the Java applets do not use HTTPS, so far as I can tell, so this remedy is useless.
Any clues I can pursue? Any help or fixes?
Thanks in advance!
Derek I Smith
Systems & Network Admin
Riverdale Country School
www.riverdale.edu
eMacs,g4s,QSs,B/Ws,iMacs,G5,G5 XServe, etc Mac OS X (10.4.5)After some more research with the J2SE 5.0 Java Preferences app, I turned on the Java console, booted Safari and went to my favorite Java applet - babynamewizard. This is the output of the console log. From what I can glean, the plug-in sees the proxy server settings as it should, and reports them.
In addition, the J2SE 5.0 Java Preferences app allows you to turn off all security settings. No change in behavior.
The Log:
Java Plug-in 1.5.0
Using JRE version 1.5.0_05 Java HotSpot(TM) Client VM
User home directory = /Users/admin
network: Loading user-defined proxy configuration ...
network: Done.
network: Loading proxy configuration from Netscape Navigator ...
network: Done.
network: Loading manual proxy configuration ...
network: Done.
network: Proxy Configuration: Manual Configuration
Proxy: http=pcproxy.riverdale.edu:8080,https=pcproxy.riverdale.edu:8080,ftp=pcproxy.ri verdale.edu:8080,gopher=pcproxy.riverdale.edu:8080,socks=pcproxy.riverdale.edu:8 080
Proxy Overrides:
basic: Cache is enabled
basic: Location: /Users/admin/Library/Caches/Java/cache/javapi/v1.0
basic: Maximum size: unlimited
basic: Compression level: 0
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>
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@fb6354, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@dc0e7a
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
network: Connecting http://babynamewizard.com/namevoyager/nametide2.jar with proxy=HTTP @ pcproxy.riverdale.edu/172.16.1.52:8080
network: Connecting http://babynamewizard.com/namevoyager/nametide2.jar with cookie "s_cc=true; s_sq=%5B%5BB%5D%5D"
network: Firewall authentication: site=pcproxy.riverdale.edu/172.16.1.52:8080, protocol=http, prompt=ENKI.riverdale.edu, scheme=basic
basic: User selected: 0
~ ~ ~
The proxy login window appears at this point and I authenticate to the proxy
The log continues...
~ ~ ~
network: Connecting http://babynamewizard.com/namevoyager/nametide2.jar with proxy=HTTP @ pcproxy.riverdale.edu/172.16.1.52:8080
basic: Loading http://babynamewizard.com/namevoyager/nametide2.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Connecting http://babynamewizard.com/namevoyager/namedb.zip with proxy=HTTP @ pcproxy.riverdale.edu/172.16.1.52:8080
network: Connecting http://babynamewizard.com/namevoyager/namedb.zip with cookie "s_cc=true; s_sq=%5B%5BB%5D%5D"
Columns found: 28
Num years: 13
YEAR NAME: 1880s
YEAR NAME: 1890s
YEAR NAME: 1900s
YEAR NAME: 1910s
YEAR NAME: 1920s
YEAR NAME: 1930s
YEAR NAME: 1940s
YEAR NAME: 1950s
YEAR NAME: 1960s
YEAR NAME: 1970s
YEAR NAME: 1980s
YEAR NAME: 1990s
YEAR NAME: 2004
Num names: 5251
0 --> 923475.0
1 --> 915444.0
2 --> 905002.0
3 --> 910731.0
4 --> 915165.0
5 --> 924335.0
6 --> 938721.0
7 --> 940141.0
8 --> 923814.0
9 --> 869609.0
10 --> 848116.0
11 --> 800666.0
12 --> 759055.0
Rank misses: 21
0.15
0.4475
0.395
0.3425
0.29000002
0.23750001
0.185
0.48250002
0.43
0.3775
0.325
0.2725
0.22
0.1675
0.465
0.4125
0.36
0.3075
0.255
0.2025
~ ~ ~
The applet runs -
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!
Maybe you are looking for
-
.swf won't play from webserver
Someone hijacked my last post, so here it is again. http://www.milkmoonkids.com There is a brown square that has a .swf loaded into it. It plays locally, but not when I upload it to my webserver. Any idea what is going on? I appreciate any advice. Th
-
R/3 IDES 4.7 Installation Packages list
Hi, I have to install R/3 4.7 EEC IDES version (SAP R/3 ENTERPRISE 47X200) on Win 2003 Server with Oracle, but I have confusion over the packages listed in the downloads. Please help me find the exact packages needed. I've downloaded the instal
-
Evaluation path in Organizational Management
Hi everyone , Can anyone explain me what is the Evaluation path in Organizational Management? Thanks in advance.
-
Printing issues with Adobe Reader
I am having a problem printing from my Adobe Reader 9. When I print from a PDF the print is backwards.
-
I am a new user. I've edited & cropped photos and the changes are visible in Bridge. But when I save them elsewhere, the image reverts back to it's original form. Any advice is appreciated.