log4j , jetty activator error
Hi all,
On executing JUnit-Test in HelloJazz example I am getting following error. log4j:WARN No appenders could be found for logger (com.ibm.team.server.embedded.jetty.auth.Activator). log4j:WARN Please initialize the log4j system properly. org.mortbay.util.MultiException --- This error came after I extracted JUnitTests archvie to jazz folder. Also I am getting following error: "Service is not defined for remote execution". |
2 answers
mapagile_tcs wrote:
Hi all, The "Address already in use" probably means that you are running one instance of the Jazz server (for your development) and now trying to start another (for debugging) on the same ports and the same machine. There are some notes on the wiki about how to change the ports used by the Jetty launch configuration: https://jazz.net/wiki/bin/view/Main/JazzServerRunAndDebug See the section "Controlling the ports used for remote mode". -- Chris Daly Jazz Component Development Team |
Thanks a lot for your help. It solved my previous error, but now I am getting a new error on executing JUnitTest launch.
Here is the copy of trace. -------------- com.ibm.team.repository.common.transport.ServiceNotAvailableException: The request for URL "/jazz/service/com.ibm.team.repository.common.internal.IRepositoryRemoteService" was denied with a not available at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:238) at com.ibm.team.repository.transport.client.RemoteTeamService.executeCancelableHttpMethod(RemoteTeamService.java:458) at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:448) at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:397) at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:180) at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43) at $Proxy0.describe(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:147) at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:82) at $Proxy0.describe(Unknown Source) at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1244) at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1) at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1077) at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:76) at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1070) at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(TeamRepository.java:1237) at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:497) at com.example.hellojazz.client.tests.TestHelloJazz.login(TestHelloJazz.java:71) at com.example.hellojazz.client.tests.TestHelloJazz.setUp(TestHelloJazz.java:28) at junit.framework.TestCase.runBare(TestCase.java:128) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:58) at org.eclipse.pde.internal.junit.runtime.CoreTestApplication.run(CoreTestApplication.java:24) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethod(EclipseAppContainer.java:572) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:171) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) at org.eclipse.equinox.launcher.Main.run(Main.java:1173) at org.eclipse.equinox.launcher.Main.main(Main.java:1148) ----------------- mapagile_tcs wrote: Hi all, The "Address already in use" probably means that you are running one instance of the Jazz server (for your development) and now trying to start another (for debugging) on the same ports and the same machine. There are some notes on the wiki about how to change the ports used by the Jetty launch configuration: https://jazz.net/wiki/bin/view/Main/JazzServerRunAndDebug See the section "Controlling the ports used for remote mode". -- Chris Daly Jazz Component Development Team |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.