Aliaksei Stasheuski

Greenhorn
+ Follow
since Apr 08, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Aliaksei Stasheuski

Hello Jaikiran, As I've just written in my last post, the strange path is now not the issue, cause it was from the build.log file, that doesn't want to update. and I just didn't see it earlier. Now the build script doesn't create the log fikle at all. The recent issue is that the build script throw the Error "Error building POM (may not be this project's POM".
Thank in advance!
12 years ago
there are new problems(( As it have been found out the build.log I've recently produce reference to in my last post wasn't modifying while executing of build.bat. The build script doesn't make any modifications to it at all abd fails with the following error

as I think, The main phrase is the "Error building POM (may not be this project's POM)." but I ddn't change anything in the project architecture. All i've done is downloading the source code archive from the

http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/

and unpack it in the proper directory.
Thank in advance
12 years ago
Peter. thank you for reply. but unfortunatelly nothing of this helps. I've tried to run the build.bat in the build folder first and it runs seccesfully. What concerns the console module, so I've found in the build.log the following:

but I still do not inderstand where this folder /qa/home/....... is. I know that the build script uses maven to build all in the proper way. and if memory serves me, the output of the maven compile process thould be in the output folder in the main maven directry, but there is nothing. where have I made a mistake?
Thank in advance!
12 years ago
Thank you. Peter! But I've still got some problems. well. I've downloaded the jboss 5.1 source code and made some modifications in the twiddle Getcommand class. now I just want to build the console part of the source code. I use the build.bat for this. My environment variables (like JAVA_HOME and PATH) are set to the jdk folder and jdk\bin folder respectively. but the Java compiler still produces come errors. Here is the content of the build.log file:

Thank in advance!
12 years ago
Hello to everyone! I've got a problem: I need to make some modifications in the jboss twiddle code, but I can't find the twiddle project source code ready for building. when using a java decompiler and making new project in eclipse. exporting it as .jar file does not solve the solution. changing twiddle.jar in jboss as bin folder with the newly build one threw an error. For some reason it cant find the RMIadaptor (it threw the CASTException) in this line

It is a pitty, but the (RMIAdaptor) cast expression doesn't help. any tips?
Thank in advance!
12 years ago
Hello to everybody. I promised to post a reply. when all will be finished. The method. I've proposed in the last post really works, but it needs -Dcom.sun.management.jmxremote to be added to the start configuration of the VM. But It didn't solve the issue in my situation. cause i'm not able to change any cnfiguration on a production server and need to write a request(
12 years ago
Thank you a lot, but I've already solved the issue. The problem was that i was permanently writing the environmental variables not in the proper config file)))
12 years ago
Hello to everyone. I've just stucked with the problem of changing the VM from JRocket to Sun VM to start WebLogic. Well, I know. that I should change the variables in the commEnv.sh file (JAVA_HOME and JAVA_VENDOR) and then all other settings will be set by the script automatically with a case statements. But while trying to start the WebLogic with such parameters I permanently get an error :OutOfMemoryError (PermGen space)/ Any hits?
12 years ago
Thank you for reply! But in the jdk 1.6 the definitelly is such class in the tool.jar archive. which is situated in the lib folder of Java_Home. And what concerns the links you've provided, well it really work and I had it done before your reply. But I need to make in in the way like JConsole does, not through the rmi(I just want to watch MBeans in the locally running machines). The good news is that I've recently found the article I need:

http://bluesjava.blogspot.com/2010/03/access-local-sun-15-jvm-jmx-mxbeans.html

But I actually haven't started to develop the client in such a way. cause I've been installing all the applications on my test environment I need. I'll give you a reply, when I will finish the application.

May be it will happen to be usefull for you too!
12 years ago
Hello to everyone! I've recently started writing my own tool(like twiddle) for collecting Mbeans attributes from JBoss server. I'd like it to work in the same manner a Jconsole does. The code is below:

It works in the Java 6 as expected.But the problem is that "VirtualMachine" Class isn't available through the Java 5. Have anybody got any suggestions how to make it work in the Java 5. Thank in advance!
12 years ago
Thank you. Peter! I will try to make it this way!
12 years ago
Thank you. Peter! I'm already about to writing my own JMX code. But. to tell you the truth. I still want to watch on the performance view of the mentioned four steps, is there any open source tool or just a trial one to make a plots like this: dependency between time to load and the number of step in twiddle loading process. Just for example I want to see some kind of this: The loading of the JVM takes 30 sec, connection takes 15 sec, and so on. Thanks a lot!
12 years ago
Thanks for reply. Well. the time is about a second to get one argument in the jboss.web. The problem is that we need much more arguments to be retrieved through JMX. So we just put the query to start twiddle with a get parameter inside the loop in powershell script. and we want to see output in SCOM in a live time. So if we have for example 10 argunebts in the Mbean to be retrieved we need 10 sec for script to run and this is too long(( And I just need to view the sequence of loading all modules when running the twiddle to watch which of them take the biggest time.
12 years ago
Hello to everyone! I'm a novice to JBoss and have some problems/ The problems are that I need to get some metrics through the JMX(just for example : heap memory). Well, It is realized by putting the query to run the twiddle in the powershell script for futher running in SCOMR2. The problem is that twiddle is needed a great time to get the parameters. Can you tell me the reason of the problem? Or the way how can I get the performance metrics and loading sequence of different modules?
Thanks a lot!

12 years ago