You are viewing a plain text version of this content. The canonical link for it is here.
Posted to agila-dev@incubator.apache.org by Matthieu Riou <ma...@gmail.com> on 2006/03/20 07:52:19 UTC

Re: matthieu its really urgent,plz help:Can't deploy example1

Try to add the following element in the WSDL definition (wsdef.xml)
together with the other message declarations:

    <message name="errorMessage">
        <part name="fault" element="xsd:string"/>
    </message>

Matthieu.

On 3/20/06, nancy <na...@daffodildb.com> wrote:
>
>
> Hi,
>
> I have added bpel namespace in definition:
> xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
>
> But Still getting error
>
> Couldn't find a definition for Message:
> name={http://www.apache.org/agila/samples/exemple1/definition/}errorMessage
>
> Please help!
>
> -----Original Message-----
> From: nancy [mailto:nancy.aggarwal@daffodildb.com]
> Sent: Friday, March 17, 2006 1:08 PM
> To: 'agila-dev@incubator.apache.org'; 'matthieu.riou@gmail.com'
> Subject: urgent:Can't deploy example1
>
> Thanks Matthieu,It was a corrupted download.now I have deployed agila in
> tomcat 5.0.I am facing problem in deploying example1:
>
> I am having 2 xml:
> Wsdef.xml
> Process.xml
>
> Please can you clear it which file I should specify in deploying?
>
> 1) Select a resource to deploy (XML schema or WSDL import) (Which file I
> must give?)
> 2) Select a WSDL to deploy (main WSDL file) (is it wsdef.xml?)
> 3) select a process to deploy (WS-BPEL description) (Is it process.xml)
>
>
> I gave wsdef.xml in 1 and 2.
>
> Step 1 submitted without any error but
>
> In 2) I am facing problem
>
> Errors have been found when validating your document.
>
> Couldn't find a definition for Message:
> name={http://www.apache.org/agila/samples/exemple1/definition/}errorMessage
>
> In 3) error is:
>
> Remote error: org.apache.agila.bpel.deployer.exception.DeploymentException:
> Could not find the WSDL document referenced in the provided BPEL process
> description, please make sure you deployed the referenced WSDL description.
>
> I found in agila mailing list a solution for 2) :
>
> http://mail-archives.apache.org/mod_mbox/incubator-agila-dev/200506.mbox/%3C
> ac0203f605060708211ff42d1c@mail.gmail.com%3E
>
> So I changed in wsdef but facing error:
>
>  Remote error :
> org.apache.agila.bpel.deployer.exception.DeploymentException: Could not
> parse document..
>
> Changes done by me:
>
> <bpel:property name="customerFirstName" type="xsd:string"/>
> <bpel:propertyAlias propertyName="customerFirstName"
> messageType="creditInformationMessage" part="firstName"/>
> <bpel:propertyAlias propertyName="customerFirstName"
> messageType="approvalMessage" part="firstName"/>
> <bpel:propertyAlias propertyName="customerFirstName"
> messageType="riskAssessmentMessage" part="firstName"/>
>
> <bpel:property name="customerLastName" type="xsd:string"/>
> <bpel:propertyAlias propertyName="customerLastName"
> messageType="creditInformationMessage" part="lastName"/>
> <bpel:propertyAlias propertyName="customerLastName"
> messageType="approvalMessage" part="lastName"/>
> <bpel:propertyAlias propertyName="customerLastName"
> messageType="riskAssessmentMessage" part="lastName"/>
>
> <bpel:property name="workitem" type="xsd:string"/>
> <bpel:propertyAlias propertyName="workitem" messageType="workMessage"
> part="wipart" query="/workitemid"/>
>
>
> I think its due to undefined namespace bpel in wsdef.xml definition.
> Please tell which namespace I must define to define bpel.
>
> Thanks,
> Nancy
>
>
>
> -----Original Message-----
> From: Matthieu Riou [mailto:matthieu.riou@gmail.com]
> Sent: Friday, March 17, 2006 1:28 AM
> To: agila-dev@incubator.apache.org
> Subject: Re: can't find 'xindice.war'
>
> Well, I have no problem unzipping or untargzipping the binary webapp
> distribution... perhaps a corrupted download?
>
> Matthieu.
>
> On 3/16/06, nancy <na...@daffodildb.com> wrote:
> > Hi,
> >
> > I have built successfully Agila Bpel using Maven1.0.Now the problem is I
> > can't find 'xindice.war'
> >
> > As per instruction in:
> > *Copy Xindice war file included in Xindice's distribution in
> tomcat/webapps
> > (make sure the file name is 'xindice.war'
> >
> > I have downloaded src many times from
> > http://xml.apache.org/xindice/download.cgi But problem is that src is not
> > compilable error:
> >
> >   [echo] Compiling Source
> >  [javac] Compiling 93 source files to
> > E:\Repository\AgilaRequiredProjects\xml-xindice-1.0\java\classes
> >  [javac]
> >
> \xml-xindice-1.0\java\src\org\apache\xindice\core\query\XPathQueryResolver.j
> > ava:502
> > rray required, but org.apache.xpath.compiler.OpMapVector found
> >  [javac]          int endFunc = pos + cmp.getOpMap()[pos+1] - 1;
> >  [javac]                                            ^
> >  [javac]
> >
> \xml-xindice-1.0\java\src\org\apache\xindice\core\query\XPathQueryResolver.j
> > ava:502
> > perator - cannot be applied to java.lang.String,int
> >  [javac]          int endFunc = pos + cmp.getOpMap()[pos+1] - 1;
> >  [javac]                                                    ^
> >  [javac] Note: Some input files use or override a deprecated API.
> >  [javac] Note: Recompile with -deprecation for details.
> >  [javac] 2 errors
> >
> >
> > So I tried downloading Version 1.1b4 - Binary (webapp) but this is not a
> > valid zip so unable to extract it.
> >
> > Please help what should I do?
> >
> > --
> > Internal Virus Database is out-of-date.
> > Checked by AVG Free Edition.
> > Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
> >
> >
> >
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
>
>
>

RE: matthieu its really urgent,plz help:Can't deploy example1

Posted by nancy <na...@daffodildb.com>.
Hi,

Its already
xmlns:lns="http://www.apache.org/agila/samples/exemple1/definition/" instead
of  xmlns:lns="http://www.apache.org/agila/" in my example1.

Please help!


-----Original Message-----
From: Arnaud Quiblier [mailto:aquiblier@gmail.com] 
Sent: Monday, March 20, 2006 7:44 PM
To: agila-dev@incubator.apache.org
Subject: Re: matthieu its really urgent,plz help:Can't deploy example1

Hi,

Thanks,It deployed wsdl definition but I cant deploy my process.xml.I am
> using HSQLDB.It is giving error:
>
> Remote error :
> org.apache.agila.bpel.deployer.exception.DeploymentException:
> org.apache.agila.bpel.deployer.exception.DeploymentException: Could not
> save
> the process description and web services definitions in DB..


Try the following change in the process.xml file of example1 :
replace on line 5
  xmlns:lns="http://www.apache.org/agila/"
by
 xmlns:lns="http://www.apache.org/agila/samples/exemple1/definition/"

> 1) Select a resource to deploy (XML schema or WSDL import) (Which file I
> > must give?)
> > 2) Select a WSDL to deploy (main WSDL file) (is it wsdef.xml?)
> > 3) select a process to deploy (WS-BPEL description) (Is it process.xml)
>

