For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 4 replies, 3 voices, and was last updated 14 years, 6 months ago by
Brian Fernandes.
-
AuthorPosts
-
DJDoubleDMemberHi
We have recently upgraded our websphere server from 6.1 to 7.0 and decided to also migrate our MyEclipse version to the latest Blue edition for WAS7 support.
In websphere, we set up the JVM systemOut and systemErr logging to be written to the console, which was perfectly caught in the MyEclipse console using the websphere 6.1 connector. With the new Websphere 7 connector, the server is started in a different manner and the standard output from WAS is no longer automatically caught by the MyEclipse console…
After some searching and testing, we figured out that you now have to point the JVM SystemOut and JVM SystemErr log properties in the instance settings of the server to the respective outputfiles created by WAS (native_stdout.log & native_stderr.log for console logging) and you then get 2 consoles from your server instance: 1 with the start/stop logging and 1 with the contents of the stdout & stderr logs, which you have to manually select with the “display selected console” listbox in the console view….
So now for my questions:
1) Why does the WAS7 connector not automatically capture the WAS console output like the WAS6.1 connector. Can this be changed?2) Why do you get 2 consoles with the WAS7 connector or is there a way to merge these 2 consoles into 1?
Thanks for the info
March 9, 2011 at 8:46 am #315094
DJDoubleDMemberSry, my post seems to have been submitted twice. 1 can be removed.
March 10, 2011 at 10:05 am #315120
JJLeavesLAMemberHi DJDoubleD,
We are experiencing the same problem. If you find a solution, we would appreciate you share with us.
Alex
March 11, 2011 at 3:10 am #315137
DJDoubleDMemberHi Alex
When you say you are experiencing the same problem, do you mean you still can’t get the WAS output in the myeclipse console after selecting the “status” console in the view?
I did manage to get the console output in myeclipse, it’s just very annoying to have to manually select the correct console view and would like to have it work as 1 console like with the WAS6.1 connector.If you’re still having problems getting the console output alltogether, I’d be happy to list the steps I took to set it up.
regards
DavidMarch 11, 2011 at 6:05 am #315144
Brian FernandesModeratorDavid,
We are aware of this problem and will actually be fixing it in the 9.0 GA release that is due at the end of next week. There will still be two consoles, but you will have the auto activate capability, just like a regular process console. The redirection of JVM systemOut and systemErr to the console would still need to be undone, however – the default WAS behavior of sending this output to the log files would be required.
The reason why WAS 7 is different form WAS 6.x is due to the way in which the server is started. We have now moved to a more “WebSphere natural” two step process, which is why there are two consoles, unfortunately, we cannot merge them. The change in the start technique was required to handle more complex applications which would not work when WAS was started with the single step process.
Sorry again for the inconvenience caused, we know that the behavior is irritating and that is why we are fixing it in MyEclipse 9.
-
AuthorPosts