AIP-51504:  General Decode Error

Hi,
We are facing the below error while processing 997's for a partner. This error is inconsistent. 997 setup works sometimes and it doesn't at times.
Did any one else faced this situation?
Thanks,
Description: Unable to decode the message
StackTrace:
Error -: AIP-51504: General Decode Error: Error -: AIP-11015: Object does not exist 4C1D1D4ADAB8FCF6E040710A1F4C5E93-35-1
     at oracle.tip.adapter.b2b.msgproc.FunctionalAck.processIncomingMessage(FunctionalAck.java:669)
     at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1778)
     at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2030)
     at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:1962)
     at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:1920)
     at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:463)
     at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:335)
     at java.lang.Thread.run(Thread.java:534)
Caused by: Error -: AIP-11015: Object does not exist 4C1D1D4ADAB8FCF6E040710A1F4C5E93-35-1
     at oracle.tip.repos.core.driver.InternalObject.getAssociation(InternalObject.java:690)
     at oracle.tip.repos.core.persistency.BaseObject.getAssociation(BaseObject.java:388)
     at oracle.tip.model.b2b.instance.BusinessMessageReceiverInter.getReceiver(BusinessMessageReceiverInter.java:186)
     at oracle.tip.adapter.b2b.msgproc.AccessRepo.findRequestBusinessMessageByControlNumber(AccessRepo.java:665)
     at oracle.tip.adapter.b2b.msgproc.DbAccess.getRequestB2BMsgIdByControlNumber(DbAccess.java:3066)
     at oracle.tip.adapter.b2b.msgproc.FunctionalAck.processIncomingMessage(FunctionalAck.java:588)
     ... 7 more
Edited by: user4540631 on Oct 15, 2008 10:50 AM

Hi,
More information:
1) Only inbound FA's are failing (please note its random)
2) The number in AK102 matches to our outbound invoice's GS number, so i guess the correlation is fine.
3) I just reprocessed the FA after modifying AK102 number in FA to the ISA number of the invoice, with all preceding zero's and this works.
Example for my below outbound invoice, i have pasted below the FA that is failing and the modified FA which working.
Kindly advise
My Outbound Invoice
ISA*00* *00* *01*MY ID *01*MY PARTNER'S ID *081014*1012*U*00401*000001646*0*P*>'
GS*IN*MY ID*MY PARTNER'S ID*20081014*1012*1646*X*004010'
ST*810*1646'
BIG*20081016*123456*20081014*PO-NUMBER-A***DI'
CUR*SE*USD'
REF*VN*9001256'
N1*BT*TECH DATA CORP*93*TEMP000889-11350383-GP'
N3*5350 TECH DATA DRIVE'
N4*CLEARWATER*FL*33760*US'
N1*RE*REMIT TO.'
N3*REMIT TO.'
N4*PALATINE*IL*60055*US'
N1*ST*CSC SCORE DIVISION*93*4922495'
N3*PURCHASING DEPT, BLD#1479*NAS NORTH ISLAND,'
N4*SAN DIEGO*CA*92135*US'
DTM*011*20081016'
IT1*1*2*EA*151.2**VP*ABCDEF*BP*04989J'
PID*F****PRODUCT ABCDEF'
TDS*30240'
CAD*****UPS'
CTT*1'
SE*23*1646'
GE*1*1646'
IEA*1*000001646'
Modified FA, which is not failing
ISA*00* *00* *01*MY PARTNER'S ID *01*MY id *081015*1341*U*00401*200000541*0*P*|~
GS*FA*MY PARTNER'S ID*MY ID*20081015*1341*200000541*X*004010~
ST*997*0661~
AK1*IN*000001646~ -->Please note, modified AK102 with ISA13
AK9*A*1*1*1~
SE*4*0661~
GE*1*200000541~
IEA*1*200000541~
Original FA which is erroring out
ISA*00* *00* *01*MY PARTNER'S ID *01*MY ID *081015*1341*U*00401*200000541*0*P*|~
GS*FA*MY PARTNER'S ID*MY ID*20081015*1341*200000541*X*004010~
ST*997*0661~
AK1*IN*1646~ --> note AK102 is matching the invoice's GS number
AK9*A*1*1*1~
SE*4*0661~
GE*1*200000541~
IEA*1*200000541~

