Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-4803

Seam2 WAR applications with Boss6 throw javax.naming.NameAlreadyBoundException thrown for TimerServiceDispatcher/local


    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.1.Final
    • Fix Version/s: None
    • Component/s: EJB3
    • Labels:


      I created two application WARs with totally different datasources/persistence contexts. The first one is using persistence but second one is not using persistence.

      My first application has been in production for a month or two. When I tried to implement a second SEAM 2.2.1.Final WAR application a javax.naming.NameAlreadyBoundException was thrown for TimerServiceDispatcher/local stating that local is already bound.

      Both applications were created using the Eclipse "New SEAM Project" wizard and configured as a WAR application rather than an EAR application. (I'm actually using JBoss Developer 4.0).

      I made zero changes to any XML files other than web.xml to define some servlets and configure authentication using JBoss's JAAS container Authentication.

      This error did not happen on my development PC because I don't run multiple applications in the same jboss so there was no conflict between two application both trying to bind the same JNDI names.

      Currently, I am unable to implement a second WAR based application in this environment (Seam 2.2.1.Final on JBoss 6.0.0.Final). I may soon have to downgrade my servers back to version 5.1 until this problem is fixed by someone.


        Gliffy Diagrams


          1. boot.log
            124 kB
          2. server.log
            3 kB



              • Assignee:
                gerry.matte Gerry Matte
              • Votes:
                0 Vote for this issue
                3 Start watching this issue


                • Created: