[Design of Management Features on JBoss] - Re: java.awt.headless by default
by dimitris@jboss.org
Once implication if we enable java.awt.headless by default is the startDatabaseManager() operation on jboss:service=Hypersonic,database=localDB won't work:
| 14:19:06,046 ERROR [HypersonicDatabase] Failed to start database manager
| java.lang.reflect.InvocationTargetException
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.jdbc.HypersonicDatabase$1.run(HypersonicDatabase.java:528)
| Caused by: java.awt.HeadlessException
| at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:1
| 59)
| at java.awt.Window.<init>(Window.java:317)
| at java.awt.Frame.<init>(Frame.java:419)
| at javax.swing.JFrame.<init>(JFrame.java:194)
| at org.hsqldb.util.DatabaseManagerSwing.main(Unknown Source)
| ... 5 more
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104117#4104117
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104117
18 years, 4 months
[Design of Messaging on JBoss (Messaging/JBoss)] - performance test framework
by ataylor
The performance tests should cover the following scenarios.
P2P
non persistent with no selectors
persistent with no selectors
non persistent with selectors
persistent with selectors
Pub/Sub
non persistent no selectors
dups_ok persistent no selectors
auto_ack persistent no selectors
durable persistent selectors
we should be able to configure multiple clients and/or servers. Each client should have n connections which create n sessions which create n producers and/or consumers and send n messages of size n, this should of course be completely configurable. The client will keep its own statistics and we will have a central coordinator that will coordinate the work of each client and collect each clients statistics.
How will we run the tests,
we could use the DTF, however i'm not sure whether its an overhead we dont need. The DTF needs maintaining and since we dont have dedicated machines we would have to configure/start/stop the dtf nodes, coordinator and manager every time we ran them. This being the case we could just write our own coordinator that does what we need and start each client manually. the coordinator would listen for clients connecting and instruct them what scenarios to run. We could maybe use jgroups for this. This would also mean that its easy to run standalone on any machine without needing DTF knowledge.
I'm looking to make a start on this next week hopefully so comments welcome.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104044#4104044
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104044
18 years, 4 months
[Design of JBoss jBPM] - docbook-support and ant build under windows
by camunda
Hi.
I encountered a problem with the ant build of jbpm 3.2. I tried to execute a "clean" which failed with the following error:
| BUILD FAILED
| C:\Projekte_OSS\jbpm.3_HEAD\build\build.xml:11: The following error occurred while executing this line:
| C:\Projekte_OSS\jbpm.3_HEAD\jpdl\userguide\build.xml:17: Cannot find C:/Projekte_OSS/jbpm-repository/docbook-support/support.xml imported from C:\Projekte_OSS\jbpm.3_HEAD\jpdl\userguide\build.xml
|
He is right, but the docbook support can not be downloaded on windows, because "get.docbook.support" uses the cvs command, which is not available:
get.docbook.support.if.necessary:
| [cvs] Caught exception: Cannot run program "cvs" (in directory "C:\Projekte_OSS\jbpm-repository"): CreateProcess error=2, Das System kann die angegebene Datei nicht finden
| BUILD SUCCESSFUL
This not really nice, especially that the clean is failing absolutely unecessary.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103982#4103982
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103982
18 years, 4 months