Similar Messages

  • AIP-51505:  General Validation Error - SFTP transport - validation disabled

    Configuration :
    internal DC with SFTP
    external DC with SFTP (via proxy)
    Business Protocol          Custom Document over Generic Exchange
    MLR 12? (patch 8703404)
    3 environments have the same tip.properties
    2 environments pick up and send all files successfully.
    I cannot see a difference between the deployments that is causing the validation error.
    [also in all three B2B's are an ebXML and AS2 trading partner configuration]
    The 3rd generates validation errors for all files (14) in the b2b.log and sends some (1-7).
    Note that the sent ones change, if a failed one is retried in the source directory, sometimes it is sent successfully.
    In the failing/validating deployment there is no validation for (cut and pasted from UI screens) :
    Document Protocol Revision Details = Translation Enabled False Validation Enabled False
    Document Types (Document Definition Details for each document def) = Is Translation Enabled False Is Validation Enabled     False
    tip.properties (environment where error occurs) :
    #valid valudes for DiagnosticLevel:
    #DEBUG, INFORMATION, WARNING, ERROR, FATAL.
    #default logging level
    oracle.tip.DiagnosticLevel = ERROR
    #default component log level for B2B Engine
    b2b.oracle.tip.DiagnosticLevel = ERROR
    # following logging properties to be set back to false after resolving Sequence 98
    # oracle.tip.adapter.b2b.logPayload = true
    # oracle.tip.adapter.b2b.packaging.logDecryptMessage = true
    b2b.oracle.tip.DiagnosticLevel.Repository = ERROR
    b2b.oracle.tip.DiagnosticLevel.BusinessLogicLayer
    b2b.oracle.tip.DiagnosticLevel.B2B
    b2b.oracle.tip.DiagnosticLevel.ModelValidation
    b2b.oracle.tip.DiagnosticLevel.ValidationRule
    b2b.oracle.tip.DiagnosticLevel.TechStack
    b2b.oracle.tip.DiagnosticLevel.Deployment
    b2b.oracle.tip.DiagnosticLevel.Reports
    b2b.oracle.tip.DiagnosticLevel.UI
    #default component level logging for UI
    ui.oracle.tip.DiagnosticLevel = ERROR
    #specify component log leel to override default;
    ui.oracle.tip.DiagnosticLevel.Repository = ERROR
    ui.oracle.tip.DiagnosticLevel.BusinessLogicLayer
    ui.oracle.tip.DiagnosticLevel.B2B
    ui.oracle.tip.DiagnosticLevel.ModelValidation
    ui.oracle.tip.DiagnosticLevel.ValidationRule
    ui.oracle.tip.DiagnosticLevel.TechStack
    ui.oracle.tip.DiagnosticLevel.Deployment
    ui.oracle.tip.DiagnosticLevel.Reports
    ui.oracle.tip.DiagnosticLevel.UI
    oracle.tip.adapter.b2b.encoding=UTF-8
    # Diagnostic Service defaults
    oracle.core.ojdl.OrganizationId = oracle.com
    oracle.core.ojdl.ComponentId = tip
    oracle.core.ojdl.HostingClientId = beta
    oracle.core.ojdl.BufferSize = 100000
    oracle.core.ojdl.FlushInterval = 5000
    # Specific diagnostic settings
    oracle.tip.LogDirectory = /space/sw/oracle/products/ias/b2b/ip/log
    oracle.tip.LogMaxSegmentSize = 10000000
    oracle.tip.LogType = text
    # option to save old log when rebounding the service
    oracle.tip.LogSave = true
    # B2B Info
    oracle.tip.adapter.b2b.NumOfWFListeners = 1
    oracle.tip.adapter.b2b.NumOfIPListeners = 1
    oracle.tip.adapter.b2b.WFAgentName = OUTAGENT
    oracle.tip.adapter.b2b.RMIPort = 5111
    oracle.tip.adapter.b2b.RMIInstance = IP
    #oracle.tip.adapter.b2b.WalletLocation = file:/etc/ORACLE/WALLETS/oracle/ora_wallet.txt
    oracle.tip.adapter.b2b.ContinueValidationOnError = true
    oracle.tip.adapter.b2b.MultipleIdentifications=false
    oracle.tip.adapter.b2b.allTPInOneDirectory=true
    oracle.tip.adapter.b2b.DocumentRouting=false
    #oracle.tip.adapter.b2b.edi.identifyFromTP = Interchange | Group | Exchange
    #oracle.tip.adapter.b2b.transportTrace = /space/sw/oracle/products/ias/b2b/ip/log/transport.trc
    #oracle.tip.adapter.b2b.edi.ignoreValidation=InterchangeReceiverID,InterchangeSenderID,GroupReceiverID,GroupSenderID,GroupSenderQual,GroupReceiverQual,InterchangeSenderQual,InterchangeReceiverQual
    #report Certificate validation as ERROR or WARNING; default value is ERROR
    #oracle.tip.adapter.b2b.tpa.validateCertificate= ERROR | WARNING
    #oracle.tip.adapter.b2b.document.NoValidation = inbound | outbound
    # HTTP Proxy Host and Proxy Port
    oracle.tip.adapter.b2b.ProxyHost =
    oracle.tip.adapter.b2b.ProxyPort =
    # MaxCachedSessions is set to 0 means no ExecutionContext
    # is stored in HTTP session (IP cache is empty).Line below overwrites default
    # value equals to 5 when 5 concurrent users could store context in their sessions
    # By commenting that line you might turn IP cache on.
    oracle.tip.ui.MaxCachedSessions = 0
    # Suppression of Validation Warnings
    oracle.tip.buslogic.validation.SuppressWarnings=false
    # Callout directory
    oracle.tip.callout.directory=%s_calloutDirectory%
    # persistence directory
    oracle.tip.runtime.persistence.dirName=%s_persistenceDir%
    # enable ONS reverse ping
    enableONS=true
    # Optional property which user can set to specify saved report encoding e.g. UTF-8, UTF-16LE etc
    # By default this property is not set, in this case the saved report csv file
    # will be generated by using the native encoding
    # Users can set this parameter to change the encoding of the generated saved report csv file
    #savedReportEncoding=UTF-8
    # Please don't modify the following properties
    # Connection Info
    username=%s_intgDBUser%
    password=%s_intgDBPasswd%
    #connect=jdbc:oracle:thin:@%s_intgDBHost%:%s_intgDBPort%:%s_intgDBSid%
    drivertype = thin
    tnsentry = inst1
    host = %s_intgDBHost%
    port = %s_intgDBPort%
    sid = %s_intgDBSid%
    oracle.tip.connection.useRepositoryAPI=on
    oracle.tip.connection.oraclehome=/space/sw/oracle/products/ias/b2b
    # property specific to Deployment
    oracle.tip.deploy.workflow_username=%s_wfUsername%
    oracle.tip.deploy.workflow_passwd=%s_wfPasswd%
    oracle.tip.deploy.workflow_tnsname=%s_wfTnsname%
    # UI user authorization
    authorization = true
    # encryption key used for securing secrets in the schema.
    oracle.tip.security.key=Be8ejb7yOX3rSefEr5pxBl49WLc0Iej9VeI8jykdjRfv
    ##oracle.tip.adapter.b2b.WalletLocation = /sw/oracle/products/ias/b2b/Apache/Apache/conf/ssl.wlt/default/b2bwallet
    #oracle.tip.adapter.b2b.WalletLocation = /sw/oracle/products/ias/101202/ib/Apache/Apache/conf/ssl.wlt/default/b2bwallet
    oracle.tip.adapter.b2b.WalletLocation =file:/sw/oracle/products/ias/b2b/Apache/Apache/conf/ssl.wlt/default/b2bwallet/ewallet.txt
    # performance best practices
    oracle.tip.adapter.b2b.sleepTimeout=1
    oracle.tip.repos.RowSize=100
    oracle.tip.adapter.b2b.receiveTimeout=1
    oracle.tip.adapter.b2b.TPACache=true
    The b2b.log from the failing environment has some lines not seen in the other two environments (the lines referring to MimePackaging:unpack) :
    2010.04.29 at 19:07:14:295: Thread-11: B2B - (DEBUG)
    Protocol = SFTP
    Version = 2.0
    Transport Header
    filename:SA_ENVSTATUSES.txt
    filesize:1
    file_ext:.txt
    filename_format:%TO_PARTY%_%DOCTYPE_NAME%_%TIMESTAMP%.txt
    fullpath:/mnt/maximage_prd/sa_transfer/SA_ENVSTATUSES.txt
    timestamp:Thu Jan 15 09:29:53 PST 1970
    2010.04.29 at 19:07:14:295: Thread-11: BusinessLogicLayer - (DEBUG) New ExecutionContext has been created
    2010.04.29 at 19:07:14:296: Thread-11: BusinessLogicLayer - (DEBUG) setRuntimeActiveandQuiescing()
    2010.04.29 at 19:07:14:296: Thread-11: BusinessLogicLayer - (DEBUG) Recieve a new PersistencyService
    2010.04.29 at 19:07:14:299: Thread-11: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Design
    2010.04.29 at 19:07:14:300: Thread-11: BusinessLogicLayer - (DEBUG) Push Stack: queryConfiguration
    2010.04.29 at 19:07:14:300: Thread-11: BusinessLogicLayer - (DEBUG) Pop Stack: queryConfiguration
    2010.04.29 at 19:07:14:300: Thread-11: BusinessLogicLayer - (DEBUG) A new PersistencyService is created
    2010.04.29 at 19:07:14:340: Thread-11: BusinessLogicLayer - (DEBUG) setRuntimeActiveandQuiescing()
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) DBContext beginTransaction: Enter
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) DBContext beginTransaction: Leave
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) InterfaceListener:onMessage - Invoke inbound callout - null - null
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) InterfaceListenersyncAckEBMSchecking header names
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Enter
    2010.04.29 at 19:07:14:342: Thread-11: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2010.04.29 at 19:07:14:343: Thread-11: BusinessLogicLayer - (DEBUG) Push Stack: createDataStorage
    2010.04.29 at 19:07:14:345: Thread-11: BusinessLogicLayer - (DEBUG) Pop Stack: createDataStorage
    2010.04.29 at 19:07:14:346: Thread-11: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2010.04.29 at 19:07:14:346: Thread-11: BusinessLogicLayer - (DEBUG) Push Stack: createWireMessage
    2010.04.29 at 19:07:14:348: Thread-11: BusinessLogicLayer - (DEBUG) Pop Stack: createWireMessage
    2010.04.29 at 19:07:14:348: Thread-11: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Exit
    2010.04.29 at 19:07:14:348: Thread-11: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:onMessage sendEventtrue
    2010.04.29 at 19:07:14:359: Thread-11: B2B - (DEBUG) DBContext commit: Enter
    2010.04.29 at 19:07:14:362: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Enter
    2010.04.29 at 19:07:14:362: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Enter
    2010.04.29 at 19:07:14:362: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Leave
    2010.04.29 at 19:07:14:363: Thread-10: BusinessLogicLayer - (DEBUG) setRuntimeActiveandQuiescing()
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processEvents Enter
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processEvents begin transaction
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Enter
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Leave
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleMessageEvent Enter
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:incomingContinueProcess Enter
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:getWireMessage Enter
    2010.04.29 at 19:07:14:364: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2010.04.29 at 19:07:14:364: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryWireMessage
    2010.04.29 at 19:07:14:364: Thread-11: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2010.04.29 at 19:07:14:364: Thread-11: B2B - (DEBUG) DBContext commit: Leave
    2010.04.29 at 19:07:14:365: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryWireMessage
    2010.04.29 at 19:07:14:365: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:getWireMessage Exit
    2010.04.29 at 19:07:14:366: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:formTransportMessage Enter
    2010.04.29 at 19:07:14:367: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:formTransportMessage Exit
    2010.04.29 at 19:07:14:367: Thread-10: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Enter
    2010.04.29 at 19:07:14:369: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Identify Business Protocol
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:identifyExchange Enter
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:identifyExchange Exit
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:identifyExchange Enter
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:identifyExchange SOAPAction is [null]
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Do Unpack using the BP specific package class
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) MimePackaging:unpack:Enter
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) MimePackaging:doUnpack:Enter
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:Enter
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:encoding = UTF-8
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:oracle.tip.adapter.b2b.packaging.Component@391da0
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:Exit
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpack:Exit
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Decode the Incoming Message into B2B Message
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Enter
    2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Number of Components = 1
    2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage Transport Protocol = {SFTP}
    2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage filename = SA_ENVSTATUSES.txt
    2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = TO_PARTY - SA
    2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = DOCTYPE_NAME - ENVSTATUSES
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (ERROR) Error -: AIP-51505: General Validation Error
         at oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin.decodeIncomingMessage(GenericExchangePlugin.java:408)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1477)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2576)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2446)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2401)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleExceptionBeforeIncomingTPA Enter
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Enter
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Error message is Error -: AIP-51505: General Validation Error
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired Enter
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired {filename=SA_ENVSTATUSES.txt, filesize=1, file_ext=.txt, filename_format=%TO_PARTY%_%DOCTYPE_NAME%_%TIMESTAMP%.txt, fullpath=/mnt/maximage_prd/sa_transfer/SA_ENVSTATUSES.txt, timestamp=Thu Jan 15 09:29:53 PST 1970}
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired returning false
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException FA not required
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updating Error Message: Error -: AIP-51505: General Validation Error
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message found
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new b2berror object
    2010.04.29 at 19:07:14:375: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState enum0 not null
    2010.04.29 at 19:07:14:375: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message error information

    Thank you for the suggestion, unfortunately, I cannot get it to work.
    I've updated the IDC transport server to 3 different filename_formats, and tried the corresponding files, with correct names to match the filename_format.
    After updating the IDC I validated the trading partner (host).
    I then updated the agreement using the updated IDC, and validated the agreement.
    I then validated the host again.
    Then I created a new deployment.
    And still received the error.
    I then deleted the old IDC and created a new IDC and new agreement and new deployment, trying 3 different "Internal delivery channel filename format" values (updating and validating the agreement and host trading partner each time).
    And still received the error.
    No matter what I set EITHER the IDC "filename format" OR "Internal delivery channel filename format", the b2b.log always reports :
    filename_format = %TO_PARTY%_%DOCTYPE_NAME%_%TIMESTAMP%.txt
    e.g.
    2010.05.16 at 18:05:02:758: Thread-15: B2B - (DEBUG)
    Protocol = SFTP
    Version = 2.0
    Transport Header
    filename:SA_DRUGS_10.txt
    filesize:1
    file_ext:.txt
    filename_format:%TO_PARTY%_%DOCTYPE_NAME%_%TIMESTAMP%.txt
    fullpath:/mnt/maximage_prd/sa_transfer/SA_DRUGS_10.txt
    timestamp:Thu Jan 15 09:54:18 PST 1970
    When I try a file with a revision number, e.g. SA_DRUGS_10.txt the log shows :
    2010.05.16 at 18:05:03:602: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = TO_PARTY - SA
    2010.05.16 at 18:05:03:603: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = DOCTYPE_NAME - DRUGS
    2010.05.16 at 18:05:03:603: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = TIMESTAMP - 10
    2010.05.16 at 18:05:03:895: Thread-14: B2B - (ERROR) Error -: AIP-51505: General Validation Error
    which makes sense as "10" is not a timestamp.
    If I exclude the revision, using SA_DRUGS.txt the log shows :
    2010.05.16 at 18:27:03:543: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage Transport Protocol = {SFTP}
    2010.05.16 at 18:27:03:544: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage filename = SA_DRUGS.txt
    2010.05.16 at 18:27:03:544: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = TO_PARTY - SA
    2010.05.16 at 18:27:03:544: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = DOCTYPE_NAME - DRUGS
    2010.05.16 at 18:27:03:545: Thread-14: B2B - (ERROR) Error -: AIP-51505: General Validation Error
    So, the timestamp gets ignored (as there is no "_" delimiter), but it still fails, probably because there is no timestamp in the filename.
    So, why won't the UI correctly set the IDC filename_format or Internal filename_format ?

  • Internal Delievery channel AIP-51505:  General Validation Error

    hi ,
    I am trying HL7 sample provided with B2b installation. It works fine . Have modified internal delievery channel as file protocol & provided the folder uri , so as to b2b engine picks it up as xml message is dropped in folder. It is resulting in B2B - (ERROR) Error -: AIP-51505: General Validation Error .
    Just wondering why the B2B process is not validating xml file by just modifing internal delievery channel. Do i have to take additional care to configure Internal Delievery channel. ??
    2008.12.04 at 12:05:49:734: Thread-14: B2B - (ERROR) Error -: AIP-51505: General Validation Error
         at oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin.decodeIncomingMessage(GenericExchangePlugin.java:195)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1364)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2404)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2303)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2258)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:500)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:348)
         at java.lang.Thread.run(Thread.java:534)
    2008.12.04 at 12:05:49:734: Thread-14: B2B - (ERROR) Error -: AIP-51505:  General Validation Error
         at oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin.decodeIncomingMessage(GenericExchangePlugin.java:195)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1364)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2404)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2303)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2258)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:500)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:348)
         at java.lang.Thread.run(Thread.java:534)
    2008.12.04 at 12:05:49:734: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleExceptionBeforeIncomingTPA Enter
    2008.12.04 at 12:05:49:734: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Enter
    2008.12.04 at 12:05:49:734: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Error message is Error -: AIP-51505: General Validation Error
    2008.12.04 at 12:05:49:734: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired Enter
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired {filename=a01.xml, filesize=1901, file_ext=xml, *fullpath=C:\files\a01.xml, timestamp=2008-12-04T11:43:31.640-05:00}*
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired returning false
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException FA not required
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updating Error Message: Error -: AIP-51505: General Validation Error
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message found
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new b2berror object
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState enum not null
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message error information
    2008.12.04 at 12:05:49:781: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message payload storage
    2008.12.04 at 12:05:49:812: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new business message
    2008.12.04 at 12:05:49:812: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow Enter
    2008.12.04 at 12:05:49:812: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Exception null
    2008.12.04 at 12:05:49:812: Thread-14: B2B - (ERROR) java.lang.NullPointerException
         at oracle.tip.adapter.b2b.msgproc.DbAccess.insertMsgTblRow(DbAccess.java:839)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireBusinessToErrorState(DbAccess.java:5150)
         at oracle.tip.adapter.b2b.engine.Engine.handleInboundException(Engine.java:3831)
         at oracle.tip.adapter.b2b.engine.Engine.handleExceptionBeforeIncomingTPA(Engine.java:3702)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1383)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2404)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2303)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2258)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:500)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:348)
         at java.lang.Thread.run(Thread.java:534)
    Thanks

    Hi Ramesh,
    Thank you for your reply. Basically i need to convert HL7 xml to HL7 binary with delivery channel as file. Changed the
    oracle.tip.adapter.b2b.allTPInOneDirectory= True from false.
    Created Internal Delievery channel with folder as c:\USLabs (USLabs is a host trading partner) on localhost.
    i am placing xml file with name as USLabs_123.xml in this particular folder.
    This xml file is same as a01.xml provided with HL7 sample. but i get this exception.
    Protocol = File
    Version = 1.0
    Transport Header
    filename:USLabs_123.xml
    filesize:1888
    file_ext:xml
    fullpath:C:\USLabs\USLabs_123.xml
    timestamp:2008-12-04T12:27:58.546-05:00
    <?xml version="1.0" ?><ADT_A01 xmlns="http://www.edifecs.com/xdata/200 " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" XDataVersion="2.0" Standard="HL7" Version="2.3.1" CreatedDate="2005-08-16T16:52:26" CreatedBy="ECXEngine_826" GUID="{1A2726C6-B00E-DA11-8F7A-080020C8D296}"><MSH><MSH.1>|</MSH.1><MSH.2>^~\&amp;</MSH.2><MSH.3><HD.1>#Property(MessageSendingApp)#</HD.1></MSH.3><MSH.4><HD.1>#Property(MessageSendingFacility)#</HD.1></MSH.4><MSH.5><HD.1>#Property(MessageReceivingApp)#</HD.1></MSH.5><MSH.6><HD.1>#Property(MessageReceivingFacility)#</HD.1></MSH.6><MSH.7><TS.1>20050804162010</TS.1></MSH.7><MSH.8 xsi:nil="true"></MSH.8><MSH.9><MSG.1>ADT</MSG.1><MSG.2>A01</MSG.2></MSH.9><MSH.10>#ControlNumber#</MSH.10><MSH.11><PT.1>#Property(ProcessingID)#</PT.1></MSH.11><MSH.12><VID.1>2.3.1</VID.1></MSH.12><MSH.13 xsi:nil="true"></MSH.13><MSH.14 xsi:nil="true"></MSH.14><MSH.15>AL</MSH.15><MSH.16>ER</MSH.16><MSH.17>#Property(CountryCode)#</MSH.17><MSH.18>ASCII</MSH.18><MSH.19><CE.1>ENG</CE.1></MSH.19></MSH><PID><PID.1>1</PID.1><PID.2 xsi:nil="true"></PID.2><PID.3><CX.1>A0000010</CX.1></PID.3><PID.4 xsi:nil="true"></PID.4><PID.5><XPN.1><FN.1>Miranda Charles 01_10</FN.1></XPN.1></PID.5><PID.6 xsi:nil="true"></PID.6><PID.7><TS.1>20001001</TS.1></PID.7><PID.8>F</PID.8></PID><PV1><PV1.1>1</PV1.1><PV1.2 xsi:nil="true"></PV1.2><PV1.3 xsi:nil="true"></PV1.3><PV1.4 xsi:nil="true"></PV1.4><PV1.5 xsi:nil="true"></PV1.5><PV1.6 xsi:nil="true"></PV1.6><PV1.7 xsi:nil="true"></PV1.7><PV1.8 xsi:nil="true"></PV1.8><PV1.9 xsi:nil="true"></PV1.9><PV1.10 xsi:nil="true"></PV1.10><PV1.11 xsi:nil="true"></PV1.11><PV1.12 xsi:nil="true"></PV1.12><PV1.13 xsi:nil="true"></PV1.13><PV1.14 xsi:nil="true"></PV1.14><PV1.15 xsi:nil="true"></PV1.15><PV1.16 xsi:nil="true"></PV1.16><PV1.17 xsi:nil="true"></PV1.17><PV1.18 xsi:nil="true"></PV1.18><PV1.19><CX.1>10010</CX.1></PV1.19></PV1></ADT_A01>
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) DBContext beginTransaction: Enter
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) DBContext beginTransaction: Leave
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:syncAckEBMS enter
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:syncAckEBMS checking header names
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:syncAckEBMS name =filename
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:syncAckEBMS name =filesize
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:syncAckEBMS name =file_ext
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:syncAckEBMS name =fullpath
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:syncAckEBMS name =timestamp
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:syncAckEBMS exit
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Enter
    2008.12.05 at 06:03:28:109: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Exit
    2008.12.05 at 06:03:28:109: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:onMessage sendEventtrue
    2008.12.05 at 06:03:28:125: Thread-17: B2B - (DEBUG) DBContext commit: Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) DBContext beginTransaction: Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) DBContext beginTransaction: Leave
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processEvents Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processEvents begin transaction
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) DBContext beginTransaction: Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) DBContext beginTransaction: Leave
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleMessageEvent Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:incomingContinueProcess Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:getWireMessage Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:getWireMessage Exit
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:formTransportMessage Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:formTransportMessage Exit
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Enter
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Identify Business Protocol
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Do Unpack using the BP specific package class
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) MimePackaging:unpack:Enter
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) MimePackaging:doUnpack:Enter
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:Enter
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:encoding = null
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:oracle.tip.adapter.b2b.packaging.Component@7f8922
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:Exit
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) MimePackaging:unpack:Exit
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Decode the Incoming Message into B2B Message
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Enter
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Number of Components = 1
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage Transport Protocol = {File}
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage filename = USLabs_123.xml
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage File TP Host name = USLabs
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) calling setInitiatingPartyId() changing from null to TPName: USLabs Type: null Value: null
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage fromParty = USLabs
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) calling setFromPartyId() changing from null to TPName: USLabs Type: null Value: null
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) calling setToPartyId() changing from null to TPName: null Type: null Value: null
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage security info NULL
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Exit
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage Enter
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage toTP null
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage hubUrl null
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage Exit
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage ProtocolCollabId = null
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage CollaborationName null
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:checkDuplicate Enter
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:checkDuplicate check non-RosettaNet Message
    2008.12.05 at 06:03:28:187: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:checkDuplicate Exit
    2008.12.05 at 06:03:28:187: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Protocol Collaboration Id : null
    2008.12.05 at 06:03:28:187: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7DocumentPlugin:identifyIncomingDocument Enter
    2008.12.05 at 06:03:28:187: Thread-16: B2B - (WARNING) checkForEB:Does not end with EB. Appending EB to payload
    2008.12.05 at 06:03:28:234: Thread-17: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2008.12.05 at 06:03:28:234: Thread-17: B2B - (DEBUG) DBContext commit: Leave
    2008.12.05 at 06:03:28:406: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7SelectorImpl:HL7SelectorImpl Enter
    2008.12.05 at 06:03:28:406: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7SelectorImpl:HL7SelectorImpl document params = null
    2008.12.05 at 06:03:28:406: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7SelectorImpl:isValidateEnvelope oracle.tip.adapter.b2b.hl7.ignoreValidation set to ALL
    2008.12.05 at 06:03:28:406: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7SelectorImpl:HL7SelectorImpl validateEnvelope = false
    2008.12.05 at 06:03:28:406: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7SelectorImpl:HL7SelectorImpl Leave
    2008.12.05 at 06:03:28:406: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7SelectorImpl:cloneSelector Enter
    2008.12.05 at 06:03:28:421: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7SelectorImpl:cloneSelector Return = oracle.tip.adapter.b2b.document.hl7.HL7SelectorImpl@1e1ec86
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7DocumentPlugin:identifyIncomingDocument errcode = Execute failed - CECToolsException thrown - HRESULT[650007], description[The data in the file could not be parsed. Please check the file to verify that it is valid and formatted correctly. This error can occur for one of the following reasons:  A) The data file may be a Word document or have some other binary format. B) The envelope data may not be formatted properly. If this is an X12 data file, please verify that the ISA segment is the correct size (exactly 106 characters). If this is an EDIFACT data file, it must have either a UNA or begin with UNB. For other standards, verify that the envelope segments conform to the specified rules. C) The segment/record delimiters in the file are incorrect.]
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (ERROR) com.edifecs.shared.jni.JNIException: Execute failed - CECToolsException thrown - HRESULT[650007], description[The data in the file could not be parsed. Please check the file to verify that it is valid and formatted correctly. This error can occur for one of the following reasons:  A) The data file may be a Word document or have some other binary format. B) The envelope data may not be formatted properly. If this is an X12 data file, please verify that the ISA segment is the correct size (exactly 106 characters). If this is an EDIFACT data file, it must have either a UNA or begin with UNB. For other standards, verify that the envelope segments conform to the specified rules. C) The segment/record delimiters in the file are incorrect.]
         at com.edifecs.shared.jni.xdata.INativeToXData.ExecuteNative(Native Method)
         at com.edifecs.shared.jni.xdata.INativeToXData.Execute(Unknown Source)
         at oracle.tip.adapter.b2b.document.hl7.HL7DocumentPlugin.identifyIncomingDocument(HL7DocumentPlugin.java:328)
         at oracle.tip.adapter.b2b.engine.Engine.identifyDocument(Engine.java:3024)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1552)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2404)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2303)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2258)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:500)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:348)
         at java.lang.Thread.run(Thread.java:534)
    *2008.12.05 at 06:03:31:046: Thread-16: B2B - (ERROR) Error -: AIP-50083: Document protocol identification error*
         at oracle.tip.adapter.b2b.engine.Engine.identifyDocument(Engine.java:3043)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1552)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2404)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2303)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2258)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:500)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:348)
         at java.lang.Thread.run(Thread.java:534)
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleExceptionBeforeIncomingTPA Enter
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Enter
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Error message is Error -: AIP-50083: Document protocol identification error
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired Enter
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired {filename=USLabs_123.xml, filesize=1888, file_ext=xml, fullpath=C:\USLabs\USLabs_123.xml, timestamp=2008-12-04T12:27:58.546-05:00}
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired returning false
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException FA not required
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updating Error Message: Error -: AIP-50083: Document protocol identification error
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
    2008.12.05 at 06:03:31:062: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message found
    2008.12.05 at 06:03:31:062: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new b2berror object
    2008.12.05 at 06:03:31:062: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState enum not null
    2008.12.05 at 06:03:31:062: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message error information
    2008.12.05 at 06:03:31:062: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message protocol message id
    2008.12.05 at 06:03:31:062: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message payload storage
    2008.12.05 at 06:03:31:078: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new business message
    2008.12.05 at 06:03:31:078: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow Enter
    2008.12.05 at 06:03:31:078: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty name null
    2008.12.05 at 06:03:31:078: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty type and value nullnull
    2008.12.05 at 06:03:31:078: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow BusinessAction for the given name null null
    2008.12.05 at 06:03:31:093: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating business message error information
    2008.12.05 at 06:03:31:093: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Exit
    2008.12.05 at 06:03:31:093: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updating Native Event Tbl Row
    2008.12.05 at 06:03:31:093: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateNativeEvtTblRow Enter
    2008.12.05 at 06:03:31:093: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateNativeEvtTblRow msgInfo.id = USLabs_123.xml@C0A8006411E06D104AB0000013426420
    2008.12.05 at 06:03:31:109: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
    ** DbAccess:updateNativeEvtTblRow:tip_wireMsg protocolCollabID = null
    2008.12.05 at 06:03:31:109: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException notifying App
    2008.12.05 at 06:03:31:109: Thread-16: B2B - (DEBUG) Engine:notifyApp Enter
    2008.12.05 at 06:03:31:109: Thread-16: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
    <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <correlationId>null</correlationId>
    <b2bMessageId>C0A8006411E06D1048C0000013426410</b2bMessageId>
    <errorCode>AIP-50083</errorCode>
    <errorText>Document protocol identification error</errorText>
    <errorDescription>
    <![CDATA[Machine Info: (xpone)
    Description: Unable to identify the document protocol of the message
    StackTrace:
    Error -:  AIP-50083:  Document protocol identification error
         at oracle.tip.adapter.b2b.engine.Engine.identifyDocument(Engine.java:3043)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1552)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2404)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2303)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2258)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:500)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:348)
         at java.lang.Thread.run(Thread.java:534)
      ]]>
    </errorDescription>
    <errorSeverity>2</errorSeverity>
    </Exception>
    Please help.
    Thanks

  • Error -:  AIP-51000:  General Packaging Error (10g)

    Hi All,
    We are getting a general packaging error. Any idea what can be wrong?
    Thanks in advance.
    Suresh
    Description: General Packaging Error
    StackTrace:
    Error -: AIP-51000: General Packaging Error
         at oracle.tip.adapter.b2b.packaging.MimePackaging.processInputStreamOrStringMessage(MimePackaging.java:1770)
         at oracle.tip.adapter.b2b.packaging.MimePackaging.processMessageContent(MimePackaging.java:1406)
         at oracle.tip.adapter.b2b.packaging.MimePackaging.doUnpack(MimePackaging.java:2343)
         at oracle.tip.adapter.b2b.packaging.MimePackaging.unpack(MimePackaging.java:3224)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1441)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2593)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2463)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2418)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    Wire message:
    SUBJECT=RNIF20 Message
    DATE=Wed, 28 Apr 2010 13:52:29 -0600
    CONTENT-TYPE=multipart/related;type="multipart/related";boundary="_=39025197418758284Sterling39025197418758284MOKO"
    X-RN-VERSION=RosettaNet/V02.00
    USER-AGENT=GIS/PsHttpClientAdapter
    CONTENT-LENGTH=44845
    MESSAGE-ID=<[email protected]>
    ORACLE-ECID=1272484350:10.4.88.160:13205:0:27785,0
    X-RN-RESPONSE-TYPE=async
    HOST=cbist.ciena.com:443
    B2B_SERVLET_URI_PATTERN=/b2b/transportServlet
    --_=39025197418758284Sterling39025197418758284MOKO
    Content-Type: multipart/related;type="application/xml";boundary="_=7854933919128513Sterling7854933919128513MOKO"
    --_=7854933919128513Sterling7854933919128513MOKO
    Content-Type: application/xml
    Content-ID: <app2-1dd23585-12845d2ef4c-75e4>
    Content-location: RN-Preamble
    <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Preamble SYSTEM "Preamble_MS_V02_00.dtd" ><Preamble>...</Preamble>
    --_=7854933919128513Sterling7854933919128513MOKO
    Content-Type: application/xml
    Content-ID: <app2-1dd23585-12845d2ef4c-75e5>
    Content-location: RN-Delivery-Header
    <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE DeliveryHeader SYSTEM "DeliveryHeader_MS_V02_00.dtd" ><DeliveryHeader>...</DeliveryHeader>
    --_=7854933919128513Sterling7854933919128513MOKO
    Content-Type: application/xml
    Content-ID: <app2-1dd23585-12845d2ef4c-75e6>
    Content-location: RN-Service-Header
    <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE ServiceHeader SYSTEM "ServiceHeader_MS_V02_00.dtd" ><ServiceHeader>...</ServiceHeader>
    --_=7854933919128513Sterling7854933919128513MOKO
    Content-Type: application/xml
    Content-ID: <app2-1dd23585-12845d2ef4c-75e7>
    Content-location: RN-Service-Content
    <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    <!DOCTYPE Pip3A7PurchaseOrderUpdateNotification SYSTEM "3A7_MS_V02_04_PurchaseOrderUpdateNotification.dtd">
    <Pip3A7PurchaseOrderUpdateNotification>
    </Pip3A7PurchaseOrderUpdateNotification>
    _=7854933919128513Sterling7854933919128513MOKO
    _=39025197418758284Sterling39025197418758284MOKO

    Hi,
    We are getting the following error in our production environment. Can someone help us here urgently? What could be the possible issue?
    2010.09.11 at 04:20:24:944: Thread-10: B2B - (ERROR) Error -: AIP-51000: General Packaging Error: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processMimeBodyPart(MimePackaging.java:1361)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processInputStreamOrStringMessage(MimePackaging.java:1163)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processMessageContent(MimePackaging.java:737)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processMultipartMessage(MimePackaging.java:829)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processMessageContent(MimePackaging.java:731)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.doUnpack(MimePackaging.java:657)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.unpack(MimePackaging.java:587)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1465)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2617)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2487)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2442)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NullPointerException
         at javax.mail.MessageContext.getMessage(MessageContext.java:82)
         at javax.mail.MessageContext.getMessage(MessageContext.java:61)
         at javax.mail.MessageContext.getSession(MessageContext.java:93)
         at com.sun.mail.handlers.message_rfc822.getContent(message_rfc822.java:65)
         at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:745)
         at javax.activation.DataHandler.getContent(DataHandler.java:501)
         at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:531)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processMimeBodyPart(MimePackaging.java:1283)
         ... 13 more
    2010.09.11 at 04:20:25:122: Thread-10: B2B - (ERROR) java.lang.NullPointerException
         at oracle.tip.adapter.b2b.msgproc.DbAccess.insertMsgTblRow(DbAccess.java:903)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireBusinessToErrorState(DbAccess.java:5577)
         at oracle.tip.adapter.b2b.engine.Engine.handleInboundException(Engine.java:4174)
         at oracle.tip.adapter.b2b.engine.Engine.handleExceptionBeforeIncomingTPA(Engine.java:4045)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1476)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2617)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2487)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2442)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    2010.09.11 at 04:20:25:124: Thread-10: B2B - (ERROR) Error -: AIP-50031: B2B adapter general error: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireBusinessToErrorState(DbAccess.java:5638)
         at oracle.tip.adapter.b2b.engine.Engine.handleInboundException(Engine.java:4174)
         at oracle.tip.adapter.b2b.engine.Engine.handleExceptionBeforeIncomingTPA(Engine.java:4045)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1476)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2617)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2487)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2442)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.msgproc.DbAccess.insertMsgTblRow(DbAccess.java:903)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireBusinessToErrorState(DbAccess.java:5577)
         ... 9 more
    2010.09.11 at 04:20:25:424: Thread-11: B2B - (ERROR) java.lang.NullPointerException
         at javax.mail.MessageContext.getMessage(MessageContext.java:82)
         at javax.mail.MessageContext.getMessage(MessageContext.java:61)
         at javax.mail.MessageContext.getSession(MessageContext.java:93)
         at com.sun.mail.handlers.message_rfc822.getContent(message_rfc822.java:65)
         at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:745)
         at javax.activation.DataHandler.getContent(DataHandler.java:501)
         at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:531)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processMimeBodyPart(MimePackaging.java:1283)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processInputStreamOrStringMessage(MimePackaging.java:1163)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processMessageContent(MimePackaging.java:737)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processMultipartMessage(MimePackaging.java:829)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processMessageContent(MimePackaging.java:731)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.doUnpack(MimePackaging.java:657)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.unpack(MimePackaging.java:587)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1465)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2617)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2487)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2442)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    Regards
    Kavitha

  • AIP-51505: 5084: XEngine error - Invalid data.

    Hi All,
    I am getting invalid data error when posting a EDI 855 from BPEL to iB2B.
    I have done the following already: set validation to false and verified the XML against the xsd using XMLSpy.
    Any idea what can be wrong?
    Thanks in advance,
    Suresh
    2007.09.25 at 14:08:14:877: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:getControlNumberFromEDIRepository CtlNum (TP): Interchange = 1101, Functional Group = 1101, Transaction Set = 1097
    2007.09.25 at 14:08:14:877: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl Enter
    2007.09.25 at 14:08:14:877: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl fullOutboundBatching = false
    2007.09.25 at 14:08:14:878: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl validateEnvelope = false
    2007.09.25 at 14:08:14:878: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl Leave
    2007.09.25 at 14:08:17:023: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:reset Enter
    2007.09.25 at 14:08:17:023: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:reset Leave
    2007.09.25 at 14:08:17:023: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument XML = 1
    2007.09.25 at 14:08:17:024: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument no result from XDataToNative
    2007.09.25 at 14:08:17:024: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sErrorGuid = {F35AFE03-C479-4F96-B4F1-2EF36DABC5FE}
    2007.09.25 at 14:08:17:024: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sDescription = Invalid data.
    2007.09.25 at 14:08:17:024: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sBrDescription = 5084: XEngine error - Invalid data.
    2007.09.25 at 14:08:17:024: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ErrorLevel sParameterValue = 0
    2007.09.25 at 14:08:17:025: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = Name sParameterValue = XData2Native
    2007.09.25 at 14:08:17:025: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ecdn_guid_ sParameterValue = {4A4CF358-6B92-11DC-82C1-00142223EF95}
    2007.09.25 at 14:08:17:025: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ecindex sParameterValue = 0
    2007.09.25 at 14:08:17:025: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ec_error_scope sParameterValue = Document
    2007.09.25 at 14:08:17:025: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument added Hash Key = {4A4CF358-6B92-11DC-82C1-00142223EF95}
    2007.09.25 at 14:08:17:025: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument batch Position = 0
    2007.09.25 at 14:08:17:026: Thread-22: B2B - (ERROR) Error -: AIP-51505: General Validation Error
         at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2021)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1219)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:725)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:906)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
         at java.lang.Thread.run(Thread.java:534)
    2007.09.25 at 14:08:17:026: Thread-22: B2B - (ERROR) Error -: AIP-51505: General Validation Error
         at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2021)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1219)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:725)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:906)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
         at java.lang.Thread.run(Thread.java:534)
    2007.09.25 at 14:08:17:027: Thread-22: B2B - (ERROR) Error -: AIP-51505: General Validation Error
         at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2062)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1219)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:725)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:906)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
         at java.lang.Thread.run(Thread.java:534)
    2007.09.25 at 14:08:17:027: Thread-22: B2B - (ERROR) Error -: AIP-51505: General Validation Error: Error -: AIP-51505: General Validation Error
         at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2062)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1219)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:725)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:906)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: Error -: AIP-51505: General Validation Error
         at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2021)
         ... 6 more
    2007.09.25 at 14:08:17:027: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage B2BDomainException
    2007.09.25 at 14:08:17:027: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updating Error Message: Error -: AIP-51505: General Validation Error
    2007.09.25 at 14:08:17:028: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
    2007.09.25 at 14:08:17:029: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message not found.
    2007.09.25 at 14:08:17:029: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating business message error information
    2007.09.25 at 14:08:17:032: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Exit
    2007.09.25 at 14:08:17:032: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updating Native Event Tbl Row
    2007.09.25 at 14:08:17:032: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateNativeEvtTblRow Enter
    2007.09.25 at 14:08:17:033: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
    ** DbAccess:updateNativeEvtTblRow:tip_wireMsg wiremsg not found
    2007.09.25 at 14:08:17:034: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException notifying App
    2007.09.25 at 14:08:17:034: Thread-22: B2B - (DEBUG) Engine:notifyApp Enter
    2007.09.25 at 14:08:17:036: Thread-22: B2B - (DEBUG) Enqueue Engine AQJMSCorrelationID = 3AE6A497D52861F3E0400302290324BA
    2007.09.25 at 14:08:17:036: Thread-22: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
    <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <correlationId>4de21f37c68d8a74:-3030dba5:11538f2ec0d:-7cfc</correlationId>
    <b2bMessageId>4de21f37c68d8a74:-3030dba5:11538f2ec0d:-7cfc</b2bMessageId>
    <errorCode>AIP-51505</errorCode>
    <errorText>5084: XEngine error - Invalid data.</errorText>
    <errorDescription>
    <![CDATA[Machine Info: (phantom.ciena.com)
    Invalid data.  ]]>
    </errorDescription>
    <errorSeverity>2</errorSeverity>
    </Exception>
    2007.09.25 at 14:08:17:036: Thread-22: B2B - (DEBUG) AQJMSCorrelationID = 3AE6A497D52861F3E0400302290324BA
    2007.09.25 at 14:08:17:041: Thread-22: B2B - (DEBUG) Engine:notifyApp Exit
    2007.09.25 at 14:08:17:041: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updated the Error Message Successfully: Error -: AIP-51505: General Validation Error
    2007.09.25 at 14:08:17:042: Thread-22: B2B - (DEBUG) DBContext commit: Enter
    2007.09.25 at 14:08:17:046: Thread-22: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2007.09.25 at 14:08:17:046: Thread-22: B2B - (DEBUG) DBContext commit: Leave
    2007.09.25 at 14:08:17:046: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Exit
    xml 855:
    <Transaction-855 xmlns:ns1="urn:oracle:integration:b2b:ED4636190E8D48CB88002EE2393BAFD6" xmlns="urn:oracle:integration:b2b:ED4636190E8D48CB88002EE2393BAFD6">
    <ns1:Segment-ST>
    <ns1:Element-143>855</ns1:Element-143>
    <ns1:Element-329>36770001</ns1:Element-329>
    </ns1:Segment-ST>
    <ns1:Segment-BAK>
    <ns1:Element-353>00</ns1:Element-353>
    <ns1:Element-587>AT</ns1:Element-587>
    <ns1:Element-324>QW-09122007-T2</ns1:Element-324>
    <ns1:Element-373>20070924</ns1:Element-373>
    <ns1:Element-373_1>20070924</ns1:Element-373_1>
    </ns1:Segment-BAK>
    <ns1:Segment-CUR>
    <ns1:Element-98>PE</ns1:Element-98>
    <ns1:Element-100>USD</ns1:Element-100>
    </ns1:Segment-CUR>
    <ns1:Loop-PO1>
    <ns1:Segment-PO1>
    <ns1:Element-350>004.000</ns1:Element-350>
    <ns1:Element-330>2</ns1:Element-330>
    <ns1:Element-355>EA</ns1:Element-355>
    <ns1:Element-212>1.1</ns1:Element-212>
    <ns1:Element-235>IN</ns1:Element-235>
    <ns1:Element-234>009-2002-734</ns1:Element-234>
    <ns1:Element-235_1>VN</ns1:Element-235_1>
    <ns1:Element-234_1>76814</ns1:Element-234_1>
    </ns1:Segment-PO1>
    <ns1:Loop-ACK>
    <ns1:Segment-ACK>
    <ns1:Element-668>IA</ns1:Element-668>
    </ns1:Segment-ACK>
    </ns1:Loop-ACK>
    <ns1:Loop-SCH>
    <ns1:Segment-SCH>
    <ns1:Element-380>2</ns1:Element-380>
    <ns1:Element-355_1>EA</ns1:Element-355_1>
    <ns1:Element-374_5>079</ns1:Element-374_5>
    <ns1:Element-373>20070924</ns1:Element-373>
    </ns1:Segment-SCH>
    </ns1:Loop-SCH>
    </ns1:Loop-PO1>
    <ns1:Loop-PO1>
    <ns1:Segment-PO1>
    <ns1:Element-350>002.000</ns1:Element-350>
    <ns1:Element-330>2</ns1:Element-330>
    <ns1:Element-355>EA</ns1:Element-355>
    <ns1:Element-212>1.1</ns1:Element-212>
    <ns1:Element-235>IN</ns1:Element-235>
    <ns1:Element-234>009-2002-375</ns1:Element-234>
    <ns1:Element-235_1>VN</ns1:Element-235_1>
    <ns1:Element-234_1>76752</ns1:Element-234_1>
    </ns1:Segment-PO1>
    <ns1:Loop-ACK>
    <ns1:Segment-ACK>
    <ns1:Element-668>IA</ns1:Element-668>
    </ns1:Segment-ACK>
    </ns1:Loop-ACK>
    <ns1:Loop-SCH>
    <ns1:Segment-SCH>
    <ns1:Element-380>2</ns1:Element-380>
    <ns1:Element-355_1>EA</ns1:Element-355_1>
    <ns1:Element-374_5>079</ns1:Element-374_5>
    <ns1:Element-373>20070924</ns1:Element-373>
    </ns1:Segment-SCH>
    </ns1:Loop-SCH>
    </ns1:Loop-PO1>
    <ns1:Loop-PO1>
    <ns1:Segment-PO1>
    <ns1:Element-350>003.000</ns1:Element-350>
    <ns1:Element-330>2</ns1:Element-330>
    <ns1:Element-355>EA</ns1:Element-355>
    <ns1:Element-212>1.1</ns1:Element-212>
    <ns1:Element-235>IN</ns1:Element-235>
    <ns1:Element-234>009-2002-710</ns1:Element-234>
    <ns1:Element-235_1>VN</ns1:Element-235_1>
    <ns1:Element-234_1>76744</ns1:Element-234_1>
    </ns1:Segment-PO1>
    <ns1:Loop-ACK>
    <ns1:Segment-ACK>
    <ns1:Element-668>IA</ns1:Element-668>
    </ns1:Segment-ACK>
    </ns1:Loop-ACK>
    <ns1:Loop-SCH>
    <ns1:Segment-SCH>
    <ns1:Element-380>2</ns1:Element-380>
    <ns1:Element-355_1>EA</ns1:Element-355_1>
    <ns1:Element-374_5>079</ns1:Element-374_5>
    <ns1:Element-373>20070924</ns1:Element-373>
    </ns1:Segment-SCH>
    </ns1:Loop-SCH>
    </ns1:Loop-PO1>
    <ns1:Loop-CTT>
    <ns1:Segment-CTT>
    <ns1:Element-354>3</ns1:Element-354>
    </ns1:Segment-CTT>
    </ns1:Loop-CTT>
    <ns1:Segment-SE>
    <ns1:Element-96>14</ns1:Element-96>
    <ns1:Element-329>36770001</ns1:Element-329>
    </ns1:Segment-SE>
    </Transaction-855>

    Hello,
    Can you please restart the b2b server and apply the latest patch. If the problem still persist send us the export.
    Rgds,Ramesh

  • 824:General Validation Error

    Hi
    I was trying to test a EDI X12 824 document flow. The B2B Reports throw the following error:
    Description: An unexpected error occurred during validation
    StackTrace:
    Error -: AIP-51505: General Validation Error: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processIncomingDocument(EDIDocumentPlugin.java:1375)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1637)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2088)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2020)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:1978)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:489)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:357)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processIncomingDocument(EDIDocumentPlugin.java:1068)
         ... 7 more
    I have analysed the file again with the ECS file. It seems okay.
    Also, one more query I have is..As 850 and 824 documents flow in the same direction, how do we make sure the desired business action itself picks up the file we have a trading partner supporting both 850 and 824.
    Please let me know your thoughts.
    Regards
    JSJ

    Hello,
    Please ensure the following.
    1. Document Protocol parameter matches against the Incoming EDI Document for Interchange and Group segments.
    2. Transaction Set data is valid against transactionset.ecs.
    If the problem still persitst, send us the complete b2b.log in DEBUG mode.
    Rgds,Ramesh

  • AIP-51083:  General failure creating S/MIME digital signature: Error

    I know you guys did answer to this kind of question in several threads. But my case is bit different. Please try to help me to resolve this issue.
    OS: AIX 5.3
    B2B: 10.1.2.2 (No Additions)
    I did encrypt the message using certificates (Host & Trading Partner) and send to Trading Partner and got the confirmation. So assuming there is no issue with wallet and certificates.
    But I am not able to sing the same message using same certificates.
    (I don’t have any issue with Host certificate, I can use it for host sing but I have issue with Trading Partner certificate)
    Here the error message. I really appreciate your help.
    <MSG_TEXT>Error -: AIP-51083: General failure creating S/MIME digital signature: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:434)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1699)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:262)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:110)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1165)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:701)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:832)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:531)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java(Compiled Code))
    at java.lang.Thread.run(Thread.java:568)
    Caused by: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1054)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:392)
    ... 9 more
    Caused by: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:965)
    ... 10 more
    </MSG_TEXT>
    Thanks in Advance,
    Rama K

    Hi Anuj,
    Thanks for your good reply.
    I was doing same thing which you mentioned (Thats the reason encryption is working with same certificates, so there is no issue with wallet and certificates).
    in my log (debug mode) I did find some thing is interesting
    From the log,
    <MSG_TEXT>oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign alternateWrl: /oraaiad/B2BHome/Apache/Apache/conf/ssl.wlt/default/wallet1</MSG_TEXT>
    Log is looking for alternateWrl "/*default/wallet1*"
    But my wallet location which I mentioned in tip.props /oraaiad/B2BHome/Apache/Apache/conf/ssl.wlt/*default/wallet.txt*
    I know there is no location called "*wallet1*" thats the reason why it's throwing null pointer. But my questions is, why it's looking for alternateWrl? Here some of debug log.
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.336+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="UNKNOWN"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>Utility:getPrivateKey:Exit</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.336+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="UNKNOWN"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign alternateWrl: /oraaiad/B2BHome/Apache/Apache/conf/ssl.wlt/default/wallet1</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.336+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="UNKNOWN"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>Utility:getPrivateKey:Enter</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.506+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:984)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:416)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1734)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:286)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:118)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1602)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:697)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:373)
         at java.lang.Thread.run(Thread.java:568)
    </MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.506+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1077)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:416)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1734)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:286)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:118)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1602)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:697)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:373)
         at java.lang.Thread.run(Thread.java:568)
    Caused by: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:984)
         ... 10 more
    </MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.507+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <MSG_ID>AIP-51083</MSG_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>Error -: AIP-51083: General failure creating S/MIME digital signature
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:458)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1734)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:286)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:118)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1602)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:697)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:373)
         at java.lang.Thread.run(Thread.java:568)
    </MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    Please share your idea/comments.
    I appreciate your help.
    Regards,
    Rama K

  • B2BStarter - Exception Error -:  AIP-50014:  General Error

    i have configured 2 trading partners and then the communication between them is through RNIF. The communication was fine and i was receving purchase order and ack properly. then i added a JMS queue and configured the IDC for JMS and now when i restart the B2B server i get the error:- B2BStarter - Exception Error -: AIP-50014: General Error
    Please help
    Edited by: user10552310 on Nov 6, 2008 11:35 PM

    Hi,
    Please make sure the following steps,
    if you are using weblogic JMS,
    1. Add the weblogic.jar in the classpath by following the below instructions:
    a. copy the weblogic.jar in $ORACLE_HOME/ip/lib/ folder
    b. go to the $ORACLE_HOME/opmn/conf/ folder
    c. update the opmn.xml (take the backup of opmn.xml)
    c.1 add this line <variable id="CLASSPATH" value="$ORACLE_HOME/ip/lib/weblogic.jar" append="true" />
    after <variable id="CLASSPATH" value="$ORACLE_HOME/ip/lib/maverick-all.jar" append="true" /> line
    d. restart the B2B
    2. make sure the below properties are set
    polling interval <polling Interval time>
    Destination Provider Properties java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.security.credentials=weblogic;java.naming.security.principal=weblogic;java.naming.provider.url=t3://<IP Address>:<Port>/
    isTopic false
    Connection Factory Location <Connection Factory Name>
    Message Type bytes
    Factory Provider Properties java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.security.credentials=weblogic;java.naming.security.principal=weblogic;java.naming.provider.url=t3://<IP Address>:<port>/
    In case of AQ based JMS please follow the below thread,
    Re: Creating JMS internal delivery channel ?
    Regards
    Nandagopal.S

  • Error -:  AIP-50014:  General Error: Error -:  AIP-50025:  Repository error

    Hi
    Has anyone seen this exception, any idea what causes this exception
    Description: General Error
    StackTrace:
    Error -: AIP-50014: General Error: Error -: AIP-50025: Repository error : Error -: AIP-11016: SQL error: java.sql.SQLException: Missing defines
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1213)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: Error -: AIP-50025: Repository error : Error -: AIP-11016: SQL error: java.sql.SQLException: Missing defines
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireMsgState(DbAccess.java:2545)
         at oracle.tip.adapter.b2b.msgproc.Request.postTransmit(Request.java:2291)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1823)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:972)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1166)
         ... 3 more
    Caused by: Error -: AIP-11016: SQL error: java.sql.SQLException: Missing defines
         at oracle.tip.repos.core.driver.CatalogQueryDriver.updateInternalObject(CatalogQueryDriver.java:980)
         at oracle.tip.repos.core.driver.CatalogQueryDriver.getRefreshedObject(CatalogQueryDriver.java:763)
         at oracle.tip.repos.core.driver.CatalogQueryDriver.refresh(CatalogQueryDriver.java:481)
         at oracle.tip.repos.core.driver.CatalogDriver.refresh(CatalogDriver.java:1699)
         at oracle.tip.repos.core.persistency.PersistencyService.refresh(PersistencyService.java:545)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireMsgState(DbAccess.java:2534)
         ... 7 more
    Caused by: java.sql.SQLException: Missing defines
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:239)
         at oracle.jdbc.driver.RawAccessor.getBytes(RawAccessor.java:81)
         at oracle.jdbc.driver.T4CRawAccessor.getBytes(T4CRawAccessor.java:336)
         at oracle.jdbc.driver.OracleResultSetImpl.getBytes(OracleResultSetImpl.java:660)
         at oracle.jdbc.driver.OracleResultSet.getBytes(OracleResultSet.java:1678)
         at oracle.tip.repos.core.driver.CatalogQueryDriver.updateInternalObject(CatalogQueryDriver.java:896)
         ... 12 more

    Hi,
    We got this error on our production oracle b2b repeatedly.
    2010.01.07 at 12:52:04:936: Thread-10: B2B - (ERROR) Error -: AIP-50025: Repository error : Error -: AIP-11057: Reading/
    commit LargeString/XMLString before closing writer: Error -: AIP-11057: Reading/commit LargeString/XMLString before closin
    g writer
    Is there anyway to overcome this? What is the possible reason for this error?What steps do we need to take?
    We are on MLR#11 and will be upgrading to MLR#13 in a few weeks.
    Regards
    Kavitha

  • AIP-50014:  General Error

    Hi,
    When i tried to send custom xml document over AS2 protocol. I configured similar to custom document tutorial in B2B user guide. I am getting the following error.
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-08-28T16:39:39.449+05:30</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>pc022351</HOST_ID>
    <HOST_NWADDR>10.232.65.81</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-11</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>Error -: AIP-50014: General Error: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:879)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:531)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:344)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:99)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1165)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:701)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:832)
         ... 3 more
    </MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-08-28T16:40:03.775+05:30</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>pc022351</HOST_ID>
    <HOST_NWADDR>10.232.65.81</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-11</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>Error -: AIP-50014: General Error
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:879)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:531)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:344)
         at java.lang.Thread.run(Thread.java:534)
    </MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    we used the following xsd:
    <xs:schema targetNamespace="http://services.mycccportal.com/SOA/normalizedmessage/v1" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://services.mycccportal.com/SOA/normalizedmessage/v1" elementFormDefault="qualified">
    <xs:element name="PrintImageTransaction0100">
         <xs:complexType>
              <xs:sequence>
                   <xs:element name="TransactionID" type="xs:int" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="ClaimNumber" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="ClaimType" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
         </xs:complexType>
    </xs:element>
    </xs:schema>
    please resolve this isssue.
    Thanks,
    Ramesh

    Hi,
    I found the following logs in b2b.log file:
    er
    2008.08.28 at 17:26:42:411: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.08.28 at 17:26:42:411: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: createDataStorage
    2008.08.28 at 17:26:42:411: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: createDataStorage
    2008.08.28 at 17:26:42:411: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.08.28 at 17:26:42:411: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryExchangeProtocolRevision
    2008.08.28 at 17:26:42:411: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryExchangeProtocolRevision
    2008.08.28 at 17:26:42:427: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.08.28 at 17:26:42:427: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryDocumentProtocolRevision
    2008.08.28 at 17:26:42:427: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryDocumentProtocolRevision
    2008.08.28 at 17:26:42:427: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.08.28 at 17:26:42:427: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: createDataStorage
    2008.08.28 at 17:26:42:427: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: createDataStorage
    2008.08.28 at 17:26:42:427: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty name Acme
    2008.08.28 at 17:26:42:427: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty type and value AS2 IdentifierAcme
    2008.08.28 at 17:26:42:427: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.08.28 at 17:26:42:427: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryTradingPartner
    2008.08.28 at 17:26:42:427: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryTradingPartner
    2008.08.28 at 17:26:42:427: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.08.28 at 17:26:42:427: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryTradingPartner
    2008.08.28 at 17:26:42:427: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryTradingPartner
    2008.08.28 at 17:26:42:427: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.08.28 at 17:26:42:427: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryBusinessAction
    2008.08.28 at 17:26:42:442: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryBusinessAction
    2008.08.28 at 17:26:42:442: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow BusinessAction for the given name Process_AS2Request BusinessAction_5517
    2008.08.28 at 17:26:42:442: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.08.28 at 17:26:42:442: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryAgreement
    2008.08.28 at 17:26:42:442: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryAgreement
    2008.08.28 at 17:26:42:442: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.08.28 at 17:26:42:442: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryTradingPartnerIdentificationType
    2008.08.28 at 17:26:42:442: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryTradingPartnerIdentificationType
    2008.08.28 at 17:26:42:442: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.08.28 at 17:26:42:442: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryTradingPartnerIdentificationType
    2008.08.28 at 17:26:42:458: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryTradingPartnerIdentificationType
    2008.08.28 at 17:26:42:458: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.08.28 at 17:26:42:458: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: createBusinessMessage
    2008.08.28 at 17:26:42:458: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: createBusinessMessage
    2008.08.28 at 17:26:42:458: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.08.28 at 17:26:42:458: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: createBusinessMessageReceiverInter
    2008.08.28 at 17:26:42:474: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: createBusinessMessageReceiverInter
    2008.08.28 at 17:26:42:474: Thread-10: B2B - (DEBUG) getBatchEventId = null
    2008.08.28 at 17:26:42:474: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequest Collaboration Control not required ..continuing Request processing
    2008.08.28 at 17:26:42:474: Thread-10: B2B - (DEBUG) calling setInitiatingPartyId() changing from TPName: GlobalChips Type: AS2 Identifier Value: GlobalChips to TPName: GlobalChips Type: AS2 Identifier Value: GlobalChips
    2008.08.28 at 17:26:42:474: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:processOutgoingDocument Enter
    2008.08.28 at 17:26:42:474: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:getIdentificationExpression Enter
    2008.08.28 at 17:26:42:474: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:getIdentificationExpression idexp = //*[local-name( )='TransactionID']/text( )
    2008.08.28 at 17:26:42:474: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:getIdentificationExpression Exit
    2008.08.28 at 17:26:42:474: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.08.28 at 17:26:42:474: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryDocumentDefinition
    2008.08.28 at 17:26:42:474: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryDocumentDefinition
    2008.08.28 at 17:26:42:474: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:validateDocument DocumentDefinition = AS2 doc def
    2008.08.28 at 17:26:42:489: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:processOutgoingDocument Exit
    2008.08.28 at 17:26:42:489: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Invoking Protocol specific CreateMessage
    2008.08.28 at 17:26:42:489: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Payload Binding ID Info null
    2008.08.28 at 17:26:42:489: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:createMessage Enter
    2008.08.28 at 17:26:42:489: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:createMessage InitialParty is the from party: TPName: GlobalChips Type: null Value: null
    2008.08.28 at 17:26:42:489: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:createMessage protocol msg id = <0AE8415111C092C2E7900000ED5DA200@null>
    2008.08.28 at 17:26:42:489: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.08.28 at 17:26:42:489: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: updateBusinessMessage
    2008.08.28 at 17:26:42:489: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: updateBusinessMessage
    2008.08.28 at 17:26:42:489: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.08.28 at 17:26:42:489: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryBusinessMessage
    2008.08.28 at 17:26:42:489: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryBusinessMessage
    2008.08.28 at 17:26:42:489: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Invoking PackMessage
    2008.08.28 at 17:26:42:489: Thread-10: B2B - (DEBUG) MimePackaging:pack:Enter
    2008.08.28 at 17:26:42:489: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage General Exception ERROR
    2008.08.28 at 17:26:42:489: Thread-10: B2B - (ERROR) Error -: AIP-50014: General Error
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:879)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:531)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:344)
         at java.lang.Thread.run(Thread.java:534)

  • AIP-51083:  General failure creating S/MIME digital signature

    I want to do a test my B2B server whether it can sent B2B with certification request, so first I config
    my wallet file is ewallet.p12, not txt file, so I locate wallet location in tip.properties:
    oracle.tip.adapter.b2b.WalletLocation = file:D:\\EAIB2B\\B2BServer\\ip\\config
    and then in the B2B config console change the wallet password.
    I find such error log as below when I sent B2B request, it expose AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    Description: General failure creating S/MIME digital signature
    StackTrace:
    Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1083)
    at oracle.tip.adapter.b2b.packaging.MimePackaging.createSignatureMimeBodyPart(MimePackaging.java:480)
    at oracle.tip.adapter.b2b.packaging.MimePackaging.createMultipartMessage(MimePackaging.java:934)
    at oracle.tip.adapter.b2b.packaging.MimePackaging.doPack(MimePackaging.java:1132)
    at oracle.tip.adapter.b2b.packaging.MimePackaging.pack(MimePackaging.java:3172)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1685)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:976)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:990)
    ... 10 more

    Hi,
    Please refer -
    AS2 error: IP-51083:  General failure creating S/MIME digital signature
    Place your wallet at default wallet location - Midtier_Home/Apache/Apache/conf/ssl.wlt/default and mention this location in your tip.properties file.
    Regards,
    Anuj
    Edited by: Anuj Dwivedi on Jun 28, 2009 7:33 PM

  • AIP-51083:  General failure creating S/MIME digital signature: java.lang.Nu

    Hi All,
    While sending an 850 document to supplier, I am getting below error, Could any one give some idea how to resolve this.
    Regards
    Machine Info: (usmtnz-dinfwi12.dev.emrsn.org)
    Description: General failure creating S/MIME digital signature
    StackTrace:
    Error -: AIP-51083: General failure creating S/MIME digital signature: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:468)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1807)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:296)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:121)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1685)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:976)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
         at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
         at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)
    Caused by: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1083)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:426)
         ... 9 more
    Caused by: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:990)
         ... 10 more

    Please refer to below forum Thread :
    AS2 error: IP-51083:  General failure creating S/MIME digital signature
    AS2 error: IP-51083:  General failure creating S/MIME digital signature
    If issue still exist, Please post the detail log in debug mode for further analysis.
    Rgds,
    Nitesh Jain

  • Decoding error in parsing of spnego token

    Dear Friends,
    I was getting this error in the portal and it was not letting users into portal, the users got error message as authentication failed. I am pasting the log file for the error, Please help me find the solution to the error,
    Note: Restarting the J2EE engine solved the issue, however I want to understand the root cause so that I can prevent the issue in future.
    Decoding error in parsing of spnego token. [EXCEPTION]  iaik.asn1.CodingException: Error reading ASN.1 datastructure: null
         at iaik.asn1.DerCoder.decode(Unknown Source)
         at com.sap.security.core.server.jaas.SPNegoLoginModule.doHandshake(SPNegoLoginModule.java:565)
         at com.sap.security.core.server.jaas.SPNegoLoginModule.doLogin(SPNegoLoginModule.java:378)
         at com.sap.security.core.server.jaas.SPNegoLoginModule.login(SPNegoLoginModule.java:303)
         at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:69)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:153)
         at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
         at sun.reflect.GeneratedMethodAccessor225.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
         at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.getLoggedInUser(SAPJ2EEAuthenticator.java:86)
         at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.getLoggedInUser(AuthenticationService.java:305)
         at com.sapportals.portal.prt.connection.UMHandler.handleUM(UMHandler.java:96)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:186)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:312)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:368)
         at com.sap.portal.navigation.Gateway.service(Gateway.java:101)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Thanks and Regards,
    Deepak

    Deepak, generally this error is displayed when the  keytab file is generated with a  ktpass tool with is not compatible to the JDK Kerberos implementation.If you have created the keytab file using different version ktpass tool, you have to recreate the keytab file using the required version. Please You verify the SAP Note 927350 - keytab generation for Kerberos authentication with SPNego.
    Regards
    Alejandro

  • Clicking on hyperlink in Outlook causes "General Failure" Error message to pop up in Outlook - but we page does open in Firefox 4.0

    Since upgrading to Firefox 4.0 - every time I click on a link in Outlook, it causes a "General Failure" error message that says, "The URL was:" ... "The system cannot find the fix specified."
    However the site opens fine in Firefox.

    I have same problem and found article below that worked but then i ended up having to do system restore because outlook stopped sending emails after i synced new iPhone while at Apple store that caused problem!!!
    http://answers.yahoo.com/question/index?qid=20080512192747AAHDZtL

  • Org.xml.sax.SAXException: Error:General Schema Error

    I am getting the error below. Any clues/workarounds? I am
    using WL 6.1.
    Thanks in advance,
    Eva
    The following files are below:
    Validate.java
    BMDefaultHandler.java
    validate.xml
    validate.xsd
    org.xml.sax.SAXException: Error:General Schema Error: Grammar with uri:http://schemas.xmlsoap.org/soap/envelope/
    , can not be
    found; schema namespace maybe wrong:
    Xerces supports schemas from the "http://www.w3.org/2001/XMLSchema" namespace
    or
    the instance document's namespace may not match the targetNamespace of the schema.
    at
    com.bluemartini.xml.BMDefaultHandler.error(BMDefaultHandler.java:32)
    at
    org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1249)
    at
    org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLEr
    ror(XMLValidator.java:1821)
    at
    org.apache.xerces.validators.common.XMLValidator.validateElementAndAttr
    ibutes(XMLValidator.java:3232)
    at
    org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVa
    lidator.java:1229)
    at
    org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentS
    canner.java:1806)
    at
    org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispat
    ch(XMLDocumentScanner.java:949)
    at
    org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSca
    nner.java:381)
    at
    org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
    at
    org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.ja
    va:195)
    at
    javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:191)
    at com.bluemartini.test.Validate.main(Validate.java:32)
    ===Validate.java
    package com.bluemartini.test;
    import java.io.*;
    import org.w3c.dom.*;
    import com.bluemartini.xml.*;
    // JAXP imports
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.ParserConfigurationException;
    * Sample test case.
    * Eva Flora
    public class Validate {
    public static void main(String[] argv) {
    try {
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    factory.setNamespaceAware(true);
    factory.setValidating(true);
    factory.setAttribute("http://xml.org/sax/features/validation", Boolean.TRUE);
    factory.setAttribute("http://apache.org/xml/features/validation/schema",
    Boolean.TRUE);
    DocumentBuilder builder = factory.newDocumentBuilder();
    BMDefaultHandler bmErrorHandler = new BMDefaultHandler();
    builder.setErrorHandler(bmErrorHandler);
    File temp = new File("validate.xml");
    Document doc = builder.parse(temp);
    } catch (Exception e) {
    e.printStackTrace();
    ===BMDefaultHandler.java
    package com.bluemartini.xml;
    import com.bluemartini.dna.*;
    import org.xml.sax.helpers.DefaultHandler;
    import org.xml.sax.*;
    public class BMDefaultHandler extends
    DefaultHandler
    public BMDefaultHandler()
    public void warning(SAXParseException spe)
    throws SAXException
    System.out.println("Warning: " + spe.getMessage());
    public void error(SAXParseException spe)
    throws SAXException
    throw new SAXException("Error:" + spe.getMessage());
    public void fatalError(SAXParseException spe)
    throws SAXException
    throw new SAXException("Fatal Error: " + spe.getMessage());
    ===validate.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <soapns:Envelope xmlns:soapns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns:test="http://www.test.com"
    xsi:noNamespaceSchemaLocation="validate.xsd">
         <soapns:Header/>
         <soapns:Body>
    <test:GWSMapRequestMessage>
              </test:GWSMapRequestMessage>
         </soapns:Body>
    </soapns:Envelope>
    ===validate.xsd
    <schema xmlns="http://www.w3.org/2000/10/XMLSchema">
    <element name="GWSMapRequestMessage" type="TestType"/>
    <complexType name="TestType">
    </complexType>
    </schema>

    I am getting the error below. Any clues/workarounds? I am
    using WL 6.1.
    Thanks in advance,
    Eva
    The following files are below:
    Validate.java
    BMDefaultHandler.java
    validate.xml
    validate.xsd
    org.xml.sax.SAXException: Error:General Schema Error: Grammar with uri:http://schemas.xmlsoap.org/soap/envelope/
    , can not be
    found; schema namespace maybe wrong:
    Xerces supports schemas from the "http://www.w3.org/2001/XMLSchema" namespace
    or
    the instance document's namespace may not match the targetNamespace of the schema.
    at
    com.bluemartini.xml.BMDefaultHandler.error(BMDefaultHandler.java:32)
    at
    org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1249)
    at
    org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLEr
    ror(XMLValidator.java:1821)
    at
    org.apache.xerces.validators.common.XMLValidator.validateElementAndAttr
    ibutes(XMLValidator.java:3232)
    at
    org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVa
    lidator.java:1229)
    at
    org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentS
    canner.java:1806)
    at
    org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispat
    ch(XMLDocumentScanner.java:949)
    at
    org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSca
    nner.java:381)
    at
    org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
    at
    org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.ja
    va:195)
    at
    javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:191)
    at com.bluemartini.test.Validate.main(Validate.java:32)
    ===Validate.java
    package com.bluemartini.test;
    import java.io.*;
    import org.w3c.dom.*;
    import com.bluemartini.xml.*;
    // JAXP imports
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.ParserConfigurationException;
    * Sample test case.
    * Eva Flora
    public class Validate {
    public static void main(String[] argv) {
    try {
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    factory.setNamespaceAware(true);
    factory.setValidating(true);
    factory.setAttribute("http://xml.org/sax/features/validation", Boolean.TRUE);
    factory.setAttribute("http://apache.org/xml/features/validation/schema",
    Boolean.TRUE);
    DocumentBuilder builder = factory.newDocumentBuilder();
    BMDefaultHandler bmErrorHandler = new BMDefaultHandler();
    builder.setErrorHandler(bmErrorHandler);
    File temp = new File("validate.xml");
    Document doc = builder.parse(temp);
    } catch (Exception e) {
    e.printStackTrace();
    ===BMDefaultHandler.java
    package com.bluemartini.xml;
    import com.bluemartini.dna.*;
    import org.xml.sax.helpers.DefaultHandler;
    import org.xml.sax.*;
    public class BMDefaultHandler extends
    DefaultHandler
    public BMDefaultHandler()
    public void warning(SAXParseException spe)
    throws SAXException
    System.out.println("Warning: " + spe.getMessage());
    public void error(SAXParseException spe)
    throws SAXException
    throw new SAXException("Error:" + spe.getMessage());
    public void fatalError(SAXParseException spe)
    throws SAXException
    throw new SAXException("Fatal Error: " + spe.getMessage());
    ===validate.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <soapns:Envelope xmlns:soapns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns:test="http://www.test.com"
    xsi:noNamespaceSchemaLocation="validate.xsd">
         <soapns:Header/>
         <soapns:Body>
    <test:GWSMapRequestMessage>
              </test:GWSMapRequestMessage>
         </soapns:Body>
    </soapns:Envelope>
    ===validate.xsd
    <schema xmlns="http://www.w3.org/2000/10/XMLSchema">
    <element name="GWSMapRequestMessage" type="TestType"/>
    <complexType name="TestType">
    </complexType>
    </schema>

Maybe you are looking for