This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

deployment exception  RSS feed

 
sam liya
Ranch Hand
Posts: 1271
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is the error i got


here is my address jsp


here is my web.xml


here is my config.xml

what is this error?
 
nibla jose
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a resource reference given in the web.xml. The server checks whether the jndi reference is there in the server's jndi context while deploying. It seems to me like you are trying to run your first struts app. If so comment the resource reference that you have given in the web.xml.
<resource-env-ref>
<description>
Object factory for MyBean instances.
</description>
<resource-env-ref-name>
bean/MyBeanFactory
</resource-env-ref-name>
<resource-env-ref-type>
com.mycompany.MyBean
</resource-env-ref-type>
</resource-env-ref>


And try deploying again. That might work. But if you really need this. I guess you need to give the EJB reference in the server.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!