[jboss-user] [JBoss Messaging] - What is the purpose of the Journal files?

2009-01-20 Thread Gary Marsh
I have a very simple program that has two classes, both generate JMS messages and both accept each others messages with onMessage() methods. If I delete all the files that are in my data/journal directory, after startup I find that the program by default generates 400Mgs of journal files (40

[jboss-user] [JBoss Messaging] - Re: What is the purpose of the Journal files?

2009-01-20 Thread Gary Marsh
I see in the JBossMessagingUsersGuide.pdf document that the journal mechanism is what you use for message persistence but for a small program isn't 400 MGs a little bit of over kill? Is it possible to pair this down without braking something? GMarsh View the original post :

[jboss-user] [JBoss Messaging] - Re: Do you have example code embeding JBMBootstrapServer for

2009-01-15 Thread Gary Marsh
Thank you A. Taylor you were right the jbm-security.xml was missing from the classpath. Once I put it into my config directory which is in my classpath everything worked. :o))) Regards, GMarsh View the original post :

[jboss-user] [JBoss Messaging] - Do you have example code embeding JBMBootstrapServer for JBM

2009-01-14 Thread Gary Marsh
I am able to run the JBMBootstrapServer from the command line using the run.bat that comes with JMB 2.0.0Alpha but when I create my own Main() program that embeds JBMBootstrapServer I get some unusual behavior where I get a JMSSecurity exception stating unable to validate user. package

[jboss-user] [JBoss Messaging] - Re: Do you have example code embeding JBMBootstrapServer for

2009-01-14 Thread Gary Marsh
Yes, I am looking to use the org.jboss.messaging.microcontainer.JBMBootstrapServer class embedded in my own Main class. Specifically or ultimately, what I am looking for is a way to deploy the jbm-standalone-bean.xml file and get a list of beans that are deployed. I see in the API that the

[jboss-user] [Microcontainer] - Google reference not found

2009-01-09 Thread Gary Marsh
Hi alesj; Yesterday I downloaded the DZone_1_0 example code and built it then moved the jboss-demos-classloading.jar, jboss-demos-ioc.jar into the sandbox directory and everything deployed. Then I put the jboss-demos-models.jar in the sandbox and got the following error on deployment: |

[jboss-user] [Microcontainer] - Re: Google reference not found

2009-01-09 Thread Gary Marsh
Alsej I found it finally on http://code.google.com/p/google-guice/. If anyone else is missing the libs check here. Regards, GMarsh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4200701#4200701 Reply to the post :

[jboss-user] [Microcontainer] - Re: Parsing Error run DZone_1_0 demos

2009-01-07 Thread Gary Marsh
Thanks for the reply alesj; I tweeked the classpath to include all of the MC's library jars and it compiles and parses past the previous error. Now I am getting the following runtime error: JBoss-MC-Demo DEBUG [07-01-2009 08:52:59] JBossEntityResolver - Cannot resolve

[jboss-user] [Microcontainer] - Re: Parsing Error run DZone_1_0 demos

2009-01-07 Thread Gary Marsh
alesj; Just a Note: when I substitute the JBossAS library Jars for the MC Library jars in my classpath the error goes away. I last updated my MC 2.0.2GA download 12/04/08. Regards, GMarsh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4200145#4200145 Reply

[jboss-user] [Microcontainer] - Re: Parsing Error run DZone_1_0 demos

2009-01-07 Thread Gary Marsh
alesj; I spoke too soon regarding the clean run. I had a previously compiled jar of my own in the classpath that apparently provided information needed to resolve this error. When I removed it from the classpath the error returned. Now I only have MC 2.0.2GA libraries in the path and I get

[jboss-user] [Microcontainer] - Parsing Error run DZone_1_0 demos

2009-01-06 Thread Gary Marsh
Hi I just downloaded the latest DZone_1_0 demos branch and got the following error when attempting to run JMXMain : org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/C:/JBoss/DZone_1_0/branches/DZone_1_0/bootstrap/src/main/resources/META-INF/bootstrap-beans.xml@ | 94,101

[jboss-user] [JBoss Messaging] - What's the EDT on JBM 2.0 Beta and G.A.?

2009-01-05 Thread Gary Marsh
Hi Tim; Now that it is the new year do you have a revised estimated delivery time on JBM 2.0 Beta and G.A.? Previously you posted that you thought it would be 3rd and 4th Quarters of 2008. Regards, GMarsh View the original post :

