What do you mean when you say 'When I run it in Axis'?
AXIS is not a platform but a WS toolkit.
Are you running AXIS inside tomcat? Or a different App Server?

Patrick Martin wrote:
Hi, just a quick comment.

"Access Violation" is a "proper programmer"'s term for attempts to
read/write invalid memory locations.

It never happens in Java (almost), but is a classic fault in systems
composed of (you guessed it) 3rd party dlls.

I'm suspecting you're going down the wrong route by imagining the issue
is related to any kind of *security* sandbox, going off the Access
Violation message.

You may instead have a problem with incompatible versions of dlls loaded
by the hosting process (tomcat's VM), which might explain the contrast
with the console program.

A fix might be to find some way to fix the OS environment after tomcat
has loaded so the right native libraries can be found in a well-known
place you have specified rather than using the default system search
algorithm.

Another thought occurs.

What are these dlls, and what are they used for?

Finally, one is not really supposed to use dlls in proper J2EE apps, for
these kinds of reasons.
Is there any way you can replace them?

Hope This Helps

Patrick





-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Sent: 28 January 2005 23:12
To: [EMAIL PROTECTED]
Subject: Re: HELP! DLLs and Axis



No bites on this one yet?

Any ideas to help me properly load Windows DLLs into Axis such that the
Axis JVM will not throw me Access Violation errors when accessing these
DLLs?

Either what I'm asking for no one else is doing.. or it's so n00b that
no one else is answering :)

Many thanks--

Matt Dunnerstick (MAZD)
[EMAIL PROTECTED]

__________________

Hello,

I researched long and hard, and cannot find out how to do this.  I've
had a project delayed a year trying to find this answer.. after tracking
various channels, seems to point to this:

I am using Java Axis 1.1.  I've run either Java 1.3 and 1.4.  I have
some 3rd party JARs that reference windows DLL files.

When I run the program in a DOS Java client, and set up my classpath and
path, it works fine. When I run it in Axis, I get "Access Violation"
errors.

How can I include these DLLs so they don't fall outside of the Java
sandbox, and thus circumvent the "Access Violation" errors?  I know it
is possible, as I've done it once before, but cannot remember how.

Much much much appreciated.

Matt Dunnerstick (MAZD)
[EMAIL PROTECTED]



-- Stuart



Reply via email to