Register | Login

Published Articles

If the heap size needs to be set for all the instance to the same value then use the run.conf in the bin directory


e.g. $JBOSS_HOME/bin/run.conf


set the JAVA_OPTS value as


JAVA_OPTS="-Xms1303m -Xmx1303m”


The good

System Dumps generation in AIX

Posted by madeeswer 2429 days ago (Editorial)

System dumps are taken to get a clear picture of systems utilization at that exact moment.


Normally system dumps are taken along with the java heap dump and thread dump for getting a clear picture about the system.


 


following are the steps to generate system dumps,


 


1.  Login  as root user


2. generate gencore file




Normally Jboss will allow command line arguments. The good practice is to keep a separate file for command line argument and point that file during start up.


In order to point a file containing arguments '-P' is the option used.


e.g.


make a file

Manually generating thread dump in jboss 4 or 5

Posted by madeeswer 2434 days ago (Editorial)


Thread dumps are generated by JVM either automatically or manually. In order to figure out a problem proactively, we might require to generate thread dumps in various scenarios.


Thread dumps are generated using the following command


kill -3 pid



ksh shell keyboard short cuts

Posted by madeeswer 2416 days ago (Editorial)

KSH is one the shell available in many Unix flavors. Ksh is the default shell for Solaris.


below mentioned are few shortcuts available in ksh,


 


Auto complete ------> [ESC]-


Forward One Character —-> —-> [ESC]-l


Backward One Character —-> [ESC]-h


Delete One Character —-> [ESC]-x


Replace One Cha

Websphere normally holds NDM's cache on wstemp and applicaiton servers cache on temp directory that is created under each application.


 


wstemp can be cleared on the run but temp directory under the application server cannot be deleted like that because applciation might hold some data inside that folder.


 


Follow the below mentioned steps inorder to h

Solaris lsof equivalent script command

Posted by madeeswer 2178 days ago (Editorial)

for PID in `/usr/bin/ps -e -o pid`;do


echo Checking PID $PID...


/usr/local/bin/sudo /usr/bin/pfiles $PID|grep port:


done


Follow the below mentioned steps to migrate an application from rails 2.2 to rails 2.3.


1. Install/Upgrade your rails to rails 2.3.5 and also install/upgrade dependency gem packages.


2. make a copy of your old rails application


3. change name of rails_home/app/controller/application.rb to rails/home/app/controller/application_controller.rb


4. change the rails ve

We need to create one soft link in order to make firefox or chrome detect your jre installation.


 


ln -s /usr/java/jre1.6.0_20/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so


 


What is Jython

Posted by madeeswer 2303 days ago (Editorial)

Jython is an implementation of the high-level, dynamic, object-oriented language Python seamlessly integrated with the Java platform.


 


Jython is suited for



  • Embedded scripting - Java programmers can add the Jython libraries to their system to allow end users to write simple or complicated scripts that add functionality to the appli

Find command can be used to find files with specific permission like 777 or 775 or 666.

Use the below mentioned command to find the files with 777 permission,

find -perm

e.g. find /home/test -perm 777

This will list all the files with 777 permission under /home/test folder.


In order to search for files with some other permission then change the 777 according the file permiss


Sort News
Username:

Password:

Remember:
YourWiz.com, is a website that will allow everyone to share their knowledge, tip or information through community micro blogging.