0 Replies Latest reply on Jun 24, 2005 6:58 AM by simon

    v3.2.3 vs v3.2.4 and web.xml

    simon Newbie

      hi - ive done Google searches and looked through the WIKI. Perhaps soneone here can guide me.

      This deployment works on v3.2.3, but not on 3.2.4 - I'm trying to get up to 4.0.2

      <?xml version="1.0" encoding="UTF-8"?>
      
      <!DOCTYPE jboss-web
       PUBLIC "-//JBoss//DTD Web Application 2.3//EN"
       "http://www.jboss.org/j2ee/dtds/jboss-web_3_0.dtd">
      
      
      <jboss-web>
       <resource-ref>
       <res-ref-name>jdbc/assetwavedam</res-ref-name>
       <res-type>javax.sql.DataSource</res-type>
       <jndi-name>java:/assetwavedam_intersport</jndi-name>
       </resource-ref>
       <resource-ref>
       <res-ref-name>jdbc/BulletDB</res-ref-name>
       <res-type>javax.sql.DataSource</res-type>
       <jndi-name>java:/IntersportBulletDB</jndi-name>
       </resource-ref>
       <context-root>/assetwave-intersport</context-root>
       <virtual-host>localhost:8080</virtual-host>
      </jboss-web>
      


      when using v3.2.4 I get this is the server.log
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.MalformedObjectNameException: jboss.web:j2eeType=WebModule,name=//localhost:8080/assetwave-intersport,J2EEApplication=none,J2EEServer=none is not a valid ObjectName. The value //localhost:8080/assetwave-intersport cannot contain : use quote backslash : quote or ObjectName.quote(String))
       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:315)
      


      I've looked in the changes docs for these two versions and cant see any obvious mention of this change.
      I'm assuming that I need to change the virtual-hosty entry to
      <virtual-host>localhost\:8080</virtual-host> but cant see how the quotes fit in.

      Any pointers appreciated.