marwensaid / eid-applet

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

eid service not found in asp.net #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I added the applet

 <script  src="https://www.java.com/js/deployJava.js  <view-
source:https://www.java.com/js/deployJava.js>"></script> 
 <script> 
          var attributes = {
          code :'be.fedict.eid.applet.Applet.class',
                 archive :'eid-applet.jar', 
                 width :600, 
                 height :300 
          }; 
          var parameters = { 
                 TargetPage :'Login.aspx',
                 AppletService: 'applet-service-authn',
                 BackgroundColor :'#e6e6fa', 
                 Language : 'en' 
          }; 
          var version = '1.6'; 
          deployJava.runApplet(attributes, parameters, version); 
 </script> 

2. I adjusted the web.config
<add path="/applet-authn-service" verb="*" 
type="Be.FedICT.EID.Applet.Service.AuthnAppletService, AppletService" 
validate="true" />

3. added the dll

What is the expected output? What do you see instead?

I expect a popup to enter my pincode, but this error appears:

eID Applet - Copyright (C) 2008-2009 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.0-SNAPSHOT
Java version: 1.6.0_20
Java vendor: Sun Microsystems Inc.
OS: Windows 7
OS version: 6.1
OS arch: x86
Web application URL: https://localhost/LoginMetEId.aspx
sending message: HelloMessage
current protocol state: null
protocol state transition: INIT
SSL handshake finish cipher suite: TLS_RSA_WITH_AES_128_CBC_SHA
HTTP response code: HTTP NOT FOUND! eID Applet Service not running?
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:184
at be.fedict.eid.applet.Controller.run:221
at be.fedict.eid.applet.Applet$AppletThread$1.run:483
at java.security.AccessController.doPrivileged:-2
at be.fedict.eid.applet.Applet$AppletThread.run:478
at java.lang.Thread.run:-1
Algemene fout.

What version of the product are you using? On what operating system?
I use the version 1.6 on windows 7

I imported the cert in IIS, and already checked all posts about the eid 
applet in asp.net.

Original issue reported on code.google.com by tijscorn...@gmail.com on 25 May 2010 at 10:08

GoogleCodeExporter commented 9 years ago
I solved the issue by changing the connectionpool from inherit to classic..

Original comment by tijscorn...@gmail.com on 27 May 2010 at 7:47

GoogleCodeExporter commented 9 years ago

Original comment by frank.co...@gmail.com on 21 Jun 2010 at 3:29