[JBoss AS 7 Development] - AS 7 Management versions
by Brian Stansberry
Brian Stansberry [https://community.jboss.org/people/brian.stansberry] modified the document:
"AS 7 Management versions"
To view the document, visit: https://community.jboss.org/docs/DOC-19172
--------------------------------------------------------------
This shows the management versions of the various subsystems for released AS 7 versions. The tables are generated by starting the target AS 7 version using standalone.sh --server-config=standalone-full-ha.xml and running org.jboss.as.controller.util.GrabModelVersionsUtil (in controller/src/test)
Known issues between management versions are documented in https://community.jboss.org/docs/DOC-19586 AS7ManagementVersionsKnownIssues.
h2. 7.1.2.Final
|| Subsystem || Management Version || Schemas (http://www.jboss.org/schema/jbossas/) ||
| *Standalone core* | 1.2.0 |
|
| *cmp* | 1.0.0 | urn:jboss:domain:cmp:1.0 |
| *configadmin* | 1.0.0 | urn:jboss:domain:configadmin:1.0 |
| *datasources* | 1.1.0 | urn:jboss:domain:datasources:1.0
urn:jboss:domain:datasources:1.1 |
| *deployment-scanner* | 1.0.0 | urn:jboss:domain:deployment-scanner:1.0
urn:jboss:domain:deployment-scanner:1.1 |
| *ee* | 1.0.0 | urn:jboss:domain:ee:1.0
urn:jboss:domain:ee:1.1 |
| *ejb3* | 1.1.0 | urn:jboss:domain:ejb3:1.0
urn:jboss:domain:ejb3:1.1
urn:jboss:domain:ejb3:1.2
urn:jboss:domain:ejb3:1.3 |
| *infinispan* | 1.3.0 | urn:jboss:domain:infinispan:1.0
urn:jboss:domain:infinispan:1.1
urn:jboss:domain:infinispan:1.2
urn:jboss:domain:infinispan:1.3 |
| *jacorb* | 1.1.0 | urn:jboss:domain:jacorb:1.0
urn:jboss:domain:jacorb:1.1
urn:jboss:domain:jacorb:1.2 |
| *jaxr* | 1.1.0 | urn:jboss:domain:jaxr:1.1
urn:jboss:domain:jaxr:1.0 |
| *jaxrs* | 1.0.0 | urn:jboss:domain:jaxrs:1.0 |
| *jca* | 1.1.0 | urn:jboss:domain:jca:1.0
urn:jboss:domain:jca:1.1 |
| *jdr* | 1.0.0 | urn:jboss:domain:jdr:1.0 |
| *jgroups* | 1.1.0 | urn:jboss:domain:jgroups:1.0
urn:jboss:domain:jgroups:1.1 |
| *jmx* | 1.0.0 | urn:jboss:domain:jmx:1.0
urn:jboss:domain:jmx:1.1 |
| *jpa* | 1.1.0 | urn:jboss:domain:jpa:1.0 |
| *jsr77* | 1.0.0 | urn:jboss:domain:jsr77:1.0 |
| *logging* | 1.1.0 | urn:jboss:domain:logging:1.0
urn:jboss:domain:logging:1.1 |
| *mail* | 1.1.0 | urn:jboss:domain:mail:1.0 |
| *messaging* | 1.1.0 | urn:jboss:domain:messaging:1.0
urn:jboss:domain:messaging:1.1
urn:jboss:domain:messaging:1.2 |
| *modcluster* | 1.2.0 | urn:jboss:domain:modcluster:1.0
urn:jboss:domain:modcluster:1.1 |
| *naming* | 1.1.0 | urn:jboss:domain:naming:1.0
urn:jboss:domain:naming:1.1
urn:jboss:domain:naming:1.2 |
| *osgi* | 1.0.0 | urn:jboss:domain:osgi:1.0
urn:jboss:domain:osgi:1.1
urn:jboss:domain:osgi:1.2 |
| *pojo* | 1.0.0 | urn:jboss:domain:pojo:1.0 |
| *remoting* | 1.1.0 | urn:jboss:domain:remoting:1.0
urn:jboss:domain:remoting:1.1 |
| *resource-adapters* | 1.1.0 | urn:jboss:domain:resource-adapters:1.0 |
| *sar* | 1.0.0 | urn:jboss:domain:sar:1.0 |
| *security* | 1.1.0 | urn:jboss:domain:security:1.0
urn:jboss:domain:security:1.1
urn:jboss:domain:security:1.2 |
| *threads* | 1.0.0 | urn:jboss:domain:threads:1.1
urn:jboss:domain:threads:1.0 |
| *transactions* | 1.1.0 | urn:jboss:domain:transactions:1.0
urn:jboss:domain:transactions:1.1
urn:jboss:domain:transactions:1.2 |
| *web* | 1.1.0 | urn:jboss:domain:web:1.1
urn:jboss:domain:web:1.0 |
| *webservices* | 1.1.0 | urn:jboss:domain:webservices:1.0
urn:jboss:domain:webservices:1.1 |
| *weld* | 1.0.0 | urn:jboss:domain:weld:1.0 |
h2. 7.1.3.Final
|| Subsystem || Management Version || Schemas ||
| *Standalone core* | 1.3.0 |
|
| *cmp* | 1.0.0 | urn:jboss:domain:cmp:1.0 |
| *configadmin* | 1.0.0 | urn:jboss:domain:configadmin:1.0 |
| *datasources* | 1.1.0 | urn:jboss:domain:datasources:1.0
urn:jboss:domain:datasources:1.1 |
| *deployment-scanner* | 1.0.0 | urn:jboss:domain:deployment-scanner:1.0
urn:jboss:domain:deployment-scanner:1.1 |
| *ee* | 1.0.0 | urn:jboss:domain:ee:1.0
urn:jboss:domain:ee:1.1 |
| *ejb3* | 1.1.0 | urn:jboss:domain:ejb3:1.0
urn:jboss:domain:ejb3:1.1
urn:jboss:domain:ejb3:1.2
urn:jboss:domain:ejb3:1.3 |
| *infinispan* | 1.3.0 | urn:jboss:domain:infinispan:1.0
urn:jboss:domain:infinispan:1.1
urn:jboss:domain:infinispan:1.2
urn:jboss:domain:infinispan:1.3 |
| *jacorb* | 1.1.0 | urn:jboss:domain:jacorb:1.0
urn:jboss:domain:jacorb:1.1
urn:jboss:domain:jacorb:1.2 |
| *jaxr* | 1.1.0 | urn:jboss:domain:jaxr:1.1
urn:jboss:domain:jaxr:1.0 |
| *jaxrs* | 1.0.0 | urn:jboss:domain:jaxrs:1.0 |
| *jca* | 1.1.0 | urn:jboss:domain:jca:1.0
urn:jboss:domain:jca:1.1 |
| *jdr* | 1.0.0 | urn:jboss:domain:jdr:1.0 |
| *jgroups* | 1.1.0 | urn:jboss:domain:jgroups:1.0
urn:jboss:domain:jgroups:1.1 |
| *jmx* | 1.0.0 | urn:jboss:domain:jmx:1.0
urn:jboss:domain:jmx:1.1 |
| *jpa* | 1.1.0 | urn:jboss:domain:jpa:1.0 |
| *jsr77* | 1.0.0 | urn:jboss:domain:jsr77:1.0 |
| *logging* | 1.1.0 | urn:jboss:domain:logging:1.0
urn:jboss:domain:logging:1.1 |
| *mail* | 1.1.0 | urn:jboss:domain:mail:1.0 |
| *messaging* | 1.1.0 | urn:jboss:domain:messaging:1.0
urn:jboss:domain:messaging:1.1
urn:jboss:domain:messaging:1.2 |
| *modcluster* | 1.2.0 | urn:jboss:domain:modcluster:1.0
urn:jboss:domain:modcluster:1.1 |
| *naming* | 1.1.0 | urn:jboss:domain:naming:1.0
urn:jboss:domain:naming:1.1
urn:jboss:domain:naming:1.2 |
| *osgi* | 1.0.0 | urn:jboss:domain:osgi:1.0
urn:jboss:domain:osgi:1.1
urn:jboss:domain:osgi:1.2 |
| *pojo* | 1.0.0 | urn:jboss:domain:pojo:1.0 |
| *remoting* | 1.1.0 | urn:jboss:domain:remoting:1.0
urn:jboss:domain:remoting:1.1 |
| *resource-adapters* | 1.1.0 | urn:jboss:domain:resource-adapters:1.0 |
| *sar* | 1.0.0 | urn:jboss:domain:sar:1.0 |
| *security* | 1.1.0 | urn:jboss:domain:security:1.0
urn:jboss:domain:security:1.1
urn:jboss:domain:security:1.2 |
| *threads* | 1.0.0 | urn:jboss:domain:threads:1.1
urn:jboss:domain:threads:1.0 |
| *transactions* | 1.1.1 | urn:jboss:domain:transactions:1.0
urn:jboss:domain:transactions:1.1
urn:jboss:domain:transactions:1.2 |
| *web* | 1.1.1 | urn:jboss:domain:web:1.2
urn:jboss:domain:web:1.1
urn:jboss:domain:web:1.0 |
| *webservices* | 1.1.0 | urn:jboss:domain:webservices:1.0
urn:jboss:domain:webservices:1.1 |
| *weld* | 1.0.0 | urn:jboss:domain:weld:1.0 |
h2. 7.2.0.Final
|| Subsystem || Management Version || Schemas ||
| *Standalone core* | 1.4.0 |
|
| *cmp* | 1.1.0 | urn:jboss:domain:cmp:1.0
urn:jboss:domain:cmp:1.1 |
| *configadmin* | 1.1.0 | urn:jboss:domain:configadmin:1.0 |
| *datasources* | 1.1.1 | urn:jboss:domain:datasources:1.0
urn:jboss:domain:datasources:1.1 |
| *deployment-scanner* | 1.0.0 | urn:jboss:domain:deployment-scanner:1.0
urn:jboss:domain:deployment-scanner:1.1 |
| *ee* | 1.0.0 | urn:jboss:domain:ee:1.0
urn:jboss:domain:ee:1.1 |
| *ejb3* | 1.2.0 | urn:jboss:domain:ejb3:1.0
urn:jboss:domain:ejb3:1.1
urn:jboss:domain:ejb3:1.2
urn:jboss:domain:ejb3:1.3urn:jboss:domain:ejb3:1.4 |
| *infinispan* | 1.4.0 | urn:jboss:domain:infinispan:1.0
urn:jboss:domain:infinispan:1.1
urn:jboss:domain:infinispan:1.2
urn:jboss:domain:infinispan:1.3
urn:jboss:domain:infinispan:1.4 |
| *jacorb* | 1.2.0 | urn:jboss:domain:jacorb:1.0
urn:jboss:domain:jacorb:1.1
urn:jboss:domain:jacorb:1.2
urn:jboss:domain:jacorb:1.3 |
| *jaxr* | 1.2.0 | urn:jboss:domain:jaxr:1.0
urn:jboss:domain:jaxr:1.1 |
| *jaxrs* | 1.0.0 | urn:jboss:domain:jaxrs:1.0 |
| *jca* | 1.2.0 | urn:jboss:domain:jca:1.0
urn:jboss:domain:jca:1.1 |
| *jdr* | 1.1.0 | urn:jboss:domain:jdr:1.0 |
| *jgroups* | 1.2.0 | urn:jboss:domain:jgroups:1.0
urn:jboss:domain:jgroups:1.1 |
| *jmx* | 1.1.0 | urn:jboss:domain:jmx:1.0
urn:jboss:domain:jmx:1.1
urn:jboss:domain:jmx:1.2 |
| *jpa* | 1.2.0 | urn:jboss:domain:jpa:1.0
urn:jboss:domain:jpa:1.1 |
| *js*f | 1.0.0 | urn:jboss:domain:jsf:1.0 |
| *jsr77* | 1.0.0 | urn:jboss:domain:jsr77:1.0 |
| *logging* | 1.2.0 | urn:jboss:domain:logging:1.0
urn:jboss:domain:logging:1.1 |
| *mail* | 1.2.0 | urn:jboss:domain:mail:1.0
urn:jboss:domain:mail:1.1 |
| *messaging* | 1.2.0 | urn:jboss:domain:messaging:1.0
urn:jboss:domain:messaging:1.1
urn:jboss:domain:messaging:1.2
urn:jboss:domain:messaging:1.3 |
| *modcluster* | 1.3.0 | urn:jboss:domain:modcluster:1.0
urn:jboss:domain:modcluster:1.1 |
| *naming* | 1.2.0 | urn:jboss:domain:naming:1.0
urn:jboss:domain:naming:1.1
urn:jboss:domain:naming:1.2
urn:jboss:domain:naming:1.3 |
| *osgi* | 1.1.0 | urn:jboss:domain:osgi:1.0
urn:jboss:domain:osgi:1.1
urn:jboss:domain:osgi:1.2 |
| *pojo* | 1.0.0 | urn:jboss:domain:pojo:1.0 |
| *remoting* | 1.2.0 | urn:jboss:domain:remoting:1.0
urn:jboss:domain:remoting:1.1 |
| *resource-adapters* | 1.2.0 | urn:jboss:domain:resource-adapters:1.0
urn:jboss:domain:resource-adapters:1.1 |
| *sar* | 1.0.0 | urn:jboss:domain:sar:1.0 |
| *security* | 1.2.0 | urn:jboss:domain:security:1.0
urn:jboss:domain:security:1.1
urn:jboss:domain:security:1.2 |
| *threads* | 1.1.0 | urn:jboss:domain:threads:1.0
urn:jboss:domain:threads:1.1 |
| *transactions* | 1.2.0 | urn:jboss:domain:transactions:1.0
urn:jboss:domain:transactions:1.1
urn:jboss:domain:transactions:1.2
urn:jboss:domain:transactions:1.3 |
| *web* | 1.2.0 | urn:jboss:domain:web:1.0
urn:jboss:domain:web:1.1
urn:jboss:domain:web:1.2
urn:jboss:domain:web:1.3
urn:jboss:domain:web:1.4 |
| *webservices* | 1.2.0 | urn:jboss:domain:webservices:1.0
urn:jboss:domain:webservices:1.1
urn:jboss:domain:webservices:1.2 |
| *weld* | 1.0.0 | urn:jboss:domain:weld:1.0 |
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-19172]
Create a new document in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
11 years, 7 months
[Javassist Development] - Using Javassist on Eclipse
by Diego Adrada
Diego Adrada [https://community.jboss.org/people/diego.adrada] created the discussion
"Using Javassist on Eclipse"
To view the discussion, visit: https://community.jboss.org/message/817875#817875
--------------------------------------------------------------
Greetings, I'm starting with Javassist, I have implemented an example of Hello World with following code:
public class HelloWorld {
public static void main(String[] args) {
new HelloWorld().sayHello();
}
public void sayHello(){
System.out.println("Hello!!! This is the original version!!!");
}
}
import javassist.CannotCompileException;
import javassist.CtClass;
import javassist.CtMethod;
import javassist.NotFoundException;
import java.io.IOException;
import static javassist.ClassPool.getDefault;
public class ByteCodeInjector {
public static final String CLASS_NAME = "HelloWorld";
public static final String METHOD = "sayHello";
public static void main(String[] argos) throws Exception{
modifyByteCode(CLASS_NAME,METHOD);
}
public static void modifyByteCode(String className ,String methodName)
throws NotFoundException, CannotCompileException, IOException {
//Get the Class implementation byte code
CtClass ctClass = getDefault().get(className);
//Get the method from the Class byte code
CtMethod method= ctClass.getDeclaredMethod(methodName);
/**
* Creating the new Method implementation
*/
StringBuffer content = new StringBuffer();
content.append("{\n System.out.println(\"Hello!!! This is the Modified version!!!\");\n } ");
/**
* Inserting the content
*/
method.setBody(content.toString());
System.out.println("Replacing Method \' sayHello\' s body with new implementation : " + content);
//modify the actual class File
ctClass.writeFile();
}
}
This example has already worked well compiling classes from console. My question is about what I need to implement this example in Eclipse? It must have some sort of special consideration?
Thank you for your help.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/817875#817875]
Start a new discussion in Javassist Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 7 months
Re: [jboss-dev-forums] [JBoss Transactions Development] - TransactionMonitoringAndVisualization
by Paul Robinson
Paul Robinson [https://community.jboss.org/people/paul.robinson] commented on the document
"TransactionMonitoringAndVisualization"
To view all comments on this document, visit: https://community.jboss.org/docs/DOC-48255#comment-12060
--------------------------------------------------
Mark,
I think this covers most of your comments above...
I agree that gathering extensive information on every transaction is very costly. However, we are not proposing that this tool be used routinely in production. I think the sensible thing to do is to gather aggregate information in such a way that has minimal impact on the running system. We seem to have this mostly covered at the moment as we can obtain, rollback, commit and in-flight transaction counters. This is great for identifying the presence of a problem, but IMO, in many cases the user would then need to turn up the logging to establish the root cause of the problem.
This is similar to how developers improve the performance of a system. Aggregate data (i.e. average throughput, average response times) is used to identify that we have a problem. The developer then attaches a profiler to identify the root cause of the performance problem.
I see this tool more as a profiling tool to be used when the aggregate data has identified an issue. In which case, the overhead of gathering this data is less of an issue, assuming it doesn't impact the system to the point where it skews the data being gathered.
The benefit of parsing the logs to get this data is that:
1) It can be done retrospectively from a user's log
2) We can automate the detection of common issues that would typically relied on a user/GSS/Transactions team person eye balling the logs.
3) We validate that the logs contain all the information required to detect these issues (assuming the right level is set).
We were planning on having a meeting with the Transactions specialists in GSS to find out there views on this tool and to target some high priority issues that Alex could focus on for his prototype.
In an ideal world, we'd like this tool to filter out more support issues at each level. I.e users discover the problem without needing to raise a support ticket; GSS discover the problem without having to contact the transactions team for help.
--------------------------------------------------
11 years, 7 months