3 Replies Latest reply on Apr 27, 2004 1:05 PM by brian1

    deploying EAR from Sun-AppServer to jboss

    gkon8

      I tried deploying an EAR that was running fine on sun's AppServer
      to jboss3.2.3 and jboss4.0DR3 but both failed.
      I have two CMP EJB's so I guess I am missing some xml conf files.
      Is there a quick way to deploy the EAR without going through
      a lot of Documentation?
      Thanx!

        • 1. Re: deploying EAR from Sun-AppServer to jboss
          darranl

          What was the error? Someone might have a quick answer for you.

          Alternatively if you did follow the getting started guide throught you would probably get a much better understanding of how to use JBoss.

          • 2. Re: deploying EAR from Sun-AppServer to jboss
            gkon8

            The error I get is:
            javax.naming.NamingException: ejb-ref: ejb/Ldap, no ejb-link in web.xml and no jndi-name in jboss-web.xml
            Obviously jboss can't find the the jndi name for EJB
            ejb/Ldap. The link exists in the file sun-web.xml. Doesn't jboss read all .xml files in WEB-INF\ ?
            Where should i put the jboss-web.xml ?
            Moreover I get :
            org.jboss.deployment.DeploymentException: Query method not found: findByMaxKey()
            but there is no such function.
            Thanx for your help,
            George

            • 3. Re: deploying EAR from Sun-AppServer to jboss
              brian1

              the link exists in the sun-web.xml or whatever, and that is fine for sun's app server, but jboss like all app servers has its own specific deployment descriptors. You'll need to create those to deploy the app.