on 03-03-2008 11:30 AM
Hi,
We have implemented MAM 3.0, however when we use the signature capture functionality, the applet gets loaded and we can capture the signature , but when we hit the save button , nothing happens, when we hit the clear button the captured signature is cleared.
Can anyone help me with locating the problem
Warm Regards,
Priya Ghosh
Hi Priya,
Because you are running signature capture(applet) in Laptop Client, system will not allow applet to access the system resources. You need to set the policies for accessing the system resources by using the policy tool available under \j2sdk1.4.2_08\bin
Just Click on the executable policytool.exe , now you will get a pop up window to set the permissions....
Click on Add Policy Entry /then Add permission tabs
now select All permissions and click ok followed by done.
now save the file -
>>
note: with the name .java.policy at the C:/documents and settings/ all users(or either any specific user that you are using)
Hope this help you.
Chinna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chinna,
thanks for the reply, i checked in \jre\lib\security java.policy file
added the following permission using policytool.exe
permission java.security.AllPermission;
still i am unable to hit save button in signature capture applet.
I tried creating a .java.policy file using policy tool for single user but was unable to do so, as when i again reopened the policytool.exe , it would not recognize the already existing .java.policy file which i had created earlier. so i added the permission in the java.policy file of java home.
Please help!
Warm Regards,
Priya Ghosh
Hi am able to hit the save button now, i could finally add the permission in the java policy file. But now after hitting the save button i am getting error
An error has occurred
Unable to locate selected object
Component: order
View: com.sap.mbs.mam.order.control.CaptureSignature
Event: onBack
the signature gif image is getting saved in the SAP Mobile Infrastructure\work folder.
Kindly suggest!!
Regards,
Priya Ghosh
Hi Priya,
to overcome laptops' restictions with writing on hard drive you should use a signed applet instead of playing with security policies.
MAM delivers signed applet so that signature capture fucntionality should work without changing policies.
1. If you use standard MAM and face this problem - report it to SAP. It means that add-on provided by SAP is not built properly and they have to fix it.
2. If you enhanced fucntionality - search web to find how to sign your applet. It is different for SUn versus Microsoft JVM.
Cheers,
Larissa Limarova
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.