List Info

Thread: Problem with deploying




Problem with deploying
user name
2006-04-18 08:02:37

Hi all,

I have installed WSRF 1.1 and followed the steps for the Quick
Demonstration to try the example there. The steps are:



1.      Using a text editor, open
INSTALL_DIR/examples/filesystem/build.properties.
2.      Change the wsrf.webapp.dir property and set it to the location
where the Apache WSRF Web application is installed. If you are using
Tomcat and have CATALINA_HOME set, you do not need to modify this
property.
3.      Uncomment and modify the proxy settings if you require a proxy to
connect to external Web sites.
4.      Save and close build.properties.
5.      Open a command prompt and change directories to
INSTALL_DIR/examples/filesystem.
6.      Run the following command:
ant compile deploy
7.      Start Tomcat, or restart it if it is already started.
8.      Using a browser, go to http://localhost:8080/wsrf/services and
verify that the filesystem service is deployed.
9.      In this step, an Ant-based SOAP client that is included in the
distribution is used to send a SOAP request to the filesystem Web service.
The request uses the GetMultipleResourceProperties operation to return a
list of resource properties for the filesystem resource. From a command
prompt change directories to INSTALL_DIR/examples/filesystem directory and
run the following command:

ant -f soapclient.xml -Durl=http://localhost:8080/wsrf/services/filesystem
-Dxml=requests/GetMultipleResourceProperties.soap

Steps 1-5 are working, but as soon as I type "ant compile deploy" I get
the following error with deploying:


C:\wsrf\wsrf-1.1\examples\filesystem>ant compile deploy
Buildfile: build.xml

init:
    [echo] Using webapp dir: C:\Tomcat/webapps/wsrf

compile:

init:

deploy:
    [copy] Copying 1 file to C:\Tomcat\webapps\wsrf\WEB-INF\classes\wsdl
    [copy] Copying
C:\wsrf\wsrf-1.1\examples\filesystem\src\wsdl\FileSystem.wsd
l to C:\Tomcat\webapps\wsrf\WEB-INF\classes\wsdl\FileSystem.wsdl
    [echo] Deploying filesystem classes to
C:\Tomcat/webapps/wsrf/WEB-INF/class
es/...
[wsddUpdater] --> 04-13-06 17:23:51  WARN [main] JavaUtils: Unable to find
requi
red classes (javax.activation.DataHandler and
javax.mail.internet.MimeMultipart)
. Attachment support is disabled.
[wsddUpdater] Deploying WSDD
C:\wsrf\wsrf-1.1\examples\filesystem\src\java\org\a
pache\ws\resource\example\filesystem\Filesystem_deploy.wsdd to
configuration WSD
D C:\Tomcat\webapps\wsrf\WEB-INF\server-config.wsdd...
[springBeansXmlMerger] Loading target spring-beans document from
C:\Tomcat\webap
ps\wsrf\WEB-INF\classes\wsrf-config.xml ...

BUILD FAILED
C:\wsrf\wsrf-1.1\examples\filesystem\build.xml:70:
java.net.ConnectException: Co
nnection refused: connect

Is this error because of the proxy configuration????? I did configure the
build.properties file.... If not, what is the reason of the
java.net.ConnectException error??


Many thanks in advance,
Veneta
Problem with deploying
user name
2006-04-19 14:00:16
Veneta Dobreva wrote:

>
> Hi all,
>
> I have installed WSRF 1.1 and followed the steps for
the Quick
> Demonstration to try the example there. The steps are:
>
>
>
> 1.      Using a text editor, open
> INSTALL_DIR/examples/filesystem/build.properties.
> 2.      Change the wsrf.webapp.dir property and set it
to the location
> where the Apache WSRF Web application is installed. If
you are using
> Tomcat and have CATALINA_HOME set, you do not need to
modify this
> property.
> 3.      Uncomment and modify the proxy settings if you
require a proxy to
> connect to external Web sites.
> 4.      Save and close build.properties.
> 5.      Open a command prompt and change directories to
> INSTALL_DIR/examples/filesystem.
> 6.      Run the following command:
> ant compile deploy
> 7.      Start Tomcat, or restart it if it is already
started.
> 8.      Using a browser, go to http://localhost:
8080/wsrf/services and
> verify that the filesystem service is deployed.
> 9.      In this step, an Ant-based SOAP client that is
included in the
> distribution is used to send a SOAP request to the
filesystem Web 
> service.
> The request uses the GetMultipleResourceProperties
operation to return a
> list of resource properties for the filesystem
resource. From a command
> prompt change directories to
INSTALL_DIR/examples/filesystem directory 
> and
> run the following command:
>
> ant -f soapclient.xml 
> -Durl=http:/
/localhost:8080/wsrf/services/filesystem
> -Dxml=requests/GetMultipleResourceProperties.soap
>
> Steps 1-5 are working, but as soon as I type "ant
compile deploy" I get
> the following error with deploying:
>
>
> C:\wsrf\wsrf-1.1\examples\filesystem>ant compile
deploy
> Buildfile: build.xml
>
> init:
>     [echo] Using webapp dir: C:\Tomcat/webapps/wsrf
>
> compile:
>
> init:
>
> deploy:
>     [copy] Copying 1 file to
C:\Tomcat\webapps\wsrf\WEB-INF\classes\wsdl
>     [copy] Copying
>
C:\wsrf\wsrf-1.1\examples\filesystem\src\wsdl\FileSys
tem.wsd
> l to
C:\Tomcat\webapps\wsrf\WEB-INF\classes\wsdl\FileSyste
m.wsdl
>     [echo] Deploying filesystem classes to
> C:\Tomcat/webapps/wsrf/WEB-INF/class
> es/...
> [wsddUpdater] --> 04-13-06 17:23:51  WARN [main]
JavaUtils: Unable to 
> find
> requi
> red classes (javax.activation.DataHandler and
> javax.mail.internet.MimeMultipart)
> . Attachment support is disabled.
> [wsddUpdater] Deploying WSDD
>
C:\wsrf\wsrf-1.1\examples\filesystem\src\java\org\a
>
pache\ws\resource\example\filesystem\Filesystem_deploy.
wsdd to
> configuration WSD
> D
C:\Tomcat\webapps\wsrf\WEB-INF\server-config.wsdd...
> [springBeansXmlMerger] Loading target spring-beans
document from
> C:\Tomcat\webap
> ps\wsrf\WEB-INF\classes\wsrf-config.xml ...
>
> BUILD FAILED
> C:\wsrf\wsrf-1.1\examples\filesystem\build.xml:70:
> java.net.ConnectException: Co
> nnection refused: connect
>
> Is this error because of the proxy configuration????? I
did configure the
> build.properties file.... If not, what is the reason of
the
> java.net.ConnectException error??
>
>
> Many thanks in advance,
> Veneta

Java ConnectionExceptions could be caused by a variety of
things...Yes 
it certainly could have something to do with your proxy
settings...Can 
you ping the address from that box?  maybe do a simple java
app which 
connects to the same location and see if you have an
issue...

------------------------------------------------------------
---------
To unsubscribe, e-mail: wsrf-user-unsubscribews.apache.org
For additional commands, e-mail: wsrf-user-helpws.apache.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )