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/04 12:21:27 UTC

Re: Urgent-Problem in building Agila BPEL source

Hi,

Is your internet connection working properly? Open a browser and check
that you have access to the following url:

http://www.ibiblio.org/maven/trove/jars/trove-1.0.2.jar

Also check that you configured Maven build.properties properly as
described here:

http://wiki.apache.org/agila/AgilaBpelInstallationGuide

Thanks,

Matthieu.

On 3/4/06, nancy <na...@daffodildb.com> wrote:
> Hi
>
>
>
> I am facing following problem while Running command:
>
>
>
> Maven buildall
>
>
>
> Please do Reply.
>
>
>
>   __
>
> |  \/  |__ _Apache__ ___
>
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>
>
>
> Tag library requested that is not present: 'maven' in plugin: 'null'
>
> Starting the reactor...
>
> Our processing order:
>
> Agila Common
>
> Agila Engine Client
>
> Agila Web Applications
>
> Agila Engine Common
>
> Agila User/Group/Role Manager
>
> Agila WorkList Manager
>
> Agila Engine
>
> Agila Deployer
>
> Agila Distro
>
> Agila Web Services
>
> +----------------------------------------
>
> | Building Agila Common
>
> | Memory: 3M/5M
>
> +----------------------------------------
>
> Attempting to download jboss-aop-1.0b2.jar.
>
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/jboss/jars/jboss-aop-1.0b2.jar]:
> java.net.ConnectException: Connectio
>
> n timed out: connect
>
> WARNING: Failed to download jboss-aop-1.0b2.jar.
>
> Attempting to download trove-1.0.2.jar.
>
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/trove/jars/trove-1.0.2.jar]:
> java.net.ConnectException: Connection ti
>
> med out: connect
>
> WARNING: Failed to download trove-1.0.2.jar.
>
> Attempting to download qdox-1.4.jar.
>
>
>
> -----Original Message-----
> From: Christopher Lim [mailto:christopher.a.lim@gmail.com]
> Sent: Tuesday, January 03, 2006 12:59 PM
> To: agila-dev@incubator.apache.org
> Subject: Re: Urgent-Problem in building Agila BPEL source
>
>
>
> Hi Nancy,
>
>
>
> >From the maven command that you have issued, [mvn buildall], I presume
>
> that the Maven version that you have downloaded is version 2.
>
> Currently Agila BPEL supports Maven 1 only.
>
>
>
> You can download Maven 1.0.2 from here:
>
> http://www.apache.org/dist/maven/binaries/maven-1.0.2.zip
>
>
>
> Agila BPEL build documentation is here:
>
> http://wiki.apache.org/agila/AgilaBpelInstallationGuide
>
>
>
>
>
> Chris
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On 1/3/06, nancy <na...@daffodildb.com> wrote:
>
> > Hi,
>
> >
>
> >  I have checked out Agila BPEL source from subversion repository and
>
> > downloaded Apache Maven and XDoclet 1.2.x .I have placed build. Properties
>
> > in user home also. And when I tried to build BPEL source using:
>
> >
>
> >
>
> >
>
> > mvn buildall
>
> >
>
> >
>
> >
>
> > Instead of maven as 'maven' is not recognized as an internal or external
>
> > command, operable program or batch file. It is giving following error:
>
> >
>
> >
>
> >
>
> > C:\agila\trunk\modules\bpel>"C:\j2sdk1.4.2_04\bin\java.exe" -classpath
>
> > "C:\programs\maven-2.0.1\core\boot\classworlds-1.1-alpha-2
>
> >
>
> > .jar" "-Dclassworlds.conf=C:\programs\maven-2.0.1\bin\m2.conf"
>
> > "-Dmaven.home=C:\programs\maven-2.0.1" org.codehaus.classworlds.Lau
>
> >
>
> > ncher buildall
>
> >
>
> > [INFO] Scanning for projects...
>
> >
>
> > [INFO]
>
> >
> ----------------------------------------------------------------------------
>
> >
>
> > [ERROR] BUILD FAILURE
>
> >
>
> > [INFO]
>
> >
> ----------------------------------------------------------------------------
>
> >
>
> > [INFO] Invalid task 'buildall': you must specify a valid lifecycle phase,
> or
>
> > a goal in the format plugin:goal or
>
> > pluginGroupId:pluginArtifactId:pluginVersion:goal
>
> >
>
> > [INFO]
>
> >
> ----------------------------------------------------------------------------
>
> >
>
> > [INFO] For more information, run Maven with the -e switch
>
> >
>
> > [INFO]
>
> >
> ----------------------------------------------------------------------------
>
> >
>
> > [INFO] Total time: < 1 second
>
> >
>
> > [INFO] Finished at: Mon Jan 02 16:32:01 GMT+05:30 2006
>
> >
>
> > [INFO] Final Memory: 1M/2M
>
> >
>
> > [INFO]
>
> >
> ----------------------------------------------------------------------------
>
> >
>
> >
>
> >
>
> > Can anyone please tell the reason behind this error as soon as possible as
>
> > its very urgent?
>
> >
>
> >
>
> >
>
> > Thanks and Regards,
>
> >
>
> > Nancy Aggarwal
>
> >
>
> >
>
> >
>
> > agila-dev@incubator.apache.org
>
> >
>
> >
>
> > --
>
> > No virus found in this outgoing message.
>
> > Checked by AVG Free Edition.
>
> > Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005
>
> >
>
> >
>
> >
>
>
>
> --
>
> No virus found in this incoming message.
>
> Checked by AVG Free Edition.
>
> Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005
>
>
>
>
> --
> 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
>
>
>

