WildFly SelfMonitor submodule
by Ondrej Zizka
Hi all,
a module for self-monitoring of WildFly was the goal of the diploma
thesis by Vojtech Schlemmer.
I know that in the meantime, Heiko created a submodule for the same purpose.
Still, it could be worth looking at Vojtech's result:
https://is.muni.cz/th/325163/fi_m/?furl=%2Fth%2F325163%2Ffi_m%2F;so=nx;la...
For docs see the text of the thesis (in English), for working configured
server download the Appendix.
It is configurable through CLI (what to monitor, interval of each
monitored metric, aggregation).
One distinctive feature is storing into a database using WildFly's
datasource (IIRC the other doesn't have it).
Copy on GitHub: https://github.com/OndraZizka/wildfly-selfmonitor
It's a rough prototype, so the implementation of some features is really
basic and, so to say, not optimal.
Enjoy :)
9 years, 10 months
Serialization issue when using local instance
by sri.kmb@gmail.com
Hello Guys,
I've been noticing the following issues in my ear application server in
JBoss AS.
Version : JBoss AS 7.1.1-Final
1) Serialization is happening when using local view of an ejb. Is that
possible?
2) Cdi/weld injection (using @Inject) of ejb within a ear module : local or
remote proxy view? what's expected?
3) How to configure the preference (local or remote) of injection for each
deployment?
I just printed the instance of the injected bean in the log to
differentiate its nature.
1) Local instance => "Proxy for view class:
com.xxx.yy.core.service.SampleService of EJB: SampleServiceImpl"
2) Remote instance => "Proxy for remote EJB
StatelessEJBLocator{appName='sample', moduleName='core', distinctName='',
beanName='SampleServiceImpl', view='interface
com.xxx.yy.core.service.SampleServiceRemote'}"
Is my above assumption correct?
Sample code (another issue) is in the stackoverflow :
http://stackoverflow.com/questions/28229336/injecting-ejb-bean-using-cdi
I wanted to avoid the unnecessary serialization happening within a module.
I can't disable the jboss serialization, because I've an another ear module
which communicates using the remote view (pass by value).
I also tried to debug/understand the jboss source code but i couldn't,
because there are lot of missing parts. Since It has many modules hosted in
different places, not easy to setup and debug for new developer. Is there a
guide or wiki which talks about how the jboss/wildfly works *internally*.
It would be helpful if someone shares that links (other than
HackingOnWildfly/HackingAS7usingEclipse wiki's).
Thanks
--
~Sriram~
9 years, 10 months