Applet integration v20.0.0
Hi,
We use Autovue 20.0.0.
We have the autovue applet integrated in our GWT application.
This works fine when we connect to a 19.3.4 version from the server.
But when we connect to a new version with 20.0.0 then we get the following exception.
When we make a connection with the servlets to verify, everything works fine.
Can somebody give some tips?
Thank you,
Regards,
JVue: Initialization failed.
com.cimmetry.core.VueRemoteException: Unable to execute remote method: sessionOpen; nested exception is:
java.lang.NoSuchMethodException: Method sessionOpen(com.cimmetry.core.SessionID, java.lang.String, java.lang.String, java.lang.String) not found in class com.cimmetry.jvueserver.VCETConnection
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.io.ObjectStreamClass.newInstance(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readArray(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at com.cimmetry.vueconnection.k.exec(Unknown Source)
at com.cimmetry.vueconnection.h.a(Unknown Source)
at com.cimmetry.vueconnection.f.doWork(Unknown Source)
at com.cimmetry.job.e.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
JVue: Missing resource Unable to execute remote method: sessionOpen; nested exception is:
java.lang.NoSuchMethodException: Method sessionOpen(com.cimmetry.core.SessionID, java.lang.String, java.lang.String, java.lang.String) not found in class com.cimmetry.jvueserver.VCETConnection in com.cimmetry.vueframe.resources.VueFrame (Locale=en)
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key Unable to execute remote method: sessionOpen; nested exception is:
java.lang.NoSuchMethodException: Method sessionOpen(com.cimmetry.core.SessionID, java.lang.String, java.lang.String, java.lang.String) not found in class com.cimmetry.jvueserver.VCETConnection
at java.util.ResourceBundle.getObject(Unknown Source)
at java.util.ResourceBundle.getString(Unknown Source)
at com.cimmetry.util.Resources.loadString(Unknown Source)
at com.cimmetry.util.Resources.loadFrameString(Unknown Source)
at com.cimmetry.jvue.JVue.a(Unknown Source)
at com.cimmetry.jvue.JVue.b(Unknown Source)
at com.cimmetry.jvue.JVue.a(Unknown Source)
at com.cimmetry.jvue.b.run(Unknown Source)
>
com.cimmetry.core.VueRemoteException: Unable to execute remote method: sessionOpen; nested exception is:
java.lang.NoSuchMethodException: Method sessionOpen(com.cimmetry.core.SessionID, java.lang.String, java.lang.String, java.lang.String) not found in class com.cimmetry.jvueserver.VCETConnection
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)this error message usually means that you have mis-matched client jars - I suspect you are using the 19.3 jvue.jar file and connecting to a v20.0 server. If you update your jvue.jar to the v20.0 jar, it should work fine.
KM Note 889648.1 has more details on this. You can find it through the oracle support portal.
Hope this helps.
Warren
Similar Messages
-
JVue applet integration/extension
I'm trying to communicate with the AutoVue applet in a browser.
My initial efforts were based on the suggestions in http://docs.oracle.com/cd/E29155_02/otn/pdf/E29158_01.pdf. This document suggests writing a second applet and use getAppletContext().getApplet(”Jvue”) to access the Jvue applet.
But in this document http://docs.oracle.com/javase/tutorial/deployment/applet/iac.html it is stated that getApplet should NOT be used for communication between applets. Probably because the security around applets has been tightened lately.
Next attempt is to have only a single applet. To keep the existing look and functionality of AutoVue, I extend JVue and implement my own methods that can access the VueControllers and be called from javascript.
The problem right now is to get this applet to launch.
I have tried to use the APPLET tag in html, but couldn't get the loading of the extra jars to work.
Now I'm trying to launch the applet with jnlp, but no matter what I do I get a SecurityException:
java.lang.SecurityException: JAR manifest requested to run in all-permissons only: http://localhost/plugin/autovue/cfmAvue.jar
at com.sun.deploy.security.DeployManifestChecker.verify(Unknown Source)
at com.sun.deploy.security.DeployManifestChecker.verify(Unknown Source)
at com.sun.deploy.security.SandboxSecurity.isPermissionGranted(Unknown Source)
at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source)
at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
In my manifest for the applet jar I have tried "Permissions: Sandbox", "Permissions: All-permissions" and omitting the Permissions.
In my jnlp I have tried <security><all-permissions/></security> and omitting the security.
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" >
<information>
<title>CoreFM AutoVue Applet</title>
<vendor>Byggeweb/Docia</vendor>
<homepage href="www.docia.com"></homepage>
</information>
<resources>
<!-- Application Resources -->
<j2se version="1.7+"
href="http://java.sun.com/products/autodl/j2se" />
<jar href="cfmAvue.jar" main="true" />
<jar href="jvue.jar"></jar>
<jar href="jogl.jar"></jar>
<jar href="gluegen-rt.jar"></jar>
</resources>
<applet-desc
name="CoreFM AutoVue Applet"
main-class="com.docia.cfm.autovue.CFM_Avue_Applet.class"
width="1"
height="1">
</applet-desc>
<update check="background"/>
</jnlp>
In html I have tried "permissions: 'sandbox'", "permissions: 'all-permissions'" and omitting it.
<script src="https://www.java.com/js/deployJava.js"></script>
<script>
var attributes = { code:'com.docia.cfm.autovue.CFM_Avue_Applet', width:'100%', height:'100%'} ;
var parameters = {jnlp_href: '/plugin/autovue/cfmAvue.jnlp',
permissions: 'sandbox',
EMBEDDED: 'true',
VERBOSE: 'false',
ONINIT: 'onAppletInit();',
LOCALE: 'EN',
JVUESERVER: '<%= Configuration.getValue( "AUTOVUE_SERVLET_SERVER")%>'} ;
deployJava.runApplet(attributes, parameters, '1.7');
</script>
Can anyone tell me what combination will work?
Preferably the solution should work for java 6 and all versions of java 7.
Thanks
Michael Bjerregaard-PedersenWhat I'm trying to implement is just to be able to paint a polygon or highlight an IfcSpace in a drawing shown in AutoVue.
As I don't much like the idea of implementing the bulk of the necessary code for this in javascript, I'm looking for a way to implement it in java and just use javascript to call highlevel functions from the webpage.
When I use this applet tag:
<APPLET
NAME="JVue"
CODE="com.docia.cfm.autovue.CFM_Avue_Applet"
CODEBASE="//<%= Configuration.getValue("HostUrl")%>/plugin/autovue"
ARCHIVE="cfmAvue.jar, jvue.jar,jogl.jar,gluegen-rt.jar"
HSPACE="0" VSPACE="0"
WIDTH="100%" HEIGHT="100%"
MAYSCRIPT="on"
>
<PARAM NAME="EMBEDDED" VALUE="true">
<PARAM NAME="VERBOSE" VALUE="false">
<PARAM NAME="ONINIT" VALUE="onAppletInit();">
<PARAM NAME="LOCALE" VALUE="EN">
<PARAM NAME="JVUESERVER" VALUE="<%= Configuration.getValue( "AUTOVUE_SERVLET_SERVER")%>">
<p><b>Requires a browser that supports Java.</b></p>
</APPLET>
to launch my applet that is basically just this:
public class CFM_Avue_Applet extends JVue {
public void init()
super.init();
public void start()
super.start();
Compiled with this manifest:
Application-Name: CoreFM AutoVue Applet
Manifest-Version: 1.0
Permissions: all-permissions
Codebase: executor.interlogic.com.ua testserver.corefm.dk mbp.corefm.int corefm.dk byggeweb.dk docia.com
Caller-Allowable-Codebase: executor.interlogic.com.ua testserver.corefm.dk mbp.corefm.int corefm.dk byggeweb.dk docia.com
Application-Library-Allowable-Codebase: executor.interlogic.com.ua testserver.corefm.dk mbp.corefm.int corefm.dk byggeweb.dk docia.com
Extension-List: jvue jogl gluegen-rt
jvue-Extension-Name: com.cimmetry.jvue.JVue
jvue-Specification-Version: 1.1
jvue-Implementation-Version: 1
jvue-Implementation-Vendor-Id: com.cimmetry
jvue-Implementation-URL: http://www.byggeweb.dk/plugin/autovue/jvue.jar
jvue-Application-Name: JVue
jvue-Permissions: all-permissions
jvue-Codebase: executor.interlogic.com.ua testserver.corefm.dk mbp.corefm.int corefm.dk byggeweb.dk docia.com
jogl-Extension-Name: com.cimmetry.jvue.jogl
jogl-Specification-Version: 1.1
jogl-Implementation-Version: 1
jogl-Implementation-Vendor-Id: com.cimmetry
jogl-Implementation-URL: http://www.byggeweb.dk/plugin/autovue/jvue.jar
jogl-Application-Name: jogl
jogl-Permissions: all-permissions
jogl-Codebase: executor.interlogic.com.ua testserver.corefm.dk mbp.corefm.int corefm.dk byggeweb.dk docia.com
gluegen-rt-Extension-Name: com.cimmetry.jvue.gluegen-rt
gluegen-rt-Specification-Version: 1.1
gluegen-rt-Implementation-Version: 1
gluegen-rt-Implementation-Vendor-Id: com.cimmetry
gluegen-rt-Implementation-URL: http://www.byggeweb.dk/plugin/autovue/jvue.jar
gluegen-rt-Application-Name: gluegen-rt
gluegen-rt-Permissions: all-permissions
gluegen-rt-Codebase: executor.interlogic.com.ua testserver.corefm.dk mbp.corefm.int corefm.dk byggeweb.dk docia.com
I first get a warning that an applet will be running, which is OK.
Then I get a message that the applet will load jvue.jar, which is annoying and will confuse all users. (as far as I can tell JNLP should solve this, but AutoVue is apparently not compatible with JNLP, says Oracle)
After that I get this in the java console:
Missing Application-Name: manifest attribute for: http://www.byggeweb.dk/plugin/autovue/jvue.jar
Missing Permissions manifest attribute for: http://www.byggeweb.dk/plugin/autovue/jvue.jar
Missing Codebase manifest attribute for: http://www.byggeweb.dk/plugin/autovue/jvue.jar
Missing Application-Name: manifest attribute for: http://www.byggeweb.dk/plugin/autovue/jvue.jar
Missing Permissions manifest attribute for: http://www.byggeweb.dk/plugin/autovue/jvue.jar
Missing Codebase manifest attribute for: http://www.byggeweb.dk/plugin/autovue/jvue.jar
Missing Application-Name: manifest attribute for: http://www.byggeweb.dk/plugin/autovue/jvue.jar
Missing Permissions manifest attribute for: http://www.byggeweb.dk/plugin/autovue/jvue.jar
Missing Codebase manifest attribute for: http://www.byggeweb.dk/plugin/autovue/jvue.jar
Missing Application-Name: manifest attribute for: http://www.byggeweb.dk/plugin/autovue/jvue.jar
Missing Permissions manifest attribute for: http://www.byggeweb.dk/plugin/autovue/jvue.jar
Missing Codebase manifest attribute for: http://www.byggeweb.dk/plugin/autovue/jvue.jar
Missing Application-Name: manifest attribute for: http://www.byggeweb.dk/plugin/autovue/jvue.jar
Something is looping.
Thanks
Michael -
Thanksgiving Challenge - ListenUp Java Applet integration
For those that like a Challenge... I came across this Java
Applet that appears to be quite powerful to add recording and
playing of voice audio files to a website:
http://www.javasonics.com/downloads/
I have not been successful in writing the coldfusion code yet
that will read the information that is passed from this Java Applet
with respect to sound file (wav), file name, and other fields that
are in the form when created.
This is the format of the use of the Applet that I would like
to get working on the site:
http://www.javasonics.com/listenup/examples/use_text_fields.html
I look forward to anyone that can get this code working and
how you did it with ColdFusion.
Thanks,
Tom
[email protected]When I run their PHP version that works on a Linux System and
the Java Applet debugger on this is the result from the time the
file is handed off from the Java Applet to the PHP Code.
Can anyone tell if the file is actually being written to the
server then PHP is reading it from the server or is it just being
written to memory and PHP is reading a variable or memory block for
this data?
ListenUp: 49.081, sendRecordedMessage(message_12345.wav)
ListenUp: 49.091, sendRecordedMessage: upload
message_12345.wav
ListenUp: 49.101, start upload, freeMem = 3535456, totalMem =
5640192
ListenUp: 49.431, got compressed image, freeMem = 3453040,
totalMem = 5640192
ListenUp: 49.671, got MIME data, freeMem = 3387064, totalMem
= 5640192
ListenUp: 49.902, MultipartFormDataUploader: POST size =
15733
ListenUp: 49.902, parseStatusLine: HTTP/1.1 100 Continue, len
21
HTTP/1.1 200 OK
Cache-Control: private
Connection: close
Date: Thu, 27 Nov 2008 18:38:07 GMT
Content-Type: text/plain
Server: Microsoft-IIS/6.0
X-Powered-By: PHP/4.4.1
X-Powered-By: ASP.NET
<param name=userfile>
raw_name = message_12345.wav
name = message_12345.wav
type = audio/wav
size = 15420
Upload dir = ../uploads
duration = 2.6006349206349206
SUCCESS - message_12345.wav uploaded.
ListenUp: 50.332, DynamicMemoryBuffer: deleting array.
ListenUp: 50.332, finished upload, freeMem = 3487480,
totalMem = 5640192 -
Hi,
Need to Create an Opportunity and step off the record. An error message should be thrown if the Probablity of the Opportunty is 0% and Sales Cycle is blank.
like below I have written the code:
function BusComp_PreWriteRecord ()
var prob;
var stage;
prob=this.GetFieldValue("Primary Revenue Win Probability");
stage=this.GetFieldValue("Sales Stage");
if(prob == '0' && stage == '')
TheApplication.RaiseErrorText("% should not be 0 and sales stage should not be blank");
else if((Revenue == '$0.00')&&(Quality == '5-Poor'||Quality =='4-Fair'))
TheApplication.RaiseErrorText("With this combination of Revenue and Quality values can not be changed");
return (CancelOperation);
return (ContinueOperation);
Following error is thowing while stepping of the record:
TypeError 1406:The script refers to a method that either does not exist or has an incorrect syntax.Verify that the method syntax is correct and the object supports the method (SBL-SCR-00141)
can you please direct where went wrong.
Thank You.First of: use try,catch,finally
http://download.oracle.com/docs/cd/B31104_02/books/eScript/eScript_JSLOverview44.html#wp1004538
In the finally part is where you would release/destroy any object variables that you have created.
Like instances of business components or business objects. Like this:
finally
loAccCUAddrBC = null;
loAccountBO = null;
You should have a naming convention for you variables. With some prefix/postfix.
like
l = local variable
g = global variable (variables declared in the (declaration) part)
use a type prefix
s = string
o = object (those are the ones you should release/destroy in the finally part)
i = integer
some postfix
BC = Business Component
BO = Business Object
e.g. loAccountBO, loAccCUAddrBC, ...
And once again, try as best you can to avoid writing script. It will
slow down the application, make it harder to upgrade, ...
First place to look:
Simple configuration with calculated fields, pre-defaults, ....
User Props on (Business Components, Applets, Integration Obj.)
Work flows
If all that fails, look to scripting.
And when you to, make sure you write your scripts well.
If you need the code more then once, put it into a business service.
And now to your code.
It look like Server Script code and then you need TheApplication().
and not just TheApplication.
try
var lsProb;
var lsStage;
var l?Revenue; // needs type and a get for the value
var l?Quality; // needs type and a get for the value
lsProb = this.GetFieldValue("Primary Revenue Win Probability");
lsStage = this.GetFieldValue("Sales Stage");
if(lsProb == '0' && lsStage == '')
TheApplication().RaiseErrorText("% should not be 0 and sales stage should not be blank");
else if((l?Revenue == '$0.00')&&(l?Quality == '5-Poor'||l?Quality =='4-Fair'))
TheApplication().RaiseErrorText("With this combination of Revenue and Quality values can not be changed");
catch(e)
throw(e);
finally
return (ContinueOperation); -
Authenticate to e-service workflow
Let’s say that I need a card for the authentication purpose on some e-government services. How this authentication actually works? Correct if I am wrong or if there is some other approach. The user inserts his card into the reader. He enters the url of the desired e-service inside the browser. The e-service application can have the Java applet integrated inside of the authentication web page. The Java applet generates the challenge and sends it to the java card applet in order to sign it. After it signs it, the java card applet returns the message to the java applet and e-service application. Then the e-service application has to check if the signed message is valid or not. For that purpose the e-service can get the user certificate and ca certificate from the card to check its validity period, check the certificate signature. Also, e-service must have the connection on PKI CA in order to check if the certificate is inside the revocation list.
1. Is this workflow valid?
2. In order to verify the authentication token, does e-service gets the user and ca certificates from the card or it needs to have the connection toward some CMS or it gets it over 2-ssl (certificate has to be installed inside the Microsoft store)1. Is this workflow valid?For the most part this is valid (you may want to ask this in the Cryptography forum with a reference to this thread though as there are more experts on PKI there). You wouldn't really need to send the CA unless it was not accessible by the e-service. In which case you would need the next cert up in the chain to verify against. You ned a trust path from the card certificate to a trusted certificate in you hierarchy.
2. In order to verify the authentication token, does e-service gets the user and ca certificates from the card or it needs to have the connection toward some CMS or it gets it over 2-ssl (certificate has to be installed inside the Microsoft store)There are a number of ways to get the signing certificate. You could use LDAP or a keystore of some kind. Either way you need to be able to get a certificate from a trusted source to be able to verify the certificate(s) you get from the card. You should also check each of the certificates you get for validity through OCSP or by checking CRL's.
Cheers,
Shane -
JAVA requirements for client PCs
Hi All,
we are implementing SAP CRM 2007 and of course want to use the new WebUI to access the system. Now especially for marketing scenarios, there seem to be a couple of applets integrated into the normal WebUI (e.g. "Campaign autmoation", "Graphical Modeler", etc).
Can anybody tell me which version of the JAVA runtime is required to be installed on the client PCs using the WebUI ( not on the CRM server itself)? I am looking for the exact version number and a reference to official SAP documentation mentioning that.
Thanks in advance
AlexanderHi Stephen,
thanks for guiding me to these SAP Notes, they were exactly what I was looking for.
I will close this thread accordingly.
Cheers
Alex -
Integrated ITS issues in HTML Viewer Control related to applets
We are currently running on integrated ITS - WAS 7.0 kernel 90 at level SAPKB70010. We recently upgraded from a 46C environment that was utilizing external ITS. We also utilize the standard SAP CIC0 transaction (call center interaction center) that is essentially running the webgui service inside of html viewer controls inside of the SAPGUI.
Once we upgraded to the integrated ITS we have lost some functionality. It appears functions like exporting to spreadsheets from ALV grid, for example, no longer work in the CIC0.
Through some investigation, I can see that if I run the webgui service in an IE browser, the ALV grid export functionality will work, and makes use of applets.
If I run the same webgui service in an HTML viewer control (for example, by running thru program RSDEMO_HTML_VIEWER), I can see that the download will not work.
I'm aware the HTML viewer control has limitations, however this functionality worked fine for us when using the External ITS, and is important functionality for our CIC0 transaction. We are using the same version of SAPGUI (640) now we were using before.
Is anyone aware what has changed with Integrated ITS that would make this functionality no longer work in HTML viewer control? or possibly settings that might need adjusted?
Thanks,
Pam Crissman
Pam CrissmanHi Pam,
I found something on SAP Notes:
Check this:
Note 858959 - ALV export: saving in SAP GUI for HTML as local file
Regards,
Siddhesh -
Checking integrity of signed applets in JRE cache
Hello,
I noticed that my JRE (Version 6 Update 24) does not check, if a signed applet, that is cached locally, has been modified before loading it. It seems to me like this is a security problem that could easily be prevented. Does anyone know if this is a desired behavior and if there is a way to tell the JRE to check the integrity of cached applets?
Best regards!If any malicious code has sufficient privileges to manipulate the cache of signed applets, then it can easily do much worse things than elevate the privileges of some unsigned Java code.
-
Send Email & JavaScript integration in Applets
Hi there folks,
I have a Java Applet which is having the following things.
1. Send Email to a Friend about this.
2. Next (>) and Previous (<) buttons.
now my question is, on click of option 1, a pop-up must be displayed (asking To & From) & i've an URL, it needs to be sent to a friend via an email on click of the option 1 as i mentioned above.. how can i accomplish this to send an email on Java & Applets? more over is it possible??
is it possible to integrate Javascript on Applets?? i need to make my option 2 as javascript enabled & these < & > buttons must take me to Previous or Next topic.
any Idea on the above??? your help would be really appreciated. it's very urgent for me.
thanks in advance for reading my forum.
Cheers,
Satya>
i hope you got an idea on what i'm actually trying to do?>The impression I get from your two posts on the subject is that you have no idea what you you are trying to do!
The first post mentions applets and JavaScript several times, yet your later post claims this is a "stand alone desktop swing application". The process of sending an email from within a web page (well described in the first reply) is very different than from a stand-alone application.
Then you bring up 'next' and 'previous' topics like we should know what you are referring to. And you are still wondering whether to 'integrate JS' into you app. WTF for? What 'ability' do you see the JS as providing?
If you hope to get meaningful help, you need to lift your game and spend more time describing the problem domain and constraints of the functionality you wish to offer to the end user. -
Hi All,
I am building web pages with HTML but for a specific part of the page I need to use an applet for some more advanced actions.
What I like to accomplish is that my applet has the look of the HTML, so the font is the same, the colours.
In the HTML pages my look is defined by css. Is there something similar for Java Applets ? How should I change the font in an Applet without compiling ? Shoud i set <PARAM > or are there any other options or other standards I should know about ?
TIA
Kind regards,
Marco Laponder
[email protected]Here are two posible solutions to your query:
Take a look at the JEditorPane class which allows you to display HTML(3.2) in an applet.
Also have you considered a html page which communicates to an applet via javascript. So the UI is all HTML based and the java performs the more advanced actions. The applet is essentially hidden in a webpage.
I would recommend the latter solution as from the description of your problem it sounds more appropriate. -
Problem with integrating CORBA and applet
In my project, I am developing a CORBA based applet client. I have allowed my applet to have read and write access to the client. I also need to allow the client to connect two more than one servers.
But it seems my client can only connect to the server if this is the same server where my client downloaded the applet from. Sandbox again......
I wonder how can I allow an applet to connect to more than one servers?
Thanks a lot.Stacktrace or full trace could show us what's going on.
Lets assume the policy is set up correctly than did you use doPrivileged to make
sure the jre will not check the entire stack to be privileged?
Signing applets:
http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
second post and reply 18 for the java class file using doprivileged
A Full trace:
http://forum.java.sun.com/thread.jspa?threadID=656028 -
Integration of the Fedict eID Applet in CF9
Hi,
I try to integrate the eID Applet (to read a card ID) developed by the Fedict in our CF9 environment.
Is there someone to explain me how to do this ?
Thanks in advance for your help
PaoloHi,
I installed all the jar file the lib of my application. I also configured the web.xml like this :
<!-- Start : FEDICT -->
<servlet>
<servlet-name>AppletServiceServlet</servlet-name>
<servlet-class>be.fedict.eid.applet.service.AppletServiceServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AppletServiceServlet</servlet-name>
<url-pattern>/applet-service</url-pattern>
</servlet-mapping>
<!-- End : FEDICT -->
I developed two cfm pages to get information from my idCard :
1) ReadData.cfm
<script type="text/javascript" src="https://www.java.com/js/deployJava.js"></script>
<script type="text/javascript">
var attributes = {
code: 'be.fedict.eid.applet.Applet.class',
archive: 'eid-applet-package-1.0.1.GA.jar',
width: 400,
height: 300
var parameters = {
TargetPage: 'AuthnResult.cfm',
AppletService: 'applet-service',
BackgroundColor: '#ffffff'
var version = '1.6';
deployJava.runApplet(attributes, parameters, version);
</script>
2) AuthnResult.cfm
<cfoutput>
<cfset session="">
<cfset sesion.Identity.Name="">
<table>
<tr>
<th>
Name
</th>
<td>
#session.Identity.Name#
</td>
</tr>
</table>
</cfoutput>
But, it returns me the following error message :
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...
trusting localhost web applications
warning: web application (applet resource) not trusted.
running privileged code...
eID browser applet version: 1.0.1.GA
Java version: 1.6.0_21
Java vendor: Sun Microsystems Inc.
OS: Windows XP
OS version: 5.1
OS arch: x86
Web application URL: http://localhost:8500/ReadData.cfm
Current time: Wed Jun 01 11:26:51 CEST 2011
session cookie detected
sending message: HelloMessage
current protocol state: null
protocol state transition: INIT
error: Unexpected end of file from server
error type: java.net.SocketException
at sun.net.www.http.HttpClient.parseHTTPHeader:-1
at sun.net.www.http.HttpClient.parseHTTP:-1
at sun.net.www.http.HttpClient.parseHTTPHeader:-1
at sun.net.www.http.HttpClient.parseHTTP:-1
at sun.net.www.protocol.http.HttpURLConnection.getInputStream:-1
at java.net.HttpURLConnection.getResponseCode:-1
at be.fedict.eid.applet.Controller.sendMessage:208
at be.fedict.eid.applet.Controller.run:274
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
Erreur générale.
I know, something is wrong but I have no idea where is it .
Thks for your help -
SSO to a website with applet as a home page
Hi,
we have a scenario in which we need to setup a SSO to a website which has applet as its homepage. I am trying to use the application integrator.
did anybody else implemented this scenario, if so, could you please share your experiences or ideas with me.
thank youYou could use the mysapsso2 control for .NET and write a wrapper. This would have to be an external page/application that would check for the existance of the SSO cookie and then do a redirect. This has to be external because PDK does not support redirect. At least this is my understanding.
-
RE: Legacy Integration with PI/Open
Greg -
We are currently working on wrappering the APIs for UniVerse (aka Pick on
UNIX).
We received some help from the guys at RTD in Denver.
We tested out a C program that uses the Universe APIs and it works fine.
We will be building the Forte piece and compiling it this week.
Our first application is to inquire the UniVerse data, after that is
successful, we will move to inserting & updating.
Let us know how we can help.
Larry McCartney
[email protected]
(203)459-7959 - Trumbull
From:
[email protected][SMTP:[email protected]
om]
Sent: Monday, October 12, 1998 11:00 AM
To: [email protected]
Subject: forte-users-digest V1 #1111
forte-users-digest Monday, 12 October 1998 Volume 01 : Number
1111
In this issue:
Legacy Integration with PI/Open
is OBB32.dll available
Java Integration
Java Integration
Re: Legacy Integration with PI/Open
RE: Forms That Will Not Close
RE: Forms That Will Not Close
RE: Forms That Will Not Close
Re: AfterValueChange event trigged when it shouldn't be...
math library
From: [email protected]
Date: Mon, 12 Oct 1998 09:49:56 +1000
Subject: Legacy Integration with PI/Open
This is a bit of a long shot, but has anyone experience with integrating
Forte with PI/Open. PI/Open is a variant of PICK. We have a requirement
to read and update a PI/Open database from within our Forte application,
and we would be most interested to hear from anyone who has experience in
doing this.
We are aware of a set of APIs provided with PI/Open that are written in
"C". We could wrapper these from within Forte, however the issue is that
the APIs provided are non-shared, and Forte requires shared libraries.
Thanks in advance for any help.
Greg Barber.
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received
this in error, please contact the sender and delete the material from any
computer.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
From: "sridhar t" <[email protected]>
Date: Sun, 11 Oct 1998 22:01:36 PDT
Subject: is OBB32.dll available
hi,
am working on forte3.0.G.2. when i tried to use objectbroker library i
am unable to find the runtime objectbroker library (OBB32.dll). is this
dll available with this version. if not is there any alternative.
thanks,
sridhar,
Goldstone Softech USA
Get Your Private, Free Email at http://www.hotmail.com
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
From: srinivasa gopi <[email protected]>
Date: Sun, 11 Oct 1998 23:12:22 -0700 (PDT)
Subject: Java Integration
Hello,
I'm trying to integrate Forti with Java in Java mode using IIOP.I
followed the steps as explained in the Forti Web enterprise manual.I
compiled the Java files that are generated by Forti along with the
client Java file.The Java applet is getting downloaded on the client
browser(IE 4.0), but the problem is browser is giving an exception
** Java.lang.RuntimeException can't connect to service object with
the ior file name **.
My question is on every client is it necessary for ORB(Visigenic for
Java 3.2) and also the Forti Java interoperability package that is
provided by the Forti for compatability with Java or it is not
required on the clients ?
Is there any other alternative to achieve the goal as this will give
wide access to the Forti service objects through Web Browser clients.
Please mail me the solution to this problem as early as possible it is
very urgent.
Thanks in advance,
Srinivasa Gopi,
Goldstone Softech USA
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
From: srinivasa gopi <[email protected]>
Date: Sun, 11 Oct 1998 23:26:26 -0700 (PDT)
Subject: Java Integration
Hello,
I'm trying to integrate Forti with Java in Java mode using IIOP.I
followed the steps as explained in the Forti Web enterprise manual.I
compiled the Java files that are generated by Forti along with the
client Java file.The Java applet is getting downloaded on the client
browser(IE 4.0), but the problem is browser is giving an exception
** Java.lang.RuntimeException can't connect to service object with
the ior file name **.
My question is on every client is it necessary for ORB(Visigenic for
Java 3.2) and also the Forti Java interoperability package that is
provided by the Forti for compatability with Java or it is not
required on the clients ?
Is there any other alternative to achieve the goal as this will give
wide access to the Forti service objects through Web Browser clients.
Please mail me the solution to this problem as early as possible it is
very urgent.
Thanks in advance,
Srinivasa Gopi,
Goldstone Softech USA
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
From: Tim Hagemann <[email protected]>
Date: Mon, 12 Oct 1998 09:21:06 +0200
Subject: Re: Legacy Integration with PI/Open
Greg,
This is a bit of a long shot, but has anyone experience with integrating
Forte with PI/Open. PI/Open is a variant of PICK. We have arequirement
to read and update a PI/Open database from within our Forte application,
and we would be most interested to hear from anyone who has experiencein
doing this.
We are aware of a set of APIs provided with PI/Open that are written in
"C". We could wrapper these from within Forte, however the issue isthat
the APIs provided are non-shared, and Forte requires shared libraries.Would be interersting, which operating system you're using.
You could write a dll (on windows) or shared library (on unix) wrappering
the
original,statically linked "C"-Libs. This lib could be used by Forte.
Tim Hagemann
Tim Hagemann
Ascom GmbH Email: [email protected]
Charlottenburger Allee 61 Phone: +49 241 96806 273
D-52068 Aachen Fax: +49 241 96806 225
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
From: "Rottier, Pascal" <[email protected]>
Date: Mon, 12 Oct 1998 09:38:25 +0200
Subject: RE: Forms That Will Not Close
Exiting the event loop will not close the window! Invoking
'Close' method on the window will. Check if this method
is executed. It appears, the AfterFinalize event exits the
event loop and nothing more. Then, your applications
waits for some event from your main window, like 'Mouse-
Enter', before invoking Window.Close().
Pascal
Hi,
We seem to be having some type of deadlock problem when trying to
close
forms and am wondering if anyone else has experienced this problem.
The
phenomenon does not always occur and is not specific to any one client
machine.
I will explain the phenomenon:
1. We have an object that contains our main application startup
method.
This method then instantiates our main application window (Control)
and
invokes the Display() method using start task.
2. All other forms created by the application are created using a form
manager service object which exists on the client partition. The form
manager has a CreateForm() method which instantiates a form class of
the
specified type and invoked the form's Display() method using start
task.
3. Each form has a Close push button which when clicked invokes
Window.RequestFinalize().
Now, the problem we have is this:
The user starts the application and the main application window is
displayed. The user then selects an option from the main window and a
child form is created using the form manager service object and is
displayed. The user can continue to create more child forms by
selecting
options from the main window and all child forms are instantiated and
displayed correctly.
However, when the user attempts to close one of the forms the form
does
not close. The finalize event is triggered and the event loop is
exited,
but the form continues to be displayed and does not close. If the user
then moves the mouse pointer over the main application window, the
child
form immediately closes. Moving the mouse cursor over other child
windows (or even the desktop) does NOT do this - only when the mouse
cursor is moved over the main window does the child form close.
Does anyone have any ideas on this?
Regards,
Jace.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>- -
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
From: Jason de Cean <[email protected]>
Date: Mon, 12 Oct 1998 17:47:20 +1000
Subject: RE: Forms That Will Not Close
Hi Pascal,
The Display() method is as follows:
self.Open();
event loop
when Window.AfterFinalize do
exit;
when task.Shutdown do
exit;
end event;
self.Close();
<end>
Are you saying we should do a Window.Close() in there somewhere as well
Regards,
Jace.
On Monday, 12 October 1998 17:36, Rottier, Pascal
[SMTP:[email protected]] wrote:
Exiting the event loop will not close the window!
Invoking
'Close' method on the window will. Check if this method
is executed. It appears, the AfterFinalize event exits
the
event loop and nothing more. Then, your applications
waits for some event from your main window, like 'Mouse-
Enter', before invoking Window.Close().
Pascal
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
From: "Rottier, Pascal" <[email protected]>
Date: Mon, 12 Oct 1998 11:04:24 +0200
Subject: RE: Forms That Will Not Close
Jason,
No, self.Close() should close the window. This is the
method I referred to. You could place a traceline
behind self.Close() to see if it is executed. It is not
inconcievable some exception may exit the Display()
method before self.Close() is executed.
After that, maybe, some events from your main
window trigger something that causes a call like 'My-
Window.Close()', where 'MyWindow' is a subclass of
'UserWindow', so 'MyWindow' gets closed after all.
Maybe you've overridden 'Close()', so now it doesn't
work properly anymore.
Are you sure you exit the event loop after you press
the close button?? The display method is not regis-
terred for any <PushButton>.Click event, though maybe
you just didn't include the full Display method in your
mail.
Remember that an event loop will only respond to an
event if it is not currently handling an event. So, the
method behind <PushButton>.Click may call a self.
Window.RequestFinalize(), which will cause an After-
Finalize event to be posted, which will be placed in
the event queue. If this method however keeps waiting
for something, the event loop will not respond to the
AfterFinalize event, until this method is done waiting.
Pascal.
Hi Pascal,
The Display() method is as follows:
self.Open();
event loop
when Window.AfterFinalize do
exit;
when task.Shutdown do
exit;
end event;
self.Close();
<end>
Are you saying we should do a Window.Close() in there somewhere as
well
Regards,
Jace.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
From: Thomas Kunst <[email protected]>
Date: Mon, 12 Oct 1998 14:28:55 +0200
Subject: Re: AfterValueChange event trigged when it shouldn't be...
Which version of Fort=E9 are you using? We had some strage problems with
GUI events in Fort=E9 3.0.F.2, which disappeared now that we use 3.0.J.1!=
Fouche, Jaco wrote:
=
Hi there,
=
I'm hoping that someone out there has experienced the following (and
knows why it is happening. ) :-)
=
I have a couple of windows on which the AfterValueChange event is
triggered on a field upon hitting the delete key.
We all know that this should only happen upon leaving the field, ie. th=e
field loosing focus. The problem is that I'm trying to recreate this in=
a simple test class, but now it won't happen. I still have the original=
windows on which it is happening, but I would like to construct
something small and simple to send to Forte.
=
Any ideas as to why this could be happening?
=- -- =
Dr. Thomas Kunst mailto:[email protected]
sd&m GmbH & Co. KG http://www.sdm.de
software design & management
Thomas-Dehler-Str. 27, 81737 Muenchen, Germany
Tel +49 89 63812-221 Fax -444
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
From: Greg Gorham <[email protected]>
Date: Mon, 12 Oct 1998 09:51:07 -0400
Subject: math library
I need direction to the source of Forte libs that handle more scientific
math. Also included is the need for more scientific print formating. I
understand, second hand, that such material is available from third
party vendors/sources.
Thanks
Greg Gorham
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
End of forte-users-digest V1 #1111
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Greg,
This is a bit of a long shot, but has anyone experience with integrating
Forte with PI/Open. PI/Open is a variant of PICK. We have a requirement
to read and update a PI/Open database from within our Forte application,
and we would be most interested to hear from anyone who has experience in
doing this.
We are aware of a set of APIs provided with PI/Open that are written in
"C". We could wrapper these from within Forte, however the issue is that
the APIs provided are non-shared, and Forte requires shared libraries.Would be interersting, which operating system you're using.
You could write a dll (on windows) or shared library (on unix) wrappering the
original,statically linked "C"-Libs. This lib could be used by Forte.
Tim Hagemann
Tim Hagemann
Ascom GmbH Email: [email protected]
Charlottenburger Allee 61 Phone: +49 241 96806 273
D-52068 Aachen Fax: +49 241 96806 225
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
Not able to load jspx file from the classpath in Integrated OC4J
Hi,
I am using integrated OC4J from my jdeveloper to deploy my application as an ear file. It contains one jar file (with ejb deployment desscriptors) and a war file (including Model and Viewcontroller project contents).
The war file contails a jspx file (say Test.jspx) which contails a link to another jspx file (say Remote.jspx) which resides in its WEB-INF/lib directory.
When I load Test.jspx and click on the link, it fails to look for the Remote.jspx. It displays a message "OracleJSP error: java.io.FileNotFoundException:" on the web browser.
From the message written to log file, found that it is actually trying to search for Remote.jspx file in the current context.
Also tried including the classpath to the jar file containing the Remote.jspx file in orion-web.xml of the web application. using the following:
<classpath path="file:/xxx/yyy.jar" />
The issue is still there even after this.
Can anyone suggest me how to achieve this?
Thanks,
Aparnathis.getCodeBase(), would get RSPL / RLog or whatever you have in your codebase (html parameter of
the OBJECT/APPLET(:hope not) tag.
URL u = new URL(this.getCodeBase(), "../something.jpg");
would get RSPL/something.jpg
URL u = new URL(this.getCodeBase(), "../VIRA/JPG/00/1.jpg");
would get RSPL / VIRA / JPG / 00 / 1.jpg
If you are not sure what your codebase is your can print it out:
System.out.println(this.getCodeBase().toString());
Maybe you are looking for
-
Hi I am facing a problem with icmp in ASA 5505, i want to block the icmp from inside to outside , but outside to inside icmp should work, here the configuration. ASA Version 8.0(5) interface Vlan1 nameif inside security-level 100 ip address 192.16
-
When creating new group, no group folder is being created!
Hi, I passed from standard server to advanced one. I have 2 shared points called "group" and "user" configured on a separate hard drive. When I create a user (create home folder), the home folder is created. When I create a group, no folder is create
-
Multi-touch gestures stop working?
Apple, there is an annoying bug in Mountain Lion that needs to be fixed. Sometimes when we wake our computers from sleep, multi-touch gestures stop working. The problem is related to the Dock. Restarting the dock by typing "killall Dock" into Term
-
Exporting an internal table to memory
Hi I want to call an program from another program and want the values stored in an internal table used in the called program. how can i export an internal table to memory id an then import it. Regards Arun
-
After reinstallation I am unable to run java
I reinstalled the entire java package j2dsk1.4.2_03, and could no longer run java on my Windows XP. I would really appreciate your help. Whenever I try to run javac or java, I will get the following message: Error occurred during initialization of VM