5 Replies Latest reply on Nov 17, 2008 6:02 PM by peterj

    Jboss4.2.3GA + jasperServer

      I've tried to start JasperServer inside JBoss but I've this result fro JBoss log:

      ..................
      ..................
      .. (many rows without errors)
      ..................
      ..................
      ..................
      ..................
      DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/MANIFEST.MF
      2008-11-17 22:27:33,687 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/MANIFEST.MF
      2008-11-17 22:27:33,687 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/MANIFEST.MF -> C:\jboss-4.2.3.GA\server\default\tmp\deploy\tmp14441MANIFEST.MF
      2008-11-17 22:27:33,687 DEBUG [org.jboss.deployment.MainDeployer] No deployer found for url: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/MANIFEST.MF
      2008-11-17 22:27:33,687 DEBUG [org.jboss.deployment.MainDeployer] deployment waiting for deployer: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/MANIFEST.MF
      2008-11-17 22:27:33,687 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/MANIFEST.MF
      2008-11-17 22:27:33,687 DEBUG [org.jboss.deployment.MainDeployer] Deployment of package: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/MANIFEST.MF is waiting for an appropriate deployer.
      2008-11-17 22:27:33,687 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/MANIFEST.MF -> file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/MANIFEST.MF
      2008-11-17 22:27:33,703 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/context.xml
      2008-11-17 22:27:33,703 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/context.xml
      2008-11-17 22:27:33,703 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/context.xml -> C:\jboss-4.2.3.GA\server\default\tmp\deploy\tmp14442context.xml
      2008-11-17 22:27:33,703 DEBUG [org.jboss.deployment.MainDeployer] No deployer found for url: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/context.xml
      2008-11-17 22:27:33,703 DEBUG [org.jboss.deployment.MainDeployer] deployment waiting for deployer: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/context.xml
      2008-11-17 22:27:33,703 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/context.xml
      2008-11-17 22:27:33,703 DEBUG [org.jboss.deployment.MainDeployer] Deployment of package: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/context.xml is waiting for an appropriate deployer.
      2008-11-17 22:27:33,703 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/context.xml -> file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/context.xml
      2008-11-17 22:27:33,718 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/foodmartDS-jdbc.xml
      2008-11-17 22:27:33,718 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/foodmartDS-jdbc.xml
      2008-11-17 22:27:33,718 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/foodmartDS-jdbc.xml -> C:\jboss-4.2.3.GA\server\default\tmp\deploy\tmp14443foodmartDS-jdbc.xml
      .......................
      .......................
      (many rows)
      .......................
      .......................
      -11-17 22:27:41,062 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/wcf/wcf.css
      2008-11-17 22:27:41,062 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/wcf/wcf.css
      2008-11-17 22:27:41,062 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/wcf/wcf.css -> C:\jboss-4.2.3.GA\server\default\tmp\deploy\tmp15041wcf.css
      2008-11-17 22:27:41,062 DEBUG [org.jboss.deployment.MainDeployer] No deployer found for url: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/wcf/wcf.css
      2008-11-17 22:27:41,062 DEBUG [org.jboss.deployment.MainDeployer] deployment waiting for deployer: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/wcf/wcf.css
      2008-11-17 22:27:41,062 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/wcf/wcf.css
      2008-11-17 22:27:41,062 DEBUG [org.jboss.deployment.MainDeployer] Deployment of package: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/wcf/wcf.css is waiting for an appropriate deployer.
      2008-11-17 22:27:41,062 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/wcf/wcf.css -> file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/wcf/wcf.css
      2008-11-17 22:27:41,062 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:

      --- Packages waiting for a deployer ---
      org.jboss.deployment.DeploymentInfo@22e0f8b5 { url=file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/MANIFEST.MF }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/MANIFEST.MF
      altDD: null
      lastDeployed: 1226957253687
      lastModified: 1226957253687
      mbeans:

      org.jboss.deployment.DeploymentInfo@8fc44255 { url=file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/context.xml }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/jboss-4.2.3.GA/server/default/deploy/jasperserver/META-INF/context.xml
      altDD: null
      lastDeployed: 1226957253703
      lastModified: 1226957253703
      mbeans:

      ......................................
      ......................................
      ..(many rows)
      ......................................
      ......................................
      2008-11-17 22:28:22,484 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified that enabled: true
      2008-11-17 22:28:22,484 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
      2008-11-17 22:28:22,484 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.deployment:type=DeploymentScanner,flavor=URL dependent components: []
      2008-11-17 22:28:22,562 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: jboss-service.xml
      2008-11-17 22:28:22,562 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jboss-4.2.3.GA/server/default/conf/jboss-service.xml
      2008-11-17 22:28:22,578 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Saw org.jboss.system.server.started notification, starting connectors
      2008-11-17 22:28:22,578 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - first pass <lun, 17 nov 2008 22:28:22>
      2008-11-17 22:28:22,609 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] StatusModule: first pass
      2008-11-17 22:28:22,625 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - TORecoveryModule - first pass
      2008-11-17 22:28:22,625 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass
      2008-11-17 22:28:22,625 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      2008-11-17 22:28:22,750 INFO [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      2008-11-17 22:28:22,875 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 1m:34s:860ms



      Thanks
      Vittorio

        • 1. Re: Jboss4.2.3GA + jasperServer
          peterj

          Try renaming the jasperserver directory to jasperserver.war (is it a WAR?).

          • 2. Re: Jboss4.2.3GA + jasperServer

            Yes, it's a war, but I've renamed it before: I've a jasperserver(dir) AND jasperserver.war, exactly how the JasperServer installation guide says.

            • 3. Re: Jboss4.2.3GA + jasperServer
              peterj

              Are you sure that the install guide did not mean to create an empty jasperserver directory and then place jasperserver.war into it? All files in the jasperserver directory must have extensions that are valid application extensions (WAR, EAR, SAR, *-ds.xml, *-service.xml, etc.), or you will get the error you got.

              • 4. Re: Jboss4.2.3GA + jasperServer

                Yes I'm sure. Here are the instructions (not all, of course) for installing:


                Deploy JasperServer War to the Application Server
                The process for deploying JasperServer into the application server involves “dropping� the War file into the proper directory.
                Copy the WAR file:
                <unpacked-war-dir>/jasperserver.war
                To the following directory:
                <apache-tomcat>/webapps (Tomcat)
                /server/default/deploy (JBoss)


                and

                Expand the Archived War File
                The jasperserver WAR file is “archived" so you cannot directly edit files inside of it. The JasperServer database configuration file is inside the WAR file, so we must "un-archive" the WAR file first. JasperServer runs using this "unarchived" WAR file.
                Un-archive the War File Using the Java “jar� Command
                You can use the following steps to un-archive the WAR file:
                Tomcat and JBoss
                cd <apache-tomcat>/webapps (Tomcat)
                cd /server/default/deploy (JBoss)
                mkdir jasperserver
                cd jasperserver
                jar xvf ../jasperserver.war (x - extract, v - verbose, f - is filename)
                cd ..
                rm –r jasperserver.war or del jasperserver.war (remove the original WAR file)
                JBoss
                mv jasperserver jasperserver.war (add .war to end of dir name)
                copy jasperserver jasperserver.war (same in Windows)

                • 5. Re: Jboss4.2.3GA + jasperServer
                  peterj

                  I assume then that the jasperserver directory is the "unarchived" war file. If that is the case, then rename the jasperserver directory to the jasperserver.war (but first remove the original jasperserver.war file).