Hi

 

I've downloaded OpenSign v1.6.4 src and I've installed all the thirdparty 
dependencies as stated in the FAQ. Built a new jar file called OSCommfides.jar, 
the different files are located at:

 

Index.html file is located in  http://tommy.the-wildbunch.net/opensign/

OSCommfides.jar and cab is located in 
http://tommy.the-wildbunch.net/opensign/applet/

The zip's and dll is located in 
http://tommy.the-wildbunch.net/opensign/applet/plugins

 

But I only get an red X and the following errors in the java console...

 

-----------------------------------------------------------------------

Output Java Console

-----------------------------------------------------------------------

Trace level set to 5: all ... completed.

basic: Stopping applet ...

basic: Removed progress listener: [EMAIL PROTECTED]

basic: Finding information ...

basic: Releasing classloader: [EMAIL PROTECTED], refcount=1

basic: Done ...

basic: Joining applet thread ...

basic: Destroying applet ...

basic: Disposing applet ...

basic: Quiting applet ...

basic: Joined applet thread ...

basic: Referencing classloader: [EMAIL PROTECTED], refcount=2

basic: Added progress listener: [EMAIL PROTECTED]

basic: Loading applet ...

basic: Initializing applet ...

basic: Starting applet ...

basic: completed perf rollup

04.jul.2007 16:07:08 <DEBUG> Thread-222 - Sign constructor invoked [EMAIL 
PROTECTED]

 

04.jul.2007 16:07:08 <DEBUG> thread 
applet-org.openoces.opensign.client.applet.Sign - xxx Sign/Logon init() [EMAIL 
PROTECTED]

 

04.jul.2007 16:07:08 <DEBUG> thread 
applet-org.openoces.opensign.client.applet.Sign - Timing: 
AbstractApplet.initialize():Wed Jul 04 16:07:08 CEST 2007

 

04.jul.2007 16:07:08 <DEBUG> thread 
applet-org.openoces.opensign.client.applet.Sign - We are running without 
bootstrap applet

 

04.jul.2007 16:07:08 <DEBUG> thread 
applet-org.openoces.opensign.client.applet.Sign - RealApplet adding plugin 
[EMAIL PROTECTED]

 

04.jul.2007 16:07:08 <INFO>  thread 
applet-org.openoces.opensign.client.applet.Sign - ZIP BASE absolute - unchanged 
http://tommy.the-wildbunch.net/opensign/applet/plugins

 

04.jul.2007 16:07:08 <ERROR> thread 
applet-org.openoces.opensign.client.applet.Sign - error during initialize

java.lang.NullPointerException

                at 
org.openoces.opensign.client.applet.AbstractApplet.setNoBootstrap(AbstractApplet.java:117)

                at 
org.openoces.opensign.client.applet.AbstractApplet.commonInit(AbstractApplet.java:359)

                at 
org.openoces.opensign.client.applet.AbstractApplet.initialize(AbstractApplet.java:431)

                at 
org.openoces.opensign.client.applet.AppletLayout.init(AppletLayout.java:125)

                at sun.applet.AppletPanel.run(Unknown Source)

                at java.lang.Thread.run(Unknown Source)

 

java.lang.NullPointerException

                at 
org.openoces.opensign.client.applet.OcesAppletUtils.doAppletRequest(OcesAppletUtils.java:124)

                at 
org.openoces.opensign.client.applet.OcesAppletUtils.getFunctionResult(OcesAppletUtils.java:147)

                at 
org.openoces.opensign.client.applet.AbstractApplet.javascript(AbstractApplet.java:559)

                at 
org.openoces.opensign.client.applet.AppletLayout.init(AppletLayout.java:130)

                at sun.applet.AppletPanel.run(Unknown Source)

                at java.lang.Thread.run(Unknown Source)

basic: Exception: java.lang.NullPointerException

 

 

The index.html file look like this..

 

<applet name="openoces_opensign_applet" 
code="org.openoces.opensign.client.applet.Sign" width="500" height="200" 
codebase="http://tommy.the-wildbunch.net/opensign/applet/"; 
archive="OSCommfides.jar"> 

        <param name="ZIP_FILE_ALIAS" value="OpenSign">

        <param name="STRIP_ZIP" value="no">

        <param name="LOG_LEVEL" value="DEBUG">

        <param name="ZIP_BASE_URL" 
value="http://tommy.the-wildbunch.net/opensign/applet/plugins";>

        <param name="locale" value="en,US">

        <param name="cabbase" 
value="http://tommy.the-wildbunch.net/opensign/applet/OpenSign-bootstrapped.cab";>

        <param name="opensign.doappletrequest" value="true">

        <param name="MS_SUPPORT" value="bcjce">

        <param name="SUN_SUPPORT" value="jsse">

        <param name="opensign.doappletrequestonmac" value="true">

        <param name="opensign.verifieruri" value="demo/servlet/Verifier?id=42">

        <param name="opensign.canceluri" 
value="demo/servlet/Display?result=cancel">

        <param name="opensign.erroruri" 
value="demo/servlet/Display?result=error">

        <param name="opensign.alerturi" 
value="demo/servlet/Display?result=alert">

        <param name="opensign.verifiedokuri" 
value="demo/servlet/Display?result=ok&id=42">

        <param name="opensign.verifiederroruri" 
value="demo/servlet/Display?result=error">

</applet>

 

What can be the cause of this error?

 

The reason I want to build a new jar file is because, I' want the users of our 
certificates to put the trust in our company and not TDC as a unknown party for 
our customers. I noticed that OpenOCES.org is very orientated against the 
Danish standard OCES, but as far as I can see it works perfect for just regular 
X.509 certificates regardless of the issuer/standard?

 

Is there anywhere I can find more examples and "how to" on OpenSign?

 

But first of all I want to make the applet work in a test environment so I can 
test it and integrate it in our systems, hope you can help me. I also tried to 
get the binary version to  work, but go some issues That got another thread in 
you mailing list( [Developer] Error while trying to use opensign 1.6.4 binary 
buildred X)

 

PS this is a little bit urgent..

 

Best Regards 

Tommy Kristiansen
::: Systemkonsulent/Utvikler
::: Commfides Norge AS, www.commfides.com <http://www.commfides.com/> 

::: Postadresse: Commfides AS, PB 405, 1337 Lysaker
::: Besøksadresse: Fornebuveien 1, 1366 Lysaker
::: Tlf: (+47) 46 67 70 50 ::: Faks: (+47) 67 10 50 10
::: Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  

 

_______________________________________________
Developer mailing list
[email protected]
https://www.openoces.org/mailman/listinfo/developer

Reply via email to