J2 build failed. maven allClean... build failed, The filename, directory... maven:reactor ... Line 103
About error: C:\jakarta-jetspeed-2>maven allClean allBuild __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.1 Starting the reactor... BUILD FAILED File.. C:\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 103 Column 31 Error reading XML or initializing Total time: 7 seconds Finished at: Mon Nov 29 wrining many letters. The root this error is placed on http://portals.apache.org/jetspeed-2/getting-started.html in topic: 2. Build Properties writed: "Please set these values in your ${USER_HOME}/|build.properties| file:" ha-ha-ha!!! it's - ERROR!!! The right place for build.properties file - in project.home After change build.properties on 2 file: FERST file: ${USER_HOME}/|build.properties|: maven.home=${user.home}/.maven maven.proxy.host=proxy maven.proxy.port=3128 SECOND file: /build.properties: # jetspeed 2 home required for build org.apache.jetspeed.project.home = C:/work/web/Portal-JAVAas/jakarta-jetspeed-2 # jetspeed required properties org.apache.jetspeed.server.home = C:/Java/jakarta-tomcat-5.5.9 org.apache.jetspeed.catalina.version.major = 5 org.apache.jetspeed.server.shared = ${org.apache.jetspeed.server.home}/shared/lib org.apache.jetspeed.deploy.war.dir = ${org.apache.jetspeed.server.home}/webapps org.apache.jetspeed.services.autodeployment.user = j2deployer org.apache.jetspeed.services.autodeployment.password = j2deployer # jetspeed db build properties example for Hsqldb # Override the database connection and driverproperties in your ${USER_HOME}/build.properties appropriately # See: # http://portals.apache.org/jetspeed-2/database.html org.apache.jetspeed.test.database.url = jdbc:hsqldb:hsql://127.0.0.1:9001 org.apache.jetspeed.test.database.driver = org.hsqldb.jdbcDriver org.apache.jetspeed.test.database.user = sa org.apache.jetspeed.test.database.password = org.apache.jetspeed.test.jdbc.drivers.path= org.apache.jetspeed.test.database.default.name=hsql org.apache.jetspeed.test.database.ojb.platform=Hsqldb org.apache.jetspeed.production.database.url = jdbc:hsqldb:hsql://127.0.0.1:9001 org.apache.jetspeed.production.database.driver = org.hsqldb.jdbcDriver org.apache.jetspeed.production.database.user = sa org.apache.jetspeed.production.database.password = org.apache.jetspeed.production.jdbc.drivers.path= org.apache.jetspeed.production.database.default.name=hsql org.apache.jetspeed.production.database.ojb.platform=Hsqldb ----- the build process is started NORMAL (the finish - I wait on this time 8) ) - 1,5 days I lost on this error 8( -- Vladimir - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache Portals Perl Framework Bridge build failed
The updated project file (dependency to rewriter) was not up-to-date. I just submitted the updated file. Try again. Roger Hampton, Thomas wrote: I tried to build Jetspeed-2 today from the CVS Head and got the following error. I followed the instructions in the "getting started" exactly. 1) the java:compile goal fails because it can't find the org.apache.jetspeed.rewriter package, but the Rewriter Component built successfully. 2) Every target in the build prints "Plugin 'maven-deploy-plugin' in project 'XYZ' is not available Any idea why what's going on here ? The build seems incredibly complicated and I can't yet make any sense of it. Where would I start looking for the problem ? Thanks, Tom + | Build and Install all Jetspeed 2 jars Apache Portals Perl Framework Bridge | Memory: 72M/96M + Plugin 'maven-deploy-plugin' in project 'Apache Portals Perl Framework Bridge' is not available jar:install: build:end: build:start: java:prepare-filesystem: [mkdir] Created dir: C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\target\classes java:compile: [echo] Compiling to C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl/target/classes [javac] Compiling 3 source files to C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\target\classes [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlContentRewriter.java:20: package org.apache.jetspeed.rewriter does not exist [javac] import org.apache.jetspeed.rewriter.Rewriter; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlContentRewriter.java:21: package org.apache.jetspeed.rewriter does not exist [javac] import org.apache.jetspeed.rewriter.RulesetRewriterImpl; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlContentRewriter.java:29: cannot resolve symbol [javac] symbol : class RulesetRewriterImpl [javac] location: class org.apache.portals.bridges.perl.PerlContentRewriter [javac] public class PerlContentRewriter extends RulesetRewriterImpl implements [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlContentRewriter.java:30: cannot resolve symbol [javac] symbol : class Rewriter [javac] location: class org.apache.portals.bridges.perl.PerlContentRewriter [javac] Rewriter { [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlPortlet.java:55: package org.apache.jetspeed.rewriter does not exist [javac] import org.apache.jetspeed.rewriter.JetspeedRewriterController; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlPortlet.java:56: package org.apache.jetspeed.rewriter does not exist [javac] import org.apache.jetspeed.rewriter.RewriterController; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlPortlet.java:57: package org.apache.jetspeed.rewriter does not exist [javac] import org.apache.jetspeed.rewriter.RewriterException; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlPortlet.java:58: package org.apache.jetspeed.rewriter does not exist [javac] import org.apache.jetspeed.rewriter.RulesetRewriter; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlPortlet.java:59: package org.apache.jetspeed.rewriter.html does not exist [javac] import org.apache.jetspeed.rewriter.html.SwingParserAdaptor; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlPortlet.java:60: package org.apache.jetspeed.rewriter.rules does not exist [javac] import org.apache.jetspeed.rewriter.rules.Ruleset; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlPortlet.java:61: package org.apache.jetspeed.rewriter.xml does not exist [javac] import org.apache.jetspeed.rewriter.xml.SaxParserAdaptor; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlPortlet.java
Apache Portals Perl Framework Bridge build failed
I tried to build Jetspeed-2 today from the CVS Head and got the following error. I followed the instructions in the "getting started" exactly. 1) the java:compile goal fails because it can't find the org.apache.jetspeed.rewriter package, but the Rewriter Component built successfully. 2) Every target in the build prints "Plugin 'maven-deploy-plugin' in project 'XYZ' is not available Any idea why what's going on here ? The build seems incredibly complicated and I can't yet make any sense of it. Where would I start looking for the problem ? Thanks, Tom + | Build and Install all Jetspeed 2 jars Apache Portals Perl Framework Bridge | Memory: 72M/96M + Plugin 'maven-deploy-plugin' in project 'Apache Portals Perl Framework Bridge' is not available jar:install: build:end: build:start: java:prepare-filesystem: [mkdir] Created dir: C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\target\classes java:compile: [echo] Compiling to C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl/target/classes [javac] Compiling 3 source files to C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\target\classes [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlContentRewriter.java:20: package org.apache.jetspeed.rewriter does not exist [javac] import org.apache.jetspeed.rewriter.Rewriter; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlContentRewriter.java:21: package org.apache.jetspeed.rewriter does not exist [javac] import org.apache.jetspeed.rewriter.RulesetRewriterImpl; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlContentRewriter.java:29: cannot resolve symbol [javac] symbol : class RulesetRewriterImpl [javac] location: class org.apache.portals.bridges.perl.PerlContentRewriter [javac] public class PerlContentRewriter extends RulesetRewriterImpl implements [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlContentRewriter.java:30: cannot resolve symbol [javac] symbol : class Rewriter [javac] location: class org.apache.portals.bridges.perl.PerlContentRewriter [javac] Rewriter { [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlPortlet.java:55: package org.apache.jetspeed.rewriter does not exist [javac] import org.apache.jetspeed.rewriter.JetspeedRewriterController; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlPortlet.java:56: package org.apache.jetspeed.rewriter does not exist [javac] import org.apache.jetspeed.rewriter.RewriterController; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlPortlet.java:57: package org.apache.jetspeed.rewriter does not exist [javac] import org.apache.jetspeed.rewriter.RewriterException; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlPortlet.java:58: package org.apache.jetspeed.rewriter does not exist [javac] import org.apache.jetspeed.rewriter.RulesetRewriter; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlPortlet.java:59: package org.apache.jetspeed.rewriter.html does not exist [javac] import org.apache.jetspeed.rewriter.html.SwingParserAdaptor; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlPortlet.java:60: package org.apache.jetspeed.rewriter.rules does not exist [javac] import org.apache.jetspeed.rewriter.rules.Ruleset; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlPortlet.java:61: package org.apache.jetspeed.rewriter.xml does not exist [javac] import org.apache.jetspeed.rewriter.xml.SaxParserAdaptor; [javac] ^ [javac] C:\jetspeed2\jakarta-jetspeed-2\portals-bridges\perl\src\java\org\apache \portals\bridges\perl\PerlPortlet.java:125: cannot resolve symbol [javac] symbol : class RulesetRewriter [javac]
AW: StackOverFlowError when using a new build jetspeed
You are right. it seems to depend on the including mechanism of the jetspeed examples. I've debugged a little bit and may think that within the call of the an aspect something recursive happend. but it would be nice if jetspeed from cvs would work like the pre-build binary version. thx -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 15. Marz 2005 10:29 An: Jetspeed Users List Betreff: Re: StackOverFlowError when using a new build jetspeed hi ! i have nealry the same problem. but in my case everthing runs fine : i can logon and use my own portlets - the others are not interesting for me - at the moment. but i get in the tomcat-cmd a stackoverflow. i have a little piece of the tomcat log: 2005-03-15 10:15:50 StandardContext[/demo]JetspeedContainerServlet: Error rendering portlet "BookmarkPortlet": java.lang.StackOverflowError java.lang.StackOverflowError 2005-03-15 10:15:50 StandardContext[/demo]JetspeedContainerServlet: Error rendering JetspeedContainerServlet error page: java.lang.StackOverflowError java.lang.StackOverflowError 2005-03-15 10:23:36 StandardContext[/demo]JetspeedContainerServlet: Error rendering portlet "BookmarkPortlet": java.lang.StackOverflowError java.lang.StackOverflowError 2005-03-15 10:23:36 StandardContext[/demo]JetspeedContainerServlet: Error rendering JetspeedContainerServlet error page: java.lang.StackOverflowError java.lang.StackOverflowError best regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: StackOverFlowError when using a new build jetspeed
hi ! i have nealry the same problem. but in my case everthing runs fine : i can logon and use my own portlets - the others are not interesting for me - at the moment. but i get in the tomcat-cmd a stackoverflow. i have a little piece of the tomcat log: 2005-03-15 10:15:50 StandardContext[/demo]JetspeedContainerServlet: Error rendering portlet "BookmarkPortlet": java.lang.StackOverflowError java.lang.StackOverflowError 2005-03-15 10:15:50 StandardContext[/demo]JetspeedContainerServlet: Error rendering JetspeedContainerServlet error page: java.lang.StackOverflowError java.lang.StackOverflowError 2005-03-15 10:23:36 StandardContext[/demo]JetspeedContainerServlet: Error rendering portlet "BookmarkPortlet": java.lang.StackOverflowError java.lang.StackOverflowError 2005-03-15 10:23:36 StandardContext[/demo]JetspeedContainerServlet: Error rendering JetspeedContainerServlet error page: java.lang.StackOverflowError java.lang.StackOverflowError best regards
StackOverFlowError when using a new build jetspeed
hi, after a while I checked out jetspeed-2 from repository using eclipse and the mevenide plugin. everything worked fine and so I could build the jetspeed portal and deploy it into a tomcat instance (5.0.28). Using a browser to request the portal I got a a long exception stack trace (for requesting the start page http://localhost:8080/jetspeed). not all components are shown in the browser compared with the binary version you can download. every next click on the portal page is resulting in a StackOverflowException. Any suggestion what happend or what I'm doing wrong ? thx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can not build Jetspeed 2 on linux with jkd 1.5
Hi, Thanks for who help me with this. It is working now. I was using M1-src before but with the cvs version it is works. Danilo. [EMAIL PROTECTED] wrote: Quoting Danilo Luiz Rheinheimer <[EMAIL PROTECTED]>: Hi, I can not build jetspeed 2 on a machine running linux with jdk 1.5 Using jdk 1.4 and windows it is working ok (but I think the problem is with jdk 1.5 not linux). This is the error message : [javac] (try -source 1.4 or lower to use '*enum*' as an identifier) [javac] String key = (String) enum.nextElement(); [javac] ^ [javac] 3 errors BUILD FAILED File.. /home/danilo/prg/portal/jetspeed/maven.xml Element... maven:reactor Line.. 133 Column 40 Unable to obtain goal [java:compile] -- /home/danilo/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: Compile failed; see the compiler error output for details. Total time: 12 minutes 55 seconds Finished at: Sat Mar 12 11:09:11 EST 2005 did you get jetspeed by a binray release? this pb is solved but you have to check the latest CVS HEAD version of jetspeed... Luc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can not build Jetspeed 2 on linux with jkd 1.5
What version of Jetspeed 2 (M1 or the latest source from CVS Head) are you using? I remember a comment from Jeremy Ford that the M1 source is not compatible with JDK1.5, but if you get the latest source from CVS Head, you should be able to compile with JDK1.5. Hema On Sat, 12 Mar 2005 12:11:01 -0500, Danilo Luiz Rheinheimer <[EMAIL PROTECTED]> wrote: > Hi, > > I can not build jetspeed 2 on a machine running linux with jdk 1.5 > Using jdk 1.4 and windows it is working ok (but I think the problem is > with jdk 1.5 not linux). > This is the error message : > > +---- > | Build and Install all Jetspeed 2 jars Jetspeed-2 Registry Components > | Memory: 58M/73M > + > Attempting to download jmock-SNAPSHOT.jar. > > jar:install: > > build:end: > > build:start: > > java:prepare-filesystem: > [mkdir] Created dir: > /home/danilo/prg/portal/jetspeed/components/registry/target/classes > > java:compile: > [echo] Compiling to > /home/danilo/prg/portal/jetspeed/components/registry/target/classes > [echo] > == > > NOTE: Targetting JVM 1.5, classes > will not run on earlier JVMs > > == > > [javac] Compiling 52 source files to > /home/danilo/prg/portal/jetspeed/components/registry/target/classes > [javac] > /home/danilo/prg/portal/jetspeed/components/registry/src/java/org/apache/jetspeed/om/impl/LanguageImpl.java:282: > as of release 1.5, 'enum' is a keyword, and may not be used as an identifier > [javac] (try -source 1.4 or lower to use 'enum' as an identifier) > [javac] for (Enumeration enum = bundle.getKeys(); > enum.hasMoreElements();) > [javac] ^ > [javac] > /home/danilo/prg/portal/jetspeed/components/registry/src/java/org/apache/jetspeed/om/impl/LanguageImpl.java:282: > as of release 1.5, 'enum' is a keyword, and may not be used as an identifier > [javac] (try -source 1.4 or lower to use 'enum' as an identifier) > [javac] for (Enumeration enum = bundle.getKeys(); > enum.hasMoreElements();) > [javac] ^ > [javac] > /home/danilo/prg/portal/jetspeed/components/registry/src/java/org/apache/jetspeed/om/impl/LanguageImpl.java:284: > as of release 1.5, 'enum' is a keyword, and may not be used as an identifier > [javac] (try -source 1.4 or lower to use 'enum' as an identifier) > [javac] String key = (String) enum.nextElement(); > [javac] ^ > [javac] 3 errors > > BUILD FAILED > File.. /home/danilo/prg/portal/jetspeed/maven.xml > Element... maven:reactor > Line.. 133 > Column 40 > Unable to obtain goal [java:compile] -- > /home/danilo/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: > Compile failed; see the compiler error output for details. > Total time: 12 minutes 55 seconds > Finished at: Sat Mar 12 11:09:11 EST 2005 > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- ~~ Hema Menon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Can not build Jetspeed 2 on linux with jkd 1.5
It is definately jdk1.5 and not linux. The issue is, Sun decided to make "enum" a keyword in jdk1.5 for whatever reasons !! So as a result -- Enumeration enum = someObject.getEnumeration(); Statement will not compile with jdk1.5 because it would complain about the enum variable name being a keyword. I dont really know the solution to this. My working solution is stay away from jdk1.5 !!! http://forum.java.sun.com/thread.jspa?threadID=581235&messageID=2960217 Amit Original Message Follows From: Danilo Luiz Rheinheimer <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" To: jetspeed-user@jakarta.apache.org Subject: Can not build Jetspeed 2 on linux with jkd 1.5 Date: Sat, 12 Mar 2005 12:11:01 -0500 Hi, I can not build jetspeed 2 on a machine running linux with jdk 1.5 Using jdk 1.4 and windows it is working ok (but I think the problem is with jdk 1.5 not linux). This is the error message : +---- | Build and Install all Jetspeed 2 jars Jetspeed-2 Registry Components | Memory: 58M/73M + Attempting to download jmock-SNAPSHOT.jar. jar:install: build:end: build:start: java:prepare-filesystem: [mkdir] Created dir: /home/danilo/prg/portal/jetspeed/components/registry/target/classes java:compile: [echo] Compiling to /home/danilo/prg/portal/jetspeed/components/registry/target/classes [echo] == NOTE: Targetting JVM 1.5, classes will not run on earlier JVMs == [javac] Compiling 52 source files to /home/danilo/prg/portal/jetspeed/components/registry/target/classes [javac] /home/danilo/prg/portal/jetspeed/components/registry/src/java/org/apache/jetspeed/om/impl/LanguageImpl.java:282: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.4 or lower to use 'enum' as an identifier) [javac] for (Enumeration enum = bundle.getKeys(); enum.hasMoreElements();) [javac] ^ [javac] /home/danilo/prg/portal/jetspeed/components/registry/src/java/org/apache/jetspeed/om/impl/LanguageImpl.java:282: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.4 or lower to use 'enum' as an identifier) [javac] for (Enumeration enum = bundle.getKeys(); enum.hasMoreElements();) [javac] ^ [javac] /home/danilo/prg/portal/jetspeed/components/registry/src/java/org/apache/jetspeed/om/impl/LanguageImpl.java:284: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.4 or lower to use 'enum' as an identifier) [javac] String key = (String) enum.nextElement(); [javac] ^ [javac] 3 errors BUILD FAILED File.. /home/danilo/prg/portal/jetspeed/maven.xml Element... maven:reactor Line.. 133 Column 40 Unable to obtain goal [java:compile] -- /home/danilo/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: Compile failed; see the compiler error output for details. Total time: 12 minutes 55 seconds Finished at: Sat Mar 12 11:09:11 EST 2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can not build Jetspeed 2 on linux with jkd 1.5
Hi, I can not build jetspeed 2 on a machine running linux with jdk 1.5 Using jdk 1.4 and windows it is working ok (but I think the problem is with jdk 1.5 not linux). This is the error message : + | Build and Install all Jetspeed 2 jars Jetspeed-2 Registry Components | Memory: 58M/73M + Attempting to download jmock-SNAPSHOT.jar. jar:install: build:end: build:start: java:prepare-filesystem: [mkdir] Created dir: /home/danilo/prg/portal/jetspeed/components/registry/target/classes java:compile: [echo] Compiling to /home/danilo/prg/portal/jetspeed/components/registry/target/classes [echo] == NOTE: Targetting JVM 1.5, classes will not run on earlier JVMs == [javac] Compiling 52 source files to /home/danilo/prg/portal/jetspeed/components/registry/target/classes [javac] /home/danilo/prg/portal/jetspeed/components/registry/src/java/org/apache/jetspeed/om/impl/LanguageImpl.java:282: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.4 or lower to use 'enum' as an identifier) [javac] for (Enumeration enum = bundle.getKeys(); enum.hasMoreElements();) [javac] ^ [javac] /home/danilo/prg/portal/jetspeed/components/registry/src/java/org/apache/jetspeed/om/impl/LanguageImpl.java:282: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.4 or lower to use 'enum' as an identifier) [javac] for (Enumeration enum = bundle.getKeys(); enum.hasMoreElements();) [javac] ^ [javac] /home/danilo/prg/portal/jetspeed/components/registry/src/java/org/apache/jetspeed/om/impl/LanguageImpl.java:284: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.4 or lower to use 'enum' as an identifier) [javac] String key = (String) enum.nextElement(); [javac] ^ [javac] 3 errors BUILD FAILED File.. /home/danilo/prg/portal/jetspeed/maven.xml Element... maven:reactor Line.. 133 Column 40 Unable to obtain goal [java:compile] -- /home/danilo/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: Compile failed; see the compiler error output for details. Total time: 12 minutes 55 seconds Finished at: Sat Mar 12 11:09:11 EST 2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build problems: Jetspeed and Maven
Jetspeed would be a lot easier to get started with if the guys who wrote the documentation checked it by asking a friend who has little or no experience with Java development but is a Unix or Windows system administrator to try to install it. Watch for the places where the person get stuck and note the questions and discussion. There are little things that are assumed. Last time I looked, it went into great detail about Maven and Ant but never mentionned downloading Jetspeed or setting it up. It just assumed that you would intuitively know at what point to install Jetspeed. It had a whole page about all of the properties in build.properties but never mentionned where to get the file and where to put it. This is not just a Jetspeed problem, it happens everywhere, Just try to figure out how to set up Tomcat and Apache to use the worker files. Same problem - lots of instructions about what the files contents are but never any mention about where the file actually goes - apache/conf or tomcat/conf??? I am pleased about the amount of documentation that is getting done and I know that writing documentation is neither fun nor easy. Keep up the good work. Ron Bernhard Bauer wrote: hi! you should check your build.properties file... have you followed the instructions given on the portal homepage? maybe my instructions/hints can solve your probably (hope you've downloaded and installed java, tomcat and maven...) in the src-folder you've downloaded, there is a file called build.properties.sample - rename this file to build.properties and edit it. take care of the slashes in the path - they have to be / instead of the normal windows - eg. c:/programs instead of c:\programs!! next you have to put the build.properties file in your user-home directory - if you use windows - its "driveletter":\documents and settings\"User" - hope you understand what i mean - if not, just ask if you've done already so, maybe it helps if you show me a listing of your build.properties file... in my opinion - it's not easy getting started with jetspeed-2 - so keep on trying :-) greets, bernhard - Original Message - From: "Christian Tanzmann" <[EMAIL PROTECTED]> To: Sent: Friday, March 11, 2005 10:38 AM Subject: Build problems: Jetspeed and Maven Hi, I try to build jetspeed 2 with maven and I follow the instruction from "getting started" manual but I have a problem. First step I have done cd ${jetspeed-2-home} maven start.test.server Console output: build:start start.test.server: ... [java] server.properties not found, using command line or default properties [java] opening database: ./src/database/hsql/Test [java] HSQLDB server 1.7.1 is running [java] Use SHUTDOWN to close normally ... [java] ... Listening for connections... Second Step I have done in another console: cd ${jetspeed-2-home} maven allClean allBuild Console output: Starting the reactor... BUILD FAILED File. C:\...\maven.xml Line 104 Column 7 Error reading XML or initializing But the maven.xml file at this line looks so: includes="*/project.xml,applications/*/project.xml,services/*/project.xm l,components/*/project.xml,portals-bridges/*/project.xml" excludes="applications/project.taglibs/project.xml" goals="clean" banner="Cleaning" ignoreFailures="true" /> //!!!line 104 includes="layout-portlets/project.xml,maven-plugin/project.xml,taglibs/p roject.xml" goals="clean" banner="Cleaning" ignoreFailures="true" /> Ok. I´m a Newbie but I think this lines are ok. So can you tell me whats wrong. In the first terminal session was no server.properties found but I dont know this file. Because the file is failed the TestServer starts. Please help me. Christian Tanzmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build problems: Jetspeed and Maven
ok - the sentence should be: maybe my instructions/hints can solve your PROBLEMS... ;-) - Original Message - From: "Bernhard Bauer" <[EMAIL PROTECTED]> To: "Jetspeed Users List" Sent: Friday, March 11, 2005 11:06 AM Subject: Re: Build problems: Jetspeed and Maven hi! you should check your build.properties file... have you followed the instructions given on the portal homepage? maybe my instructions/hints can solve your probably (hope you've downloaded and installed java, tomcat and maven...) in the src-folder you've downloaded, there is a file called build.properties.sample - rename this file to build.properties and edit it. take care of the slashes in the path - they have to be / instead of the normal windows - eg. c:/programs instead of c:\programs!! next you have to put the build.properties file in your user-home directory - if you use windows - its "driveletter":\documents and settings\"User" - hope you understand what i mean - if not, just ask if you've done already so, maybe it helps if you show me a listing of your build.properties file... in my opinion - it's not easy getting started with jetspeed-2 - so keep on trying :-) greets, bernhard - Original Message - From: "Christian Tanzmann" <[EMAIL PROTECTED]> To: Sent: Friday, March 11, 2005 10:38 AM Subject: Build problems: Jetspeed and Maven Hi, I try to build jetspeed 2 with maven and I follow the instruction from "getting started" manual but I have a problem. First step I have done cd ${jetspeed-2-home} maven start.test.server Console output: build:start start.test.server: ... [java] server.properties not found, using command line or default properties [java] opening database: ./src/database/hsql/Test [java] HSQLDB server 1.7.1 is running [java] Use SHUTDOWN to close normally ... [java] ... Listening for connections... Second Step I have done in another console: cd ${jetspeed-2-home} maven allClean allBuild Console output: Starting the reactor... BUILD FAILED File. C:\...\maven.xml Line 104 Column 7 Error reading XML or initializing But the maven.xml file at this line looks so: includes="*/project.xml,applications/*/project.xml,services/*/project.xm l,components/*/project.xml,portals-bridges/*/project.xml" excludes="applications/project.taglibs/project.xml" goals="clean" banner="Cleaning" ignoreFailures="true" /> //!!!line 104 includes="layout-portlets/project.xml,maven-plugin/project.xml,taglibs/p roject.xml" goals="clean" banner="Cleaning" ignoreFailures="true" /> Ok. I´m a Newbie but I think this lines are ok. So can you tell me whats wrong. In the first terminal session was no server.properties found but I dont know this file. Because the file is failed the TestServer starts. Please help me. Christian Tanzmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build problems: Jetspeed and Maven
hi! you should check your build.properties file... have you followed the instructions given on the portal homepage? maybe my instructions/hints can solve your probably (hope you've downloaded and installed java, tomcat and maven...) in the src-folder you've downloaded, there is a file called build.properties.sample - rename this file to build.properties and edit it. take care of the slashes in the path - they have to be / instead of the normal windows - eg. c:/programs instead of c:\programs!! next you have to put the build.properties file in your user-home directory - if you use windows - its "driveletter":\documents and settings\"User" - hope you understand what i mean - if not, just ask if you've done already so, maybe it helps if you show me a listing of your build.properties file... in my opinion - it's not easy getting started with jetspeed-2 - so keep on trying :-) greets, bernhard - Original Message - From: "Christian Tanzmann" <[EMAIL PROTECTED]> To: Sent: Friday, March 11, 2005 10:38 AM Subject: Build problems: Jetspeed and Maven Hi, I try to build jetspeed 2 with maven and I follow the instruction from "getting started" manual but I have a problem. First step I have done cd ${jetspeed-2-home} maven start.test.server Console output: build:start start.test.server: ... [java] server.properties not found, using command line or default properties [java] opening database: ./src/database/hsql/Test [java] HSQLDB server 1.7.1 is running [java] Use SHUTDOWN to close normally ... [java] ... Listening for connections... Second Step I have done in another console: cd ${jetspeed-2-home} maven allClean allBuild Console output: Starting the reactor... BUILD FAILED File. C:\...\maven.xml Line 104 Column 7 Error reading XML or initializing But the maven.xml file at this line looks so: includes="*/project.xml,applications/*/project.xml,services/*/project.xm l,components/*/project.xml,portals-bridges/*/project.xml" excludes="applications/project.taglibs/project.xml" goals="clean" banner="Cleaning" ignoreFailures="true" /> //!!!line 104 includes="layout-portlets/project.xml,maven-plugin/project.xml,taglibs/p roject.xml" goals="clean" banner="Cleaning" ignoreFailures="true" /> Ok. I´m a Newbie but I think this lines are ok. So can you tell me whats wrong. In the first terminal session was no server.properties found but I dont know this file. Because the file is failed the TestServer starts. Please help me. Christian Tanzmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Build problems: Jetspeed and Maven
Hi, I try to build jetspeed 2 with maven and I follow the instruction from "getting started" manual but I have a problem. First step I have done cd ${jetspeed-2-home} maven start.test.server Console output: build:start start.test.server: ... [java] server.properties not found, using command line or default properties [java] opening database: ./src/database/hsql/Test [java] HSQLDB server 1.7.1 is running [java] Use SHUTDOWN to close normally ... [java] ... Listening for connections... Second Step I have done in another console: cd ${jetspeed-2-home} maven allClean allBuild Console output: Starting the reactor... BUILD FAILED File. C:\...\maven.xml Line 104 Column 7 Error reading XML or initializing But the maven.xml file at this line looks so: //!!!line 104 Ok. I´m a Newbie but I think this lines are ok. So can you tell me whats wrong. In the first terminal session was no server.properties found but I dont know this file. Because the file is failed the TestServer starts. Please help me. Christian Tanzmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build Jetspeed 1.5 with Maven
--- Stefano Bianchi <[EMAIL PROTECTED]> wrote: > Dear Dan, > I tried your option and now I got a jetspeed-1.5.jar in my target > folder. Great. > Is it the same for deploy on Tomcat? Or should I have a .war? (Sorry, > newbie > question...) Are you using maven? After you get the new jetspeed.jar, I believe (I don't use maven) you can build the app as suggested in the tutorial: http://portals.apache.org/jetspeed-1/tutorial/1/deploy.html, and that will build a war for you. Not sure of this though. > Furthermore, in the thread you suggested me, I saw you made several > changes > to get your Oracle stuff: I thought it was sufficient to configure > properly > the Torque.properties. Is it the rest only Maven-related or am I > missing > something? It was bugs in the oracle Torque configuration. Shouldn't apply in your case. > I checked \src\sql\external and I saw there are > populate-mysql.sql and turbine-mysql.sql. > Are they enough to generate the DB? Why are they generated if I have > not > still changed Torque.properties? Were these regnerated (what do their timestamps tell you)? I thought you did change Torque.properties? The turbine-mysql and populate-mysql files are enough to generate the DB unless you want the psml in the database. > Sorry, but I have to speed up development and I'm spending too much > time in > getting everything configured to start... Yes, I hear you. Have you worked through the tutorial on http://portals.apache.org/jetspeed-1/tutorial? That helped me immensely with general concepts. > On behalf of all newbies around, I warmly ask developers (you made a > great > job, it is just a slight remark) to make DB switch easier for those > who are > not skilled in Maven, builds etc. David Sean Taylor, at the end of that thread, suggested a way to do this. Unfortunately, no one (myself included) has had time to implement this. Dan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build Jetspeed 1.5 with Maven
Dear Dan, I tried your option and now I got a jetspeed-1.5.jar in my target folder. Is it the same for deploy on Tomcat? Or should I have a .war? (Sorry, newbie question...) Furthermore, in the thread you suggested me, I saw you made several changes to get your Oracle stuff: I thought it was sufficient to configure properly the Torque.properties. Is it the rest only Maven-related or am I missing something? I checked \src\sql\external and I saw there are populate-mysql.sql and turbine-mysql.sql. Are they enough to generate the DB? Why are they generated if I have not still changed Torque.properties? Sorry, but I have to speed up development and I'm spending too much time in getting everything configured to start... On behalf of all newbies around, I warmly ask developers (you made a great job, it is just a slight remark) to make DB switch easier for those who are not skilled in Maven, builds etc. Thank you in advance for your attention Stefano - Original Message - From: "Dan Moore" <[EMAIL PROTECTED]> To: "Jetspeed Users List" Sent: Tuesday, February 01, 2005 5:39 PM Subject: Re: Build Jetspeed 1.5 with Maven > > --- Stefano Bianchi <[EMAIL PROTECTED]> wrote: > > > Dear ALL (and David Sean, if you are there!), > > I tried to build Jetspeed with Maven since I want to migrate to > > MySql. > > > > I installed Maven, > > tested it with Maven -v, > > checked the mailing list (similar questions, not this one!), > > checked the installation guidelines for Jetspeed (there is already a > > project.xml included in the source distribution, is it ok?) > > ** but I still get no .war in \target folder (only > > classes, > > jetspeed, test-classes, test-reports). ** > > > > Furthermore, the DOS shell since to hang at the end of the following: > > > > D:\Download\jetspeed-1.5>maven war > > I think you want to skip the tests: maven -Dmaven.test.skip=true > since it hangs on network access. > > Also, this thread may be helpful to you (an aside: anyone know why the > search functionality isn't working on the mailing list?), as it > documents what I went through to rebuild the jars for an Oracle db: > > http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&by=thread&from=902500 > > Dan > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build Jetspeed 1.5 with Maven
--- Stefano Bianchi <[EMAIL PROTECTED]> wrote: > Dear ALL (and David Sean, if you are there!), > I tried to build Jetspeed with Maven since I want to migrate to > MySql. > > I installed Maven, > tested it with Maven -v, > checked the mailing list (similar questions, not this one!), > checked the installation guidelines for Jetspeed (there is already a > project.xml included in the source distribution, is it ok?) > ** but I still get no .war in \target folder (only > classes, > jetspeed, test-classes, test-reports). ** > > Furthermore, the DOS shell since to hang at the end of the following: > > D:\Download\jetspeed-1.5>maven war I think you want to skip the tests: maven -Dmaven.test.skip=true since it hangs on network access. Also, this thread may be helpful to you (an aside: anyone know why the search functionality isn't working on the mailing list?), as it documents what I went through to rebuild the jars for an Oracle db: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&by=thread&from=902500 Dan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Build Jetspeed 1.5 with Maven
Dear ALL (and David Sean, if you are there!), I tried to build Jetspeed with Maven since I want to migrate to MySql. I installed Maven, tested it with Maven -v, checked the mailing list (similar questions, not this one!), checked the installation guidelines for Jetspeed (there is already a project.xml included in the source distribution, is it ok?) ** but I still get no .war in \target folder (only classes, jetspeed, test-classes, test-reports). ** Furthermore, the DOS shell since to hang at the end of the following: D:\Download\jetspeed-1.5>maven war __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 Plugin cache will be regenerated Sto tentando il download di activation-1.0.1.jar. 53K downloaded Sto tentando il download di ant-1.5.jar. 699K downloaded Sto tentando il download di castor-0.9.3.jar. 1106K downloaded Sto tentando il download di commons-beanutils-1.4.1.jar. 79K downloaded Sto tentando il download di commons-collections-2.0.jar. 88K downloaded Sto tentando il download di commons-configuration-1.0-dev.jar. 12K downloaded Sto tentando il download di commons-dbcp-1.0-dev-20020806.jar. 75K downloaded Sto tentando il download di commons-httpclient-1.0.jar. 58K downloaded Sto tentando il download di commons-lang-1.0.jar. 62K downloaded Sto tentando il download di commons-logging-1.0.2.jar. 25K downloaded Sto tentando il download di commons-pool-1.0.jar. 26K downloaded Sto tentando il download di ecs-1.4.1.jar. 370K downloaded Sto tentando il download di fulcrum-3.0-b2-dev.jar. 257K downloaded Sto tentando il download di hsqldb-1.7.1.jar. 252K downloaded Sto tentando il download di oro-2.0.6.jar. 63K downloaded Sto tentando il download di regexp-1.2.jar. 29K downloaded Sto tentando il download di javamail-1.2.jar. 228K downloaded Sto tentando il download di jaxp-1.2.jar. 26K downloaded Sto tentando il download di jcs-1.0-dev.jar. 471K downloaded Sto tentando il download di jdbc-2.0.jar. 6K downloaded Sto tentando il download di jndi-1.2.1.jar. 96K downloaded Sto tentando il download di lucene-1.3-rc1.jar. 222K downloaded Sto tentando il download di ojb-0.7.343.jar. 487K downloaded Sto tentando il download di servletapi-2.2.jar. 39K downloaded Sto tentando il download di soap-2.1.jar. 175K downloaded Sto tentando il download di stratum-1.0-b4-dev.jar. 19K downloaded Sto tentando il download di torque-3.1.jar. 140K downloaded Sto tentando il download di turbine-2.2.jar. 589K downloaded Sto tentando il download di uddi4j-1.0.jar. 142K downloaded Sto tentando il download di velocity-1.3.jar. 339K downloaded Sto tentando il download di village-2.0-dev-20030625.jar. 25K downloaded Sto tentando il download di xalan-2.3.1.jar. 885K downloaded Sto tentando il download di xercesImpl-2.0.2.jar. 911K downloaded Sto tentando il download di xml-apis-2.0.2.jar. 106K downloaded Sto tentando il download di maven-torque-plugin-3.2.jar. 6K downloaded Sto tentando il download di cactus-13-1.4.1.jar. 183K downloaded Sto tentando il download di cactus-ant-1.4.1.jar. 18K downloaded Sto tentando il download di junit-3.7.jar. 114K downloaded Tag library requested that is not present: 'maven' in plugin: 'null' Sto tentando il download di castor-0.9.5.jar. 1575K downloaded Sto tentando il download di commons-net-1.1.0.jar. 139K downloaded Sto tentando il download di jsch-0.1.5.jar. 79K downloaded Sto tentando il download di commons-jelly-tags-velocity-20030303.205659.jar. 7K downloaded Sto tentando il download di velocity-1.4-dev.jar. 351K downloaded Sto tentando il download di commons-jelly-tags-jsl-20030211.143151.jar. 14K downloaded Sto tentando il download di commons-jelly-tags-log-20030211.142821.jar. 8K downloaded Sto tentando il download di velocity-dvsl-0.45.jar. 25K downloaded Sto tentando il download di isorelax-20030108.jar. 188K downloaded Sto tentando il download di jing-20030619.jar. 475K downloaded Sto tentando il download di junit-3.8.1.jar. 118K downloaded Sto tentando il download di commons-jelly-tags-antlr-20030211.143720.jar. 7K downloaded Sto tentando il download di antlr-2.7.2.jar. 349K downloaded build:start: war:init: war:war-resources: [mkdir] Created dir: D:\Download\jetspeed-1.5\target\jetspeed [mkdir] Created dir: D:\Download\jetspeed-1.5\target\jetspeed\WEB-INF [copy] Copying 447 files to D:\Download\jetspeed-1.5\target\jetspeed [copy] Copying 1 file to D:\Download\jetspeed-1.5\target\jetspeed\WEB-INF java:prepare-filesystem: [mkdir] Created dir: D:\Download\jetspeed-1.5\target\classes Tag library requested that is not present: 'maven' in plugin: 'null' java:compile: prepare.apis: [echo] Generating Jetspeed XML bindings [java] -- Suppressing non fatal warnings. Sto tentando il download di commons-configuration-20030311.152757.jar. 31K downloaded Sto tentando il download di commons-dbcp-20030818.201141.jar. 134K downloaded Sto tentando il downlo
Re: Can you apply a patch on xml files? ( was Re: Invalid Column Name error - JS 2 build - SecurityAccessImpl
As for oracle, you're right. Everything in oracle is case insensitive. On Tue, 18 Jan 2005 21:16:14 -0900, Hema Menon <[EMAIL PROTECTED]> wrote: > I don't mind answering my own queries, since I hope someone will later > benefit from the reply if they encounter a similar situation:) > > Anyway, I find that security_repository.xml and sso_repository.xml > contains the column names in lower-case, whereas the table column > names themselves are defined in upper case. In my case, Sybase throws > exception, other databases(say Oracle) may not. Will it be possible to > update these files to reflect the column names in the upper case? > > Thanks, > Hema > > On Fri, 14 Jan 2005 14:38:53 -0600, Hema Menon <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I was successful in building Jetspeed 2 from the source checked out > > from CVS today. My database for deployment is Sybase. After deploying > > jetspeed when I try to login I get the SQLException due to invalid > > column name. The error stack trace is provided below. > > > > I am not why the code is looking for a Column name: creation_date, > > when the column name is indeed CREATION_DATE. It appears that > > getInternalUserPrincipal() method of SecurityAccessImpl is creating > > the query using QueryFactory where this is failing. From what I > > understand it is using SECURITY_PRINCIPAL table where CREATION_DATE > > coulmn is defined. I am not sure failure of the query due to > > case-sensitiveness is specific to Sybase. Can anyone let me know why > > this is happening? > > > > Stack trace follows: > > org.springframework.jdbc.UncategorizedSQLException: (OJB operation): > > encountered SQLException [Invalid column name 'creation_date'. > > ]; nested exception is com.sybase.jdbc2.jdbc.SybSQLException: Invalid > > column name 'creation_date'. > > > > > > org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQLStateSQLExceptionTranslator.java:94) > > > > org.springframework.orm.ojb.OjbAccessor.convertJdbcAccessException(OjbAccessor.java:107) > > > > org.springframework.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:89) > > > > org.springframework.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:155) > > > > org.springframework.orm.ojb.PersistenceBrokerTemplate.getObjectByQuery(PersistenceBrokerTemplate.java:178) > > org.apache.jetspeed.security.spi.impl.SecurityAccessImpl.. > > ..) > > > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) > > $Proxy2.getInternalUserPrincipal(Unknown Source) > > > > org.apache.jetspeed.security.spi.impl.DefaultUserSecurityHandler.getUserPrincipal(DefaultUserSecurityHandler.java:61) > > > > Thanks, > > Hema > > > > ~~ > > Hema Menon > > > > -- > > ~~ > Hema Menon > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can you apply a patch on xml files? ( was Re: Invalid Column Name error - JS 2 build - SecurityAccessImpl
I don't mind answering my own queries, since I hope someone will later benefit from the reply if they encounter a similar situation:) Anyway, I find that security_repository.xml and sso_repository.xml contains the column names in lower-case, whereas the table column names themselves are defined in upper case. In my case, Sybase throws exception, other databases(say Oracle) may not. Will it be possible to update these files to reflect the column names in the upper case? Thanks, Hema On Fri, 14 Jan 2005 14:38:53 -0600, Hema Menon <[EMAIL PROTECTED]> wrote: > Hello, > > I was successful in building Jetspeed 2 from the source checked out > from CVS today. My database for deployment is Sybase. After deploying > jetspeed when I try to login I get the SQLException due to invalid > column name. The error stack trace is provided below. > > I am not why the code is looking for a Column name: creation_date, > when the column name is indeed CREATION_DATE. It appears that > getInternalUserPrincipal() method of SecurityAccessImpl is creating > the query using QueryFactory where this is failing. From what I > understand it is using SECURITY_PRINCIPAL table where CREATION_DATE > coulmn is defined. I am not sure failure of the query due to > case-sensitiveness is specific to Sybase. Can anyone let me know why > this is happening? > > Stack trace follows: > org.springframework.jdbc.UncategorizedSQLException: (OJB operation): > encountered SQLException [Invalid column name 'creation_date'. > ]; nested exception is com.sybase.jdbc2.jdbc.SybSQLException: Invalid > column name 'creation_date'. > > > org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQLStateSQLExceptionTranslator.java:94) > > org.springframework.orm.ojb.OjbAccessor.convertJdbcAccessException(OjbAccessor.java:107) > > org.springframework.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:89) > > org.springframework.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:155) > > org.springframework.orm.ojb.PersistenceBrokerTemplate.getObjectByQuery(PersistenceBrokerTemplate.java:178) > org.apache.jetspeed.security.spi.impl.SecurityAccessImpl.. > ..) > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) > $Proxy2.getInternalUserPrincipal(Unknown Source) > > org.apache.jetspeed.security.spi.impl.DefaultUserSecurityHandler.getUserPrincipal(DefaultUserSecurityHandler.java:61) > > Thanks, > Hema > > ~~ > Hema Menon > -- ~~ Hema Menon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
About j2M1 installer/build scripts - (was Re: Building Jetspeed2)
I thought of using the binary installer for J2 MI, unfortunately it does not have support for my deployment database, Sybase. Same goes for the manual build scripts. Could you consider including a Sybase entry to the build scripts and the installer, in future, perhaps? I could send out the modified build scripts and sql schemas for Sybase and maybe offer support for updating the scripts for future builds. Thanks, Hema On Fri, 14 Jan 2005 10:19:47 -0700, Randy Watler <[EMAIL PROTECTED]> wrote: > Mike, > > There is a recent J2 M1 binary release and an installer. > > > Well, I finally got the binary installer for J2 M1 finished, here is a > > temporary link: http://www.binary-designs.net/downloads.html. The > > download takes a little time to start but fairly quick once it does. > > > > The only requirements are that you have a compatible version of the > > JDK 1.4.2, installed, see: > > http://wiki.apache.org/portals/Jetspeed2/PrefsClassloaderIssuesAndSdk1 > > and > > > The Apache Portals community is pleased to announce the release of > > Jetspeed 2.0 M1. > > > > This is our first milestone release and brings Jetspeed closer to a > > final 2.0 release. > > > > Feedback is greatly appreciated, especially in the form of bug reports. > > > > You can download Jetspeed 2.0 M1 from: > > > > http://www.apache.org/dist/portals/jetspeed-2/ > > > > Release notes and installation instructions are at: > > > > http://www.apache.org/dist/portals/jetspeed-2/JETSPEED-2.0-M1-README.txt > > > > The Jetspeed Project Wiki and Home pages can be found here: > > > > http://wiki.apache.org/portals/Jetspeed2 > > > > http://portals.apache.org/jetspeed-2/ > > > > You can also probably try to rerun your maven build and it will try to > reload the missing jars... it might take a few iterations if you are not > on a reliable connection. > > Good luck! > > Randy ~~ Hema Menon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Invalid Column Name error - JS 2 build - SecurityAccessImpl
Hello, I was successful in building Jetspeed 2 from the source checked out from CVS today. My database for deployment is Sybase. After deploying jetspeed when I try to login I get the SQLException due to invalid column name. The error stack trace is provided below. I am not why the code is looking for a Column name: creation_date, when the column name is indeed CREATION_DATE. It appears that getInternalUserPrincipal() method of SecurityAccessImpl is creating the query using QueryFactory where this is failing. From what I understand it is using SECURITY_PRINCIPAL table where CREATION_DATE coulmn is defined. I am not sure failure of the query due to case-sensitiveness is specific to Sybase. Can anyone let me know why this is happening? Stack trace follows: org.springframework.jdbc.UncategorizedSQLException: (OJB operation): encountered SQLException [Invalid column name 'creation_date'. ]; nested exception is com.sybase.jdbc2.jdbc.SybSQLException: Invalid column name 'creation_date'. org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQLStateSQLExceptionTranslator.java:94) org.springframework.orm.ojb.OjbAccessor.convertJdbcAccessException(OjbAccessor.java:107) org.springframework.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:89) org.springframework.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:155) org.springframework.orm.ojb.PersistenceBrokerTemplate.getObjectByQuery(PersistenceBrokerTemplate.java:178) org.apache.jetspeed.security.spi.impl.SecurityAccessImpl.. ..) org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) $Proxy2.getInternalUserPrincipal(Unknown Source) org.apache.jetspeed.security.spi.impl.DefaultUserSecurityHandler.getUserPrincipal(DefaultUserSecurityHandler.java:61) Thanks, Hema ~~ Hema Menon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
help on build jetspeed2 with eclipse.
Hello everyone, I would like some help in building jetspeed2 with eclipse. I follow the instruction on the following page http://wiki.apache.org/portals/Jetspeed2/DevelopingJetspeed2. First of all, before running maven, I got the following warnings: The resource is a duplicate of components/profiler/src/java/META-INF/test-spring.xml and was not copied to the output folder test-spring.xmjakarta-jetspeed-2/components/capability/src/java/META-INF... The method getVector(String) from the type Configuration is deprecated MemoryBasedScheduler.java jakarta-jetspeed-2/components/jetspeed/src/java/org/apache/jetspeed/schedule r... I got exactly 16 warnings, but these are just warnings. So I run maven with "allClean allBuild" recommended. And then it is impossible to download the requested jar file, eclipse prompt the following problem: "Error retrieving artifact from [ http://cvs.apache.org/repository/jetspeed2/jars/jetspeed-api-2.0-M2-dev.jar] : java.net.ConnectException: Connection timed out: connect" In the same way, it is impossible to download all the jar files. Thank you for you help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with build
The build stops before finishing DB creation, witha foreign key during the drop of SSO_SITE Follows the log: build:start: allBuild: check.required.properties: torque:init: db.scripts.gen: [echo] Generating SQL schema creation scripts for HSQLDB [torque-sql] Using classpath [torque-sql] Generating to file E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for MySQL [torque-sql] Using classpath [torque-sql] Generating to file E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\mysql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for Oracle [torque-sql] Using classpath [torque-sql] Generating to file E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\oracle\report.portal.sql.generation [echo] Generating SQL schema creation scripts for MS SQL [torque-sql] Using classpath [torque-sql] Generating to file E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\mssql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for Postgres [torque-sql] Using classpath [torque-sql] Generating to file E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\postgres\report.portal.sql.generation db.create.test: db.test.properties: db.create: db.execute: [sql] Executing file: E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\phase3ojb-schema.sql [sql] 16 of 16 SQL statements executed successfully db.execute: [sql] Executing file: E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\phase1-schema.sql [sql] 16 of 16 SQL statements executed successfully db.execute: [sql] Executing file: E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\phase2-schema.sql [sql] 29 of 29 SQL statements executed successfully db.execute: [sql] Executing file: E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\registry-schema.sql [sql] 40 of 40 SQL statements executed successfully db.execute: [sql] Executing file: E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\prefs-schema.sql [sql] 9 of 9 SQL statements executed successfully db.execute: [sql] Executing file: E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\security-schema.sql [sql] [ERROR] Failed to execute: drop table SSO_SITE if exists BUILD FAILED File.. E:\java\eclipse\jakarta\jakarta-jetspeed-2\maven.xml Element... sql Line.. 355 Column 39 java.sql.SQLException: Integrity constraint violation: SYS_REF_SSO_SITE_TO_CREDENTIALS_FK_1_490 table: SSO_SITE_TO_CREDENTIALS in statement [drop table SSO_SITE if exists] Total time: 16 seconds Finished at: Thu Dec 02 01:30:10 GMT-03:00 2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Build failure
I just had a build failure. Follows the log. build:start: allBuild: check.required.properties: torque:init: db.scripts.gen: [echo] Generating SQL schema creation scripts for HSQLDB [torque-sql] Using classpath [torque-sql] Generating to file E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for MySQL [torque-sql] Using classpath [torque-sql] Generating to file E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\mysql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for Oracle [torque-sql] Using classpath [torque-sql] Generating to file E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\oracle\report.portal.sql.generation [echo] Generating SQL schema creation scripts for MS SQL [torque-sql] Using classpath [torque-sql] Generating to file E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\mssql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for Postgres [torque-sql] Using classpath [torque-sql] Generating to file E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\postgres\report.portal.sql.generation db.create.test: db.test.properties: db.create: db.execute: [sql] Executing file: E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\phase3ojb-schema.sql [sql] 16 of 16 SQL statements executed successfully db.execute: [sql] Executing file: E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\phase1-schema.sql [sql] 16 of 16 SQL statements executed successfully db.execute: [sql] Executing file: E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\phase2-schema.sql [sql] 29 of 29 SQL statements executed successfully db.execute: [sql] Executing file: E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\registry-schema.sql [sql] 40 of 40 SQL statements executed successfully db.execute: [sql] Executing file: E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\prefs-schema.sql [sql] 9 of 9 SQL statements executed successfully db.execute: [sql] Executing file: E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\security-schema.sql [sql] [ERROR] Failed to execute: drop table SSO_SITE if exists BUILD FAILED File.. E:\java\eclipse\jakarta\jakarta-jetspeed-2\maven.xml Element... sql Line.. 355 Column 39 java.sql.SQLException: Integrity constraint violation: SYS_REF_SSO_SITE_TO_CREDENTIALS_FK_1_490 table: SSO_SITE_TO_CREDENTIALS in statement [drop table SSO_SITE if exists] Total time: 16 seconds Finished at: Thu Dec 02 01:17:15 GMT-03:00 2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unable to build Jetspeed-2 from HEAD today
On Wed, 1 Dec 2004 15:32:38 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > First let me state that I'm new to Jetspeed, so please forgive my > ignorance. > > Yesterday, after much help from the WIKI, and the list archive, I was > finally able to build Jetspeed-2. Unfortunately, Jetspeed would not > display. Today I attempted to clean up my workspace, and start over from > scratch (this included getting a fresh copy ffrom CVS) , but now I get the > compile error below. As you can tell, I am using Eclipse as build > environment. Any help would be appreciated. > > Secondly, in order to get through Maven allClean allBuild, it was > necessary for me to manually download MANY jars for > http://www.bluesunrise.com/maven. I tried several suggestions to avoid > this but all to no avail. Is there something I can do to get Maven to > perform these downloads? > You'll need to run maven with "-Dmaven.repo.remote=http://www.bluesunrise.com/maven/,http://www.ibiblio.org/maven/,http://dist.codehaus.org/,http://cvs.apache.org/repository"; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unable to build Jetspeed-2 from HEAD today
Stephen, Try removing the extra import line and see what you get... which Java environment are you using? Randy [EMAIL PROTECTED] wrote: First let me state that I'm new to Jetspeed, so please forgive my ignorance. Yesterday, after much help from the WIKI, and the list archive, I was finally able to build Jetspeed-2. Unfortunately, Jetspeed would not display. Today I attempted to clean up my workspace, and start over from scratch (this included getting a fresh copy ffrom CVS) , but now I get the compile error below. As you can tell, I am using Eclipse as build environment. Any help would be appreciated. Secondly, in order to get through Maven allClean allBuild, it was necessary for me to manually download MANY jars for http://www.bluesunrise.com/maven. I tried several suggestions to avoid this but all to no avail. Is there something I can do to get Maven to perform these downloads? java:compile: [echo] Compiling to C:\apache\jakarta-jetspeed-2\jetspeed-api/target/classes [javac] Compiling 181 source files to C:\apache\jakarta-jetspeed-2\jetspeed-api\target\classes [javac] C:\apache\jakarta-jetspeed-2\jetspeed-api\src\java\org\apache\jetspeed\om\folder\Folder.java:20: org.apache.jetspeed.om.folder.Folder is already defined in this compilation unit [javac] import org.apache.jetspeed.om.folder.Folder; [javac] ^ [javac] Note: C:\apache\jakarta-jetspeed-2\jetspeed-api\src\java\org\apache\jetspeed\mockobjects\MockHttpServletRequest.java uses or overrides a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 1 error BUILD FAILED File.. C:\apache\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 133 Column 40 Unable to obtain goal [java:compile] -- C:\Documents and Settings\PittmanS\.maven\cache\maven-java-plugin-1.4\plugin.jelly:53:48: Compile failed; see the compiler error output for details. Total time: 2 minutes 10 seconds Finished at: Wed Dec 01 14:07:41 EST 2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Unable to build Jetspeed-2 from HEAD today
First let me state that I'm new to Jetspeed, so please forgive my ignorance. Yesterday, after much help from the WIKI, and the list archive, I was finally able to build Jetspeed-2. Unfortunately, Jetspeed would not display. Today I attempted to clean up my workspace, and start over from scratch (this included getting a fresh copy ffrom CVS) , but now I get the compile error below. As you can tell, I am using Eclipse as build environment. Any help would be appreciated. Secondly, in order to get through Maven allClean allBuild, it was necessary for me to manually download MANY jars for http://www.bluesunrise.com/maven. I tried several suggestions to avoid this but all to no avail. Is there something I can do to get Maven to perform these downloads? java:compile: [echo] Compiling to C:\apache\jakarta-jetspeed-2\jetspeed-api/target/classes [javac] Compiling 181 source files to C:\apache\jakarta-jetspeed-2\jetspeed-api\target\classes [javac] C:\apache\jakarta-jetspeed-2\jetspeed-api\src\java\org\apache\jetspeed\om\folder\Folder.java:20: org.apache.jetspeed.om.folder.Folder is already defined in this compilation unit [javac] import org.apache.jetspeed.om.folder.Folder; [javac] ^ [javac] Note: C:\apache\jakarta-jetspeed-2\jetspeed-api\src\java\org\apache\jetspeed\mockobjects\MockHttpServletRequest.java uses or overrides a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 1 error BUILD FAILED File.. C:\apache\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 133 Column 40 Unable to obtain goal [java:compile] -- C:\Documents and Settings\PittmanS\.maven\cache\maven-java-plugin-1.4\plugin.jelly:53:48: Compile failed; see the compiler error output for details. Total time: 2 minutes 10 seconds Finished at: Wed Dec 01 14:07:41 EST 2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Trouble Build Jetspeed-2 using Maven 1.0.1
Hi, It's a known bug of maven 1.0.1, you can find the workaround at http://nagoya.apache.org/jira/browse/JS2-164 Regards Carlos Sanchez A Coruña, Spain http://www.jroller.com/page/carlossg > -Original Message- > From: Mark Fretwell [mailto:[EMAIL PROTECTED] > Sent: Monday, November 29, 2004 7:40 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Trouble Build Jetspeed-2 using Maven 1.0.1 > > I'm receiving the following error when executing a build pf > Jetspeed-2 using Maven 1.0.1: > > C:\jakarta-jetspeed-2>maven allClean allBuild __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0.1 > > Starting the reactor... > > BUILD FAILED > File.. C:\jakarta-jetspeed-2\maven.xml Element... > maven:reactor Line.. 103 Column 31 Error reading XML > or initializing Total time: 7 seconds Finished at: Mon Nov 29 > 13:16:17 EST 2004 > > I also receiving the following server/properties file message > when starting up the test server: > > C:\jakarta-jetspeed-2>maven start.test.server __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0.1 > > build:start: > > start.test.server: > [echo] > [echo] Testing Database > [echo] > [java] server.properties not found, using command line or > default properties > > [java] Opening database: ./src/database/hsql/Test > [java] HSQLDB server 1.7.1 is running > [java] Use SHUTDOWN to close normally. Use [Ctrl]+[C] to > abort abruptly > [java] Mon Nov 29 13:11:41 EST 2004 Listening for connections ... > > OS and Applications used: > > 1. Windows 2000 Version 5.0 SP4 > 2. Maven 1.0.1 > 3. Tomcat 5.0.28 > 4. Jetspeed-2 > 5. jdsdk1.4.2_06 > > Thanks, > Mark A. Fretwell > Senior Computer Scientist > CSC/CIVIL > 820 First St. NE > Washington, DC 20002 > (202) 354-7034 > (301) 921-3034 > [EMAIL PROTECTED] > > > -- > -- > This is a PRIVATE message. If you are not the intended > recipient, please delete without copying and kindly advise us > by e-mail of the mistake in delivery. NOTE: Regardless of > content, this e-mail shall not operate to bind CSC to any > order or other contract unless pursuant to explicit written > agreement or government initiative expressly permitting the > use of e-mail for such purpose. > -- > -- > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Trouble Build Jetspeed-2 using Maven 1.0.1
I'm receiving the following error when executing a build pf Jetspeed-2 using Maven 1.0.1: C:\jakarta-jetspeed-2>maven allClean allBuild __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.1 Starting the reactor... BUILD FAILED File.. C:\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 103 Column 31 Error reading XML or initializing Total time: 7 seconds Finished at: Mon Nov 29 13:16:17 EST 2004 I also receiving the following server/properties file message when starting up the test server: C:\jakarta-jetspeed-2>maven start.test.server __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.1 build:start: start.test.server: [echo] [echo] Testing Database [echo] [java] server.properties not found, using command line or default properties [java] Opening database: ./src/database/hsql/Test [java] HSQLDB server 1.7.1 is running [java] Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly [java] Mon Nov 29 13:11:41 EST 2004 Listening for connections ... OS and Applications used: 1. Windows 2000 Version 5.0 SP4 2. Maven 1.0.1 3. Tomcat 5.0.28 4. Jetspeed-2 5. jdsdk1.4.2_06 Thanks, Mark A. Fretwell Senior Computer Scientist CSC/CIVIL 820 First St. NE Washington, DC 20002 (202) 354-7034 (301) 921-3034 [EMAIL PROTECTED] This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
Maven build issues [was Getting Started]
Hi, Actually there's a bug in Maven 1.0.1 that prevent correct behaviour of the build process. http://jira.codehaus.org/browse/MAVEN-1501 You'll need to run maven with "-Dmaven.repo.remote=http://www.bluesunrise.com/maven/,http://www.ibiblio.org/maven/,http://dist.codehaus.org/,http://cvs.apache.org /repository" Also note two things: - some files (sun jars: activation,...) in the http://www.bluesunrise.com/maven/ repository can't be there due to license restrictions, that's why we haven't uploaded them to ibiblio repo. 2. License to Distribute Software. (i) distribute the Software complete and unmodified and only bundled as part of your Programs - versions ending with "-dev" should en with "-SNAPSHOT", so they ge redownloaded when they are updated. Regards Carlos Sanchez A Coruña, Spain http://www.jroller.com/page/carlossg > -Original Message- > From: Ron Wheeler [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 27, 2004 10:38 PM > To: Jetspeed Users List > Subject: Re: Getting Started > > Thanks for the hints. I got stopped before you did but it > helped to see where the build file belongs. I would have > buried it too deep. > I am working with Tomcat 5.5.4, Java 5 (1.5.0), the latest > Eclipse, Maven 1.0.1 and have downloaded the latest Eclipse > plug-ins recomended in the Jetspeed Wiki. > > So far so good. Jetspeed is downloaded and I only got one > error message about license.txt which appears to be > downloaded OK anyway. > > I am trying to report as many of the errors and omissions in > the current documentation as I can. I have a feeling that the > guys who are writing the documentatoin are sometimes too > knowledable and leave things out that us mere mortals do not > deduce from their descriptions. The best one is the Jetspeed > installation where they omit the step of downloading Jetspeed > after carefully making sure that we have Maven and all the other stuff > > I am a big Eclipse fan and use it for all of our interactions > with CVS and for non-Java activities such as Flash > Actionscript development and to get the marketing types to > keep organized by creating eclipse projects for marketing. It > handles Mindmaps, XML, word processing documents, etc.. It > gives us a truly secure, distributed file system with good > protection against conflicting updates. We work out of 4 > locations in Montreal and have staff in Columbia sharing > files and managing projects through Eclipse. > > > > When I tried to do the maven build, I got this error. > > File or url 'C:\Program > Files\Java\jdk1.5.0/Classes/classes.jar' could not be found > java.net.MalformedURLException: unknown protocol: c > at java.net.URL.(Unknown Source) > at java.net.URL.(Unknown Source) > at java.net.URL.(Unknown Source) > at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:403) > at com.werken.forehead.Forehead.load(Forehead.java:322) > at com.werken.forehead.Forehead.config(Forehead.java:245) > at com.werken.forehead.Forehead.config(Forehead.java:131) > at com.werken.forehead.Forehead.main(Forehead.java:579) > > So now I guess that I start the research on this. There does > not appear to be a file classes.jar in Java 5 or Java 4 so it > must be a setting that is not right somewhere. > It looks like it is having trouble with the c: but I do not > know where it is building this. JAVA_HOME has the C: in it > but removing it from the definition of JAVA_HOME did not have > any effect. > > > > Hema Menon wrote: > > >Hi Ron, > > > >I have used Jetspeed with 1.5 binaries before. I needed to upgrade to > >1.6 or 2 since it offered struts and jsr 168 portlet > support. So this > >past week, I was able to successfully build and deploy > Jetspeed 2 and > >Jetspeed 1.6 with fusion. I downloaded and used Maven for the first > >time just for the purpose of building Jetspeed 2. Some > patience and lot > >of reading into the mailing list posts and responses from > the mailing > >list members helped me with it. > > > >Here's my own notes on how to get Jetspeed 2 built. My > environment was > >Win XP, Tomcat 5.0.28 and jdk1.4.2_06. I saw many questions on the > >mailing list on how to get the source from CVS. So I started > out with > >answering that. > > > >1. I need to use Jetspeed 2. Binaries are not available since it is > >not released yet. How can I get the source from CVS and build it? > >You need a CVS client to access the source code anonymously. > >Instructions on getting source with Eclipse is described here. > >h
Re: jetspeed2 build problems : SOLVED
Solved the build problem. Thanks to Hema Menon, Rob.
jetspeed2 build problems
Hi, trying to build jetspeed2, but the build is failing because it cannot download a lot of the jars. How do I fix this ? I've tried manually downloading some of them - but can't get the build process to see them. thanks, Rob.
Re: Jetspeed 2 Build Problem - Unsatisfied dependency
For anyone who come across this problem, I was able to fix this problem by dowloading the required jars directly from http://www.bluesunrise.com/maven . Later, Hema On Mon, 22 Nov 2004 21:30:14 -0600, Hema Menon wrote: > I have been trying to build Jetspeed 2 from the CVS code. The build runs but > ultimately fails with the following > Column 40 > The build cannot continue because of the following unsatisfied dependency: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jetspeed 2 Build Problem - Unsatisfied dependency
Hi, I have been trying to build Jetspeed 2 from the CVS code. The build runs but ultimately fails with the following . Attempting to download pluto-1.0.1-rc1.jar. WARNING: Failed to download pluto-1.0.1-rc1.jar. BUILD FAILED File.. C:\HMENON\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 133 Column 40 The build cannot continue because of the following unsatisfied dependency: pluto-1.0.1-rc1.jar Total time: 5 minutes 8 seconds Finished at: Mon Nov 22 21:20:03 CST 2004 --- Can someone please give me some directions on how to resolve this issue? Thanks in advance, Hema _ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
localized titles (was Re: getting user object in velocityportlet subclass to build localized title)
Thank you Peter. This was exactly the correct solution and a lot simpler than what I was contemplating. Works like a charm. Thanks, Dan --- "Peter F." <[EMAIL PROTECTED]> wrote: > Hello Dan, > > I solved this problem in another way. > I just changed a bit of code in > templates\vm\controls\html\jetspeed.vm > > In the place, where Portlet title is output, I placed this code: > >#if($l10n.get($portlet_instance.Title)) > $l10n.get($portlet_instance.Title) >#else > $portlet_instance.Title >#end > > Portlet's title is a key for Localization resources file. If resource > isn't found, than just portlet's title is shown as is. > > > > > Wednesday, November 17, 2004, 11:52:12 PM, you wrote: > > DM> Hi folks, > > DM> I'm interested in having localized titles for the portlets, but > not > DM> really interested in maintaining different psml files, since the > layout > DM> for each locale the same. > > DM> I saw some pointers in this thread: > DM> > http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&by=thread&from=305498 > > DM> And have been sucessful in overriding the getTitle() method on > the > DM> VelocityPortlet. However, Kim asks the $64000 question: > > DM> "Any pointers on how to get [the locale] inside the getTitle() > method?" > > DM> I was looking through some of the other Jetspeed source code and > saw > DM> this kind of call: > > DM>this.runDataService = > DM>(JetspeedRunDataService)TurbineServices.getInstance() > DM>.getService(RunDataService.SERVICE_NAME); > DM> rundata = this.runDataService.getCurrentRunData(); > > DM> This seemed like it would work, since if the rundata can give me > the > DM> user object. However, when I put this code in my subclass of > DM> VelocityPortlet, I don't get a JetspeedRunDataService back from > DM> > TurbineServices.getInstance().getService(RunDataService.SERVICE_NAME) > > DM> Instead, I get an instance of > DM> org.apache.jetspeed.services.resources.JetspeedResourceService, > even > DM> though RunDataService.SERVICE_NAME is "RunDataService". > > DM> I tried just instantiating JetspeedRunDataService and calling > init on > DM> it, but that give me a null pointer exception (and the Turbine > services > DM> webpage implies that that is not what I should be doing, since > services > DM> are singletons: > DM> > http://jakarta.apache.org/turbine/turbine/development/turbine-2.3/services/index.html). > > DM> What's the proper way to get the User object from a > VelocityPortlet? > DM> I'm overriding getTitle(), so I need to get the User object in > there. > > DM> Thanks, > DM> Dan > > DM> > - > DM> To unsubscribe, e-mail: > DM> [EMAIL PROTECTED] > DM> For additional commands, e-mail: > DM> [EMAIL PROTECTED] > > > > > -- > Best regards, > Peter > mailto:[EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [SPAM] getting user object in velocityportlet subclass to build localized title
Hello Dan, I solved this problem in another way. I just changed a bit of code in templates\vm\controls\html\jetspeed.vm In the place, where Portlet title is output, I placed this code: #if($l10n.get($portlet_instance.Title)) $l10n.get($portlet_instance.Title) #else $portlet_instance.Title #end Portlet's title is a key for Localization resources file. If resource isn't found, than just portlet's title is shown as is. Wednesday, November 17, 2004, 11:52:12 PM, you wrote: DM> Hi folks, DM> I'm interested in having localized titles for the portlets, but not DM> really interested in maintaining different psml files, since the layout DM> for each locale the same. DM> I saw some pointers in this thread: DM> http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&by=thread&from=305498 DM> And have been sucessful in overriding the getTitle() method on the DM> VelocityPortlet. However, Kim asks the $64000 question: DM> "Any pointers on how to get [the locale] inside the getTitle() method?" DM> I was looking through some of the other Jetspeed source code and saw DM> this kind of call: DM>this.runDataService = DM>(JetspeedRunDataService)TurbineServices.getInstance() DM>.getService(RunDataService.SERVICE_NAME); DM> rundata = this.runDataService.getCurrentRunData(); DM> This seemed like it would work, since if the rundata can give me the DM> user object. However, when I put this code in my subclass of DM> VelocityPortlet, I don't get a JetspeedRunDataService back from DM> TurbineServices.getInstance().getService(RunDataService.SERVICE_NAME) DM> Instead, I get an instance of DM> org.apache.jetspeed.services.resources.JetspeedResourceService, even DM> though RunDataService.SERVICE_NAME is "RunDataService". DM> I tried just instantiating JetspeedRunDataService and calling init on DM> it, but that give me a null pointer exception (and the Turbine services DM> webpage implies that that is not what I should be doing, since services DM> are singletons: DM> http://jakarta.apache.org/turbine/turbine/development/turbine-2.3/services/index.html). DM> What's the proper way to get the User object from a VelocityPortlet? DM> I'm overriding getTitle(), so I need to get the User object in there. DM> Thanks, DM> Dan DM> - DM> To unsubscribe, e-mail: DM> [EMAIL PROTECTED] DM> For additional commands, e-mail: DM> [EMAIL PROTECTED] -- Best regards, Petermailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
getting user object in velocityportlet subclass to build localized title
Hi folks, I'm interested in having localized titles for the portlets, but not really interested in maintaining different psml files, since the layout for each locale the same. I saw some pointers in this thread: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&by=thread&from=305498 And have been sucessful in overriding the getTitle() method on the VelocityPortlet. However, Kim asks the $64000 question: "Any pointers on how to get [the locale] inside the getTitle() method?" I was looking through some of the other Jetspeed source code and saw this kind of call: this.runDataService = (JetspeedRunDataService)TurbineServices.getInstance() .getService(RunDataService.SERVICE_NAME); rundata = this.runDataService.getCurrentRunData(); This seemed like it would work, since if the rundata can give me the user object. However, when I put this code in my subclass of VelocityPortlet, I don't get a JetspeedRunDataService back from TurbineServices.getInstance().getService(RunDataService.SERVICE_NAME) Instead, I get an instance of org.apache.jetspeed.services.resources.JetspeedResourceService, even though RunDataService.SERVICE_NAME is "RunDataService". I tried just instantiating JetspeedRunDataService and calling init on it, but that give me a null pointer exception (and the Turbine services webpage implies that that is not what I should be doing, since services are singletons: http://jakarta.apache.org/turbine/turbine/development/turbine-2.3/services/index.html). What's the proper way to get the User object from a VelocityPortlet? I'm overriding getTitle(), so I need to get the User object in there. Thanks, Dan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven command to build jetspeed-1.5.jar
Hi all, As a complete Maven neophyte, I can't seem to figure out what would the appropriate command would be in order to build Jetspeed, but (if possible) only to get the new jetspeed-1.5.jar. I am just modifying UserUpdateAction to handle new fields, so I don't really need it to go over all the antics with Javadoc, war, etc. Is this possible? Regards Ruy --- Dan Moore <[EMAIL PROTECTED]> wrote: > > --- Ruy Diaz Jara <[EMAIL PROTECTED]> wrote: > > > Hi everyone, > > > > I am trying extend my Jetspeed user in order to add a field > > containing a title. > > However, I am having A LOT of trouble. I first tried following the > > Turbine > > Extend User How-To with no luck. Now I have been trying the > > instructions from > > the Jetspeed site with basically the same result. I think the problem > > is with > > where I am doing the changes. > > > > I have downloaded the jetspeed source, but according to the > > instructions there > > should be a build/torque directory which I don't seem to find. > > Are you downloading the src from CVS, or the 1.5 release? I don't see > a build/torque directory in the 1.5 release. > > > Do I > > have to do > > some building before this directory appears (maven dist:install)? or > > is this > > just a typo from the instructions and what I actually have to modify > > is in the > > src/torque-schema directory? > > I believe you modify src/torque-schema/security-schema.xml > > > The same would apply to the > > build.properties. I > > can't seem to find them! The only build.properties are in > > C:\java\jetspeed-1.5\scratchpad\jetspeed-cms > > I think you're supposed to change project.properties to point to your > correct database. > > In order to get the new sql and the new torque classes, I had to use > this maven line: > maven clean torque:sql dist -Dmaven.test.skip=true > > This generates a jetspeed.jar file with the new torque classes and puts > the sql in target/sql/ > > > I will greatly appreciate any pointers as to where I'm not > > understanding the > > instrucions (I have no experience with Maven whatsoever). > > I agree. I ended up not using maven and just writing ant scripts to do > what I wanted to do. Maven confused the heck out of me. > > Dan > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > = --- I used to be an atheist, until I realized I was God. __ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
build jetspeed-2 in eclipse 3.0.0(can not con to cvs server)
hi I try to build jetspeed-2 in eclipse 3.0.0 IDE but i has problem to connect to "cvs.apache .org" I get this error : Cannot locate host java.net.UnknownHostException: cvs.apache.org java.net.PlainSocketImpl.connect(Unknown Source) java.net.Socket.connect(Unknown Source) java.net.Socket.connect(Unknown Source) java.net.Socket.(Unknown Source) java.net.Socket.(Unknown Source) org.eclipse.team.internal.ccvs.core.util.Util$1.run(Util.java:180) java.lang.Thread.run(Unknown Source) And this the information that I pepare for eclipse: Host: cvs.apache.org Repository path: /home/cvspublic User: anoncvs Leave Password empty. regards nafise __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Jetspeed2 Build failed. (Unable to obtain goal [war:war]...)
Hi All, I am building Jetspeed 2 by following http://portals.apache.org/jetspeed-2/getting-started.html I am getting the following message while building (allBuild) - war:war: [echo] Building WAR BUILD FAILED File.. file:/C:/jakarta-jetspeed/ Element... maven:reactor Line.. 144 Column 40 Unable to obtain goal [war:war] -- file:/C:/Documents and Settings/alluash.FUSION-NET/.maven/plugins /maven-war-plugin-1.4/:45:37: A zip file cannot include itself Total time: 18 minutes 38 seconds Finished at: Fri Nov 05 15:13:12 IST 2004 - I am using Tomcat/5.0.28, maven 1.0 Thanks Ashok
Jetspeed2 Build Issues
Hi, I tried to do a clean build of Jetspeed 2 (from CVS). When I built the application, I had to modify the order of some of the tables in the *-schema.xml files in the src/schema. Also when I deploy a portlet, I am getting an error in the logs saying that "This request requires HTTP authentication" (in amongst html output). I have a build from last week that is running well. I am trying to setup some other machines to start developing portlets. Should I just use the source from my build last week? Am I doing something else wrong? I'm using Tomcat 5.0.28 and MySQL 4.1. I know there is a lot going into getting to M1. Thanks for the help. - Doug
Réf. : Re: jetpeed 2 build error
I have take the original package of spingframework and it work... David Sean Taylor Pour : Jetspeed Users List <[EMAIL PROTECTED]> <[EMAIL PROTECTED] cc : se.com> Objet : Re: jetpeed 2 build error 22/10/2004 01:48 Veuillez répondre à "Jetspeed Users List" [EMAIL PROTECTED] wrote: > Hi, > > I have juste download the last cvs of Jetspeed2. I have a compilation > error. > > this is the trace: > Sorry I fell behind keeping the maven repo up-to-date. The remote Maven repo has been refreshed. Please try again and see if that helps... -- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office] +01 707 773 4646 [mobile] +01 707 529 9194 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jetpeed 2 build error
[EMAIL PROTECTED] wrote: Hi, I have juste download the last cvs of Jetspeed2. I have a compilation error. this is the trace: Sorry I fell behind keeping the maven repo up-to-date. The remote Maven repo has been refreshed. Please try again and see if that helps... -- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office] +01 707 773 4646 [mobile] +01 707 529 9194 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jetpeed 2 build error
Hi, I have juste download the last cvs of Jetspeed2. I have a compilation error. this is the trace: + | Build and Install all Jetspeed 2 jars Jetspeed-2 Component Manager | Memory: 32M/50M + Plugin 'maven-deploy-plugin' in project 'Jetspeed-2 Component Manager' is not available jar:install: build:end: build:start: java:prepare-filesystem: [mkdir] Created dir: /home/jabouijc/jakarta-jetspeed-2/components/cm/target/classes java:compile: [echo] Compiling to /home/jabouijc/jakarta-jetspeed-2/components/cm/target/classes [javac] Compiling 9 source files to /home/jabouijc/jakarta-jetspeed-2/components/cm/target/classes [javac] /home/jabouijc/jakarta-jetspeed-2/components/cm/src/java/org/apache/jetspeed/components/factorybeans/PlutoFactoryFactoryBean.java:24: package org.springframework.beans.factory.config does not exist [javac] import org.springframework.beans.factory.config.AbstractFactoryBean; [javac] ^ [javac] /home/jabouijc/jakarta-jetspeed-2/components/cm/src/java/org/apache/jetspeed/components/factorybeans/PlutoFactoryFactoryBean.java:37: cannot resolve symbol [javac] symbol : class AbstractFactoryBean [javac] location: class org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean [javac] public class PlutoFactoryFactoryBean extends AbstractFactoryBean [javac] ^ [javac] /home/jabouijc/jakarta-jetspeed-2/components/cm/src/java/org/apache/jetspeed/components/factorybeans/ServletConfigFactoryBean.java:20: package org.springframework.beans.factory.config does not exist [javac] import org.springframework.beans.factory.config.AbstractFactoryBean; [javac] ^ [javac] /home/jabouijc/jakarta-jetspeed-2/components/cm/src/java/org/apache/jetspeed/components/factorybeans/ServletConfigFactoryBean.java:33: cannot resolve symbol [javac] symbol : class AbstractFactoryBean [javac] location: class org.apache.jetspeed.components.factorybeans.ServletConfigFactoryBean [javac] public class ServletConfigFactoryBean extends AbstractFactoryBean [javac] ^ [javac] /home/jabouijc/jakarta-jetspeed-2/components/cm/src/java/org/apache/jetspeed/components/SpringComponentManager.java:44: cannot access org.springframework.core.io.DefaultResourceLoader [javac] file org/springframework/core/io/DefaultResourceLoader.class not found [javac] appContext = new FileSystemXmlApplicationContext(springConfigs, parentAppContext ); [javac] ^ [javac] 5 errors BUILD FAILED File.. /home/jabouijc/jakarta-jetspeed-2/maven.xml Element... maven:reactor Line.. 133 Column 40 Unable to obtain goal [java:compile] -- /home/jabouijc/.maven/cache/maven-java-plugin-1.4/plugin.jelly:53:48: Compile failed; see the compiler error output for details. Total time: 55 seconds Finished at: Thu Oct 21 09:49:18 CEST 2004 somoene have an idea ? thanks for your answers... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jetspeed2 build problems
My apologies if I am completely clueless, I have no experience with Maven or Jetspeed whatsoever, and only limited experience with Tomcat and Ant. I am trying to get a basic build of Jetspeed2 to complete using: Linux on PPC IBM Java 1.4.2_0.55 Tomcat 5.0.28 Maven 1.0 Ant 1.6 Mysql I'm sorta hoping this is something really obvious, and I just don't know what. Again, apolgies if I am clueless. If anyone knows of good documentation, or a book or something, feel free to direct me there. - Output from "Maven allClean allBuild" command --- Starting the reactor... Our processing order: Java Portlet API Jetspeed-2 Core API Apache Portals Bridges common utilities and interfaces Jetspeed-2 Portal Commons Apache Portals My Faces Bridge Apache Portals Struts Framework Bridge Jetspeed 2 TreeControl TagLib Jetspeed-2 Component Manager Jetspeed-2 RDBMS Components Jetspeed-2 Persistence Components Jetspeed-2 Preferences SPI Components Jetspeed-2 Components Jetspeed-2 Template Locator Jetspeed-2 ID Generator Jetspeed-2 Security Components Jetspeed-2 Portlet Factory Jetspeed-2 File Cache Jetspeed-2 Search Component Jetspeed-2 Deploy Tools Jetspeed-2 Web Content Jetspeed-2 Registry Components Jetspeed-2 Profiler Jetspeed-2 Capability Components Jetspeed-2 Page Manager Jetspeed-2 Enterprise Portal Content Server Jetspeed-2 Portal Engine +---- | Build and Install all Jetspeed 2 jars Java Portlet API | Memory: 233M/255M + Plugin 'maven-deploy-plugin' in project 'Java Portlet API' is not available jetspeed2:jar:install: build:start: java:prepare-filesystem: [mkdir] Created dir: /usr/local/jakarta-jetspeed-2/portlet-api/target/classes java:compile: [echo] Compiling to /usr/local/jakarta-jetspeed-2/portlet-api/target/classes [javac] Compiling 27 source files to /usr/local/jakarta-jetspeed-2/portlet-api/target/classes java:jar-resources: test:prepare-filesystem: [mkdir] Created dir: /usr/local/jakarta-jetspeed-2/portlet-api/target/test-classes [mkdir] Created dir: /usr/local/jakarta-jetspeed-2/portlet-api/target/test-reports test:test-resources: test:compile: [echo] No test source files to compile. test:test: [echo] No tests to run. jar:jar: [jar] Building jar: /usr/local/jakarta-jetspeed-2/portlet-api/target/portlet-api-1.0.jar Copying: from '/usr/local/jakarta-jetspeed-2/portlet-api/target/portlet-api-1.0.jar' to: '/root/.maven/repository/portlet-api/jars/portlet-api-1.0.jar' Copying: from '/usr/local/jakarta-jetspeed-2/portlet-api/project.xml' to: '/root/.maven/repository/portlet-api/poms/portlet-api-1.0.pom' + | Build and Install all Jetspeed 2 jars Jetspeed-2 Core API | Memory: 139M/255M + Plugin 'maven-deploy-plugin' in project 'Jetspeed-2 Core API' is not available jar:install: build:end: build:start: java:prepare-filesystem: [mkdir] Created dir: /usr/local/jakarta-jetspeed-2/jetspeed-api/target/classes java:compile: [echo] Compiling to /usr/local/jakarta-jetspeed-2/jetspeed-api/target/classes [javac] Compiling 167 source files to /usr/local/jakarta-jetspeed-2/jetspeed-api/target/classes [javac] error: IO exception sun.io.MalformedInputException [javac] error: IO exception sun.io.MalformedInputException [javac] error: IO exception sun.io.MalformedInputException [javac] error: IO exception sun.io.MalformedInputException [javac] error: IO exception sun.io.MalformedInputException [javac] error: IO exception sun.io.MalformedInputException [javac] 6 errors BUILD FAILED File.. /usr/local/jakarta-jetspeed-2/maven.xml Element... maven:reactor Line.. 133 Column 40 Unable to obtain goal [java:compile] -- /root/.maven/cache/maven-java-plugin-1.4/plugin.jelly:53:48: Compile failed; see the compiler error output for details. Total time: 16 minutes 44 seconds Finished at: Wed Oct 20 07:06:49 PDT 2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jetspeed2 build
The Jetspeed-2 build creates a war and not a jar file. The war file and the portlet applications need to be deployed into the servlet container. For more details see (http://portals.apache.org/jetspeed-2/getting-started.html) Roger Bharat Nagwani (bhnagwan) wrote: Hi, I did a build using >maven allBuild. The build went fine( I did change maven:reactor to maven:install to proceed). I dont see any jar file out of this process. I was expecting Jetspeed2.jar or something like that which I can then use in my project. thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jetspeed2 build
Hi, I did a build using >maven allBuild. The build went fine( I did change maven:reactor to maven:install to proceed). I dont see any jar file out of this process. I was expecting Jetspeed2.jar or something like that which I can then use in my project. thanks
Fail build log
Hello, here my log. forget the time machine please. Thanks By. --Filippo ---Out Put Maven--- | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0 Tag library requested that is not present: 'maven' in plugin: 'null' build:start: war:init: java:prepare-filesystem: [mkdir] Created dir: E:\Portale\jetspeed-current-src\jetspeed-1.5\target\classes Tag library requested that is not present: 'maven' in plugin: 'null' java:compile: prepare.apis: [echo] Generating Jetspeed XML bindings [java] -- Suppressing non fatal warnings. torque:init: torque:om-check: [uptodate] Warning: coffees-schema.xml modified in the future. [uptodate] Warning: dbpsml-schema.xml modified in the future. [uptodate] Warning: email-schema.xml modified in the future. [uptodate] Warning: registry-schema.xml modified in the future. [uptodate] Warning: security-schema.xml modified in the future. 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 E:[EMAIL PROTECTED] Total time: 17 seconds Finished at: Tue Oct 14 10:26:07 CEST 2003 Error: BUILD FAILED File.. C:\Documents and Settings\Filippo\.maven\cache\maven-torque-plugin-3. 2\plugin.jelly Element... torque-data-model Line.. 228 Column 49 org.apache.torque.engine.EngineException: jakarta.apache.org E:\Portale\jetspeed-current-src\jetspeed-1.5> warning velocity: 2003-10-13 14:47:59,980 - SimpleLog4JLogSystem initialized using logfile 'velocity.log' 2003-10-13 14:47:59,980 - ** 2003-10-13 14:47:59,980 - Starting Jakarta Velocity v1.3.1 2003-10-13 14:47:59,980 - RuntimeInstance initializing. 2003-10-13 14:47:59,980 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties 2003-10-13 14:47:59,980 - Trying to use logger class org.apache.velocity.runtime.log.AvalonLogSystem 2003-10-13 14:47:59,980 - Couldn't find class org.apache.velocity.runtime.log.AvalonLogSystem or necessary supporting classes in classpath. Exception : java.lang.NoClassDefFoundError: org/apache/log/format/Formatter 2003-10-13 14:47:59,980 - Trying to use logger class org.apache.velocity.runtime.log.SimpleLog4JLogSystem 2003-10-13 14:47:59,980 - Using logger class org.apache.velocity.runtime.log.SimpleLog4JLogSystem 2003-10-13 14:47:59,990 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) 2003-10-13 14:48:00,010 - Resource Loader Instantiated: org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader 2003-10-13 14:48:00,010 - ClasspathResourceLoader : initialization starting. 2003-10-13 14:48:00,010 - ClasspathResourceLoader : initialization complete. 2003-10-13 14:48:00,010 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl) 2003-10-13 14:48:00,010 - Default ResourceManager initialization complete. 2003-10-13 14:48:00,020 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal 2003-10-13 14:48:00,020 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro 2003-10-13 14:48:00,030 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse 2003-10-13 14:48:00,030 - Loaded System Directive: org.apache.velocity.runtime.directive.Include 2003-10-13 14:48:00,030 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach 2003-10-13 14:48:00,381 - Created: 20 parsers. 2003-10-13 14:48:00,381 - Velocimacro : initialization starting. 2003-10-13 14:48:00,391 - Velocimacro : adding VMs from VM library template : VM_global_library.vm 2003-10-13 14:48:00,391 - ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. 2003-10-13 14:48:00,391 - Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm' 2003-10-13 14:48:00,391 - Velocimacro : VM library template macro registration complete. 2003-10-13 14:48:00,391 - Velocimacro : allowInline = true : VMs can be defined inline in templates 2003-10-13 14:48:00,391 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions 2003-10-13 14:48:00,391 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed. 2003-10-13 14:48:00,391 - Velocimacro : messages on : VM system will output logging messages 2003-10-13 14:48:00,391 - Velocimacro : autoload off : VM system will not automatically reload global library macros 2003-10-13 14:48:00,391 - Velocimacro : initialization complete. 2003-10-13 14:48:00,391 - Velocity successfully s
[J2] Updated build process.
All, A quick email to let you know that J2 now requires a jetspeed2.home variable defined in ${user.home}/build.properties. Please see issue http://issues.apache.org/jira/browse/JS2-126 for more detail. The getting-started has been updated in CVS as well. Does anyone know how to push the updated getting started to the portals site? Regards, David Le Strat. ___ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Failed to build Jetspeed-2
yes. I just following the instruction to do in Getting Start. Eric On Fri, 10 Sep 2004 10:42:22 -0400, Scott T. Weaver <[EMAIL PROTECTED]> wrote: > Are you using the version of HSQL that comes with Jetspeed 2? > > > > Eric Chow wrote: > > >Heelo, > > > >When I build the JetSpeed-2 (from CVS), it raised the following exception: > > > >db.scripts.gen: > >[echo] Generating SQL schema creation scripts for HSQLDB > >[torque-sql] Using classpath > >[torque-sql] Generating to file C:\Projects\jakarta-jetspeed-2\target\src\sq > >l\hsql\report.portal.sql.generation > >[echo] Generating SQL schema creation scripts for MySQL > >[torque-sql] Using classpath > >[torque-sql] Generating to file C:\Projects\jakarta-jetspeed-2\target\src\sq > >l\mysql\report.portal.sql.generation > >[echo] Generating SQL schema creation scripts for Oracle > >[torque-sql] Using classpath > >[torque-sql] Generating to file C:\Projects\jakarta-jetspeed-2\target\src\sq > >l\oracle\report.portal.sql.generation > > > >db.create.test: > >db.test.properties: > > > >db.create: > >db.execute: > >[sql] Executing file: C:\Projects\jakarta-jetspeed-2\target\src\sql\hsql\pha > >se3ojb-schema.sql > >[sql] [ERROR] Failed to execute: drop table if exists OJB_HL_SEQ > > > >BUILD FAILED > >File.. C:\Projects\jakarta-jetspeed-2\maven.xml > >Element... sql > >Line.. 532 > >Column 39 > >java.sql.SQLException: Table not found: IF in statement [drop table if exists OJ > >B_HL_SEQ] > >Total time: 7 minutes 11 seconds > >Finished at: Fri Sep 10 17:26:03 CST 2004 > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > -- > "Great minds discuss ideas. Average minds discuss events. Small minds discuss > people." - Admiral Hyman Rickover > > *** > * Scott T. Weaver * > * <[EMAIL PROTECTED]> * > * <http://www.einnovation.com>* > * -- * > * Apache Jetspeed Enterprise Portal * > * Apache Pluto Portlet Container * > * * > * OpenEditPro, Website Content Management * > * <http://www.openeditpro.com>* > *** > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Failed to build Jetspeed-2
Are you using the version of HSQL that comes with Jetspeed 2? Eric Chow wrote: Heelo, When I build the JetSpeed-2 (from CVS), it raised the following exception: db.scripts.gen: [echo] Generating SQL schema creation scripts for HSQLDB [torque-sql] Using classpath [torque-sql] Generating to file C:\Projects\jakarta-jetspeed-2\target\src\sq l\hsql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for MySQL [torque-sql] Using classpath [torque-sql] Generating to file C:\Projects\jakarta-jetspeed-2\target\src\sq l\mysql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for Oracle [torque-sql] Using classpath [torque-sql] Generating to file C:\Projects\jakarta-jetspeed-2\target\src\sq l\oracle\report.portal.sql.generation db.create.test: db.test.properties: db.create: db.execute: [sql] Executing file: C:\Projects\jakarta-jetspeed-2\target\src\sql\hsql\pha se3ojb-schema.sql [sql] [ERROR] Failed to execute: drop table if exists OJB_HL_SEQ BUILD FAILED File.. C:\Projects\jakarta-jetspeed-2\maven.xml Element... sql Line.. 532 Column 39 java.sql.SQLException: Table not found: IF in statement [drop table if exists OJ B_HL_SEQ] Total time: 7 minutes 11 seconds Finished at: Fri Sep 10 17:26:03 CST 2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- "Great minds discuss ideas. Average minds discuss events. Small minds discuss people." - Admiral Hyman Rickover *** * Scott T. Weaver * * <[EMAIL PROTECTED]> * * <http://www.einnovation.com>* * -- * * Apache Jetspeed Enterprise Portal * * Apache Pluto Portlet Container * * * * OpenEditPro, Website Content Management * * <http://www.openeditpro.com>* *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Failed to build Jetspeed-2
Heelo, When I build the JetSpeed-2 (from CVS), it raised the following exception: db.scripts.gen: [echo] Generating SQL schema creation scripts for HSQLDB [torque-sql] Using classpath [torque-sql] Generating to file C:\Projects\jakarta-jetspeed-2\target\src\sq l\hsql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for MySQL [torque-sql] Using classpath [torque-sql] Generating to file C:\Projects\jakarta-jetspeed-2\target\src\sq l\mysql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for Oracle [torque-sql] Using classpath [torque-sql] Generating to file C:\Projects\jakarta-jetspeed-2\target\src\sq l\oracle\report.portal.sql.generation db.create.test: db.test.properties: db.create: db.execute: [sql] Executing file: C:\Projects\jakarta-jetspeed-2\target\src\sql\hsql\pha se3ojb-schema.sql [sql] [ERROR] Failed to execute: drop table if exists OJB_HL_SEQ BUILD FAILED File.. C:\Projects\jakarta-jetspeed-2\maven.xml Element... sql Line.. 532 Column 39 java.sql.SQLException: Table not found: IF in statement [drop table if exists OJ B_HL_SEQ] Total time: 7 minutes 11 seconds Finished at: Fri Sep 10 17:26:03 CST 2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: v1.5 Build Prob
Jeremy Ford wrote: > > Check the test-reports directory under the target directory. The tests are > failing for some reason. Thanks for the info. TEST-org.apache.jetspeed.util.TestOverwriteProperties.txt, 3 failures - Overwrite, remove, and add. I must have messed up something. Any ideas? > Jeremy Ford > [EMAIL PROTECTED] > > >From: Tod Thomas <[EMAIL PROTECTED]> > >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> > >To: Jetspeed Users List <[EMAIL PROTECTED]> > >Subject: Re: v1.5 Build Prob > >Date: Wed, 25 Aug 2004 10:24:10 -0400 > > > >Jeremy Ford wrote: > > > > > > Most of these jars are available directly from sun. Please download > >them > > > and place them into your local maven repository. > > > > > >BUILD FAILED > >File.. > >/home/tthomas/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly > >Element... fail > >Line.. 181 > >Column 54 > >There were test failures. > >Total time: 7 minutes 38 seconds > >Finished at: Wed Aug 25 10:03:09 EDT 2004 > > > > > >Do I need to refresh Maven's cache? > > > > > > > >From: Tod Thomas <[EMAIL PROTECTED]> > > > >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> > > > >To: Jetspeed Users List <[EMAIL PROTECTED]> > > > >Subject: v1.5 Build Prob > > > >Date: Thu, 12 Aug 2004 09:50:06 -0400 > > > > > > > >I'm trying to build jetspeed v1.5 using maven and am receiving the > > > >following error: > > > > > > > >The build cannot continue because of the following unsatisfied > > > >dependencies: > > > > > > > >activation-1.0.1.jar > > > >javamail-1.2.jar > > > >jaxp-1.2.jar > > > >jdbc-2.0.jar > > > >jndi-1.2.1.jar > > > >stratum-1.0-b4-dev.jar > > > >uddi4j-1.0.jar > > > >maven-torque-plugin-3.2.jar > > > > > > > >How can I satisfy these dependencies? > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > _ > FREE pop-up blocking with the new MSN Toolbar get it now! > http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: v1.5 Build Prob
Check the test-reports directory under the target directory. The tests are failing for some reason. Jeremy Ford [EMAIL PROTECTED] From: Tod Thomas <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> To: Jetspeed Users List <[EMAIL PROTECTED]> Subject: Re: v1.5 Build Prob Date: Wed, 25 Aug 2004 10:24:10 -0400 Jeremy Ford wrote: > > Most of these jars are available directly from sun. Please download them > and place them into your local maven repository. BUILD FAILED File.. /home/tthomas/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly Element... fail Line.. 181 Column 54 There were test failures. Total time: 7 minutes 38 seconds Finished at: Wed Aug 25 10:03:09 EDT 2004 Do I need to refresh Maven's cache? > >From: Tod Thomas <[EMAIL PROTECTED]> > >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> > >To: Jetspeed Users List <[EMAIL PROTECTED]> > >Subject: v1.5 Build Prob > >Date: Thu, 12 Aug 2004 09:50:06 -0400 > > > >I'm trying to build jetspeed v1.5 using maven and am receiving the > >following error: > > > >The build cannot continue because of the following unsatisfied > >dependencies: > > > >activation-1.0.1.jar > >javamail-1.2.jar > >jaxp-1.2.jar > >jdbc-2.0.jar > >jndi-1.2.1.jar > >stratum-1.0-b4-dev.jar > >uddi4j-1.0.jar > >maven-torque-plugin-3.2.jar > > > >How can I satisfy these dependencies? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ FREE pop-up blocking with the new MSN Toolbar get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: v1.5 Build Prob
Jeremy Ford wrote: > > Most of these jars are available directly from sun. Please download them > and place them into your local maven repository. BUILD FAILED File.. /home/tthomas/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly Element... fail Line.. 181 Column 54 There were test failures. Total time: 7 minutes 38 seconds Finished at: Wed Aug 25 10:03:09 EDT 2004 Do I need to refresh Maven's cache? > >From: Tod Thomas <[EMAIL PROTECTED]> > >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> > >To: Jetspeed Users List <[EMAIL PROTECTED]> > >Subject: v1.5 Build Prob > >Date: Thu, 12 Aug 2004 09:50:06 -0400 > > > >I'm trying to build jetspeed v1.5 using maven and am receiving the > >following error: > > > >The build cannot continue because of the following unsatisfied > >dependencies: > > > >activation-1.0.1.jar > >javamail-1.2.jar > >jaxp-1.2.jar > >jdbc-2.0.jar > >jndi-1.2.1.jar > >stratum-1.0-b4-dev.jar > >uddi4j-1.0.jar > >maven-torque-plugin-3.2.jar > > > >How can I satisfy these dependencies? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Postgres - Torque security-schema.xml - Build
Does the security-schema.xml, and project.properties file do anything to the jetspeed classes during a jetspeed source build ? We took the binary build of JS15, and configured it to use a JNDI data source for a postgres user registry. After some fussing with the postgres schema files (changing to bytea, adding PASSWORD_CHANGED etc). We also added turbine_user.user_id as a sequence.All had been working normally, until yesterday, when PSML files ceased to be created for new users; due to the exception that is now being thrown: 2004-08-24 16:21:22,327 [http80-Processor1] ERROR TurbineUserManagement - Failed to create account 'xxx' org.postgresql.util.PSQLException: ERROR: "turbine_user" is not a sequence I've seen several posts regarding this exception, but no absolute resolution. Many indicated to modify the build.properties, and security-schema.xml, remove autoincrement etc, what does this end up doing? There is a default sequence for the turbine_user table, turbine_user_user_id_seq, which was created during the table creation. Is there a way to stop jetspeed from trying to use the table as a sequence, or point it to the proper sequence? -Arthur
Re: v1.5 Build Prob
The TestSearch test hangs and is a know issue with the Jetspeed 1.5 build. Either a) patch the URLtoDocHandler from CVS or b) add TestSearch to the list of excluded tests. Jeremy Ford [EMAIL PROTECTED] From: Tod Thomas <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> To: Jetspeed Users List <[EMAIL PROTECTED]> Subject: Re: v1.5 Build Prob Date: Thu, 19 Aug 2004 11:56:20 -0400 Jeremy Ford wrote: > > Most of these jars are available directly from sun. Please download them > and place them into your local maven repository. > > Jeremy Ford > [EMAIL PROTECTED] > > >From: Tod Thomas <[EMAIL PROTECTED]> > >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> > >To: Jetspeed Users List <[EMAIL PROTECTED]> > >Subject: v1.5 Build Prob > >Date: Thu, 12 Aug 2004 09:50:06 -0400 > > > >I'm trying to build jetspeed v1.5 using maven and am receiving the > >following error: > > > >The build cannot continue because of the following unsatisfied > >dependencies: > > > >activation-1.0.1.jar > >javamail-1.2.jar > >jaxp-1.2.jar > >jdbc-2.0.jar > >jndi-1.2.1.jar > >stratum-1.0-b4-dev.jar > >uddi4j-1.0.jar > >maven-torque-plugin-3.2.jar > > > >How can I satisfy these dependencies? Ok, I I got past this problem. It somehow seemed to have fixed itself but I'm still getting used to Maven so I could have created another problem. Now while execexcuting maven -X war I see lines like the following: [junit] INFO - loading component: name=torque class=org.apache.torque.Torque config=webapp/WEB-INF/conf/Torque.properties [junit] INFO - loading component: name=fulcrum class=org.apache.fulcrum.Fulcrum config=webapp/WEB-INF/conf/Fulcrum.properties [junit] INFO - Finished initializing all services! [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.517 sec ... [junit] Running org.apache.jetspeed.services.registry.TestRegistryPersistence and [junit] INFO - loading component: name=torque class=org.apache.torque.Torque config=webapp/WEB-INF/conf/Torque.properties [junit] INFO - loading component: name=fulcrum class=org.apache.fulcrum.Fulcrum config=webapp/WEB-INF/conf/Fulcrum.properties [junit] INFO - Finished initializing all services! [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.039 sec ... [junit] Running org.apache.jetspeed.services.search.TestSearch This all seems to be normal output. The problem is once it gets past the TestRegistryPersistence i get: [junit] INFO - loading component: name=torque class=org.apache.torque.Torque config=webapp/WEB-INF/conf/Torque.properties [junit] INFO - loading component: name=fulcrum class=org.apache.fulcrum.Fulcrum config=webapp/WEB-INF/conf/Fulcrum.properties [junit] INFO - Finished initializing all services! and then Maven hangs. Is this a known problem? Thanks for your patience. Tod - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: v1.5 Build Prob
Jeremy Ford wrote: > > Most of these jars are available directly from sun. Please download them > and place them into your local maven repository. > > Jeremy Ford > [EMAIL PROTECTED] > > >From: Tod Thomas <[EMAIL PROTECTED]> > >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> > >To: Jetspeed Users List <[EMAIL PROTECTED]> > >Subject: v1.5 Build Prob > >Date: Thu, 12 Aug 2004 09:50:06 -0400 > > > >I'm trying to build jetspeed v1.5 using maven and am receiving the > >following error: > > > >The build cannot continue because of the following unsatisfied > >dependencies: > > > >activation-1.0.1.jar > >javamail-1.2.jar > >jaxp-1.2.jar > >jdbc-2.0.jar > >jndi-1.2.1.jar > >stratum-1.0-b4-dev.jar > >uddi4j-1.0.jar > >maven-torque-plugin-3.2.jar > > > >How can I satisfy these dependencies? Ok, I I got past this problem. It somehow seemed to have fixed itself but I'm still getting used to Maven so I could have created another problem. Now while execexcuting maven -X war I see lines like the following: [junit] INFO - loading component: name=torque class=org.apache.torque.Torque config=webapp/WEB-INF/conf/Torque.properties [junit] INFO - loading component: name=fulcrum class=org.apache.fulcrum.Fulcrum config=webapp/WEB-INF/conf/Fulcrum.properties [junit] INFO - Finished initializing all services! [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.517 sec ... [junit] Running org.apache.jetspeed.services.registry.TestRegistryPersistence and [junit] INFO - loading component: name=torque class=org.apache.torque.Torque config=webapp/WEB-INF/conf/Torque.properties [junit] INFO - loading component: name=fulcrum class=org.apache.fulcrum.Fulcrum config=webapp/WEB-INF/conf/Fulcrum.properties [junit] INFO - Finished initializing all services! [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.039 sec ... [junit] Running org.apache.jetspeed.services.search.TestSearch This all seems to be normal output. The problem is once it gets past the TestRegistryPersistence i get: [junit] INFO - loading component: name=torque class=org.apache.torque.Torque config=webapp/WEB-INF/conf/Torque.properties [junit] INFO - loading component: name=fulcrum class=org.apache.fulcrum.Fulcrum config=webapp/WEB-INF/conf/Fulcrum.properties [junit] INFO - Finished initializing all services! and then Maven hangs. Is this a known problem? Thanks for your patience. Tod - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: v1.5 Build Prob
Tod Thomas wrote: Jeremy Ford wrote: Most of these jars are available directly from sun. Please download them and place them into your local maven repository. No problem. I thought maybe there were specific versioning requirements that necessitated letting Maven handle this task. The true reason is due to the licensing of the Sun jars which prevents them from being hosted on ibiblio or Apache. Thanks. Jeremy Ford [EMAIL PROTECTED] From: Tod Thomas <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> To: Jetspeed Users List <[EMAIL PROTECTED]> Subject: v1.5 Build Prob Date: Thu, 12 Aug 2004 09:50:06 -0400 I'm trying to build jetspeed v1.5 using maven and am receiving the following error: The build cannot continue because of the following unsatisfied dependencies: activation-1.0.1.jar javamail-1.2.jar jaxp-1.2.jar jdbc-2.0.jar jndi-1.2.1.jar stratum-1.0-b4-dev.jar uddi4j-1.0.jar maven-torque-plugin-3.2.jar How can I satisfy these dependencies? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- *** * Scott T. Weaver * * <[EMAIL PROTECTED]> * * <http://www.einnovation.com>* * -- * * Apache Jetspeed Enterprise Portal * * Apache Pluto Portlet Container * * * * OpenEditPro, Website Content Management * * <http://www.openeditpro.com>* *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: v1.5 Build Prob
Jeremy Ford wrote: > > Most of these jars are available directly from sun. Please download them > and place them into your local maven repository. No problem. I thought maybe there were specific versioning requirements that necessitated letting Maven handle this task. Thanks. > Jeremy Ford > [EMAIL PROTECTED] > > >From: Tod Thomas <[EMAIL PROTECTED]> > >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> > >To: Jetspeed Users List <[EMAIL PROTECTED]> > >Subject: v1.5 Build Prob > >Date: Thu, 12 Aug 2004 09:50:06 -0400 > > > >I'm trying to build jetspeed v1.5 using maven and am receiving the > >following error: > > > >The build cannot continue because of the following unsatisfied > >dependencies: > > > >activation-1.0.1.jar > >javamail-1.2.jar > >jaxp-1.2.jar > >jdbc-2.0.jar > >jndi-1.2.1.jar > >stratum-1.0-b4-dev.jar > >uddi4j-1.0.jar > >maven-torque-plugin-3.2.jar > > > >How can I satisfy these dependencies? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: v1.5 Build Prob
Most of these jars are available directly from sun. Please download them and place them into your local maven repository. Jeremy Ford [EMAIL PROTECTED] From: Tod Thomas <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> To: Jetspeed Users List <[EMAIL PROTECTED]> Subject: v1.5 Build Prob Date: Thu, 12 Aug 2004 09:50:06 -0400 I'm trying to build jetspeed v1.5 using maven and am receiving the following error: The build cannot continue because of the following unsatisfied dependencies: activation-1.0.1.jar javamail-1.2.jar jaxp-1.2.jar jdbc-2.0.jar jndi-1.2.1.jar stratum-1.0-b4-dev.jar uddi4j-1.0.jar maven-torque-plugin-3.2.jar How can I satisfy these dependencies? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ FREE pop-up blocking with the new MSN Toolbar get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
v1.5 Build Prob
I'm trying to build jetspeed v1.5 using maven and am receiving the following error: The build cannot continue because of the following unsatisfied dependencies: activation-1.0.1.jar javamail-1.2.jar jaxp-1.2.jar jdbc-2.0.jar jndi-1.2.1.jar stratum-1.0-b4-dev.jar uddi4j-1.0.jar maven-torque-plugin-3.2.jar How can I satisfy these dependencies? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build
I believe it is now called install or install-now. -dain On Aug 9, 2004, at 6:35 AM, Scott T. Weaver wrote: It apperas, Maven 1.0 does not support the plugin:deploy goal anymore. However, this should not impact the allBuild goal of J2 as it never invokes plugin:deploy. If you need to, the maven-plugin sub-project has a "deploy-plugin" goal that emulates very closely the the logic of plugin:deploy. HTH Philip Saville wrote: Sorry, I was 6 out on the line number... I am having difficulties with the maven plug-in. Starting the reactor... Our processing order: Jetspeed 2 Maven Plugin +---- | Build and deploy the Jetspeed 2 Maven plugin Jetspeed 2 Maven Plugin | Memory: 36M/53M +---- BUILD FAILED File.. E:\jetspeed-2.0\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 324 Column 40 Unable to obtain goal [deploy-plugin] -- E:\jetspeed-2.0\jakarta-jetspeed-2\maven-plugin\maven.xml:5 4:43: No goal [plugin:deploy] Total time: 4 minutes 28 seconds Finished at: Fri Aug 06 21:54:37 PDT 2004 Please, any help would be greatly appreciated. Thanks, Philip -Original Message- From: Philip Saville [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 6:06 PM To: [EMAIL PROTECTED] Subject: RE: Build Hi, I receive the exact same error. I referred to the issues in the Jetspeed 2 Tiki, and still no luck :( Thanks, Philip From: "Call, Terry M" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Subject: Build Date: Fri, 6 Aug 2004 14:22:05 -0500 I am new to jetspeed: I had jetspeed 2 installed. Installed jestspeed 1.5 and took the tutorial. Now when I try to build jetspeed 2 I get: BUILD FAILED File.. C:\IMICS\DevTools\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 318 Column 40 Unable to obtain goal [deploy-plugin] -- C:\IMICS\DevTools\jakarta-jetspeed-2\ma ven-plugin\maven.xml:54:43: No goal [plugin:deploy] Total time: 3 minutes 49 seconds Finished at: Fri Aug 06 13:35:07 CDT 2004 Any ideas? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- ** * Scott T. Weaver * * <[EMAIL PROTECTED]>* * <http://www.einnovation.com> * * -- * * Apache Jetspeed Enterprise Portal* * Apache Pluto Portlet Container * ** * OpenEditPro, Website Content Mangement * * <http://www.openeditpro.com> * ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dain Sundstrom Chief Architect Gluecode Software 310.536.8355, ext. 26 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build
It apperas, Maven 1.0 does not support the plugin:deploy goal anymore. However, this should not impact the allBuild goal of J2 as it never invokes plugin:deploy. If you need to, the maven-plugin sub-project has a "deploy-plugin" goal that emulates very closely the the logic of plugin:deploy. HTH Philip Saville wrote: Sorry, I was 6 out on the line number... I am having difficulties with the maven plug-in. Starting the reactor... Our processing order: Jetspeed 2 Maven Plugin +---- | Build and deploy the Jetspeed 2 Maven plugin Jetspeed 2 Maven Plugin | Memory: 36M/53M +---- BUILD FAILED File.. E:\jetspeed-2.0\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 324 Column 40 Unable to obtain goal [deploy-plugin] -- E:\jetspeed-2.0\jakarta-jetspeed-2\maven-plugin\maven.xml:5 4:43: No goal [plugin:deploy] Total time: 4 minutes 28 seconds Finished at: Fri Aug 06 21:54:37 PDT 2004 Please, any help would be greatly appreciated. Thanks, Philip -Original Message- From: Philip Saville [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 6:06 PM To: [EMAIL PROTECTED] Subject: RE: Build Hi, I receive the exact same error. I referred to the issues in the Jetspeed 2 Tiki, and still no luck :( Thanks, Philip From: "Call, Terry M" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Subject: Build Date: Fri, 6 Aug 2004 14:22:05 -0500 I am new to jetspeed: I had jetspeed 2 installed. Installed jestspeed 1.5 and took the tutorial. Now when I try to build jetspeed 2 I get: BUILD FAILED File.. C:\IMICS\DevTools\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 318 Column 40 Unable to obtain goal [deploy-plugin] -- C:\IMICS\DevTools\jakarta-jetspeed-2\ma ven-plugin\maven.xml:54:43: No goal [plugin:deploy] Total time: 3 minutes 49 seconds Finished at: Fri Aug 06 13:35:07 CDT 2004 Any ideas? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- ** * Scott T. Weaver * * <[EMAIL PROTECTED]>* * <http://www.einnovation.com> * * -- * * Apache Jetspeed Enterprise Portal* * Apache Pluto Portlet Container * ** * OpenEditPro, Website Content Mangement * * <http://www.openeditpro.com> * ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Build
Sorry, I was 6 out on the line number... I am having difficulties with the maven plug-in. Starting the reactor... Our processing order: Jetspeed 2 Maven Plugin + | Build and deploy the Jetspeed 2 Maven plugin Jetspeed 2 Maven Plugin | Memory: 36M/53M + BUILD FAILED File.. E:\jetspeed-2.0\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 324 Column 40 Unable to obtain goal [deploy-plugin] -- E:\jetspeed-2.0\jakarta-jetspeed-2\maven-plugin\maven.xml:5 4:43: No goal [plugin:deploy] Total time: 4 minutes 28 seconds Finished at: Fri Aug 06 21:54:37 PDT 2004 Please, any help would be greatly appreciated. Thanks, Philip -Original Message- From: Philip Saville [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 6:06 PM To: [EMAIL PROTECTED] Subject: RE: Build Hi, I receive the exact same error. I referred to the issues in the Jetspeed 2 Tiki, and still no luck :( Thanks, Philip >From: "Call, Terry M" <[EMAIL PROTECTED]> >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> >To: "Jetspeed Users List" <[EMAIL PROTECTED]> >Subject: Build >Date: Fri, 6 Aug 2004 14:22:05 -0500 > >I am new to jetspeed: >I had jetspeed 2 installed. Installed jestspeed 1.5 and took the >tutorial. Now when I try to build jetspeed 2 I get: > >BUILD FAILED >File.. C:\IMICS\DevTools\jakarta-jetspeed-2\maven.xml >Element... maven:reactor >Line.. 318 >Column 40 >Unable to obtain goal [deploy-plugin] -- >C:\IMICS\DevTools\jakarta-jetspeed-2\ma >ven-plugin\maven.xml:54:43: No goal [plugin:deploy] >Total time: 3 minutes 49 seconds >Finished at: Fri Aug 06 13:35:07 CDT 2004 > >Any ideas? > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Build
Hi, I receive the exact same error. I referred to the issues in the Jetspeed 2 Tiki, and still no luck :( Thanks, Philip From: "Call, Terry M" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Subject: Build Date: Fri, 6 Aug 2004 14:22:05 -0500 I am new to jetspeed: I had jetspeed 2 installed. Installed jestspeed 1.5 and took the tutorial. Now when I try to build jetspeed 2 I get: BUILD FAILED File.. C:\IMICS\DevTools\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 318 Column 40 Unable to obtain goal [deploy-plugin] -- C:\IMICS\DevTools\jakarta-jetspeed-2\ma ven-plugin\maven.xml:54:43: No goal [plugin:deploy] Total time: 3 minutes 49 seconds Finished at: Fri Aug 06 13:35:07 CDT 2004 Any ideas? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Build
I am new to jetspeed: I had jetspeed 2 installed. Installed jestspeed 1.5 and took the tutorial. Now when I try to build jetspeed 2 I get: BUILD FAILED File.. C:\IMICS\DevTools\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 318 Column 40 Unable to obtain goal [deploy-plugin] -- C:\IMICS\DevTools\jakarta-jetspeed-2\ma ven-plugin\maven.xml:54:43: No goal [plugin:deploy] Total time: 3 minutes 49 seconds Finished at: Fri Aug 06 13:35:07 CDT 2004 Any ideas? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cannot build Jetspeed2 from CVS - maven error war:war:
Glad to help :) steve wrote: Cha-Ching! .jar's, etc. were all where they needed to be. I simply needed to restart Tomcat so it would read the shared/lib stuff. I guess I managed to confuse myself among all my rebuilds and redeploys. Thanks, Scott, for sticking with me. Now, on to the fun! - Original Message - From: "Scott T. Weaver" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Monday, August 02, 2004 10:19 AM Subject: Re: Cannot build Jetspeed2 from CVS - maven error war:war: Steve, you are absolutley correct, that class is not in the page manager sub project. However, it is an interface defined in the jetspeed-api project. Can you verify that the jetspeed-api jar is in your shared/lib dir? I just installed Tomcat 5.0.27 this morning and was able to deploy and run Tomcat just fine, except for the fact that the login portlet does not seem to be working (sigh). steve wrote: Thanks for the reply again, Scott. I do have the .jar you mentioned under tomcat as: /webapps/jetspeed/WEB-INF/lib/jetspeed-page-manager-2.0-a1-dev.jar Looking at the contents of this .jar, there is no BaseElement . The closest I can find is: org/apache/jetspeed/om/page/psml/AbstractBaseElement.class I did get "BUILD Successful" at the end of each step, so I am assuming all has been found/installed. Thanks for your continuing guidance! Steve B. - Original Message - From: "Scott T. Weaver" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Monday, August 02, 2004 8:48 AM Subject: Re: Cannot build Jetspeed2 from CVS - maven error war:war: Hi Steve, I noticed this as this message further down in the stacktrace: Caused by: java.lang.NoClassDefFoundError: org/apache/jetspeed/om/page/BaseElement which seems to indicate either a jar is missing or is in the wrong spot. Try re-deploying and make sure that the jetspeed-page-manager-2.0-a1-dev.jar gets into WEB-INF/lib. steve wrote: Thank you Scott and David. Indeed, I was using rc-3 instead of 1.0 release. I would have looked right past the Maven version if it had not been pointed to me - thanks. Using this advice and the Wiki, I can build Jetspeed-2 and do the quickStart. However, Tomcat (5.0.27) is now giving issue. I followed the Wiki as well as what I could find in the mail-archive - went even further and deleted my entire repository and restart from scratch. I still get the Tomcat error below. (BTW - I also ran into an issue reported in another thread where someone reported maven was ignoring org.apache.jetspeed.server.home and placed files in the root. In my case, this happenned when I set this value to = ${CATALINA_HOME} - When I changed it to the real path /usr/local/tomcat/, maven behaved as expected.) Thanks again for the help! Aug 1, 2004 8:20:31 PM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /jetspeed Aug 1, 2004 8:20:35 PM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:/usr/local/jakarta-tomcat-5 .0.27/conf/Catalina/localhost/jetspeed.xml Aug 1, 2004 8:20:44 PM org.apache.commons.digester.Digester endElement SEVERE: End event threw exception java.lang.reflect.InvocationTargetException 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:324) at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property Utils.java:1789) at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property Utils.java:1684) at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils. java:1713) at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101 9) at org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySe tterRule.java:244) at org.apache.commons.digester.Digester.endElement(Digester.java:1058) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source ) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement( Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
Re: Cannot build Jetspeed2 from CVS - maven error war:war:
Cha-Ching! .jar's, etc. were all where they needed to be. I simply needed to restart Tomcat so it would read the shared/lib stuff. I guess I managed to confuse myself among all my rebuilds and redeploys. Thanks, Scott, for sticking with me. Now, on to the fun! - Original Message - From: "Scott T. Weaver" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Monday, August 02, 2004 10:19 AM Subject: Re: Cannot build Jetspeed2 from CVS - maven error war:war: > Steve, you are absolutley correct, that class is not in the page manager > sub project. However, it is an interface defined in the jetspeed-api > project. Can you verify that the jetspeed-api jar is in your shared/lib > dir? I just installed Tomcat 5.0.27 this morning and was able to > deploy and run Tomcat just fine, except for the fact that the login > portlet does not seem to be working (sigh). > > steve wrote: > > >Thanks for the reply again, Scott. > > > >I do have the .jar you mentioned under tomcat as: > >/webapps/jetspeed/WEB-INF/lib/jetspeed-page-manager-2.0-a1-dev.jar > > > >Looking at the contents of this .jar, there is no BaseElement . The closest > >I can find is: > >org/apache/jetspeed/om/page/psml/AbstractBaseElement.class > > > >I did get "BUILD Successful" at the end of each step, so I am assuming > >all has been found/installed. > > > >Thanks for your continuing guidance! > > > >Steve B. > > > > > >- Original Message - > >From: "Scott T. Weaver" <[EMAIL PROTECTED]> > >To: "Jetspeed Users List" <[EMAIL PROTECTED]> > >Sent: Monday, August 02, 2004 8:48 AM > >Subject: Re: Cannot build Jetspeed2 from CVS - maven error war:war: > > > > > > > > > >>Hi Steve, > >> > >>I noticed this as this message further down in the stacktrace: > >> > >>Caused by: java.lang.NoClassDefFoundError: > >>org/apache/jetspeed/om/page/BaseElement > >> > >>which seems to indicate either a jar is missing or is in the wrong spot. > >> > >> > >Try re-deploying and make sure that the jetspeed-page-manager-2.0-a1-dev.jar > >gets into WEB-INF/lib. > > > > > >>steve wrote: > >> > >> > >> > >>>Thank you Scott and David. Indeed, I was using rc-3 instead of 1.0 > >>> > >>> > >release. > > > > > >>>I would have looked right past the Maven version if it had not been > >>> > >>> > >pointed > > > > > >>>to me - thanks. > >>> > >>>Using this advice and the Wiki, I can build Jetspeed-2 and do the > >>>quickStart. However, Tomcat (5.0.27) is now giving issue. I followed the > >>>Wiki as well as what I could find in the mail-archive - went even further > >>>and deleted my entire repository and restart from scratch. I still get > >>> > >>> > >the > > > > > >>>Tomcat error below. > >>> > >>>(BTW - I also ran into an issue reported in another thread where someone > >>>reported maven was ignoring org.apache.jetspeed.server.home and placed > >>> > >>> > >files > > > > > >>>in the root. In my case, this happenned when I set this value to = > >>>${CATALINA_HOME} - When I changed it to the real path /usr/local/tomcat/, > >>>maven behaved as expected.) > >>> > >>>Thanks again for the help! > >>> > >>>Aug 1, 2004 8:20:31 PM org.apache.catalina.core.StandardHostDeployer > >>> > >>> > >remove > > > > > >>>INFO: Removing web application at context path /jetspeed > >>>Aug 1, 2004 8:20:35 PM org.apache.catalina.core.StandardHostDeployer > >>> > >>> > >install > > > > > >>>INFO: Processing Context configuration file URL > >>>file:/usr/local/jakarta-tomcat-5 > >>>.0.27/conf/Catalina/localhost/jetspeed.xml > >>>Aug 1, 2004 8:20:44 PM org.apache.commons.digester.Digester endElement > >>>SEVERE: End event threw exception > >>>java.lang.reflect.InvocationTargetException > >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >>> at > >>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > >>>java:39) > >>> at > >>>sun.reflect.DelegatingMethodAccessorImpl.invoke(
Re: Cannot build Jetspeed2 from CVS - maven error war:war:
Steve, you are absolutley correct, that class is not in the page manager sub project. However, it is an interface defined in the jetspeed-api project. Can you verify that the jetspeed-api jar is in your shared/lib dir? I just installed Tomcat 5.0.27 this morning and was able to deploy and run Tomcat just fine, except for the fact that the login portlet does not seem to be working (sigh). steve wrote: Thanks for the reply again, Scott. I do have the .jar you mentioned under tomcat as: /webapps/jetspeed/WEB-INF/lib/jetspeed-page-manager-2.0-a1-dev.jar Looking at the contents of this .jar, there is no BaseElement . The closest I can find is: org/apache/jetspeed/om/page/psml/AbstractBaseElement.class I did get "BUILD Successful" at the end of each step, so I am assuming all has been found/installed. Thanks for your continuing guidance! Steve B. - Original Message - From: "Scott T. Weaver" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Monday, August 02, 2004 8:48 AM Subject: Re: Cannot build Jetspeed2 from CVS - maven error war:war: Hi Steve, I noticed this as this message further down in the stacktrace: Caused by: java.lang.NoClassDefFoundError: org/apache/jetspeed/om/page/BaseElement which seems to indicate either a jar is missing or is in the wrong spot. Try re-deploying and make sure that the jetspeed-page-manager-2.0-a1-dev.jar gets into WEB-INF/lib. steve wrote: Thank you Scott and David. Indeed, I was using rc-3 instead of 1.0 release. I would have looked right past the Maven version if it had not been pointed to me - thanks. Using this advice and the Wiki, I can build Jetspeed-2 and do the quickStart. However, Tomcat (5.0.27) is now giving issue. I followed the Wiki as well as what I could find in the mail-archive - went even further and deleted my entire repository and restart from scratch. I still get the Tomcat error below. (BTW - I also ran into an issue reported in another thread where someone reported maven was ignoring org.apache.jetspeed.server.home and placed files in the root. In my case, this happenned when I set this value to = ${CATALINA_HOME} - When I changed it to the real path /usr/local/tomcat/, maven behaved as expected.) Thanks again for the help! Aug 1, 2004 8:20:31 PM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /jetspeed Aug 1, 2004 8:20:35 PM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:/usr/local/jakarta-tomcat-5 .0.27/conf/Catalina/localhost/jetspeed.xml Aug 1, 2004 8:20:44 PM org.apache.commons.digester.Digester endElement SEVERE: End event threw exception java.lang.reflect.InvocationTargetException 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:324) at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property Utils.java:1789) at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property Utils.java:1684) at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils. java:1713) at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101 9) at org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySe tterRule.java:244) at org.apache.commons.digester.Digester.endElement(Digester.java:1058) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source ) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement( Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1567) at org.apache.velocity.tools.view.XMLToolboxManager.load(XMLToolboxManag er.java:185) at org.apache.velocity.tools.view.servlet.ServletToolboxManager.getInsta nce(ServletToolboxManager.java:210) at org.apache.velocity.tools.view.servlet.VelocityViewServlet.initToolbo x(VelocityViewServlet.java:269) at org.apache.velocity.tools.view.servlet.VelocityViewServlet.init(Veloc ityViewServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadSe
Re: Cannot build Jetspeed2 from CVS - maven error war:war:
Thanks for the reply again, Scott. I do have the .jar you mentioned under tomcat as: /webapps/jetspeed/WEB-INF/lib/jetspeed-page-manager-2.0-a1-dev.jar Looking at the contents of this .jar, there is no BaseElement . The closest I can find is: org/apache/jetspeed/om/page/psml/AbstractBaseElement.class I did get "BUILD Successful" at the end of each step, so I am assuming all has been found/installed. Thanks for your continuing guidance! Steve B. - Original Message - From: "Scott T. Weaver" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Monday, August 02, 2004 8:48 AM Subject: Re: Cannot build Jetspeed2 from CVS - maven error war:war: > Hi Steve, > > I noticed this as this message further down in the stacktrace: > > Caused by: java.lang.NoClassDefFoundError: > org/apache/jetspeed/om/page/BaseElement > > which seems to indicate either a jar is missing or is in the wrong spot. Try re-deploying and make sure that the jetspeed-page-manager-2.0-a1-dev.jar gets into WEB-INF/lib. > > > steve wrote: > > >Thank you Scott and David. Indeed, I was using rc-3 instead of 1.0 release. > >I would have looked right past the Maven version if it had not been pointed > >to me - thanks. > > > >Using this advice and the Wiki, I can build Jetspeed-2 and do the > >quickStart. However, Tomcat (5.0.27) is now giving issue. I followed the > >Wiki as well as what I could find in the mail-archive - went even further > >and deleted my entire repository and restart from scratch. I still get the > >Tomcat error below. > > > >(BTW - I also ran into an issue reported in another thread where someone > >reported maven was ignoring org.apache.jetspeed.server.home and placed files > >in the root. In my case, this happenned when I set this value to = > >${CATALINA_HOME} - When I changed it to the real path /usr/local/tomcat/, > >maven behaved as expected.) > > > >Thanks again for the help! > > > >Aug 1, 2004 8:20:31 PM org.apache.catalina.core.StandardHostDeployer remove > >INFO: Removing web application at context path /jetspeed > >Aug 1, 2004 8:20:35 PM org.apache.catalina.core.StandardHostDeployer install > >INFO: Processing Context configuration file URL > >file:/usr/local/jakarta-tomcat-5 > >.0.27/conf/Catalina/localhost/jetspeed.xml > >Aug 1, 2004 8:20:44 PM org.apache.commons.digester.Digester endElement > >SEVERE: End event threw exception > >java.lang.reflect.InvocationTargetException > >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:324) > >at > >org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property > >Utils.java:1789) > >at > >org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property > >Utils.java:1684) > >at > >org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils. > >java:1713) > >at > >org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101 > >9) > >at > >org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySe > >tterRule.java:244) > >at > >org.apache.commons.digester.Digester.endElement(Digester.java:1058) > >at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown > >Source > >) > >at > >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement( > >Unknown Source) > >at > >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent > >Dispatcher.dispatch(Unknown Source) > >at > >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un > >known Source) > >at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) > >at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) > >at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > >at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > >at org.apache.commons.digester.Digester.parse(Digester.java:1567) > >at > >org.apache.velocity.tools.view.XMLToolboxManager.load(XMLToolboxManag > >er.java:185) > >at > >org.apache.velocity.tools.view.servlet.ServletToolboxManager.getInsta > >nce(ServletToolboxManager.java:210) > >at
Re: Cannot build Jetspeed2 from CVS - maven error war:war:
Hi Steve, I noticed this as this message further down in the stacktrace: Caused by: java.lang.NoClassDefFoundError: org/apache/jetspeed/om/page/BaseElement which seems to indicate either a jar is missing or is in the wrong spot. Try re-deploying and make sure that the jetspeed-page-manager-2.0-a1-dev.jar gets into WEB-INF/lib. steve wrote: Thank you Scott and David. Indeed, I was using rc-3 instead of 1.0 release. I would have looked right past the Maven version if it had not been pointed to me - thanks. Using this advice and the Wiki, I can build Jetspeed-2 and do the quickStart. However, Tomcat (5.0.27) is now giving issue. I followed the Wiki as well as what I could find in the mail-archive - went even further and deleted my entire repository and restart from scratch. I still get the Tomcat error below. (BTW - I also ran into an issue reported in another thread where someone reported maven was ignoring org.apache.jetspeed.server.home and placed files in the root. In my case, this happenned when I set this value to = ${CATALINA_HOME} - When I changed it to the real path /usr/local/tomcat/, maven behaved as expected.) Thanks again for the help! Aug 1, 2004 8:20:31 PM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /jetspeed Aug 1, 2004 8:20:35 PM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:/usr/local/jakarta-tomcat-5 .0.27/conf/Catalina/localhost/jetspeed.xml Aug 1, 2004 8:20:44 PM org.apache.commons.digester.Digester endElement SEVERE: End event threw exception java.lang.reflect.InvocationTargetException 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:324) at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property Utils.java:1789) at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property Utils.java:1684) at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils. java:1713) at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101 9) at org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySe tterRule.java:244) at org.apache.commons.digester.Digester.endElement(Digester.java:1058) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source ) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement( Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1567) at org.apache.velocity.tools.view.XMLToolboxManager.load(XMLToolboxManag er.java:185) at org.apache.velocity.tools.view.servlet.ServletToolboxManager.getInsta nce(ServletToolboxManager.java:210) at org.apache.velocity.tools.view.servlet.VelocityViewServlet.initToolbo x(VelocityViewServlet.java:269) at org.apache.velocity.tools.view.servlet.VelocityViewServlet.init(Veloc ityViewServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1029) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:86 2) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4013) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 357) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:823) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80 7) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDe ployer.java:903) 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:324) at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.jav a:252) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256) at org.apache.commons.digester.Rule.end(Rule.java:276) at org.apache.commons.digester.Digester.endElement
Re: Cannot build Jetspeed2 from CVS - maven error war:war:
Thank you Scott and David. Indeed, I was using rc-3 instead of 1.0 release. I would have looked right past the Maven version if it had not been pointed to me - thanks. Using this advice and the Wiki, I can build Jetspeed-2 and do the quickStart. However, Tomcat (5.0.27) is now giving issue. I followed the Wiki as well as what I could find in the mail-archive - went even further and deleted my entire repository and restart from scratch. I still get the Tomcat error below. (BTW - I also ran into an issue reported in another thread where someone reported maven was ignoring org.apache.jetspeed.server.home and placed files in the root. In my case, this happenned when I set this value to = ${CATALINA_HOME} - When I changed it to the real path /usr/local/tomcat/, maven behaved as expected.) Thanks again for the help! Aug 1, 2004 8:20:31 PM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /jetspeed Aug 1, 2004 8:20:35 PM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:/usr/local/jakarta-tomcat-5 .0.27/conf/Catalina/localhost/jetspeed.xml Aug 1, 2004 8:20:44 PM org.apache.commons.digester.Digester endElement SEVERE: End event threw exception java.lang.reflect.InvocationTargetException 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:324) at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property Utils.java:1789) at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property Utils.java:1684) at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils. java:1713) at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101 9) at org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySe tterRule.java:244) at org.apache.commons.digester.Digester.endElement(Digester.java:1058) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source ) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement( Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1567) at org.apache.velocity.tools.view.XMLToolboxManager.load(XMLToolboxManag er.java:185) at org.apache.velocity.tools.view.servlet.ServletToolboxManager.getInsta nce(ServletToolboxManager.java:210) at org.apache.velocity.tools.view.servlet.VelocityViewServlet.initToolbo x(VelocityViewServlet.java:269) at org.apache.velocity.tools.view.servlet.VelocityViewServlet.init(Veloc ityViewServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1029) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:86 2) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4013) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 357) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:823) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80 7) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDe ployer.java:903) 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:324) at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.jav a:252) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256) at org.apache.commons.digester.Rule.end(Rule.java:276) at org.apache.commons.digester.Digester.endElement(Digester.java:1058) at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester .java:76) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source ) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement( Unknown Source) at
Re: Cannot build Jetspeed2 from CVS - maven error war:war:
And also take a look at the wiki, http://wiki.apache.org/portals/Jetspeed2, it documents some common build issues and how to fix them. David Le Strat wrote: Are you using Maven 1.0? --- [EMAIL PROTECTED] wrote: I looked at other reports from users who could not build Jetspeed 2 but did not see the same error. I am attempting to build from CVS which I just downloaded (Sat. July 31 at 20:00 EST). Can anyone help? war:war: [echo] Building WAR jetspeed2-layout-portlets [jar] Building jar: /home/sbelt/jakarta-jetspeed-2/layout-portlets/target/jetspeed-layouts.war Starting the reactor... Our processing order: Jetspeed 2 Maven Plugin + | Build and deploy the Jetspeed 2 Maven plugin Jetspeed 2 Maven Plugin | Memory: 52M/61M + BUILD FAILED File.. /home/sbelt/jakarta-jetspeed-2/maven.xml Element... maven:reactor Line.. 325 Column 40 Unable to obtain goal [deploy-plugin] -- /home/sbelt/jakarta-jetspeed-2/maven-plugin/maven.xml:56:46: No goal [plugin:uninstall-now] Total time: 6 minutes 6 seconds Finished at: Sat Jul 31 20:09:04 EDT 2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- ** * Scott T. Weaver * * <[EMAIL PROTECTED]>* * <http://www.einnovation.com> * * -- * * Apache Jetspeed Enterprise Portal* * Apache Pluto Portlet Container * ** * OpenEditPro, Website Content Mangement * * <http://www.openeditpro.com> * ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cannot build Jetspeed2 from CVS - maven error war:war:
Are you using Maven 1.0? --- [EMAIL PROTECTED] wrote: > I looked at other reports from users who could not > build Jetspeed 2 but did not > see the same error. > > I am attempting to build from CVS which I just > downloaded (Sat. July 31 at 20:00 > EST). Can anyone help? > > > war:war: > [echo] Building WAR jetspeed2-layout-portlets > [jar] Building jar: > /home/sbelt/jakarta-jetspeed-2/layout-portlets/target/jetspeed-layouts.war > Starting the reactor... > Our processing order: > Jetspeed 2 Maven Plugin > + > | Build and deploy the Jetspeed 2 Maven plugin > Jetspeed 2 Maven Plugin > | Memory: 52M/61M > + > > BUILD FAILED > File.. /home/sbelt/jakarta-jetspeed-2/maven.xml > Element... maven:reactor > Line.. 325 > Column 40 > Unable to obtain goal [deploy-plugin] -- > /home/sbelt/jakarta-jetspeed-2/maven-plugin/maven.xml:56:46: > No > goal [plugin:uninstall-now] > Total time: 6 minutes 6 seconds > Finished at: Sat Jul 31 20:09:04 EDT 2004 > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cannot build Jetspeed2 from CVS - maven error war:war:
I looked at other reports from users who could not build Jetspeed 2 but did not see the same error. I am attempting to build from CVS which I just downloaded (Sat. July 31 at 20:00 EST). Can anyone help? war:war: [echo] Building WAR jetspeed2-layout-portlets [jar] Building jar: /home/sbelt/jakarta-jetspeed-2/layout-portlets/target/jetspeed-layouts.war Starting the reactor... Our processing order: Jetspeed 2 Maven Plugin + | Build and deploy the Jetspeed 2 Maven plugin Jetspeed 2 Maven Plugin | Memory: 52M/61M + BUILD FAILED File.. /home/sbelt/jakarta-jetspeed-2/maven.xml Element... maven:reactor Line.. 325 Column 40 Unable to obtain goal [deploy-plugin] -- /home/sbelt/jakarta-jetspeed-2/maven-plugin/maven.xml:56:46: No goal [plugin:uninstall-now] Total time: 6 minutes 6 seconds Finished at: Sat Jul 31 20:09:04 EDT 2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tutorial build error
I got the following error when I tried to build tutorial 1 with the following command maven -Dmaven.test.skip=true -Dtutorial=1 jetspeed:deploy BUILD FAILED File.. file:/C:/Documents and Settings/alex/.maven/plugins/maven-jetspeed-pl ugin-1.2/plugin.jelly Element... taskdef Line.. 117 Column 105 taskdef class org.apache.jetspeed.util.ant.OverwritePropertiesTask cannot be fou nd Total time: 21 seconds Finished at: Sat Jul 24 11:35:38 EDT 2004 I have the latest Ant (1.6.1), junit (1.8.1), Maven (1.0), and jetspeed 1.5. Anyone has a clue?
Re: Fusion Build Error...
Al. Oupraxay wrote: I tried on Tomcat 4.1.30 with no luck. See errors below. Anymore suggestions are welcome. Aloundeth, * Stderr.log: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:243) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.jav a:743) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:5 18) at org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.newConnectio nFromDataSource(Unknown Source) at org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.lookupConnec tion(Unknown Source) at org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.getConnection(Unknow n Source) * Stdout.log: PROP FILE = C:\Program Files\Apache Group\Tomcat 4.1\webapps\jetspeed\WEB-INF\conf\fusion.properties JNDI System Property flag null INFO: Using PDEF NAME portlet_definition INFO: Using PAPP NAME portlet_application [org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl] ERROR: SQLException thrown while trying to get Connection from Datasource (java:comp/env/jdbc/jetspeed) Cannot create JDBC driver of class '' for connect URL 'null' [org.apache.ojb.broker.accesslayer.JdbcAccessImpl] ERROR: PersistenceBrokerException during the execution of the query: Used ConnectionManager instance could not obtain a connection Used ConnectionManager instance could not obtain a connection -Original Message- From: Jeremy Ford [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 3:02 PM To: 'Jetspeed Users List' Subject: RE: Fusion Build Error... You may want to try using tomcat 4. Jeremy Ford [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] i experienced this too...try deleting the maven cache files... Henry S. Isidro - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Fusion Build Error...
I tried on Tomcat 4.1.30 with no luck. See errors below. Anymore suggestions are welcome. Aloundeth, * Stderr.log: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:243) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.jav a:743) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:5 18) at org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.newConnectio nFromDataSource(Unknown Source) at org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.lookupConnec tion(Unknown Source) at org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.getConnection(Unknow n Source) * Stdout.log: PROP FILE = C:\Program Files\Apache Group\Tomcat 4.1\webapps\jetspeed\WEB-INF\conf\fusion.properties JNDI System Property flag null INFO: Using PDEF NAME portlet_definition INFO: Using PAPP NAME portlet_application [org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl] ERROR: SQLException thrown while trying to get Connection from Datasource (java:comp/env/jdbc/jetspeed) Cannot create JDBC driver of class '' for connect URL 'null' [org.apache.ojb.broker.accesslayer.JdbcAccessImpl] ERROR: PersistenceBrokerException during the execution of the query: Used ConnectionManager instance could not obtain a connection Used ConnectionManager instance could not obtain a connection -Original Message- From: Jeremy Ford [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 3:02 PM To: 'Jetspeed Users List' Subject: RE: Fusion Build Error... You may want to try using tomcat 4. Jeremy Ford [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Fusion Build Error...
You may want to try using tomcat 4. Jeremy Ford [EMAIL PROTECTED] -Original Message- From: Al. Oupraxay [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 4:30 PM To: 'Jetspeed Users List' Subject: RE: Fusion Build Error... Now one more error to fix... Fusion Service: Initialization Done Jul 15, 2004 2:22:40 PM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml Jul 15, 2004 2:22:40 PM org.apache.catalina.startup.ContextConfig authenticatorConfig SEVERE: Cannot instantiate an authenticator of class org.apache.catalina.authenticator.BasicAuthenticator java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.catalina.startup.ContextConfig.authenticatorConfig(ContextConfig. java:397) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:631) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java: 216) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:119) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4268) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8 23) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer. java:903) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Anyone could tell me what this means? Thanks, Aloundeth, -Original Message- From: Al. Oupraxay [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 1:50 PM To: 'Jetspeed Users List' Subject: RE: Fusion Build Error... Finally I was able to get Fusion engine started after messing around with the lib. .jar files linking errors. Now there's another errors from Tomcat output console... [ERROR] ManagerBase - -IOException while loading persisted sessions: java.io.InvalidClassException: org.apache.jetspeed.container.session.impl.SessionNavigationalState; no valid constructor java.io.InvalidClassException: org.apache.jetspeed.container.session.impl.SessionNavigationalState; no valid constructor at java.io.ObjectStreamClass.(Unknown Source) at java.io.ObjectStreamClass.lookup(Unknown Source) at java.io.ObjectStreamClass.initNonProxy(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.apache.catalina.session.StandardSession.readObject(StandardSession.java: 1338) at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.j ava:882) at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:416) at org.apache.catalina.session.StandardManager.load(StandardManager.java:343) Any ideas? Aloundeth, -Original Message- From: Al. Oupraxay [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 10:41 AM To: 'Jetspeed Users List' Subject: RE: Fusion Build Error... Fusion service won't start. Please help. Aloundeth, 2004-07-15 10:32:47,583 [main] ERROR JetspeedLoggingService - org.apache.jetspeed.exception.JetspeedException: Unable to create Engine at org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:76) at org.apache.jetspeed.fusion.services.fusion.FusionServiceImpl.startFusion(Fus ionServiceImpl.java:157) at org.apache.jetspeed.fusion.services.fusion.FusionServiceImpl.init(FusionServ iceImpl.java:98) at org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java: 108) at org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker. java:149) at org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceBroke r.java:224) at org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBroker java:193) at org.apache.turbine.Turbine.init(Turbine.java:257) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit
RE: Fusion Build Error...
Now one more error to fix... Fusion Service: Initialization Done Jul 15, 2004 2:22:40 PM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml Jul 15, 2004 2:22:40 PM org.apache.catalina.startup.ContextConfig authenticatorConfig SEVERE: Cannot instantiate an authenticator of class org.apache.catalina.authenticator.BasicAuthenticator java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.catalina.startup.ContextConfig.authenticatorConfig(ContextConfig. java:397) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:631) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java: 216) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:119) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4268) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8 23) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer. java:903) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Anyone could tell me what this means? Thanks, Aloundeth, -Original Message- From: Al. Oupraxay [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 1:50 PM To: 'Jetspeed Users List' Subject: RE: Fusion Build Error... Finally I was able to get Fusion engine started after messing around with the lib. .jar files linking errors. Now there's another errors from Tomcat output console... [ERROR] ManagerBase - -IOException while loading persisted sessions: java.io.InvalidClassException: org.apache.jetspeed.container.session.impl.SessionNavigationalState; no valid constructor java.io.InvalidClassException: org.apache.jetspeed.container.session.impl.SessionNavigationalState; no valid constructor at java.io.ObjectStreamClass.(Unknown Source) at java.io.ObjectStreamClass.lookup(Unknown Source) at java.io.ObjectStreamClass.initNonProxy(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.apache.catalina.session.StandardSession.readObject(StandardSession.java: 1338) at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.j ava:882) at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:416) at org.apache.catalina.session.StandardManager.load(StandardManager.java:343) Any ideas? Aloundeth, -Original Message- From: Al. Oupraxay [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 10:41 AM To: 'Jetspeed Users List' Subject: RE: Fusion Build Error... Fusion service won't start. Please help. Aloundeth, 2004-07-15 10:32:47,583 [main] ERROR JetspeedLoggingService - org.apache.jetspeed.exception.JetspeedException: Unable to create Engine at org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:76) at org.apache.jetspeed.fusion.services.fusion.FusionServiceImpl.startFusion(Fus ionServiceImpl.java:157) at org.apache.jetspeed.fusion.services.fusion.FusionServiceImpl.init(FusionServ iceImpl.java:98) at org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java: 108) at org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker. java:149) at org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceBroke r.java:224) at org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBroker .java:193) at org.apache.turbine.Turbine.init(Turbine.java:257) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Fusion Build Error...
Finally I was able to get Fusion engine started after messing around with the lib. .jar files linking errors. Now there's another errors from Tomcat output console... [ERROR] ManagerBase - -IOException while loading persisted sessions: java.io.InvalidClassException: org.apache.jetspeed.container.session.impl.SessionNavigationalState; no valid constructor java.io.InvalidClassException: org.apache.jetspeed.container.session.impl.SessionNavigationalState; no valid constructor at java.io.ObjectStreamClass.(Unknown Source) at java.io.ObjectStreamClass.lookup(Unknown Source) at java.io.ObjectStreamClass.initNonProxy(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.apache.catalina.session.StandardSession.readObject(StandardSession.java: 1338) at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.j ava:882) at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:416) at org.apache.catalina.session.StandardManager.load(StandardManager.java:343) Any ideas? Aloundeth, -Original Message- From: Al. Oupraxay [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 10:41 AM To: 'Jetspeed Users List' Subject: RE: Fusion Build Error... Fusion service won't start. Please help. Aloundeth, 2004-07-15 10:32:47,583 [main] ERROR JetspeedLoggingService - org.apache.jetspeed.exception.JetspeedException: Unable to create Engine at org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:76) at org.apache.jetspeed.fusion.services.fusion.FusionServiceImpl.startFusion(Fus ionServiceImpl.java:157) at org.apache.jetspeed.fusion.services.fusion.FusionServiceImpl.init(FusionServ iceImpl.java:98) at org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java: 108) at org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker. java:149) at org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceBroke r.java:224) at org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBroker .java:193) at org.apache.turbine.Turbine.init(Turbine.java:257) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Fusion Build Error...
Fusion service won't start. Please help. Aloundeth, 2004-07-15 10:32:47,583 [main] ERROR JetspeedLoggingService - org.apache.jetspeed.exception.JetspeedException: Unable to create Engine at org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:76) at org.apache.jetspeed.fusion.services.fusion.FusionServiceImpl.startFusion(Fus ionServiceImpl.java:157) at org.apache.jetspeed.fusion.services.fusion.FusionServiceImpl.init(FusionServ iceImpl.java:98) at org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java: 108) at org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker. java:149) at org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceBroke r.java:224) at org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBroker .java:193) at org.apache.turbine.Turbine.init(Turbine.java:257) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Fusion Build Error...
Finally I was able to run JetspeedFusion on Tomcat5. However, I got another problem. In my Jetspeed-2 log, there was an error: 2004-07-14 15:06:23,952 [http-9000-Processor25] ERROR org.apache.jetspeed.fusion.modules.actions.FusionAccessController - error in fusion access controller java.lang.NullPointerException at org.apache.jetspeed.fusion.modules.actions.FusionAccessController.doPerform( FusionAccessController.java:77) at org.apache.turbine.modules.Action.perform(Action.java:87) at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at org.apache.turbine.Turbine.doGet(Turbine.java:529) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext Valve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137 ) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117 ) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:702) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:644) at java.lang.Thread.run(Thread.java:534) Could someone please help me where can I find this class package 'org.apache.jetspeed.container.session.NavigationalStateComponent.*'? I really need to see the code or the .jar file. Thanks, Aloundeth, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Fusion Build Error...
After I successfully build JetspeedFusion project as instructed, I fired up Tomcat 5 and now got this error... Any ideas what this means? Thanks, Aloundeth, There has been an Error! Reason: org.apache.turbine.services.InstantiationException: ServiceBroker: unknown service Registry requested Get/Post Data: template = ShowError.vm Stacktrace: org.apache.turbine.services.InstantiationException: ServiceBroker: unknown service Registry 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.jetspeed.services.Registry.getService(Registry.java:65) at org.apache.jetspeed.services.Registry.get(Registry.java:81) at org.apache.jetspeed.capability.CapabilityMapFactory.getCapabilityMap(Capabil ityMapFactory.java:85) at org.apache.jetspeed.util.parser.DefaultJetspeedParameterParser.setRequest(De faultJetspeedParameterParser.java:87) at org.apache.turbine.services.rundata.DefaultTurbineRunData.getParameters(Defa ultTurbineRunData.java:493) at org.apache.turbine.Turbine.doGet(Turbine.java:472) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) -Original Message- From: Al. Oupraxay [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 9:46 AM To: 'Jetspeed Users List' Subject: RE: Fusion Build Error... After I include ant.jar file into jetspeed lib, everything build perfectly. Aloundeth, -Original Message- From: Al. Oupraxay [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 3:05 PM To: 'Jetspeed Users List' Subject: Fusion Build Error... maven -Dmaven.test.skip=true war won't merge properties file. Any ideas? Aloundeth, [echo] Targeting environment ... [echo] Props dir: c:\projects\jetspeed/target/jetspeed/WEB-INF/conf [echo] Merging TurbineResources... BUILD FAILED File.. c:\projects\jetspeed\maven.xml Element... props_override Line.. 105 Column 208 Unresolved compilation problems: The import org.apache.tools cannot be resolved The import org.apache.tools cannot be resolved Task cannot be resolved or is not a valid superclass BuildException cannot be resolved (or is not an exception type) for the method execute The method log(String) is undefined for the type OverwritePropertiesTask BuildException cannot be resolved or is not a type Total time: 1 minutes 4 seconds - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Fusion Build Error...
After I include ant.jar file into jetspeed lib, everything build perfectly. Aloundeth, -Original Message- From: Al. Oupraxay [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 3:05 PM To: 'Jetspeed Users List' Subject: Fusion Build Error... maven -Dmaven.test.skip=true war won't merge properties file. Any ideas? Aloundeth, [echo] Targeting environment ... [echo] Props dir: c:\projects\jetspeed/target/jetspeed/WEB-INF/conf [echo] Merging TurbineResources... BUILD FAILED File.. c:\projects\jetspeed\maven.xml Element... props_override Line.. 105 Column 208 Unresolved compilation problems: The import org.apache.tools cannot be resolved The import org.apache.tools cannot be resolved Task cannot be resolved or is not a valid superclass BuildException cannot be resolved (or is not an exception type) for the method execute The method log(String) is undefined for the type OverwritePropertiesTask BuildException cannot be resolved or is not a type Total time: 1 minutes 4 seconds - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Build Error... Jetspeed
I realized retrieveByPK(..) never got generated by torque if SECURITY_ENTRY table ID is not set to primaryKey. I got it to build successfully after changing the torque-schema/security-schema.xml file... ... I suggest someone makes this change to jetspeed-1 CVS. Aloundeth, -Original Message- From: Al. Oupraxay [mailto:[EMAIL PROTECTED] Sent: Monday, July 12, 2004 4:54 PM To: 'Jetspeed Users List' Subject: Build Error... Jetspeed I can't build Jetspeed from CVS? Please help. [javac] C:\projects\jetspeed\src\java\org\apache\jetspeed\om\dbregistry \BaseSecurityAccess.java:238: cannot resolve symbol [javac] symbol : method retrieveByPK (org.apache.torque.om.SimpleKey) [javac] location: class org.apache.jetspeed.om.dbregistry.SecurityEntryPeer [javac] aSecurityEntry = SecurityEntryPeer.retriev eByPK(SimpleKey.keyFor(this.entryId)); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fusion Build Error...
maven -Dmaven.test.skip=true war won't merge properties file. Any ideas? Aloundeth, [echo] Targeting environment ... [echo] Props dir: c:\projects\jetspeed/target/jetspeed/WEB-INF/conf [echo] Merging TurbineResources... BUILD FAILED File.. c:\projects\jetspeed\maven.xml Element... props_override Line.. 105 Column 208 Unresolved compilation problems: The import org.apache.tools cannot be resolved The import org.apache.tools cannot be resolved Task cannot be resolved or is not a valid superclass BuildException cannot be resolved (or is not an exception type) for the method execute The method log(String) is undefined for the type OverwritePropertiesTask BuildException cannot be resolved or is not a type Total time: 1 minutes 4 seconds
Build Error... Jetspeed
I can't build Jetspeed from CVS? Please help. [javac] C:\projects\jetspeed\src\java\org\apache\jetspeed\om\dbregistry \BaseSecurityAccess.java:238: cannot resolve symbol [javac] symbol : method retrieveByPK (org.apache.torque.om.SimpleKey) [javac] location: class org.apache.jetspeed.om.dbregistry.SecurityEntryPeer [javac] aSecurityEntry = SecurityEntryPeer.retriev eByPK(SimpleKey.keyFor(this.entryId));
Re: JetSpeed2 build failed. TorqueDataModelTask cannot be found
Yes. > > Did you delete your plugin directory ? > > Regards, >Serge Huber. > > At 07:00 25.06.2004, you wrote: > >I download and install Maven 1.0rc3, but I got same error. > >What is wrong??? > > > >Thanks. > > > > > > > > You might want to recycle your Maven plugins by deleted the content of > > > ${user.home}/.maven/plugins. Oh and upgrading to Maven 1.0 rc 3 since it > >is > > > required now for proper compilation of J2. > > > > > > Regards, > > >Serge Huber. > > > > > > At 07:57 24.06.2004, you wrote: > > > >Hi all, > > > > > > > >I have checkouted JetSpeed2. When I tried to build it using command > >"maven > > > >allClean allBuild", i got the follow error: > > > > > > > > > > > > > > > >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 > > > > > > > > > > > >Maven correctly download all dependences. > > > > > > > >What is wrong? Somebody can help me? > > > > > > > >Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JetSpeed2 build failed. TorqueDataModelTask cannot be found
Did you delete your plugin directory ? Regards, Serge Huber. At 07:00 25.06.2004, you wrote: I download and install Maven 1.0rc3, but I got same error. What is wrong??? Thanks. > > You might want to recycle your Maven plugins by deleted the content of > ${user.home}/.maven/plugins. Oh and upgrading to Maven 1.0 rc 3 since it is > required now for proper compilation of J2. > > Regards, >Serge Huber. > > At 07:57 24.06.2004, you wrote: > >Hi all, > > > >I have checkouted JetSpeed2. When I tried to build it using command "maven > >allClean allBuild", i got the follow error: > > > > > > > >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 > > > > > >Maven correctly download all dependences. > > > >What is wrong? Somebody can help me? > > > >Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - -- --- -=[ shuber2 at jahia dot com ]= --- -- - www.jahia.org : A collaborative source CMS and Portal Server - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jetspeed 2 build failed
Waqar Sadiq wrote: I have downloaded jetspeed-2 source and am trying to build it. However the build fails because it cannot load the jdbc drivers. The error is ClassNotFound error that fails to load com.p6spy.engine.spy.P6SpyDriver. I have downloaded the P6Spy driver but am not clear how to configure it so that jetspeed-2 build system will find it. Any help is appreciated. The P6Spy driver is only used in the sample build.properties. It is not used or required for J2. I've updated the build.properties.sample to using the default hsqldb configuration and added a separate build.properties.sample.oracle9i configuration for oracle9i without the P6Spy drivers. Please, read the online documentation http://portals.apache.org/jetspeed-2/getting-started.html and http://portals.apache.org/jetspeed-2/database.html All what is needed to get Jetspeed 2 up and running is specified there. ___ Waqar Sadiq President Practice Pacs, LLC 5809 Dove Creek Lane Plano, TX 75093 Phone: (469) 556-1354 Email: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] ___ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jetspeed 2 build failed
I have downloaded jetspeed-2 source and am trying to build it. However the build fails because it cannot load the jdbc drivers. The error is ClassNotFound error that fails to load com.p6spy.engine.spy.P6SpyDriver. I have downloaded the P6Spy driver but am not clear how to configure it so that jetspeed-2 build system will find it. Any help is appreciated. ___ Waqar Sadiq President Practice Pacs, LLC 5809 Dove Creek Lane Plano, TX 75093 Phone: (469) 556-1354 Email: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] ___
Re: JetSpeed2 build failed. TorqueDataModelTask cannot be found
I download and install Maven 1.0rc3, but I got same error. What is wrong??? Thanks. > > You might want to recycle your Maven plugins by deleted the content of > ${user.home}/.maven/plugins. Oh and upgrading to Maven 1.0 rc 3 since it is > required now for proper compilation of J2. > > Regards, >Serge Huber. > > At 07:57 24.06.2004, you wrote: > >Hi all, > > > >I have checkouted JetSpeed2. When I tried to build it using command "maven > >allClean allBuild", i got the follow error: > > > > > > > >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 > > > > > >Maven correctly download all dependences. > > > >What is wrong? Somebody can help me? > > > >Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
problem about build jetspeed with maven
Title: 晴朗 I am new to maven and jetspeed2.I download source code. When I'm trying to build it with maven,I got the following error messages: How to conver it? Thanks a lot __ __| \/ |__ _Apache__ ___| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~|_| |_\__,_|\_/\___|_||_| v. 1.0-rc3 commons-jelly-20030902.160215.jarError retrieving artifact from [ http://www.ibiblio.org/maven//commons-jelly/jars/commons-jelly-20030902.160215.jar]: java.net.ConnectException: Connection timed out: connect?? commons-jelly-20030902.160215.jar ?§°??? maven-1.0-rc2.jarError retrieving artifact from [ http://www.ibiblio.org/maven//maven/jars/maven-1.0-rc2.jar]: java.net.ConnectException: Connection timed out: connect?? maven-1.0-rc2.jar ?§°??±???¨??
Re: JetSpeed2 build failed. TorqueDataModelTask cannot be found
You might want to recycle your Maven plugins by deleted the content of ${user.home}/.maven/plugins. Oh and upgrading to Maven 1.0 rc 3 since it is required now for proper compilation of J2. Regards, Serge Huber. At 07:57 24.06.2004, you wrote: Hi all, I have checkouted JetSpeed2. When I tried to build it using command "maven allClean allBuild", i got the follow error: 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 Maven correctly download all dependences. What is wrong? Somebody can help me? Thanks! - -- --- -=[ shuber2 at jahia dot com ]= --- -- - www.jahia.org : A collaborative source CMS and Portal Server - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JetSpeed2 build failed. TorqueDataModelTask cannot be found
Hi all, I have checkouted JetSpeed2. When I tried to build it using command "maven allClean allBuild", i got the follow error: 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 Maven correctly download all dependences. What is wrong? Somebody can help me? Thanks!
Re: Jetspeed 2 build failure -- jars not found at ibiblio or bluesunrise
Ok, I searched a bit more and found that, under the webapps/jetspeed/logs directory the jetspeed.log file contains some additional information. Apparently there are no servlet contexts being provided for applications /HW_App and /security. I don't exactly know what that means in a portlet environment. Are these clues useful? 2004-06-02 17:43:58,128 [WORKER_15] ERROR org.apache.jetspeed.container.invoker.ServletPortletInvoker - Failed to find Servlet context for Portlet Application: /HW_App 2004-06-02 17:43:58,128 [WORKER_15] ERROR org.apache.jetspeed.aggregator.impl.RenderingJob - Error rendering portlet OID 17 javax.portlet.PortletException at org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(ServletPortletInvoker.java:182) at org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(ServletPortletInvoker.java:122) at org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:107) at org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderPortlet(JetspeedPortletContainerWrapper.java:97) at org.apache.jetspeed.aggregator.impl.RenderingJob.run(RenderingJob.java:109) at org.apache.jetspeed.aggregator.impl.Worker.run(Worker.java:142) > Ok, I've identified my problem: there are a number of jars > that are not being copied into the jetspeed war. These jars > are marked as dependencies in portal/maven.xml, but have > the war.bundle.jar attribute set to false. It seems this is an > indication that they don't need to be copied into jetspeed's > WEB-INF/lib directory. However, all the exceptions that are > thrown are due to missing classes which would be available > had these jars been copied. Any ideas what's going on here? > > Once I copy these missing jars into jetspeed's WEB-INF/lib dir, > jetspeed loads into tomcat and no ClassNotFound exceptions > appear. However, the following error appears > in tomcat's localhost_log*.txt: > > 2004-06-02 17:40:10 StandardContext[/jetspeed] Velocity [info] Velocimacro : > adding VMs from VM library template : VM_global_library.vm > 2004-06-02 17:40:10 StandardContext[/jetspeed] Velocity [error] ResourceManager > : unable to find resource 'VM_global_library.vm' in any resource loader. > > Visiting http://localhost:8080/jetspeed yields a bunch of portlets, each > of which displays the following exception: > > javax.portlet.PortletException at > org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(ServletPortle > tInvoker.java:182) at > org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(ServletPortle > tInvoker.java:122) at > org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:10 > 7) at > org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderPortlet(Jets > peedPortletContainerWrapper.java:97) at > org.apache.jetspeed.aggregator.impl.RenderingJob.run(RenderingJob.java:109) at > org.apache.jetspeed.aggregator.impl.Worker.run(Worker.java:142) > > Very frustrating... > > Should the current HEAD sources build and function properly, > or is it just me? > > Cheers, > Dan > > > Things seem to be working somewhat better now, at least > > related to the build. I updated the sources yesterday and > > was able to successfully compile the sources. Deployment > > following the four-step instructions at > > > > http://portals.apache.org/jetspeed-2/getting-started.html > > > > seemed to succeed, but when I visited > > > > http://localhost:8080/jetspeed > > > > I received an error page indicating "/jetspeed is unavailable" > > The log file under $CATALINA_HOME indicates that a number > > of classes are not found (JetspeedContainerServlet, JetspeedException) > > These should be found in the jetspeed-commons jar file, I believe. > > Are there undocumented steps that must be followed? > > This is a from-scratch build and install. Tomcat 5 seems to be > > working for all other deployed applications. > > > > Any help is appreciated... > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jetspeed 2 build failure -- jars not found at ibiblio or bluesunrise
Ok, I've identified my problem: there are a number of jars that are not being copied into the jetspeed war. These jars are marked as dependencies in portal/maven.xml, but have the war.bundle.jar attribute set to false. It seems this is an indication that they don't need to be copied into jetspeed's WEB-INF/lib directory. However, all the exceptions that are thrown are due to missing classes which would be available had these jars been copied. Any ideas what's going on here? Once I copy these missing jars into jetspeed's WEB-INF/lib dir, jetspeed loads into tomcat and no ClassNotFound exceptions appear. However, the following error appears in tomcat's localhost_log*.txt: 2004-06-02 17:40:10 StandardContext[/jetspeed] Velocity [info] Velocimacro : adding VMs from VM library template : VM_global_library.vm 2004-06-02 17:40:10 StandardContext[/jetspeed] Velocity [error] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. Visiting http://localhost:8080/jetspeed yields a bunch of portlets, each of which displays the following exception: javax.portlet.PortletException at org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(ServletPortletInvoker.java:182) at org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(ServletPortletInvoker.java:122) at org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:107) at org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderPortlet(JetspeedPortletContainerWrapper.java:97) at org.apache.jetspeed.aggregator.impl.RenderingJob.run(RenderingJob.java:109) at org.apache.jetspeed.aggregator.impl.Worker.run(Worker.java:142) Very frustrating... Should the current HEAD sources build and function properly, or is it just me? Cheers, Dan > Things seem to be working somewhat better now, at least > related to the build. I updated the sources yesterday and > was able to successfully compile the sources. Deployment > following the four-step instructions at > > http://portals.apache.org/jetspeed-2/getting-started.html > > seemed to succeed, but when I visited > > http://localhost:8080/jetspeed > > I received an error page indicating "/jetspeed is unavailable" > The log file under $CATALINA_HOME indicates that a number > of classes are not found (JetspeedContainerServlet, JetspeedException) > These should be found in the jetspeed-commons jar file, I believe. > Are there undocumented steps that must be followed? > This is a from-scratch build and install. Tomcat 5 seems to be > working for all other deployed applications. > > Any help is appreciated... > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]