cancel
Showing results for 
Search instead for 
Did you mean: 

How to install signature capture for xMAM 3.0 (laptop and handheld)

florianbus
Contributor
0 Kudos

Hi,

can anyone help me to get the signature capture working. I haven't found any documentation about it.

Regards,

Florian

Accepted Solutions (1)

Accepted Solutions (1)

former_member304703
Contributor
0 Kudos

Hi Florian,

Did you check the note for signature capture? There is one especially for this functionality 897289 in MAM3.0 central note (833458).

If this is not enough, describe your problem in more details, especially where you deploy it: WinCE versus Win32. You can send details to me by email.

Regards,

Larissa

florianbus
Contributor
0 Kudos

Hi Larissa,

I have problems creating the zip file as described in the note. This is what I did:

Structure of signature.zip:

signature.zip

-


>META-INF\MANIFEST.MF

-


>signature\mamsignapplet.jar

-


>signature\signaturecapture.jar

-


>WEB-INF\lib\signaturecapture.jar

For deployment I selected component type "ADDON".

It's getting installed but doesn't work.

Thank you and regards,

Florian

former_member304703
Contributor
0 Kudos

Hi Florian,

Do you try it on laptop or PDA?

Cheers,

Larissa

florianbus
Contributor
0 Kudos

Hi Larissa,

first I want to try it on a laptop.

Thank you and regards,

Florian

Answers (3)

Answers (3)

florianbus
Contributor
0 Kudos

Hi,

I found the problem. It's IE7. In IE7 there's no MS JVM availiable, so you have to use SUN JVM!

For everyone whos interested, here's the structure of the created zip-file:

signarute.zip

-


>meta-inf\MANIFEST.MF

-


>signature\mamsignapplet.jar

-


>signature\signaturecapture.jar

-


>WEB-INF\lib\signaturecapture.jar

The entries for MANIFEST.MF are as follows (depends on the installation path of MAM!):

INSTALLATIONDIR: webapps/XMAM30_LAPTOP_SR04

In ALMConfig.properties you have to set the right JVM (SUN!):

JVM_TYPE=SUN

#JVM_TYPE=Microsoft

Now it works fine for both ways, starting via MobileEngine.exe or via browser http://localhost:4444/.

Regards,

Florian

former_member304703
Contributor
0 Kudos

Hi Florian,

I beleive all this is described in the signature capture edployment note that I have mentioned.

Regards,

Larissa

florianbus
Contributor
0 Kudos

Hi Larissa,

yes it is, but I found it not very practicable. Also there's no info on how to use it with IE7.

Now it works fine with IE7 and the jar files like described.

Thank you and regards,

Florian

former_member304703
Contributor
0 Kudos

Hi Florian,

not having MS JVM is not IE7 specific.

If you are on a previous IE version it can be uninstalled.

The point is to understand what is running on a specific machine.

Regards,

Larissa

florianbus
Contributor
0 Kudos

Hi Larissa,

sure, you have to know what's on your machine.

Yes, MS JVM is not IE specific, it's OS specific and Microsoft already discontinued shipping Java technology with the recent operating systems (XP, Vista). Also the MS JVM will reach its end of life on 12/31/2007,so you better use the Sun JVM and the jars from my point of view.

Thank you and regards,

Florian

Former Member
0 Kudos

Hi Florian,

Kindly check this thread, if it may be helpful to you.

https://forums.sdn.sap.com/click.jspa?searchID=2401808&messageID=2056429

Cheers,

Karthick

florianbus
Contributor
0 Kudos

Hi,

can anyone help me to get signature capture working? I wasn't able to get it working until now.

Thank you and regards,

Florian

former_member304703
Contributor
0 Kudos

Hi Florian,

I see from your previous post that you are deploying JAR version (not CAB) on laptop.

I hope you followed signature capture installation note and ensured that you don't have Microsoft JVM intsalled on your laptop as well as adjusted ALMConfig.properties file accrdingly.

Majority of signature capture problems are related with the JAR versus CAB signaturecapture ADD-ON version deployed being not corresponding to JVM used to run applets on the machine.

Cheers,

Larissa

florianbus
Contributor
0 Kudos

Hi Larissa,

I changed the entry in ALMConfig.properties to JVM_TYPE=SUN.

I also created a zip file with the above structure (is that structure right?)

I created a report, but there's no signature capture button shown. (I updated the system to MI 2.5 SP20).

Thank you and regards,

Florian

former_member304703
Contributor
0 Kudos

Hi Florian,

This sounds like a backend customizing issue.

There is a check on tje jsp that hides/displays this button - MAM backend customizing is tested in this check.

In MAM order profile - orders types have a flag about signature.

Cheers,

Larissa

florianbus
Contributor
0 Kudos

Hi Larissa,

got the button back.

But I'm still not able to get signature capture working. Can you please have a look at the structure of my zip file?

Thank you and regards,

Florian

florianbus
Contributor
0 Kudos

Hi Larissa,

that's the recent structure I use:

signature.zip

-


>META-INF\MANIFEST.MF

-


>signature\mamsignapplet.cab

-


>signature\signaturecapture.cab

-


>WEB-INF\lib\signaturecapture.cab

-


>WEB-INF\lib\mamsignapplet.cab

Here's the content of manifest.mf:

INSTALLATIONDIR: webapps/XMAM30_LAPTOP_SR04

Here's the log of the java console:

Loading: Class com.sap.mbs.mam.order.control.SignApplet not found

java.lang.ClassNotFoundException: com.sap.mbs.mam.order.control.SignApplet

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(Unknown Source)

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

at sun.plugin.AppletViewer.createApplet(Unknown Source)

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

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

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

Caused by: java.io.IOException: open HTTP connection failed.

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

... 10 more

Thanks to anyone who is able to help!

Regards,

Florian

former_member304703
Contributor
0 Kudos

Hi Florian,

this problem is 100% because of JVM used to run applet and type of files in your add-on do not match.

To start signature capture applet in MAM two things are important and have to match:

1. Cab files versus JAR files deployed

2. Setting in ALMConfig.properties file

this two components have to match and correspond to JVM type used when applet is loaded.

For a laptop there are 2 possibilities:

1. Microsoft JVM

2. Sun JVM

Check Internet properties which JVM is present AND which one is checked to use for applet.

If Microsoft is there, two possibilities:

1. if you run MAM from MI shell -> meaning you run application in a window opened when you double-click on MobileEngine.exe -> disregading on what is checked in Internet properties to run applet, Microsoft JVM will be used. You need cabs.

2. if you run MAM from an Internet browser window with http://localhost:4444/. JVM that is checked for applet in Internet properties will be used.

Cheers,

Larissa