On Sep 24, 2007, at 7:47 AM, Kuru wrote:


Hi,

Sorry I am new to all of this.  I am deploying a web app on jetspeed
locally. I am not sure what is wrong with my setup of jetspeed, it comes up on the browser fine and seems to be working but it does not deploy war files automatically when they are put in to the deploy folder. So this war file did not deploy and I had to do it manually. I also got the psml file for the app and it displays in the browser but when logged in and I go to the tab for the web app, all it shows is a blank box/container. I am not sure what is wrong, I have made all the necessary configurations to the mysql database its fine on that end. This same war file when deployed on the
server, it works fine.  It must be setup/configuration or I am missing
something, I do not know where to even start looking to resolve this issue.
Your help is much appreciated.

My last reply bounced, trying again

Portlet Applications will not automatically  deploy when dropped into
the webapps directory
In order to make this do so, you will need to add the following to
your web.xml:

    <servlet>
     <servlet-name>JetspeedContainer</servlet-name>
     <display-name>Jetspeed Container</display-name>
     <description>MVC Servlet for Jetspeed Portlet Applications</
description>
     <servlet-
class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-
class>
     <init-param>
       <param-name>contextName</param-name>
       <param-value>j2-admin</param-value>
     </init-param>
     <load-on-startup>100</load-on-startup>
    </servlet>

Where the context name is different than "j2-admin" of course

If you want them to deploy automatically without the additions to the
web.xml, drop the war file into jetspeed/WEB-INF/deploy




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

Reply via email to