How to Extend IBM Websphere 7 Trial Period

I would like to introduce two simple ways to extend (or eliminate) the Websphere Application Server trial period:

I. Delete the /properties/was.license file (when restarting the WAS7 server, the file will be recreated and the eval period restarts)

II. Use the java code below to generate your own license file… (the generated license file will never expire)


import java.io.File;
import java.io.FileOutputStream;
import java.io.ObjectOutputStream;
import java.util.Date;
public class WAS7LicGen {
public static void main(String[] args) throws Exception {
Date creationDate= new Date();
Date expirationDate=new Date();
FileOutputStream fos = new FileOutputStream(new File("./was.license"));
ObjectOutputStream oos = new ObjectOutputStream(fos);
oos.writeInt(0);
oos.writeObject(creationDate);
oos.writeObject(expirationDate);
oos.close();
fos.close();
}
}

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.