Topic
  • 7 replies
  • Latest Post - ‏2010-02-19T15:28:18Z by SystemAdmin
SystemAdmin
SystemAdmin
254 Posts

Pinned topic Creating Items in P8

‏2008-04-11T16:35:23Z |
Am trying to create Documents in P8 using WIICE Web Services – Java (CreateNewContent.java) – Interface.

  • I could create documents, but they are not taking all the images I attach to a single document (multi page tif), only taking the first image, leaving rest of them out

  • Not able to create in the exact bucket where I want to create, i.e all the documents are going to ‘Unfiled Document’ folder in P8.

  • Not returing the contenetID after it creates the document
contentID = asProxy.createContent(stateKey, logonID, content, folderID)
Can any one throw some light on this, thanks for your time.

Thanks
Arun

This is the error am getting
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: com.venetica.vbr.client.ItemCreationException: COEN0060E: An error occurred while creating new item in the repository.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: com.venetica.vbr.client.ItemCreationException: COEN0060E: An error occurred while creating new item in the repository.
faultActor:
faultNode:
faultDetail:

com.venetica.vbr.client.ItemCreationException: COEN0060E: An error occurred while creating new item in the repository.
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:251)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:168)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java(Compiled Code))
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2545)
at org.apache.axis.client.Call.invoke(Call.java:2515)
at org.apache.axis.client.Call.invoke(Call.java:2210)
at org.apache.axis.client.Call.invoke(Call.java:2133)
at org.apache.axis.client.Call.invoke(Call.java:1656)
at com.venetica.VeniceBridgeWSAPI.WebServicesAPIBindingStub.createContent(Unknown Source)
at wsclient.CreateNewContent.performAction(CreateNewContent.java:606)
at wsclient.CreateNewContent.main(CreateNewContent.java:182)
com.venetica.vbr.client.ItemCreationException: COEN0060E: An error occurred while creating new item in the repository.
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:251)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:168)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java(Compiled Code))
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2545)
at org.apache.axis.client.Call.invoke(Call.java:2515)
at org.apache.axis.client.Call.invoke(Call.java:2210)
at org.apache.axis.client.Call.invoke(Call.java:2133)
at org.apache.axis.client.Call.invoke(Call.java:1656)
at com.venetica.VeniceBridgeWSAPI.WebServicesAPIBindingStub.createContent(Unknown Source)
at wsclient.CreateNewContent.performAction(CreateNewContent.java:606)
at wsclient.CreateNewContent.main(CreateNewContent.java:182)
Logging off 'FN_Test_P8CMConnector'...
class org.apache.axis.AxisFault com.venetica.vbr.client.ItemCreationException: COEN0060E: An error occurred while creating new item in the repository.

