Eclipse client connection to Jetty Server throws error
JIT - 20091016_1845ifx7_r8
GC - 20091026_AA
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product com.ibm.team.concert.product
Command-line arguments: -product com.ibm.team.concert.product -data C:\RTC301Dev\workspaces\DEV\WS1/../WS2 -dev file:C:/RTC301Dev/workspaces/DEV/WS1/.metadata/.plugins/org.eclipse.pde.core/RTC Eclipse Client/dev.properties -os win32 -ws win32 -arch x86
Error
Mon Aug 18 19:21:36 EDT 2014
CRJAZ0106I The request for the URL "/jazz/service/com.ibm.team.scm.common.internal.IScmQueryService" was denied. The status is Not Available".
Any thoughts on what might not be configured correctly on the Jetty Server.
Any feedback is highly appreciated.
Thanks.
One answer
Comments
Yes, Jetty Server was started using Debug Configuration from Eclipse.
I have checked the Summary Status page and Component Status page on Server Administration page but do not see any errors. Everything seems to be running normally.
So you should see a bunch of errors in server's Eclipse console
I see one error related to log4j.properties not found as shown below.
Removed the java stack in the error message below.
og4j:ERROR Could not read configuration file from URL [file:/C:/RTC301Dev/workspaces/DEV/WS1/com.ibm.team.common.tests.utils/log4j.properties].
java.io.FileNotFoundException: C:\RTC301Dev\workspaces\DEV\WS1\com.ibm.team.common.tests.utils\log4j.properties (The system cannot find the file specified.)
log4j:ERROR Ignoring configuration file [file:/C:/RTC301Dev/workspaces/DEV/WS1/com.ibm.team.common.tests.utils/log4j.properties].
log4j:WARN No appenders could be found for logger (net.jazz.ajax/AjaxFramework).
log4j:WARN Please initialize the log4j system properly.
2014-08-19 11:14:31.699::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2014-08-19 11:14:40.525::INFO: jetty-6.1.x
2014-08-19 11:14:43.493::INFO: Started SocketConnector@0.0.0.0:9081
2014-08-19 11:14:44.587::INFO: Started SslSocketConnector@0.0.0.0:7443
right - so you're missing com.ibm.team.common.tests.utils
Actually, com.ibm.team.common.tests.utils is already loaded. The only thing missing was the log4j.properties file.
I copied it from server/conf/jts loaction to under tests.utils and the error disappeared at startup.
Now it starts clean as shown below. However, problem of connecting from eclipse client still persists.
2014-08-19 12:04:05.343::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2014-08-19 12:04:10.935::INFO: jetty-6.1.x
2014-08-19 12:04:13.685::INFO: Started SocketConnector@0.0.0.0:9081
2014-08-19 12:04:14.450::INFO: Started SslSocketConnector@0.0.0.0:7443
Hello,
Thanks Eric. I reviewed the technote.
I did not see any substantial difference on how the Eclipse client needs to be set-up, except for one JVM setting.
I had been following Ralph Scoon's extension workshop to set up development environment.
I also launched client from launch configuration in Eclipse and had no problem connecting to the Jazz Team server, however connecting the Jetty Server is a problem with ISCMQueryService denied message.