Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2006

Tip: Looking for answers? Try searching our database.

Using JNI with Cisco VPN API - getting error

Thread view: 
Ed - 28 Aug 2006 20:27 GMT
I have created a JNI path to access the Cisco VPN API.  On one machine
it appears to work - but there is no wireless card so I cannot truly
test that it does what I wish.  So I moved to another machine where
there is a wireless card.  However, on this machine I am getting an
error when I connect -

transport error 202: recv error: Software caused connection abort
["transport.c",L41]

Does anyone have an idea what to adjust to correct this issue?  It is
quite annoying to have something work on one machine and not another.
I have tried to verify environment and, to the extent I have been able
to validate, they appear the same.

What I have running is the following:

VPNChannel - Java running in NetBeans
NativeVPNChannel - C++ DLL that calls the Cisco API
VPNAPI.DLL - Cisco API DLL written in C++ - provided by Cisco

I know I am getting all the way down to the request for the Cisco
connect because I have a message box just before.  The error appears to
be happening within the Cisco software or some interaction between it
and Java.  I have seen other references to a similar error but the
solutions provided were not applicable to my issue.
Gordon Beaton - 28 Aug 2006 21:20 GMT
> I have created a JNI path to access the Cisco VPN API. On one
> machine it appears to work - but there is no wireless card so I
[quoted text clipped - 7 lines]
>
> Does anyone have an idea what to adjust to correct this issue?

Presumably you're doing something wrong at or near transport.c:41.

If you have a problem directly related to JNI then by all means post
some code and ask some questions about JNI or Java.

But if you're having problem with a specific C library (itself
completely unrelated to JNI), then simply posting an error reported by
the library isn't going to get you meaningful help here, especially
when you don't bother to post any code.

I really think you need to contact the vendor or ask in a forum
related to the Cisco library.

/gordon

Signature

[ don't email me support questions or followups ]
g o r d o n  +  n e w s  @  b a l d e r 1 3 . s e

Ed - 28 Aug 2006 21:30 GMT
I posted here because I thought the error was related to the JNI logic
written.  I am digging deeper.  If I am able to better isolate I will
post sample code.

Thanks.

> > I have created a JNI path to access the Cisco VPN API. On one
> > machine it appears to work - but there is no wireless card so I
[quoted text clipped - 26 lines]
> [ don't email me support questions or followups ]
> g o r d o n  +  n e w s  @  b a l d e r 1 3 . s e


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.