1 Reply Latest reply on Feb 6, 2008 2:48 PM by Ryszard Kozmik

    Error during deployment: Content is not allowed in prolog

    Serge Emmanuel Pagop Newbie

      Hi all,

      I want to deploy jboss forums portlet on a jboss portal (2.6.3) server 4.2.x instance with jdk15 and anytimes I got this error:
      If someone already cuts this error, then could you exchange your solution.

      8:55:01,395 INFO [TomcatDeployer] deploy, ctxPath=/portalforums, warUrl=.../deploy/jboss-forums.ear/portal-forums.war/
      18:55:01,634 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
      18:55:01,884 INFO [FacesConfigurator] Reading config jar:file:/usr/local/jboss-portal-2.6.3.GA/server/default/tmp/deploy/tmp51755jsf-facelets.jar!/META-INF/faces-config.xml
      18:55:01,889 INFO [FacesConfigurator] Reading config jar:file:/usr/local/jboss-portal-2.6.3.GA/server/default/tmp/deploy/tmp51760tomahawk.jar!/META-INF/faces-config.xml
      18:55:02,449 INFO [FacesConfigurator] Reading config /WEB-INF/forums-config.xml
      18:55:03,308 INFO [StartupServletContextListener] ServletContext '/usr/local/jboss-portal-2.6.3.GA/server/default/./deploy/jboss-forums.ear/portal-forums.war/' initialized.
      18:55:03,365 INFO [PortletAppDeployment] Parsing /portal-forums/jboss-portlet.xml
      18:55:03,370 ERROR [STDERR] [Fatal Error] :1:1: Content is not allowed in prolog.
      18:55:03,375 ERROR [MainDeployer] Could not start deployment: file:/usr/local/jboss-portal-2.6.3.GA/server/default/deploy/jboss-forums.ear/portal-forums.war/WEB-INF/
      org.jboss.deployment.DeploymentException: Content is not allowed in prolog.; - nested throwable: (org.xml.sax.SAXParseException: Content is not allowed in prolog.) at org.jboss.portal.core.deployment.jboss.ObjectDeployment.start(ObjectDeployment.java:101)
       at org.jboss.portal.server.deployment.jboss.DeploymentContext.start(DeploymentContext.java:99)


      Thanks