Make sure you have setup Oracle Java Cloud Service.
- Start Putty by clicking on putty.exe
3. make sure Connection Type = SSH
4. Specify Saved Session name = Any Name. Prefer Giving some meaningful name based on IP/Service connected.
5. Expand “Connections” from left panel. Select “Data”,
Select “Connection->SSH” from left Panel,
Select “Connection->SSH->AUTH” from left panel,
Select “Connection->SSH->Tunnels” from left panel,
Specify Destination = Java Cloud Service Public IP:9001 and click “add”.
Select “Session” from Left Panel and “Save” configuration and Open. It will open a console like this,
At Putty console run below command,
>sudo su – oracle
It will switch current “opc” user to super user “oracle”.
Now you can go to weblogic logs folder and check the log using below command,
>tail -f logFileName.out
and then run you application again. Putty console will show real-time logs.