You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-user@ws.apache.org by Ryuken SEKI <se...@jp.panasonic.com> on 2005/11/14 10:20:14 UTC
failed to run the Quick Demo
I'm a beginning developer of Web service application, and tried to run
the Pubscribe Quick Demonstration, but encounterd a "BUILD FAILED" in
the first stage of the installation.
At the end of this mail is the log of the command "ant compile deploy" which is
the 6th step of the Quick Demonstration.
http://ws.apache.org/pubscribe/getting_started.html
There is an exception "UnknownHostException" but I don't know why this
exception occurs while deploying. I ask for help on this error.
My development enviroment is below:
OS: RedHat Linux 9
Java: J2SE ver 1.4.2_09-b05
Ant: ver 1.6.5
Tomcat: ver 4.1.31
Axis: ver 1.3
Pubscribe: ver 1.1
Ryuken SEKI
------------ log of the command "ant compile deploy" ------------
[ryuken@ryuken10 filesystem]$ ant compile deploy
Buildfile: build.xml
init:
[echo] Using webapp dir: /usr/local/tomcat/webapps/pubscribe
compile:
init:
deploy:
[copy] Copying 1 file to /usr/local/tomcat/webapps/pubscribe/WEB-INF/classes/wsdl
[copy] Copying /home/ryuken/archive/WebService/Pubscribe/pubscribe-1.1/examples/filesystem/src/wsdl/FileSystem.wsdl to /usr/local/tomcat/webapps/pubscribe/WEB-INF/classes/wsdl/FileSystem.wsdl
[echo] Deploying filesystem classes to /usr/local/tomcat/webapps/pubscribe/WEB-INF/classes/...
[wsddUpdater] --> 11-14-05 17:47:54 WARN [main] JavaUtils: (Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.)
[wsddUpdater] Deploying WSDD /home/ryuken/archive/WebService/Pubscribe/pubscribe-1.1/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_deploy.wsdd to configuration WSDD /usr/local/tomcat/webapps/pubscribe/WEB-INF/server-config.wsdd...
[springBeansXmlMerger] Loading target spring-beans document from /usr/local/tomcat/webapps/pubscribe/WEB-INF/classes/wsrf-config.xml ...
BUILD FAILED
/home/ryuken/archive/WebService/Pubscribe/pubscribe-1.1/examples/filesystem/build.xml:70: java.net.UnknownHostException: www.springframework.org
Total time: 16 seconds
Re: failed to run the Quick Demo
Posted by Ryuken SEKI <se...@jp.panasonic.com>.
Thanks to the help of a Japanese engineer, I resolved the
problem. I missed the setting of the Proxy.
Thank you.
Ryuken SEKI
> I'm a beginning developer of Web service application, and tried to run
> the Pubscribe Quick Demonstration, but encounterd a "BUILD FAILED" in
> the first stage of the installation.
>
> At the end of this mail is the log of the command "ant compile deploy" which is
> the 6th step of the Quick Demonstration.
> http://ws.apache.org/pubscribe/getting_started.html
> There is an exception "UnknownHostException" but I don't know why this
> exception occurs while deploying. I ask for help on this error.
>
>
> My development enviroment is below:
> OS: RedHat Linux 9
> Java: J2SE ver 1.4.2_09-b05
> Ant: ver 1.6.5
> Tomcat: ver 4.1.31
> Axis: ver 1.3
> Pubscribe: ver 1.1
>
>
> Ryuken SEKI
>
>
> ------------ log of the command "ant compile deploy" ------------
> [ryuken@ryuken10 filesystem]$ ant compile deploy
> Buildfile: build.xml
>
> init:
> [echo] Using webapp dir: /usr/local/tomcat/webapps/pubscribe
>
> compile:
>
> init:
>
> deploy:
> [copy] Copying 1 file to /usr/local/tomcat/webapps/pubscribe/WEB-INF/classes/wsdl
> [copy] Copying /home/ryuken/archive/WebService/Pubscribe/pubscribe-1.1/examples/filesystem/src/wsdl/FileSystem.wsdl to /usr/local/tomcat/webapps/pubscribe/WEB-INF/classes/wsdl/FileSystem.wsdl
> [echo] Deploying filesystem classes to /usr/local/tomcat/webapps/pubscribe/WEB-INF/classes/...
> [wsddUpdater] --> 11-14-05 17:47:54 WARN [main] JavaUtils: (Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.)
> [wsddUpdater] Deploying WSDD /home/ryuken/archive/WebService/Pubscribe/pubscribe-1.1/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_deploy.wsdd to configuration WSDD /usr/local/tomcat/webapps/pubscribe/WEB-INF/server-config.wsdd...
> [springBeansXmlMerger] Loading target spring-beans document from /usr/local/tomcat/webapps/pubscribe/WEB-INF/classes/wsrf-config.xml ...
>
> BUILD FAILED
> /home/ryuken/archive/WebService/Pubscribe/pubscribe-1.1/examples/filesystem/build.xml:70: java.net.UnknownHostException: www.springframework.org
>
> Total time: 16 seconds
Re: failed to run the Quick Demo
Posted by Ryuken SEKI <se...@jp.panasonic.com>.
To: Sal Campana
> Are you behind a firewall? I suspect you are...Try uncommenting/setting
> the proxy settings in the build.properties file for your settings and
> see if that works.
You're right. I've done my browser's proxy setting long
long ago. So, I forgot to set the proxy address.
Thank you for your kindness.
Ryuken SEKI
> Ryuken SEKI wrote:
>
> >I'm a beginning developer of Web service application, and tried to run
> >the Pubscribe Quick Demonstration, but encounterd a "BUILD FAILED" in
> >the first stage of the installation.
> >
> >At the end of this mail is the log of the command "ant compile deploy" which is
> >the 6th step of the Quick Demonstration.
> > http://ws.apache.org/pubscribe/getting_started.html
> >There is an exception "UnknownHostException" but I don't know why this
> >exception occurs while deploying. I ask for help on this error.
> >
> >
> >My development enviroment is below:
> > OS: RedHat Linux 9
> > Java: J2SE ver 1.4.2_09-b05
> > Ant: ver 1.6.5
> > Tomcat: ver 4.1.31
> > Axis: ver 1.3
> > Pubscribe: ver 1.1
> >
> >
> >Ryuken SEKI
> >
> >
> >------------ log of the command "ant compile deploy" ------------
> >[ryuken@ryuken10 filesystem]$ ant compile deploy
> >Buildfile: build.xml
> >
> >init:
> > [echo] Using webapp dir: /usr/local/tomcat/webapps/pubscribe
> >
> >compile:
> >
> >init:
> >
> >deploy:
> > [copy] Copying 1 file to /usr/local/tomcat/webapps/pubscribe/WEB-INF/classes/wsdl
> > [copy] Copying /home/ryuken/archive/WebService/Pubscribe/pubscribe-1.1/examples/filesystem/src/wsdl/FileSystem.wsdl to /usr/local/tomcat/webapps/pubscribe/WEB-INF/classes/wsdl/FileSystem.wsdl
> > [echo] Deploying filesystem classes to /usr/local/tomcat/webapps/pubscribe/WEB-INF/classes/...
> >[wsddUpdater] --> 11-14-05 17:47:54 WARN [main] JavaUtils: (Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.)
> >[wsddUpdater] Deploying WSDD /home/ryuken/archive/WebService/Pubscribe/pubscribe-1.1/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_deploy.wsdd to configuration WSDD /usr/local/tomcat/webapps/pubscribe/WEB-INF/server-config.wsdd...
> >[springBeansXmlMerger] Loading target spring-beans document from /usr/local/tomcat/webapps/pubscribe/WEB-INF/classes/wsrf-config.xml ...
> >
> >BUILD FAILED
> >/home/ryuken/archive/WebService/Pubscribe/pubscribe-1.1/examples/filesystem/build.xml:70: java.net.UnknownHostException: www.springframework.org
> >
> >Total time: 16 seconds
> >
> >
> >
> Are you behind a firewall? I suspect you are...Try uncommenting/setting
> the proxy settings in the build.properties file for your settings and
> see if that works.
>
> -S
Re: failed to run the Quick Demo
Posted by Sal Campana <sc...@apache.org>.
Ryuken SEKI wrote:
>I'm a beginning developer of Web service application, and tried to run
>the Pubscribe Quick Demonstration, but encounterd a "BUILD FAILED" in
>the first stage of the installation.
>
>At the end of this mail is the log of the command "ant compile deploy" which is
>the 6th step of the Quick Demonstration.
> http://ws.apache.org/pubscribe/getting_started.html
>There is an exception "UnknownHostException" but I don't know why this
>exception occurs while deploying. I ask for help on this error.
>
>
>My development enviroment is below:
> OS: RedHat Linux 9
> Java: J2SE ver 1.4.2_09-b05
> Ant: ver 1.6.5
> Tomcat: ver 4.1.31
> Axis: ver 1.3
> Pubscribe: ver 1.1
>
>
>Ryuken SEKI
>
>
>------------ log of the command "ant compile deploy" ------------
>[ryuken@ryuken10 filesystem]$ ant compile deploy
>Buildfile: build.xml
>
>init:
> [echo] Using webapp dir: /usr/local/tomcat/webapps/pubscribe
>
>compile:
>
>init:
>
>deploy:
> [copy] Copying 1 file to /usr/local/tomcat/webapps/pubscribe/WEB-INF/classes/wsdl
> [copy] Copying /home/ryuken/archive/WebService/Pubscribe/pubscribe-1.1/examples/filesystem/src/wsdl/FileSystem.wsdl to /usr/local/tomcat/webapps/pubscribe/WEB-INF/classes/wsdl/FileSystem.wsdl
> [echo] Deploying filesystem classes to /usr/local/tomcat/webapps/pubscribe/WEB-INF/classes/...
>[wsddUpdater] --> 11-14-05 17:47:54 WARN [main] JavaUtils: (Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.)
>[wsddUpdater] Deploying WSDD /home/ryuken/archive/WebService/Pubscribe/pubscribe-1.1/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_deploy.wsdd to configuration WSDD /usr/local/tomcat/webapps/pubscribe/WEB-INF/server-config.wsdd...
>[springBeansXmlMerger] Loading target spring-beans document from /usr/local/tomcat/webapps/pubscribe/WEB-INF/classes/wsrf-config.xml ...
>
>BUILD FAILED
>/home/ryuken/archive/WebService/Pubscribe/pubscribe-1.1/examples/filesystem/build.xml:70: java.net.UnknownHostException: www.springframework.org
>
>Total time: 16 seconds
>
>
>
Are you behind a firewall? I suspect you are...Try uncommenting/setting
the proxy settings in the build.properties file for your settings and
see if that works.
-S