You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Brian Rowe <pu...@cenozoa.com> on 2004/02/19 21:32:57 UTC

jetspeed deployment best practices

Hello,

After reading the bluesunrise tutorial series and the various jetspeed 
documentation, it seems that Jetspeed is the most mature of the open source 
portals.  I am willing to 'take the plunge' and develop some custom 
components, etc. but am a bit unsure as to what the best practices are for 
developing with Jetspeed.  At this point, I'm mostly interested in how to 
structure the webapp directories and determine which files are necessary.

I only  found one thread discussing this matter (Subject: Trying to split 
Jetspeed and project code, From: Stijn de Witt, Date: 6 Feb. 2004).  
Unfortunately, there wasn't much discussion about the actual structure used.  
Is de Witt's approach a good one, or are there some other mature Jetspeed 
developers that have a tried and proven methodology?  

I am inclined to use the structure of the bluesunrise tutorials, but there is 
so much extra structure to support the tutorials, that I am uncertain what is 
required and what isn't.  I know as much that the jetspeed classes can be 
dropped in to the WEB-INF/lib, but not sure about what other files are 
necessary.

Thanks,
Brian

-- 
 =====
Brian Rowe (President, Chief Architect)
Cenozoa Corporation
3 East 28th Street, 9th Floor, New York 10016
646 536 3066

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


Re: jetspeed deployment best practice

Posted by scott <sc...@macrisolutions.com>.
I guess I was wrong because I am having problems again.  Here is the info you 
asked for:

jetspeed home: /home/scott/Documents/tutorials/jetspeed/jakarta-jetspeed
catalina home: /opt/jakarta/tomcat

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

# testing 12345
#
# typical settings with source
#
#jetspeed_home=/bluesunrise/apache/jakarta-jetspeed
#catalina_home=/bluesunrise/apache/catalina
jetspeed_home=/home/scott/Documents/tutorials/jetspeed/jakarta-jetspeed
catalina_home=/opt/jakarta/tomcat
portlet_app_name=jportal
company=com.bluesunrise.jportal
jetspeed_jar=/bin/jetspeed-1.5-dev.jar
jetspeed_war=/bin/jetspeed.war
jetspeed_lib=/lib
jetspeed_conf=/webapp/WEB-INF/conf/
#
# typical settings without source
#
# jetspeed_home=/apache/jetspeed-1.4-release-war/jetspeed-1.4
# catalina_home=/apache/catalina
# portlet_app_name=jportal
# company=com.bluesunrise.jportal
# jetspeed_jar=/WEB-INF/lib/jetspeed-1.4.jar
# jetspeed_war=/jetspeed.war
# jetspeed_lib=/WEB-INF/lib
# jetspeed_conf=/WEB-INF/conf/

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

zeus:/home/scott/Documents/tutorials/jetspeed/jportal # /opt/jakarta/
jakarta-ant-1.5.1/bin/ant tutorial-3
Buildfile: build.xml

prepare:

check_om:

om:

check_for_jetspeed_jar:

jar_prepare_error:

compile:

properties:

merge_security:
     [echo]  merge_security required

merge_jrp:
     [echo]  merge_jrp required

merge_trp:
     [echo]  merge_trp required

merge_torque:
     [echo]  merge_torque required

merge_properties:

tutorial-3:
     [copy] Copying 3 files to /home/scott/Documents/tutorials/jetspeed/
jportal/webapp/WEB-INF/conf
     [copy] Copying 1 file to /home/scott/Documents/tutorials/jetspeed/
jportal/webapp/WEB-INF/psml/user/anon/html
     [copy] Copying 1 file to /home/scott/Documents/tutorials/jetspeed/
jportal/webapp/WEB-INF/psml/user/turbine/html

BUILD SUCCESSFUL
Total time: 3 seconds

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

zeus:/home/scott/Documents/tutorials/jetspeed/jportal # /opt/jakarta/
jakarta-ant-1.5.1/bin/ant hotdeploy
Buildfile: build.xml

prepare:
     [copy] Copying 5 files to /home/scott/Documents/tutorials/jetspeed/
jportal/bin

check_om:

om:

check_for_jetspeed_jar:

jar_prepare_error:

compile:

properties:

merge_security:
     [echo]  merge_security required

merge_jrp:
     [echo]  merge_jrp required

merge_trp:
     [echo]  merge_trp required

merge_torque:
     [echo]  merge_torque required

merge_properties:

hotdeploy:
     [copy] Copying 40 files to /opt/jakarta/tomcat/webapps/jportal

BUILD SUCCESSFUL
Total time: 4 seconds