urgent:Can't deploy example1

Posted by nancy <na...@daffodildb.com>.
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
 


Re: can't find 'xindice.war'

Posted by Matthieu Riou <ma...@gmail.com>.
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
>
>
>

can't find 'xindice.war'

Posted by nancy <na...@daffodildb.com>.
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
 


RE: Urgent-Problem in building Agila BPEL source

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

Build.properties was having:
http://xdoclet.sourceforge.net/repository/

but I configured it to
maven.repo.remote=http://www.ibiblio.org/maven,http://www.smartcomps.org/twi
ster/maven-repo

But still problem is there.And I can't access following url using browser:
http://www.ibiblio.org/maven/trove/jars/trove-1.0.2.jar

Its saying 404 FILE NOT FOUND
AuĂȘ! (oops!) The page you are looking for is no longer on ibiblio.org or has
been moved. 
 

Would you like to search for the file you are missing? 

Foolowing error while trying to build:


Attempting to download jboss-aop-1.0b2.jar.
415K downloaded
Attempting to download trove-1.0.2.jar.
352K downloaded
Attempting to download qdox-1.4.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/qdox/jars/qdox-1.4.jar]:
java.net.ConnectException: Connection timed
out: connect
WARNING: Failed to download qdox-1.4.jar.
Attempting to download xstream-1.1.jar.
194K downloaded
Attempting to download xpp3-1.1.3.4-RC8_min.jar.

-----Original Message-----
From: Matthieu Riou [mailto:matthieu.riou@gmail.com] 
Sent: Saturday, March 04, 2006 5:51 PM
To: agila-dev@incubator.apache.org
Subject: Re: Urgent-Problem in building Agila BPEL source

Hi,

Is your internet connection working properly? Open a browser and check
that you have access to the following url:

http://www.ibiblio.org/maven/trove/jars/trove-1.0.2.jar

Also check that you configured Maven build.properties properly as
described here:

http://wiki.apache.org/agila/AgilaBpelInstallationGuide

Thanks,

Matthieu.