Logged off
Call freeInstance...
Updated on 2010-02-19T15:28:18Z at 2010-02-19T15:28:18Z by SystemAdmin
  • sbakshi
    sbakshi
    15 Posts

    Re: Creating Items in P8

    ‏2008-04-11T18:09:51Z  
    Hi Arun,

    Could you please turn on the logging and give me the full exception and stack trace from the log.

    Also let me know the version of IICE and the version of FileNet P8 repository you are using.


    Thanks.
    Updated on 2008-04-11T18:09:51Z at 2008-04-11T18:09:51Z by sbakshi
  • SystemAdmin
    SystemAdmin
    254 Posts

    Re: Creating Items in P8

    ‏2008-04-11T21:04:26Z  
    • sbakshi
    • ‏2008-04-11T17:35:05Z
    Hi Arun,

    Could you please turn on the logging and give me the full exception and stack trace from the log.

    Also let me know the version of IICE and the version of FileNet P8 repository you are using.


    Thanks.
    Thank you for your response

    FileNet V 4

    WIICE 8.3 FP 3

    I have attached the log here for your reference, just wanted to let you know that, even though it throws an error it creates the document in 'Unfiled Folder' in P8 and doenst create the document with all the tifs, just picks the first one.

    Thanks for your time.
  • SystemAdmin
    SystemAdmin
    254 Posts

    Re: Creating Items in P8

    ‏2008-05-28T09:25:10Z  
    We are getting same issue using a DOTNET client

    ERROR = com.venetica.vbr.client.ItemCreationException: COEN0060E: An error occurred while creating new item in the repository

    Was there any solution to this problem ?

    thanks

    Jacques
  • SystemAdmin
    SystemAdmin
    254 Posts

    Re: Creating Items in P8

    ‏2008-05-30T04:26:56Z  
    We are getting same issue using a DOTNET client

    ERROR = com.venetica.vbr.client.ItemCreationException: COEN0060E: An error occurred while creating new item in the repository

    Was there any solution to this problem ?

    thanks

    Jacques
    Hi Jacques,

    in order to understand and investigate the issue you are encountering, we need to see the debug log output of the P8 Connector. The error message that you are getting (COEN0060E) is generated in the P8 Connector code. If we could see the debug log of that connector, we would see at which point within the connector the exception occurs. The debug log would also contain the complete stack trace with the P8 Exception.

    Please enabled debug logging (also referred to as "trace") in the WIICE Admin Tool for the P8 Connector, and attach the log file to this thread.

    Thank you
    Daniela
  • SystemAdmin
    SystemAdmin
    254 Posts

    Re: Creating Items in P8

    ‏2008-05-30T04:35:16Z  
    Thank you for your response

    FileNet V 4

    WIICE 8.3 FP 3

    I have attached the log here for your reference, just wanted to let you know that, even though it throws an error it creates the document in 'Unfiled Folder' in P8 and doenst create the document with all the tifs, just picks the first one.

    Thanks for your time.
    Hi Arun,

    the error message that you are getting (COEN0060E) is generated in the P8 Connector. I assume that a problem occurs at a time when the the document is already created in the P8 repo, but not yet filed in the correct folder and not yet complete with all files. In order to see where exactly during the item creation an exception occurs, we need to see the debug log output of the P8 Connector. The Axis Error stack does not contain the complete stack trace and and the Web Services log file does not contain the debug log output of the P8 connector.

    Please enabled debug logging (also referred to as "trace") in the WIICE Admin Tool for the P8 Connector, and attach the log file to this thread.

    Thank you,
    Daniela
  • SystemAdmin
    SystemAdmin
    254 Posts

    Re: Creating Items in P8

    ‏2008-06-04T20:21:54Z  
    Hi Arun,

    the error message that you are getting (COEN0060E) is generated in the P8 Connector. I assume that a problem occurs at a time when the the document is already created in the P8 repo, but not yet filed in the correct folder and not yet complete with all files. In order to see where exactly during the item creation an exception occurs, we need to see the debug log output of the P8 Connector. The Axis Error stack does not contain the complete stack trace and and the Web Services log file does not contain the debug log output of the P8 connector.

    Please enabled debug logging (also referred to as "trace") in the WIICE Admin Tool for the P8 Connector, and attach the log file to this thread.

    Thank you,
    Daniela
    Hi Daniela,

    We have opened a PMR with IBM for this and its been determined that they have to change something in the P8 connector for Web Services, we havent got a solution yet.

    If i use the command line version of java as opposed to Web Services it creates the content from mulitple tifs just fine, this problem is realted to only Web Services.

    Now the folder issue, Specifying the Folder ID is optional (?), but the connector is looking for a Folder ID and when it doesnt get one it files every thing under Unfiled Dcoument.
    We dont have foldering enabaled in our P8 system, so we broguht this issue to IBMs attention as well and waiting for a solution.

    Thanks
    Arun

    I have attached the vbr log for your reference

    [!] 18:24:14:105 5/6/08 TCP/IP Address: 10.31.4.7 RMI_1256: 1034 Java Class: com.venetica.vbr.ejb.bridge.p8cm.P8CMBridge --> COEN0060E: An error occurred while creating new item in the repository.
    [ ] 18:24:14:105 5/6/08 TCP/IP Address: 10.31.4.7 RMI_1256: 1034 Java Class: com.venetica.vbr.ejb.bridge.p8cm.P8CMBridge --> Exception Details : java.lang.NullPointerException

    at com.venetica.vbr.ejb.bridge.p8cm.P8CMBridge.createItem(P8CMBridge.java:2277)

    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridgeProxyImpl.createItem(RMIBridgeProxyImpl.java:359)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

    at java.lang.reflect.Method.invoke(Method.java:391)

    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)

    at sun.rmi.transport.Transport$1.run(Transport.java:164)

    at java.security.AccessController.doPrivileged1(Native Method)

    at java.security.AccessController.doPrivileged(AccessController.java:389)

    at sun.rmi.transport.Transport.serviceCall(Transport.java:160)

    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505)

    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:837)

    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:911)

    at java.lang.Thread.run(Thread.java:568)
    [ ] 18:24:14:214 5/6/08 TCP/IP Address: 10.30.5.41: 1034 Java Class: com.venetica.vbr.ejb.spi.SPIServerBean --> Exception Details : com.venetica.vbr.client.ItemCreationException: COEN0060E: An error occurred while creating new item in the repository.
    at com.venetica.vbr.ejb.bridge.p8cm.P8CMBridge.createItem(P8CMBridge.java:2322)
    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridgeProxyImpl.createItem(RMIBridgeProxyImpl.java:359)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)
    at sun.rmi.transport.Transport$1.run(Transport.java:164)
    at java.security.AccessController.doPrivileged1(Native Method)
    at java.security.AccessController.doPrivileged(AccessController.java:389)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:160)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:837)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:911)
    at java.lang.Thread.run(Thread.java:568)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java(Compiled Code))
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java(Compiled Code))
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java(Compiled Code))
    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridgeProxyImpl_Stub.createItem(RMIBridgeProxyImpl_Stub.java:440)
    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridge.createItem(RMIBridge.java:892)
    at com.venetica.vbr.ejb.spi.SPIServerBean.createItem(SPIServerBean.java:1191)
    at com.venetica.vbr.ejb.spi.EJSRemoteStatefulSPIServer_584c19bc.createItem(Unknown Source)
    at com.venetica.vbr.ejb.spi._SPIServer_Stub.createItem(_SPIServer_Stub.java:1800)
    at com.venetica.vbr.ejb.access.AccessServicesImpl.createItem(AccessServicesImpl.java:2074)
    at com.venetica.vbr.ejb.access.EJSRemoteStatefulAccessServices_92757175.createItem(Unknown Source)
    at com.venetica.vbr.ejb.access._AccessServices_Stub.createItem(_AccessServices_Stub.java:2258)
    at com.venetica.vbr.soap.server.AccessServicesAPI.createItem(AccessServicesAPI.java:896)
    at com.venetica.vbr.soap.server.AccessServicesAPI.createContent(AccessServicesAPI.java:881)
    at sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
    at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java(Inlined Compiled Code))
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java(Compiled Code))
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java(Compiled Code))
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java(Compiled Code))
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java(Compiled Code))
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1221)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:630)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1752)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:466)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:405)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:941)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1028)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1394)
    Caused by:
    java.lang.NullPointerException

    at com.venetica.vbr.ejb.bridge.p8cm.P8CMBridge.createItem(P8CMBridge.java:2277)

    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridgeProxyImpl.createItem(RMIBridgeProxyImpl.java:359)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

    at java.lang.reflect.Method.invoke(Method.java:391)

    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)

    at sun.rmi.transport.Transport$1.run(Transport.java:164)

    at java.security.AccessController.doPrivileged1(Native Method)

    at java.security.AccessController.doPrivileged(AccessController.java:389)

    at sun.rmi.transport.Transport.serviceCall(Transport.java:160)

    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505)

    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:837)

    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:911)

    at java.lang.Thread.run(Thread.java:568)

    [ ] 18:24:14:218 5/6/08 TCP/IP Address: 10.30.5.41: 1033 Java Class: com.venetica.vbr.ejb.access.AccessServicesBean --> Exception Details : com.venetica.vbr.client.ItemCreationException: COEN0060E: An error occurred while creating new item in the repository.
    at com.venetica.vbr.ejb.bridge.p8cm.P8CMBridge.createItem(P8CMBridge.java:2322)
    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridgeProxyImpl.createItem(RMIBridgeProxyImpl.java:359)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)
    at sun.rmi.transport.Transport$1.run(Transport.java:164)
    at java.security.AccessController.doPrivileged1(Native Method)
    at java.security.AccessController.doPrivileged(AccessController.java:389)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:160)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:837)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:911)
    at java.lang.Thread.run(Thread.java:568)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java(Compiled Code))
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java(Compiled Code))
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java(Compiled Code))
    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridgeProxyImpl_Stub.createItem(RMIBridgeProxyImpl_Stub.java:440)
    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridge.createItem(RMIBridge.java:892)
    at com.venetica.vbr.ejb.spi.SPIServerBean.createItem(SPIServerBean.java:1191)
    at com.venetica.vbr.ejb.spi.EJSRemoteStatefulSPIServer_584c19bc.createItem(Unknown Source)
    at com.venetica.vbr.ejb.spi._SPIServer_Stub.createItem(_SPIServer_Stub.java:1800)
    at com.venetica.vbr.ejb.access.AccessServicesImpl.createItem(AccessServicesImpl.java:2074)
    at com.venetica.vbr.ejb.access.EJSRemoteStatefulAccessServices_92757175.createItem(Unknown Source)
    at com.venetica.vbr.ejb.access._AccessServices_Stub.createItem(_AccessServices_Stub.java:2258)
    at com.venetica.vbr.soap.server.AccessServicesAPI.createItem(AccessServicesAPI.java:896)
    at com.venetica.vbr.soap.server.AccessServicesAPI.createContent(AccessServicesAPI.java:881)
    at sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
    at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java(Inlined Compiled Code))
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java(Compiled Code))
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java(Compiled Code))
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java(Compiled Code))
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java(Compiled Code))
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1221)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:630)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1752)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:466)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:405)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:941)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1028)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1394)
    Caused by:
    java.lang.NullPointerException

    at com.venetica.vbr.ejb.bridge.p8cm.P8CMBridge.createItem(P8CMBridge.java:2277)+

    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridgeProxyImpl.createItem(RMIBridgeProxyImpl.java:359)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

    at java.lang.reflect.Method.invoke(Method.java:391)

    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)

    at sun.rmi.transport.Transport$1.run(Transport.java:164)

    at java.security.AccessController.doPrivileged1(Native Method)

    at java.security.AccessController.doPrivileged(AccessController.java:389)

    at sun.rmi.transport.Transport.serviceCall(Transport.java:160)

    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505)

    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:837)

    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:911)

    at java.lang.Thread.run(Thread.java:568)
  • SystemAdmin
    SystemAdmin
    254 Posts

    Re: Creating Items in P8

    ‏2010-02-19T15:28:18Z  
    Hi Daniela,

    We have opened a PMR with IBM for this and its been determined that they have to change something in the P8 connector for Web Services, we havent got a solution yet.

    If i use the command line version of java as opposed to Web Services it creates the content from mulitple tifs just fine, this problem is realted to only Web Services.

    Now the folder issue, Specifying the Folder ID is optional (?), but the connector is looking for a Folder ID and when it doesnt get one it files every thing under Unfiled Dcoument.
    We dont have foldering enabaled in our P8 system, so we broguht this issue to IBMs attention as well and waiting for a solution.

    Thanks
    Arun

    I have attached the vbr log for your reference

    [!] 18:24:14:105 5/6/08 TCP/IP Address: 10.31.4.7 RMI_1256: 1034 Java Class: com.venetica.vbr.ejb.bridge.p8cm.P8CMBridge --> COEN0060E: An error occurred while creating new item in the repository.
    [ ] 18:24:14:105 5/6/08 TCP/IP Address: 10.31.4.7 RMI_1256: 1034 Java Class: com.venetica.vbr.ejb.bridge.p8cm.P8CMBridge --> Exception Details : java.lang.NullPointerException

    at com.venetica.vbr.ejb.bridge.p8cm.P8CMBridge.createItem(P8CMBridge.java:2277)

    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridgeProxyImpl.createItem(RMIBridgeProxyImpl.java:359)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

    at java.lang.reflect.Method.invoke(Method.java:391)

    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)

    at sun.rmi.transport.Transport$1.run(Transport.java:164)

    at java.security.AccessController.doPrivileged1(Native Method)

    at java.security.AccessController.doPrivileged(AccessController.java:389)

    at sun.rmi.transport.Transport.serviceCall(Transport.java:160)

    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505)

    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:837)

    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:911)

    at java.lang.Thread.run(Thread.java:568)
    [ ] 18:24:14:214 5/6/08 TCP/IP Address: 10.30.5.41: 1034 Java Class: com.venetica.vbr.ejb.spi.SPIServerBean --> Exception Details : com.venetica.vbr.client.ItemCreationException: COEN0060E: An error occurred while creating new item in the repository.
    at com.venetica.vbr.ejb.bridge.p8cm.P8CMBridge.createItem(P8CMBridge.java:2322)
    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridgeProxyImpl.createItem(RMIBridgeProxyImpl.java:359)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)
    at sun.rmi.transport.Transport$1.run(Transport.java:164)
    at java.security.AccessController.doPrivileged1(Native Method)
    at java.security.AccessController.doPrivileged(AccessController.java:389)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:160)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:837)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:911)
    at java.lang.Thread.run(Thread.java:568)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java(Compiled Code))
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java(Compiled Code))
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java(Compiled Code))
    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridgeProxyImpl_Stub.createItem(RMIBridgeProxyImpl_Stub.java:440)
    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridge.createItem(RMIBridge.java:892)
    at com.venetica.vbr.ejb.spi.SPIServerBean.createItem(SPIServerBean.java:1191)
    at com.venetica.vbr.ejb.spi.EJSRemoteStatefulSPIServer_584c19bc.createItem(Unknown Source)
    at com.venetica.vbr.ejb.spi._SPIServer_Stub.createItem(_SPIServer_Stub.java:1800)
    at com.venetica.vbr.ejb.access.AccessServicesImpl.createItem(AccessServicesImpl.java:2074)
    at com.venetica.vbr.ejb.access.EJSRemoteStatefulAccessServices_92757175.createItem(Unknown Source)
    at com.venetica.vbr.ejb.access._AccessServices_Stub.createItem(_AccessServices_Stub.java:2258)
    at com.venetica.vbr.soap.server.AccessServicesAPI.createItem(AccessServicesAPI.java:896)
    at com.venetica.vbr.soap.server.AccessServicesAPI.createContent(AccessServicesAPI.java:881)
    at sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
    at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java(Inlined Compiled Code))
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java(Compiled Code))
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java(Compiled Code))
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java(Compiled Code))
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java(Compiled Code))
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1221)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:630)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1752)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:466)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:405)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:941)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1028)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1394)
    Caused by:
    java.lang.NullPointerException

    at com.venetica.vbr.ejb.bridge.p8cm.P8CMBridge.createItem(P8CMBridge.java:2277)

    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridgeProxyImpl.createItem(RMIBridgeProxyImpl.java:359)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

    at java.lang.reflect.Method.invoke(Method.java:391)

    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)

    at sun.rmi.transport.Transport$1.run(Transport.java:164)

    at java.security.AccessController.doPrivileged1(Native Method)

    at java.security.AccessController.doPrivileged(AccessController.java:389)

    at sun.rmi.transport.Transport.serviceCall(Transport.java:160)

    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505)

    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:837)

    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:911)

    at java.lang.Thread.run(Thread.java:568)

    [ ] 18:24:14:218 5/6/08 TCP/IP Address: 10.30.5.41: 1033 Java Class: com.venetica.vbr.ejb.access.AccessServicesBean --> Exception Details : com.venetica.vbr.client.ItemCreationException: COEN0060E: An error occurred while creating new item in the repository.
    at com.venetica.vbr.ejb.bridge.p8cm.P8CMBridge.createItem(P8CMBridge.java:2322)
    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridgeProxyImpl.createItem(RMIBridgeProxyImpl.java:359)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)
    at sun.rmi.transport.Transport$1.run(Transport.java:164)
    at java.security.AccessController.doPrivileged1(Native Method)
    at java.security.AccessController.doPrivileged(AccessController.java:389)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:160)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:837)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:911)
    at java.lang.Thread.run(Thread.java:568)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java(Compiled Code))
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java(Compiled Code))
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java(Compiled Code))
    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridgeProxyImpl_Stub.createItem(RMIBridgeProxyImpl_Stub.java:440)
    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridge.createItem(RMIBridge.java:892)
    at com.venetica.vbr.ejb.spi.SPIServerBean.createItem(SPIServerBean.java:1191)
    at com.venetica.vbr.ejb.spi.EJSRemoteStatefulSPIServer_584c19bc.createItem(Unknown Source)
    at com.venetica.vbr.ejb.spi._SPIServer_Stub.createItem(_SPIServer_Stub.java:1800)
    at com.venetica.vbr.ejb.access.AccessServicesImpl.createItem(AccessServicesImpl.java:2074)
    at com.venetica.vbr.ejb.access.EJSRemoteStatefulAccessServices_92757175.createItem(Unknown Source)
    at com.venetica.vbr.ejb.access._AccessServices_Stub.createItem(_AccessServices_Stub.java:2258)
    at com.venetica.vbr.soap.server.AccessServicesAPI.createItem(AccessServicesAPI.java:896)
    at com.venetica.vbr.soap.server.AccessServicesAPI.createContent(AccessServicesAPI.java:881)
    at sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
    at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java(Inlined Compiled Code))
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java(Compiled Code))
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java(Compiled Code))
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java(Compiled Code))
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java(Compiled Code))
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1221)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:630)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1752)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:466)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:405)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:941)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1028)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1394)
    Caused by:
    java.lang.NullPointerException

    at com.venetica.vbr.ejb.bridge.p8cm.P8CMBridge.createItem(P8CMBridge.java:2277)+

    at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridgeProxyImpl.createItem(RMIBridgeProxyImpl.java:359)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

    at java.lang.reflect.Method.invoke(Method.java:391)

    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)

    at sun.rmi.transport.Transport$1.run(Transport.java:164)

    at java.security.AccessController.doPrivileged1(Native Method)

    at java.security.AccessController.doPrivileged(AccessController.java:389)

    at sun.rmi.transport.Transport.serviceCall(Transport.java:160)

    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505)

    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:837)

    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:911)

    at java.lang.Thread.run(Thread.java:568)
    I didnt get a chance to update this post but the IBM has delivered a fix for the foldering issue as part of Ver 8.3 FixPack4.