It's all about the answers!

Ask a question

First HelloJazz error


os waldl (4675) | asked Oct 08 '09, 11:50 p.m.
i was running a HelloJazz in Junit test,but i got this error:
"The request for URL '**' was denied with a Not Available status."
i am using rtc-express2.0.0.1,with tomcat as the server, but i got quit confused with the deployment of the server side,
i just simply run the "server.startup", is that enough?
looking for help!

6 answers



permanent link
Anthony Kesterton (7.5k7180136) | answered Oct 09 '09, 12:47 p.m.
JAZZ DEVELOPER
i was running a HelloJazz in Junit test,but i got this error:
"The request for URL '**' was denied with a Not Available status."
i am using rtc-express2.0.0.1,with tomcat as the server, but i got quit confused with the deployment of the server side,
i just simply run the "server.startup", is that enough?
looking for help!


Hi

server.startup is just fine to start your server. Check Tomcat window that should have come up when you ran the startup script and make sure the server is started (it says something like "server started in xxxx ms" once it is up. Is there anything else in that window after the "server started" message?

anthony

permanent link
os waldl (4675) | answered Oct 09 '09, 9:19 p.m.

Hi

server.startup is just fine to start your server. Check Tomcat window that should have come up when you ran the startup script and make sure the server is started (it says something like "server started in xxxx ms" once it is up. Is there anything else in that window after the "server started" message?

anthony


no message after "server startup in 15546ms", and there no big error before that except this:
09:03:01,281 ERROR x.internal.javascript.JavaScriptDependencyAnalyzer - Error procssing CSS Binding. Unable to locate javascript module for

the error i found in junit test is "The request for URL '**' was denied with a Not Available status." isn't that mean it can't find/local the server side? so my quesion is:after i start up tomcat, will it deploy "com.example.hellojazz.service"&"com.example.hellojazz.common" automatically? if not, anything i miss?

permanent link
os waldl (4675) | answered Oct 12 '09, 6:46 a.m.
still hope someone can help with the deployment of jazz,
now i have run a simple servlet sample, it uses jetty.
Jetty is new to me,and jetty acts like a tomcat/container. But obviously it is not the same in 'jazzhome\server\tomcat',because i cannot login when i start jetty.
Here comes my quesion,Does jazz use jetty as the container,or tomcat in 'jazzhome\server\',or else?

permanent link
os waldl (4675) | answered Oct 12 '09, 9:46 p.m.
when i run the junit test , i got this , anyone know why?

com.ibm.team.repository.common.transport.TeamServiceException: CRJAZ0099I HTTP error "Remote host closed connection during handshake" accessing URL "https://localhost:9080/jazz/service/com.ibm.team.repository.common.internal.IRepositoryRemoteService".
at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:179)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeCancelableHttpMethod(RemoteTeamService.java:554)
at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:527)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:467)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:197)
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:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:149)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:84)
at $Proxy0.describe(Unknown Source)
at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1377)
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:1164)
at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)
at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1157)
at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(TeamRepository.java:1370)
at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:566)
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:62)
at org.eclipse.pde.internal.junit.runtime.CoreTestApplication.run(CoreTestApplication.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at com.ibm.jsse2.jc.a(jc.java:244)
at com.ibm.jsse2.jc.g(jc.java:168)
at com.ibm.jsse2.jc.a(jc.java:106)
at com.ibm.jsse2.jc.startHandshake(jc.java:129)
at com.ibm.team.repository.transport.client.SecureInterruptableSocketFactory.createSocket(SecureInterruptableSocketFactory.java:157)
at com.ibm.team.repository.transport.client.SecureInterruptableSocketFactory.createSocket(SecureInterruptableSocketFactory.java:317)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:148)
... 54 more
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at com.ibm.jsse2.a.a(a.java:27)
at com.ibm.jsse2.jc.a(jc.java:325)
... 66 more

permanent link
Ralph Schoon (63.1k33646) | answered Oct 13 '09, 3:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

I am not sure what you are trying here. My assumption is you try to start with Team Concert extensibility. There is a forum for this purpose.

http://jazz.net/forums/viewforum.php?f=2

If i am right it would make sense to post there and be a bit more specific on what you have done, if following an example at which step you are etc.

I haven't followed the example you are talking about (I guess I should take the time). My experience so far is that the hardest part is getting your development environment configured for the first time. E.g. for client and server extensions you need to setup and run separate workspaces. If you don't follow the steps exactly http://jazz.net/wiki/bin/view/Main/RtcSdk20 specifically https://jazz.net/wiki/bin/view/Main/RTCSDK20_DevelopmentEnvironmentSetup you are likely to fail.

Sorry that I can't help with more specific advice.

permanent link
os waldl (4675) | answered Oct 14 '09, 3:51 a.m.
Thanks so much,rschoon!
My problem has been solved and helljazz works!

Hi,

I am not sure what you are trying here. My assumption is you try to start with Team Concert extensibility. There is a forum for this purpose.

http://jazz.net/forums/viewforum.php?f=2

If i am right it would make sense to post there and be a bit more specific on what you have done, if following an example at which step you are etc.

I haven't followed the example you are talking about (I guess I should take the time). My experience so far is that the hardest part is getting your development environment configured for the first time. E.g. for client and server extensions you need to setup and run separate workspaces. If you don't follow the steps exactly http://jazz.net/wiki/bin/view/Main/RtcSdk20 specifically https://jazz.net/wiki/bin/view/Main/RTCSDK20_DevelopmentEnvironmentSetup you are likely to fail.

Sorry that I can't help with more specific advice.

Your answer


Register or to post 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.