KrakenTyio / eid-applet

Automatically exported from code.google.com/p/eid-applet
Other
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 Vierberg...@gmail.com on 1 Dec 2011 at 10:53

GoogleCodeExporter commented 8 years ago
Have you some news about this error? I'm currently with the same problem.

Thanks

Original comment by mat.dru...@gmail.com on 2 Feb 2012 at 1:01

GoogleCodeExporter commented 8 years ago
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 Vierberg...@gmail.com on 2 Feb 2012 at 1:41

GoogleCodeExporter commented 8 years ago
Hi, same problem for me, I'm curious for the answer :-)

Grts, Mvg,
Ann

Original comment by elefa...@gmail.com on 7 Feb 2012 at 8:16

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
some1 here have an answer for this ? its driving me nuts ! :(

Original comment by tom.vand...@gmail.com on 27 Apr 2012 at 9:47

GoogleCodeExporter commented 8 years ago
Has anyone found anything more to solve this?

Original comment by jsjos...@gmail.com on 5 Oct 2012 at 12:50

GoogleCodeExporter commented 8 years ago
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 tom.vand...@gmail.com on 21 Nov 2012 at 1:02

GoogleCodeExporter commented 8 years ago
so did anyone found the solution?

Original comment by alco...@gmail.com on 21 Dec 2012 at 4:05

GoogleCodeExporter commented 8 years ago
Still no news ?

Original comment by jean.cha...@gmail.com on 17 Jan 2013 at 5:19

GoogleCodeExporter commented 8 years ago
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 joris.va...@gmail.com on 4 Jun 2013 at 7:30

GoogleCodeExporter commented 8 years ago
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 jeremie....@gmail.com on 20 Feb 2014 at 1:25