2 Replies Latest reply on Apr 8, 2011 3:06 AM by nlsurfman

    Avoid beanshell-scripts (.bsh) deployment

    wosammada

      My application is running in the default environment of
      JBoss Application Server 4.0.3SP1 and contains some beanshell-scripts.
      Because the beanshell-scripts should only be used by the JBoss Application Server as static content (there is a proprietary application, started by an servlet, wich uses these files).
      I removed default/deploy/bsh-deployer.xml and added in the
      default/conf/jboss-service.xml the suffix .bsh for the deployment filter. Nevertheless JBoss-Application-Server-Sub-Deployer tries to deploy the .bsh-files wich are archived in an application-module-jar-file.
      For beanshell I use bsh-2.0b4.jar which is also contained in the application-module-jar-file.
      I started the JBoss-Application-Server once default/lib containing bsh-1.3.0.jar and once default/lib containing
      bsh-2.0b4.jar generating the same error-message:

      22:35:21,683 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- Packages waiting for a deployer ---
      org.jboss.deployment.DeploymentInfo@4de4df11 { url=file:/D:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp27223pepplus-server.jar-contents/library/bsh-2.0b4.jar-contents/bsh/commands/addClassPath.bsh }
      deployer: null
      status: Starting
      state: START_SUBDEPLOYMENTS
      watch: file:/D:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp27223pepplus-server.jar-contents/library/bsh-2.0b4.jar-contents/bsh/commands/addClassPath.bsh
      altDD: null
      lastDeployed: 1172525372490
      lastModified: 1172525374000
      mbeans:

      Are there other possibilities to avoid that the JBoss-Application-Servers Sub Deployer deploys .bsh-files wich are archived in .jar-files of application modules?