You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Ate Douma <at...@douma.nu> on 2004/11/27 03:16:46 UTC
What's Happening with Jetspeed-2? A great interview on java.net
An interview given by David Sean Taylor on the new Jetspeed-2 to come!
Check it out: http://today.java.net/cs/user/print/a/151
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
Re: Wiki documentation issues
Posted by "Scott T. Weaver" <sc...@binary-designs.net>.
Anyone should be able to change the Wiki. If you see an inconsistency
or something that is blatantly out of date, please feel free to fix it.
Ron Wheeler wrote:
> It appears that
> http://wiki.apache.org/portals/Jetspeed2/DevelopingJetspeed2
> needs to be updated to clarify the discussion that starts
> "Tomcat 4 and 5 are both supported. Tomcat 5 requires a JAASRealm
> patch that will be automatically applied by Maven during the build.
> Refer to [WWW]http://issues.apache.org/jira/browse/JS2-55 for more
> information."
> From reading up on this issue it appears that this is no longer an
> issue if you use the current version of Tomcat. There is no mention of
> the Tomcat 5.5 stream but I am hoping that this problem is resolved
> there as well.
> I hope that the wiki authors will fix this up.
>
> Ron
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>
--
"Great minds discuss ideas. Average minds discuss events. Small minds discuss people." - Admiral Hyman Rickover
*******************************************
* Scott T. Weaver *
* <we...@apache.org> *
* <http://www.einnovation.com> *
* -------------------------------------- *
* Apache Jetspeed Enterprise Portal *
* Apache Pluto Portlet Container *
* *
* OpenEdit, Website Content Management *
* <http://www.openedit.org> *
*******************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Wiki documentation issues
Posted by Ron Wheeler <rw...@artifact-software.com>.
It appears that
http://wiki.apache.org/portals/Jetspeed2/DevelopingJetspeed2
needs to be updated to clarify the discussion that starts
"Tomcat 4 and 5 are both supported. Tomcat 5 requires a JAASRealm patch
that will be automatically applied by Maven during the build. Refer to
[WWW]http://issues.apache.org/jira/browse/JS2-55 for more information."
From reading up on this issue it appears that this is no longer an
issue if you use the current version of Tomcat. There is no mention of
the Tomcat 5.5 stream but I am hoping that this problem is resolved
there as well.
I hope that the wiki authors will fix this up.
Ron
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Getting Started
Posted by Hema Menon <me...@gmail.com>.
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
<QUOTE>
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
</QUOTE>
Hema
On Sat, 27 Nov 2004 17:00:46 -0500, Ron Wheeler
<rw...@artifact-software.com> 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: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Getting Started
Posted by Ron Wheeler <rw...@artifact-software.com>.
//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
><rw...@artifact-software.com> 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.<init>(Unknown Source)
>> at java.net.URL.<init>(Unknown Source)
>> at java.net.URL.<init>(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:anoncvs@cvs.apache.org:/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.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>>>What's it now?
>>>Here's the answer
>>>http://www.mail-archive.com/jetspeed-dev@jakarta.apache.org/msg16644.html
>>>Copy all the files and restart Tomcat.
>>>
>>>7. Finally, http://localhost:8080/jetspeed is loaded with the new
>>>jetspeed 2 page. Logged in as admin/jetspeed user/password combo.
>>>What?? Invalid username/password?? Why?
>>>With jetspeed2 you need to use user/user or jetspeed/jetspeed as the
>>>user/password combination to login.
>>>
>>> Other Known Issues
>>>1. Issues with using JDK versions lower than 1.4.2_02
>>>This bug as reported here
>>>http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5012893 is likely
>>>to cause the followin exception java.lang.RuntimeException: Failed to
>>>initialize prefs api. java.lang.InternalError: Can't instantiate
>>>Preferences factory java.lang.ClassNotFoundException:
>>>org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl.
>>>Hence you need to have jdk1.4.2_02 or higher.
>>>
>>>I am not sure whether you were successful in building Jetspeed 2. But
>>>thought I would share my experience to make the process easier.
>>>
>>>Thanks,
>>>Hema
>>>
>>>On Sat, 27 Nov 2004 12:26:14 -0500, Ron Wheeler
>>><rw...@artifact-software.com> wrote:
>>>
>>>
>>>
>>>
>>>>In getting started with Jetspeed, I am trying to follow the instructions
>>>>on
>>>>http://portals.apache.org/jetspeed-2/mail-lists.html
>>>>fairly literally to see how clear they really are to a new person.
>>>>
>>>>I have Apache and Tomcat working at the start of the process.
>>>>
>>>>Problem 1) The instructions do not describe how to download Jetspeed or
>>>>even mention the need to do this. Am I supposed to have downloaded it
>>>>before I got here or am I supposed to download it through Maven between
>>>>step 1 and 2.?
>>>>
>>>>Problem 2) What is USER_HOME in a Windows 2000 environment.
>>>>A windows use would expect this to be C:\Documents and
>>>>Settings\rwheeler\My Documents but I am not sure if that makes any sense
>>>>in the context of a Tomcat server.
>>>>It needs explaining for either windows or Linux.
>>>>
>>>>I hope that these comments lead to a better set of instructions that
>>>>make it easy for new users. I will try to document the little issues
>>>>that I run into. I know that it is hard for someone who completely
>>>>understands the whole process to put themselves in the shoes of a new
>>>>system administrator who has never seen the software before. It is easy
>>>>to forget to mention something that seems so obvious once you have done
>>>>it successfully.
>>>>
>>>>Ron
>>>>
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>>
>>
>>
>>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Getting Started
Posted by Hema Menon <me...@gmail.com>.
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
<rw...@artifact-software.com> 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.<init>(Unknown Source)
> at java.net.URL.<init>(Unknown Source)
> at java.net.URL.<init>(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:anoncvs@cvs.apache.org:/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.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> >What's it now?
> >Here's the answer
> >http://www.mail-archive.com/jetspeed-dev@jakarta.apache.org/msg16644.html
> >Copy all the files and restart Tomcat.
> >
> >7. Finally, http://localhost:8080/jetspeed is loaded with the new
> >jetspeed 2 page. Logged in as admin/jetspeed user/password combo.
> >What?? Invalid username/password?? Why?
> >With jetspeed2 you need to use user/user or jetspeed/jetspeed as the
> >user/password combination to login.
> >
> > Other Known Issues
> >1. Issues with using JDK versions lower than 1.4.2_02
> >This bug as reported here
> >http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5012893 is likely
> >to cause the followin exception java.lang.RuntimeException: Failed to
> >initialize prefs api. java.lang.InternalError: Can't instantiate
> >Preferences factory java.lang.ClassNotFoundException:
> >org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl.
> >Hence you need to have jdk1.4.2_02 or higher.
> >
> >I am not sure whether you were successful in building Jetspeed 2. But
> >thought I would share my experience to make the process easier.
> >
> >Thanks,
> >Hema
> >
> >On Sat, 27 Nov 2004 12:26:14 -0500, Ron Wheeler
> ><rw...@artifact-software.com> wrote:
> >
> >
> >>In getting started with Jetspeed, I am trying to follow the instructions
> >>on
> >>http://portals.apache.org/jetspeed-2/mail-lists.html
> >>fairly literally to see how clear they really are to a new person.
> >>
> >>I have Apache and Tomcat working at the start of the process.
> >>
> >>Problem 1) The instructions do not describe how to download Jetspeed or
> >>even mention the need to do this. Am I supposed to have downloaded it
> >>before I got here or am I supposed to download it through Maven between
> >>step 1 and 2.?
> >>
> >>Problem 2) What is USER_HOME in a Windows 2000 environment.
> >> A windows use would expect this to be C:\Documents and
> >>Settings\rwheeler\My Documents but I am not sure if that makes any sense
> >>in the context of a Tomcat server.
> >>It needs explaining for either windows or Linux.
> >>
> >>I hope that these comments lead to a better set of instructions that
> >>make it easy for new users. I will try to document the little issues
> >>that I run into. I know that it is hard for someone who completely
> >>understands the whole process to put themselves in the shoes of a new
> >>system administrator who has never seen the software before. It is easy
> >>to forget to mention something that seems so obvious once you have done
> >>it successfully.
> >>
> >>Ron
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> >>
> >>
> >>
> >>
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hema Menon
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Maven build issues [was Getting Started]
Posted by Carlos Sanchez <ca...@apache.org>.
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:rwheeler@artifact-software.com]
> 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.<init>(Unknown Source)
> at java.net.URL.<init>(Unknown Source)
> at java.net.URL.<init>(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:anoncvs@cvs.apache.org:/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/jets
> peed-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(Pr
> eferencesF
> >actoryImpl.java:69)at
> >sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
> sorImpl.ja
> >va:39
> >What's it now?
> >Here's the answer
> >http://www.mail-archive.com/jetspeed-dev@jakarta.apache.org/m
> sg16644.ht
> >ml
> >Copy all the files and restart Tomcat.
> >
> >7. Finally, http://localhost:8080/jetspeed is loaded with the new
> >jetspeed 2 page. Logged in as admin/jetspeed user/password combo.
> >What?? Invalid username/password?? Why?
> >With jetspeed2 you need to use user/user or jetspeed/jetspeed as the
> >user/password combination to login.
> >
> > Other Known Issues
> >1. Issues with using JDK versions lower than 1.4.2_02
> >This bug as reported here
> >http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5012893
> is likely to
> >cause the followin exception java.lang.RuntimeException: Failed to
> >initialize prefs api. java.lang.InternalError: Can't instantiate
> >Preferences factory java.lang.ClassNotFoundException:
> >org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl.
> >Hence you need to have jdk1.4.2_02 or higher.
> >
> >I am not sure whether you were successful in building
> Jetspeed 2. But
> >thought I would share my experience to make the process easier.
> >
> >Thanks,
> >Hema
> >
> >On Sat, 27 Nov 2004 12:26:14 -0500, Ron Wheeler
> ><rw...@artifact-software.com> wrote:
> >
> >
> >>In getting started with Jetspeed, I am trying to follow the
> >>instructions on http://portals.apache.org/jetspeed-2/mail-lists.html
> >>fairly literally to see how clear they really are to a new person.
> >>
> >>I have Apache and Tomcat working at the start of the process.
> >>
> >>Problem 1) The instructions do not describe how to download
> Jetspeed
> >>or even mention the need to do this. Am I supposed to have
> downloaded
> >>it before I got here or am I supposed to download it through Maven
> >>between step 1 and 2.?
> >>
> >>Problem 2) What is USER_HOME in a Windows 2000 environment.
> >> A windows use would expect this to be C:\Documents and
> >>Settings\rwheeler\My Documents but I am not sure if that makes any
> >>sense in the context of a Tomcat server.
> >>It needs explaining for either windows or Linux.
> >>
> >>I hope that these comments lead to a better set of
> instructions that
> >>make it easy for new users. I will try to document the
> little issues
> >>that I run into. I know that it is hard for someone who completely
> >>understands the whole process to put themselves in the
> shoes of a new
> >>system administrator who has never seen the software before. It is
> >>easy to forget to mention something that seems so obvious once you
> >>have done it successfully.
> >>
> >>Ron
> >>
> >>
> >>
> >>------------------------------------------------------------
> ---------
> >>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail:
> jetspeed-user-help@jakarta.apache.org
> >>
> >>
> >>
> >>
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Getting Started
Posted by Ron Wheeler <rw...@artifact-software.com>.
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.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(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:anoncvs@cvs.apache.org:/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.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>What's it now?
>Here's the answer
>http://www.mail-archive.com/jetspeed-dev@jakarta.apache.org/msg16644.html
>Copy all the files and restart Tomcat.
>
>7. Finally, http://localhost:8080/jetspeed is loaded with the new
>jetspeed 2 page. Logged in as admin/jetspeed user/password combo.
>What?? Invalid username/password?? Why?
>With jetspeed2 you need to use user/user or jetspeed/jetspeed as the
>user/password combination to login.
>
> Other Known Issues
>1. Issues with using JDK versions lower than 1.4.2_02
>This bug as reported here
>http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5012893 is likely
>to cause the followin exception java.lang.RuntimeException: Failed to
>initialize prefs api. java.lang.InternalError: Can't instantiate
>Preferences factory java.lang.ClassNotFoundException:
>org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl.
>Hence you need to have jdk1.4.2_02 or higher.
>
>I am not sure whether you were successful in building Jetspeed 2. But
>thought I would share my experience to make the process easier.
>
>Thanks,
>Hema
>
>On Sat, 27 Nov 2004 12:26:14 -0500, Ron Wheeler
><rw...@artifact-software.com> wrote:
>
>
>>In getting started with Jetspeed, I am trying to follow the instructions
>>on
>>http://portals.apache.org/jetspeed-2/mail-lists.html
>>fairly literally to see how clear they really are to a new person.
>>
>>I have Apache and Tomcat working at the start of the process.
>>
>>Problem 1) The instructions do not describe how to download Jetspeed or
>>even mention the need to do this. Am I supposed to have downloaded it
>>before I got here or am I supposed to download it through Maven between
>>step 1 and 2.?
>>
>>Problem 2) What is USER_HOME in a Windows 2000 environment.
>> A windows use would expect this to be C:\Documents and
>>Settings\rwheeler\My Documents but I am not sure if that makes any sense
>>in the context of a Tomcat server.
>>It needs explaining for either windows or Linux.
>>
>>I hope that these comments lead to a better set of instructions that
>>make it easy for new users. I will try to document the little issues
>>that I run into. I know that it is hard for someone who completely
>>understands the whole process to put themselves in the shoes of a new
>>system administrator who has never seen the software before. It is easy
>>to forget to mention something that seems so obvious once you have done
>>it successfully.
>>
>>Ron
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>>
>>
>>
>>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Getting Started
Posted by Hema Menon <me...@gmail.com>.
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:anoncvs@cvs.apache.org:/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.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
What's it now?
Here's the answer
http://www.mail-archive.com/jetspeed-dev@jakarta.apache.org/msg16644.html
Copy all the files and restart Tomcat.
7. Finally, http://localhost:8080/jetspeed is loaded with the new
jetspeed 2 page. Logged in as admin/jetspeed user/password combo.
What?? Invalid username/password?? Why?
With jetspeed2 you need to use user/user or jetspeed/jetspeed as the
user/password combination to login.
Other Known Issues
1. Issues with using JDK versions lower than 1.4.2_02
This bug as reported here
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5012893 is likely
to cause the followin exception java.lang.RuntimeException: Failed to
initialize prefs api. java.lang.InternalError: Can't instantiate
Preferences factory java.lang.ClassNotFoundException:
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl.
Hence you need to have jdk1.4.2_02 or higher.
I am not sure whether you were successful in building Jetspeed 2. But
thought I would share my experience to make the process easier.
Thanks,
Hema
On Sat, 27 Nov 2004 12:26:14 -0500, Ron Wheeler
<rw...@artifact-software.com> wrote:
> In getting started with Jetspeed, I am trying to follow the instructions
> on
> http://portals.apache.org/jetspeed-2/mail-lists.html
> fairly literally to see how clear they really are to a new person.
>
> I have Apache and Tomcat working at the start of the process.
>
> Problem 1) The instructions do not describe how to download Jetspeed or
> even mention the need to do this. Am I supposed to have downloaded it
> before I got here or am I supposed to download it through Maven between
> step 1 and 2.?
>
> Problem 2) What is USER_HOME in a Windows 2000 environment.
> A windows use would expect this to be C:\Documents and
> Settings\rwheeler\My Documents but I am not sure if that makes any sense
> in the context of a Tomcat server.
> It needs explaining for either windows or Linux.
>
> I hope that these comments lead to a better set of instructions that
> make it easy for new users. I will try to document the little issues
> that I run into. I know that it is hard for someone who completely
> understands the whole process to put themselves in the shoes of a new
> system administrator who has never seen the software before. It is easy
> to forget to mention something that seems so obvious once you have done
> it successfully.
>
> Ron
>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hema Menon
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Getting Started
Posted by Ron Wheeler <rw...@artifact-software.com>.
In getting started with Jetspeed, I am trying to follow the instructions
on
http://portals.apache.org/jetspeed-2/mail-lists.html
fairly literally to see how clear they really are to a new person.
I have Apache and Tomcat working at the start of the process.
Problem 1) The instructions do not describe how to download Jetspeed or
even mention the need to do this. Am I supposed to have downloaded it
before I got here or am I supposed to download it through Maven between
step 1 and 2.?
Problem 2) What is USER_HOME in a Windows 2000 environment.
A windows use would expect this to be C:\Documents and
Settings\rwheeler\My Documents but I am not sure if that makes any sense
in the context of a Tomcat server.
It needs explaining for either windows or Linux.
I hope that these comments lead to a better set of instructions that
make it easy for new users. I will try to document the little issues
that I run into. I know that it is hard for someone who completely
understands the whole process to put themselves in the shoes of a new
system administrator who has never seen the software before. It is easy
to forget to mention something that seems so obvious once you have done
it successfully.
Ron
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: What's Happening with Jetspeed-2? A great interview on java.net
Posted by Massimiliano Dessì <de...@yahoo.it>.
I have found on
http://community.java.net/portlet/
I attend
"Jetspeed In Action" to review for jugsardegna and
programmazione.it :-)
David when the book are completed ?
--- Ate Douma <at...@douma.nu> ha scritto:
> An interview given by David Sean Taylor on the new
> Jetspeed-2 to come!
>
> Check it out:
> http://today.java.net/cs/user/print/a/151
>
>
___________________________________
Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica
Scaricalo ora!
http://it.messenger.yahoo.it
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org