You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by evi <ev...@evi.pri.ee> on 2007/01/24 13:52:03 UTC

Jetspeed-2 tutorial, unable to get portal-archetype-2.1-dev.jar from repository

Hi!

I am trying to understand Jetspeed 2 with the help of tutorial, but have
trouble with generating the portal because there seems to be no needed
arifact (portal-archetype-2.1-dev.jar) in repository (look below). Please
advise where to find this file for proceeding with Jetspeed.

[INFO] Defaulting package to group ID: org.apache.portals.tutorials
Downloading:
http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/portal-
archetype/2.1-dev/portal-archetype-2.1-dev.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org
/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.portals.jetspeed-2
ArtifactId: portal-archetype
Version: 2.1-dev

Reason: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.portals.jetspeed-2
-DartifactI
d=portal-archetype \
        -Dversion=2.1-dev -Dpackaging=jar -Dfile=/path/to/file


  org.apache.portals.jetspeed-2:portal-archetype:jar:2.1-dev

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

Evi


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: Jetspeed-2 tutorial, build error

Posted by evi <ev...@evi.pri.ee>.
Well, the startup.but does not work either because there is no such file in
Tomcat bin directory. 

So I started Tomcat from .exe file and tried to locate jetexpress from
Tomcat Manager. This time I got HTTP Status 500 -  error which I copied
below. 

Evi

-----Original Message-----
From: David Sean Taylor [mailto:david@bluesunrise.com] 
Sent: Thursday, January 25, 2007 10:29 PM
To: Jetspeed Users List
Subject: Re: Jetspeed-2 tutorial, build error

Yes, this tutorial is from a training class that I present.
I still haven't found time to decouple all the little differences and
customizations and merge the document into a general tutorial.
That will be done for the final  release.

So if you are going to get stuck on every little hitch, then its probably
best to wait until I can clean up the tutorial...

Otherwise type "startup.bat" and then we will find the next set of problems

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org

HTTP Status 500 - 

----------------------------------------------------------------------------
----

type Exception report

message 

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception 

org.apache.jasper.JasperException: Fatal error encountered while processing
portal request: org.apache.jetspeed.pipeline.PipelineException: Falied to
create capabilitied:  We were unable to build a capability map for the
agent, Mozilla/4.0.  This might be an indiciation that the capability
database has not been correctly initialized.
	
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWra
pper.java:512)
	
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
77)
	
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause 

javax.servlet.ServletException: Fatal error encountered while processing
portal request: org.apache.jetspeed.pipeline.PipelineException: Falied to
create capabilitied:  We were unable to build a capability map for the
agent, Mozilla/4.0.  This might be an indiciation that the capability
database has not been correctly initialized.
	
org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:250)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688
)
	
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
	org.apache.jsp.index_jsp._jspService(index_jsp.java:45)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
34)
	
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause 

org.apache.jetspeed.pipeline.PipelineException: Falied to create
capabilitied:  We were unable to build a capability map for the agent,
Mozilla/4.0.  This might be an indiciation that the capability database has
not been correctly initialized.
	
org.apache.jetspeed.capabilities.impl.CapabilityValveImpl.invoke(CapabilityV
alveImpl.java:71)
	
org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(Jetspeed
Pipeline.java:166)
	
org.apache.jetspeed.pipeline.JetspeedPipeline.invoke(JetspeedPipeline.java:1
45)
	
org.apache.jetspeed.engine.JetspeedEngine.service(JetspeedEngine.java:214)
	
org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:241)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688
)
	
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
	org.apache.jsp.index_jsp._jspService(index_jsp.java:45)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
34)
	
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: Jetspeed-2 tutorial, build error

Posted by evi <ev...@evi.pri.ee>.
I tried a new clean jetexpress setup but ran into trouble again:

1. While executing  mvn archetype:create
-DarchetypeGroupId=org.apache.portals.jetspeed-2
-DarchetypeArtifactId=portal-archetype -DarchetypeVersion=2.1-dev
-DgroupId=org.apache.portals.tutorials -DartifactId=jetexpress -Dversion=1.0

I get a pile of warnings but build is successful

"...[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template =
archetype-resources/portal/src/webapp/WEB-INF/conf/Log4j.properties [line
117,column 29] : ${applicationRoot} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template =
archetype-resources/portal/src/webapp/WEB-INF/conf/Log4j.properties [line
126,column 34] : ${applicationRoot} is not a valid reference...."

2. While executing mvn -P tomcat,min I get several warnings:

"...([WARNING]   Artifact ant:ant:jar:1.6.5:runtime retains local scope
'runtime' overriding broader scope 'compile'  given by a dependency. If this
is not intended, modify or remove the local scope.

[WARNING]  Artifact org.apache.maven:maven-project:jar:2.0.1:runtime retains
local scope 'runtime' overriding broader scope 'compile'  given by a
dependency. If this is not intended, modify or remove the local scope..."

And BUILD ERROR (copied on below). 

I have not changed anything in my set-up process which yesterday succeeded
much further. Actually, I would like to understand WHY the build is
successful one day and and fails the other day...

Evi

    [java] BUILD FAILED
     [java]
C:\JetspeedTraining\workspace\jetexpress\etc\derby-sql-build.xml:6:
SQL Exception: Failed to create database
'/JetspeedTraining/database/jetexpress'
, see the next exception for details.

     [java] Total time: 1 second
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:296: The following
error
occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:280: The following
error
occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:386: Java returned: 1
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant
task
s
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error executing
ant t
asks
        at
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractA
ntMojo.java:114)
        at
org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83)

        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
        ... 16 more
Caused by: The following error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:296: The following
error
occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:280: The following
error
occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:386: Java returned: 1
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
tHelper.java:539)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractA
ntMojo.java:108)
        ... 19 more
Caused by: C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:296: The
follo
wing error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:280: The following
error
occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:386: Java returned: 1
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
tHelper.java:539)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)

        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
CheckExecutor.java:37)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
        ... 23 more
Caused by: C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:280: The
follo
wing error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:386: Java returned: 1
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
tHelper.java:539)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)

        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
CheckExecutor.java:37)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
        ... 32 more
Caused by: C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:386: Java
retu
rned: 1
        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
CheckExecutor.java:37)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
        ... 41 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 13 seconds
[INFO] Finished at: Fri Jan 26 16:24:20 EET 2007
[INFO] Final Memory: 14M/26M





Re: Jetspeed-2 tutorial, build error

Posted by David Sean Taylor <da...@bluesunrise.com>.
evi wrote:
> Yes, that was the problem... Had it like
> "C:\JetspeedTraining\tomcat-express\Tomcat" so cutting off the "Tomcat part
> solved the case:-)
> 
> But now I stumbled to another issue, the advise for starting up Tomcat does
> not work:
> 
> C:\JetspeedTraining\tomcat-express\bin>catdebug
> 
> 'catdebug' is not recognized as an internal or external command, operable
> program or batch file.
> 
Yes, this tutorial is from a training class that I present.
I still haven't found time to decouple all the little differences and 
customizations and merge the document into a general tutorial.
That will be done for the final  release.

So if you are going to get stuck on every little hitch, then its 
probably best to wait until I can clean up the tutorial...

Otherwise type "startup.bat" and then we will find the next set of problems

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: Jetspeed-2 tutorial, build error

Posted by evi <ev...@evi.pri.ee>.
Yes, that was the problem... Had it like
"C:\JetspeedTraining\tomcat-express\Tomcat" so cutting off the "Tomcat part
solved the case:-)

But now I stumbled to another issue, the advise for starting up Tomcat does
not work:

C:\JetspeedTraining\tomcat-express\bin>catdebug

'catdebug' is not recognized as an internal or external command, operable
program or batch file.

Evi

-----Original Message-----
From: David Sean Taylor [mailto:david@bluesunrise.com] 
Sent: Thursday, January 25, 2007 9:42 PM
To: Jetspeed Users List
Subject: Re: Jetspeed-2 tutorial, build error

evi wrote:
> Hi!
> 
> Still trying to get the J2 tutorial application working. Tis time, 
> after launching the "mvn -P tomcat,min" command I get BUILD ERROR 
> which I copied on below. What is going wrong this time?
> 
> Evi
> 
> deploy-shared-components:
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Error executing ant tasks
> 
> Embedded error: The following error occurred while executing this line:
> C:\JetspeedTraining\workspace\jetexpress\app-servers\build.xml:89: The 
> following  error occurred while executing this line:
> C:\JetspeedTraining\workspace\jetexpress\app-servers\build.xml:145: 
> The followin g error occurred while executing this line:
> C:\JetspeedTraining\workspace\jetexpress\app-servers\tomcat-build.xml:88:
> The fo
> llowing error occurred while executing this line:
> C:\JetspeedTraining\workspace\jetexpress\app-servers\tomcat-build.xml:278:
> C:\Je
> tspeedTraining\tomcat-express\shared\lib not found.
> [INFO]

Is Tomcat installed in "C:\JetspeedTraining\tomcat-express\"?

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Jetspeed-2 tutorial, build error

Posted by David Sean Taylor <da...@bluesunrise.com>.
evi wrote:
> Hi!
> 
> Still trying to get the J2 tutorial application working. Tis time, after
> launching the "mvn -P tomcat,min" command I get BUILD ERROR which I copied
> on below. What is going wrong this time?
> 
> Evi
> 
> deploy-shared-components:
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error executing ant tasks
> 
> Embedded error: The following error occurred while executing this line:
> C:\JetspeedTraining\workspace\jetexpress\app-servers\build.xml:89: The
> following
>  error occurred while executing this line:
> C:\JetspeedTraining\workspace\jetexpress\app-servers\build.xml:145: The
> followin
> g error occurred while executing this line:
> C:\JetspeedTraining\workspace\jetexpress\app-servers\tomcat-build.xml:88:
> The fo
> llowing error occurred while executing this line:
> C:\JetspeedTraining\workspace\jetexpress\app-servers\tomcat-build.xml:278:
> C:\Je
> tspeedTraining\tomcat-express\shared\lib not found.
> [INFO]

Is Tomcat installed in "C:\JetspeedTraining\tomcat-express\"?

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Jetspeed-2 tutorial, build error

Posted by evi <ev...@evi.pri.ee>.
Hi!

Still trying to get the J2 tutorial application working. Tis time, after
launching the "mvn -P tomcat,min" command I get BUILD ERROR which I copied
on below. What is going wrong this time?

Evi

deploy-shared-components:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\app-servers\build.xml:89: The
following
 error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\app-servers\build.xml:145: The
followin
g error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\app-servers\tomcat-build.xml:88:
The fo
llowing error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\app-servers\tomcat-build.xml:278:
C:\Je
tspeedTraining\tomcat-express\shared\lib not found.
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant
task
s
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error executing
ant t
asks
        at
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractA
ntMojo.java:114)
        at
org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83)

        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
        ... 16 more
Caused by: The following error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\app-servers\build.xml:89: The
following
 error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\app-servers\build.xml:145: The
followin
g error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\app-servers\tomcat-build.xml:88:
The fo
llowing error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\app-servers\tomcat-build.xml:278:
C:\Je
tspeedTraining\tomcat-express\shared\lib not found.
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
tHelper.java:539)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractA
ntMojo.java:108)
        ... 19 more
Caused by:
C:\JetspeedTraining\workspace\jetexpress\app-servers\build.xml:89: Th
e following error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\app-servers\build.xml:145: The
followin
g error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\app-servers\tomcat-build.xml:88:
The fo
llowing error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\app-servers\tomcat-build.xml:278:
C:\Je
tspeedTraining\tomcat-express\shared\lib not found.
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
tHelper.java:539)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)

        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
CheckExecutor.java:37)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
        ... 23 more
Caused by:
C:\JetspeedTraining\workspace\jetexpress\app-servers\build.xml:145: T
he following error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\app-servers\tomcat-build.xml:88:
The fo
llowing error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\app-servers\tomcat-build.xml:278:
C:\Je
tspeedTraining\tomcat-express\shared\lib not found.
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
tHelper.java:539)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
CheckExecutor.java:37)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
        ... 32 more
Caused by:
C:\JetspeedTraining\workspace\jetexpress\app-servers\tomcat-build.xml
:88: The following error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\app-servers\tomcat-build.xml:278:
C:\Je
tspeedTraining\tomcat-express\shared\lib not found.
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
tHelper.java:539)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)

        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
CheckExecutor.java:37)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
        ... 40 more
Caused by:
C:\JetspeedTraining\workspace\jetexpress\app-servers\tomcat-build.xml
:278: C:\JetspeedTraining\tomcat-express\shared\lib not found.
        at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(Abstra
ctFileSet.java:349)
        at org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:505)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
CheckExecutor.java:37)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
        ... 49 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 49 seconds
[INFO] Finished at: Thu Jan 25 16:39:16 EET 2007
[INFO] Final Memory: 23M/42M
[INFO]
------------------------------------------------------------------------

C:\JetspeedTraining\workspace\jetexpress>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Jetspeed-2 tutorial, unable to get portal-archetype-2.1-dev.jar from repository

Posted by David Sean Taylor <da...@bluesunrise.com>.
evi wrote:
> Hi!
> 
> I am trying to understand Jetspeed 2 with the help of tutorial, but have
> trouble with generating the portal because there seems to be no needed
> arifact (portal-archetype-2.1-dev.jar) in repository (look below). Please
> advise where to find this file for proceeding with Jetspeed.
> 
> [INFO] Defaulting package to group ID: org.apache.portals.tutorials
> Downloading:
> http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/portal-
> archetype/2.1-dev/portal-archetype-2.1-dev.jar
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org

Not really sure why its not resolving down the remote path we configured 
in our POM.

Might help if you dl'ed the entire repository found here and unzipped it 
  over your local repository:

http://www.bluesunrise.com/maven2/repository.zip

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org