You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Tim Johnson <Ti...@Sunquest.com> on 2001/10/01 17:13:38 UTC

RE: stock example

I've tried putting the users.lst in the following directories without any
success:

ix@sqnklab02=> find /sunquest/web -name users.lst -print
/sunquest/web/tomcat/webapps/axis/WEB-INF/classes/samples/stock/users.lst
/sunquest/web/tomcat/webapps/axis/WEB-INF/users.lst
/sunquest/web/tomcat/webapps/users.lst
/sunquest/web/tomcat/users.lst
/sunquest/web/axis-1_0/samples/stock/users.lst

I am assuming that the 'current directory of my WEB application' is the 
following:
TOMCAT_HOME=/sunquest/web/tomcat
ps auxww|grep tomcat
root     28361  0.0  4.1 229896 10676 pts/1  S    08:00   0:00
/sunquest/web/jdk
1.3.0_02/bin/i386/native_threads/java -Dtomcat.home=/sunquest/web/tomcat
org.apa
che.tomcat.startup.Tomcat

-----Original Message-----
From: Glen Daniels [mailto:gdaniels@macromedia.com]
Sent: Friday, September 28, 2001 3:14 PM
To: 'axis-user@xml.apache.org'
Subject: RE: stock example



Hi Tim:

Are you sure that the "users.lst" file is in the current directory of your
web application?

> -----Original Message-----
> From: Tim Johnson [mailto:Tim.Johnson@Sunquest.com]
> Sent: Friday, September 28, 2001 4:32 PM
> To: 'axis-user@xml.apache.org'
> Subject: stock example
> 
> 
> I am having a heck of a time trying to get the stock example to work.
> I tried changing the deploy.xml:
>   <service name="urn:xmltoday-delayed-quotes" 
> request="authen" pivot="stock"
> >
> 
> Then I get the following error:
> ix@sqnklab02=> java samples.stock.GetQuote -uuser1 -wpass1 XXX
> AxisFault
>   faultCode: null
>   faultString: User 'user1' not authenticated
>   faultActor: null
>   faultDetails: null
> 
> I tried changing the deploy.xml:
>   <service name="urn:xmltoday-delayed-quotes" 
> request="author" pivot="stock"
> >
> Then I get the following error:
> ix@sqnklab02=> java samples.stock.GetQuote -uuser1 -wpass1 XXX
> AxisFault
>   faultCode: null
>   faultString: Need to specify a user for authorization!
>   faultActor: null
>   faultDetails: null
> 
> I tried changing the deploy.xml:
>   <service name="urn:xmltoday-delayed-quotes" request="stock" 
> pivot="stock"
> >
> Then I get the following error:
> ix@sqnklab02=> java samples.stock.GetQuote -uuser1 -wpass1 XXX
> AxisFault
>   faultCode: null
>   faultString: User 'user1' not authenticated
>   faultActor: null
>   faultDetails: null
>