Load wsdef.xml as ' Web Services definitions file'
then load process.xml as ' Process description file'

Hope it'll work.

--
/Arnaud


Re: matthieu its really urgent,plz help:Can't deploy example1

Posted by Arnaud Quiblier <aq...@gmail.com>.
Hi,

Thanks,It deployed wsdl definition but I cant deploy my process.xml.I am
> using HSQLDB.It is giving error:
>
> Remote error :
> org.apache.agila.bpel.deployer.exception.DeploymentException:
> org.apache.agila.bpel.deployer.exception.DeploymentException: Could not
> save
> the process description and web services definitions in DB..


Try the following change in the process.xml file of example1 :
replace on line 5
  xmlns:lns="http://www.apache.org/agila/"
by
 xmlns:lns="http://www.apache.org/agila/samples/exemple1/definition/"

> 1) Select a resource to deploy (XML schema or WSDL import) (Which file I
> > must give?)
> > 2) Select a WSDL to deploy (main WSDL file) (is it wsdef.xml?)
> > 3) select a process to deploy (WS-BPEL description) (Is it process.xml)
>

Load wsdef.xml as ' Web Services definitions file'
then load process.xml as ' Process description file'

Hope it'll work.

--
/Arnaud

RE: matthieu its really urgent,plz help:Can't deploy example1

