1 Reply Latest reply on Jul 27, 2010 12:09 PM by jaikiran pai

    Could not deploy: javax.naming.NameAlreadyBoundException: classPathEntries

    VTK VZW Newbie

      Hello,

       

      While migrating our application server from jBoss 4.2 to 5.1 we encountered the following problem:

      Could not deploy vfsfile:/vtk/server/jboss/server/default/deploy/vtk.ear/vtkmail.jar/fop-0.20.5.jar
      javax.naming.NameAlreadyBoundException: classPathEntries

      Our application.xml contains:

      <application>

        <display-name>VTK</display-name>

        <module>
          <web>
            <web-uri>vtk.war</web-uri>
            <context-root>/</context-root>
          </web>
        </module>

        <module>
          <java>vtkmail.jar</java>
        </module>


        <module>
          <ejb>vtkejb.jar</ejb>
        </module>

      </application>

      The vtkmail.jar and vtkejb.jar both contain fop-0.20.5.jar as it is needed by both modules.

      We already tried to fix this issue by placing the fop-0.20.5.jar in the server/default/lib directory, but to no avail.

       

      Any help would be highly appreciated.