I jave just installed the Chronon eclipse plugin to Eclipse 3.7. I would like to try it on Jboss AS. I already have Jboss tools 3.3.M2 and jboss 7.0.1 installed. Server starts/stops normaly via IDE.
But when I try to press Blue button 'Record' nothing happens. No error log anywhere, I can press multiple time, but nothing.
Should this combination work and If yes can you please suggest where to look further to properly setup.
Thank you in advance.
Official Responses
-
EMPLOYEE
I’m happy
Here is the update on this:
Chronon 3 has full support for JBoss AS7.
Due to osgi restrictions, we cant enable it for chronon 2.
Those of you trying to record jboss as 7 from the recording server, please put in a request for chronon 3 beta if you havent already.
We will also add support for jboss tools in the chronon 3 eclipse plugin. -
Sorry for the late update on this.
As of now JBoss AS 7 is not supported in the official Eclipse JavaEE distribution, which we support.
Even on JBoss Tools, as7 support it is available only in the development version and not in the stable release.
We will look into this once either:
- jboss tools 3.3 gets a stable release
- jboss as7 adapter is available for and supported in Eclipse JEE
As of now, our official solution for recording is the Chronon Recording Server, so you can use that to record JBoss AS7:
https://chrononsystems.com/recordi...
-
we are investigating this and will
update this thread shortly with a solution. -
-
Sorry for the late update on this.
As of now JBoss AS 7 is not supported in the official Eclipse JavaEE distribution, which we support.
Even on JBoss Tools, as7 support it is available only in the development version and not in the stable release.
We will look into this once either:
- jboss tools 3.3 gets a stable release
- jboss as7 adapter is available for and supported in Eclipse JEE
As of now, our official solution for recording is the Chronon Recording Server, so you can use that to record JBoss AS7:
https://chrononsystems.com/recordi... -
-
Tnx for the answer, I will look into external recording as I see your product really promising (if it works as advertised ... ;) )
-
-
JBoss 7 doesn't seem to play well with agents using JDK logging. I have the following conf...
standalone.conf
JAVA_OPTS="$JAVA_OPTS -javaagent:recorder-2.0.2.263.jar=config.txt -agentpath:librecorderagent64-1.0.0.so"
config.txt
servermode=true
name=jboss
And get the following error...
james@james-desktop:~/Development/Java/jboss-as/testsuite/integration/target/jbossas$ ./bin/standalone.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/james/Development/Java/jboss-as/testsuite/integration/target/jbossas
JAVA: /usr/local/lib/jdk1.6.0_24/bin/java
JAVA_OPTS: -server -Xms64m -Xmx3g -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -javaagent:recorder-2.0.2.263.jar=config.txt -agentpath:librecorderagent64-1.0.0.so
=========================================================================
Listening for transport dt_socket at address: 5005
Recorder cannot connect to Controller: Connection refused
Please ensure that the Controller is running.
WARNING: Failed to load the specified logmodule org.jboss.logmanager:main
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jboss.as.server.Main.main(Main.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.modules.Module.run(Module.java:270)
at org.jboss.modules.Main.main(Main.java:313)
Caused by: java.lang.IllegalStateException: The LogManager was not properly installed (you must set the "java.util.logging.manager" system property to "org.jboss.logmanager.LogManager")
at org.jboss.logmanager.Logger.getLogger(Logger.java:60)
at org.jboss.logmanager.log4j.BridgeRepositorySelector.<clinit>(BridgeRepositorySelector.java:42)
... 7 more
Note this is similar to a Java Service Wrapper issue...
Adding the referenced system property yields...
james@james-desktop:~/Development/Java/jboss-as/testsuite/integration/target/jbossas$ ./bin/standalone.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/james/Development/Java/jboss-as/testsuite/integration/target/jbossas
JAVA: /usr/local/lib/jdk1.6.0_24/bin/java
JAVA_OPTS: -server -Xms64m -Xmx3g -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -javaagent:recorder-2.0.2.263.jar=config.txt -agentpath:librecorderagent64-1.0.0.so -Djava.util.logging.manager=org.jboss.logmanager.LogManager
=========================================================================
Listening for transport dt_socket at address: 5005
Could not load Logmanager "org.jboss.logmanager.LogManager"
java.lang.ClassNotFoundException: org.jboss.logmanager.LogManager
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.util.logging.LogManager$1.run(LogManager.java:166)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.<clinit>(LogManager.java:156)
at java.util.logging.Logger.getLogger(Logger.java:287)
at com.chronon.sb.libs.netty.logging.JdkLoggerFactory.newInstance(Unknown Source)
at com.chronon.sb.libs.netty.logging.InternalLoggerFactory.getInstance(Unknown Source)
at com.chronon.sb.libs.netty.logging.InternalLoggerFactory.getInstance(Unknown Source)
at com.chronon.sb.libs.netty.channel.DefaultChannelPipeline.<clinit>(Unknown Source)
at com.chronon.sb.libs.netty.channel.Channels.pipeline(Unknown Source)
at com.chronon.sb.libs.netty.bootstrap.Bootstrap.<init>(Unknown Source)
at com.chronon.sb.libs.netty.bootstrap.ClientBootstrap.<init>(Unknown Source)
at com.chronon.sb.recorder.b.g.a(Unknown Source)
at com.chronon.sb.recorder.b.g.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Recorder cannot connect to Controller: Connection refused
Please ensure that the Controller is running.
WARNING: Failed to load the specified logmodule org.jboss.logmanager:main
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jboss.as.server.Main.main(Main.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.modules.Module.run(Module.java:270)
at org.jboss.modules.Main.main(Main.java:313)
Caused by: java.lang.IllegalStateException: The LogManager was not properly installed (you must set the "java.util.logging.manager" system property to "org.jboss.logmanager.LogManager")
at org.jboss.logmanager.Logger.getLogger(Logger.java:60)
at org.jboss.logmanager.log4j.BridgeRepositorySelector.<clinit>(BridgeRepositorySelector.java:42)
... 7 more
-
we think we have cured jboss 7 issues with chronon 3. if you havent requested the beta yet, please do so here:
https://chrononsystems.com/chronon... -
-
-
-
-
Can you put the path to config.text in the jvm arguments as an absolute path and try?
Using a relative path in there is supposed to throw an error and exit the jvm.
I am hoping that that is somehow not getting wrapped in the logmanager exception. -
-
Exact same results I'm afraid - I actually removed the paths from the examples above to improve readability.
-
-
-
-
In production I use jboss 4.3EAP which is not supported via Eclipse server plugin and thus I need to develop via Jboss tools.
I have tried chronon with jboss 4.3.EAP, eclipse 3.6 and official released GA jboss tools 3.2.1 - but same - when I press record button - nothing happens.
is it possible (praise ... :) ) to support jboss tools (3.3.M3) even before official release? Or at least officially completed version 3.2.1.GA because I would also benefit from recording jboss 4.3 from eclipse.-
we will look into implementing this. supporting jboss tools is not a high priority for us at the moment since our official recording solution remains the Chronon Recording Server
-
-
-
-
-
EMPLOYEE
I’m happy
Here is the update on this:
Chronon 3 has full support for JBoss AS7.
Due to osgi restrictions, we cant enable it for chronon 2.
Those of you trying to record jboss as 7 from the recording server, please put in a request for chronon 3 beta if you havent already.
We will also add support for jboss tools in the chronon 3 eclipse plugin. -