Hi Erman! :)
Hope all is OK and soon you will be having summer vacation as well :) We have AIX7.1, EBS1226 and no CUPS installed on AIX. =============== xdodelivery.cfg has entry for that printer supporting ipp : </server> <server name="152.178.161.160" type="ipp_printer" default="true"> <uri>ipp://152.178.161.160:631/printers/COPLASER8</uri> <filter>/usr/bin/pdftops {infile} {outfile}</filter> <filterOutputContentType>application/postscript</filterOutputContentType> </server> ======== But when we run : Bursting Statement Generation Program, we get these errors: [060117_171205183][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] setDefaultServerProperties(): No properties for the server '152.178.161.160' were found. [060117_171205184][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] setDefaultServerProperties(): properties defined in this request. ---- [IPP_ATTRIBUTE_CHARSET:String] [utf-8] [IPP_HTTP_RESPONSE_CHECK_INTERVAL:Integer] [0] [IPP_DOCUMENT_FORMAT:String] [application/octet-stream] [IPP_USE_CHUNKED_BODY:String] [true] [SERVER_NAME:String] [152.178.161.160] [ASYNC_TIMEOUT:Integer] [86400000] [RETRY:Integer] [0] [ASYNC_CHECK_INTERVAL:Integer] [60000] [TEMP_FILE_SUFFIX:String] [.tmp] [IPP_COPIES:Integer] [1] [BUFFERING_MODE:Boolean] [true] [TEMP_DIR:String] [/out/temp/060117_171202429] [IPP_NATURAL_LANGUAGE:String] [en] [TEMP_FILE_PREFIX:String] [dlvr] [IPP_USE_FULL_URL:String] [false] [RETRY_INTERVAL:Integer] [60000] ---- [060117_171205184][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): BUFFERING_MODE is ON. [060117_171205184][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): TEMP_DIR found, start document buffering : /out/temp/060117_171202429 [060117_171205184][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] backupDocument(): Starting document buffering. [060117_171205186][][STATEMENT] TmpFile::createTmpFile::temp file Path == /gout/temp/060117_171202429/dlvr4QevWNZRvU7429319218413512982.tmp [060117_171205186][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] backupDocument(): Creating temporary file for buffering : /gout/temp/060117_171202429/dlvr4QevWNZRvU7429319218413512982.tmp [060117_171205186][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] backupDocument(): 11781 bytes have been written to the temporary file. [060117_171205186][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] filterDocument(): Starting document preprocessing. [060117_171205186][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] filterDocument(): No native command found for preprocessing, exiting. [060117_171205187][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] backupDocument(): Finished document buffering. [060117_171205187][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): Start reading the buffered document file. : /out/temp/060117_171202429/dlvr4QevWNZRvU7429319218413512982.tmp [060117_171205187][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): Calling DeliveryRequestHandler.submitRequest() [060117_171205187][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): Called [060117_171205187][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): Opening HTTP URL: <a href="http://null:631null">http://null:631null [060117_171205187][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): IPP request dump: --------------------------------------- IPP version: 10 operation id: 02 charset: utf-8 request id: 1 -- operation attrs -- [1]attributes-charset:utf-8 [1]attributes-natural-language:en [1]printer-uri:ipp://null:631null [1]document-format:application/octet-stream -- printer attrs -- -- job attrs -- [1]copies:1 --------------------------------------- [060117_171205190][oracle.apps.xdo.batch.DeliveryHelper][EXCEPTION] java.lang.NumberFormatException: For input string: "631null" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:77) at java.lang.Integer.parseInt(Integer.java:504) at java.lang.Integer.parseInt(Integer.java:539) at oracle.apps.xdo.delivery.http.HTTPUtil.getPort(Unknown Source) at oracle.apps.xdo.delivery.http.HTTPRequest.<init>(Unknown Source) at oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler.submitRequest(Unknown Source) at oracle.apps.xdo.delivery.AbstractDeliveryRequest.submit(Unknown Source) at oracle.apps.xdo.batch.DeliveryHelper.submitRequests(Unknown Source) at oracle.apps.xdo.batch.bursting.DocumentDelivery.submitCoreDeliveryRequests(Unknown Source) at oracle.apps.xdo.batch.BurstingProcessorEngine.addDocument2Queue(Unknown Source) at oracle.apps.xdo.batch.BurstingProcessorEngine.createBurstingDocument(Unknown Source) at oracle.apps.xdo.batch.BurstingProcessorEngine.burstDocument(Unknown Source) at oracle.apps.xdo.batch.BurstingProcessorEngine.globalDataEndElement(Unknown Source) at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(Unknown Source) at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:211) at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1628) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:455) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:401) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:307) at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingRequest(Unknown Source) at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingEndElement(Unknown Source) at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(Unknown Source) at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:211) at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1628) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:455) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:401) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:341) at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingConfigParser(Unknown Source) at oracle.apps.xdo.batch.BurstingProcessorEngine.process(Unknown Source) at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:293) at oracle.apps.fnd.cp.request.Run.main(Run.java:156) [060117_171205190][][EXCEPTION] Error!! Could not deliver the output for Delivery channel:null . ANy hints ? Where it gets null ? and where it lookng for that printer properties ? Thanks,Laurel |
Administrator
|
Hahaha thanks for the great motivation Laurel :) We all need it sometimes :)
IT sees the hostname as null, and there is a null after the port specification as well. printer-uri:ipp://null:631null I think it breaks and that's why sets those fields to null. What happens when you use printer's hostname instead of its ip address in the xdodelivery.cfg Please try this and get back to me. (if you don't have a dns name for that printer, just give it a name in your /etc/hosts file, you know what I mean :) Here is an example: <server name="printer1" type="ipp_printer" default="true"> <uri>http://bacsfax:631/printers/printer1</uri> </server> |
Hi Erman!
the solution was pretty simple, but needed to debug a bit. We had http protocl disabled , asked AIX admin install firefox required libraries and enabled http, it started to work. :) Inetersting :) Br,Laurel |
Administrator
|
Hi Laurel ,
thanks for the update! Interesting really :) But logical as well.. The protocol used there is http anyways. .. So, what I m wondering is -> Did you replace the hostnames with nulls on purpose? I mean in output you sent.. (Did you do it because it is confidental or what:) I didn't understand where those nulls came from :) Maybe because of the missing libraries, the hostnames/ip addresses were read as nulls? |
Hi Erman!
Nope, I did not replace those with null, those were null in the log file. It picked up when I updated xdodelivery.cfg correct ip adrress the same as the IPP%profiles. But it stopped erroring and printed when also updated those libraries +http enabling. So in summary what we can check : 1. Check IPP%profile on site/resp/user level 2. check xdodelivery.cfg for correct ip address+type. 3.http protocol enabling + functioning, can access intranet from web tier. Br,Laurel |
Free forum by Nabble | Edit this page |