[JBoss-user] [Installation, Configuration Deployment] - jboss/lib
I was recently very surprised to find that jars in the JBOSS_DIST/lib are available on the classloader to WARS (jboss version 4.0.2). Specifically, dom4j.jar was the culprit in the issue we were tracking down. I have always worked under the assumption that only jars in jboss/server/default/lib were available. We jave the Java2ClassloaderCompliance set to false as well as false for the JBossWebLoader - purely a stock install. Is this behavior expected? My belief was supported in that you find commons.logging jar in both jboss/lib and jboss/server/default/lib. If jboss/lib is meant to be visible, why have it in both places? I made sure the class in dom4j.jar was not available anywhere else by running the following search with the output below: [EMAIL PROTECTED] ]$ find /usr/local/jboss -type f -name '*.jar' -print0 | xargs -n1 -0i sh -c 'jar tf {} | grep -q SAXReader echo {}' ./lib/dom4j.jar Any thoughts? Thanks, Brian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926212#3926212 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926212 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: jboss/lib
Thanks - that is a great resource. Brian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926215#3926215 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926215 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: EAR scoping
Would there be any way to scope the ear with the jboss-app.xml and then somehow make it's loader repository visible to a WAR with a setting in the jboss-web.xml ? I know I'm starting to grasp at straws on this - maybe I'm making this more complicated than it should be View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3851669#3851669 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851669 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: EAR scoping
Thanks for the reply - I actually do have the 'for pay' documentation, but I have not found it helpful in this instance. I do want to share resources from my EAR - and that is working well. Currently my WAR's WEB-INF is isolated and the contents of the EAR is available to the other WARS. My problem is that the jars in the the jbossweb-tomcat50.sar are conflicting with the jakarta-commons jars I have in my EAR. The ones in the tomcat SAR are older. I dont want to simply replace the ones in the SAR with the newer versions - as this could have unexpected consequences. There should be a way to tell the EAR to use what it has vs. what's on its parent classpath without totally isolating it. BTW - I'm on 3.2.5 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3851625#3851625 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851625 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Classloader problems with commons-collections.
Thanks - I did try that - both with jboss-app and the jboss-service - and in both instances I got 2004-10-15 09:56:41,804 ERROR [org.jboss.ejb.StatelessSessionContainer] Initialization failed jboss.j2ee:jndiName=ejb/service/remote/EmployeeService,service=EJB java.lang.ClassCastException at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.getEJBLocalHome(BaseLocalProxyFactory.java:210) at org.jboss.ejb.Container.createService(Container.java:581) at org.jboss.ejb.StatelessSessionContainer.createService(StatelessSessionContainer.java:133) at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:219) when it tried to deploy my EJB. The EJB is in a JAR in the EAR - so I dont understand why the ClassCastException? My setting from the jboss-service is : (with 's removed) !-- EAR deployer, remove if you are not using Web layers -- mbean code=org.jboss.deployment.EARDeployer name=jboss.j2ee:service=EARDeployer !-- Isolate all ears in their own classloader space -- attribute name=Isolatedtrue/attribute /mbean View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3851563#3851563 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851563 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - EAR scoping
I have looked at the Wikis forum on Classloader scoping and cant find an appropriate solution. I have an EAR deployed along side a couple WARS. I have UseJBossWebLoader set to false to keep my WARS seperated. I'm having a problem with the jar's in jbossweb-tomcat50.sar conflicting with jars in my EAR via the UCL. I need the keep the EAR from seeing the jars in the tomcat SAR, but I need my WARs to see the EAR - so I dont want to scope the EAR. Is there a way to essetially set Java2ClassLoadingCompliance=false for the EAR - without scoping it private? Is there another way to accomplish what I need ? Thanks, Brian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3851607#3851607 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851607 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Classloader problems with commons-collections.
I have an EAR in which I have an application that uses Cayenne. Cayenne needs commons-collections3.x to work properly. I am deploying the EAR in exploded format. app.EAR | core.jar | lib | commons-collections-3.1.jar cayenne-no-deps.jar Cayenne, however, is not working because it is picking up an older version of commons-collectons that's in jbossweb-tomcat50.sar. I also have a 2 web apps deployed as a wars outside the ear. 2 Questions: 1. Why is the code in the EAR picking up the commons jar in the tomcat.sar instead of the commons jar in the ear - how can i prevent this behavior? 2. Can I scope it so that the WAR's can see the EAR (I want to use local interfaces for my EJB access), but the EAR can't see the WAR's and the WAR's can't see each other? Thanks, Brian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3851484#3851484 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851484 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user