Thanks, Jeff! That clarified it. I've fixed that error and am moving onto others. :-)
I'll be back in touch if I can't resolve them myself. My problem was that I wasn't familiar enough with the log files, and the order in which I should read them. :-) Douglas Jeff Vroom wrote: > > Hi Douglas > > The HibernateAssembler source is in > .../fds2/resources/ samples/assemblers/flex-messaging-dist-src.zip so you > can see what is going on. > > In this case, I think the problem is that hibernate can't find your > "entity class" - this is the part of the huge stack trace which is > important: > > Caused by: java.lang.ClassNotF oundException: > com.brightworks.apps.sakila_java.ActorInfoId > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader > .java:1355) > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader > .java:1201) > at java.lang.ClassLoader.loadClassInternal(Unknown Source) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Unknown Source) > at > org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:108) > at > org.hibernate.mapping.Component.getComponentClass(Component.java:102) > ... 51 more > > Jeff > > -----Original Message----- > From: Douglas McCarroll > [mailto:[EMAIL PROTECTED] > <mailto:org.yahoo_primary.001%40douglasmccarroll.com>] > Sent: Thursday, November 02, 2006 2:53 PM > To: [email protected] <mailto:flexcoders%40yahoogroups.com>; > Jeff Vroom > Subject: Re: [flexcoders] FDS-Hibernate Error: Error instantiating ... > 'flex.data.assemble rs.HibernateAssembler' > > Hi Jeff, > > Thanks for your response. I'm sending this to both you and the list, as > it may be helpful to get this thread into the archive... > > > Do you have the JOTM configured as part of tomcat? > > FDMS requires a JTA based transaction manager. > > I have the JOTM .jars installed but didn't have the JOTM XML file for my > > app in tomcat-root/ conf/Catalina/localhost. > > But I don't think that that's the problem. Here's why (2 reasons): > 1. When I try to do something like this I typically try to approach it > in baby steps. In this case I first got a slightly modified version of > Marcel Boucher's Hibernate example to work. It works. (Yay!) But I also > didn't create a JOTM XML file for that project. > 2. Just to be sure, I just created that file for my project and > restarted Tomcat. Still doesn't work. :-( > > > Are you getting any other stack traces logged? > > That stack trace is a chained exception... the > > "root cause" is what we need to more fully > > diagnose this case. > > I've posted the entire log file at: > > http://www.brightworks.com/localhost.2006-11-02.log > <http://www.brightworks.com/localhost.2006-11-02.log> > > It's much more readable online than than it is when pasted into an > email. Obviously, there are other log files but this is the only one > that indicates a problem. > > > We do ship the source to the hibernate assembler > > so if necessary you could use that to help debug > > the problem. > > Where would I find that? I've explored the WEB-INF folder of my project > and it doesn't seem to be there... > > Finally, let me tell you a bit about what I'm doing. An overview may > help you to help me. My goal is to create a sample > Cairngorm/FDMS/ Hibernate app. This will help me learn, demonstrate my > competency to future clients/employers, and hopefully help others. I've > started with the MySQL sample Sakila database and used HibernateTools to > > auto-generate the Java and Hibernate files. Now I'm trying to graft the > client-side code, and server side configs, from the Boucher example that > > I already have working onto it. He uses an "employee" table. Sakila is a > > DVD rental store DB and has an "actor" table that is quite similar. It > should be fairly easy (or at least doable :-) to display data from this > one table. Once I get that working I can renovate the client side into a > > Cairngorm architecture and start using other tables. Yum. :-) > > Thanks, > > Douglas > > h > > Jeff Vroom wrote: > > > > Do you have the JOTM configured as part of tomcat? FDMS requires a JTA > > > based transaction manager. See the Tomcat install instructions on this > > > page: > > > > http://www.adobe.com/support/documentation/en/flex/2/install.html > <http://www.adobe.com/support/documentation/en/flex/2/install.html> > > <http://www.adobe.com/support/documentation/en/flex/2/install.html > <http://www.adobe.com/support/documentation/en/flex/2/install.html>> > > > > It looks like there is an exception occurring when the hibernate > > assembler is being initialized. One possibility is that JOTM is > > missing, but it could be also be a hibernate specific problem . Are > > you getting any other stack traces logged? That stack trace is a > > chained exception... the "root cause" is what we need to more fully > > diagnose this case. I checked on jrun and I am getting all of the > > exceptions logged but this could be dependent on some jrun specific > > code logs all of the stack traces when a servlet throws an exception > > during startup. > > > > We do ship the source to the hibernate assembler so if necessary you > > could use that to help debug the problem. > > > > Jeff > > > > > ------------ ---------------------------------------------- > > > > *From:* [email protected] > <mailto:flexcoders%40yahoogroups.com> > [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>] > > > *On Behalf Of *Douglas McCarroll > > *Sent:* Wednesday, November 01, 2006 1:39 PM > > *To:* [email protected] <mailto:flexcoders%40yahoogroups.com> > > *Subject:* [flexcoders] FDS-Hibernate Error: Error instantiating ... > > 'flex.data.assemble rs.HibernateAssembler' > > > > Hi All, > > > > Here's a more complete error message (from Tomcat's localhost log > file): > > > > > > > > > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

