Re: getting started
hi amit! i now use the build.properties file which comes with the .zip file! now it works... :-) it was the missing DB configuration section... thank you very much, Bernhard - Original Message - From: "Shah Amit" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 23, 2005 3:06 PM Subject: Re: getting started Hi Bernhard, The build file that you showed earlier on this thread, is that the complete build file that you have? I just happened to notice that it is missing the entire DB configuration section. I would suggest take the same build file that comes with the distribution and just copy it to your home directory and rename it, and change the paths. This has always worked for me. Let me know if you need any help ;) Cheers, Amit Original Message Follows From: "Bernhard" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" To: "Jetspeed Users List" Subject: Re: getting started Date: Wed, 23 Feb 2005 10:53:02 +0100 no, i didn't so... the filename is build.properties... what i don't understand is that also if i remove the build.properties from my user home directory, the maven build process is successful... (anyway - same error in the browser)... did you use the build.properties file delivered in the .zip file? i created my own, like it is told in the getting started manual... maybe i give it a try and use the delivered file (changing the name from build.properties.sampe to build.properties ;-) amit - thank you for attention to my problems, i'll let you know if i'm successful! bernhard - Original Message - From: "Shah Amit" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 22, 2005 9:48 PM Subject: Re: getting started Did you rename your build.properties.sample file to build.properties ??? I was rebuilding jetspeed on a machine and just tumbled upon the same problem so I dont know if you already got pass this, so just thought should let you know. Amit Original Message Follows From: "Bernhard Bauer" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" To: "Jetspeed Users List" Subject: Re: getting started Date: Tue, 22 Feb 2005 08:49:33 +0100 my build.properties file looks like this: # jetspeed 2 home required for build org.apache.jetspeed.project.home = e:/jetspeed-2.0 # jetspeed required properties org.apache.jetspeed.server.home = e:/Jakarta/Tomcat 5.0 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 btw - the error i get in the browser is: HTTP Status 503 - Servlet jetspeed is currently unavailable ----- Original Message - From: "Shah Amit" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 22, 2005 1:56 AM Subject: RE: getting started Can you show your build.properties file ... I think you might not have set the proper paths on the build.properties file. Also note that the slashes are all forward slash even though it is windows. It has biten lot of people including me ;) C:/Documentsx/and not C:\Documentsx\ Goodluck, Amit Original Message Follows From: "Bernhard" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" To: "j2 mailing list" Subject: getting started Date: Tue, 22 Feb 2005 00:07:46 +0100 hi all! has somebody a detailed installation instruction for jetspeed 2? i use windows xp -tomcat 5.0.28 -maven 1.0.2 -java 1.4.2_03 i tried to follow the getting started instruction on the apache homepage but it doesn't work... after following all steps, and trying to start jetspeed (in a browser), i get a message: http error ?404? - servlet not available! does someone know what to do? i installed the components the following way: firstly - java, then - tomcat, at last - maven then i created the build.properties file and placed it under C:\Document and Settings\User first question: when i enter the "maven start.test.server" command - i get a message: 'server.properties not found, using command line or default properties' but the hsqldb server is running... is this normal behavior? - maven allClean allBuild seems to work fine; when i stop the test.server and enter "maven.start.production.server" into the command prompt, i get the same 'server.properties not found,...' message... but also production.server is running; maven quickstart maybe doesn't what it should, it creates the jetspeed folder directly under the root directory - is there something wrong with my build properties? ok, i copy the jetspeed folder (also tried it with the .war file) under the webapps direc
Re: getting started
Hi Bernhard, The build file that you showed earlier on this thread, is that the complete build file that you have? I just happened to notice that it is missing the entire DB configuration section. I would suggest take the same build file that comes with the distribution and just copy it to your home directory and rename it, and change the paths. This has always worked for me. Let me know if you need any help ;) Cheers, Amit Original Message Follows From: "Bernhard" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" To: "Jetspeed Users List" Subject: Re: getting started Date: Wed, 23 Feb 2005 10:53:02 +0100 no, i didn't so... the filename is build.properties... what i don't understand is that also if i remove the build.properties from my user home directory, the maven build process is successful... (anyway - same error in the browser)... did you use the build.properties file delivered in the .zip file? i created my own, like it is told in the getting started manual... maybe i give it a try and use the delivered file (changing the name from build.properties.sampe to build.properties ;-) amit - thank you for attention to my problems, i'll let you know if i'm successful! bernhard - Original Message - From: "Shah Amit" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 22, 2005 9:48 PM Subject: Re: getting started Did you rename your build.properties.sample file to build.properties ??? I was rebuilding jetspeed on a machine and just tumbled upon the same problem so I dont know if you already got pass this, so just thought should let you know. Amit Original Message Follows From: "Bernhard Bauer" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" To: "Jetspeed Users List" Subject: Re: getting started Date: Tue, 22 Feb 2005 08:49:33 +0100 my build.properties file looks like this: # jetspeed 2 home required for build org.apache.jetspeed.project.home = e:/jetspeed-2.0 # jetspeed required properties org.apache.jetspeed.server.home = e:/Jakarta/Tomcat 5.0 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 btw - the error i get in the browser is: HTTP Status 503 - Servlet jetspeed is currently unavailable - Original Message ----- From: "Shah Amit" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 22, 2005 1:56 AM Subject: RE: getting started Can you show your build.properties file ... I think you might not have set the proper paths on the build.properties file. Also note that the slashes are all forward slash even though it is windows. It has biten lot of people including me ;) C:/Documentsx/and not C:\Documentsx\ Goodluck, Amit Original Message Follows From: "Bernhard" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" To: "j2 mailing list" Subject: getting started Date: Tue, 22 Feb 2005 00:07:46 +0100 hi all! has somebody a detailed installation instruction for jetspeed 2? i use windows xp -tomcat 5.0.28 -maven 1.0.2 -java 1.4.2_03 i tried to follow the getting started instruction on the apache homepage but it doesn't work... after following all steps, and trying to start jetspeed (in a browser), i get a message: http error ?404? - servlet not available! does someone know what to do? i installed the components the following way: firstly - java, then - tomcat, at last - maven then i created the build.properties file and placed it under C:\Document and Settings\User first question: when i enter the "maven start.test.server" command - i get a message: 'server.properties not found, using command line or default properties' but the hsqldb server is running... is this normal behavior? - maven allClean allBuild seems to work fine; when i stop the test.server and enter "maven.start.production.server" into the command prompt, i get the same 'server.properties not found,...' message... but also production.server is running; maven quickstart maybe doesn't what it should, it creates the jetspeed folder directly under the root directory - is there something wrong with my build properties? ok, i copy the jetspeed folder (also tried it with the .war file) under the webapps directory; start up tomcat and enter the adress http://localhost:8080/jetspeed into my browser... - but the portal doesn't start - i only get the above described HTTP ERROR - servlet not available... thank you all for your help, greetings, bernd - To unsubscribe, e-mail:
Re: getting started
no, i didn't so... the filename is build.properties... what i don't understand is that also if i remove the build.properties from my user home directory, the maven build process is successful... (anyway - same error in the browser)... did you use the build.properties file delivered in the .zip file? i created my own, like it is told in the getting started manual... maybe i give it a try and use the delivered file (changing the name from build.properties.sampe to build.properties ;-) amit - thank you for attention to my problems, i'll let you know if i'm successful! bernhard - Original Message - From: "Shah Amit" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 22, 2005 9:48 PM Subject: Re: getting started Did you rename your build.properties.sample file to build.properties ??? I was rebuilding jetspeed on a machine and just tumbled upon the same problem so I dont know if you already got pass this, so just thought should let you know. Amit Original Message Follows From: "Bernhard Bauer" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" To: "Jetspeed Users List" Subject: Re: getting started Date: Tue, 22 Feb 2005 08:49:33 +0100 my build.properties file looks like this: # jetspeed 2 home required for build org.apache.jetspeed.project.home = e:/jetspeed-2.0 # jetspeed required properties org.apache.jetspeed.server.home = e:/Jakarta/Tomcat 5.0 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 btw - the error i get in the browser is: HTTP Status 503 - Servlet jetspeed is currently unavailable - Original Message - From: "Shah Amit" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 22, 2005 1:56 AM Subject: RE: getting started Can you show your build.properties file ... I think you might not have set the proper paths on the build.properties file. Also note that the slashes are all forward slash even though it is windows. It has biten lot of people including me ;) C:/Documentsx/and not C:\Documentsx\ Goodluck, Amit Original Message Follows From: "Bernhard" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" To: "j2 mailing list" Subject: getting started Date: Tue, 22 Feb 2005 00:07:46 +0100 hi all! has somebody a detailed installation instruction for jetspeed 2? i use windows xp -tomcat 5.0.28 -maven 1.0.2 -java 1.4.2_03 i tried to follow the getting started instruction on the apache homepage but it doesn't work... after following all steps, and trying to start jetspeed (in a browser), i get a message: http error ?404? - servlet not available! does someone know what to do? i installed the components the following way: firstly - java, then - tomcat, at last - maven then i created the build.properties file and placed it under C:\Document and Settings\User first question: when i enter the "maven start.test.server" command - i get a message: 'server.properties not found, using command line or default properties' but the hsqldb server is running... is this normal behavior? - maven allClean allBuild seems to work fine; when i stop the test.server and enter "maven.start.production.server" into the command prompt, i get the same 'server.properties not found,...' message... but also production.server is running; maven quickstart maybe doesn't what it should, it creates the jetspeed folder directly under the root directory - is there something wrong with my build properties? ok, i copy the jetspeed folder (also tried it with the .war file) under the webapps directory; start up tomcat and enter the adress http://localhost:8080/jetspeed into my browser... - but the portal doesn't start - i only get the above described HTTP ERROR - servlet not available... thank you all for your help, greetings, bernd - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: getting started
Did you rename your build.properties.sample file to build.properties ??? I was rebuilding jetspeed on a machine and just tumbled upon the same problem so I dont know if you already got pass this, so just thought should let you know. Amit Original Message Follows From: "Bernhard Bauer" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" To: "Jetspeed Users List" Subject: Re: getting started Date: Tue, 22 Feb 2005 08:49:33 +0100 my build.properties file looks like this: # jetspeed 2 home required for build org.apache.jetspeed.project.home = e:/jetspeed-2.0 # jetspeed required properties org.apache.jetspeed.server.home = e:/Jakarta/Tomcat 5.0 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 btw - the error i get in the browser is: HTTP Status 503 - Servlet jetspeed is currently unavailable - Original Message - From: "Shah Amit" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 22, 2005 1:56 AM Subject: RE: getting started Can you show your build.properties file ... I think you might not have set the proper paths on the build.properties file. Also note that the slashes are all forward slash even though it is windows. It has biten lot of people including me ;) C:/Documentsx/and not C:\Documentsx\ Goodluck, Amit Original Message Follows From: "Bernhard" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" To: "j2 mailing list" Subject: getting started Date: Tue, 22 Feb 2005 00:07:46 +0100 hi all! has somebody a detailed installation instruction for jetspeed 2? i use windows xp -tomcat 5.0.28 -maven 1.0.2 -java 1.4.2_03 i tried to follow the getting started instruction on the apache homepage but it doesn't work... after following all steps, and trying to start jetspeed (in a browser), i get a message: http error ?404? - servlet not available! does someone know what to do? i installed the components the following way: firstly - java, then - tomcat, at last - maven then i created the build.properties file and placed it under C:\Document and Settings\User first question: when i enter the "maven start.test.server" command - i get a message: 'server.properties not found, using command line or default properties' but the hsqldb server is running... is this normal behavior? - maven allClean allBuild seems to work fine; when i stop the test.server and enter "maven.start.production.server" into the command prompt, i get the same 'server.properties not found,...' message... but also production.server is running; maven quickstart maybe doesn't what it should, it creates the jetspeed folder directly under the root directory - is there something wrong with my build properties? ok, i copy the jetspeed folder (also tried it with the .war file) under the webapps directory; start up tomcat and enter the adress http://localhost:8080/jetspeed into my browser... - but the portal doesn't start - i only get the above described HTTP ERROR - servlet not available... thank you all for your help, greetings, bernd - 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: getting started
my build.properties file looks like this: # jetspeed 2 home required for build org.apache.jetspeed.project.home = e:/jetspeed-2.0 # jetspeed required properties org.apache.jetspeed.server.home = e:/Jakarta/Tomcat 5.0 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 btw - the error i get in the browser is: HTTP Status 503 - Servlet jetspeed is currently unavailable - Original Message - From: "Shah Amit" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 22, 2005 1:56 AM Subject: RE: getting started Can you show your build.properties file ... I think you might not have set the proper paths on the build.properties file. Also note that the slashes are all forward slash even though it is windows. It has biten lot of people including me ;) C:/Documentsx/and not C:\Documentsx\ Goodluck, Amit Original Message Follows From: "Bernhard" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" To: "j2 mailing list" Subject: getting started Date: Tue, 22 Feb 2005 00:07:46 +0100 hi all! has somebody a detailed installation instruction for jetspeed 2? i use windows xp -tomcat 5.0.28 -maven 1.0.2 -java 1.4.2_03 i tried to follow the getting started instruction on the apache homepage but it doesn't work... after following all steps, and trying to start jetspeed (in a browser), i get a message: http error ?404? - servlet not available! does someone know what to do? i installed the components the following way: firstly - java, then - tomcat, at last - maven then i created the build.properties file and placed it under C:\Document and Settings\User first question: when i enter the "maven start.test.server" command - i get a message: 'server.properties not found, using command line or default properties' but the hsqldb server is running... is this normal behavior? - maven allClean allBuild seems to work fine; when i stop the test.server and enter "maven.start.production.server" into the command prompt, i get the same 'server.properties not found,...' message... but also production.server is running; maven quickstart maybe doesn't what it should, it creates the jetspeed folder directly under the root directory - is there something wrong with my build properties? ok, i copy the jetspeed folder (also tried it with the .war file) under the webapps directory; start up tomcat and enter the adress http://localhost:8080/jetspeed into my browser... - but the portal doesn't start - i only get the above described HTTP ERROR - servlet not available... thank you all for your help, greetings, bernd - 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: getting started
Can you show your build.properties file ... I think you might not have set the proper paths on the build.properties file. Also note that the slashes are all forward slash even though it is windows. It has biten lot of people including me ;) C:/Documentsx/and not C:\Documentsx\ Goodluck, Amit Original Message Follows From: "Bernhard" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" To: "j2 mailing list" Subject: getting started Date: Tue, 22 Feb 2005 00:07:46 +0100 hi all! has somebody a detailed installation instruction for jetspeed 2? i use windows xp -tomcat 5.0.28 -maven 1.0.2 -java 1.4.2_03 i tried to follow the getting started instruction on the apache homepage but it doesn't work... after following all steps, and trying to start jetspeed (in a browser), i get a message: http error ?404? - servlet not available! does someone know what to do? i installed the components the following way: firstly - java, then - tomcat, at last - maven then i created the build.properties file and placed it under C:\Document and Settings\User first question: when i enter the "maven start.test.server" command - i get a message: 'server.properties not found, using command line or default properties' but the hsqldb server is running... is this normal behavior? - maven allClean allBuild seems to work fine; when i stop the test.server and enter "maven.start.production.server" into the command prompt, i get the same 'server.properties not found,...' message... but also production.server is running; maven quickstart maybe doesn't what it should, it creates the jetspeed folder directly under the root directory - is there something wrong with my build properties? ok, i copy the jetspeed folder (also tried it with the .war file) under the webapps directory; start up tomcat and enter the adress http://localhost:8080/jetspeed into my browser... - but the portal doesn't start - i only get the above described HTTP ERROR - servlet not available... thank you all for your help, greetings, bernd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Getting Started
I am not sure since I am not using Eclipse. However, from what I read about from the wiki, it might be necessary to set the jave home path as a url (ie . file:/ ). Here's the excerpt from the wiki Before we go any further, make sure that the Maven settings are correct in Eclipse. Open the Eclipse Preferences dialog and select the Maven > Locations. In the author's experience on Mac OS X, it was neccessary to enter the Java Home path as a URL: file:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home Hema On Sat, 27 Nov 2004 17:00:46 -0500, Ron Wheeler <[EMAIL PROTECTED]> wrote: > //It looks more like the c: given the unknown protocol message. > //I do not know who has created this string. JAVA_HOME points to the bin > directory so I am not sure if it is coming from //JAVA_HOME or from one > of the Eclipse preferences. > > I think that I have found the source of this!!! > What is the Maven Preference in Eclipse for tools.jar supposed to point > to? Mine points to this nonexistant file. > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Getting Started
//It looks more like the c: given the unknown protocol message. //I do not know who has created this string. JAVA_HOME points to the bin directory so I am not sure if it is coming from //JAVA_HOME or from one of the Eclipse preferences. I think that I have found the source of this!!! What is the Maven Preference in Eclipse for tools.jar supposed to point to? Mine points to this nonexistant file. Hema Menon wrote: Ron, I wonder the space in "Program Files" has anything to do with. Try it without the space. Just a wild guess:) Hema On Sat, 27 Nov 2004 16:37:41 -0500, Ron Wheeler <[EMAIL PROTECTED]> wrote: 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. http://wiki.apache.org/portals/Jetspeed2/DevelopingJetspeed2 You can use Cygwin CVS or any others for downloading the source. You can download Cygwin from http://www.cygwin.com/mirrors.html. Make sure you select CVS from the Devel on installation. You can now use the instructions at apache ( http://www.apache.org/dev/version-control.html )to get the source from CVS. The steps involved are â Set the CVSROOT environment variable CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvspublic export CVSROOT â Login to CVS cvs login password anoncvs â Choose the module to download For jetspeed 2 cvs checkout Jakarta-jetspeed-2 2. OK, I have the source now, how do I build this? The instructions on building Jetspeed are at http://portals.apache.org/jetspeed-2/getting-started.html For step #1, I followed the instructions available here http://maven.apache.org/start/install.html For step # 2, I copied the build.properties.sample in the jetspeed2 directory to build.properties in the userhome directory( On my windows box, C:\Documents and settings\hm
Re: Getting Started
Ron, I wonder the space in "Program Files" has anything to do with. Try it without the space. Just a wild guess:) Hema On Sat, 27 Nov 2004 16:37:41 -0500, Ron Wheeler <[EMAIL PROTECTED]> wrote: > 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. > >http://wiki.apache.org/portals/Jetspeed2/DevelopingJetspeed2 > >You can use Cygwin CVS or any others for downloading the source. You > >can download Cygwin from http://www.cygwin.com/mirrors.html. Make > >sure you select CVS from the Devel on installation. You can now use > >the instructions at apache ( > >http://www.apache.org/dev/version-control.html )to get the source from > >CVS. The steps involved are > >â Set the CVSROOT environment variable > >CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvspublic export CVSROOT > >â Login to CVS > > cvs login > > password anoncvs > >â Choose the module to download > > For jetspeed 2 > > cvs checkout Jakarta-jetspeed-2 > > > >2. OK, I have the source now, how do I build this? > >The instructions on building Jetspeed are at > >http://portals.apache.org/jetspeed-2/getting-started.html > >For step #1, I followed the instructions available here > >http://maven.apache.org/start/install.html > >For step # 2, I copied the build.properties.sample in the jetspeed2 > >directory to build.properties in the userhome directory( On my windows > >box, C:\Documents and settings\hmenon ) and then modified it as > >suggested for step 2 in > >http://portals.apache.org/jetspeed-2/getting-started.html > >Then continued with the further steps, at
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. http://wiki.apache.org/portals/Jetspeed2/DevelopingJetspeed2 You can use Cygwin CVS or any others for downloading the source. You can download Cygwin from http://www.cygwin.com/mirrors.html. Make sure you select CVS from the Devel on installation. You can now use the instructions at apache ( http://www.apache.org/dev/version-control.html )to get the source from CVS. The steps involved are â Set the CVSROOT environment variable CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvspublic export CVSROOT â Login to CVS cvs login password anoncvs â Choose the module to download For jetspeed 2 cvs checkout Jakarta-jetspeed-2 2. OK, I have the source now, how do I build this? The instructions on building Jetspeed are at http://portals.apache.org/jetspeed-2/getting-started.html For step #1, I followed the instructions available here http://maven.apache.org/start/install.html For step # 2, I copied the build.properties.sample in the jetspeed2 directory to build.properties in the userhome directory( On my windows box, C:\Documents and settings\hmenon ) and then modified it as suggested for step 2 in http://portals.apache.org/jetspeed-2/getting-started.html Then continued with the further steps, at which case I run across the following problems which were resolved as described below. 3.The build started by ultimately failed due to unsatisfied dependency with the following errors. Attempting to download pluto-1.0.1-rc1.jar. WARNING: Failed to download pluto-1.0.1-rc1.jar. BUILD FAILED File.. C:\temp\jakarta-jetspeed-2\maven.xml â.. Column 40 The build cannot continue because of the following unsatisfied dependency:
Re: Getting Started
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. http://wiki.apache.org/portals/Jetspeed2/DevelopingJetspeed2 You can use Cygwin CVS or any others for downloading the source. You can download Cygwin from http://www.cygwin.com/mirrors.html. Make sure you select CVS from the Devel on installation. You can now use the instructions at apache ( http://www.apache.org/dev/version-control.html )to get the source from CVS. The steps involved are â Set the CVSROOT environment variable CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvspublic export CVSROOT â Login to CVS cvs login password anoncvs â Choose the module to download For jetspeed 2 cvs checkout Jakarta-jetspeed-2 2. OK, I have the source now, how do I build this? The instructions on building Jetspeed are at http://portals.apache.org/jetspeed-2/getting-started.html For step #1, I followed the instructions available here http://maven.apache.org/start/install.html For step # 2, I copied the build.properties.sample in the jetspeed2 directory to build.properties in the userhome directory( On my windows box, C:\Documents and settings\hmenon ) and then modified it as suggested for step 2 in http://portals.apache.org/jetspeed-2/getting-started.html Then continued with the further steps, at which case I run across the following problems which were resolved as described below. 3.The build started by ultimately failed due to unsatisfied dependency with the following errors. Attempting to download pluto-1.0.1-rc1.jar. WARNING: Failed to download pluto-1.0.1-rc1.jar. BUILD FAILED File.. C:\temp\jakarta-jetspeed-2\maven.xml â.. Column 40 The build cannot continue because of the following unsatisfied dependency: pluto-1.0.1-rc1.jar What can I do to fix this? Maven tries to download the jars to your local repository (usually %home/.maven/repository directory) from the remote repository (maven.remote.repo =www.bluesunrise.com/maven, â) as defined in the project.properties. If it is unable to download from these locations, you are likely to get this error. You could try downloading these jars from these locations and place it in the respective folders in the local maven repository and restart the build. 4. The build completed successfully. How do I deploy this? Follow the instruction #5 as described in http://portals.apache.org/jetspeed-2/getting-started.html 5. OK, Jetspeed 2 is now deployed successfully, but I cannot find the login page. Here's the exception in Tomcat logs.. BOOT] WARN: Could not load properties file 'OJB.properties'. Using default settings! C:\WINDOWS\system32\OJB.properties (The system cannot find the file specified) java.io.FileNotFoundException: C:\WINDOWS\system32\OJB.properties (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) Help meâ. Copy OJB.properties from Jakarta-jetspeed-2/etc/db-ojb directory to TOMCAT_HOME/webapps/jetspeed/web-inf/classes directory. You might want to copy all these listed files, otherwise you are likely to encounter problem as described in the next item. OJB-logging.properties OJB.properties repository_database.xml repository.dtd repository_internal.xml repository.xml TEMP.xml Restart tomcat after copying the files. 6. Copied OJB.properties, restarted Tomcat, well, the page is not still up. Here's the exception from Tomcat logs, org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'java.util.prefs.PreferencesFactory' defined in URL [file:/C:/Tomcat5.0.28/webapps/jetspeed/WEB-INF/assembly/jetspeed-spring.xml]: Initialization of bean failed; nested exception is org.apache.jetspeed.prefs.PreferencesException: Failed to initialize prefs api. java.lang.NullPointerException org.apache.jetspeed.prefs.PreferencesException: Failed to initialize prefs api. java.lang.NullPointerException at org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl.init(PreferencesFactoryImpl.java:69)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMe
RE: Getting Started
> as well)does Tomcat allow for CGI/Perl script process as Apache does. Not out of the box, at least I don't think so. Unless you have legacy CGI programs, I would use servlets instead of CGI. > I have not used Tomcat before and one of the things that I read about it > was that it does not handle all the processes that Apache does (or just > not Apache HTTPD supposedly handles static content more efficiently than Tomcat. As I said before, you will have to find the configuration that fits your needs and performs best for your circumstances. Scott > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 02, 2002 10:48 AM > To: Jetspeed Users List > Subject: RE: Getting Started > > I have not used Tomcat before and one of the things that I read about it > was that it does not handle all the processes that Apache does (or just > not > as well)does Tomcat allow for CGI/Perl script process as Apache does. > > Allen > > -Original Message- > From: Weaver, Scott [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 02, 2002 7:52 AM > To: 'Jetspeed Users List' > Subject: RE: Getting Started > > > This sounds right. However, I don't agree with HAVING to use Tomcat with > Apache. If I were you I would test both configurations (Apache/Tomcat and > Tomcat Standalone) and then decide which works the best for you. > > Scott > > > -Original Message- > > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, October 01, 2002 5:45 PM > > To: Jetspeed Users List > > Subject: Getting Started > > > > Good afternoon... > > > > I am just starting my implementation of JetSpeed and want to make sure > > that I am going in the right direction. > > It looks like my steps will be: > > > > - Configure system with JDK > > - Configure Tomcat (should this be configured in conjunction with an > > Apache Server. I have heard that it is best to > > run Apache with Tomcat even though TomCat can run standalone.) > > - Place the Jetspeed WAR file in the correct location. > > - Change configurations within the JetSpeed config to work with my SMTP > > server (did not plan to install James). > > > > Is this a correct assumption of the steps need to get up and running > > > > > > Thanks > > > > Allen
RE: Getting Started
I have not used Tomcat before and one of the things that I read about it was that it does not handle all the processes that Apache does (or just not as well)does Tomcat allow for CGI/Perl script process as Apache does. Allen -Original Message- From: Weaver, Scott [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 7:52 AM To: 'Jetspeed Users List' Subject: RE: Getting Started This sounds right. However, I don't agree with HAVING to use Tomcat with Apache. If I were you I would test both configurations (Apache/Tomcat and Tomcat Standalone) and then decide which works the best for you. Scott > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 01, 2002 5:45 PM > To: Jetspeed Users List > Subject: Getting Started > > Good afternoon... > > I am just starting my implementation of JetSpeed and want to make sure > that I am going in the right direction. > It looks like my steps will be: > > - Configure system with JDK > - Configure Tomcat (should this be configured in conjunction with an > Apache Server. I have heard that it is best to > run Apache with Tomcat even though TomCat can run standalone.) > - Place the Jetspeed WAR file in the correct location. > - Change configurations within the JetSpeed config to work with my SMTP > server (did not plan to install James). > > Is this a correct assumption of the steps need to get up and running > > > Thanks > > Allen This message may contain proprietary or confidential company information. Any unauthorized use or disclosure is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
RE: Getting Started
This sounds right. However, I don't agree with HAVING to use Tomcat with Apache. If I were you I would test both configurations (Apache/Tomcat and Tomcat Standalone) and then decide which works the best for you. Scott > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 01, 2002 5:45 PM > To: Jetspeed Users List > Subject: Getting Started > > Good afternoon... > > I am just starting my implementation of JetSpeed and want to make sure > that I am going in the right direction. > It looks like my steps will be: > > - Configure system with JDK > - Configure Tomcat (should this be configured in conjunction with an > Apache Server. I have heard that it is best to > run Apache with Tomcat even though TomCat can run standalone.) > - Place the Jetspeed WAR file in the correct location. > - Change configurations within the JetSpeed config to work with my SMTP > server (did not plan to install James). > > Is this a correct assumption of the steps need to get up and running > > > Thanks > > Allen