Problem syncing jazz.net forums with NNTP newsgroups
8 answers
The problem with the sync between the web forums and the NNTP newsgroups has
been fixed. Any new posts to the forums will be propagated to the
newsgroups. Let me know if you see any problems.
I will investigate the possibility of syncing previous posts that failed to
replicate back to the NNTP newsgroup... This does not appear to be
straightforward, but I will fix it if possible.
Thanks,
Matt
been fixed. Any new posts to the forums will be propagated to the
newsgroups. Let me know if you see any problems.
I will investigate the possibility of syncing previous posts that failed to
replicate back to the NNTP newsgroup... This does not appear to be
straightforward, but I will fix it if possible.
Thanks,
Matt
Hello,
I am interested in the algorithm to traverse the resource tree too.
Could you share? Thanks.
Heather Fraser-Dube wrote:
I am interested in the algorithm to traverse the resource tree too.
Could you share? Thanks.
Heather Fraser-Dube wrote:
jingweno wrote:
FileSystemCore.getSharingManager().allShares() only returns the IShare
in the top most folder, e.g. the project folder.
Is it possible to get all the IShare under this folder, e.g. a IFile?
I tried FileSystemCore.getSharingManager().allShares(path) but it
does not work.
A IShare corresponds to the root of the versionable tree that has been
"shared" to disk. To get the IShareables under the share use the
algorithm Dmitry gave you to traverse the resource tree and adapt to
IShareable.
The char(23) columns most likely map to internal UUID datatypes. A
String EMF attribute would commonly map to varchar(250) so I imagine
that FieldKind.STRING would also map to varchar(250).
Matt Lavin
Jazz Server Team
cceliberti wrote:
String EMF attribute would commonly map to varchar(250) so I imagine
that FieldKind.STRING would also map to varchar(250).
Matt Lavin
Jazz Server Team
cceliberti wrote:
Hi,
I have created plugin extends dw:
com.ibm.team.datawarehouse.service.odc
I have created tables using repotools.
But the attributes of the odc tables are character(23) and not
varchar(250).
How do I create tables with varchar attributes(250)?
Why is one column varchar(250) even if I did not change anything? I
don't understand.
Does the field: FieldKind.STRING represent a char(23) by default?
Infact when I use my plugin (by the snapshot) the result in tomcat
console is:
17:38:56,849 WARN sqlExceptionLogger
- Str
ing data, right truncation
SQL: SELECT ODC_VALID_ID FROM ODC_SNAPSHOT.ODC_VALID WHERE
ODC_VALID_ID = ?
SQL Exception #1
SQL Message: DB2 SQL error: SQLCODE: -302, SQLSTATE: 22001, SQLERRMC:
null
SQL State: 22001
Error Code: -302
com.ibm.db2.jcc.c.SqlException: DB2 SQL error: SQLCODE: -302,
SQLSTATE: 22001, SQLERRMC: null
at com.ibm.db2.jcc.c.kh.c(kh.java:1660)
at com.ibm.db2.jcc.c.kh.a(kh.java:1224)
at com.ibm.db2.jcc.b.db.n(db.java:737)
at com.ibm.db2.jcc.b.db.i(db.java:257)
at com.ibm.db2.jcc.b.db.c(db.java:53)
at com.ibm.db2.jcc.b.t.c(t.java:46)
at com.ibm.db2.jcc.b.sb.g(sb.java:154)
at com.ibm.db2.jcc.c.kh.o(kh.java:1219)
at com.ibm.db2.jcc.c.lh.d(lh.java:2436)
at com.ibm.db2.jcc.c.lh.d(lh.java:2507)
at com.ibm.db2.jcc.c.lh.S(lh.java:432)
at com.ibm.db2.jcc.c.lh.executeQuery(lh.java:415)
at
com.ibm.team.repository.service.internal.db.jdbcwrappers.stat.PreparedStatementStatWrappe
r.executeQuery(PreparedStatementStatWrapper.java:57)
at
com.ibm.team.repository.service.internal.db.jdbcwrappers.errlog.PreparedStatementErrLogWr
apper.executeQuery(PreparedStatementErrLogWrapper.java:75)
at
com.ibm.team.repository.service.internal.db.jdbcwrappers.leak.PreparedStatementLeakWrappe
r.executeQuery(PreparedStatementLeakWrapper.java:54)
at
com.ibm.team.datawarehouse.service.AbstractSnapshotService.storeTableRecord(AbstractSnaps
hotService.java:674)
at
com.ibm.team.datawarehouse.service.AbstractSnapshotService.access$1(AbstractSnapshotServi
ce.java:658)
at
com.ibm.team.datawarehouse.service.AbstractSnapshotService$2.run(AbstractSnapshotService.
java:364)
at
com.ibm.team.datawarehouse.service.internal.DataWarehouseAdminService$6.run(DataWarehouse
AdminService.java:435)
at
com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(Repository
Database.java:310)
at
com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(Reposito
ryDatabase.java:241)
at
com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionS
ervice.java:74)
at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServ
iceRecord.java:375)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxySe
rviceRecord.java:361)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocat
ionHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy31.runInTransaction(Unknown Source)
at
com.ibm.team.datawarehouse.service.internal.DataWarehouseAdminService.write(DataWarehouse
AdminService.java:432)
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.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServ
iceRecord.java:375)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxySe
rviceRecord.java:361)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocat
ionHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy63.write(Unknown Source)
at
com.ibm.team.datawarehouse.service.AbstractSnapshotService.write(AbstractSnapshotService.
java:260)
at
com.ibm.team.datawarehouse.service.AbstractSnapshotService.storeTableRecord(AbstractSnaps
hotService.java:361)
at
com.ibm.team.datawarehouse.service.odc.internal.OdcSnapshotService.insertValid(OdcSnapsho
tService.java:208)
at
com.ibm.team.datawarehouse.service.odc.internal.OdcSnapshotService.access$1(OdcSnapshotSe
rvice.java:202)
at
com.ibm.team.datawarehouse.service.odc.internal.OdcSnapshotService$1.run(OdcSnapshotServi
ce.java:140)
at
com.ibm.team.datawarehouse.service.internal.DataWarehouseAdminService$6.run(DataWarehouse
AdminService.java:435)
at
com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(Repositor
yDatabase.java:455)
at
com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(Repository
Database.java:286)
at
com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(Reposito
ryDatabase.java:241)
at
com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionS
ervice.java:74)
at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServ
iceRecord.java:375)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxySe
rviceRecord.java:361)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocat
ionHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy31.runInTransaction(Unknown Source)
at
com.ibm.team.datawarehouse.service.internal.DataWarehouseAdminService.write(DataWarehouse
AdminService.java:432)
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.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServ
iceRecord.java:375)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxySe
rviceRecord.java:361)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocat
ionHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy63.write(Unknown Source)
at
com.ibm.team.datawarehouse.service.AbstractSnapshotService.write(AbstractSnapshotService.
java:260)
at
com.ibm.team.datawarehouse.service.odc.internal.OdcSnapshotService.populateOdcTable(OdcSn
apshotService.java:92)
at
com.ibm.team.datawarehouse.service.odc.internal.OdcSnapshotService.populateOdcTable(OdcSn
apshotService.java:87)
at
com.ibm.team.datawarehouse.service.odc.internal.OdcSnapshotService.updateSnapshot(OdcSnap
shotService.java:59)
at
com.ibm.team.datawarehouse.service.AbstractSnapshotService.updateData(AbstractSnapshotSer
vice.java:116)
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.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServ
iceRecord.java:375)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxySe
rviceRecord.java:361)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocat
ionHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy157.updateData(Unknown Source)
at
com.ibm.team.datawarehouse.service.internal.DataWarehouseAdminService$2.run(DataWarehouse
AdminService.java:114)
at
com.ibm.team.repository.service.internal.permission.ImpersonationService.runAs(Impersonat
ionService.java:44)
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.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServ
iceRecord.java:375)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxySe
rviceRecord.java:361)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocat
ionHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy62.runAs(Unknown Source)
at
com.ibm.team.datawarehouse.service.internal.DataWarehouseAdminService.updateSnapshotData(
DataWarehouseAdminService.java:104)
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.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServ
iceRecord.java:375)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxySe
rviceRecord.java:361)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocat
ionHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy63.updateSnapshotData(Unknown Source)
at
com.ibm.team.reports.service.internal.ReportRestService.postUpdateSnapshotData(ReportRest
Service.java:718)
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.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServ
iceRecord.java:375)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxySe
rviceRecord.java:361)
at
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocat
ionHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy108.postUpdateSnapshotData(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.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractT
eamServerServlet.java:493)
at
com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServl
et.java:1379)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletM
anager.java:180)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegist
ration.java:90)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111
)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:115)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Htt
p11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.ja
va:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:810)
and so also for other attributes.
Are you seeing any other exception in your server console?
-
Matt Lavin
Jazz Server Team
On Thu, 2008-12-18 at 06:57 +0000, rooble wrote:
-
Matt Lavin
Jazz Server Team
On Thu, 2008-12-18 at 06:57 +0000, rooble wrote:
Hi,
I am trying to execute the example form "Hello Jazz
-- How to write a simple Jazz component"
while I am execuing the test case, I am getting the following
Exception.
But I can see the
com.ibm.team.repository.common.internal.IRepositoryRemoteService in
"Available Services" list in
http://localhost:9080/jazz/service
com.ibm.team.repository.common.transport.ServiceNotAvailableException:
CRJAZ0106I The request for URL
"/jazz/service/com.ibm.team.repository.common.internal.IRepositoryRemoteService"
was denied with a Not Available status.
at
com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:275)
at
com.ibm.team.repository.transport.client.RemoteTeamService.executeCancelableHttpMethod(RemoteTeamService.java:514)
at
com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:504)
at
com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:449)
at
com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:184)
at
com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
...
Thanks,
Rooble
RupeshGupta wrote:
RSA 7.5.3 doesn't support RTC 2.0 yet. Any way, as unsupported
workaround you can uninstall included RTC Client 1.0 feature in RSA and
then install in the same RSA package a new RTC Client 2.0 downloaded
from Jazz.net
Hope it helps,
Chemi.
Hi,
I am trying to use RSA 7.5 as RTC clent. The version of RTC server is
2.0. When I tried connecting to RTC1.0, it worked fine. But when I am
trying to connect to RTC2.0, I am some error and its not connecting.
The error message is below
"Client/server version mismatch logging into 'inblr-3dvedev'.
CRJAZ1176I There is a version mismatch for the
"com.ibm.team.repository.common.internal.IRepositoryRemoteService"
service. The server version is "7" while the client version
is "6". Both client and server version must match. Check
the overall version of the client using Help->About and ensure it
is compatible with server version "1.0" and build id
"I20090618-1753".".
I updated my RSA7.5 to 7.5.3. Even then I am getting the same error.
Has anyone tried to connect RSA 7.5 to RTC2.0?
Thanks
RSA 7.5.3 doesn't support RTC 2.0 yet. Any way, as unsupported
workaround you can uninstall included RTC Client 1.0 feature in RSA and
then install in the same RSA package a new RTC Client 2.0 downloaded
from Jazz.net
Hope it helps,
Chemi.
On 29-Sep-09 3:37 AM, eclipsetalk wrote:
The most similar to a sample I have found is this:
https://jazz.net/wiki/bin/view/Main/TeamProcessDeveloperGuide#Adding_New_Event_Handlers
:-(
Hello,
I'm looking into adding New Event Handlers on the server side for
Project/Configuration data. From what I understand, I need to
implement a new event handler by implementing the interface
com.ibm.team.process.service.IChangeEventHandler
and then declaring an extension to the event handler
extension point to provide the new event handler.
Are there any samples to get me started?
Thanks in advance for sharing.
The most similar to a sample I have found is this:
https://jazz.net/wiki/bin/view/Main/TeamProcessDeveloperGuide#Adding_New_Event_Handlers
:-(
I'm trying to develope a source code which updates workitem.
I added a custom attribute in task and successfully get a custom
attribute value 'custom_attr' using below request.
http://localhost:80/jazz/oslc/contexts/_nhCr8G2dEd-TIez1oMG4hw/workitems?oslc_cm.query=dc%3Aidentifier%3D%221%22&oslc_cm.properties=dc:title,dc:identifier,dc:type,dc:description,dc:subject,dc:creator,dc:modified,rtc_cm:custom_attr
However I can't update my custom attribute.
I sent a below request.
?xml version="1.0" encoding="UTF-8"?
oslc_cm:ChangeRequest
xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc=\"http://purl.org/dc/terms"
xmlns:oslc_cm=\"http://open-services.net/xmlns/cm/1.0/"
xmlns:rtc_cm=\"http://jazz.net/xmlns/cm/1.0/"
dc:title>Test Title</dc>1</dc>http://localhost:80/jazz/oslc/types/_nhCr8G2dEd-TIez1oMG4hw/task</dc>Test_Desc</dc>Test_Subject</dc>http://localhost:80/jazz/oslc/users/_KGRY4CFWEdq-WY5y7lROQw</dc></dc>Test_Attribute</rtc_cm:custom_attr
/oslc_cm:ChangeRequest
If I omit my custom attribute, task is updated successfully.
So something wrong with my request(rtc_cm:custom_attr)
I think some error occurs duing updating but can't find log for this.
Anybody knows about this?
Any help will be highly appreciated.
Custom attributes can be updated using the OSLC API, there is no
restriction that would prevent it.
What is the HTTP status code that you get back from the PUT?
A 400 would indicate that we cannot deal with one of the values provided
A 500 error would indicate an exception on the server (and the response
would contain more details)
A 200 would indicate that we actually updated the resource, but the
attribute may have been ignored as it wasn't known.
--
Regards,
Patrick
RTC Work Item Component Lead