Posted by nancy <na...@daffodildb.com>.
Thanks,It deployed wsdl definition but I cant deploy my process.xml.I am
using HSQLDB.It is giving error:

Remote error : org.apache.agila.bpel.deployer.exception.DeploymentException:
org.apache.agila.bpel.deployer.exception.DeploymentException: Could not save
the process description and web services definitions in DB..

Stacktrace:
[Agila] DEBUG [http8080-Processor24] MessageContext.setTargetService(748) |
MessageContext: setTargetService()
[Agila] DEBUG [http8080-Processor24]
ProjectResourceBundle.handleGetObject(72) |
org.apache.axis.i18n.resource::handleGetObject(noService10)
[Agila] DEBUG [http8080-Processor24]
ConfigurationException.logException(110) | Exception: 
org.apache.axis.ConfigurationException: No service named  is available
org.apache.axis.ConfigurationException: No service named  is available
	at
org.apache.axis.configuration.FileProvider.getService(FileProvider.java:233)
	at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
	at
org.apache.axis.MessageContext.setTargetService(MessageContext.java:755)
	at org.apache.axis.client.Call.invoke(Call.java:2678)
	at org.apache.axis.client.Call.invoke(Call.java:2413)
	at org.apache.axis.client.Call.invoke(Call.java:2336)
	at org.apache.axis.client.Call.invoke(Call.java:1793)
	at
org.apache.agila.bpel.client.AgilaEngineAdmin.invoke(AgilaEngineAdmin.java:2
64)
	at
org.apache.agila.bpel.client.AgilaEngineAdmin.findAllResourceNames(AgilaEngi
neAdmin.java:144)
	at
org.apache.agila.bpel.web.deployer.action.LoadDeployerForm.execute(LoadDeplo
yerForm.java:51)
	at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:484)
	at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
	at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
	at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:284)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:204)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:750)
	at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDis
patcher.java:510)
	at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:445)
	at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:359)
	at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
69)
	at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
r.java:274)
	at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces
sor.java:455)
	at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ
estProcessor.java:320)
	at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
	at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
	at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:284)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:204)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:257)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
	at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:245)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:199)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184
)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164
)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:149)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:156)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
	at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:732)
	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:688)
	at java.lang.Thread.run(Unknown Source)

-----Original Message-----
From: Matthieu Riou [mailto:matthieu.riou@gmail.com] 
Sent: Monday, March 20, 2006 1:22 PM
To: agila-dev@incubator.apache.org
Subject: Re: matthieu its really urgent,plz help:Can't deploy example1

Try to add the following element in the WSDL definition (wsdef.xml)
together with the other message declarations:

    <message name="errorMessage">
        <part name="fault" element="xsd:string"/>
    </message>

Matthieu.

