1 Reply Latest reply on Nov 17, 2003 3:46 PM by katsteve

    Deploy fails: "no !/ in spec" MalformedURLException

    katsteve

      Deploying single stateless bean.
      Console says:
      ...
      status: FAILED reason: no !/ in spec; - nested throwable (java.net.MalformedURLException)
      ...
      watch: file:/E:/gcgames/jboss/jboss-3.2.2/server/default/deploy/gcgames/gcg-ejb.jar

      ejb.jar:
      <ejb-name>GCGServices</ejb-name>
      <ejb-class>com.gcgames.ejb.GCGServicesBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-ref>
      <ejb-ref-name>GCGServices</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      com.gcgames.ejb.GCGServicesHome
      com.gcgames.ejb.GCGServices
      </ejb-ref>
      <ejb-local-ref>
      <ejb-ref-name>GCGServices</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <local-home> com.gcgames.GCGServicesLocalHome</local-home>
      com.gcgames.GCGServicesLocal
      </ejb-local-ref>

      jboss.xml:

      <ejb-name>GCGServices</ejb-name>
      <jndi-name>ejb/GCGServices</jndi-name>



      What URL could be malformed?

        • 1. Re: Deploy fails: "no !/ in spec" MalformedURLException
          katsteve

          Okay, I did it myself after much torture - the bad URL was the reference to the DTD in the ejb-jar.xml, which was inadvertently local to the development system, and didn't exist on the app server - AAGH!

          Now I'm getting normal Verifier errors due to dependencies within the app itself.

          Perhaps a Forum for "If you see this - do that" to save all of us the research effort.