[jboss-user] [Microcontainer] - RuntimeError in JMX Demo

2008-12-17 Thread Gary Marsh
I decided to build and run the actual jmx Demo code I downloaded from the DZone_1_0 area and I ran into this runtime error : Deployed URL: file:/C:/NichPro/MCJMXDemo/META-INF/varia-deployers-beans.xml | java.lang.IllegalStateException: Incompletely deployed: | | *** DEPLOYMENTS IN ERROR:

[jboss-user] [Microcontainer] - Re: Does the Microcontainer register MBeans that it deploys

2008-12-16 Thread Gary Marsh
OK I deserved that one. So I looked at your service.xml examples online and in the demo directories. Changed the properties to attributes, got ride of the constructor tags and I think I have cleaned up the service.xml file so it looks legit now. The new and improved nichpro-service.xml

[jboss-user] [Microcontainer] - Re: Does the Microcontainer register MBeans that it deploys

2008-12-15 Thread Gary Marsh
AlesJ. Ok.. I added the start() method and executed the queryName() call from inside this method printed out the ObjectNames and I don't see the two MBeans I deployed in my nichpro-beans.xml configuration file. DataManagementServer. java code : | public class DataManagementServer{

[jboss-user] [Microcontainer] - Re: Does the Microcontainer register MBeans that it deploys

2008-12-15 Thread Gary Marsh
AlesJ. OK, let's say I go the -service.xml route, what parses this file? Currently I am parsing my -beans.xml files through Main.deploy() and this throws a parse error on my -sevice.xml file. So either I have an error in my .xml file or I need a different parser. here is my

[jboss-user] [Microcontainer] - Does the Microcontainer register MBeans that it deploys with

2008-12-12 Thread Gary Marsh
I am using the DZone_1_0 demo's JMXMain.java, Main.java, JMXKernel.java, JBossJMXKernel.java along with HDScanner.java and MainDeployerHelper.java to deploy my own MBeans. I am using aop injection to pass the JMXKernel's serviceController in as a parameter to the constructor of my

[jboss-user] [Microcontainer] - Re: HDScanner deployment error

2008-12-11 Thread Gary Marsh
I took the HDScanner.java, Main.java, JMXMain.java, MainDeployerHelper.java and their corresponding .xml configuration files from the DZone_1_0 demo. It was the demo code referenced in your article A Look Inside the JBoss Microcontainer, Part I -- Component Models authored by Alesj View

[jboss-user] [Microcontainer] - Re: HDScanner deployment error

2008-12-11 Thread Gary Marsh
The Error message in my first Post was the first error message. There is subsequent message which seems to be a further cascade from the first. The second message says : java.lang.IllegalStateException: Incompletely deployed: *** DEPLOYMENTS IN ERROR: Name - Error HDScanner -

[jboss-user] [Microcontainer] - Re: HDScanner deployment error

2008-12-11 Thread Gary Marsh
Was there something else besides the aop-beans.xml I needed? I snagged the source for this file and put it into my resource directory, refreshed the project and rebuilt it and ran with these error messages : Using bootstrap:

[jboss-user] [Microcontainer] - Re: HDScanner deployment error

2008-12-11 Thread Gary Marsh
By the way I am using JRE 6 the latest release from Sun. I don't know if this might be adding an element of difference that is confusing us or not. Regards, GMarsh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4196022#4196022 Reply to the post :

[jboss-user] [Microcontainer] - Re: HDScanner deployment error

2008-12-11 Thread Gary Marsh
Ok I have narrowed the error down to line 82 in Main.java where the kernel.validate() is called after it deploys the bootstrap.xml. I found a little more detail in the log file which is as follows: 2008-12-11 11:00:04,133 DEBUG (DeployersImpl.java: addDeployer :269) - Added deployer

[jboss-user] [Microcontainer] - Re: HDScanner deployment error

2008-12-11 Thread Gary Marsh
I am using the jboss-common-core dated 9/17/2008 from the JBoss-5.0.0.CR2 build. Is there a more recent release? I downloaded this on 12/04/2008. Humm... looks like you have a 5.0.0GA release on 12/05/2008. I'll download this and see if that doesn't help. GMarsh View the original post :

[jboss-user] [Microcontainer] - Re: HDScanner deployment error

2008-12-11 Thread Gary Marsh
Ok... Now I am getting a different error message which occurs when executing line 75 in Main.java BasicBootstrap bootstrap = new BasicBootstrap(); The error message reads as follows : Using bootstrap: file:/C:/NichPro/MicrocontainerDirectoryScanner/src/META-INF/bootstrap-beans.xml

