I really appreciate everyone's assistance with this.  I believe I solved the
problem with the default Jetspeed install.  Even though the custom
aigportal.xml file said 'crossContext="true"', when I went into the Tomcat
Administration console, I saw that it was reading as false.  I changed the
value to true and committed the changes, and everything is working properly. 
This is after I did a chmod -R 755 for the tomcat directory since it
appeared that a lot of the files did not have full permissions.

Again, thanks to all who have responded.  I'll try deploying my custom
portal with these key points in mind.


MikeCrosby wrote:
> 
> I have a successful deployment of Jetspeed 2.1-dev in a Windows
> environment.  However, I need to move it to Linux.  
> 
> I've installed Tomcat 5.5.20 and used Maven to build the my custom portal. 
> The portal framework comes up fine, however, the login portlet from the
> "j2-admin" WAR that comes with Jetspeed is not loading.  The displayed
> error is:
> 
> Failed to find Servlet context for Portlet Application: /j2-admin
> 
> Looking at the Tomcat logs, there appear to be no exceptions thrown. 
> However, when I go into the logs
> for my custom portal, I see the following in the jetspeed.log file:
> 
> 2007-01-22 09:15:46,923 [http-8080-Processor25] DEBUG
> org.apache.jetspeed.aggregator.impl.PageAggregatorImpl - Rendering portlet
> fragment: [[name, j2-admin::Log inPortlet], [id, dp-12]]
> 2007-01-22 09:15:46,936 [http-8080-Processor25] DEBUG
> org.apache.jetspeed.aggregator.impl.RenderingJobImpl - Rendering OID dp-12
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> 2007-01-22 09:15:46,956 [http-8080-Processor25] ERROR
> org.apache.jetspeed.container.invoker.ServletPortletInvoker - Failed to
> find Servlet context for Portlet Application: /j2-admin
> 2007-01-22 09:15:46,956 [http-8080-Processor25] ERROR
> org.apache.jetspeed.aggregator.impl.RenderingJobImpl - Error rendering
> portlet OID dp-12 javax.portlet.PortletException: Failed to find Servlet
> context for Portlet Application: /j2-admin
> 
> "j2-admin" looks like it has been deployed--the WAR file and directory
> both exist under the webapps directory in Tomcat.
> 
> Can anybody suggest how to troubleshoot this issue?  Tomcat is currently
> being run as a "tomcat" user (not as root), so is it possible it's a
> permissions issue?  Or, does this look more like a config issue?
> 
> Thanks!
> 

-- 
View this message in context: 
http://www.nabble.com/%22j2-admin%22-servlet-context-issue-on-Linux-tf3059100.html#a8572051
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to