Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Using JNI with Cisco VPN API - getting error

Reply
Thread Tools

Using JNI with Cisco VPN API - getting error

 
 
Ed
Guest
Posts: n/a
 
      08-28-2006
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.

 
Reply With Quote
 
 
 
 
Gordon Beaton
Guest
Posts: n/a
 
      08-28-2006
On 28 Aug 2006 12:27:42 -0700, Ed wrote:
> 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?


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

--
[ 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
 
Reply With Quote
 
 
 
 
Ed
Guest
Posts: n/a
 
      08-28-2006
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.

Gordon Beaton wrote:
> On 28 Aug 2006 12:27:42 -0700, Ed wrote:
> > 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?

>
> 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
>
> --
> [ 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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN to ASA from Cisco VPN Client Getting Error K.J. 44 Cisco 2 10-20-2006 08:22 PM
Using Jni to access C++ api in Linux. gowda Java 1 06-13-2006 09:22 AM
Re: JNI: Error loading DLL from JNI DDL vasanth Java 0 01-25-2005 11:03 AM
Re: JNI: Error loading DLL from JNI DDL vasanth Java 0 01-25-2005 11:01 AM
Cisco vpn server enabled / VPN and no-VPN connections mix Elise Cisco 6 05-22-2004 07:55 AM



Advertisments