You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Andy Bodycombe (JIRA)" <pl...@jakarta.apache.org> on 2005/03/02 11:14:48 UTC

[jira] Created: (PLUTO-110) Deployer removes tags from servlets

Deployer removes <load-on-startup> tags from servlets
-----------------------------------------------------

         Key: PLUTO-110
         URL: http://issues.apache.org/jira/browse/PLUTO-110
     Project: Pluto
        Type: Bug
  Components: deployer  
    Versions: 1.0.1-rc2    
 Environment: Windows XP, Pluto1.0.1-rc2, JDK 5.0, Tomcat 5.5
    Reporter: Andy Bodycombe


I am porting a portal application from Liferay to Pluto.

The Pluto deployer modifies the web.xml file, creating servlet entries for every Portlet defined in the portlet.xml file. However, in my case, the web.xml also contains a couple of pre-existing servlets, one of which has a <load-on-startup> tag, which is removed by the deployer.

I have a work-around, which is to manually add the <load-on-startup> tag back into the web.xml, and then I can put the modified web.xml back into the .war file, and deploy the .war file directly into Tomcat.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (PLUTO-110) Deployer removes tags from servlets

Posted by "David DeWolf (JIRA)" <pl...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/PLUTO-110?page=history ]
     
David DeWolf resolved PLUTO-110:
--------------------------------

    Resolution: Fixed

The old deployer has been deprecated and a new deployer which does not remove elements has been added.

> Deployer removes <load-on-startup> tags from servlets
> -----------------------------------------------------
>
>          Key: PLUTO-110
>          URL: http://issues.apache.org/jira/browse/PLUTO-110
>      Project: Pluto
>         Type: Bug
>   Components: deployer
>     Versions: 1.0.1-rc2
>  Environment: Windows XP, Pluto1.0.1-rc2, JDK 5.0, Tomcat 5.5
>     Reporter: Andy Bodycombe

>
> I am porting a portal application from Liferay to Pluto.
> The Pluto deployer modifies the web.xml file, creating servlet entries for every Portlet defined in the portlet.xml file. However, in my case, the web.xml also contains a couple of pre-existing servlets, one of which has a <load-on-startup> tag, which is removed by the deployer.
> I have a work-around, which is to manually add the <load-on-startup> tag back into the web.xml, and then I can put the modified web.xml back into the .war file, and deploy the .war file directly into Tomcat.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira