Ray Stantz

Greenhorn
+ Follow
since Jan 07, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ray Stantz

If I want to set parameters for an Axis-based client app that's using SSL, is it best to set the parameters in the client-config.wsdd file or is setting them via a handler an option? Or some other better way? The app runs fine in non-SSL mode.

Thanks,
Ray S
19 years ago
I have an Axis client application that's using SSL, where the client proxy classes were generated via wsdl2java. I have a keystore with a valid SSL cert as well.
First time running, received failure due to missing keystore: "java.io.FileNotFoundException: C:\Documents and Settings\rstantz/.keystore: The system cannot find the file specified"

I renamed my keystore to '.keystore' and copied to this location, re-ran app, and it worked fine. At this point I'm thinking 5-minute fix, however I have been unable to configure the path/file name for this !@#$% keystore since revisiting the issue.

Upon examination of the Axis SunJSSESocketFactory class, it appears that the default location mentioned in the original error is the system parameter 'user.home' concatenated with a hardcoded '/.keystore'.

I've tried to force the use of a file and location that I specify through system property manipulation, handlers, AxisEngine/MessageContext/generated stubs methods and all to no avail.

Any ideas on what I'm missing here?

Thanks,
Ray S
19 years ago