JBoss Community

Re: Struggling with injecting singleton in 6.0

created by Robin Hughes in Beginner's Corner - View the full discussion

OK, this is weird but it looks like two instances of my application are getting deployed:

 

14:20:33,517 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@7390509{vfs:///C:/jboss/jboss-6.0.0.Final/server/rbh/deploy/myapp-0.0.1.ear/ejb-0.0.1.jar/}

14:20:33,517 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@7390509{vfs:///C:/jboss/jboss-6.0.0.Final/server/rbh/deploy/myapp-0.0.1.ear/ejb-0.0.1.jar/}

14:20:33,517 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@3192484{vfs:///C:/jboss/jboss-6.0.0.Final/server/rbh/deploy/myapp-0.0.1.ear/servlet-0.0.1.war/}

14:20:33,517 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@3192484{vfs:///C:/jboss/jboss-6.0.0.Final/server/rbh/deploy/myapp-0.0.1.ear/servlet-0.0.1.war/}

 

I am certain I don't have duplicate ears - infact you can see in the message that the full file-paths are identical.

 

See also http://community.jboss.org/thread/164062?tstart=0

 

Any thoughts?

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community