Hey all, I found hopefully the final missing piece to the puzzle. The openejb-loader-1.0-SNAPSHOT.jar in the repository is bad. If you are trying to deploy moviefun from a CVS build or from the binary, you will not succeed until the repository is fixed. You can copy the biult openejb-loader-1.0-SNAPSHOT.jar form your OPENEJB_HOME/lib into your USER_HOME/.maven/repository/openejb/jars directory and you should be good to go until then. I hope this helps and if you need anything, hit me up.
Take care, Jeremy On 9/29/05, Jeremy Whitlock <[EMAIL PROTECTED]> wrote: > > All, > I have found the problem. I found in the source that OpenEJB was > improperly building the URL to the bean to be deployed. I have tested this > fix but I've not checked it in so I have attached the patch.txt to this to > be applied to CVS. If you are not using CVS to build your OpenEJB, let me > know and I'll create a binary for you until David and I can talk. Take care, > Jeremy > > On 9/29/05, Jeremy Whitlock <[EMAIL PROTECTED] > wrote: > > > > Hey all, > > I hope I don't come of in defensive mode but OpenEJB has been around for > > 6 years and is very stable. Where we are now is that most documentation, > > like the Tomcat book, reference old versions of OpenEJB. A lot has been done > > recently to bring the old 0.9.2 release to snuff so we can release the > > 1.0 final with new features and such. That explains why there is a lot > > of things out there that say things should work when they don't because > > things have changed. As far as the Windows stuff, I have fixed all things > > that I have found. I haven't had a problem building/running OpenEJB on > > Windows since those fixes. As far as the issue with moviefun.war, I > > heard that there are 2 moviefun.war files and that one gets generated > > and one is kept in CVS. I've not verified this. I just got back from BEA > > World and I will help you resolve this. All I need from you is this: > > > > Tomcat Version > > JDK Version > > OS Version > > OpenEJB Version > > Brief description of how you are building/deploying moviefun.war > > > > Please get back to me as soon as you can so we can resolve this. > > > > Take care, > > Jeremy > > > > On 9/29/05, Rajesh Puri <[EMAIL PROTECTED] > wrote: > > > > > > David, > > > > > > Is it suggested to zero out all the paina we have > > > working with this we should switch to UNIX for > > > development? As the issues i have seen only relate on > > > windows per your postings. In our environment we > > > develop on windows, our Tomcat is on Window XP and > > > some IDE also use embedded Tomcat on Windows. This is > > > just a fast > > > way to develop than doing on UNIX. When done we move > > > for Unit test to Tomcat on UNIX. This way it gives > > > better control to developer also - he can really > > > install a personal Tomcat and work on his own. > > > > > > > > > > > > --- David Blevins < [EMAIL PROTECTED]> wrote: > > > > > > > Definitely right. We need more people. To just to > > > > give an idea of > > > > what goes on "behind the scenes" I am sitting in a > > > > server room > > > > surrounded by racks setting up four brand new 1U > > > > servers that I > > > > intend to use tomorrow to run the J2EE test suite on > > > > Geronimo (which > > > > includes OpenEJB) so we can ship Geronio 1.0 M5 on > > > > the day after > > > > (hopefully). If you want a visual, imagine one of > > > > those cartoons > > > > where a character is ridding on a train and > > > > feverishly laying down > > > > train tracks trying to keep ahead of the train. > > > > That's us :) > > > > > > > > Anyone who want's to get involved, please jump in. > > > > We'd love to have > > > > you. If you are willing to help find and fix bugs, > > > > jump on > > > > irc.freenode.net <http://irc.freenode.net> and join channel > > > #openejb. I am > > > > there most of the > > > > time as are a few others. Jeremy Whitlock is a > > > > great example to > > > > follow. He's been camping out on #openejb and I've > > > > been coaching him > > > > through some of the problems people have posted on > > > > the list. He > > > > ended up fixing quite a few, hence all the unstable > > > > builds. > > > > > > > > As far as this bug is concerned, the first thing we > > > > need is some > > > > better exception handing around this code: > > > > > > > > > > > http://cvs.openejb.org/viewrep/openejb/openejb1/modules/core/src/ > > > > > > > > > > > java/org/openejb/loader/TomcatClassPath.java?r= 1.4#l132 > > > > > > > > It should catch the InvocationTargetException, pull > > > > out the cause, > > > > then throw that with a new error message that > > > > includes the name of > > > > the jar that was being added. > > > > > > > > From there we might stand a better chance at > > > > figuring out what is > > > > going wrong. Could be a bad jar somewhere. Not > > > > sure. > > > > > > > > The issue only seems to happen on windows and I am > > > > nowhere near a > > > > windows box at the moment. > > > > > > > > Anyone have any ideas? > > > > > > > > -David > > > > > > > > On Sep 28, 2005, at 8:14 PM, nanda kishore wrote: > > > > > > > > > I encountered a similar issue and posted the logs > > > > and > > > > > didnt get any response. > > > > > > > > > > Seems like the project is loosing concentration, > > > > > resources etc.. and would like to have developers > > > > like > > > > > us to join and help them. To be honest this > > > > projects > > > > > concept is unique but its hard to achieve with > > > > limited > > > > > dedicated resources keeping in mind of the ejb > > > > spec > > > > > changing so frequently. > > > > > > > > > > Still a reply or guidence would be appreciated > > > > > > > > > > --- Rajesh Puri <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > >> I restarted my test to run moviefun. After I > > > > >> download > > > > >> the latest version good for window and make > > > > changes > > > > >> to > > > > >> web.xml, I get following error message when > > > > >> deploy on Tomcat. > > > > >> > > > > >> ------------ > > > > >> > > > > >> Sep 28, 2005 6:51:08 PM > > > > >> org.apache.coyote.http11.Http11Protocol init > > > > >> INFO: Initializing Coyote HTTP/1.1 on http-9050 > > > > >> Sep 28, 2005 6:51:08 PM > > > > >> org.apache.catalina.startup.Catalina load > > > > >> INFO: Initialization processed in 2623 ms > > > > >> Sep 28, 2005 6:51:08 PM > > > > >> org.apache.catalina.core.StandardService start > > > > >> INFO: Starting service Catalina > > > > >> Sep 28, 2005 6:51:08 PM > > > > >> org.apache.catalina.core.StandardEngine start > > > > >> INFO: Starting Servlet Engine: Apache > > > > Tomcat/5.0.25 > > > > >> Sep 28, 2005 6:51:09 PM > > > > >> org.apache.catalina.core.StandardHost start > > > > >> INFO: XML validation disabled > > > > >> Sep 28, 2005 6:51:09 PM > > > > >> org.apache.catalina.core.StandardHost getDeployer > > > > >> INFO: Create Host deployer for direct deployment > > > > ( > > > > >> non-jmx ) > > > > >> Sep 28, 2005 6:51:09 PM > > > > >> org.apache.catalina.core.StandardHostDeployer > > > > >> install > > > > >> INFO: Processing Context configuration file URL > > > > >> file:C:\Program Files\Apache Software > > > > >> Foundation\Tomcat > > > > >> 5.0\conf\Catalina\localhost\admin.xml > > > > >> Sep 28, 2005 6:51:12 PM > > > > >> org.apache.struts.util.PropertyMessageResources > > > > >> <init> > > > > >> INFO: Initializing, > > > > >> config='org.apache.struts.util.LocalStrings ', > > > > >> returnNull=true > > > > >> Sep 28, 2005 6:51:12 PM > > > > >> org.apache.struts.util.PropertyMessageResources > > > > >> <init> > > > > >> INFO: Initializing, > > > > >> > > > > config='org.apache.struts.action.ActionResources', > > > > >> returnNull=true > > > > >> Sep 28, 2005 6:51:13 PM > > > > >> org.apache.struts.util.PropertyMessageResources > > > > >> <init> > > > > >> INFO: Initializing, > > > > >> > > > > >> > > > > > > > > > > > > config='org.apache.webapp.admin.ApplicationResources', > > > > > > > > > >> returnNull=true > > > > >> Sep 28, 2005 6:51:19 PM > > > > >> org.apache.catalina.core.StandardHostDeployer > > > > >> install > > > > >> INFO: Processing Context configuration file URL > > > > >> file:C:\Program Files\Apache Software > > > > >> Foundation\Tomcat > > > > >> 5.0\conf\Catalina\localhost\balancer.xml > > > > >> Sep 28, 2005 6:51:20 PM > > > > >> org.apache.catalina.core.StandardHostDeployer > > > > >> install > > > > >> INFO: Processing Context configuration file URL > > > > >> file:C:\Program Files\Apache Software > > > > >> Foundation\Tomcat > > > > >> 5.0\conf\Catalina\localhost\manager.xml > > > > >> Sep 28, 2005 6:51:20 PM > > > > >> org.apache.catalina.core.StandardHostDeployer > > > > >> install > > > > >> INFO: Processing Context configuration file URL > > > > >> file:C:\Program Files\Apache Software > > > > >> Foundation\Tomcat > > > > >> 5.0\conf\Catalina\localhost\testejb.xml > > > > >> Sep 28, 2005 6:51:20 PM > > > > >> org.apache.catalina.core.StandardHostDeployer > > > > >> install > > > > >> INFO: Installing web application at context path > > > > >> /jasper-webapp from URL file:C:/Program > > > > Files/Apache > > > > >> Software Foundation/Tomcat > > > > 5.0/webapps/jasper-webapp > > > > >> Sep 28, 2005 6:51:23 PM > > > > >> org.apache.catalina.core.StandardHostDeployer > > > > >> install > > > > >> INFO: Installing web application at context path > > > > >> /miceapplication from URL file:C:/Program > > > > >> Files/Apache > > > > >> Software Foundation/Tomcat > > > > >> 5.0 /webapps/miceapplication > > > > >> Sep 28, 2005 6:51:25 PM > > > > >> org.apache.catalina.startup.ContextConfig > > > > >> validateSecurityRoles > > > > >> INFO: WARNING: Security role name admin used in > > > > an > > > > >> <auth-constraint> without being defined in a > > > > >> <security-role> > > > > >> Sep 28, 2005 6:51:25 PM > > > > >> org.apache.catalina.core.StandardHostDeployer > > > > >> install > > > > >> INFO: Installing web application at context path > > > > >> /mouse from URL file:C:/Program Files/Apache > > > > >> Software > > > > >> Foundation/Tomcat 5.0/webapps/mouse > > > > >> Sep 28, 2005 6:51:26 PM > > > > >> org.apache.catalina.core.StandardHostDeployer > > > > >> install > > > > >> INFO: Installing web application at context path > > > > >> /moviefun from URL file:C:/Program Files/Apache > > > > >> Software Foundation/Tomcat 5.0/webapps/moviefun > > > > >> OpenEJB init-params: > > > > >> param-name: openejb.home, param-value: > > > > c:\openejb > > > > > > > === message truncated === > > > > > > > > > > > > > > > > > > ______________________________________________________ > > > Yahoo! for Good > > > Donate to the Hurricane Katrina relief effort. > > > http://store.yahoo.com/redcross-donate3/ > > > > > > > > > > > > -- > > Take care, > > Jeremy > > > > > -- > Take care, > Jeremy > -- Take care, Jeremy
