Tuesday, April 17, 2007

BEA Weblogic: What to to do if the deployment is becoming slower and slower?

- Important: Make a copy of directory /myserver
- Delete directory myserver
- Reconfigure Users and Groups

Wednesday, April 11, 2007

How to call ant from a batch file

example:

call ant clean
call ant products
call ant whatever
cd "C:\Programme\Internet Explorer"
c:
iexplore http://www.google.com

Tuesday, April 10, 2007

EJB-QL using BEA Weblogic

Define Queries in "ejb-jar.xml"
Define Mapping in "weblogic-cmp-rdbms-jar.xml

How to select the first table row in Oracle?

select * from table where rownum = 1

Grep & Find

Find all files which contains " test ":
grep -lri "[[:space:]]test[[:space:]]" *

Find all files with the name test
find . -name "test"