[jboss-dev-forums] [Design of JCA on JBoss] - Re: DeploymentInfo/Template MCF
vickyk
do-not-reply at jboss.com
Tue Dec 4 05:41:31 EST 2007
I am trying to run the org.jboss.test.profileservice.test.ProfileServiceUnitTestCase which seems to be failing right now .
I wanted to enable the debug tracing in the above test where to set it . I wanted to see the following log details in this method
| protected ManagementView getManagementView()
| throws Exception
| {
| if( activeView == null )
| {
| InitialContext ctx = getInitialContext();
| ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
| activeView = ps.getViewManager();
| ProfileKey defaultKey = new ProfileKey("default");
| activeView.loadProfile(defaultKey);
| log.info("Loaded profile: "+defaultKey);
| // Init the VFS to setup the vfs* protocol handlers
| VFS.init();
| }
| return activeView;
| }
|
>From the test report I could make the log4j.xml location , putting the TRACE logging for org.jboss.test did not give the info output
anonymous wrote :
| Testsuite: org.jboss.test.profileservice.test.ProfileServiceUnitTestCase
| Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 3.164 sec
| ------------- Standard Error -----------------
| Found log4j.xml: file:/home/vicky/workspace/jboss5/testsuite/output/resources/log4j.xml
| ------------- ---------------- ---------------
|
| Testcase: testProfileKeys took 1.241 sec
| Testcase: testDeploymentNames took 0.752 sec
| Testcase: testTemplateNames took 0.496 sec
| Testcase: testAddDataSource took 0.623 sec
| Caused an ERROR
| obj parameter must not be null
| java.lang.IllegalArgumentException: obj parameter must not be null
| at javax.xml.bind.helpers.AbstractMarshallerImpl.checkNotNull(AbstractMarshallerImpl.java:417)
Where to enable log tracing ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110126#4110126
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110126
More information about the jboss-dev-forums
mailing list