axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From suresh attanayake <suresh.attanay...@gmail.com>
Subject [Rampart] Unable to run Rampart Sample
Date Sun, 12 Feb 2012 17:11:02 GMT
Hi Devs,

When I try to run Rampart samples I get the following error. I tried with
both 1_6 branch and trunk. I use Ant version 1.8.2 in Ubuntu 11.10 with
Open JDK 1.6.0_23. I have no idea of why this is happening and looking
forward for your assistance.

sga@bismark:~/svn-local/apache/rampart/1_6/modules/rampart-samples/policy$
ant service.01
Buildfile:
/home/sga/svn-local/apache/rampart/1_6/modules/rampart-samples/policy/build.xml

check.dependency:

service.01:
    [javac]
/home/sga/svn-local/apache/rampart/1_6/modules/rampart-samples/policy/build.xml:157:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 2 source files to
/home/sga/svn-local/apache/rampart/1_6/modules/rampart-samples/policy/build/temp
    [javac]
/home/sga/svn-local/apache/rampart/1_6/modules/rampart-samples/policy/sample01/src/org/apache/rampart/samples/policy/sample01/PWCBHandler.java:19:
package org.apache.ws.security does not exist
    [javac] import org.apache.ws.security.WSPasswordCallback;
    [javac]                              ^
    [javac]
/home/sga/svn-local/apache/rampart/1_6/modules/rampart-samples/policy/sample01/src/org/apache/rampart/samples/policy/sample01/PWCBHandler.java:34:
cannot find symbol
    [javac] symbol  : class WSPasswordCallback
    [javac] location: class
org.apache.rampart.samples.policy.sample01.PWCBHandler
    [javac]             WSPasswordCallback pwcb =
(WSPasswordCallback)callbacks[i];
    [javac]             ^
    [javac]
/home/sga/svn-local/apache/rampart/1_6/modules/rampart-samples/policy/sample01/src/org/apache/rampart/samples/policy/sample01/PWCBHandler.java:34:
cannot find symbol
    [javac] symbol  : class WSPasswordCallback
    [javac] location: class
org.apache.rampart.samples.policy.sample01.PWCBHandler
    [javac]             WSPasswordCallback pwcb =
(WSPasswordCallback)callbacks[i];
    [javac]                                        ^
    [javac]
/home/sga/svn-local/apache/rampart/1_6/modules/rampart-samples/policy/sample01/src/org/apache/rampart/samples/policy/sample01/PWCBHandler.java:35:
cannot find symbol
    [javac] symbol  : variable WSPasswordCallback
    [javac] location: class
org.apache.rampart.samples.policy.sample01.PWCBHandler
    [javac]             if (pwcb.getUsage() ==
WSPasswordCallback.USERNAME_TOKEN_UNKNOWN) {
    [javac]                                    ^
    [javac] 4 errors


-- 

Thanks,
Suresh Attanayake

Blog : http://sureshatt.blogspot.com/
LinkedIn : http://www.linkedin.com/pub/suresh-attanayake/16/165/181
Twitter : http://twitter.com/sureshatt

Mime
View raw message