Error in IKM SQL to JMS XML Append SQLException: Parameter not set
Hi I am getting following error please can any one help its oracle to JMS XML integration
ODI-1228: Task jms_vendor_xml (Integration) fails on the target JMS_QUEUE_XML connection jms_xml_vendor.
Caused By: java.sql.SQLException: java.sql.SQLException: Parameter not set
at com.sunopsis.jdbc.driver.JMSXMLPreparedStatement.addBatch(JMSXMLPreparedStatement.java:62)
at oracle.odi.runtime.agent.execution.sql.BatchSQLCommand.execute(BatchSQLCommand.java:42)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:87)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.sql.SQLException: Parameter not set
at com.sunopsis.jdbc.driver.xml.SnpsXmlPreparedStatementRedirector.addBatch(SnpsXmlPreparedStatementRedirector.java:155)
at com.sunopsis.jdbc.driver.JMSXMLPreparedStatement.addBatch(JMSXMLPreparedStatement.java:58)
... 17 more
Source Code
select
FNL_VENDORT.COMPANY SNPSFILENAME,
FNL_VENDORT.VNAME SNPSFILEPATH,
FNL_VENDORT.ACCTNUM VENDORSPK
from AMIT.FNL_VENDORT FNL_VENDORT
where
(1=1)
Target Code
Insert into
VENDORS
SNPSFILENAME,
SNPSFILEPATH,
SNPSLOADDATE,
VENDORSPK
values
:SNPSFILENAME,
:SNPSFILEPATH,
:SNPSLOADDATE,
:VENDORSPK
/*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=VENDORSSNP$CRLOAD_FILE=VENDORS.VENDORSSNP$CRFILE_FORMAT=SNP$CRFILE_SEP_FIELD=SNP$CRFILE_SEP_LINE=SNP$CRFILE_FIRST_ROW=SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=SNPSFILENAMESNP$CRTYPE_NAME=VARCHARSNP$CRORDER=1SNP$CRLENGTH=0SNP$CRSCALE=0SNP$CRPRECISION=255SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=SNPSFILEPATHSNP$CRTYPE_NAME=VARCHARSNP$CRORDER=2SNP$CRLENGTH=0SNP$CRSCALE=0SNP$CRPRECISION=255SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=SNPSLOADDATESNP$CRTYPE_NAME=VARCHARSNP$CRORDER=3SNP$CRLENGTH=0SNP$CRSCALE=0SNP$CRPRECISION=255SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=VENDORSPKSNP$CRTYPE_NAME=NUMERICSNP$CRORDER=4SNP$CRLENGTH=0SNP$CRSCALE=0SNP$CRPRECISION=10SNP$CR$$SNPS_END_KEY*/
/*$$JMS_START_KEY
JMSDELIVERYMODE=2,
JMSTYPE=,
JMSEXPIRATION=0,
JMSPRIORITY=9,
MESSAGETIMEOUT=3000,
NEXTMESSAGETIMEOUT=,
MESSAGEMAXNUMBER=,
DURABLE=,
CLIENTID=,
MESSAGESELECTOR=
$$JMS_END_KEY*/
Hi,
Try setting all values (without <default>:) to required fields in Target properties to IKM SQL to JMS XML append.
Thanks
Similar Messages
-
Error in IKM SQL to JMS XML Append
Hi
I am doing transformation from Oracle table to XML and send that XML to JMS Queue.
So i am uing 1) IKM SQL to JMS XML append 2) LKM SQL to SQL
In IKM SQL to JMS XML append
set following parameters:
SYNCHRO_XML_TO_JMS = true
INITIALIZE_XML_SCHEMA = true
JMS_EXTRACT_MESSAGE = <Root element name>
when execute interface,
Getting error in step "Insert into XML (JMS Message)" like
ODI-1228: Task INBOUND_XML_TEST (Integration) fails on the target JMS_QUEUE_XML connection INBOUND_XML.
Caused By: java.sql.SQLException: java.sql.SQLException: Parameter not set
at com.sunopsis.jdbc.driver.JMSXMLPreparedStatement.addBatch(JMSXMLPreparedStatement.java:62)
at oracle.odi.runtime.agent.execution.sql.BatchSQLCommand.execute(BatchSQLCommand.java:42)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:84)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740
Regards,
Ankush.Hi,
Is this issue resolved? If so, can you provide the fix?
I am getting the same error.
Thanks,
Ruby
Edited by: Rubellah Rajakumar on Oct 1, 2012 5:21 PM -
Getting error 0403-041 Parameter not set.
Hi All,
I am getting below error message when i am executing this command
exp file=expOPS$PENUTIL.dmp buffer=10240000 owner="OPS$PENUTIL" consistent=y log=expOPS$PENUTIL.log statistics=none
error message:ksh: PENUTIL: 0403-041 Parameter not set.
Platform:AIX
Kindly help me out.
Thanks
Edited by: rajaryan on Dec 22, 2009 4:31 AMexp file=expOPS$PENUTIL.dmp buffer=10240000 owner="OPS$PENUTIL" consistent=y log=expOPS$PENUTIL.log statistics=none
error message:ksh: PENUTIL: 0403-041 Parameter not set.I assume OPS$PENUTIL is a user identified externally.
$PENUTIL is interpreted by the shell as a variable, which is not set. Try something likeexp file='expOPS\$PENUTIL.dmp' buffer=10240000 owner="OPS\$PENUTIL" consistent=y log='expOPS\$PENUTIL.log' statistics=none -
Hi All,
Could you please help me here? On my Laptop which is running on windows 8.1 Operation system, I enabled the Hyper-V client feature and setup the Windows Fail-over Clustering using Windows 2012 Standard Edition. So, there are three machines which are running
on the Hyper-V. Below are the machine details;
1st machine - Working as Domain controller and its name is "ACONDomainGroup" and allocated to
1GB RAM to use.
2nd machine - Working as Node1 and its name is "AconNODE1W2K12STD"
and allocated to 2.5GB RAM to use.
3rd machine - Working as Node1 and its name is "AconNODE1W2K12STD"
and allocated to 1.5GB RAM to use.
and the windows virtual cluster name is "AconWinCLTR". While I am doing the SQL Cluster Installation, I am getting below mentioned error. all systems have 4.5 .net installed. May you please guide me where and what i am missing to complete sql clustering.....
Update Source: MU
User Input Settings:
ACTION: InstallFailoverCluster
AGTDOMAINGROUP: <empty>
AGTSVCACCOUNT: <empty>
AGTSVCPASSWORD: <empty>
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE:
ENU: true
ERRORREPORTING: false
FAILOVERCLUSTERDISKS: <empty>
FAILOVERCLUSTERGROUP:
FAILOVERCLUSTERIPADDRESSES: <empty>
FAILOVERCLUSTERNETWORKNAME: <empty>
FEATURES:
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: false
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL
Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft
SQL Server\
INSTANCEID: <empty>
INSTANCENAME: <empty>
ISSVCACCOUNT: NT AUTHORITY\Network
Service
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
PID: *****
QUIET: false
QUIETSIMPLE: false
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT: <empty>
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: <empty>
SECURITYMODE: <empty>
SQLBACKUPDIR: <empty>
SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS
SQLSVCACCOUNT: <empty>
SQLSVCPASSWORD: <empty>
SQLSYSADMINACCOUNTS: <empty>
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: false
UIMODE: Normal
UpdateEnabled: true
UpdateSource: MU
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\110\Setup
Bootstrap\Log\20140420_052344\ConfigurationFile.ini
Rules with failures:
Global rules:
There are no scenario-specific rules.
Rules report file: C:\Program Files\Microsoft SQL Server\110\Setup
Bootstrap\Log\20140420_052344\SystemConfigurationCheck_Report.htm
Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented
Exception type: System.NullReferenceException
Message:
Object reference not set to an instance of an object.
HResult : 0x80004003
Data:
HelpLink.EvtType = 0x9AF1AE5E@0x44A889F9
DisableWatson = true
Stack:
at Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngine.ShouldRuleRun(Rule
rule)
at Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngine.IsRuleSkipped(Rule
rule)
at Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngine.LoadRule(String
ruleId, List`1 ruleProperties, XmlSchema ruleSchema, XmlElementParserFactory elementParser)
at Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngine.LoadRules(IEnumerable`1
ruleIds)
at Microsoft.SqlServer.Configuration.InstallWizard.RunRuleProgressController.Initialize()Dharmendra, the log details are incomplete are not sufficient enough for I guess anyone to help. Besides, from the details above, I can see that the Failover Cluster Disks are not selected:-
FAILOVERCLUSTERDISKS: <empty>
FAILOVERCLUSTERGROUP:
FAILOVERCLUSTERIPADDRESSES: <empty>
FAILOVERCLUSTERNETWORKNAME: <empty>
Please mark the answer as helpful if i have answered your query. Thanks and Regards, Kartar Rana -
SQL 2012 install fails with 'Object reference not set to an instance of an object.'
Hi, I'm trying to install SQL 2012 RTM Enterprise on a Windows 2008 R2 single node cluster.
The installer starts goes through some checks and then fails with the message 'Object reference not set to an instance of an object.' It happens while the small 'wait while...' dialog box is
showing, another window pops up briefly (I think the feature selection window - can't really tell as it doesn't draw before disappearing). Then the ‘Object reference not set’ message comes up.
From the summary log file..
Overall summary:
Final result:
Failed: see details below
Exit code (Decimal):
-2147467261
Exit facility code:
0
Exit error code:
16387
Exit message:
Object reference not set to an instance of an object.
Start time:
2012-09-26 08:52:53
End time:
2012-09-26 08:54:08
Requested action:
InstallFailoverCluster
Exception help link:
http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.2100.60&EvtType=0x9AF1AE5E%400x44A889F9&EvtType=0x9AF1AE5E%400x44A889F9
Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented
Exception type: System.NullReferenceException
Message:
Object reference not set to an instance of an object.
Data:
HelpLink.EvtType = 0x9AF1AE5E@0x44A889F9
DisableWatson = true
Stack:
at Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngine.ShouldRuleRun(Rule rule)
at Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngine.IsRuleSkipped(Rule rule)
at Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngine.LoadRule(String ruleId, List`1 ruleProperties, XmlSchema ruleSchema, XmlElementParserFactory elementParser)
at Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngine.LoadRules(IEnumerable`1 ruleIds)
at Microsoft.SqlServer.Configuration.InstallWizard.RunRuleProgressController.Initialize()
I have rebooted, tried different media, tried uninstalling the setup files and rerunning but always get the same result.
Any help would be gratefully accepted.
Thanks,
Bruce.Hi Alberto,
Whenever I am trying to install SQL 2012 with SP1 clustering, I am getting below error. Can you please advise on this.
Additional information are
Windows Servers Version and Edition - Windows 2012 Strandedition
SQL Server Version and Edition - SQL 2012 with SP1
All the machines are running on Hyper-V and Passed the cluster validation test successfully. there is no issue. The servers' (Nodes) names are;
DomainServerName - ACONDomainGroup (1gb ram allocated)
Node1 - AconNODE1W2K12STD (2.5gb ram allocated )
Node2 - AconNODE2W2K12STD (1.5 ram allocated allocated)
WindowsClusterName - AconWinCLTR
Below is Summary.txt Error
Update Source: MU
User Input Settings:
ACTION: InstallFailoverCluster
AGTDOMAINGROUP: <empty>
AGTSVCACCOUNT: <empty>
AGTSVCPASSWORD: <empty>
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE:
ENU: true
ERRORREPORTING: false
FAILOVERCLUSTERDISKS: <empty>
FAILOVERCLUSTERGROUP:
FAILOVERCLUSTERIPADDRESSES: <empty>
FAILOVERCLUSTERNETWORKNAME: <empty>
FEATURES:
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: false
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: <empty>
INSTANCENAME: <empty>
ISSVCACCOUNT: NT AUTHORITY\Network Service
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
PID: *****
QUIET: false
QUIETSIMPLE: false
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT: <empty>
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: <empty>
SECURITYMODE: <empty>
SQLBACKUPDIR: <empty>
SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS
SQLSVCACCOUNT: <empty>
SQLSVCPASSWORD: <empty>
SQLSYSADMINACCOUNTS: <empty>
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: false
UIMODE: Normal
UpdateEnabled: true
UpdateSource: MU
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140420_052344\ConfigurationFile.ini
Rules with failures:
Global rules:
There are no scenario-specific rules.
Rules report file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140420_052344\SystemConfigurationCheck_Report.htm
Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented
Exception type: System.NullReferenceException
Message:
Object reference not set to an instance of an object.
HResult : 0x80004003
Data:
HelpLink.EvtType = 0x9AF1AE5E@0x44A889F9
DisableWatson = true
Stack:
at Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngine.ShouldRuleRun(Rule rule)
at Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngine.IsRuleSkipped(Rule rule)
at Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngine.LoadRule(String ruleId, List`1 ruleProperties, XmlSchema ruleSchema, XmlElementParserFactory elementParser)
at Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngine.LoadRules(IEnumerable`1 ruleIds)
at Microsoft.SqlServer.Configuration.InstallWizard.RunRuleProgressController.Initialize() -
Error while deleting loc - Object variable or With block variable not set
I could not delete some of the existing locations in the HyperionFDM and it results in the error Object variable or With block variable not set.
I verified that the Server has the apps and subfolder which is needed for this application \\servername\data\app1\Inbox etc.
Any pointers will be really useful. Thanks !
- ApHi,
There can be several reasons for it, for now I would suggest you:
This error generally comes because:
Cause
The user that logs on workbench does not have write access to the Financial Data Quality Management application shared folder.
Solution
Log onto the machine where the Financial Data Quality Management application files are located. You can locate this path by performing the following:
a) At the FDM Login page choose <Add Application> and login
b) Highlight the FDM Application in question and click the "Modify" button
c) The application path field displays the location of the application folder
2. Go the shared folder, right click and go to Properties -> Sharing -> Permissions and add the user to the Share Permissions and grant "Change" at a minimum.
Please check and let me know
I would suggest you to post FDM related posts in Financial Data Management
J -
I get this error message when trying to open and log into an online casino "The Remote device or resource wont accept connection, not set up to accept connection from port https".
I am on a desktop computer my connection to the net is with a USB Virgin Mobile hotspot device.
I also have issues with some downloads not installing right for instance SKYPE wont work. If the problems are related I don't know
ThanksStarting in Firefox 14, Firefox will guess an address and place it in the address bar (AutoFill feature). If you have ever connected to the site using a secure (HTTPS) connection, then Firefox will try to connect security to the address suggested by the AutoFill feature. To work around this you can:
* Edit the address to force Firefox to interpret your entry literally. For example, if there is a trailing / you can remove it.
* Turn off the URL bar AutoFill feature and just use the AutoSuggest drop-down.
* Clear Firefox's memory of the site so it doesn't default to a secure connection (however, this also removes any bookmarks you have to pages on the site).
To disable the in-address-bar autofill without losing the suggestions that appear below the bar:
(1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
(2) In the filter box, type or paste '''autofill''' and pause while the list is filtered
(3) Double-click '''browser.urlbar.autoFill''' to toggle it from true to false. You're done with about:config and you can close this tab.
"Forget about this site" will clear cache, history, bookmarks, and permissions for the site, and probably any saved certificate. There are two ways to get to this:
* History > Show All History, right-click an entry for the site > "Forget about this site"
* Type or paste about:permissions in the address bar and press Enter, then select the site from the list on the left side, and click the "Forget about this site" button on the right side
Depending on the size of your history and cache, this may lock Firefox up for a minute or two while everything is cleansed. -
Error: Server was unable to process request. --- Object reference not set
Hi All,
I am using ALSB 2.6.
In the project, i have requirement to do transformation of incoming request with CData Tag and getting a response from the remote service.
I have configured the Proxy Service and Business Service with a message route in which transformation is happening using replace action and adding a XSLT there.
While sending the request from ALSB Test Console , its doing the transformation correctly as follows:
Transformed Request at ALSB
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<lif:MultipleTermLifeQuotePublic xmlns:lif="https://www.farmerslife.com/LifeNetWS/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<lif:xmlInput>
<TERM_LIFE_RATE_QUOTE>
<Quote_Request Quote_Sequence = "100">
<Face_Amount>
1000.00
</Face_Amount>
<Gender>
male
</Gender>
<Age>
100
</Age>
<Level_Term_Years>
100
</Level_Term_Years>
<Type>
string
</Type>
<Nicotine>
true
</Nicotine>
<CIR_Amount>
1000.00
</CIR_Amount>
<State>
string
</State>
<Waiver_Premium>
false
</Waiver_Premium>
</Quote_Request>
</TERM_LIFE_RATE_QUOTE>
</lif:xmlInput>
</lif:MultipleTermLifeQuotePublic>
</soapenv:Body>
After transformation, when its passing through Business Service its giving the followin error at ALSB console
<soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>
Server was unable to process request. ---> Object reference not set to an instance of an object. </faultstring>
<detail/>
</soap:Fault>
</soap:Body>
[b]When i am sending the same request through SOAP UI, I am getting a correct response.
Can any one guide me what to do regarding this, where i am going wrong.
Please try to reply as soon as possible. Its an urgent issue.That error you're getting is a typical error message from Windows web services. It simply means there was something unspecified that was wrong with your message. You'll need to find a way to extract the actual message being sent in both the "good" and "bad" cases and look at the differences. You can do that in ALSB with a "Log" action.
-
Error in BatchLoad process - Object variable or with block variable not set
Hi All,
We are working on FDM version 11.1.1.3 with Essbase as a target system.
To automate the data load process, we are loading the batch loader feature.
I have taken the backload script from admin guide and it is working fine in our test environment.
When, I am trying to use the same script in our QA environment, we are getting the below error message-
Error: An error occurred running the script:
*91 - Object variable or with block variable not set*
At Line: 24
QA environment has same version as Test environment (11.1.1.3). In QA, it the same script which I am using in Test environment.
Please help us on this issue. Any help will be highly appreciated.
Thanks & Regards,
Mohit JainHi,
As suggested by you, I have placed the code given by you and now my scripts looks like-
'Declare Local Variables
Dim lngProcessLevel
Dim strDelimiter
Dim blnAutoMapCorrect
Dim BATCHENG
Set BATCHENG = CreateObject("upsWBatchLoaderDM.clsBatchLoader")
BATCHENG.mInitialize API, SCRIPTENG
'Initialize Variables
lngProcessLevel = 12 'Up-To-Check
strDelimiter = "~"
blnAutoMapCorrect = 0
'Create the file collection
Set BATCHENG.PcolFiles = BATCHENG.fFileCollectionCreate(CStr(strDelimiter))
'Execute a Standard Serial batch
BATCHENG.mFileCollectionProcess BATCHENG.PcolFiles, CLng(lngProcessLevel), , CBool(blnAutoMapCorrect)
But still, I am getting the same error.
Have I placed the your given code at wrong place? please help me on this.
Thanks a lot for your help!!
Thanks & Regards,
Mohit -
SQL 2008 R2 - SSIS C# Script Task - Not Setting Variable
OK... I am stumped. I am trying to set the variable "User::TicketDB_Get_SQL" from a Script Task since it is dynamic... and well it isn't working :(
I can see I am supposed to be setting the value, but when I do breaks and watch that variable the new value is not being set. Here is my C# code... Can someone look and see what the heck I might be doing wrong:
Microsoft SQL Server Integration Services Script Task
Write scripts using Microsoft Visual C# 2008.
The ScriptMain is the entry point class of the script.
using System;
using System.IO;
using System.Data;
using Microsoft.SqlServer.Dts.Runtime;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.Text.RegularExpressions;
namespace ST_3542610d50a64788be84926d15e07f7b.csproj
[System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
#region VSTA generated code
enum ScriptResults
Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
#endregion
public void Main()
//MessageBox.Show("Start VB");
//MessageBox.Show("Make ADO Connection");
SqlConnection sqlConn = new SqlConnection();
sqlConn = (SqlConnection)(Dts.Connections["ADO-DW-SSIS_Processing"].AcquireConnection(Dts.Transaction) as SqlConnection);
SqlConnection sqlTicketDBRowsConn = new SqlConnection();
sqlTicketDBRowsConn = (SqlConnection)(Dts.Connections["ADO-DW-SSIS_Processing"].AcquireConnection(Dts.Transaction) as SqlConnection);
//MessageBox.Show("Connected to ADO");
String newSelectSQL = null;
//bool fireAgain = false;
Variables vars = null;
try
Dts.VariableDispenser.LockForRead("User::Data_Warehouse_Max_Modified_Date");
Dts.VariableDispenser.LockForRead("User::Data_Warehouse_Prod_Table");
Dts.VariableDispenser.LockForRead("User::Modified_Date_Field");
Dts.VariableDispenser.LockForRead("User::TicketDB_Schema");
Dts.VariableDispenser.LockForRead("User::Table_Name");
Dts.VariableDispenser.LockForRead("User::Unique_ID_Field");
Dts.VariableDispenser.LockForRead("User::Data_Warehouse_Process_Table_Name");
Dts.VariableDispenser.LockForRead("User::Data_Warehouse_DB_Name");
Dts.VariableDispenser.LockForWrite("User::TicketDB_Get_SQL");
Dts.VariableDispenser.LockForWrite("User::Reprocess_Records");
Dts.VariableDispenser.GetVariables(ref vars);
//Dts.VariableDispenser.GetVariables(ref glvars);
String maxModDate = vars["User::Data_Warehouse_Max_Modified_Date"].Value.ToString();
String prodtable = vars["User::Data_Warehouse_Prod_Table"].Value.ToString();
String modField = vars["User::Modified_Date_Field"].Value.ToString();
String TicketDBSchema = vars["User::TicketDB_Schema"].Value.ToString();
String tablename = vars["User::Table_Name"].Value.ToString();
String uniqIDField = vars["User::Unique_ID_Field"].Value.ToString();
String procTable = vars["User::Data_Warehouse_Process_Table_Name"].Value.ToString();
String custName = vars["User::Data_Warehouse_DB_Name"].Value.ToString();
String Reprocess = "F";
String ReprocessDate = "0";
String ReprocessPrime = null;
String ReprocessVal = null;
Int16 count = 0;
#region Get List of Rows for TicketDB Query
String TicketDBRows = null;
String sqlTicketDBRowsQuery = "SELECT [TicketDB_Column_Name] " +
"FROM " + procTable + " " +
"WHERE " +
"[Import_Data_Warehouse] = 1 " +
"AND " +
"[TicketDB_Table_Name] = '" + tablename + "' " +
"ORDER BY [TicketDB_Column_Name]";
SqlCommand sqlTicketDBRowsCmd = new SqlCommand(sqlTicketDBRowsQuery, sqlTicketDBRowsConn);
SqlDataReader sqlTicketDBRowsReader = sqlTicketDBRowsCmd.ExecuteReader();
Int16 TicketDBrowcount = 0;
while (sqlTicketDBRowsReader.Read())
if (TicketDBrowcount > 0)
TicketDBRows += ", ";
TicketDBRows += " " + sqlTicketDBRowsReader.GetString(0) + " ";
TicketDBrowcount++;
#endregion
String Pattern = @"(\D)\s-\s(\d+)(\s-\s(.*)\s-\s(.*))?";
String ReProcessFile = null;
if (prodtable.Equals("Template")) {
ReProcessFile = "E:\\Templates\\Configs\\" + prodtable + "-Reprocess.txt";
else
ReProcessFile = "E:\\SSIS_Configs\\" + custName + "\\" + prodtable + "-Reprocess.txt";
#region Process Re-Process File
if (File.Exists(ReProcessFile))
//MessageBox.Show("File is found");
using (StreamReader sr = new StreamReader(ReProcessFile))
//MessageBox.Show("File has been opened");
string line;
while ((line = sr.ReadLine()) != null)
//MessageBox.Show("Found a Line: " + line);
Regex rgx = new Regex(Pattern, RegexOptions.IgnoreCase);
MatchCollection matches = rgx.Matches(line);
foreach (Match match in matches)
GroupCollection groups = match.Groups;
Reprocess = groups[1].Value;
ReprocessDate = groups[2].Value;
ReprocessPrime = groups[4].Value;
ReprocessVal = groups[5].Value;
//MessageBox.Show("Variables Set." + Environment.NewLine +
// "Reprocess: " + Reprocess + Environment.NewLine +
// "Reprocess Date: " + ReprocessDate + Environment.NewLine +
// "Reprocess Primary Field: " + ReprocessPrime + Environment.NewLine +
// "Reprocess Value Field: " + ReprocessVal);
//MessageBox.Show("End Processing File");
#endregion
#region Re-Proccess Rows
if (Reprocess.Equals("T"))
if (String.IsNullOrEmpty(ReprocessPrime) && String.IsNullOrEmpty(ReprocessVal))
else
//MessageBox.Show("Finished Getting Read Only Variables");
string sqlQuery = "SELECT TOP (1000) " + uniqIDField + " " +
"FROM " + prodtable + " " +
"WHERE " +
"[" + ReprocessVal + "] IS NULL " +
"AND " +
"[" + ReprocessPrime + "] IS NOT NULL " +
"ORDER BY [" + modField + "]";
//MessageBox.Show("sqlQuery: " + sqlQuery);
SqlCommand sqlCmd = new SqlCommand(sqlQuery, sqlConn);
SqlDataReader sqlReader = sqlCmd.ExecuteReader();
newSelectSQL = "SELECT " + TicketDBRows + " FROM " + TicketDBSchema + "." + tablename + " WHERE "; // + modField + " > '" + maxModDate + "' ";
while (sqlReader.Read())
if (count == 0)
newSelectSQL += " CASE_ID IN (";
if (count > 0)
newSelectSQL += ", ";
newSelectSQL += "'" + sqlReader.GetString(0) + "'";
count++;
newSelectSQL += ") OR " + modField + " > '" + maxModDate + "' ORDER BY " + modField + " ASC";
//sqlConn.Close();
if (count == 0)
//MessageBox.Show("Reprocess: " + Reprocess + Environment.NewLine + "Start Date: " + ReprocessDate);
newSelectSQL = "SELECT " + TicketDBRows + " FROM " + TicketDBSchema + "." + tablename + " " + "WHERE " + modField + " >= '" + ReprocessDate + "' ";
newSelectSQL += "ORDER BY " + modField + " ASC";
vars["User::Reprocess_Records"].Value = newSelectSQL.ToString();
//Dts.Variables["User::Reprocess_Records"].Value = "T";
else
//MessageBox.Show("NO Reprocess: " + Reprocess + Environment.NewLine + "Max Date: " + maxModDate);
newSelectSQL = "SELECT " + TicketDBRows + " FROM " + TicketDBSchema + "." + tablename + " " + "WHERE " + modField + " > '" + maxModDate + "' ";
newSelectSQL += "ORDER BY " + modField + " ASC";
#endregion
else
//MessageBox.Show("NO Reprocess: " + Reprocess + Environment.NewLine + "Max Date: " + maxModDate);
newSelectSQL = "SELECT " + TicketDBRows + " FROM " + TicketDBSchema + "." + tablename + " " + "WHERE " + modField + " > '" + maxModDate + "' ";
newSelectSQL += "ORDER BY " + modField + " ASC";
//MessageBox.Show("Maybe New SQL: " + newSelectSQL.ToString());
//Variables vars = null;
MessageBox.Show("Got Variable now lets set it to: " + newSelectSQL.ToString());
// Now you can use the variables
vars["User::TicketDB_Get_SQL"].Value = newSelectSQL.ToString();
MessageBox.Show("New SQL: " + vars["User::TicketDB_Get_SQL"].Value.ToString());
//vars.Unlock();
catch (Exception ex)
//MessageBox.Show("Error :(");
// Throw an exception or add some logging
//this.Dts.Events.FireInformation(1, "Something Went Wrong", newSelectSQL.ToString(), "", 0, ref fireAgain);
throw ex;
//Dts.TaskResult = (int)ScriptResults.Failure;
finally
//MessageBox.Show("Trying to UNLock Variable");
// Release the locks (even if your script task fails)
vars.Unlock();
//Dts.Variables["User::TicketDB_Get_SQL"].Value = newSelectSQL;
//MessageBox.Show("New SQL: " + Dts.Variables["User::TicketDB_Get_SQL"].Value);
Dts.TaskResult = (int)ScriptResults.Success;
So that is my code... when I run it, line # 217 shows what the new Variable should be... However when I hit line # 220 it isn't set and if I let it continue I am watching the variables and it isn't getting set. I am confused... anyone??
Billy S.Hi Billy S,
Thank you for sharing your solutions and experience here. It will be very beneficial for other community members who have similar questions.
Thanks,
Eileen
TechNet Subscriber Support
If you are
TechNet Subscription user and have any feedback on our support quality, please send your feedback
here -
Folks
I need to separate SQL statements from Java Code, How do i put these SQL Statements in an XML file and how to access these SQL statements from a Java code,
Any help with sample code is greatful,
thanks
mathewI looked it and they support only Perl now, Infact i saw some questions posted in some forums about having SQL statements in XML, but i am not able to get that information,Let me know if you can get any information,
thanks
KM -
I am using oracle as database and weblogic 4.5. I have copied the classes12.zip file in lib directory of weblogic. I am getting the error that oracle.sql.* and oracle.jdbc.driver.* not found when i am importing these packages in a jsp file. what i need to do to import oracle driver packages?I put it in the classpath also.
Please Advice!
Thanks in advance
AnuPamaHi Anupama,
First of all I would be surprised if you would not like to use the connection pooling feature of weblogic (in which case you might not be needing the import the classes directly), and would like to open direct connections to your database. Anyways for doing that I would recommend you to check out the readme doc that ships
along with the jdbc oracle (classes12.zip etc). I am giving an excerpt over here:
These are a few simple things that you should do in your JDBC program:
1. Import the necessary JDBC classes in your programs that use JDBC.
For example:
import java.sql.*;
import java.math.*;
2. Register the Oracle driver before before calling other JDBC APIs.
(This is not needed if you are using the JDBC Server-side Internal
Driver because registration is done automatically in the server.)
To register the Oracle driver, make sure the following statement
is executed at least once in your Java session:
DriverManager.registerDriver(
new oracle.jdbc.driver.OracleDriver());
3. Open a connection to the database with the getConnection call.
Different connection URLs should be used for different JDBC
drivers. The following examples demonstrate the different URLs.
For the JDBC OCI8 Driver:
Connection conn = DriverManager.getConnection(
"jdbc:oracle:oci8:@<database>",
"scott", "tiger");
where <database> is either an entry in tnsnames.ora or a SQL*net
name-value pair.
For the JDBC Thin Driver, or Server-side Thin Driver:
Connection conn = DriverManager.getConnection(
"jdbc:oracle:thin:@<database>",
"scott", "tiger");
where <database> is either a string of the form
<host>:<port>:<sid> or a SQL*net name-value pair.
For the JDBC Server-side Internal Driver:
Connection conn = DriverManager.getConnection(
"jdbc:oracle:kprb:");
Note that the trailing ':' character is necessary. When you use
the Server-side Internal Driver, you always connect to the
database you are executing in. You can also do this:
Connection conn
= new oracle.jdbc.driver.OracleDriver().defaultConnection();
Hope this helps,
Thanks,
Anupama wrote:
I am using oracle as database and weblogic 4.5. I have copied the classes12.zip file in lib directory of weblogic. I am getting the error that oracle.sql.* and oracle.jdbc.driver.* not found when i am importing these packages in a jsp file. what i need to do to import oracle driver packages?I put it in the classpath also.
Please Advice!
Thanks in advance
AnuPama--
Apurb Kumar -
Error 7 initializing SQL*Plus
Hi,
when I laucnh sqlplus I obtain this error:
oracle@gami7ot1:/grid/app/9.2.0>sqlplus
Error 7 initializing SQL*Plus
Message file sp2<lang>.msb not found
oracle@gami7ot1:/grid/app/9.2.0>which sqlplus
/grid/app/9.2.0/bin/sqlplus
I have these environment settings:
oracle@gami7ot1:/grid/app/9.2.0>env
_=/usr/bin/env
LANG=en_US
LOGIN=oracle
SSH_TTY=/dev/pts/0
PATH=/grid/app/9.2.0/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/oracle/bin:/usr/bin/X11:/sbin:.:
NLS_LANG=AMERICAN_AMERICA.UTF8
ORACLE_BASE=/grid/app
LC__FASTMSG=true
EDITOR=vi
LOGNAME=oracle
MAIL=/usr/spool/mail/oracle
ORACLE_SID=TEST
LOCPATH=/usr/lib/nls/loc
USER=oracle
AUTHSTATE=compat
SHELL=/usr/bin/ksh
ODMDIR=/etc/objrepos
HOME=/home/oracle
SSH_CONNECTION=172.27.1.176 8799 172.27.13.210 22
SSH_CLIENT=172.27.1.176 8799 22
TERM=xterm
MAILMSG=[YOU HAVE NEW MAIL]
ORACLE_HOME=/grid/app/9.2.0
PWD=/grid/app/9.2.0
TZ=Europe/Rome
A__z=! LOGNAME
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
LIBPATH=/grid/app/9.2.0/lib:/grid/app/9.2.0/lib32:/usr/dt/lib:/usr/openwin/lib:/grid/app/9.2.0/ctx/lib
LD_LIBRARY_PATH=/grid/app/9.2.0/lib:/grid/app/9.2.0/lib32:/usr/dt/lib:/usr/openwin/lib:/grid/app/9.2.0/ctx/lib
this is my oratab:
oracle@gami7ot1:/grid/app/9.2.0>cat /etc/oratab
+ASM1:/grid/11.2.0:N # line added by Agent
#TEST:/grid/app/product/10.2.0:N
TEST:/grid/app/9.2.0:N
What I'm doing wrong?Hi BelMan,
this works fine:
oracle@gami7ot1:/home/oracle>export ORACLE_HOME=/grid/11.2.0
oracle@gami7ot1:/home/oracle>export ORACLE_SID=+ASM
oracle@gami7ot1:/home/oracle>/grid/11.2.0/bin/sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Tue Jul 27 12:51:44 2010
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter user-name:
But I need to use 9.2.0.8 home! -
Java.sql.SQLDataException, msg=ORA-01882: timezone region not found
Hi,
I am new to ADF. I am using Jdev 11.1.1.1 version.
I created sample application , in that i added one jspx AM, VO and droppping the VO to the jspx file.
when i try to run the page i am getting the following error.
" java.sql.SQLDataException, msg=ORA-01882: timezone region not found"
please can anybody tell what's went wrong...
Thanks,
mahi.there you go http://baigsorcl.blogspot.com/2009/11/ora-01882-timezone-region-not-found.html
-
When open excel, the error "object variable or with block variable not set"
hi, expert:
the user is install BPCClient7.5.exe.
when the user open "Planning and Consolidation for Office Client", then the error message is below:
"object variable or with block variable not set"
please answer as soon as possible!
thanx!Hi,
Please enable the Addins in Excel options..Like
Go to Normal Excel->Excel options>Addin's>Manage>Disabled Items>then Planning and Consolidation->select enable..
Once it is enabled then re login into BPC for Excel..it will work..
Hope it will solve your problem..
Regards,
Naresh.K
Maybe you are looking for
-
I had recently bought the monthly student plan for Adobe Photoshop CC. I originally started with the free trial of Photoshop CC, and also got the creative cloud app for the desktop. When I tried to start up Photoshop CC, I got a message saying that
-
Going back to a completed question
Hi, I have a Captivate 8 project where there are several sections with review questions at the end of each section. I am using the table of contents to allow users to move around the whole project, and have enabled the move backwards option on the qu
-
Database query problem...
I have written a piece of code that queries a database (PETDOGS) for a particular field (BREED) when particular swing item gets focus. The code works fine when the SQL statement queries a numerical field but not when its looking for a string field. S
-
JSP: How do display list of objects in jsp table?
sorry that my question my confuse you, let me explain more. in my java class, have method : public List retrieveAllVacancies(); and it returns a list of available vacancies. on my jsp page, i want to display the vicancies in the table have 3 rows: va
-
Hi all, I'm new to In-Tune so please excuse my ignorance... Can Windows In-Tune be used to manage wireless networks? - we want to be able to deploy certificates (and updates to them) along with corporate wireless network settings (SSID, authenticatio