On Sunday 22 February 2004 10:14 am, scott wrote:
> I removed everything and started from scratch again.  Everything seems to
> be working now.  Thanks.
>
> On Sunday 22 February 2004 08:27 am, Stijn de Witt wrote:
> > Can you post the build output?
> > JPortal copies it's source files over the original Jetspeed files, adding
> > any files that aren't there. Probably there is something going wrong
> > there? Can you post your directory structure?
> >
> > -Stijn
> >
> >
> > ----- Original Message -----
> > From: "scott" <sc...@macrisolutions.com>
> > To: "Jetspeed Users List" <je...@jakarta.apache.org>
> > Sent: Saturday, February 21, 2004 6:12 AM
> > Subject: Re: jetspeed deployment best practices
> >
> > > Thanks.
> > > I was able to get jetspeed installed and working.  Now I am having
> >
> > something
> >
> > > weird happen.
> > >
> > > I setup my properties file to point to the proper locations.  I can run
> > > build.sh war and it works fine.  The ant tutorial-1 command worked as
> >
> > well. I
> >
> > > can also run ant deploy from the jportal directory.  However, I
> > > compared
> >
> > the
> >
> > > directories and files , which were deployed to tomcat/webapps/jportal,
> > > to
> >
> > the
> >
> > > to the ones in the jportal source that I use to create the war file (in
> >
> > dev/
> >
> > > jportal/blah-blah).  For some reason the deployed files are different
> > > from the source I used to create the war file with.  They are identical
> > > to the jetspeed deployment.  Therefore, my jetspeed portal and jportal
> > > tutorial
> >
> > are
> >
> > > identical.  None of the changes in the tutorial have taken place in the
> > > deployed jportal tutorial application.  The gif files are not the
> > > proper files from the tutorial either and none of the property files
> > > from the tutorial exist on the deployed app.
> > > What could cause this to happen and how can I fix it?  Thanks.
> > >
> > > On Thursday 19 February 2004 05:33 pm, Stijn de Witt wrote:
> > > > Scott, I've seen your posts and I understand your frustration! If I
> >
> > could
> >
> > > > give you a straight answer I would, but I just don't know how to
> > > > solve
> >
> > your
> >
> > > > particular problems.
> > > >
> > > > I can give you some pointers as to what I have experienced though. I
> >
> > have
> >
> > > > started from scratch about 20 or so times now, and that's probably
> > > > the
> >
> > most
> >
> > > > ever. Getting Jetspeed to work wasn't such a big issue for me, but
> >
> > getting
> >
> > > > it to work with a project structure that I liked, that is something
> > > > entirely different...
> > > >
> > > > Anyway, when I start over, I do the following (assuming a Win2K
> > > > machine, but that shouldn't matter much):
> > > >
> > > > Already installed:
> > > >   J2EE (I think i'm using 1.4.x something...)
> > > >   NetBeans
> > > >
> > > > - Install Jakarta Tomcat (I'm using 5.0.18)
> > > > - Extract jetspeed-1.4-src.zip to my projects folder
> > > > - Move files xalan-2.3.1.jar and xml-apis.jar from jetspeed/lib to
> > > > tomcat/common/endorsed
> > > > - In NetBeans, Mount->Local Directory->jetspeed/src/java
> > > > - In NetBeans, Mount->Local Directory->jetspeed/webapp/WEB-INF/conf
> > > > - In NetBeans, Mount->Archive Files->jetspeed/lib/*.jar
> > > > - In NetBeans, Mount->Archive Files->tomcat/common/endorsed/*.jar
> > > > - In NetBeans, Mount->Local Directory->jetspeed/
> > > > - In Netbeans, collapse the jetspeed/ mounted folder
> > > > - edit project.properties, change lib.dir from ${lib.repo} to lib
> > > > - right-click build.xml ->run target->war (This should build the
> > > > .war) - If tomcat is running, stop it
> > > > - Manually copy jetspeed.war from jetspeed\target to tomcat\webapps
> >
> > (making
> >
> > > > sure any old jetspeed dirs and wars are deleted first)
> > > > - Start tomcat
> > > > - Point your browser to http://localhost:8080/jetspeed
> > > > - Check jetspeed.log in tomcat/webapps/jetspeed/WEB-INF/log for any
> >
> > errors.
> >
> > > > If you get this up and running, try switching to mysql...than try
> > > > adding persistence with OJB...develop your own stuff...etc.
> > > >
> > > > Hope this might help you!
> > > >
> > > > Oh, before I forget. I have some issues with Tomcat. If I am testing
> > > > a jetspeed page, and then rebuild the war, stop tomcat, delete old
> >
> > jetspeed
> >
> > > > dir and war, copy new war and restart tomcat, the first time Apache
> >
> > Jakarta
> >
> > > > Jetspeed Portal startup will often fail. If I then stop tomcat and
> >
> > restart
> >
> > > > it, it does work...So, I'm still looking for a clean build proces.
> > > > But
> >
> > if I
> >
> > > > find it, I will post detailed descriptions!
> > > >
> > > > -Stijn
> > > >
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "scott" <sc...@macrisolutions.com>
> > > > To: "Jetspeed Users List" <je...@jakarta.apache.org>
> > > > Sent: Thursday, February 19, 2004 9:42 PM
> > > > Subject: Re: jetspeed deployment best practices
> > > >
> > > > > Cudos to you being able to get the tutorial to work.  I have been
> >
> > woking
> >
> > > > on
> > > >
> > > > > trying to get them to work for 3 days.  What is the secret?   None
> > > > > of
> >
> > my
> >
> > > > > changes take place when I redeploy the app for some reason.
> > > > >
> > > > > On Thursday 19 February 2004 03:32 pm, Brian Rowe wrote:
> > > > > > Hello,
> > > > > >
> > > > > > After reading the bluesunrise tutorial series and the various
> >
> > jetspeed
> >
> > > > > > documentation, it seems that Jetspeed is the most mature of the
> > > > > > open
> > > >
> > > > source
> > > >
> > > > > > portals.  I am willing to 'take the plunge' and develop some
> > > > > > custom components, etc. but am a bit unsure as to what the best
> > > > > > practices
> >
> > are
> >
> > > > for
> > > >
> > > > > > developing with Jetspeed.  At this point, I'm mostly interested
> > > > > > in
> >
> > how
> >
> > > > to
> > > >
> > > > > > structure the webapp directories and determine which files are
> > > >
> > > > necessary.
> > > >
> > > > > > I only  found one thread discussing this matter (Subject: Trying
> > > > > > to
> > > >
> > > > split
> > > >
> > > > > > Jetspeed and project code, From: Stijn de Witt, Date: 6 Feb.
> > > > > > 2004). Unfortunately, there wasn't much discussion about the
> > > > > > actual
> >
> > structure
> >
> > > > > > used. Is de Witt's approach a good one, or are there some other
> >
> > mature
> >
> > > > > > Jetspeed developers that have a tried and proven methodology?
> > > > > >
> > > > > > I am inclined to use the structure of the bluesunrise tutorials,
> > > > > > but
> > > >
> > > > there
> > > >
> > > > > > is so much extra structure to support the tutorials, that I am
> > > > > > uncertain what is required and what isn't.  I know as much that
> > > > > > the jetspeed
> > > >
> > > > classes
> > > >
> > > > > > can be dropped in to the WEB-INF/lib, but not sure about what
> > > > > > other
> > > >
> > > > files
> > > >
> > > > > > are necessary.
> > > > > >
> > > > > > Thanks,
> > > > > > Brian
> > > > >
> > > > > --
> > > > > Scott A. Macri
> > > > > Software Engineer/Director
> > > > > Macri Solutions, LLC
> > > > >
> > > > >
> > > > >
> > > > > -------------------------------------------------------------------
> > > > >-- 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
> > >
> > > --
> > > Scott A. Macri
> > > Software Engineer/Director
> > > Macri Solutions, LLC
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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

-- 
Scott A. Macri
Software Engineer/Director
Macri Solutions, LLC



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


Re: jetspeed deployment best practices

Posted by scott <sc...@macrisolutions.com>.
I removed everything and started from scratch again.  Everything seems to be 
working now.  Thanks.

On Sunday 22 February 2004 08:27 am, Stijn de Witt wrote:
> Can you post the build output?
> JPortal copies it's source files over the original Jetspeed files, adding
> any files that aren't there. Probably there is something going wrong there?
> Can you post your directory structure?
>
> -Stijn
>
>
> ----- Original Message -----
> From: "scott" <sc...@macrisolutions.com>
> To: "Jetspeed Users List" <je...@jakarta.apache.org>
> Sent: Saturday, February 21, 2004 6:12 AM
> Subject: Re: jetspeed deployment best practices
>
> > Thanks.
> > I was able to get jetspeed installed and working.  Now I am having
>
> something
>
> > weird happen.
> >
> > I setup my properties file to point to the proper locations.  I can run
> > build.sh war and it works fine.  The ant tutorial-1 command worked as
>
> well. I
>
> > can also run ant deploy from the jportal directory.  However, I compared
>
> the
>
> > directories and files , which were deployed to tomcat/webapps/jportal, to
>
> the
>
> > to the ones in the jportal source that I use to create the war file (in
>
> dev/
>
> > jportal/blah-blah).  For some reason the deployed files are different
> > from the source I used to create the war file with.  They are identical
> > to the jetspeed deployment.  Therefore, my jetspeed portal and jportal
> > tutorial
>
> are
>
> > identical.  None of the changes in the tutorial have taken place in the
> > deployed jportal tutorial application.  The gif files are not the proper
> > files from the tutorial either and none of the property files from the
> > tutorial exist on the deployed app.
> > What could cause this to happen and how can I fix it?  Thanks.
> >
> > On Thursday 19 February 2004 05:33 pm, Stijn de Witt wrote:
> > > Scott, I've seen your posts and I understand your frustration! If I
>
> could
>
> > > give you a straight answer I would, but I just don't know how to solve
>
> your
>
> > > particular problems.
> > >
> > > I can give you some pointers as to what I have experienced though. I
>
> have
>
> > > started from scratch about 20 or so times now, and that's probably the
>
> most
>
> > > ever. Getting Jetspeed to work wasn't such a big issue for me, but
>
> getting
>
> > > it to work with a project structure that I liked, that is something
> > > entirely different...
> > >
> > > Anyway, when I start over, I do the following (assuming a Win2K
> > > machine, but that shouldn't matter much):
> > >
> > > Already installed:
> > >   J2EE (I think i'm using 1.4.x something...)
> > >   NetBeans
> > >
> > > - Install Jakarta Tomcat (I'm using 5.0.18)
> > > - Extract jetspeed-1.4-src.zip to my projects folder
> > > - Move files xalan-2.3.1.jar and xml-apis.jar from jetspeed/lib to
> > > tomcat/common/endorsed
> > > - In NetBeans, Mount->Local Directory->jetspeed/src/java
> > > - In NetBeans, Mount->Local Directory->jetspeed/webapp/WEB-INF/conf
> > > - In NetBeans, Mount->Archive Files->jetspeed/lib/*.jar
> > > - In NetBeans, Mount->Archive Files->tomcat/common/endorsed/*.jar
> > > - In NetBeans, Mount->Local Directory->jetspeed/
> > > - In Netbeans, collapse the jetspeed/ mounted folder
> > > - edit project.properties, change lib.dir from ${lib.repo} to lib
> > > - right-click build.xml ->run target->war (This should build the .war)
> > > - If tomcat is running, stop it
> > > - Manually copy jetspeed.war from jetspeed\target to tomcat\webapps
>
> (making
>
> > > sure any old jetspeed dirs and wars are deleted first)
> > > - Start tomcat
> > > - Point your browser to http://localhost:8080/jetspeed
> > > - Check jetspeed.log in tomcat/webapps/jetspeed/WEB-INF/log for any
>
> errors.
>
> > > If you get this up and running, try switching to mysql...than try
> > > adding persistence with OJB...develop your own stuff...etc.
> > >
> > > Hope this might help you!
> > >
> > > Oh, before I forget. I have some issues with Tomcat. If I am testing a
> > > jetspeed page, and then rebuild the war, stop tomcat, delete old
>
> jetspeed
>
> > > dir and war, copy new war and restart tomcat, the first time Apache
>
> Jakarta
>
> > > Jetspeed Portal startup will often fail. If I then stop tomcat and
>
> restart
>
> > > it, it does work...So, I'm still looking for a clean build proces. But
>
> if I
>
> > > find it, I will post detailed descriptions!
> > >
> > > -Stijn
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "scott" <sc...@macrisolutions.com>
> > > To: "Jetspeed Users List" <je...@jakarta.apache.org>
> > > Sent: Thursday, February 19, 2004 9:42 PM
> > > Subject: Re: jetspeed deployment best practices
> > >
> > > > Cudos to you being able to get the tutorial to work.  I have been
>
> woking
>
> > > on
> > >
> > > > trying to get them to work for 3 days.  What is the secret?   None of
>
> my
>
> > > > changes take place when I redeploy the app for some reason.
> > > >
> > > > On Thursday 19 February 2004 03:32 pm, Brian Rowe wrote:
> > > > > Hello,
> > > > >
> > > > > After reading the bluesunrise tutorial series and the various
>
> jetspeed
>
> > > > > documentation, it seems that Jetspeed is the most mature of the
> > > > > open
> > >
> > > source
> > >
> > > > > portals.  I am willing to 'take the plunge' and develop some custom
> > > > > components, etc. but am a bit unsure as to what the best practices
>
> are
>
> > > for
> > >
> > > > > developing with Jetspeed.  At this point, I'm mostly interested in
>
> how
>
> > > to
> > >
> > > > > structure the webapp directories and determine which files are
> > >
> > > necessary.
> > >
> > > > > I only  found one thread discussing this matter (Subject: Trying to
> > >
> > > split
> > >
> > > > > Jetspeed and project code, From: Stijn de Witt, Date: 6 Feb. 2004).
> > > > > Unfortunately, there wasn't much discussion about the actual
>
> structure
>
> > > > > used. Is de Witt's approach a good one, or are there some other
>
> mature
>
> > > > > Jetspeed developers that have a tried and proven methodology?
> > > > >
> > > > > I am inclined to use the structure of the bluesunrise tutorials,
> > > > > but
> > >
> > > there
> > >
> > > > > is so much extra structure to support the tutorials, that I am
> > > > > uncertain what is required and what isn't.  I know as much that the
> > > > > jetspeed
> > >
> > > classes
> > >
> > > > > can be dropped in to the WEB-INF/lib, but not sure about what other
> > >
> > > files
> > >
> > > > > are necessary.
> > > > >
> > > > > Thanks,
> > > > > Brian
> > > >
> > > > --
> > > > Scott A. Macri
> > > > Software Engineer/Director
> > > > Macri Solutions, LLC
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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
> >
> > --
> > Scott A. Macri
> > Software Engineer/Director
> > Macri Solutions, LLC
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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

-- 
Scott A. Macri
Software Engineer/Director
Macri Solutions, LLC



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


Re: jetspeed deployment best practices

Posted by Stijn de Witt <St...@chello.nl>.
Can you post the build output?
JPortal copies it's source files over the original Jetspeed files, adding
any files that aren't there. Probably there is something going wrong there?
Can you post your directory structure?

-Stijn


----- Original Message -----
From: "scott" <sc...@macrisolutions.com>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Saturday, February 21, 2004 6:12 AM
Subject: Re: jetspeed deployment best practices


> Thanks.
> I was able to get jetspeed installed and working.  Now I am having
something
> weird happen.
>
> I setup my properties file to point to the proper locations.  I can run
> build.sh war and it works fine.  The ant tutorial-1 command worked as
well. I
> can also run ant deploy from the jportal directory.  However, I compared
the
> directories and files , which were deployed to tomcat/webapps/jportal, to
the
> to the ones in the jportal source that I use to create the war file (in
dev/
> jportal/blah-blah).  For some reason the deployed files are different from
> the source I used to create the war file with.  They are identical to the
> jetspeed deployment.  Therefore, my jetspeed portal and jportal tutorial
are
> identical.  None of the changes in the tutorial have taken place in the
> deployed jportal tutorial application.  The gif files are not the proper
> files from the tutorial either and none of the property files from the
> tutorial exist on the deployed app.
> What could cause this to happen and how can I fix it?  Thanks.
>
> On Thursday 19 February 2004 05:33 pm, Stijn de Witt wrote:
> > Scott, I've seen your posts and I understand your frustration! If I
could
> > give you a straight answer I would, but I just don't know how to solve
your
> > particular problems.
> >
> > I can give you some pointers as to what I have experienced though. I
have
> > started from scratch about 20 or so times now, and that's probably the
most
> > ever. Getting Jetspeed to work wasn't such a big issue for me, but
getting
> > it to work with a project structure that I liked, that is something
> > entirely different...
> >
> > Anyway, when I start over, I do the following (assuming a Win2K machine,
> > but that shouldn't matter much):
> >
> > Already installed:
> >   J2EE (I think i'm using 1.4.x something...)
> >   NetBeans
> >
> > - Install Jakarta Tomcat (I'm using 5.0.18)
> > - Extract jetspeed-1.4-src.zip to my projects folder
> > - Move files xalan-2.3.1.jar and xml-apis.jar from jetspeed/lib to
> > tomcat/common/endorsed
> > - In NetBeans, Mount->Local Directory->jetspeed/src/java
> > - In NetBeans, Mount->Local Directory->jetspeed/webapp/WEB-INF/conf
> > - In NetBeans, Mount->Archive Files->jetspeed/lib/*.jar
> > - In NetBeans, Mount->Archive Files->tomcat/common/endorsed/*.jar
> > - In NetBeans, Mount->Local Directory->jetspeed/
> > - In Netbeans, collapse the jetspeed/ mounted folder
> > - edit project.properties, change lib.dir from ${lib.repo} to lib
> > - right-click build.xml ->run target->war (This should build the .war)
> > - If tomcat is running, stop it
> > - Manually copy jetspeed.war from jetspeed\target to tomcat\webapps
(making
> > sure any old jetspeed dirs and wars are deleted first)
> > - Start tomcat
> > - Point your browser to http://localhost:8080/jetspeed
> > - Check jetspeed.log in tomcat/webapps/jetspeed/WEB-INF/log for any
errors.
> >
> > If you get this up and running, try switching to mysql...than try adding
> > persistence with OJB...develop your own stuff...etc.
> >
> > Hope this might help you!
> >
> > Oh, before I forget. I have some issues with Tomcat. If I am testing a
> > jetspeed page, and then rebuild the war, stop tomcat, delete old
jetspeed
> > dir and war, copy new war and restart tomcat, the first time Apache
Jakarta
> > Jetspeed Portal startup will often fail. If I then stop tomcat and
restart
> > it, it does work...So, I'm still looking for a clean build proces. But
if I
> > find it, I will post detailed descriptions!
> >
> > -Stijn
> >
> >
> >
> > ----- Original Message -----
> > From: "scott" <sc...@macrisolutions.com>
> > To: "Jetspeed Users List" <je...@jakarta.apache.org>
> > Sent: Thursday, February 19, 2004 9:42 PM
> > Subject: Re: jetspeed deployment best practices
> >
> > > Cudos to you being able to get the tutorial to work.  I have been
woking
> >
> > on
> >
> > > trying to get them to work for 3 days.  What is the secret?   None of
my
> > > changes take place when I redeploy the app for some reason.
> > >
> > > On Thursday 19 February 2004 03:32 pm, Brian Rowe wrote:
> > > > Hello,
> > > >
> > > > After reading the bluesunrise tutorial series and the various
jetspeed
> > > > documentation, it seems that Jetspeed is the most mature of the open
> >
> > source
> >
> > > > portals.  I am willing to 'take the plunge' and develop some custom
> > > > components, etc. but am a bit unsure as to what the best practices
are
> >
> > for
> >
> > > > developing with Jetspeed.  At this point, I'm mostly interested in
how
> >
> > to
> >
> > > > structure the webapp directories and determine which files are
> >
> > necessary.
> >
> > > > I only  found one thread discussing this matter (Subject: Trying to
> >
> > split
> >
> > > > Jetspeed and project code, From: Stijn de Witt, Date: 6 Feb. 2004).
> > > > Unfortunately, there wasn't much discussion about the actual
structure
> > > > used. Is de Witt's approach a good one, or are there some other
mature
> > > > Jetspeed developers that have a tried and proven methodology?
> > > >
> > > > I am inclined to use the structure of the bluesunrise tutorials, but
> >
> > there
> >
> > > > is so much extra structure to support the tutorials, that I am
> > > > uncertain what is required and what isn't.  I know as much that the
> > > > jetspeed
> >
> > classes
> >
> > > > can be dropped in to the WEB-INF/lib, but not sure about what other
> >
> > files
> >
> > > > are necessary.
> > > >
> > > > Thanks,
> > > > Brian
> > >
> > > --
> > > Scott A. Macri
> > > Software Engineer/Director
> > > Macri Solutions, LLC
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
>
> --
> Scott A. Macri
> Software Engineer/Director
> Macri Solutions, LLC
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>


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


Re: jetspeed deployment best practices

Posted by scott <sc...@macrisolutions.com>.
Thanks.  
I was able to get jetspeed installed and working.  Now I am having something 
weird happen.

I setup my properties file to point to the proper locations.  I can run 
build.sh war and it works fine.  The ant tutorial-1 command worked as well. I 
can also run ant deploy from the jportal directory.  However, I compared the 
directories and files , which were deployed to tomcat/webapps/jportal, to the 
to the ones in the jportal source that I use to create the war file (in dev/
jportal/blah-blah).  For some reason the deployed files are different from 
the source I used to create the war file with.  They are identical to the 
jetspeed deployment.  Therefore, my jetspeed portal and jportal tutorial are 
identical.  None of the changes in the tutorial have taken place in the 
deployed jportal tutorial application.  The gif files are not the proper 
files from the tutorial either and none of the property files from the 
tutorial exist on the deployed app. 
What could cause this to happen and how can I fix it?  Thanks.

On Thursday 19 February 2004 05:33 pm, Stijn de Witt wrote:
> Scott, I've seen your posts and I understand your frustration! If I could
> give you a straight answer I would, but I just don't know how to solve your
> particular problems.
>
> I can give you some pointers as to what I have experienced though. I have
> started from scratch about 20 or so times now, and that's probably the most
> ever. Getting Jetspeed to work wasn't such a big issue for me, but getting
> it to work with a project structure that I liked, that is something
> entirely different...
>
> Anyway, when I start over, I do the following (assuming a Win2K machine,
> but that shouldn't matter much):
>
> Already installed:
>   J2EE (I think i'm using 1.4.x something...)
>   NetBeans
>
> - Install Jakarta Tomcat (I'm using 5.0.18)
> - Extract jetspeed-1.4-src.zip to my projects folder
> - Move files xalan-2.3.1.jar and xml-apis.jar from jetspeed/lib to
> tomcat/common/endorsed
> - In NetBeans, Mount->Local Directory->jetspeed/src/java
> - In NetBeans, Mount->Local Directory->jetspeed/webapp/WEB-INF/conf
> - In NetBeans, Mount->Archive Files->jetspeed/lib/*.jar
> - In NetBeans, Mount->Archive Files->tomcat/common/endorsed/*.jar
> - In NetBeans, Mount->Local Directory->jetspeed/
> - In Netbeans, collapse the jetspeed/ mounted folder
> - edit project.properties, change lib.dir from ${lib.repo} to lib
> - right-click build.xml ->run target->war (This should build the .war)
> - If tomcat is running, stop it
> - Manually copy jetspeed.war from jetspeed\target to tomcat\webapps (making
> sure any old jetspeed dirs and wars are deleted first)
> - Start tomcat
> - Point your browser to http://localhost:8080/jetspeed
> - Check jetspeed.log in tomcat/webapps/jetspeed/WEB-INF/log for any errors.
>
> If you get this up and running, try switching to mysql...than try adding
> persistence with OJB...develop your own stuff...etc.
>
> Hope this might help you!
>
> Oh, before I forget. I have some issues with Tomcat. If I am testing a
> jetspeed page, and then rebuild the war, stop tomcat, delete old jetspeed
> dir and war, copy new war and restart tomcat, the first time Apache Jakarta
> Jetspeed Portal startup will often fail. If I then stop tomcat and restart
> it, it does work...So, I'm still looking for a clean build proces. But if I
> find it, I will post detailed descriptions!
>
> -Stijn
>
>
>
> ----- Original Message -----
> From: "scott" <sc...@macrisolutions.com>
> To: "Jetspeed Users List" <je...@jakarta.apache.org>
> Sent: Thursday, February 19, 2004 9:42 PM
> Subject: Re: jetspeed deployment best practices
>
> > Cudos to you being able to get the tutorial to work.  I have been woking
>
> on
>
> > trying to get them to work for 3 days.  What is the secret?   None of my
> > changes take place when I redeploy the app for some reason.
> >
> > On Thursday 19 February 2004 03:32 pm, Brian Rowe wrote:
> > > Hello,
> > >
> > > After reading the bluesunrise tutorial series and the various jetspeed
> > > documentation, it seems that Jetspeed is the most mature of the open
>
> source
>
> > > portals.  I am willing to 'take the plunge' and develop some custom
> > > components, etc. but am a bit unsure as to what the best practices are
>
> for
>
> > > developing with Jetspeed.  At this point, I'm mostly interested in how
>
> to
>
> > > structure the webapp directories and determine which files are
>
> necessary.
>
> > > I only  found one thread discussing this matter (Subject: Trying to
>
> split
>
> > > Jetspeed and project code, From: Stijn de Witt, Date: 6 Feb. 2004).
> > > Unfortunately, there wasn't much discussion about the actual structure
> > > used. Is de Witt's approach a good one, or are there some other mature
> > > Jetspeed developers that have a tried and proven methodology?
> > >
> > > I am inclined to use the structure of the bluesunrise tutorials, but
>
> there
>
> > > is so much extra structure to support the tutorials, that I am
> > > uncertain what is required and what isn't.  I know as much that the
> > > jetspeed
>
> classes
>
> > > can be dropped in to the WEB-INF/lib, but not sure about what other
>
> files
>
> > > are necessary.
> > >
> > > Thanks,
> > > Brian
> >
> > --
> > Scott A. Macri
> > Software Engineer/Director
> > Macri Solutions, LLC
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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

-- 
Scott A. Macri
Software Engineer/Director
Macri Solutions, LLC



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


Re: jetspeed deployment best practices

Posted by Stijn de Witt <St...@chello.nl>.
Scott, I've seen your posts and I understand your frustration! If I could
give you a straight answer I would, but I just don't know how to solve your
particular problems.

I can give you some pointers as to what I have experienced though. I have
started from scratch about 20 or so times now, and that's probably the most
ever. Getting Jetspeed to work wasn't such a big issue for me, but getting
it to work with a project structure that I liked, that is something entirely
different...

Anyway, when I start over, I do the following (assuming a Win2K machine, but
that shouldn't matter much):

Already installed:
  J2EE (I think i'm using 1.4.x something...)
  NetBeans

- Install Jakarta Tomcat (I'm using 5.0.18)
- Extract jetspeed-1.4-src.zip to my projects folder
- Move files xalan-2.3.1.jar and xml-apis.jar from jetspeed/lib to
tomcat/common/endorsed
- In NetBeans, Mount->Local Directory->jetspeed/src/java
- In NetBeans, Mount->Local Directory->jetspeed/webapp/WEB-INF/conf
- In NetBeans, Mount->Archive Files->jetspeed/lib/*.jar
- In NetBeans, Mount->Archive Files->tomcat/common/endorsed/*.jar
- In NetBeans, Mount->Local Directory->jetspeed/
- In Netbeans, collapse the jetspeed/ mounted folder
- edit project.properties, change lib.dir from ${lib.repo} to lib
- right-click build.xml ->run target->war (This should build the .war)
- If tomcat is running, stop it
- Manually copy jetspeed.war from jetspeed\target to tomcat\webapps (making
sure any old jetspeed dirs and wars are deleted first)
- Start tomcat
- Point your browser to http://localhost:8080/jetspeed
- Check jetspeed.log in tomcat/webapps/jetspeed/WEB-INF/log for any errors.

If you get this up and running, try switching to mysql...than try adding
persistence with OJB...develop your own stuff...etc.

Hope this might help you!

Oh, before I forget. I have some issues with Tomcat. If I am testing a
jetspeed page, and then rebuild the war, stop tomcat, delete old jetspeed
dir and war, copy new war and restart tomcat, the first time Apache Jakarta
Jetspeed Portal startup will often fail. If I then stop tomcat and restart
it, it does work...So, I'm still looking for a clean build proces. But if I
find it, I will post detailed descriptions!

-Stijn



----- Original Message -----
From: "scott" <sc...@macrisolutions.com>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Thursday, February 19, 2004 9:42 PM
Subject: Re: jetspeed deployment best practices


> Cudos to you being able to get the tutorial to work.  I have been woking
on
> trying to get them to work for 3 days.  What is the secret?   None of my
> changes take place when I redeploy the app for some reason.
>
> On Thursday 19 February 2004 03:32 pm, Brian Rowe wrote:
> > Hello,
> >
> > After reading the bluesunrise tutorial series and the various jetspeed
> > documentation, it seems that Jetspeed is the most mature of the open
source
> > portals.  I am willing to 'take the plunge' and develop some custom
> > components, etc. but am a bit unsure as to what the best practices are
for
> > developing with Jetspeed.  At this point, I'm mostly interested in how
to
> > structure the webapp directories and determine which files are
necessary.
> >
> > I only  found one thread discussing this matter (Subject: Trying to
split
> > Jetspeed and project code, From: Stijn de Witt, Date: 6 Feb. 2004).
> > Unfortunately, there wasn't much discussion about the actual structure
> > used. Is de Witt's approach a good one, or are there some other mature
> > Jetspeed developers that have a tried and proven methodology?
> >
> > I am inclined to use the structure of the bluesunrise tutorials, but
there
> > is so much extra structure to support the tutorials, that I am uncertain
> > what is required and what isn't.  I know as much that the jetspeed
classes
> > can be dropped in to the WEB-INF/lib, but not sure about what other
files
> > are necessary.
> >
> > Thanks,
> > Brian
>
> --
> Scott A. Macri
> Software Engineer/Director
> Macri Solutions, LLC
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>


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


Re: jetspeed deployment best practices

Posted by Brian Rowe <pu...@cenozoa.com>.
There's always a bit of magic in getting these types of things to work.  It's 
really the lack of current documentation that makes it difficult to get 
running with projects quickly.  I have a few notes posted on my wiki that 
might help.  

  http://kb.muxspace.com/index.cgi/JetspeedNotes

The pages are being updated often as I get my foot deeper into Jetspeed, with 
the goal of having a reasonable development guide/tutorial at the other end.  
Hope it helps.

Regards,
Brian

On Thursday 19 February 2004 03:42 pm, scott wrote:
> Cudos to you being able to get the tutorial to work.  I have been woking on
> trying to get them to work for 3 days.  What is the secret?   None of my
> changes take place when I redeploy the app for some reason.

-- 
 =====
Brian Rowe (President, Chief Architect)
Cenozoa Corporation
3 East 28th Street, 9th Floor, New York 10016
646 536 3066

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


Re: jetspeed deployment best practices

Posted by scott <sc...@macrisolutions.com>.
Cudos to you being able to get the tutorial to work.  I have been woking on 
trying to get them to work for 3 days.  What is the secret?   None of my 
changes take place when I redeploy the app for some reason.

On Thursday 19 February 2004 03:32 pm, Brian Rowe wrote:
> Hello,
>
> After reading the bluesunrise tutorial series and the various jetspeed
> documentation, it seems that Jetspeed is the most mature of the open source
> portals.  I am willing to 'take the plunge' and develop some custom
> components, etc. but am a bit unsure as to what the best practices are for
> developing with Jetspeed.  At this point, I'm mostly interested in how to
> structure the webapp directories and determine which files are necessary.
>
> I only  found one thread discussing this matter (Subject: Trying to split
> Jetspeed and project code, From: Stijn de Witt, Date: 6 Feb. 2004).
> Unfortunately, there wasn't much discussion about the actual structure
> used. Is de Witt's approach a good one, or are there some other mature
> Jetspeed developers that have a tried and proven methodology?
>
> I am inclined to use the structure of the bluesunrise tutorials, but there
> is so much extra structure to support the tutorials, that I am uncertain
> what is required and what isn't.  I know as much that the jetspeed classes
> can be dropped in to the WEB-INF/lib, but not sure about what other files
> are necessary.
>
> Thanks,
> Brian

-- 
Scott A. Macri
Software Engineer/Director
Macri Solutions, LLC



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