Wednesday, December 8, 2010

Starting WLS Managed Server without entering the credentials

Its simple. Create the boot.properties file under the managed server directory and provide the credentials.
$MW_HOME/user_projects/domains/[domain]/servers/[managed_server]/security


In my case the location is:


/home/ganesh/software/Oracle/MiddlewarePS2/user_projects/domains/soa_domain/servers/soa_server1/security

Also
If you want to specify a custom directory add the following to the startup scripts for the server.
-Dweblogic.system.BootIdentityFile=(path)/boot.properties


How to print screen in Mac

Do Apple cmd+Shift+3 and there you go the screenshot will be saved in your desktop..
cmd+Shift+4 will allow a screen selection to be captured to the clipboard

cannot start Integrated App Server Connection is Jdev?

As I work very frequently from home, my jdev always has the proxy server setup in the Jdev
preference so that I can remotely connect to hosted soa instances thru VPN.

Lately I have been building a new SOA suite installation in my Mac through an ubuntu vmware... when I tried to connect to the soa domain through Jdev, I was getting the following error:
Testing JSR-160 Runtime ... failed.
Cannot establish connection.
Testing JSR-160 DomainRuntime ... skipped.
Testing JSR-88 ... skipped.
Testing JSR-88-LOCAL ... skipped.
Testing JNDI ... skipped.
Testing JSR-160 Edit ... skipped.
Testing HTTP ... success.
Testing Server MBeans Model ... skipped.

The http connection test went through fine and weirdly the rest of the test failed..  After breaking my head for the reason, I realized that the issue was due to the proxy server settings and after removing it from the preferences, it all worked out fine..