[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-11-07 Thread Christian Schulte (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_79526 ] Christian Schulte commented on MSUREFIRE-115: - I have similar problems (since more than a year!) but with the JDKs service provider lookup mechanism. At lea

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-10-09 Thread Kenney Westerhof (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_77008 ] Kenney Westerhof commented on MSUREFIRE-115: Taking another look at the unit test, the line to read the resource should be URL dateResource = getCla

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-10-06 Thread Ronny Naess (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_76786 ] Ronny Naess commented on MSUREFIRE-115: --- Anything new in this matter? I have testresources in two test dependent jars. My artifacts has who depends this test-jar

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-07-13 Thread Tim Riley (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_69780 ] Tim Riley commented on MSUREFIRE-115: - I seem to be experiencing this same issue when testing my JAXB 2.0.2 code. Where it runs perfect in the IDE but not in maven2. I have tri

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-06-14 Thread Olivier Lamy (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_67344 ] Olivier Lamy commented on MSUREFIRE-115: The workaround says : MyClass.class.getClassloader().getResourceAsStream("foo/bar.xml") and not MyClass.class.getClassloader().getR

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-06-14 Thread J?rg Hohwiller (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_67343 ] Jörg Hohwiller commented on MSUREFIRE-115: -- I have the same problem. The suggested classloader workaround does NOT work for me. I had "MyClass.class.getResourceAsStream("/

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-06-06 Thread Wim Deblauwe (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_66779 ] Wim Deblauwe commented on MSUREFIRE-115: Is it possible to put a snapshot with this fix somewhere so I can test it? > Classloading problem for getting a resource >

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-06-02 Thread Mark Holster (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_66519 ] Mark Holster commented on MSUREFIRE-115: While browsing through the issue's I noticed MSUREFIRE-123 and MSUREFIRE-121 are describing the same problem, and maby MSUREFIRE-10

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-06-02 Thread David Boden (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_66488 ] David Boden commented on MSUREFIRE-115: --- I have exactly the same problem running tests for which use Apache DBCP version 1.2.1 (latest). The tests can't see the *.jocl config

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-06-01 Thread Wim Deblauwe (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_66367 ] Wim Deblauwe commented on MSUREFIRE-115: I think so too, because I tried to use childDelegation, but it resulted in the same problem. > Classloading problem for getting a

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-05-31 Thread Mark Holster (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_66342 ] Mark Holster commented on MSUREFIRE-115: As far as I can see that option only chances the delegation order for loading the classes, but still uses the isolated classloader.

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-05-31 Thread Carlos Sanchez (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_66340 ] Carlos Sanchez commented on MSUREFIRE-115: -- The isolated classloader can be turned off with the childDelegation option http://maven.apache.org/plugins/maven-surefire-plugin

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-05-30 Thread Wim Deblauwe (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_66272 ] Wim Deblauwe commented on MSUREFIRE-115: I would be most gratefull if you could do that. Maybe some option to turn off the use of the isolated classloader? > Classloading

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-05-30 Thread Carlos Sanchez (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_66210 ] Carlos Sanchez commented on MSUREFIRE-115: -- Although this might be an incorrect use of the API, if it works in m1 and the IDEs it may be worth to check for a workaround in

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-05-30 Thread Wim Deblauwe (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_66171 ] Wim Deblauwe commented on MSUREFIRE-115: So very true, sorry about that. so, I guess I will have to talk to the betwixt team to not use this construct: Date.class.getResou

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-05-30 Thread Mark Holster (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_66161 ] Mark Holster commented on MSUREFIRE-115: That's because finding a resource by the Class object difference from finding a resource by a Classloader object: The Class.getReso

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-05-30 Thread Wim Deblauwe (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_66157 ] Wim Deblauwe commented on MSUREFIRE-115: I added 2 more tests, taking your suggestions into account. {noformat} public void testClassloading() { ClassLoader cla

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-05-30 Thread Kenney Westerhof (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_66152 ] Kenney Westerhof commented on MSUREFIRE-115: API doc for java.lang.Class: {noformat} public ClassLoader getClassLoader() Returns the class loader for the class. So

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-05-23 Thread Mark Holster (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_65715 ] Mark Holster commented on MSUREFIRE-115: I've tried to provide a patch for this issue, but after debugging for a while i'm not sure if this is a bug: The java.util.Date cla

[jira] Commented: (MSUREFIRE-115) Classloading problem for getting a resource

2006-05-22 Thread Adrian (JIRA)
[ http://jira.codehaus.org/browse/MSUREFIRE-115?page=comments#action_65677 ] Adrian commented on MSUREFIRE-115: -- I have a problem running tests using hibernate since it cannot load xml files that should be on the classpath. This might be the same issue. >