Thanks Scott, That worked. Brian -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott M Stark Sent: 14 August 2003 13:09 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Accessing a ResourceBundle from a MDB
Typically WEB-INF/classes is not visable outside of the associated war. Move the common resources to the mdb jar or a common jar referenced by the ear -- xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx Brian McSweeney wrote: > Hi all, > > > > I'm deploying my app on JBoss 3.2.1_tomcat-4.1.24 > > I'm deploying an ear which contains a war which uses > > Struts as the web controller. The back end uses ejbs in > > an ejb-jar file. > > > > I'm using a resource bundle properties file successfully in > > my struts actions to internationalize the app. > > The resource bundle properties file is in the folder war file > > in the folder: > > > > /WEB-INF/classes > > > > All the struts actions are here too. > > > > However I also need to load the resource bundle from the > > back end. When I try to load the resource bundle from a > > Message Driven Bean it can't find the file. > > > > Now the class files for the back end in the ear are in the > > appname-ejb.jar file. I had hoped that if they were packaged > > together in the one ear than, maybe they'd be able to see all > > the classes, but perhaps not. > > > > So should I just copy the resource bundle file into the ejb.jar file > > So that my session beans and message driven beans can see > > the properties file? > > > > Thanks for any responses, > > Regards, > > Brian > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
