Re: Problem with xmlc-2.2 and Barracuda from CVS
Jacob Kjome <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Did you grab a fresh tree? If you didn't, you still might have some old jars left over in your WEB-INF/lib directory. You probably have xmlc-2.1 jars side-by-side in that directory. Try this. Delete everything in WEB-INF/lib and then run the build again. The correct files will be copied from WEB-INF/lib-cvs and WEB-INF/jars to WEB-INF/lib. Also remember to put xerces-1.4.4-xmlc-2.2.jar in CATALINA_HOME/shared/lib and remove the old xmlc-2.1 version of xerces. BTW, if have Tomcat set up with a user capable of viewing the Manager application, you can set the properties "manager.username" and "manager.password" in a custom $user.home/.build.properties. This will override that set in the build's default build.properties. This allows you to do.. ant catalina-install That will install the Barracuda webapp to Tomcat from wherever the build is currently sitting on your machine. Note: if you are using Windows, create the .build.properties via the command prompt because the Windows GUI won't let you create file names preceeded by anything other than a letter or number and this needs to be preceeded by a period. later, Jake At 01:16 PM 3/31/2003 -0500, you wrote: >I downloaded the latest barracuda from CSV and recompiled it. I have tried >integrating it into my existing Barracuda application. When I try to >access the application, I get the following error: > > > >java.lang.NoClassDefFoundError: >org/enhydra/xml/xmlc/reloading/RecompilationHandler > at > com.orci.ADMSVirginia.MainGateway.setUpEnhydraApplication(MainGateway.java:106) > at > com.orci.ADMSVirginia.MainGateway.initializeLocal(MainGateway.java:75) > at > org.enhydra.barracuda.core.event.ApplicationGateway.init(ApplicationGateway.java:844) > at javax.servlet.GenericServlet.init(GenericServlet.java:256) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934) > at > org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) > > > > >& > > > >It seems to be trying to access a class that was in xmlc-2.1 but not in >xmlc-2.2. > > > >Any ideas? > > > >David R Robison > >Open Roads Consulting, Inc. > ><http://www.openroadsconsulting.com>http://www.openroadsconsulting.com > >