More info on this... A colleague had reworked our ant script so that the war file has no WEB-INF/lib or WEB-INF/classes directories. Instead the classes and lib jars are referenced from the file system via a jboss-service.xml file in the above mentioned sar (the one that also provides the datasourse config/lib). This is his solution for class loading memory problems he has experienced in the past when doing multiple redeployments into JBoss without restarting.
I modified the build script to put the compiled web classes in WEB-INF/classes and this caused the ear to work correctly in the default+ejb3 server. This makes me happy and I am almost satisfied. But the question regarding the configuration remains... The ear file built with a war that does not contain WEB-INF/classes works in the manually set up all+ejb3 but does not work in the installer set up default+ejb3 (jndi session bean lookup class cast problem). So there is probably some simple configuration change I can make to the default+ejb3 server to get a similar working behavior as in the all+ejb3 server. Anyone know what it might be? Thanks again, Jonn View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913063#3913063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913063 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