On 3/4/06, nancy <na...@daffodildb.com> wrote:
> Hi
>
>
>
> I am facing following problem while Running command:
>
>
>
> Maven buildall
>
>
>
> Please do Reply.
>
>
>
>   __
>
> |  \/  |__ _Apache__ ___
>
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>
>
>
> Tag library requested that is not present: 'maven' in plugin: 'null'
>
> Starting the reactor...
>
> Our processing order:
>
> Agila Common
>
> Agila Engine Client
>
> Agila Web Applications
>
> Agila Engine Common
>
> Agila User/Group/Role Manager
>
> Agila WorkList Manager
>
> Agila Engine
>
> Agila Deployer
>
> Agila Distro
>
> Agila Web Services
>
> +----------------------------------------
>
> | Building Agila Common
>
> | Memory: 3M/5M
>
> +----------------------------------------
>
> Attempting to download jboss-aop-1.0b2.jar.
>
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/jboss/jars/jboss-aop-1.0b2.jar]:
> java.net.ConnectException: Connectio
>
> n timed out: connect
>
> WARNING: Failed to download jboss-aop-1.0b2.jar.
>
> Attempting to download trove-1.0.2.jar.
>
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/trove/jars/trove-1.0.2.jar]:
> java.net.ConnectException: Connection ti
>
> med out: connect
>
> WARNING: Failed to download trove-1.0.2.jar.
>
> Attempting to download qdox-1.4.jar.
>
>
>
> -----Original Message-----
> From: Christopher Lim [mailto:christopher.a.lim@gmail.com]
> Sent: Tuesday, January 03, 2006 12:59 PM
> To: agila-dev@incubator.apache.org
> Subject: Re: Urgent-Problem in building Agila BPEL source
>
>
>
> Hi Nancy,
>
>
>
> >From the maven command that you have issued, [mvn buildall], I presume
>
> that the Maven version that you have downloaded is version 2.
>
> Currently Agila BPEL supports Maven 1 only.
>
>
>
> You can download Maven 1.0.2 from here:
>
> http://www.apache.org/dist/maven/binaries/maven-1.0.2.zip
>
>
>
> Agila BPEL build documentation is here:
>
> http://wiki.apache.org/agila/AgilaBpelInstallationGuide
>
>
>
>
>
> Chris
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On 1/3/06, nancy <na...@daffodildb.com> wrote:
>
> > Hi,
>
> >
>
> >  I have checked out Agila BPEL source from subversion repository and
>
> > downloaded Apache Maven and XDoclet 1.2.x .I have placed build.
Properties
>
> > in user home also. And when I tried to build BPEL source using:
>
> >
>
> >
>
> >
>
> > mvn buildall
>
> >
>
> >
>
> >
>
> > Instead of maven as 'maven' is not recognized as an internal or external
>
> > command, operable program or batch file. It is giving following error:
>
> >
>
> >
>
> >
>
> > C:\agila\trunk\modules\bpel>"C:\j2sdk1.4.2_04\bin\java.exe" -classpath
>
> > "C:\programs\maven-2.0.1\core\boot\classworlds-1.1-alpha-2
>
> >
>
> > .jar" "-Dclassworlds.conf=C:\programs\maven-2.0.1\bin\m2.conf"
>
> > "-Dmaven.home=C:\programs\maven-2.0.1" org.codehaus.classworlds.Lau
>
> >
>
> > ncher buildall
>
> >
>
> > [INFO] Scanning for projects...
>
> >
>
> > [INFO]
>
> >
>
----------------------------------------------------------------------------
>
> >
>
> > [ERROR] BUILD FAILURE
>
> >
>
> > [INFO]
>
> >
>
----------------------------------------------------------------------------
>
> >
>
> > [INFO] Invalid task 'buildall': you must specify a valid lifecycle
phase,
> or
>
> > a goal in the format plugin:goal or
>
> > pluginGroupId:pluginArtifactId:pluginVersion:goal
>
> >
>
> > [INFO]
>
> >
>
----------------------------------------------------------------------------
>
> >
>
> > [INFO] For more information, run Maven with the -e switch
>
> >
>
> > [INFO]
>
> >
>
----------------------------------------------------------------------------
>
> >
>
> > [INFO] Total time: < 1 second
>
> >
>
> > [INFO] Finished at: Mon Jan 02 16:32:01 GMT+05:30 2006
>
> >
>
> > [INFO] Final Memory: 1M/2M
>
> >
>
> > [INFO]
>
> >
>
----------------------------------------------------------------------------
>
> >
>
> >
>
> >
>
> > Can anyone please tell the reason behind this error as soon as possible
as
>
> > its very urgent?
>
> >
>
> >
>
> >
>
> > Thanks and Regards,
>
> >
>
> > Nancy Aggarwal
>
> >
>
> >
>
> >
>
> > agila-dev@incubator.apache.org
>
> >
>
> >
>
> > --
>
> > No virus found in this outgoing message.
>
> > Checked by AVG Free Edition.
>
> > Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date:
12/29/2005
>
> >
>
> >
>
> >
>
>
>
> --
>
> No virus found in this incoming message.
>
> Checked by AVG Free Edition.
>
> Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005
>
>
>
>
> --
> 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