[jboss-user] [Microcontainer] - Re: HDScanner deployment error

2008-12-11 Thread Gary Marsh
OK... I looked through your bitecode and realized that you are calling a later version of Log4J than what I have so I down loaded the new Log4J library and the trace error went away. I also discovered I was in a Chicken Egg relationship with my DMServer. I think I am almost there...

[jboss-user] [Microcontainer] - HDScanner deployment error

2008-12-10 Thread Gary Marsh
Hi I am attempting to use parts of the demo code in a project I have that deploys JMX beans in the MC. I am getting a error during kernel deployer validation for the HDScanner. The error is as follows : java.lang.IllegalStateException: Incompletely deployed: *** DEPLOYMENTS IN ERROR: Name -

[jboss-user] [Microcontainer] - Re: Microcontainer goes 2.0.0.GA

2008-12-05 Thread Gary Marsh
PeterJ- Sorry for all the red ink, I thought it would make it easier to differentiate between my text and the error message. Thanks for the jar search utility tip... works great. I have created a JMX program that basically monitors directories for content and notifies Agents to act

[jboss-user] [Microcontainer] - Re: Microcontainer goes 2.0.0.GA

2008-12-04 Thread Gary Marsh
Thanks guys, that was just the info I needed. It downloads and builds correctly... Regards, GMarsh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4194423#4194423 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4194423

[jboss-user] [Microcontainer] - Re: Microcontainer goes 2.0.0.GA

2008-12-04 Thread Gary Marsh
Hummm. One caveat to my last post is that PeterJ's solution builds but when I run my code that has an EmbeddedBootstrap I get a runtime error : Exception in thread main java.lang.NoClassDefFoundError: org/jboss/config/spi/ConfigurationPermission at

[jboss-user] [Microcontainer] - Re: Microcontainer goes 2.0.0.GA

2008-12-04 Thread Gary Marsh
PeterJ - I followed your suggestion and solved that problem but fell upon another runtime error. It seems that there is an interdependency with the org.jboss.util.collection.WeakTypeCache class that seems to be missing from the jboss-common.jar. Here is the error message:

[jboss-user] [Microcontainer] - Re: Microcontainer goes 2.0.0.GA

2008-12-04 Thread Gary Marsh
Alesj - Well I almost made it through the EmbeddedBootstrap but just as I am leaving the bootstrap() method we do a deployer.validate() call which throws this error : java.lang.IllegalStateException: Incompletely deployed: *** DEPLOYMENTS IN ERROR: Name - Error DataDirMonitor -

[jboss-user] [Microcontainer] - Re: Microcontainer goes 2.0.0.GA

2008-12-03 Thread Gary Marsh
Alesj what is the easiest way to get the source code for this release (i.e. zip file). I have see references to the subversion URL to the trunk but when I go there it appears that you have to copy each file by hand. Am I missing something? Regards, GMarsh View the original post :

[jboss-user] [JBoss Eclipse IDE (users)] - JSF Basic Tutorial gives an error.

2006-11-22 Thread Gary Marsh
Hello, I am trying to run the JSF Basic Tutorial (By Raghu Srinivasan, Oracle Corporation. May 24, 2006) that I found in the JBoss IDE for Eclipse help file. Everything worked and looked good until I got to the part where you are suppose to run the login.jsp on the Tomcat server. When I

[jboss-user] [JBoss Eclipse IDE (users)] - Re: JSF Basic Tutorial gives an error.

2006-11-22 Thread Gary Marsh
BTW I am running the JBoss IDE with Build id: 2.0.0.Beta2. and Tomcat 5.5.12. Gary View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3987982#3987982 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3987982

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss 4.0.4 fails to deploy Hibernate

2006-10-09 Thread Gary Marsh
Hi; I just downloaded a fresh verison of JBoss 4.0.4GA selecting the ejb3 option. I also selected SapDB as my default datasource. When I execute the run.bat I get the following error output: 12:23:48,375 ERROR [MainDeployer] Could not initialise deployment: file:/C:/Program

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.4 fails to deploy Hibernate

2006-10-09 Thread Gary Marsh
Ah Ha I found a reply in one of the other posts that led me to the attachments I need to download.They were at the following url : http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHibernateSwitching you want hibernate3-deployer.zip which contains an archive that when extracted into