I often want to search through a large number of JAR files looking for a particular class, and every time I do this I wish I had some utility to make it easier....
I often want to search through a large number of JAR files looking for a particular class, and every time I do this I wish I had some utility to make it easier. So I finally made one: #!/bin/sh TARGET="$1" for i in `find . -name "*jar"` do jar tvf $i | grep $TARGET > /dev/null if [ $? == 0 ] then echo "$TARGET is in $i" fi done Update: My colleague Chris Johnson just posted a better version of this, with some caching over at the Fusion Security Blog.
I often want to search through a large number of JAR files looking for a particular class, and every time I do this I wish I had some utility to make it easier. So I finally made one:...
Introduction Recently, I have been working with a number of customers on JVM tuning exercises. It seems that there is not widespread knowledge amongst...
Introduction Recently, I have been working with a number of customers on JVM tuning exercises. It seems that there is not widespread knowledge amongst developers and administrators about how garbage collection works, and how the JVM uses memory. So, I decided to write a very basic introduction and an example that will let you see it happening in real time! This post does not try to cover everything about garbage collection or JVM tuning – that is a huge area, and there are...
Introduction Recently, I have been working with a number of customers on JVM tuning exercises. It seems that there is not widespread knowledge amongst developers and administrators about how garbage...
Introduction Here is a sample code to show how to extract JVM GC statistics from JVM log files. Main Article Recently, I was doing some work on tuning Garbage...
Introduction Here is a sample code to show how to extract JVM GC statistics from JVM log files. Main Article Recently, I was doing some work on tuning Garbage Collection in a HotSpot JVM (Sun JVM) underneath WebLogic Server 10.3.3. In order to do this, I wanted to look at the Garbage Collection logs. The JVM will produce these logs for you if you pass in the following parameters: -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:gc.log In this particular case though, only...
Introduction Here is a sample code to show how to extract JVM GC statistics from JVM log files. Main Article Recently, I was doing some work on tuning Garbage Collection in a HotSpot JVM (Sun...
Introduction I was working with a very large VMWare image today, containing Oracle E-Business Suite R12. The image is located on an external USB drive, simply...
Introduction I was working with a very large VMWare image today, containing Oracle E-Business Suite R12. The image is located on an external USB drive, simply because it is too large to fit on the internal disk on the available host machine. It was running very, very slow, in fact so slow that it was completely unusable. A little bit of research turned up some settings that can be used in this kind of situation. Main Article The problem seems to be that VMWare creates a...
Introduction I was working with a very large VMWare image today, containing Oracle E-Business Suite R12. The image is located on an external USB drive, simply because it is too large to fit on the...
I spent several hours today beating my head against a wall and thought I'd post this in case anyone else runs into the same problem. I have a virtual...
I spent several hours today beating my head against a wall and thought I'd post this in case anyone else runs into the same problem. I have a virtual environment with two machines, one is a KDC and one is just a WebLogic server. I setup WebLogic to do Kerberos, following the directions in the the documentation and could not figure out what I was doing wrong. Whenever I accessed WebLogic I kept seeing the header "Authorization: Negotiate TlRMTVNTUAAB..." with only a short...
I spent several hours today beating my head against a wall and thought I'd post this in case anyone else runs into the same problem. I have a virtual environment with two machines, one is a KDC and...
Introduction A quick post as I find that the JDeveloper integrated server will not start with JDeveloper 11.1.1.2 in some cases, looks like when the user’s home...
Introduction A quick post as I find that the JDeveloper integrated server will not start with JDeveloper 11.1.1.2 in some cases, looks like when the user’s home directory has a space in the path. Main Article You can work around this issue by adding a line to the JDeveloper configuration file at <JDEV_HOME>\jdev\bin\jdev.conf as follows: AddVMOption -Dide.user.dir=c:/jdev/jdevhome You need to set the path name at the end to something without a space in it. Note that this...
Introduction A quick post as I find that the JDeveloper integrated server will not start with JDeveloper 11.1.1.2 in some cases, looks like when the user’s home directory has a space in the path....
Introduction This post provides a sample SQL to query tablespaces statistics. Main Article I occasionally want to know what tablespaces I have defined, how big...
Introduction This post provides a sample SQL to query tablespaces statistics. Main Article I occasionally want to know what tablespaces I have defined, how big they are and how much free space is available. Thanks to Praveen at http://www.expertsharing.com/2008/02/26/calculate-size-of-tablespace-free-space-of-a-tablespace/ for providing the following query, which makes this information available easily. # Copyright 2012 Oracle Corporation. # All Rights Reserved. # # Provided...
Introduction This post provides a sample SQL to query tablespaces statistics. Main Article I occasionally want to know what tablespaces I have defined, how big they are and how much free space is...
Introduction This post discusses an approach to bypass a database startup failure due to a missing datafile. Datafiles are physical files used by the Oracle...
Introduction This post discusses an approach to bypass a database startup failure due to a missing datafile. Datafiles are physical files used by the Oracle database for storing data. Dropping a datafile or tablespace results in permanent loss of data. As such, this procedure should be only considered in environments such as Dev or Test where data loss is not an issue. Main Article I had a situation today where my database would not start because “someone” had deleted a...
Introduction This post discusses an approach to bypass a database startup failure due to a missing datafile. Datafiles are physical files used by the Oracle database for storing data. Dropping a...