-
1. Re: problems deploying web application (** NOT FOUND Depends on .....
wolfgangknauf Jun 30, 2011 7:24 AM (in response to shep)Hi Brian,
what kind of object is "com.vocollecthealthcare.yosemite.device.OperatorDatastore"? Is it an EJB?
Did you bound it to a JNDI name which is identical to the class name? Check the JNDIView in JMXConsole: http://geekzguru.wordpress.com/2008/01/22/howto-view-the-jndi-tree-in-jboss/
Best regards
Wolfgang
-
2. Re: problems deploying web application (** NOT FOUND Depends on .....
shep Jun 30, 2011 12:13 PM (in response to wolfgangknauf)No ejbs... That is an interface with bean mappings in a spring context file as are all the problems I am seeing.
<resource-env-ref>
<resource-env-ref-name>operatorDatastore</resource-env-ref-name>
<jndi-name>com.vocollecthealthcare.yosemite.device.OperatorDatastore</jndi-name>
</resource-env-ref>
These resource references are the only configurations I have done. The jndi above is the exact interface and package of the resource ref. Is this not correct? Should my jndi-name above just be the interface without the package?
One other thing, I have multiple references to this resource from different classes so here are the additional references
<resource-env-ref>
<resource-env-ref-name>com.vocollecthealthcare.wc.terminal.HandlerBase/operatorDatastore</resource-env-ref-name>
<jndi-name>com.vocollecthealthcare.yosemite.device.OperatorDatastore</jndi-name>
</resource-env-ref>
<resource-env-ref>
<resource-env-ref-name>com.vocollecthealthcare.yosemite.schedule.PublishTaskStatsAfterShiftJob/operatorDatastore</resource-env-ref-name>
<jndi-name>com.vocollecthealthcare.yosemite.device.OperatorDatastore</jndi-name>
</resource-env-ref>
<resource-env-ref>
<resource-env-ref-name>com.vocollecthealthcare.wc.task.TaskStatsMessageSerializer/operatorDatastore</resource-env-ref-name>
<jndi-name>com.vocollecthealthcare.yosemite.device.OperatorDatastore</jndi-name>
</resource-env-ref>
<resource-env-ref>
<resource-env-ref-name>com.vocollecthealthcare.wc.rest.OperatorResource/operatorDatastore</resource-env-ref-name>
<jndi-name>com.vocollecthealthcare.yosemite.device.OperatorDatastore</jndi-name>
</resource-env-ref>
some history:
We use the @Resourse annotation in some of our classes to point at the interfaces that are mapped in spring. I was originally seeing the "Neither any mapped-name/lookup/jndi-name specified nor any ResourceProvider could process resource-env-ref" message when I tried to deploy. After doing some digging I found something that said I needed to add the references as I noted before, so I did. Now I have hit this issue.
-
3. Re: problems deploying web application (** NOT FOUND Depends on .....
wolfgangknauf Jun 30, 2011 5:08 PM (in response to shep)Hi,
sorry, I don't know Spring, so I cannot help you further. Hopefully, someone else can provide more information, based on the details of your last post.
Best regards
Wolfgang
-
4. Re: problems deploying web application (** NOT FOUND Depends on .....
shep Jul 27, 2011 12:15 PM (in response to shep)Fixed by moving to JBoss AS7