On 3/20/06, nancy <na...@daffodildb.com> wrote:
>
>
> Hi,
>
> I have added bpel namespace in definition:
> xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
>
> But Still getting error
>
> Couldn't find a definition for Message:
>
name={http://www.apache.org/agila/samples/exemple1/definition/}errorMessage
>
> Please help!
>
> -----Original Message-----
> From: nancy [mailto:nancy.aggarwal@daffodildb.com]
> Sent: Friday, March 17, 2006 1:08 PM
> To: 'agila-dev@incubator.apache.org'; 'matthieu.riou@gmail.com'
> Subject: urgent:Can't deploy example1
>
> Thanks Matthieu,It was a corrupted download.now I have deployed agila in
> tomcat 5.0.I am facing problem in deploying example1:
>
> I am having 2 xml:
> Wsdef.xml
> Process.xml
>
> Please can you clear it which file I should specify in deploying?
>
> 1) Select a resource to deploy (XML schema or WSDL import) (Which file I
> must give?)
> 2) Select a WSDL to deploy (main WSDL file) (is it wsdef.xml?)
> 3) select a process to deploy (WS-BPEL description) (Is it process.xml)
>
>
> I gave wsdef.xml in 1 and 2.
>
> Step 1 submitted without any error but
>
> In 2) I am facing problem
>
> Errors have been found when validating your document.
>
> Couldn't find a definition for Message:
>
name={http://www.apache.org/agila/samples/exemple1/definition/}errorMessage
>
> In 3) error is:
>
> Remote error:
org.apache.agila.bpel.deployer.exception.DeploymentException:
> Could not find the WSDL document referenced in the provided BPEL process
> description, please make sure you deployed the referenced WSDL
description.
>
> I found in agila mailing list a solution for 2) :
>
>
http://mail-archives.apache.org/mod_mbox/incubator-agila-dev/200506.mbox/%3C
> ac0203f605060708211ff42d1c@mail.gmail.com%3E
>
> So I changed in wsdef but facing error:
>
>  Remote error :
> org.apache.agila.bpel.deployer.exception.DeploymentException: Could not
> parse document..
>
> Changes done by me:
>
> <bpel:property name="customerFirstName" type="xsd:string"/>
> <bpel:propertyAlias propertyName="customerFirstName"
> messageType="creditInformationMessage" part="firstName"/>
> <bpel:propertyAlias propertyName="customerFirstName"
> messageType="approvalMessage" part="firstName"/>
> <bpel:propertyAlias propertyName="customerFirstName"
> messageType="riskAssessmentMessage" part="firstName"/>
>
> <bpel:property name="customerLastName" type="xsd:string"/>
> <bpel:propertyAlias propertyName="customerLastName"
> messageType="creditInformationMessage" part="lastName"/>
> <bpel:propertyAlias propertyName="customerLastName"
> messageType="approvalMessage" part="lastName"/>
> <bpel:propertyAlias propertyName="customerLastName"
> messageType="riskAssessmentMessage" part="lastName"/>
>
> <bpel:property name="workitem" type="xsd:string"/>
> <bpel:propertyAlias propertyName="workitem" messageType="workMessage"
> part="wipart" query="/workitemid"/>
>
>
> I think its due to undefined namespace bpel in wsdef.xml definition.
> Please tell which namespace I must define to define bpel.
>
> Thanks,
> Nancy
>
>
>
> -----Original Message-----
> From: Matthieu Riou [mailto:matthieu.riou@gmail.com]
> Sent: Friday, March 17, 2006 1:28 AM
> To: agila-dev@incubator.apache.org
> Subject: Re: can't find 'xindice.war'
>
> Well, I have no problem unzipping or untargzipping the binary webapp
> distribution... perhaps a corrupted download?
>
> Matthieu.
>
> On 3/16/06, nancy <na...@daffodildb.com> wrote:
> > Hi,
> >
> > I have built successfully Agila Bpel using Maven1.0.Now the problem is I
> > can't find 'xindice.war'
> >
> > As per instruction in:
> > *Copy Xindice war file included in Xindice's distribution in
> tomcat/webapps
> > (make sure the file name is 'xindice.war'
> >
> > I have downloaded src many times from
> > http://xml.apache.org/xindice/download.cgi But problem is that src is
not
> > compilable error:
> >
> >   [echo] Compiling Source
> >  [javac] Compiling 93 source files to
> > E:\Repository\AgilaRequiredProjects\xml-xindice-1.0\java\classes
> >  [javac]
> >
>
\xml-xindice-1.0\java\src\org\apache\xindice\core\query\XPathQueryResolver.j
> > ava:502
> > rray required, but org.apache.xpath.compiler.OpMapVector found
> >  [javac]          int endFunc = pos + cmp.getOpMap()[pos+1] - 1;
> >  [javac]                                            ^
> >  [javac]
> >
>
\xml-xindice-1.0\java\src\org\apache\xindice\core\query\XPathQueryResolver.j
> > ava:502
> > perator - cannot be applied to java.lang.String,int
> >  [javac]          int endFunc = pos + cmp.getOpMap()[pos+1] - 1;
> >  [javac]                                                    ^
> >  [javac] Note: Some input files use or override a deprecated API.
> >  [javac] Note: Recompile with -deprecation for details.
> >  [javac] 2 errors
> >
> >
> > So I tried downloading Version 1.1b4 - Binary (webapp) but this is not a
> > valid zip so unable to extract it.
> >
> > Please help what should I do?
> >
> > --
> > Internal Virus Database is out-of-date.
> > Checked by AVG Free Edition.
> > Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
> >
> >
> >
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
>
>
>

-- 
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
 

-- 
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006