Skip to main content

wscompile: -security is an invalid option or argument

2 replies [Last post]
Joined: 2005-04-06
Points: 0

i'm getting this error when compiling:

[wscompile] error: -security is an invalid option or argument
[wscompile] Usage: wscompile [options] configuration_file

i checked the version of the tool with wscompile -version and i get:

JAX-RPC Standard Implementation (1.1.3, build R1)

i'm getting this error when compiling the jaas_sample in jwsdp-2.0; would like to get past that error...thoughts anybody?

-- poc

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2006-05-24
Points: 0

I had the same problem, and fixed it by adding the ws-security plugin jar file to the classpath used when running wscompile. Once this is done wscompile recognises the -security option.

In my case (the xws-security examples from the jwsdp2.0, and using the sun application server) I edited jwsdp2.0/xws-security/samples/buildconfig/sjsas-config.xml
and added the following 3 lines to the definition of the path "app.classpath":

See also this thread:

Joined: 2003-06-20
Points: 0


This is the wrong forum for this question.

Please try asking on the following forum instead: