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 Avinash G <av...@sensiple.com> on 2004/05/07 09:50:38 UTC

build jetspeed-1.5 failed

Hi all,

I have a task of creating a portal using jetspeed. I have downloaded jetspeed-1.5- src. The path of the jetspeed is in "d:jetspeed-1.5". when I tried to build and install it using "maven war" as given in the tutorial, the build got failed i got the error as follows.



=================================================================================
D:\jetspeed-1.5>maven war
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc2

Tag library requested that is not present: 'maven' in plugin: 'null'
Tag library requested that is not present: 'maven' in plugin: 'null'
Tag library requested that is not present: 'maven' in plugin: 'null'
build:start:

war:init:
java:prepare-filesystem:

java:compile:
prepare.apis:
[echo] Generating Jetspeed XML bindings
[java] -- Suppressing non fatal warnings.

BUILD FAILED
File...... file:/C:/Documents and Settings/sam/.maven/plugins/maven-torque-plugi
n-3.2/plugin.jelly
Element... taskdef
Line...... 51
Column.... 63
taskdef class org.apache.torque.task.TorqueDataModelTask cannot be found
Total time: 5 seconds

=================================================================================

Can any one please help me. Thank You in advance.

G.Avinash


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


Re: build jetspeed-1.5 failed

Posted by Nhữ Quỳnh Tân <ta...@vnws.com>.
Avinash G wrote:

>Hi all,
>
>I have a task of creating a portal using jetspeed. I have downloaded jetspeed-1.5- src. The path of the jetspeed is in "d:jetspeed-1.5". when I tried to build and install it using "maven war" as given in the tutorial, the build got failed i got the error as follows.
>
>
>
>=================================================================================
>D:\jetspeed-1.5>maven war
>__ __
>| \/ |__ _Apache__ ___
>| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
>|_| |_\__,_|\_/\___|_||_| v. 1.0-rc2
>
>Tag library requested that is not present: 'maven' in plugin: 'null'
>Tag library requested that is not present: 'maven' in plugin: 'null'
>Tag library requested that is not present: 'maven' in plugin: 'null'
>build:start:
>
>war:init:
>java:prepare-filesystem:
>
>java:compile:
>prepare.apis:
>[echo] Generating Jetspeed XML bindings
>[java] -- Suppressing non fatal warnings.
>
>BUILD FAILED
>File...... file:/C:/Documents and Settings/sam/.maven/plugins/maven-torque-plugi
>n-3.2/plugin.jelly
>Element... taskdef
>Line...... 51
>Column.... 63
>taskdef class org.apache.torque.task.TorqueDataModelTask cannot be found
>Total time: 5 seconds
>
>=================================================================================
>
>Can any one please help me. Thank You in advance.
>
>G.Avinash
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>  
>
With JP1.5, we use : *maven dist:install *or *maven 
-Dmaven.test.skip=true dist:install* for building the war archive !
I think you should step-by-step folow the tutorial at : 
http://portals.apache.org/jetspeed-1/tutorial/


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


Re: jetspeed-1.5 build problems

Posted by "Henry S. Isidro" <hi...@exist.com>.
Daniel Farinha wrote:

>Actually,
>
>As a correction to my own message, if I restart tomcat it does work (no
>longer hangs), however I still had to manually copy the class files across.
>
>A straight forward war deployment (without copying the class files) results
>in the following:
>
>INFO: Installing web application at context path /jetspeed from URL
>file:/opt/tomcat/webapps/jetspeed
>(!) NOTICE: ServiceBroker: LoggingService enabled.
>(!) NOTICE: Turbine: init() failed: java.lang.ClassNotFoundException:
>org.apache.jetspeed.services.resources.JetspeedResourceService
>        at
>org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
>a:1383)
>        at
>org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
>a:1230)
>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Class.java:141)
>        at
>org.apache.turbine.services.BaseInitableBroker.getInitableInstance(BaseInita
>bleBroker.java:257)
>rethrown as org.apache.turbine.services.InstantiationException: Class
>org.apache.jetspeed.services.resources.JetspeedResourceService is
>unavailable. Check your jars and classes.
>        at
>org.apache.turbine.services.BaseInitableBroker.getInitableInstance(BaseInita
>bleBroker.java:295)
>        at
>org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.
>java:145)
>
>
>I'm not sure which libs these class files are in, but they seem to be
>missing from my war file.
>I'll try downloading the binary dist and comparing the war files.
>
>Regards
>
>Daniel
>
>
>-----Original Message-----
>From: Henry S. Isidro [mailto:hisidro@exist.com] 
>Sent: 08 May 2004 04:16
>To: Jetspeed Users List
>Subject: Re: jetspeed-1.5 build problems
>
>  
>
>i've checked the jetspeed.war that I created and there are NO contents in
>the class file but jetspeed runs under tomcat...note that the exploded
>webapp also has no classes they're all in the lib
>
>--
>Henry S. Isidro
>Software Engineer
>Exist Software Labs
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>  
>
that's funny, I didn't have to copy the class files across, in fact, my 
classes folder is still empty and I can start Jetspeed


-- 
Henry S. Isidro
Software Engineer
Exist Software Labs


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


Jetspeed 1.5 question

Posted by alex <ai...@cytechgroup.com>.
Has anyone seen the problem that when the jportal tutorials are built Tomcat
fails to start the first time EVERYTIME! I have to boot it, bring it down
and re-boot (tomcat). Here is what the log says...

2004-05-11 14:51:42 StandardWrapperValve[jetspeed]: Servlet.service() for
servlet jetspeed threw exception
org.apache.turbine.services.InstantiationException: ServiceBroker: unknown
service PoolService requested
	at
org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseService
Broker.java:354)
	at
org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.j
ava:296)
	at
org.apache.turbine.util.RunDataFactory.putRunData(RunDataFactory.java:226)
	at org.apache.turbine.Turbine.doGet(Turbine.java:643)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	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(Thread.java:536)

2004-05-11 14:52:16 StandardWrapperValve[jetspeed]: Servlet.service() for
servlet jetspeed threw exception
org.apache.turbine.services.InstantiationException: ServiceBroker: unknown
service PoolService requested
	at
org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseService
Broker.java:354)
	at
org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.j
ava:296)
	at
org.apache.turbine.util.RunDataFactory.putRunData(RunDataFactory.java:226)
	at org.apache.turbine.Turbine.doGet(Turbine.java:643)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	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(Thread.java:536)

2004-05-11 14:52:30 StandardWrapperValve[jetspeed]: Servlet.service() for
servlet jetspeed threw exception
org.apache.turbine.services.InstantiationException: ServiceBroker: unknown
service PoolService requested
	at
org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseService
Broker.java:354)
	at
org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.j
ava:296)
	at
org.apache.turbine.util.RunDataFactory.putRunData(RunDataFactory.java:226)
	at org.apache.turbine.Turbine.doGet(Turbine.java:643)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	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(Thread.java:536)

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.671 / Virus Database: 433 - Release Date: 4/28/2004
 


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


RE: jetspeed-1.5 build problems

Posted by Anthony Smith <an...@fedex.com>.
Thaks so much. It worked. You saved the day.

-----Original Message-----
From: Raphaël Luta [mailto:raphael@apache.org]
Sent: Wednesday, May 12, 2004 12:55 PM
To: Jetspeed Users List
Subject: Re: jetspeed-1.5 build problems



Le 12 mai 04, à 14:33, Anthony Smith a écrit :

> How do I stop this connection timed out. I thought all these woudl be
> taken
> care of with the proxy setting.
>

Apply the guidelines outlined in this mail;

http://nagoya.apache.org/eyebrowse/ReadMsg?listName=jetspeed-
user@jakarta.apache.org&msgNo=13325

--
Raphaël Luta - raphael@apache.org
Apache Jetspeed - Enterprise Portal in Java
http://portals.apache.org/


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



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


Re: jetspeed-1.5 build problems

Posted by Raphaël Luta <ra...@apache.org>.
Le 12 mai 04, à 14:33, Anthony Smith a écrit :

> How do I stop this connection timed out. I thought all these woudl be  
> taken
> care of with the proxy setting.
>

Apply the guidelines outlined in this mail;

http://nagoya.apache.org/eyebrowse/ReadMsg?listName=jetspeed- 
user@jakarta.apache.org&msgNo=13325

--
Raphaël Luta - raphael@apache.org
Apache Jetspeed - Enterprise Portal in Java
http://portals.apache.org/


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


jetspeed-1.5 build problems

Posted by Anthony Smith <an...@fedex.com>.
How do I stop this connection timed out. I thought all these woudl be taken
care of with the proxy setting.



torque:om:
torque:init:
Overriding previous definition of reference to torque-classpath

torque:om-generate:
    [torque-data-model] Using classpath
    [torque-data-model] Generating to file
C:\cvs\globalink\jetspeed-1.5\src\jav
a\report.org.apache.commons.grant.GrantProject@1d6747b.om.generation

BUILD FAILED
File...... file:/C:/Documents and
Settings/as411161/.maven/plugins/maven-torque-
plugin-3.2/plugin.jelly
Element... torque-data-model
Line...... 228
Column.... 49
org.apache.torque.engine.EngineException: Connection timed out: connect
Total time: 45 seconds
Finished at: Wed May 12 07:21:51 CDT 2004


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


RE: jetspeed-1.5 build problems *90% fixed*

Posted by Jean-François Ménard <me...@logyka.com>.
Same problem here...


Le lun 10/05/2004 à 11:13, Daniel Farinha a écrit :
> Well,
> Due to lack of time I couldn't pursue the problem much further.
> I ended up removing maven and reinstalled manually (i.e. not used gentoo's
> emerge system).
> The build works fine now (when doing 'maven -Dmaven.test.skip=true war'),
> and that was my priority.
> 
> It would have been better if I fixed the problem with my original setup,
> because with gentoo it's best to use 'emerge' than installing software
> manually, but it's now clear that the problem is best pursued in the gentoo
> forums and not here. I can always chase the problems with gentoo/maven
> later.
> 
> Still, and going back to my original message, 'maven dist:install' still
> hangs for *hours* in one of the junit tests (I still can't say how many
> hours, has I've always cancelled it before finishing). This is why I added
> "90% fixed" to the subject line. It would be nice to run the tests to
> completion.
> Doesn't this happen with everyone else?
> 
> Thanks for your help!
> 
> Daniel
> 
> -----Original Message-----
> From: Henry S. Isidro [mailto:hisidro@exist.com] 
> Sent: 10 May 2004 03:30
> To: Jetspeed Users List
> Subject: Re: jetspeed-1.5 build problems
> 
> glad to see that you made some progress...anyway, ${maven.build.dir}
> defaults to ${basedir}/target hope that helps
> 
> --
> Henry S. Isidro
> Software Engineer
> Exist Software Labs
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> 
> 


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


RE: jetspeed-1.5 build problems *90% fixed*

Posted by Daniel Farinha <da...@ktorn.com>.
Well,
Due to lack of time I couldn't pursue the problem much further.
I ended up removing maven and reinstalled manually (i.e. not used gentoo's
emerge system).
The build works fine now (when doing 'maven -Dmaven.test.skip=true war'),
and that was my priority.

It would have been better if I fixed the problem with my original setup,
because with gentoo it's best to use 'emerge' than installing software
manually, but it's now clear that the problem is best pursued in the gentoo
forums and not here. I can always chase the problems with gentoo/maven
later.

Still, and going back to my original message, 'maven dist:install' still
hangs for *hours* in one of the junit tests (I still can't say how many
hours, has I've always cancelled it before finishing). This is why I added
"90% fixed" to the subject line. It would be nice to run the tests to
completion.
Doesn't this happen with everyone else?

Thanks for your help!

Daniel

-----Original Message-----
From: Henry S. Isidro [mailto:hisidro@exist.com] 
Sent: 10 May 2004 03:30
To: Jetspeed Users List
Subject: Re: jetspeed-1.5 build problems

glad to see that you made some progress...anyway, ${maven.build.dir}
defaults to ${basedir}/target hope that helps

--
Henry S. Isidro
Software Engineer
Exist Software Labs


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


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


Re: jetspeed-1.5 build problems

Posted by "Henry S. Isidro" <hi...@exist.com>.
Daniel Farinha wrote:

>Hmm I think we're getting close to the problem.
>My maven.xml does have that fragment, but here's what maven outputs when
>that bit runs:
>
>jar:
>
>    [echo] Deleting uneeded resources from ...
>    [delete] Deleting 2 files from /home/user/dev/jetspeed-1.5
>    [delete] Deleting 819 files from /home/user/dev/jetspeed-1.5
>    [echo] Copying jetspeed-1.5.jar to ...
>    [copy] Copying 1 file to /WEB-INF/lib
>    [echo] Building WAR jetspeed
>    [jar] Building jar: /home/user/dev/jetspeed-1.5/target/jetspeed.war
>BUILD SUCCESSFUL
>
>So looks like my ${maven.war.webapp.dir} isn't properly set. It's trying to
>write WEB-INF to the root.
>You may ask, how on earth can a user write to / anyway? 
>
>Well now I remembered that, in one of my many previous attempts at making
>the build work, I manually created a WEB-INF in / and changed permissions so
>that users could write to it, just so that maven would find "/WEB-INF/lib".
>This is obviously wrong, and was just hidding the fact that a variable isn't
>properly set.
>
>After googling a bit I found that ${maven.war.webapp.dir} is optional and
>defaults to ${maven.war.build.dir}/${pom.artifactId}, and that
>${maven.war.build.dir} defaults to ${maven.build.dir}.
>I can't find where ${maven.build.dir} or any of ther other ones are set...
>
>Regards
>
>Daniel
>
>-----Original Message-----
>From: Henry S. Isidro [mailto:hisidro@exist.com] 
>Sent: 08 May 2004 06:31
>To: Jetspeed Users List
>Subject: Re: jetspeed-1.5 build problems
>
>  
>
>check maven.xml, under the element <preGoal name="war:war">, it should have
>this fragment
>
><echo>Copying ${maven.final.name}.jar to 
>${maven.war.webapp.dir}...</echo>       
>        <copy todir="${maven.war.webapp.dir}/WEB-INF/lib">
>            <fileset dir="${maven.build.dir}">
>                <include name="${maven.final.name}.jar"/>
>            </fileset>
>        </copy>
>
>--
>Henry S. Isidro
>Software Engineer
>Exist Software Labs
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>  
>
glad to see that you made some progress...anyway, ${maven.build.dir} 
defaults to ${basedir}/target
hope that helps

-- 
Henry S. Isidro
Software Engineer
Exist Software Labs


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


RE: jetspeed-1.5 build problems

Posted by Daniel Farinha <da...@ktorn.com>.
Hmm I think we're getting close to the problem.
My maven.xml does have that fragment, but here's what maven outputs when
that bit runs:

jar:

    [echo] Deleting uneeded resources from ...
    [delete] Deleting 2 files from /home/user/dev/jetspeed-1.5
    [delete] Deleting 819 files from /home/user/dev/jetspeed-1.5
    [echo] Copying jetspeed-1.5.jar to ...
    [copy] Copying 1 file to /WEB-INF/lib
    [echo] Building WAR jetspeed
    [jar] Building jar: /home/user/dev/jetspeed-1.5/target/jetspeed.war
BUILD SUCCESSFUL

So looks like my ${maven.war.webapp.dir} isn't properly set. It's trying to
write WEB-INF to the root.
You may ask, how on earth can a user write to / anyway? 

Well now I remembered that, in one of my many previous attempts at making
the build work, I manually created a WEB-INF in / and changed permissions so
that users could write to it, just so that maven would find "/WEB-INF/lib".
This is obviously wrong, and was just hidding the fact that a variable isn't
properly set.

After googling a bit I found that ${maven.war.webapp.dir} is optional and
defaults to ${maven.war.build.dir}/${pom.artifactId}, and that
${maven.war.build.dir} defaults to ${maven.build.dir}.
I can't find where ${maven.build.dir} or any of ther other ones are set...

Regards

Daniel

-----Original Message-----
From: Henry S. Isidro [mailto:hisidro@exist.com] 
Sent: 08 May 2004 06:31
To: Jetspeed Users List
Subject: Re: jetspeed-1.5 build problems

>
check maven.xml, under the element <preGoal name="war:war">, it should have
this fragment

<echo>Copying ${maven.final.name}.jar to 
${maven.war.webapp.dir}...</echo>       
        <copy todir="${maven.war.webapp.dir}/WEB-INF/lib">
            <fileset dir="${maven.build.dir}">
                <include name="${maven.final.name}.jar"/>
            </fileset>
        </copy>

--
Henry S. Isidro
Software Engineer
Exist Software Labs


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


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


Re: jetspeed-1.5 build problems

Posted by "Henry S. Isidro" <hi...@exist.com>.
Daniel Farinha wrote:

>Ok, comparing the 2 war files, and this is what's missing from my
>WEB-INF/lib:
>
>hsqldb.jar (both wars do have hsqldb-1.7.1.jar - not sure what's the diff)
>jetspeed-1.5.jar (obvious this is what's causing my problems)
>
>Copying jetspeed-1.5.jar from jetspeed-1.5/target across to the webapp does
>make it work, and it's ever so slighly better than copying the class files,
>but it's still not the right behaviour.
>
>So why does my build not stick jetspeed-1.5.jar in the war file?
>
>Regards
>
>Daniel
>
>
>-----Original Message-----
>From: Daniel Farinha [mailto:daniel@ktorn.com] 
>Sent: 08 May 2004 04:53
>To: 'Jetspeed Users List'
>Subject: RE: jetspeed-1.5 build problems
>
>[...]
>I'll try downloading the binary dist and comparing the war files.
>
>Regards
>
>Daniel
>
>
>-----Original Message-----
>From: Henry S. Isidro [mailto:hisidro@exist.com]
>Sent: 08 May 2004 04:16
>To: Jetspeed Users List
>Subject: Re: jetspeed-1.5 build problems
>
>  
>
>i've checked the jetspeed.war that I created and there are NO contents in
>the class file but jetspeed runs under tomcat...note that the exploded
>webapp also has no classes they're all in the lib
>
>--
>Henry S. Isidro
>Software Engineer
>Exist Software Labs
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>
>
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
check maven.xml, under the element <preGoal name="war:war">, it should 
have this fragment

<echo>Copying ${maven.final.name}.jar to 
${maven.war.webapp.dir}...</echo>       
        <copy todir="${maven.war.webapp.dir}/WEB-INF/lib">
            <fileset dir="${maven.build.dir}">
                <include name="${maven.final.name}.jar"/>
            </fileset>
        </copy>

-- 
Henry S. Isidro
Software Engineer
Exist Software Labs


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


RE: jetspeed-1.5 build problems

Posted by Daniel Farinha <da...@ktorn.com>.
Ok, comparing the 2 war files, and this is what's missing from my
WEB-INF/lib:

hsqldb.jar (both wars do have hsqldb-1.7.1.jar - not sure what's the diff)
jetspeed-1.5.jar (obvious this is what's causing my problems)

Copying jetspeed-1.5.jar from jetspeed-1.5/target across to the webapp does
make it work, and it's ever so slighly better than copying the class files,
but it's still not the right behaviour.

So why does my build not stick jetspeed-1.5.jar in the war file?

Regards

Daniel


-----Original Message-----
From: Daniel Farinha [mailto:daniel@ktorn.com] 
Sent: 08 May 2004 04:53
To: 'Jetspeed Users List'
Subject: RE: jetspeed-1.5 build problems

[...]
I'll try downloading the binary dist and comparing the war files.

Regards

Daniel


-----Original Message-----
From: Henry S. Isidro [mailto:hisidro@exist.com]
Sent: 08 May 2004 04:16
To: Jetspeed Users List
Subject: Re: jetspeed-1.5 build problems

>
i've checked the jetspeed.war that I created and there are NO contents in
the class file but jetspeed runs under tomcat...note that the exploded
webapp also has no classes they're all in the lib

--
Henry S. Isidro
Software Engineer
Exist Software Labs


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


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


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


RE: jetspeed-1.5 build problems

Posted by Daniel Farinha <da...@ktorn.com>.
Actually,

As a correction to my own message, if I restart tomcat it does work (no
longer hangs), however I still had to manually copy the class files across.

A straight forward war deployment (without copying the class files) results
in the following:

INFO: Installing web application at context path /jetspeed from URL
file:/opt/tomcat/webapps/jetspeed
(!) NOTICE: ServiceBroker: LoggingService enabled.
(!) NOTICE: Turbine: init() failed: java.lang.ClassNotFoundException:
org.apache.jetspeed.services.resources.JetspeedResourceService
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1383)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1230)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at
org.apache.turbine.services.BaseInitableBroker.getInitableInstance(BaseInita
bleBroker.java:257)
rethrown as org.apache.turbine.services.InstantiationException: Class
org.apache.jetspeed.services.resources.JetspeedResourceService is
unavailable. Check your jars and classes.
        at
org.apache.turbine.services.BaseInitableBroker.getInitableInstance(BaseInita
bleBroker.java:295)
        at
org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.
java:145)


I'm not sure which libs these class files are in, but they seem to be
missing from my war file.
I'll try downloading the binary dist and comparing the war files.

Regards

Daniel


-----Original Message-----
From: Henry S. Isidro [mailto:hisidro@exist.com] 
Sent: 08 May 2004 04:16
To: Jetspeed Users List
Subject: Re: jetspeed-1.5 build problems

>
i've checked the jetspeed.war that I created and there are NO contents in
the class file but jetspeed runs under tomcat...note that the exploded
webapp also has no classes they're all in the lib

--
Henry S. Isidro
Software Engineer
Exist Software Labs


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


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


Re: jetspeed-1.5 build problems

Posted by "Henry S. Isidro" <hi...@exist.com>.
Daniel Farinha wrote:

>After various attempts I haven't yet manage to compile and run jetspeed 1.5
>from the release source.
>
>Here's a summary of the steps that took me the furthest:
>
>1) unziped jetspeed-1.5-src.zip
>2) cd jetspeed-1.5
>3) maven -Dmaven.test.skip=true war
>4) cp target/jetspeed.war /opt/tomcat/webapps/.
>-- wait until tomcat autodeploys --
>-- during deployment catalina.out reveals that
>webapps/jetspeed/WEB-INF/classes has no classes at all
>-- manually extracting the war file confirms this: it has all the libs but
>no class files at all
>-- but since the class files are in target/classes I tried to manually copy
>them:
>5) cp target/classes /opt/tomcat/webapps/jetspeed/WEB-INF/. -R
>-- restart jetspeed context
>-- during restart catalina.out logs:
>
>INFO: standardHost.start /jetspeed
>
>Starting Apache Jetspeed Portal/1.5
>
>-- but hangs there, and jetspeed is never properly initialised, as shown by
>tomcat's manager app
>
>I included the "-Dmaven.test.skip=true" in the maven command, because as its
>been mentioned in this list, one of the junit tests
>(...services.search.TestSearch) takes too long (not sure how long, I've
>waited more than 5 minutes one time).
>
>I've also tried "maven dist:install" but that always results in:
>INTERNAL ERROR
>Reference made to goal 'xdoc:init' which has no definition.
>-- no matter how many times I run the command
>
>I'm running maven v. 1.0-rc1-SNAPSHOT, on a gentoo linux system.
>
>Running out of ideas, so any tips are more than welcome.
>
>Regards
>
>Daniel Farinha
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>  
>
i've checked the jetspeed.war that I created and there are NO contents 
in the class file but jetspeed runs under tomcat...note that the 
exploded webapp also has no classes they're all in the lib

-- 
Henry S. Isidro
Software Engineer
Exist Software Labs


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


jetspeed-1.5 build problems

Posted by Daniel Farinha <da...@ktorn.com>.
After various attempts I haven't yet manage to compile and run jetspeed 1.5
from the release source.

Here's a summary of the steps that took me the furthest:

1) unziped jetspeed-1.5-src.zip
2) cd jetspeed-1.5
3) maven -Dmaven.test.skip=true war
4) cp target/jetspeed.war /opt/tomcat/webapps/.
-- wait until tomcat autodeploys --
-- during deployment catalina.out reveals that
webapps/jetspeed/WEB-INF/classes has no classes at all
-- manually extracting the war file confirms this: it has all the libs but
no class files at all
-- but since the class files are in target/classes I tried to manually copy
them:
5) cp target/classes /opt/tomcat/webapps/jetspeed/WEB-INF/. -R
-- restart jetspeed context
-- during restart catalina.out logs:

INFO: standardHost.start /jetspeed

Starting Apache Jetspeed Portal/1.5

-- but hangs there, and jetspeed is never properly initialised, as shown by
tomcat's manager app

I included the "-Dmaven.test.skip=true" in the maven command, because as its
been mentioned in this list, one of the junit tests
(...services.search.TestSearch) takes too long (not sure how long, I've
waited more than 5 minutes one time).

I've also tried "maven dist:install" but that always results in:
INTERNAL ERROR
Reference made to goal 'xdoc:init' which has no definition.
-- no matter how many times I run the command

I'm running maven v. 1.0-rc1-SNAPSHOT, on a gentoo linux system.

Running out of ideas, so any tips are more than welcome.

Regards

Daniel Farinha


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


Re: build jetspeed-1.5 failed

Posted by "Henry S. Isidro" <hi...@exist.com>.
Avinash G wrote:

>Hi all,
>
>I have a task of creating a portal using jetspeed. I have downloaded jetspeed-1.5- src. The path of the jetspeed is in "d:jetspeed-1.5". when I tried to build and install it using "maven war" as given in the tutorial, the build got failed i got the error as follows.
>
>
>
>=================================================================================
>D:\jetspeed-1.5>maven war
>__ __
>| \/ |__ _Apache__ ___
>| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
>|_| |_\__,_|\_/\___|_||_| v. 1.0-rc2
>
>Tag library requested that is not present: 'maven' in plugin: 'null'
>Tag library requested that is not present: 'maven' in plugin: 'null'
>Tag library requested that is not present: 'maven' in plugin: 'null'
>build:start:
>
>war:init:
>java:prepare-filesystem:
>
>java:compile:
>prepare.apis:
>[echo] Generating Jetspeed XML bindings
>[java] -- Suppressing non fatal warnings.
>
>BUILD FAILED
>File...... file:/C:/Documents and Settings/sam/.maven/plugins/maven-torque-plugi
>n-3.2/plugin.jelly
>Element... taskdef
>Line...... 51
>Column.... 63
>taskdef class org.apache.torque.task.TorqueDataModelTask cannot be found
>Total time: 5 seconds
>
>=================================================================================
>
>Can any one please help me. Thank You in advance.
>
>G.Avinash
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>  
>
check if you have the most recent torque plugin for maven

-- 
Henry S. Isidro
Software Engineer
Exist Software Labs


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