[Design of POJO Server] - Register dynamic class loading with a domain
by sguilhen@redhat.com
We've been facing test failures in the CTS interop web vehicles related to loading the stub classes used in the tests.
The ejb container succeeds at loading the stub classes because it uses the WebCL that generates these stubs on the fly. So, we've considered using a similar approach in the web container to get the stubs loaded - this logic is already available in the WebAppClassLoader but the logs show that this class loader is not being used in the tests scenarios.
I first wanted to just enforce the use of this class loader again, but Scott thinks a more general solution is needed:
anonymous wrote :
| The ejb container to dynamic class loader behavior is very specific to the class loader in use. We should come up with a more general solution based on the new class loading domains so that any component can register its dynamic class loading with a domain.
|
As Adrian said, we can always include the stub classes in the vehicles war deployments to have the tests passing, but it would be good to have a more general solution in place.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157052#4157052
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157052
16 years, 3 months
[Design of POJO Server] - Re: HDScanner exception
by scott.stark@jboss.org
I have reproduced it on a new f9 install with the latest sun jdk:
| 06:56:05,036 INFO [ServerInfo] Java version: 1.5.0_15,Sun Microsystems Inc.
| 06:56:05,045 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 1.5.0_15-b04,Sun Microsystems Inc.
| 06:56:05,045 INFO [ServerInfo] OS-System: Linux 2.6.25-14.fc9.x86_64,amd64
|
each hd scan is leaking 27 descriptors it seems, and the lsof count for the process just keeps growing.
| [starksm@banshee testsuite]$ lsof -p 20881 | wc
| 146 1306 19918
| [starksm@banshee testsuite]$ lsof -p 20881 | wc
| 128 1142 17046
| [starksm@banshee testsuite]$ lsof -p 20881 | wc
| 151 1349 21177
| [starksm@banshee testsuite]$ lsof -p 20881 | wc
| 178 1592 25874
| [starksm@banshee testsuite]$ lsof -p 20881 | wc
| 205 1835 30571
| ...
| [starksm@banshee testsuite]$ lsof -p 20881 | wc
| 259 2321 39965
| ...
| [starksm@banshee testsuite]$ lsof -p 20881 | wc
| 529 4751 86935
| ...
| [starksm@banshee testsuite]$ lsof -p 20881 | wc 1042 9368 176178
|
I also see the same problem with the open jdk 1.6.0-b09 bundled with f9.
I guess http://jira.jboss.com/jira/browse/JBCOMMON-55 should be reopened.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157027#4157027
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157027
16 years, 3 months