From: Scott M S. <sco...@at...> - 2003-05-23 14:56:56
|
There is a test of loading a ResourceBundle from a servlet in the testsuite that works fine through at least 12 redeployments. How many redeployments are we talking about here? It the /opt/isis/jboss/jboss-3.2.0/server/ccsadm/tmp directory filling up? A testcase would be helpful. xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ----- Original Message ----- From: "Andrew May" <am...@in...> To: <jbo...@li...> Sent: Wednesday, May 21, 2003 9:32 AM Subject: [JBoss-user] PropertyResourceBundle problems after re-deploy (JBoss 3.2.0) > Hi, > > We're having problems with properties files that we're loading using > ResourceBundle.getBundle("...") after we re-deploy our EAR: > > java.util.MissingResourceException: Can't find bundle for base name > com.ingenta.content.value.BrowsePublisherVisibility, locale en > at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804) > at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773) > at java.util.ResourceBundle.getBundle(ResourceBundle.java:511) > > Our EAR has a number of EJBs, 4 WARs and one main jar file containing all the shared > classes. The EJBs have manifests that contain a Class-Path: pointing to the shared classes > - the WARs don't have a manifest. > > When it initially deploys the application I see this error: > > 2003-05-21 17:10:25,711 INFO [org.jboss.ejb.EJBDeployer] looking for nested deployments > in : file:/opt/isis/jboss/jboss-3.2.0/server/ccsadm/deploy/isis.ear/ejbs/Gateway.jar > 2003-05-21 17:10:26,363 ERROR [org.jboss.deployment.MainDeployer] Could not make local > copy for > file:/opt/isis/jboss/jboss-3.2.0/server/ccsadm/deploy/isis.ear/webapps/../libs/isis.jar > java.io.FileNotFoundException: > /opt/isis/jboss/jboss-3.2.0/server/ccsadm/tmp/deploy/server/ccsadm/deploy/isis.ear/webapps/../libs/isis.jar/124.isis.jar > (No such file or directory) > at java.io.FileOutputStream.open(Native Method) > ... > > This is the first WAR and there are no errors for the other WARs - looking in the tmp > directory I can see the copies of isis.jar up to number 123. > > As far as I can tell (I haven't had time to create a proper test case), I'm only getting > the error from the Webapp layer of code loading resource bundles after a redeploy. Also, > I'm not convinced that it always fails. > > Any ideas? If not I'll try to find some time to create a proper test case. > > Thanks, > > -Andrew |