This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
hello i m getting the following error while deploying my portlet can you suggest me what can be wrong?
Build failed due to An exception occurred while running the command. The exception message is: Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- Failed to load deployment descriptor for: ipsp-tiptAmc-ejb [ipsp-deploy] cause: Error creating sun specific cmp-mappings xml graph
What the heck are EJBs doing in your Portlet project?
My assumption is that you have an EAR that contains a web module (your portlet) and an EJB module(something else), and they're somehow getting deployed together.
A special process is run on EJBs to generate container specific bindings. That's what's kicking out the error. Can't see how that is portlet related.
Let me know!
Joined: May 06, 2006
hey its my 1st project including ejb n portlet n all so obviously i would not b able to figure out the error!!! i got that the error is related to cmp-mappings.xml or sun-ejb-jar.xml but could not get what exactly is the error!!!as cmp-mappings contains database related mappings only!!
Cameron Wallace McKenzie
author and cow tipper
Sorry, I didn't mean to come off as being curt or snide. Message posts can so lack the appropriate emotion.
I don't do JBoss development, so I can't speak to any packaging best practices in JBoss, but in WebSphere, I tend to develop and package EJB and Portlet applications separately. If there's no really compelling reason to have EJBs and a Portlet application in the same EAR, then I'd separate them and develop/troubleshoot them independently. This will help isolate problems from one another.