[Optimus One, P500 Android Development] darthjuanan:
Hi!

I need work with Junos Pulse in my work, but I've seen that it fails in every CM7 and derived ROMs.

I've executed logcat in the shell of the cell, while I've using Junos, and my result is:

W/dalvikvm(20532): Unable to resolve superclass of Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs; (88)
W/dalvikvm(20532): Link of class 'Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;' failed
E/dalvikvm(20532): Could not find class 'net.juniper.junos.pulse.android.vpnservice.VpnServiceIcs', referenced from method net.juniper.junos.pulse.android.vpnservice.VpnService.addVpnDns
W/dalvikvm(20532): VFY: unable to resolve check-cast 840 (Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;) in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;
D/dalvikvm(20532): VFY: replacing opcode 0x1f at 0x0009
D/dalvikvm(20532): VFY: dead code 0x000b-000f in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;.addVpnDns (I)I
W/dalvikvm(20532): Unable to resolve superclass of Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs; (88)
W/dalvikvm(20532): Link of class 'Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;' failed
E/dalvikvm(20532): Could not find class 'net.juniper.junos.pulse.android.vpnservice.VpnServiceIcs', referenced from method net.juniper.junos.pulse.android.vpnservice.VpnService.addVpnRoute
W/dalvikvm(20532): VFY: unable to resolve check-cast 840 (Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;) in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;
D/dalvikvm(20532): VFY: replacing opcode 0x1f at 0x0009
D/dalvikvm(20532): VFY: dead code 0x000b-000f in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;.addVpnRoute (II)I
W/dalvikvm(20532): Unable to resolve superclass of Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs; (88)
W/dalvikvm(20532): Link of class 'Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;' failed
E/dalvikvm(20532): Could not find class 'net.juniper.junos.pulse.android.vpnservice.VpnServiceIcs', referenced from method net.juniper.junos.pulse.android.vpnservice.VpnService.establishVpn
W/dalvikvm(20532): VFY: unable to resolve check-cast 840 (Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;) in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;
D/dalvikvm(20532): VFY: replacing opcode 0x1f at 0x0009
D/dalvikvm(20532): VFY: dead code 0x000b-000f in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;.establishVpn ()I
W/dalvikvm(20532): Unable to resolve superclass of Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs; (88)
W/dalvikvm(20532): Link of class 'Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;' failed
E/dalvikvm(20532): Could not find class 'net.juniper.junos.pulse.android.vpnservice.VpnServiceIcs', referenced from method net.juniper.junos.pulse.android.vpnservice.VpnService.protectSocket
W/dalvikvm(20532): VFY: unable to resolve check-cast 840 (Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;) in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;
D/dalvikvm(20532): VFY: replacing opcode 0x1f at 0x0008
D/dalvikvm(20532): VFY: dead code 0x000a-000e in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;.protectSocket (I)I
W/dalvikvm(20532): Unable to resolve superclass of Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs; (88)
W/dalvikvm(20532): Link of class 'Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;' failed
E/dalvikvm(20532): Could not find class 'net.juniper.junos.pulse.android.vpnservice.VpnServiceIcs', referenced from method net.juniper.junos.pulse.android.vpnservice.VpnService.setVpnIp
W/dalvikvm(20532): VFY: unable to resolve check-cast 840 (Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;) in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;
D/dalvikvm(20532): VFY: replacing opcode 0x1f at 0x0009
D/dalvikvm(20532): VFY: dead code 0x000b-000f in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;.setVpnIp (III)I
D/dalvikvm(20532): Trying to load lib /mnt/asec/net.juniper.junos.pulse.android-1/lib/libSslVpnEngine.so 0x40517850
D/dalvikvm(20532): Added shared lib /mnt/asec/net.juniper.junos.pulse.android-1/lib/libSslVpnEngine.so 0x40517850
W/dalvikvm(20532): Unable to resolve superclass of Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs; (88)
W/dalvikvm(20532): Link of class 'Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;' failed
E/dalvikvm(20532): Could not find class 'net.juniper.junos.pulse.android.vpnservice.VpnServiceIcs', referenced from method net.juniper.junos.pulse.android.vpnservice.VpnService$2.protect
W/dalvikvm(20532): VFY: unable to resolve check-cast 840 (Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;) in Lnet/juniper/junos/pulse/android/vpnservice/VpnService$2;
D/dalvikvm(20532): VFY: replacing opcode 0x1f at 0x0006
D/dalvikvm(20532): VFY: dead code 0x0008-000b in Lnet/juniper/junos/pulse/android/vpnservice/VpnService$2;.protect (I)V
D/net.juniper.junos.pulse.android(20532): 3/22/2012,20:36:36.38:net.juniper.junos.pulse.android.vpnservice.VpnService:onCreate -1: onCreate
I/ActivityManager( 507): Starting: Intent { flg=0x34000000 cmp=berserker.android.apps.sshdroid/.MainActivity bnds=[0,138][320,202] } from pid -1
D/net.juniper.junos.pulse.android(20532): 3/22/2012,20:36:36.79:net.juniper.junos.pulse.android.vpnservice.VpnService:onCreate -1: Setting log directory /mnt/sdcard/Junos Pulse
E/net.juniper.junos.pulse.android(20532): Log file /mnt/sdcard/Junos Pulse ncsvc.log
D/net.juniper.junos.pulse.android(20532): Setting vpntools socket name /data/tmp/tunctl
D/net.juniper.junos.pulse.android(20532): Using vpnsvcldr API

I suspect it's a problem of the Dalvik cache. Does anybody know any solution?

Perhaps is it possible to disable Dalvik cache in CM7?

Thanks in advance :)