Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP status code: HTTP NOT FOUND! eID Applet Service not running? #71

Open
GoogleCodeExporter opened this issue Mar 31, 2015 · 12 comments

Comments

@GoogleCodeExporter
Copy link

Hi,

I'm running a Centos 6 server with apache. I'm building a simple php script 
which should read the eID card info and give it back to a script which filters 
the data and saves it to a data base...

Till now I was redirecting to the fedict applet which sends the information 
back to my webserver. (simpleSAML)...

Now I'm trying to do it localy.

echo '<script src="https://www.java.com/js/deployJava.js"></script>
            <script>
            var attributes = {
            code :\'be.fedict.eid.applet.Applet.class\',
            archive :\'eid-applet-package-1.0.3.GA.jar\',
            width :400,
            height :300
            };
            var parameters = {
            TargetPage :\'http://IP:PORT/?Pagemanagementpmmaction=showpage&Pagemanagementpmmpageid=NewClient\',
            AppletService : \'applet-service\',
            BackgroundColor : \'#ffffff\'
            };
            var version = \'1.6\';
            deployJava.runApplet(attributes, parameters, version);
            </script>'; 

First I had some troubles loading the applet.

load: class be.fedict.eid.applet.Applet.class not found.
java.lang.ClassNotFoundException: be.fedict.eid.applet.Applet.class
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassNotFoundException: be.fedict.eid.applet.Applet.class

Searched on google where I found that I should switch from http to a https 
SSL... which I did.

now I'm getting this 

eID Applet - Copyright (C) 2008-2010 FedICT.
Released under GNU LGPL version 3.0 license.
More info: http://code.google.com/p/eid-applet/
checking applet privileges...
security manager permission check for java 1.6...
checking web application trust...
running privileged code...
eID browser applet version: 1.0.3.GA
Java version: 1.6.0_29
Java vendor: Sun Microsystems Inc.
OS: Windows 7
OS version: 6.1
OS arch: x86
Web application URL: 
https://78.22.49.250:54443/?Pagemanagementpmmaction=showpage&Pagemanagementpmmpa
geid=Clients&ClientsClientsaction=Add
Current time: Thu Dec 01 23:37:10 CET 2011
session cookie detected
sending message: HelloMessage
current protocol state: null
protocol state transition: INIT
SSL handshake finish cipher suite: SSL_RSA_WITH_RC4_128_MD5
HTTP response code: HTTP NOT FOUND! eID Applet Service not running?
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /applet-service was not found on this server.</p>
<hr>
<address>Apache/2.2.15 (CentOS) Server at 78.22.49.250 Port 54443</address>
</body></html>
error: error sending message to service. HTTP status code: HTTP NOT FOUND! eID 
Applet Service not running?
error type: java.io.IOException
at be.fedict.eid.applet.Controller.sendMessage:227
at be.fedict.eid.applet.Controller.run:283
at be.fedict.eid.applet.Applet$AppletThread$1.run:602
at java.security.AccessController.doPrivileged:-2
at be.fedict.eid.applet.Applet$AppletThread.run:597
at java.lang.Thread.run:-1
Algemene fout.

And I'm not finding what to do next....

Original issue reported on code.google.com by [email protected] on 1 Dec 2011 at 10:53

@GoogleCodeExporter
Copy link
Author

Have you some news about this error? I'm currently with the same problem.

Thanks

Original comment by [email protected] on 2 Feb 2012 at 1:01

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Nope  stille no answer  so I've put it on hold... I have the applet on my 
server and in my webpage  but it fails to load or do anything............

Mvg
Vierbergen Tim

Original comment by [email protected] on 2 Feb 2012 at 1:41

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Hi, same problem for me, I'm curious for the answer :-)

Grts, Mvg,
Ann

Original comment by [email protected] on 7 Feb 2012 at 8:16

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

[deleted comment]

1 similar comment
@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

some1 here have an answer for this ? its driving me nuts ! :(

Original comment by [email protected] on 27 Apr 2012 at 9:47

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Has anyone found anything more to solve this?

Original comment by [email protected] on 5 Oct 2012 at 12:50

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

not at all, i hate this support, only java environments are supported.
still there is documentation about .NET to be found there and there and grrrrr!

SO DAMN PAIN TO GET THIS WORKING IN .NET with SDK 4.0 !

Original comment by [email protected] on 21 Nov 2012 at 1:02

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

so did anyone found the solution?

Original comment by [email protected] on 21 Dec 2012 at 4:05

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Still no news ?

Original comment by [email protected] on 17 Jan 2013 at 5:19

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

What is the current status on this issue? I am experiencing exactly the same on 
my ASP.NET C# website (windows server 2012 & IIS 8.0)

Original comment by [email protected] on 4 Jun 2013 at 7:30

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Make sure you're using integrated mode in IIS and use the system.Webserver

config example:
<system.webServer>
    <handlers>
      <add verb="*" name="AppletService" path="applet.service" type="Be.FedICT.EID.Applet.Service.AppletService" resourceType="Unspecified" />
      <add verb="*" name="AuthnAppletService" path="authn-applet.service" type="Be.FedICT.EID.Applet.Service.AuthnAppletService" resourceType="Unspecified" />
    </handlers>

It works in VS2013 with .Net4.5

Original comment by [email protected] on 20 Feb 2014 at 1:25

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant