Hello, help me.
When I was creating a DataSet Definition with ant XML definition, the subject error occurs.
Any solutions ?
Thanks in advance,
With Best Regards,
DataSet Definition in XML:
<?xml version="1.0" encoding="UTF-8"?>
<project default="all" name="import" xmlns:ld="antlib:com.ibm.team.enterprise.zos.systemdefinition.toolkit">
<description>Import</description>
<!-- Initialize the zOS system definition generation tool -->
<ld:init
repositoryAddress="https://hostname:9443/ccm"
userId="rtcadmin"
password="xxxxxxx"
projectArea="aProjectArea"
/>
<target description="データ・セット定義を作成します。" name="dsdefs">
<ld:dsdef blockSize="" directoryBlocks="" dsDefUsageType="2" dsName="" dsType="9" genericUnit="SYSDA" name="@TEMPFILE" prefixDSN="false" primaryQuantity="1" secondaryQuantity="1" spaceUnits="trks"/>
</target>
<target depends="dsdefs" description="full build" name="all"/>
</project>
Root Exception: (*) Refer to the bottom of this topic to see all error message.
[ld:dsdef] com.ibm.team.repository.common.TeamRepositoryException: CRJZZ0715E Failed to create resource: https://hostname:9443/ccm/storage/enterprise_systemdefinition. Response Status Line: HTTP/1.1 403 Forbidden のために、システム定義を更新できません => cannot update system definition
My Environment:
OS:Windows Server 2008
M/W:
DB2:V9.7
WAS:V8
RTC:
RTC Server Version:V4.0.0.1(Build ID:RJF-I20120906-1745)
RTC Client Version:V4.0.0.1(Build ID:RTC-I20120911-1740)
Used Lisence Key:
Rational Team Concert Developer for IBM Enterprise Platforms-Floating(V4)
------------------------------------- All Error Message -------------------------------------------------
ビルド・ファイル => Build File : C:\Users\IBM_ADMIN\workspace4rtcV4\zCompProj\import_zOS_System_Def.xml
Trying to override old definition of task init
Trying to override old definition of task translator
Trying to override old definition of task langdef
Trying to override old definition of task deletetranslators
Trying to override old definition of task deletelangdefs
Trying to override old definition of task resolvemetadata
dsdefs:
[ld:dsdef] データ・セット定義 (@TEMPFILE) を作成します。=> Create DataSet Definition(@TEMPFILE)
[ld:dsdef] com.ibm.team.repository.common.TeamRepositoryException: CRJZZ0715E Failed to create resource: https://hostname:9443/ccm/storage/enterprise_systemdefinition. Response Status Line: HTTP/1.1 403 Forbidden のために、システム定義を更新できません => Cannot update System Definition
[ld:dsdef] at com.ibm.team.enterprise.internal.systemdefinition.service.SystemDefinitionService.updateSystemDefinition(SystemDefinitionService.java:180)
[ld:dsdef] at com.ibm.team.enterprise.internal.systemdefinition.service.SystemDefinitionService$2.run(SystemDefinitionService.java:246)
[ld:dsdef] at com.ibm.team.process.internal.common.advice.runtime.OperationAdviceManager.runOperation(OperationAdviceManager.java:1380)
[ld:dsdef] at com.ibm.team.process.internal.common.advice.runtime.OperationAdviceManager.advise(OperationAdviceManager.java:312)
[ld:dsdef] at com.ibm.team.process.internal.common.util.AbstractProcess.doAdvise(AbstractProcess.java:196)
[ld:dsdef] at com.ibm.team.process.internal.service.ServerProcess.access$2(ServerProcess.java:1)
[ld:dsdef] at com.ibm.team.process.internal.service.ServerProcess$2.run(ServerProcess.java:156)
[ld:dsdef] at com.ibm.team.repository.service.internal.PrimitiveTransactionService$3.run(PrimitiveTransactionService.java:176)
[ld:dsdef] at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:500)
[ld:dsdef] at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:324)
[ld:dsdef] at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:381)
[ld:dsdef] at sun.reflect.GeneratedMethodAccessor33.invoke(null)
[ld:dsdef] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[ld:dsdef] at java.lang.reflect.Method.invoke(Method.java:611)
[ld:dsdef] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
[ld:dsdef] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
[ld:dsdef] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
[ld:dsdef] at $Proxy78.withCurrentConnection(null)
[ld:dsdef] at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:320)
[ld:dsdef] at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:275)
[ld:dsdef] at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:110)
[ld:dsdef] at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:105)
[ld:dsdef] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ld:dsdef] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
[ld:dsdef] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[ld:dsdef] at java.lang.reflect.Method.invoke(Method.java:611)
[ld:dsdef] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
[ld:dsdef] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
[ld:dsdef] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
[ld:dsdef] at $Proxy114.runInTransaction(null)
[ld:dsdef] at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:37)
[ld:dsdef] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ld:dsdef] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
[ld:dsdef] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[ld:dsdef] at java.lang.reflect.Method.invoke(Method.java:611)
[ld:dsdef] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
[ld:dsdef] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
[ld:dsdef] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
[ld:dsdef] at $Proxy188.runInTransaction(null)
[ld:dsdef] at com.ibm.team.process.internal.service.ProcessService.runInTransaction(ProcessService.java:4614)
[ld:dsdef] at com.ibm.team.process.internal.service.ProcessService.runInTransaction(ProcessService.java:4621)
[ld:dsdef] at com.ibm.team.process.internal.service.ServerProcess.adviseAndExecute(ServerProcess.java:153)
[ld:dsdef] at com.ibm.team.enterprise.internal.systemdefinition.service.SystemDefinitionService.saveSystemDefinition(SystemDefinitionService.java:260)
[ld:dsdef] at com.ibm.team.enterprise.internal.systemdefinition.service.SystemDefinitionService.saveResourceDefinition(SystemDefinitionService.java:198)
[ld:dsdef] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ld:dsdef] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
[ld:dsdef] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[ld:dsdef] at java.lang.reflect.Method.invoke(Method.java:611)
[ld:dsdef] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
[ld:dsdef] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
[ld:dsdef] at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
[ld:dsdef] at $Proxy874.saveResourceDefinition(null)
[ld:dsdef] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ld:dsdef] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
[ld:dsdef] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[ld:dsdef] at java.lang.reflect.Method.invoke(Method.java:611)
[ld:dsdef] at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleMethod(AbstractTeamServerServlet.java:1390)
[ld:dsdef] at com.ibm.team.repository.servlet.AbstractTeamServerServlet.executeMethod(AbstractTeamServerServlet.java:954)
[ld:dsdef] at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doPost(AbstractTeamServerServlet.java:734)
[ld:dsdef] at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
[ld:dsdef] at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2100)
[ld:dsdef] at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1917)
[ld:dsdef] at com.ibm.team.repository.servlet.AbstractTeamServerServlet.access$0(AbstractTeamServerServlet.java:1902)
[ld:dsdef] at com.ibm.team.repository.servlet.AbstractTeamServerServlet$1.service(AbstractTeamServerServlet.java:210)
[ld:dsdef] at com.ibm.team.repository.internal.service.auth.impl.JAuthHandler$1.run(JAuthHandler.java:109)
[ld:dsdef] at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1721)
[ld:dsdef] at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[ld:dsdef] at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
[ld:dsdef] at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
[ld:dsdef] at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
[ld:dsdef] at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
[ld:dsdef] at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[ld:dsdef] at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
[ld:dsdef] at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:68)
[ld:dsdef] at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[ld:dsdef] at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1147)
[ld:dsdef] at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:722)
[ld:dsdef] at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:449)
[ld:dsdef] at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
[ld:dsdef] at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:125)
[ld:dsdef] at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:92)
[ld:dsdef] at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:133)
[ld:dsdef] at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:154)
[ld:dsdef] at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
[ld:dsdef] at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
[ld:dsdef] at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:919)
[ld:dsdef] at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1016)
[ld:dsdef] at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
[ld:dsdef] at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:883)
[ld:dsdef] at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1659)
[ld:dsdef] at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
[ld:dsdef] at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
[ld:dsdef] at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
[ld:dsdef] at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
[ld:dsdef] at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
[ld:dsdef] at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
[ld:dsdef] at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[ld:dsdef] at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[ld:dsdef] at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[ld:dsdef] at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
[ld:dsdef] at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
[ld:dsdef] at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
[ld:dsdef] at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
[ld:dsdef] at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1648)
[ld:dsdef] at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:326)
[ld:dsdef] at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:296)
[ld:dsdef] at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeFault(MarshallerUtil.java:261)
[ld:dsdef] at com.ibm.team.repository.transport.client.RemoteTeamService.constructExceptionFromFault(RemoteTeamService.java:609)
[ld:dsdef] at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:493)
[ld:dsdef] at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:194)
[ld:dsdef] at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
[ld:dsdef] at $Proxy21.saveResourceDefinition(Unknown Source)
[ld:dsdef] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ld:dsdef] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
[ld:dsdef] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ld:dsdef] at java.lang.reflect.Method.invoke(Method.java:600)
[ld:dsdef] at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:164)
[ld:dsdef] at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:88)
[ld:dsdef] at $Proxy21.saveResourceDefinition(Unknown Source)
[ld:dsdef] at com.ibm.team.enterprise.internal.systemdefinition.client.SystemDefinitionClient$5.run(SystemDefinitionClient.java:253)
[ld:dsdef] at com.ibm.team.enterprise.internal.systemdefinition.client.SystemDefinitionClient$5.run(SystemDefinitionClient.java:1)
[ld:dsdef] at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1288)
[ld:dsdef] at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)
[ld:dsdef] at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1281)
[ld:dsdef] at com.ibm.team.enterprise.internal.systemdefinition.client.SystemDefinitionClient.callCancelableService(SystemDefinitionClient.java:111)
[ld:dsdef] at com.ibm.team.enterprise.internal.systemdefinition.client.SystemDefinitionClient.saveSystemDefinition(SystemDefinitionClient.java:218)
[ld:dsdef] at com.ibm.team.enterprise.systemdefinition.toolkit.tasks.AbstractInitTask.saveResourceDefinition(AbstractInitTask.java:965)
[ld:dsdef] at com.ibm.team.enterprise.zos.systemdefinition.toolkit.tasks.DsDefTask.execute(DsDefTask.java:117)
[ld:dsdef] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[ld:dsdef] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ld:dsdef] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
[ld:dsdef] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ld:dsdef] at java.lang.reflect.Method.invoke(Method.java:600)
[ld:dsdef] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[ld:dsdef] at org.apache.tools.ant.Task.perform(Task.java:348)
[ld:dsdef] at org.apache.tools.ant.Target.execute(Target.java:357)
[ld:dsdef] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[ld:dsdef] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[ld:dsdef] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[ld:dsdef] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[ld:dsdef] at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[ld:dsdef] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[ld:dsdef] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:664)
[ld:dsdef] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:497)
[ld:dsdef] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ld:dsdef] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
[ld:dsdef] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ld:dsdef] at java.lang.reflect.Method.invoke(Method.java:600)
[ld:dsdef] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
[ld:dsdef] at org.eclipse.ant.internal.launching.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:298)
[ld:dsdef] at java.lang.Thread.run(Thread.java:736)
[ld:dsdef] Caused by: java.lang.Exception: <Remote exception was of type 'org.apache.http.HttpException'>
[ld:dsdef] Failed to create resource: https://hostname:9443/ccm/storage/enterprise_systemdefinition. Response Status Line: HTTP/1.1 403 Forbidden
[ld:dsdef] at com.ibm.team.enterprise.jfs.commons.storage.Resource.postEntity(Resource.java:219)
[ld:dsdef] at com.ibm.team.enterprise.jfs.commons.storage.Resource.post(Resource.java:203)
[ld:dsdef] at com.ibm.team.enterprise.jfs.commons.ResourceUtil.createNamespace(ResourceUtil.java:215)
[ld:dsdef] at com.ibm.team.enterprise.internal.systemdefinition.service.JfsSystemDefinitionClient.updateSystemDefinition(JfsSystemDefinitionClient.java:43)
[ld:dsdef] at com.ibm.team.enterprise.internal.systemdefinition.service.SystemDefinitionService.updateSystemDefinition(SystemDefinitionService.java:178)
[ld:dsdef] ... 150 more
ビルドが失敗しました => Build failed
C:\Users\IBM_ADMIN\workspace4rtcV4\zCompProj\import_zOS_System_Def.xml:20: com.ibm.team.repository.common.TeamRepositoryException: CRJZZ0715E Failed to create resource: https://hostname:9443/ccm/storage/enterprise_systemdefinition. Response Status Line: HTTP/1.1 403 Forbidden のために、システム定義を更新できません
合計時間: 2 秒 => Total Time: 2 seconds