Still error occurs!

Hi all,
I'm struggling for implementing some Applet using JFileChooser to let user to choose uploading file and process the file by the servlet. I have set the policy files to grant the access to the local machine directory, and the JFileChooser applet can start on the browser. However, there are some incomprehensive errors occurring on the server side. I can see the DOS window running Tomcat with some error messages. The error messages seem to appear while the browser is loading the applet class. I have absolutely no idea what is going on. Is there anyone who can explain why is this error showing up on the window?! The following is the my applet code and the error massage Tomcat outputs!
/********** applet code **********/
public class UploaderApplet extends JApplet
public UploaderApplet() {
public void init() {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
final JFileChooser chooser = new JFileChooser();
chooser.setApproveButtonText("�o�^");
chooser.addChoosableFileFilter(new FormCDNFilter());
Container contentPane = getContentPane();
contentPane.add(chooser, BorderLayout.CENTER);
chooser.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent event) {
String cmd = event.getActionCommand();
if (cmd.equals(JFileChooser.APPROVE_SELECTION)) {
File file = chooser.getSelectedFile();
if (file.canRead() == true) {
try {
//upload(file);
catch(Exception ee) {
System.out.println("Here is the error!");
String path = file.getPath() + ".fae";
file = new File(path);
if (file.canRead() == true) {
try {
//upload(file);
catch(Exception eee) {
System.out.println("Here is another error!");
else if (cmd.equals(JFileChooser.CANCEL_SELECTION)){
//cancel();
} catch (Exception e) { }
/********** error messsage **********/
2002-08-21 17:30:34 - Ctx() : IOException in R( /) - java.net.SocketException: C
onnection aborted by peer: socket write error
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
at org.apache.tomcat.modules.server.Http10.doWrite(Unknown Source)
at org.apache.tomcat.modules.server.HttpResponse.doWrite(Unknown Source)
at org.apache.tomcat.core.OutputBuffer.realWriteBytes(Unknown Source)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(Unknown Source)
at org.apache.tomcat.core.OutputBuffer.flush(Unknown Source)
at org.apache.tomcat.core.OutputBuffer.close(Unknown Source)
at org.apache.tomcat.core.Response.finish(Unknown Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(
Unknown Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:484)

Reboot with the Command + R keys held down. When this window appears select Reinstall OS X.

Similar Messages

  • HT201210 I am trying to restore software on my iPad which is connected to my PC with iTunes when i'm in recovery mode a warning comes up "The iPad could not be restored an unknown error occurred (1604) I have followed all suggestions  but still my iPad is

    I am trying to restore software on my iPad which is connected to my PC with iTunes when i'm in recovery mode a warning comes up
    "The iPad could not be restored an unknown error occurred (1604) This i have discovered probably a USB timing problem ?
    I have followed all suggestions  but still my iPad screen is locked with a iTunes logo and a USB cable beneath it, wish I had never bothered
    to update it now. Any help would be appreciated. rg

    When I restart my iPad the connect to iTunes comes up and stays on until it shuts down again, I have read a report from Apple support suggesting I reinstall iTunes so I might try that again and also your suggestion which i shall also try, but thanks again - rg1547

  • When I try to open video files purchased through iTunes in Quicktime, I get the message: 'Error 23132: an unknown error occurred. This never happened until I updated iTunes, but when I try to go back to the previous version, I still get the message.

    When I try to open video files purchased through iTunes in Quicktime, I get the message: 'Error 23132: an unknown error occurred. This never happened until I updated iTunes, but when I try to go back to the previous version, I still get the message. It is more convenient for me to play videos in Quicktime since iTunes is such a memory hog. Please help.

    You may get better results if you switch to this alternate version: iTunes for Windows (64-bit - for older video cards) and, if needed, reinstall QuickTime. The new (nearly) all 64-bit version doesn't seem to play well with QuickTime. Perhaps if DRM authentication is required QuickTime needs to be able to see something that is part of the older 32-bit code.
    tt2

  • I started my update for ios 5.1for iPhone 4s and cancelled it have way through now it says it's downloaded but really it's not the update is still there and when I try to update it it says unable to install update : an error occurred installing iOS 5.1  ?

    I started my update for ios 5.1for iPhone 4s and cancelled it have way through now it says it's downloaded but really it's not the update is still there and when I try to update it it says unable to install update : an error occurred installing iOS 5.1  ?

    See Here... Unable to Update or Restore...
    http://support.apple.com/kb/HT1808

  • I am trying to download a movie and get the message: "An unknown error occured (5002).  There was an error in the iTunes Store.  Please try again later."  Waited a day and still get the message.  Have downloaded movies before.

    I am trying to download a movie and get the message: "An unknown error occured (5002).  There was an error in the iTunes Store.  Please try again later."  Waited a day and still get the message.  Have downloaded movies before.

    Did you ever get an answer?

  • HT201210 I did everything on the list above, and am still getting the "...iPhone could not be restored. An unknown error occurred (-1). Now what?

    Tried to run the iPhone update on my iPhone 4. After an interminable amount of time (4+ hours) the screen remained black. I unplugged it from the computer. Still black (as if off). I hit the round button twice, and got the USB > iTunes image on the screen. When I plugged it in, it said I had to restore it. (why??) So, I gave up and hit "restore." Two hours later, got an error message, "The iPhone "iPhone" could not be restored. An unknown error occurred (-1)." I hit "more information" and went through the list of things to do, did them all. Then ran Restore again and got the same message.
    Now what? Helpful info would be much appreciated.

    Same problem...Your iDevice needs a Service

  • When i connect my iphone to my pc i get "itunes could not connect to this iphone. An unknown error occurred (0xE8000012) i have the correct itunes i also tried to reset my phone, i did this before i went to bed and it was still trying to reset when i woke

    when i connect my iphone to my pc i get "itunes could not connect to this iphone. An unknown error occurred (0xE8000012) i have the correct itunes i also tried to reset my phone, i did this before i went to bed and it was still trying to reset when i woke the next day should it take this long?

    http://support.apple.com/kb/TS3221

  • After updating to itunes 10.4 restarted, my ipod touch went into restore mode. when trying to restore it says unexpected error occured (1604) followed resolution checklist . still wont work, any thoughts............

    After updating to itunes 10.4 restarted my pc windows 7 64 bit, my ipod touch 3rd gen went into restore mode,when trying to restore it works for several minutes then says it cannot be restored, unexpected error occured (1604) I have followed the reslution checklists, still wont work, any thoughts?

    Hi
    Cannot offer any thoughts other then i am having the same problem. updated my itunes windows7 32bit ipod touch 4th gen. went into restore mode lost over 700 songs. i dont get any error messages i just cannot get into itunes store. Firewall is allowing access, etc resolution checklists done, and nothing.
    Hopefully this issue is fixed up soon...

  • Why is i pod still not syncing unknown error occured 13019

    why is my i pod still not synced unkown error occured 13019???

    No need to shout!  Not good manners.  Typing in caps is considered shouting. 
    Just click on the link I posted.

  • Purchased a movie.  Trying to watch it through Apple TV.    Receiving error "An error occurred loading this content.  Try again later."  I have tried to play the movie several times but still get the same message.

    I purchased a movie using Apple TV.  I keep receiving the same error message "An error occurred loading this content"

    There may be network issues or issues with Apple's servers.
    Personally I would unplug and restart AppleTV.  If there are still problems and you can access the iTunes store sections to browse I would contact itunes store support.
    AC

  • Hi guys, iphone 5 16GB, any idea how to fix it? EXC_BAD_ACCESS (SIGSEGV) KERN_INVALID_ADDRESS at 0x145aff9 I try to restore as new.still some error occured

    hi guys, iphone 5 16GB, any idea how to fix it? EXC_BAD_ACCESS (SIGSEGV) KERN_INVALID_ADDRESS at 0x145aff9 I try to restore as new.still some error occured
    all start today, from unknow reason, mobile show me "no sim card" msg, I had to reboot device

    Restore your phone as New. Do not restore your backup. There is some sort of data corruption in your 4S, that got transferred to the 5S when you restored your 4S backup to it.

  • TS1589 Had to replace our Airport Extreme when it stopped working (still under warranty).  Now I can't get anything but flashing amber light. Airport utility says "error occurred" when I try to get it set up.

    Had to replace our Airport Extreme (802.11n) and now can't get anything but flashing amber light.  Have gone the route of turning off modem (overnight), restarting everything this morning and at least when I turned on the laptop (no desktop) the Airport Utility opened automatically.  I put in the info for the Airport Extreme that we had previously (password, etc) but it couldn't connect (said error occurred).  I would assume this is because of the flashing amber light?

    I am having a similar issue.  However I've had my airport express for over 3 years.  Yesterday we had to reset the router as it wasn't broadcasting.
    Today having same issue so we reset the router again.  And now still blinking amber.  When I go to the Airport Utility I can't even go to the Manual Setup as I'm getting the Error 4.  Internet works fine as the router and modem are hooked up to my computer via Ethernet cable.
    I did a factory reset and the AE is broadcasting again.  but I can't get in to protect the network.  And it's still blinking amber.
    Any thoughts would be great.

  • No error occurs during Flash installation, but it still doesn't work

    I have installed the latest version of Flash using the installer on the Adobe website and no errors occur during installation.  However, when installation is complete, I still can't use websites that require Flash (I am prompted to go install Flash).  Even the troubleshooter on the Adobe site says that I don't have Flash installed when I check it in the first step.  I am running Windows 7 (64-bit) and Internet Explorer 11 (I downloaded and tried Firefox and got the same results).  Please help.  Thanks.

    "User-Agent Strings"
    That doesn't mean a lot, I'm sure, but it's the root of your problems, and Flash Player has nothing to do with it.
    Microsoft "rewrote" the User-Agent Strings for the abomination they call their latest and greatest browser. User-Agent Strings are what websites use to identify the browser you're using and provide the proper content for it's browser engine, like ActiveX stuff, and Flash or HTML5 video. Thanks to the geniuses in Redmond, WA, the User-Agent Strings for IE11 (which has a Trident engine), ID it as either "Gecko" (Firefox) or "Webkit" (Chrome). Problem is: when the site the directs to the content for one of these two engines, the Trident engine in IE can't intepret it and the site then sees IE as an "unidentified" browser.
    The problem with an unidentified browser is that the plug-ins in that browser aren't recognized either, so even though you're up to date, it says you need the latest Flash Player when you use IE11. YouTube... has converted to HTML5 video so if it doesn't detect Flash Player, it can display HTML5 (MP4) video which requires no plug-in to play. Facebook can't do that, because HTML5 doesn't apply to games... only video.
    Microsoft has no plans to "fix" the mess thay've created because they think it's a great idea to block you out of the websites you visit.
    They recommend using "Compatibility View" and pretending that you're using an older verison of IE... Problem with that is that it's seen limited success, and you have to enable it for EVERY page that has problems... individually.
    I'm not big on "pretending" so I recommend actually using another browser.
    Firefox (from Mozilla)
    Opera (from Opera)
    Safari (from Apple)
    Chrome (from Google)
    ANY of those will work where IE11 won't, with the Flash Player Plug-in (For all other browsers), and Chrome doesn't even need that because it has its own Flash Player plugin built in.

  • A week after renting a movie, still getting message "An error occurred in downloading this content.  Try again later."  Have tried re-renting it, still the same. What next?

    A week after renting a movie, still getting message "An error occurred in downloading this content.  Try again later. Have tried re-renting. What next?

    Wales793Jul 27, 2014 12:31 PM Re: "An Error occurred while downloading content."
    Re: "An Error occurred while downloading content."in response to augiefritzmom
    I have been trying to fix this for 4 weeks , several visits to the apple store ... all irrelevant suggestions , was even told to buy an Apple TV ten 3 as it was an issue with HD steaming only supported on the new unit ...
    I do not go on these sites , but Apple are losing the plot these days  ...
    Here is what I found that fixed the issue for me ...
    1) go to Gen\network\DNS
    2) It will be set to Auto , for some reason the DNS is being set to you router , not your service provider ...
    3) I am with Charter (do a quick search charter DNS on the Web) , will give you their DNS ,
    Charter DNS Servers
    http://www.charter.com
    Primary DNS: 24.196.64.53
    Secondary DNS:
    View all United States of America DNS Servers
    4) Go to manaul and set the DNS to the service prover
    5) should be good to go ...
    Why we have to go to the level to solve this stuff I have no idea ..... hope it helps ....
    John

  • One of my sites still connects but the other gets An ftp error occurred cannot make connection to host.

    My problem is in “connect to remote server”. I manage two sites in Dreamweaver CS6, and they are hosted by the same guys.  One site still connects fine but the other one has stopped connecting. With the second site when I click on the button I get a delay then "An ftp error occurred -- cannot make connection to host".
    However I can still access the second site’s remote server through an FTP program, and the Host tech support confirms my login is working fine from his computer.
    I tried doing this old trick (1) Site > Manage Sites > Export to create a .ste file (2) quite, restart (3) Manage Sites > Import the .ste file (4) click on connect to remote server --  But that made no difference

    Just because both sites are hosted by the same firm doesn't mean they are on the same physical server.  Your problem connecting could be attributable to many things.
    User name and password may have changed or been reset. 
    Server permissions problems (GoDaddy is notorious for this).
    IP blocking.
    Server is down.
    etc...
    Are you able to connect with a 3rd party FTP client like FileZilla?  If not, I'm guessing this is a server problem & you need to contact your host.
    Nancy O.

Maybe you are looking for

  • 'Error at the end of form processing' - Adobeforms

    Hi All, I am facing an issue while opening travel request form in PDF with an error showing as 'Error at the end of form processing'. I checked all configurations from R/3 and everything seems to be fine. Appreciate for your valuable inputs for solvi

  • Item sales not to be accounted

    Hi Experts, Business wants to do a setup such that the sales of one material should not be accounted in company's total sales value. The sales order of the material will have non-zero sales value and the customer will be charged for that material . P

  • R9 270X Gaming OC 2G Black screen

    Now at me stand driver versions 13.101, I tried to install this version of the driver is newer, and on all versions after rebooting the PC was a black screen, the system is not just loaded ... what to do? S/N: 602-V303-03SB1310008061 My BIOS: sendspa

  • What to do with this package error? [SOLVED]

    I wanted to try gpsdrive so I used pacman. During the load I got this error: error: failed retrieving file 'proj-4.7.0-1-x86_64.pkg.tar.gz' from mirrors.cat.pdx.edu : The requested URL returned error: 404 I looked in the package list and found proj-4

  • Scheule a job that runs on first day of every month

    Hi i want to schedul a job (run a procedure ) on first day of every month . I have done something lije this declare nextdate date; begin SELECT trunc(add_months(sysdate,1),'MM') into nextdate FROM DUAL ; dbms_output.put_line(nextdate); dbms_job.submi