This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes deployment exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "deployment exception" Watch "deployment exception" New topic
Author

deployment exception

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1073
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

Joined: May 25, 2009
Posts: 28
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: deployment exception
 
Similar Threads
Deployment issue in Jboss 4.2.2 GA with Axis2 1.4
JBoss 4.2.3 GA start up error - Could not restore ejb timers javax.management.RuntimeMBeanException
can i add two different ds.xml files in jboss
deployment of war file failed in JBOSS
JBoss Server V4.2 NOT getting Started