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
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 :
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 :
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
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
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:
|
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 :
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
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
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
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
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 :
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:
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
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{
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
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
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
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 -
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:
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 :
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
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 :
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
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...
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 -
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
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
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
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:
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 -
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 :
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
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
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
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
36 matches
Mail list logo