RE: [JBoss-user] blah-service.xml deployment problem
James Ward [mailto:[EMAIL PROTECTED]] wrote: This might be a very dumb question, but I can't figure it out. I have a blah.jar file which contains a blahMBean I have a blah-service.xml which uses the blahMBean When I drop both files into the deploy dir at the same time, JBoss always tries to load the blah-service.xml before the blah.jar get's loaded. If blah.jar just contains the MBean's classes, you should put it in the lib dir, rather than in the deploy dir. Benjamin --- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] blah-service.xml deployment problem
Drop you blah.jar in your [jboss]/server/[config]/lib directory instead of the deploy directory. - Original Message - From: James Ward [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 14, 2003 8:54 AM Subject: [JBoss-user] blah-service.xml deployment problem This might be a very dumb question, but I can't figure it out. I have a blah.jar file which contains a blahMBean I have a blah-service.xml which uses the blahMBean When I drop both files into the deploy dir at the same time, JBoss always tries to load the blah-service.xml before the blah.jar get's loaded. What's up with that? If I then wait for the blah.jar to deploy and touch the blah-service.xml file, everything works fine, but it's annoying. Thanks for you help in advance. -James --- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] blah-service.xml deployment problem
A jar could be an ejb that has a dependency on a service in blah-service.xml so the default load order it services ahead of jars. Reference the jar via the service descriptor classpath element. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: James Ward [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 14, 2003 8:54 AM Subject: [JBoss-user] blah-service.xml deployment problem This might be a very dumb question, but I can't figure it out. I have a blah.jar file which contains a blahMBean I have a blah-service.xml which uses the blahMBean When I drop both files into the deploy dir at the same time, JBoss always tries to load the blah-service.xml before the blah.jar get's loaded. What's up with that? If I then wait for the blah.jar to deploy and touch the blah-service.xml file, everything works fine, but it's annoying. Thanks for you help in advance. -James --- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] blah-service.xml deployment problem
Hello James, Tuesday, January 14, 2003, 1:54:22 PM, you wrote: JW This might be a very dumb question, but I can't figure it out. JW I have a blah.jar file which contains a blahMBean JW I have a blah-service.xml which uses the blahMBean JW When I drop both files into the deploy dir at the same time, JBoss JW always tries to load the blah-service.xml before the blah.jar get's JW loaded. What's up with that? JW If I then wait for the blah.jar to deploy and touch the blah-service.xml JW file, everything works fine, but it's annoying. JW Thanks for you help in advance. Use something like this on blah-service.xml : ?xml version=1.0 encoding=UTF-8? server classpath codebase=. archives=blah.jar/ mbean code=com.blah name=Sigea:service=BlahServer ... /mbean /server -- Best regards, Danilomailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user