Thanks for the info Chris. This is a real bummer, kinda need this soon ... like I said, I'm real close to making it work. I'm able to page through the site in my new context and see all my portlet "placeholders", but their content all comes up "Reason: null". I'll keep trying and post to this list if I figure out how to get it done ... this is definately some type of initialization issue.
- Frank -----Original Message----- From: Chris Custine [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 09:17 PM To: Jetspeed Users List Subject: Re: Changing the webapp context on J2 You aren't the only one looking forward to this ;-) This has come up several times on the list in the past few months, but apparently this is not a trivial task, and I believe it currently requires some re-work to the core JS2 codebase. Unless I am mistaken, I don't think this has been fully implemented yet. Chris On Wed, 9 Feb 2005 15:05:31 -0600, Frank Villarreal <[EMAIL PROTECTED]> wrote: > Hello all, > > I feel silly having to ask this, but this simple task hasn't been as > straight-forward as I would like .... > > How do you give Jetspeed2 a new webapp context (instead of the default > "/jetspeed"). > > Here is what I've already tried ... > > 1) renamed "${tomcat_home}/webapps/jetspeed" to > "${tomcat_home}/webapps/mysite" > 2) renamed path & docBase attributes in > "${tomcat_home}\conf\Catalina\localhost\jetspeed.xml" to "/mysite" and > "mysite" respectively ... > 3) renamed the value of the CONTEXT_ROOT field in the "WEB_APPLICATION" > table to "/mysite" for the record previously named "/jetspeed" > 4) renamed the mapping for the jetspeed servlet in > "${tomcat_home}\webapps\mysite\WEB-INF\web.xml" as follows ... > > <servlet-mapping> > <servlet-name>jetspeed</servlet-name> > <url-pattern>/mysite/*</url-pattern> > </servlet-mapping> > > Only after performing all 4 steps above was I able to view the portal in the > "/mysite" context (at least the decorators and layouts) .... BUTTTT ... one > thing is still vomiting on me ... my portlets all render as "Portlet is not > available: null Reason: null" without providing meaningful clues as to why > in the logs (seems my portletDefinition objects are all null) ... hence my > email, does anyone know why??? (Seems like I must be missing a setting > somewhere). > > I'm so close, yet soooo far away .... :-( > > - Frank > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]