Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase is CLS non-compliant
I'm upgrading SSIS 2005 packages to SQL 2008 R2, and I'm running into a problem with VB.Net the Scripting Task. In SQL 2005 SSIS VB.Net Scripting task the DTS object is instantiated implicitly at runtime and has global scope. In SSIS 2008 VB.Net
scripting task you need to add the reference:
Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
Unfortunately this creates an error message that I don't understand:
'ScriptMain' is not CLS-compliant because it derives from 'VSTARTScriptObjectModelBase', which is not CLS-compliant. The module won't build the binary with this error.
I'm sure that this problem has plagued legions of other SSIS developers, so hopefully someone has the fix that is less than rebuilding each VB.Net tasks from scratch in SQL 2008.
Cheers!
[email protected]
Hi Brandon,
Please refer to the following code in this case:
<System.AddIn.AddIn("ScriptMain", Version:="1.0", Publisher:="", Description:="")> _
<System.CLSCompliantAttribute(False)> _
Partial Public Class ScriptMain
Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
For detail information, please take a look at the following example:
http://microsoft-ssis.blogspot.com/2011/03/get-file-properties-with-ssis.html
If you have any feedback on our support, please click
here.
Elvis Long
TechNet Community Support
Similar Messages
-
I'm trying to set up a script task in SSIS (my first attempt at doing so, so bear with me). Part of this is code I have pulled from other examples I found on the internet.
Dts.TaskResult = Dts.Results.Success
on the above line, I'm getting error
'Results' is not a member of 'Microsoft.SqlServer.Dts.Tasks.ScriptTask.ScriptObjectModel'
Can you tell me what's wrong?
Imports System
Imports System.Data
Imports System.Math
Imports Microsoft.SqlServer.Dts.Runtime
<System.AddIn.AddIn("ScriptMain", Version:="1.0", Publisher:="", Description:="")> _
<System.CLSCompliantAttribute(False)> _
Partial Public Class ScriptMain
Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
Enum ScriptResults
Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success
Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
End Enum
Public Sub Main()
Dim mgr As ConnectionManager
mgr = Dts.Connections("FTP_Connect")
Dim conn As FtpClientConnection
conn = New FtpClientConnection(mgr.AcquireConnection(DBNull.Value))
Dim fileNames(0) As String
fileNames(0) = "LEVEL01.TESTFILE" 'user can avoid using / in file name here
Try
conn.Connect()
conn.ReceiveFiles(fileNames, "c:\holddata", True, True)
Catch ex As Exception
Finally
conn.Close()
End Try
Dts.TaskResult = Dts.Results.Success
End Sub
End ClassI think error is here - Dts.TaskResult = Dts.Results.Success, it can't find the enumerator
name "Results". The enumerator name that you gave (or by default) "ScriptResults"
Enum
ScriptResults
Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success
Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
End Enum
So, try with this statement
Dts.TaskResult = Dts.ScriptResults.Success
//this is last 3rd line from bottom
Narsimha -
Microsoft.SqlServer.Dts.Pipeline assembly don't exist in my library
Hi, i want to create a SSIS Custom Component, but i when search the Microsoft.SqlServer.Dts.Pipeline
reference, i don't foundd it.
I have SQL server 2012 Enterprise,SQL Data Tools, Client Tools and all features installed.
Anyone knows what can i be?
Thanks.Hi, thanks for yuor repply,
i search in "C:\Program Files (x86)\Microsoft SQL Server\110\SDK\Assemblies\" but the file
no exist:
and Client SDK Tools is installed:
I create a new proyect in Visual studio 2013. -
Microsoft.SqlServer.ManagedDTS not recognized in SSIS 2008
I recently got a new computer at work and when I open a script task in an SSIS project I get the following error:
Error 4 Reference required to assembly 'Microsoft.SqlServer.ManagedDTS, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' containing the type 'Microsoft.SqlServer.Dts.Runtime.Variables'. Add one to your project.
I never got this error before with my previous machine. i surely don't need to add a reference in every script task do I?
Thanks,
RichRich,
You open a project in VS 2010 perhaps and SSIS 2008 is not installed.
By the way here I found a blog post about the error that covers it very well offering fixes:
http://blogs.msdn.com/b/jason_howell/archive/2010/08/18/visual-studio-2010-solution-build-process-give-a-warning-about-indirect-dependency-on-the-net-framework-assembly-due-to-ssis-references.aspx
Arthur My Blog -
Microsoft.SqlServer.Management.IntegrationServices dll is missing
Hi,
I need to load a package programatically that is deployed to the SSIS catalog with the project deployment model. All the doc points to doing this using Microsoft.SqlServer.Management.IntegrationServices namespace; file: Microsoft.SqlServer.Management.IntegrationServices.dll.
I cannot find this file. I have installed SqlServer developer version. Integration Services, SqlServer Data Tools, Client Tools SDK and Management Tools are selected and show installed.
The Microsoft.SqlServer.Management.IntegrationServices.dll is not in the gac or anywhere on my machine.
What I want to do is documented here: http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.integrationservices.aspx.
Can you tell me what I need install to have this dll available?
Thanks,
SuzanneWhen an error is routed, the column number (lineage id) is available, but the column name is not. The lineage id is not helpful. I guess before 2012, the lineageid was available in the package xml and could be gotten that way. I found numerous examples from
folks, but with 2012, the lineageids changed to text.
So, what I am doing in a script task is retrieving the lineageids and column names (along with the executable task name) and storing them in a variable that is then available to the errors. (Also getting the error description, but that is easy).
What is the recommended method of getting the column name when there is an error?
I found some form of this code somewhere and added to it. It is working when I can load the package, which is what I am trying to do with the IntegrationServices.dll
pkg = application.LoadPackage(pkgPath, null);
Executables pExecs = pkg.Executables;
StringBuilder sb = new StringBuilder();
string d1 = ";";
string d = ":";
foreach (Executable pExec in pExecs)
TaskHost taskHost = (TaskHost)pExec;
string taskhostName = taskHost.Name;
//Test if the task is a data flow
if (taskHost.InnerObject is Microsoft.SqlServer.Dts.Pipeline.Wrapper.MainPipe)
//Cast the Executable as a data flow
MainPipe pipe = (MainPipe)taskHost.InnerObject;
// Loop over each object in the dataflow
foreach (IDTSComponentMetaData100 comp in pipe.ComponentMetaDataCollection)
foreach (IDTSOutputColumn100 column in comp.OutputCollection[0].OutputColumnCollection)
sb.Append(string.Concat(taskhostName, d, column.LineageID.ToString(), d, column.Name, d1));
Dts.Variables["User::colList"].Value = sb.ToString();
So, this is in a script task that runs before any of the DFTs. The error paths all have access to the colList variable via a script component. It gets split, loaded to a class list and queried with linq based on the lineageid of the column that errored.
If you have something better, I would be glad to know about it. My requirements is to provide the column name and error description when there is an error.
I DO NOT have the Microsoft.Sqlserver.Management.IntegrationServices.dll on my box. I have searched from the c:. As I said in the previous post, sorted by name, I see
Microsoft.SqlServer.Management.CollectorTasks
Microsoft.Sqlserver.Management.IntegrationServices should be the next folder. It isn't there!!
The next thing I see is Microsoft.SqlServer.MSMQTask.
I do see 4 Microsoft.SqlServer.IntegrationServices. folders, but the Management.IntegrationServices isn't there.
Thanks for your help,
Suzanne -
Error configuring Microsoft SQLSERVER 2005 with OIM 9.1.0.1
Hi All,
I was trying to Configure Microsoft SQLSERVER 2005 as a IT Resource with OIM 9.1.0.1. However after completing all the configuration,
When I tried assigning the configured SQLSERVER IT Resource to a User, following error is thrown:
Response: wrong number of arguments
Response Description: Unknown response received
Notes:
*Assigned to User: System Administrator[XELSYSADM]*
Error Details
Setting task status... "wrong number of arguments" does not correspond to a known Response Code. Using "UNKNOWN".
If anyone has encountered this error before, then please help.
Thanks
Sunny
Edited by: ajmerasunny on May 14, 2009 5:57 PMAre you using the Database User Management connector and trying to provision accounts to a MS SQL Server? Can you also post the logs from the error.
-Kevin -
I am attempting to use the Integration Services Import Project Wizard within Microsoft Visual Studio and am getting this error
Unable to create the type with the name 'MSORA'. (Microsoft.SqlServer.ManagedDTS)
upon Import.
Can anyone shed some light for me on this cryptique error message?
Thanks for your review and am hopeful for a reply.If you have the SSIS and SSDT (BIDS) installed then
I believe the DTS assemblies got derigistered, a typical outcome of corrupted software, so a full re-install would be the best option. VS +SQL Server + more
Otherwise, as a quick fix try to
reference the SSIS assemblies, like Microsoft.SQLServer.ManagedDTS.dll + more.
They are by default in C:\Program Files\Microsoft SQL Server\<number>\SDK\Assemblies.
Arthur
MyBlog
Twitter -
I am seeing the following warning is a SSIS C# script and receive a SSIS abort when I attempt to run the package.
The SSIS log indicates the package is failing at about this same step in the process.
I have also included the file SSQLDUMPER_ERRORLOG.log that SSIS generates when it aborts below.
My SSIS package has been set to 64-bit and I only have 64-bit SQL Server 2012 installed on the box.
I migrated the package using the latest version of Data Tools that came out around mid July 2014.
I edited all connection manager strings to point to 64-bit SQL Server and I run using the following command
I edited the run string to point to the new 64 bit DTExec and attempted to run.
C:\Program Files\Microsoft SQL Server\110\DTS\Binn\DTExec.exe" /Rep V /F PkgMigration.dtsx .........................
A significant amount of work does occur as reflected by the log steps prior to DTEXEC aborting but the log does just quit in mid sentence so not sure if it might have actually got a bit further.
Any help on understanding what is happening here would be most appreciated.
Warning 1 There was a mismatch between the processor
architecture of the project being built "MSIL" and the processor architecture of the reference "Microsoft.SqlServer.DTSRuntimeWrap, Version=11.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91", "x86". This mismatch may
cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a
processor architecture that matches the targeted processor architecture of your project. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets
1605 5 sc_5756696d96034309a51afe69fed2eb44
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Input parameters: 4 supplied
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 1: 6100
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 2: 0
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 3: 0:0
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 4: 00A8B770
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parsed parameters:
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ProcessID = 6100
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ThreadId = 0
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Flags = 0x0
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDumpFlags = 0x0
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, SqlInfoPtr = 0x00A8B770
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, DumpDir = <NULL>
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExceptionRecordPtr = 0x00000000
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ContextPtr = 0x00000000
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExtraFile = <NULL>
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, InstanceName = <NULL>
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ServiceName = <NULL>
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 11 not used
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 15 not used
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 7 not used
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDump completed: C:\Program Files (x86)\Microsoft SQL Server\110\Shared\ErrorDumps\SQLDmpr0007.mdmp
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Location of module 'dbghelp.dll' : 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll'
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, File version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll' : '6.12:2.633'
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Product version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll' : '6.12:2.633'
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Location of module 'sqldumper.exe' : 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE'
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, File version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE' : '2011.110:5058.0'
(1CBC:1808) 08/14/14 10:36:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Product version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE' : '11.0:5058.0'
(1CBC:1808) 08/14/14 10:36:47, ACTION, DTExec.exe, Watson Invoke: No
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Input parameters: 4 supplied
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 1: 10124
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 2: 0
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 3: 0:0
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 4: 0012B770
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parsed parameters:
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ProcessID = 10124
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ThreadId = 0
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Flags = 0x0
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDumpFlags = 0x0
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, SqlInfoPtr = 0x0012B770
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, DumpDir = <NULL>
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExceptionRecordPtr = 0x00000000
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ContextPtr = 0x00000000
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExtraFile = <NULL>
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, InstanceName = <NULL>
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ServiceName = <NULL>
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 11 not used
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 15 not used
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 7 not used
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDump completed: C:\Program Files (x86)\Microsoft SQL Server\110\Shared\ErrorDumps\SQLDmpr0008.mdmp
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Location of module 'dbghelp.dll' : 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll'
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, File version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll' : '6.12:2.633'
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Product version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll' : '6.12:2.633'
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Location of module 'sqldumper.exe' : 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE'
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, File version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE' : '2011.110:5058.0'
(2724:2488) 08/14/14 10:43:09, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Product version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE' : '11.0:5058.0'
(2724:2488) 08/14/14 10:43:09, ACTION, DTExec.exe, Watson Invoke: No
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Input parameters: 4 supplied
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 1: 8716
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 2: 0
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 3: 0:0
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 4: 0072B770
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parsed parameters:
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ProcessID = 8716
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ThreadId = 0
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Flags = 0x0
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDumpFlags = 0x0
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, SqlInfoPtr = 0x0072B770
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, DumpDir = <NULL>
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExceptionRecordPtr = 0x00000000
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ContextPtr = 0x00000000
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExtraFile = <NULL>
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, InstanceName = <NULL>
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ServiceName = <NULL>
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 11 not used
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 15 not used
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 7 not used
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDump completed: C:\Program Files (x86)\Microsoft SQL Server\110\Shared\ErrorDumps\SQLDmpr0009.mdmp
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Location of module 'dbghelp.dll' : 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll'
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, File version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll' : '6.12:2.633'
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Product version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll' : '6.12:2.633'
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Location of module 'sqldumper.exe' : 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE'
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, File version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE' : '2011.110:5058.0'
(2240:89C) 08/14/14 10:51:56, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Product version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE' : '11.0:5058.0'
(2240:89C) 08/14/14 10:51:56, ACTION, DTExec.exe, Watson Invoke: No
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Input parameters: 4 supplied
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 1: 8856
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 2: 0
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 3: 0:0
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 4: 009AB770
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parsed parameters:
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ProcessID = 8856
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ThreadId = 0
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Flags = 0x0
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDumpFlags = 0x0
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, SqlInfoPtr = 0x009AB770
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, DumpDir = <NULL>
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExceptionRecordPtr = 0x00000000
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ContextPtr = 0x00000000
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExtraFile = <NULL>
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, InstanceName = <NULL>
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ServiceName = <NULL>
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 11 not used
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 15 not used
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 7 not used
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDump completed: C:\Program Files (x86)\Microsoft SQL Server\110\Shared\ErrorDumps\SQLDmpr0010.mdmp
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Location of module 'dbghelp.dll' : 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll'
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, File version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll' : '6.12:2.633'
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Product version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll' : '6.12:2.633'
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Location of module 'sqldumper.exe' : 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE'
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, File version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE' : '2011.110:5058.0'
(7B8:1E68) 08/14/14 11:01:36, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Product version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE' : '11.0:5058.0'
(7B8:1E68) 08/14/14 11:01:36, ACTION, DTExec.exe, Watson Invoke: No
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Input parameters: 4 supplied
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 1: 1292
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 2: 0
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 3: 0:0
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 4: 00BFB770
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parsed parameters:
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ProcessID = 1292
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ThreadId = 0
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Flags = 0x0
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDumpFlags = 0x0
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, SqlInfoPtr = 0x00BFB770
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, DumpDir = <NULL>
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExceptionRecordPtr = 0x00000000
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ContextPtr = 0x00000000
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExtraFile = <NULL>
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, InstanceName = <NULL>
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ServiceName = <NULL>
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 11 not used
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 15 not used
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 7 not used
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDump completed: C:\Program Files (x86)\Microsoft SQL Server\110\Shared\ErrorDumps\SQLDmpr0011.mdmp
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Location of module 'dbghelp.dll' : 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll'
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, File version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll' : '6.12:2.633'
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Product version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll' : '6.12:2.633'
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Location of module 'sqldumper.exe' : 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE'
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, File version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE' : '2011.110:5058.0'
(229C:1CD8) 08/14/14 11:45:45, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Product version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE' : '11.0:5058.0'
(229C:1CD8) 08/14/14 11:45:45, ACTION, DTExec.exe, Watson Invoke: No
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Input parameters: 4 supplied
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 1: 4220
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 2: 0
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 3: 0:0
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 4: 0019B770
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parsed parameters:
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ProcessID = 4220
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ThreadId = 0
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Flags = 0x0
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDumpFlags = 0x0
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, SqlInfoPtr = 0x0019B770
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, DumpDir = <NULL>
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExceptionRecordPtr = 0x00000000
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ContextPtr = 0x00000000
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExtraFile = <NULL>
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, InstanceName = <NULL>
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ServiceName = <NULL>
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 11 not used
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 15 not used
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 7 not used
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDump completed: C:\Program Files (x86)\Microsoft SQL Server\110\Shared\ErrorDumps\SQLDmpr0012.mdmp
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Location of module 'dbghelp.dll' : 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll'
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, File version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll' : '6.12:2.633'
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Product version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\dbghelp.dll' : '6.12:2.633'
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Location of module 'sqldumper.exe' : 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE'
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, File version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE' : '2011.110:5058.0'
(2520:2624) 08/14/14 12:05:47, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Product version of module 'C:\Program Files (x86)\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE' : '11.0:5058.0'
(2520:2624) 08/14/14 12:05:47, ACTION, DTExec.exe, Watson Invoke: No
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Input parameters: 4 supplied
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 1: 8408
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 2: 0
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 3: 0:0
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parameter 4: 00000000003ECC18
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parsed parameters:
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ProcessID = 8408
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ThreadId = 0
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Flags = 0x0
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDumpFlags = 0x0
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, SqlInfoPtr = 0x00000000003ECC18
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, DumpDir = <NULL>
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExceptionRecordPtr = 0x0000000000000000
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ContextPtr = 0x0000000000000000
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExtraFile = <NULL>
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, InstanceName = <NULL>
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ServiceName = <NULL>
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 11 not used
(1B5C:20C0) 08/18/14 14:21:48, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 15 not used
(1B5C:20C0) 08/18/14 14:21:50, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 7 not used
(1B5C:20C0) 08/18/14 14:21:50, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDump completed: C:\Program Files\Microsoft SQL Server\110\Shared\ErrorDumps\SQLDmpr0001.mdmp
(1B5C:20C0) 08/18/14 14:21:50, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Location of module 'dbghelp.dll' : 'C:\Program Files\Microsoft SQL Server\110\Shared\dbghelp.dll'
(1B5C:20C0) 08/18/14 14:21:50, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, File version of module 'C:\Program Files\Microsoft SQL Server\110\Shared\dbghelp.dll' : '6.12:2.633'
(1B5C:20C0) 08/18/14 14:21:50, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Product version of module 'C:\Program Files\Microsoft SQL Server\110\Shared\dbghelp.dll' : '6.12:2.633'
(1B5C:20C0) 08/18/14 14:21:50, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Location of module 'sqldumper.exe' : 'C:\Program Files\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE'
(1B5C:20C0) 08/18/14 14:21:50, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, File version of module 'C:\Program Files\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE' : '2011.110:5058.0'
(1B5C:20C0) 08/18/14 14:21:50, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Product version of module 'C:\Program Files\Microsoft SQL Server\110\Shared\SQLDUMPER.EXE' : '11.0:5058.0'
(1B5C:20C0) 08/18/14 14:21:50, ACTION, DTExec.exe, Watson Invoke: NoHi GaryAMiller,
It seesm this is a know ssue. Please take a look at the following simialr issue at Microsoft Connect site:
MSB3270: Mismatch between the processor architecture:
https://connect.microsoft.com/VisualStudio/feedback/details/804933/msb3270-mismatch-between-the-processor-architecture-fakes-framework
If this issue still persists, I would suggest
opening a case with Microsoft Customer Support Services (CSS)(http://support.microsoft.com), so that a dedicated Support Professional can assist you in a more efficient manner.
If you have any feedback on our support, please click
here.
Elvis Long
TechNet Community Support -
Missing Microsoft.SqlServer.ManagedDTS
Hi
I am trying to run a SSIS package first time through vb.net console application. As the first step, i was trying to add the reference for Microsoft.SqlServer.ManagedDTS assembly but it was not in the available assemblies list box in visual studio 2003!
Please guide what i am supposed to do to get it, or if there any other alternative.
Thanks in advance
UtsavManagedDTS runs in process. If the console app is running on a machine that does not have SSIS loaded on it you will not be able to reference the dll. The application will also crash at the point that you attempt to access DTS objects. This also causes problems if you are executing packages that contain static paths. Because the package runs on the client machine, the paths will be assumed to be local. My solution to this was to create a web service that executes the packages on the server. Unfortunately, this aproach seems to be a huge chore, as I am having problems passing the credentials to the package app object. If anyone has any experience with this, some guidance would be greatly appreciated.
-
I have Sql management studio 2014 SP1 and im working with my Azure SQL Databases.
Previously all my databases and servers were on Sql Server 11.0 and thing were working fine, until a couple of days ago; 1 database on a server started throwing the specified cast is not valid error when you try to use management studio to Script table as.....
and today all (3) of my databases on (different) servers are throwing that error
Earlier today I upgraded 1 of the servers to the latest azure sql database 12.0.2000.8 (it took a while since it can take up to 24 hours); and can verify that the same script table as... or any management studio function that will generate scripts, like
Generate Scripts task does not throw this error.
The issue with v11 started happening a few days ago and is now on all my v11 databases; management studio will not generate scripts., wanted to submit this as a bug., but there is no easier way to do so.
screenshots below.
error dump:
===================================
Specified cast is not valid. (Microsoft.SqlServer.Smo)
Program Location:
at Microsoft.SqlServer.Management.Smo.Table.Microsoft.SqlServer.Management.Smo.IPropertyDataDispatch.SetPropertyValue(Int32 index, Object value)
at Microsoft.SqlServer.Management.Smo.PropertyDispatcher.SetValue(Int32 index, Object value)
at Microsoft.SqlServer.Management.Smo.PropertyCollection.SetValue(Int32 index, Object value)
at Microsoft.SqlServer.Management.Smo.SqlSmoObject.AddObjectPropsFromDataReader(IDataReader reader, Boolean skipIfDirty, Int32 startColIdx, Int32 endColIdx)
at Microsoft.SqlServer.Management.Smo.SqlSmoObject.ImplInitialize(String[] fields, OrderBy[] orderby)
at Microsoft.SqlServer.Management.Smo.SqlSmoObject.OnPropertyMissing(String propname, Boolean useDefaultValue)
at Microsoft.SqlServer.Management.Smo.PropertyCollection.RetrieveProperty(Int32 index, Boolean useDefaultOnMissingValue)
at Microsoft.SqlServer.Management.Smo.PropertyCollection.GetPropertyObject(Int32 index)
at Microsoft.SqlServer.Management.Smo.SqlSmoObject.GetPropertyOptional(String propName)
at Microsoft.SqlServer.Management.Smo.Column.EmbedDefaultConstraints()
at Microsoft.SqlServer.Management.Smo.Column.GetPropagateInfo(PropagateAction action)
at Microsoft.SqlServer.Management.Smo.SqlSmoObject.GetPropagateInfoForDiscovery(PropagateAction action)
at Microsoft.SqlServer.Management.Smo.SmoDependencyDiscoverer.GetScriptableChildren(List`1 propInfoList, PropagateAction propagateAction)
at Microsoft.SqlServer.Management.Smo.SmoDependencyDiscoverer.SfcChildrenDiscovery(HashSet`1 discoveredUrns)
at Microsoft.SqlServer.Management.Smo.SmoDependencyDiscoverer.Discover(IEnumerable`1 urns)
at Microsoft.SqlServer.Management.Smo.ScriptMaker.Discover(IEnumerable`1 urns)
at Microsoft.SqlServer.Management.Smo.ScriptMaker.DiscoverOrderScript(IEnumerable`1 urns)
at Microsoft.SqlServer.Management.Smo.ScriptMaker.ScriptWorker(List`1 urns, ISmoScriptWriter writer)
at Microsoft.SqlServer.Management.Smo.ScriptMaker.Script(Urn[] urns, ISmoScriptWriter writer)
at Microsoft.SqlServer.Management.Smo.ScriptMaker.Script(Urn[] urns)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ScriptGenerator.ScriptCreate(SqlTextWriter sqlwriter, Server server, Urn[] urns, SqlScriptOptions options)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ScriptNodeActionContext.Script(SqlTextWriter writer)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.SqlScriptMenu.OnScriptItemClick(Object sender, EventArgs e)I'm also running into this exact issue with V11 and SQL Server Management Studio -- table "Generate Create Script" fails with "Specified
cast is not valid. (Microsoft.SqlServer.Smo)". This just started happening recently with V11 and doesn't manifest with V12. I'm running SSMS with latest hotifxes (CU6 I believe). I don't have the option of an immediate move to V12.
Microsoft SQL Server Management Studio 12.0.2480.0
Microsoft Analysis Services Client Tools 12.0.2480.0
Microsoft Data Access Components (MDAC) 6.3.9600.16384
Microsoft MSXML 3.0 6.0
Microsoft Internet Explorer 9.11.9600.17728
Microsoft .NET Framework 4.0.30319.34014
Operating System 6.3.9600 -
Error loading 'Microsoft.SqlServer.DTSRuntimeWrap' or dependancy
I have an application compiled on 32 bit VSS with reference to Microsoft.SQLService.ManagedDTS
Application is deployed to 64bit server running SQL Express Advanced.
Get the following error message:
System.BadImageFormatException: Could not load file or assembly 'Microsoft.SqlServer.DTSRuntimeWrap' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I am looking for necessary configuration to get managed code SSIS package execution running on 64 bit server with SQL Express.
thanksThis is probably because the DTS runtime and your app have different image types (x86 and x64). You can do two things:
1) Recompile your app to 64 bit (Change the Target Platform to x64 under VS)
2) Run dtexec.exe from the x86 folder
Hope this solves your problem -
Problem in Accession inner join with [Microsoft][SQLServer 2000 Driver
Hi
Can you tell me what can be cause my sql statement is correct gives result but
if i used below statement in my JSP ,cause error
1)
ps1=connection.prepareStatement("select RQM_IN_RQSTN_ID_PK,RQD_IN_ITM_ID_FKPK,RQD_VC_ITM_DSCRPTN,RQD_IN_STTS_ID_FK,C.SMT_VC_STTS_NM,a.RQM_DT_PRPSD_DLVRY_DT"+
"from PAS_RQM_RQSTN_MSTR a "+
"inner join PAS_RQD_RQSTN_DTLS b on a.RQM_IN_RQSTN_ID_PK = b.RQD_IN_RQSTN_ID_FKPK and RQD_IN_STTS_ID_FK = 4"+
"INNER JOIN PAS_SMT_STTS_MSTR C ON C.SMT_IN_STTS_ID_PK=B.RQD_IN_STTS_ID_FK" +
"where a.RQM_VC_DTRTMNT_INVLV='Technology' ");
2) Error Generate
java.sql.SQLException
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Line 1: Incorrect syntax near 'a'.
What can be the cause
Thanksps1=connection.prepareStatement("select
RQM_IN_RQSTN_ID_PK,RQD_IN_ITM_ID_FKPK,RQD_VC_ITM_DSCRP
TN,RQD_IN_STTS_ID_FK,C.SMT_VC_STTS_NM,a.RQM_DT_PRPSD_D
LVRY_DT"+
"from PAS_RQM_RQSTN_MSTR a "+
"inner join PAS_RQD_RQSTN_DTLS b on
a.RQM_IN_RQSTN_ID_PK = b.RQD_IN_RQSTN_ID_FKPK and
RQD_IN_STTS_ID_FK = 4"+
"INNER JOIN PAS_SMT_STTS_MSTR C ON
C.SMT_IN_STTS_ID_PK=B.RQD_IN_STTS_ID_FK" +
"where a.RQM_VC_DTRTMNT_INVLV='Technology' ");This is a problem due to not providing spaces where they are needed. See the places where I have highlighted.
A better way is to generate the String first [use StringBuffer as a good practice for appending instead of String "+"] and print it out to check if it is correct.
***Annie*** -
I have a project where I use "Microsoft.SqlServer.Types" that loads an assembly manually as part of the package.
The problem arises when I publish this via Visual Studio. I get an error that the file is already in use from WebDeploy. This is probably because of how the assemblies are loaded or something that makes them locked.
Repro steps:
Create an ASP.NET web and add nuget package "Microsoft.SqlServer.Types" and make sure you load the assembly using the provided ReadMe.txt in your App_Start.
Deploy to Azure Web App.
Deplay again when the app is up and running - you'll get the error.
Does WebDeploy have an option for shutting down the site when updating or something like that? This error also apply to any WebJobs that also use the "Microsoft.SqlServer.Types" package.there is a way to take the site down during publishing please read through this blog post
http://blogs.msdn.com/b/webdev/archive/2013/10/30/web-publishing-updates-for-app-offline-and-usechecksum.aspx
please read the part about appoffline
Thanks, Hosam -
Hey guy,
I have a problem with my SQL Express Server.
If I try to backup a database I'm getting the following error:
(Microsoft.SqlServer.SmoExtended)
System.Data.SqlClient.SqlError: Das Sicherungsmedium 'D:\my-database.bak' kann nicht geöffnet werden. Betriebssystemfehler 5(Access denied). (Microsoft.SqlServer.Smo)
I have done this a month ago and it worked.
Can someone help me please?
I am logged in as sa, the OS is Windows Server 2012 Essentials.
Thanks
Regards,
Alex'D:\my-database.bak' kann nicht geöffnet werden. Betriebssystemfehler 5(Access denied). (Microsoft.SqlServer.Smo)
Hi,
Since error is access denied it means SQL server service account ,the account with which SQL Server service is running, does not have read/write privilege on folder where you are taking backup. It does not matters whether you login with SA.
Now I see you are backing database to root(D:) drive. This should not be practiced its a bad practice and has lots of drawbacks. Instead create a folder BACKUP in D rive and give SQL Server service account read write privileges on that folder and start backup
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Articles -
Hello guys,
I have been setting a production system with bitronix transaction manager, SQL server 2008, XA transactions and jetty 6. In the beginning this software was configured to run with MySQL. But one of my customer decided to move everything to MSSQL server 2008.
In that moment I was trying to get this up and running for some weeks (The configuration was completely different) and finally I got it.
The configuration with MSSQL server was running perfectly during 1 month but then from one day to other the error message I will show now appeared and I do not how to solve it. I almost read all the hints from google about this exception but nothing helped
me out.
I hope you guys can help me to find a way to solve it.
- I tried different version of the jdbc driver 3.0 and 4.0.
- I tried to export exactly the database to my localserver and it's running perfectly with the same configuration.
The problem is that I cannot reproduce the error in other place that is not the customer and at the same time I have no access to their internal database server. They installed all the XA transaction stuff (dll in binn, enable XA, and grant the permissions
for SQLXAUser), I am quite sure because it was running for one month without any problem.
I asked to the customer if anything happenend on their server (microsoft updates, machines reboot, ...) but nothing of these happened.
Also I tried this link out but did not help me.
<a href="http://social.msdn.microsoft.com/Forums/sqlserver/en-US/15c1e6f5-ec1e-4376-8f45-25e61ffc1306/the-function-start-has-failed-no-transaction-cookie-was-returned?forum=sqldataaccess">http://social.msdn.microsoft.com/Forums/sqlserver/en-US/15c1e6f5-ec1e-4376-8f45-25e61ffc1306/the-function-start-has-failed-no-transaction-cookie-was-returned?forum=sqldataaccess</a>
The exception is the following:
[2014-05-15 14:06:08,842] INFO 3666[main] - org.mortbay.log.Slf4jLog.info(Slf4jLog.java:67) - Starting Bitronix Transaction Manager
[2014-05-15 14:06:08,951] INFO 3775[main] - org.mortbay.log.Slf4jLog.info(Slf4jLog.java:67) - Extract ./webapps/myscript-fpp-wrapper-server.war to D:\Temp\Jetty_0_0_0_0_8080_myscript.fpp.wrapper.server.war__myscript.form.wrapper.server__.bnwnn7\webapp
[2014-05-15 14:06:10,324] INFO 5148[main] - org.mortbay.log.Slf4jLog.info(Slf4jLog.java:67) - NO JSP Support for /myscript-form-wrapper-server, did not find org.apache.jasper.servlet.JspServlet
[2014-05-15 14:06:12,742] WARN 7566[main] - org.dozer.config.GlobalSettings.loadGlobalSettings(GlobalSettings.java:118) - Dozer configuration file not found: dozer.properties. Using defaults for all Dozer global properties.
[2014-05-15 14:06:13,288] WARN 8112[main] - org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:100) - SQL Error: 0, SQLState: null
[2014-05-15 14:06:13,288]ERROR 8112[main] - org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:101) - error enlisting a JdbcConnectionHandle of a JdbcPooledConnection from datasource fppDataSource in state ACCESSIBLE with
usage count 1 wrapping SQLServerXAConnection:1 on ProxyConnectionID:1
[2014-05-15 14:06:13,319]ERROR 8143[main] - org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:220) - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleRegistration' defined in class path resource [com/visionobjects/myscript/fpp/wrapper/module-registration.xml]: Invocation of init method failed; nested exception is
org.hibernate.exception.GenericJDBCException: could not execute query
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mortbay.start.Main.invokeMain(Main.java:194)
at org.mortbay.start.Main.start(Main.java:534)
at org.mortbay.start.Main.start(Main.java:441)
at org.mortbay.start.Main.main(Main.java:119)
Caused by: org.hibernate.exception.GenericJDBCException: could not execute query
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.loader.Loader.doList(Loader.java:2235)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2129)
at org.hibernate.loader.Loader.list(Loader.java:2124)
at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:118)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1597)
at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:306)
at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:328)
at com.visionobjects.myscript.fpp.form.dao.impl.ModuleInfoDaoImpl.getModuleInfo(ModuleInfoDaoImpl.java:57)
at com.visionobjects.myscript.fpp.ModuleRegistration$1.doInTransactionWithoutResult(ModuleRegistration.java:73)
at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at com.visionobjects.myscript.fpp.ModuleRegistration.init(ModuleRegistration.java:66)
at com.visionobjects.myscript.fpp.ModuleRegistration.start(ModuleRegistration.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
... 33 more
Caused by: java.sql.SQLException: error enlisting a JdbcConnectionHandle of a JdbcPooledConnection from datasource fppDataSource in state ACCESSIBLE with usage count 1 wrapping SQLServerXAConnection:1 on ProxyConnectionID:1
at bitronix.tm.resource.jdbc.JdbcConnectionHandle.enlistResource(JdbcConnectionHandle.java:86)
at bitronix.tm.resource.jdbc.JdbcConnectionHandle.prepareStatement(JdbcConnectionHandle.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at bitronix.tm.resource.jdbc.BaseProxyHandlerClass.invoke(BaseProxyHandlerClass.java:63)
at $Proxy29.prepareStatement(Unknown Source)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:534)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:452)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1577)
at org.hibernate.loader.Loader.doQuery(Loader.java:696)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
at org.hibernate.loader.Loader.doList(Loader.java:2232)
... 52 more
Caused by: bitronix.tm.internal.BitronixSystemException: cannot enlist an XAResourceHolderState with uniqueName=fppDataSource XAResource= XAResourceID:1 with XID a Bitronix XID [6A657474792D6670702D73657276657200000145FFC68B9B00000000 : 6A657474792D6670702D73657276657200000145FFC68BCA00000002],
error=XAER_RMERR
at bitronix.tm.BitronixTransaction.enlistResource(BitronixTransaction.java:100)
at bitronix.tm.resource.common.TransactionContextHelper.enlistInCurrentTransaction(TransactionContextHelper.java:70)
at bitronix.tm.resource.jdbc.JdbcConnectionHandle.enlistResource(JdbcConnectionHandle.java:84)
... 66 more
<b>Caused by: javax.transaction.xa.XAException: com.microsoft.sqlserver.jdbc.SQLServerException: The function START: has failed. No transaction cookie was returned </b>
at com.microsoft.sqlserver.jdbc.SQLServerXAResource.DTC_XA_Interface(SQLServerXAResource.java:642)
at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(SQLServerXAResource.java:674)
at bitronix.tm.internal.XAResourceHolderState.start(XAResourceHolderState.java:211)
at bitronix.tm.internal.XAResourceManager.enlist(XAResourceManager.java:108)
at bitronix.tm.BitronixTransaction.enlistResource(BitronixTransaction.java:93)
... 68 more
I think the "bold" exception is the key.
Also the configuration file of my jetty server.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<!-- developpment jetty configuration -->
<!-- launch with main class : org.mortbay.start.Main app arguments:
deploy-conf/jetty-conf/mysql/jetty-dev.xml vm arguments : -Xmx1024M -DSTOP.KEY=stop
-DSTOP.PORT=6669 to stop : - - stop -Xmx1024M -DSTOP.KEY=stop -DSTOP.PORT=6669 -->
<Configure id="Server" class="org.mortbay.jetty.Server">
<Array id="plusConfig" type="java.lang.String">
<Item>org.mortbay.jetty.webapp.WebInfConfiguration</Item>
<Item>org.mortbay.jetty.plus.webapp.EnvConfiguration</Item>
<Item>org.mortbay.jetty.plus.webapp.Configuration</Item>
<Item>org.mortbay.jetty.webapp.JettyWebXmlConfiguration</Item>
<Item>org.mortbay.jetty.webapp.TagLibConfiguration</Item>
</Array>
<Array id="serverClasses" type="java.lang.String">
</Array>
<Array id="systemClasses" type="java.lang.String">
</Array>
<!-- web apps -->
<Set name="handler">
<New id="handlerContext" class="org.mortbay.jetty.handler.ContextHandlerCollection">
<Set name="handlers">
<Array id="handlerArray" type="org.mortbay.jetty.webapp.WebAppContext">
<!-- wrapper server -->
<Item>
<New class="org.mortbay.jetty.webapp.WebAppContext">
<Arg>./webapps/myscript-fpp-wrapper-server.war</Arg>
<Arg>/myscript-form-wrapper-server</Arg>
<Set name="serverClasses">
<Ref id="serverClasses" />
</Set>
<Set name="ConfigurationClasses">
<Ref id="plusConfig" />
</Set>
</New>
</Item>
<!-- form server -->
<Item>
<New class="org.mortbay.jetty.webapp.WebAppContext">
<Arg>./webapps/myscript-fpp-form-server.war
</Arg>
<Arg>/myscript-form-server</Arg>
<Set name="serverClasses">
<Ref id="serverClasses" />
</Set>
<Set name="ConfigurationClasses">
<Ref id="plusConfig" />
</Set>
</New>
</Item>
<!-- hwr server -->
<Item>
<New class="org.mortbay.jetty.webapp.WebAppContext">
<Arg>./webapps/myscript-fpp-hwr-server.war</Arg>
<Arg>/myscript-form-hwr-server</Arg>
<Set name="serverClasses">
<Ref id="serverClasses" />
</Set>
<Set name="ConfigurationClasses">
<Ref id="plusConfig" />
</Set>
</New>
</Item>
</Array>
</Set>
</New>
</Set>
<Call name="addConnector">
<Arg>
<New class="org.mortbay.jetty.nio.SelectChannelConnector">
<Set name="port">8080</Set>
</New>
</Arg>
</Call>
<!-- Use the jdk 1.5 platformMBeanServer -->
<Call id="MBeanServer" class="java.lang.management.ManagementFactory"
name="getPlatformMBeanServer" />
<Get id="Container" name="container">
<Call name="addEventListener">
<Arg>
<New class="org.mortbay.management.MBeanContainer">
<Arg>
<Ref id="MBeanServer" />
</Arg>
<Call name="start" />
</New>
</Arg>
</Call>
</Get>
<!-- Setup the RMIRegistry on a specific port -->
<Call id="rmiRegistry" class="java.rmi.registry.LocateRegistry"
name="createRegistry">
<Arg type="int">2099</Arg>
</Call>
<!-- Setup the JMXConnectorServer on a specific rmi server port -->
<Call id="jmxConnectorServer" class="javax.management.remote.JMXConnectorServerFactory"
name="newJMXConnectorServer">
<Arg>
<New class="javax.management.remote.JMXServiceURL">
<Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
</Arg>
</New>
</Arg>
<Arg />
<Arg>
<Ref id="MBeanServer" />
</Arg>
<Call name="start" />
</Call>
<!--************************* -->
<!-- embbeded ActiveMQ Broker -->
<!--************************* -->
<New id="brokerService" class="org.apache.activemq.broker.BrokerService">
<Set name="brokerName">fppBrokerActiveMQ</Set>
<Set name="dataDirectoryFile"></Set>
<Call name="getSystemUsage">
<Call name="getMemoryUsage">
<Set name="limit">26428800</Set>
</Call>
<Call name="getStoreUsage">
<Set name="limit">204857600</Set>
</Call>
</Call>
<Call name="addConnector">
<Arg>nio://localhost:61615</Arg>
</Call>
<Call name="start"></Call>
</New>
<!-- ************************** -->
<!-- common fpp jndi resources -->
<!-- ************************** -->
<!-- ui debug properties -->
<New id="fpp.common-ui.velocityProperties" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fpp.common-ui.velocityProperties</Arg>
<Arg>
<New class="java.util.Properties">
<Put name="spring.resource.loader.class">org.springframework.ui.velocity.SpringResourceLoader
</Put>
<Put name="spring.resource.loader.cache">false</Put>
<Put name="velocimacro.library.autoreload">true</Put>
</New>
</Arg>
</New>
<New id="fpp.wrapper-server.properties" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fpp.wrapper-server.properties</Arg>
<Arg>
<New class="java.util.Properties">
<Put name="fpp.wrapper-server.instanceServiceWsdlLocation">http://localhost:8080/myscript-form-server/cxf/instance?wsdl
</Put>
<Put name="fpp.wrapper-server.formServiceWsdlLocation">http://localhost:8080/myscript-form-server/cxf/form?wsdl
</Put>
<Put name="fpp.wrapper-server.formDeprecatedServiceWsdlLocation">http://localhost:8080/myscript-form-server/cxf/formDeprecated?wsdl
</Put>
<Put name="fpp.wrapper-server.hwrResourceServiceWsdlLocation">http://localhost:8080/myscript-form-server/cxf/hwrResource?wsdl
</Put>
<Put name="fpp.wrapper-server.defaultEnvironmentName">default</Put>
<Put name="fpp.wrapper-server.defaultEnvironmentType">STANDARD</Put>
<Put name="fpp.wrapper-server.formdb.dialect">org.hibernate.dialect.SQLServerDialect</Put>
<Put name="fpp.wrapper-server.formdb.hibernate.show_sql">true</Put>
<Put name="fpp.wrapper-server.formdb.hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</Put>
<Put name="fpp.wrapper-server.formdb.hibernate.transaction.manager_lookup_class">org.hibernate.transaction.BTMTransactionManagerLookup</Put>
<Put name="fpp.wrapper-server.formdb.hibernate.cache.use_query_cache">false</Put>
<Put name="fpp.wrapper-server.formdb.hibernate.cache.use_second_level_cache">false</Put>
<Put name="fpp.wrapper-server.formdb.hibernate.cache.use_structured_cache">false</Put>
<Put name="fpp.wrapper-server.formdb.hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</Put>
</New>
</Arg>
</New>
<!-- transaction manager - bitronix -->
<Call name="getConfiguration" class="bitronix.tm.TransactionManagerServices">
<Set name="serverId">jetty-fpp-server</Set>
<Set name="gracefulShutdownInterval">45</Set>
<Set name="logPart1Filename">btm/btm1.tlog</Set>
<Set name="logPart2Filename">btm/btm2.tlog</Set>
</Call>
<Set name="gracefulShutdown">60000</Set>
<Call name="addLifeCycle">
<Arg>
<New class="bitronix.tm.integration.jetty6.BTMLifeCycle" />
</Arg>
</Call>
<New class="org.mortbay.jetty.plus.naming.Transaction">
<Arg>
<Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices" />
</Arg>
</New>
<New class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>java:/TransactionManager</Arg>
<Arg>
<Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices" />
</Arg>
</New>
<New id="userTransactionManager" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>java:comp/TransactionManager</Arg>
<Arg>
<Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices" />
</Arg>
</New>
<New id="userTransactionManager" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>java:comp/UserTransaction</Arg>
<Arg>
<Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices" />
</Arg>
</New>
<!-- database data source -->
<New id="fppDataSource" class="bitronix.tm.resource.jdbc.PoolingDataSource">
<Set name="uniqueName">fppDataSource</Set>
<Set name="className">com.microsoft.sqlserver.jdbc.SQLServerXADataSource</Set>
<Set name="minPoolSize">0</Set>
<Set name="maxPoolSize">50</Set>
<Get name="driverProperties">
<Put name="serverName">DYHVDB01</Put>
<Put name="instanceName">ALPHA</Put>
<Put name="integratedSecurity">false</Put>
<Put name="databaseName">tdb_digipen_fpp</Put>
<Put name="user">manage_digipen</Put>
<Put name="password">5T1fte?</Put>
<!--Needed to test??<Put name="pinGlobalTxToPhysicalConnection">true</Put>-->
</Get>
<Call name="init" />
</New>
<!-- Jms connection factories -->
<New id="fppServerConnectionFactory" class="bitronix.tm.resource.jms.PoolingConnectionFactory">
<Set name="className">org.apache.activemq.ActiveMQXAConnectionFactory</Set>
<Set name="uniqueName">fppServerConnectionFactory</Set>
<Set name="minPoolSize">4</Set>
<Set name="maxPoolSize">40</Set>
<Set name="allowLocalTransactions">true</Set>
<Get name="driverProperties">
<Put name="brokerURL">nio://localhost:61615?jms.prefetchPolicy.all=50</Put>
<New class="org.apache.activemq.RedeliveryPolicy">
<Set name="maximumRedeliveries">-1</Set>
<Set name="backOffMultiplier">2</Set>
</New>
</Get>
<Call name="init" />
</New>
<!-- JMS Queues & topics -->
<New id="formNotifiationTopic" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>fpp/formNotifiationTopic</Arg>
<Arg>
<New class="org.apache.activemq.command.ActiveMQTopic">
<Arg>formNotifiationTopic</Arg>
</New>
</Arg>
</New>
<New id="fieldJmsQueue" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>fpp/fieldJmsQueue</Arg>
<Arg>
<New class="org.apache.activemq.command.ActiveMQQueue">
<Arg>fieldJmsQueue</Arg>
</New>
</Arg>
</New>
<New id="fieldNotifJmsQueue" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>fpp/fieldNotifJmsQueue</Arg>
<Arg>
<New class="org.apache.activemq.command.ActiveMQQueue">
<Arg>fieldNotifJmsQueue</Arg>
</New>
</Arg>
</New>
<New id="inkJmsQueue" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>fpp/inkJmsQueue</Arg>
<Arg>
<New class="org.apache.activemq.command.ActiveMQQueue">
<Arg>inkJmsQueue</Arg>
</New>
</Arg>
</New>
<!-- native library services -->
<New id="myscriptLicenseService" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/myscriptLicenseService</Arg>
<Arg>
<New
class="com.visionobjects.licensemanager.impl.MyscriptLicenseServiceImpl">
<Arg>localhost</Arg>
</New>
</Arg>
</New>
<!-- *********************** -->
<!-- form server properties -->
<!-- *********************** -->
<New id="fpp.form.properties" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fpp.form.properties</Arg>
<Arg>
<New class="java.util.Properties">
<Put name="fpp.form.defaultEnvironmentName">default</Put>
<Put name="fpp.form.defaultEnvironmentType">STANDARD</Put>
<Put name="fpp.form.jbpm.job.nbexecutor">4</Put>
<Put name="fpp.form.jbpm.job.idleinterval">1000</Put>
<Put name="fpp.form.field.notif.nbconsumers">2</Put>
<Put name="fpp.form.ink.nbconsumers">2</Put>
<Put name="fpp.form.instance.instanceValidationMode">STANDARD</Put>
<Put name="fpp.form.formdb.dialect">org.hibernate.dialect.SQLServerDialect</Put>
<!--<Put name="fpp.form.formdb.hibernate.show_sql">true</Put>-->
<Put name="fpp.form.formdb.hibernate.show_sql">true</Put>
<Put name="fpp.form.formdb.hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</Put>
<Put name="fpp.form.formdb.hibernate.transaction.manager_lookup_class">org.hibernate.transaction.BTMTransactionManagerLookup
</Put>
<Put name="fpp.form.formdb.hibernate.cache.use_query_cache">false</Put>
<Put name="fpp.form.formdb.hibernate.cache.use_second_level_cache">false</Put>
<Put name="fpp.form.formdb.hibernate.cache.use_structured_cache">false</Put>
<Put name="fpp.form.formdb.hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</Put>
<Put name="fpp.form.jbpmdb.dialect">org.hibernate.dialect.SQLServerDialect</Put>
<Put name="fpp.form.jbpmdb.hibernate.show_sql">true</Put>
<Put name="fpp.form.jbpmdb.hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</Put>
<Put name="fpp.form.jbpmdb.hibernate.transaction.manager_lookup_class">org.hibernate.transaction.BTMTransactionManagerLookup
</Put>
<Put name="fpp.form.jbpmdb.hibernate.cache.use_query_cache">false</Put>
<Put name="fpp.form.jbpmdb.hibernate.cache.use_second_level_cache">false</Put>
<Put name="fpp.form.jbpmdb.hibernate.cache.use_structured_cache">false</Put>
<Put name="fpp.form.jbpmdb.hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</Put>
<Put name="fpp.form.scheduler.jobStore.driverDelegateClass">org.quartz.impl.jdbcjobstore.MSSQLDelegate</Put>
<Put name="fpp.form.scheduler.dataSource.driver">com.microsoft.sqlserver.jdbc.SQLServerDriver</Put>
<Put name="fpp.form.scheduler.dataSource.URL">jdbc:sqlserver://DYHVDB01\ALPHA;DatabaseName=tdb_digipen_fpp;integratedSecurity=false
</Put>
<Put name="fpp.form.scheduler.dataSource.user">manage_digipen</Put>
<Put name="fpp.form.scheduler.dataSource.password">5T1fte?</Put>
<!-- Cron Format A cron expression is a string comprised of 6 or 7 fields
separated by white space. Fields can contain any of the allowed values, along
with various combinations of the allowed special characters for that field.
The fields are as follows: Field Name Mandatory Allowed Values Allowed Special
Characters Seconds YES 0-59 , - * / Minutes YES 0-59 , - * / Hours YES 0-23
, - * / Day of month YES 1-31 , - * ? / L W Month YES 1-12 or JAN-DEC , -
* / Day of week YES 1-7 or SUN-SAT , - * ? / L # Year NO empty, 1970-2099
, - * / -->
<Put name="fpp.form.purge.moduleinfo.cron">0 0/1 * * * ?</Put>
<Put name="fpp.form.purge.instances.cron">0 0 * * * ?</Put>
<Put name="fpp.form.purge.instances.defaultcase">365</Put>
<Put name="fpp.form.purge.instances.case1">10</Put>
<Put name="fpp.form.purge.instances.case2">60</Put>
<Put name="fpp.form.purge.instances.case3">100</Put>
<Put name="fpp.form.purge.instances.case4">30</Put>
<Put name="fpp.form.purge.instances.case5">60</Put>
<Put name="fpp.form.export.cron">0 0 * * * ?</Put>
<Put name="fpp.form.export.exportpath">C:\FPP</Put>
<Put name="fpp.form.export.exportMode">REGULAR</Put>
<Put name="fpp.form.export.buildingType">INCREMENTAL</Put>
<Put name="fpp.form.export.addInformations">true</Put>
</New>
</Arg>
</New>
<New id="fppFormDbDataSource" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>jdbc/fppFormDbDataSource</Arg>
<Arg>
<Ref id="fppDataSource"></Ref>
</Arg>
</New>
<New id="fppJbpmDbDataSource" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>jdbc/fppJbpmDbDataSource</Arg>
<Arg>
<Ref id="fppDataSource" />
</Arg>
</New>
<New id="formJmsTopicConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/formJmsTopicConnectionFactory</Arg>
<Arg>
<Ref id="fppServerConnectionFactory" />
</Arg>
</New>
<New id="fieldProducerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fieldProducerJmsConnectionFactory</Arg>
<Arg>
<Ref id="fppServerConnectionFactory" />
</Arg>
</New>
<New id="fieldNotifConsumerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fieldNotifConsumerJmsConnectionFactory</Arg>
<Arg>
<Ref id="fppServerConnectionFactory" />
</Arg>
</New>
<New id="inkConsumerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/inkConsumerJmsConnectionFactory</Arg>
<Arg>
<Ref id="fppServerConnectionFactory" />
</Arg>
</New>
<!-- HWR SERVER -->
<New id="fpp.hwr-server.properties" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fpp.hwr-server.properties</Arg>
<Arg>
<New class="java.util.Properties">
<Put name="fpp.hwr-server.formbroker.uri">failover:nio://localhost:61615</Put>
<Put name="fpp.hwr-server.fieldConsumers">4</Put>
<Put name="fpp.hwr-server.resourceManager.memoryUsageThreshold">262144000</Put>
<Put name="fpp.hwr-server.resourceManager.resourceCountThreshold">150</Put>
<Put name="fpp.hwr-server.resourceManager.idleTimeLimit">1800000</Put>
<Put name="fpp.hwr-server.resourceManager.timeToLive">3600000</Put>
<Put name="fpp.hwr-server.resourceManager.wakeUpInterval">100000</Put>
<Put name="fpp.hwr-server.formdb.dialect">org.hibernate.dialect.SQLServerDialect</Put>
<Put name="fpp.hwr-server.formdb.hibernate.show_sql">true</Put>
<Put name="fpp.hwr-server.formdb.hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</Put>
<Put
name="fpp.hwr-server.formdb.hibernate.transaction.manager_lookup_class">org.hibernate.transaction.BTMTransactionManagerLookup</Put>
<Put name="fpp.hwr-server.internal.dumpRecognition">false</Put>
</New>
</Arg>
</New>
<New id="myscriptHwrService" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/myscriptHwrService</Arg>
<Arg>
<New class="com.visionobjects.myscript.commons.hwr.engine.HwrEngineService">
<Set name="handwritingContextUserLimit">50</Set>
<Set name="resourceUserLimit">0</Set>
<Set name="otherObjectUserLimit">500</Set>
<Call name="doStart" />
</New>
</Arg>
</New>
<New id="fieldNotificationProducerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fieldNotificationProducerJmsConnectionFactory</Arg>
<Arg>
<Ref id="fppServerConnectionFactory" />
</Arg>
</New>
<New id="fieldConsumerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fieldConsumerJmsConnectionFactory</Arg>
<Arg>
<Ref id="fppServerConnectionFactory" />
</Arg>
</New>
<!-- wrapper -->
<New id="fppWrapperServerConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
<Set name="brokerURL">nio://localhost:61615</Set>
<Set name="redeliveryPolicy">
<New class="org.apache.activemq.RedeliveryPolicy">
<Set name="maximumRedeliveries">-1</Set>
<Set name="backOffMultiplier">2</Set>
</New>
</Set>
</New>
<New id="formNotificationConsumerFactory" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/formNotificationConsumerFactory</Arg>
<Arg>
<Ref id="fppWrapperServerConnectionFactory" />
</Arg>
</New>
<New id="inkProducerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/inkProducerJmsConnectionFactory</Arg>
<Arg>
<Ref id="fppWrapperServerConnectionFactory" />
</Arg>
</New>
<!-- JMX/SENSORS -->
<New id="inkJmsQueueUrl" class="java.lang.String">
<Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
</Arg>
</New>
<New id="inkJmsQueueObjectName" class="java.lang.String">
<Arg>org.apache.activemq:BrokerName=formserver.broker,Type=Queue,Destination=inkJmsQueue
</Arg>
</New>
<New id="fieldNotifJmsQueueUrl" class="java.lang.String">
<Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
</Arg>
</New>
<New id="fieldNotifJmsQueueObjectName" class="java.lang.String">
<Arg>org.apache.activemq:BrokerName=formserver.broker,Type=Queue,Destination=fieldNotifJmsQueue
</Arg>
</New>
<New id="fieldJmsQueueUrl" class="java.lang.String">
<Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
</Arg>
</New>
<New id="fieldJmsQueueObjectName" class="java.lang.String">
<Arg>org.apache.activemq:BrokerName=formserver.broker,Type=Queue,Destination=fieldJmsQueue
</Arg>
</New>
<New id="formNotifiationTopicUrl" class="java.lang.String">
<Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
</Arg>
</New>
<New id="formNotifiationTopicObjectName" class="java.lang.String">
<Arg>org.apache.activemq:BrokerName=formserver.broker,Type=Queue,Destination=formNotifiationTopic
</Arg>
</New>
<New id="server.list" class="java.util.HashMap">
<!-- InkJmsQueue -->
<Put name="WRP">
<New class="java.util.ArrayList">
<Call name="add">
<Arg>
<New class="java.lang.String">
<Arg>http://localhost:8081</Arg>
</New>
</Arg>
</Call>
<Call name="add">
<Arg>
<New class="java.lang.String">
<Arg>http://localhost:8084</Arg>
</New>
</Arg>
</Call>
</New>
</Put>
<Put name="FORM">
<New class="java.util.ArrayList">
<Call name="add">
<Arg>
<New class="java.lang.String">
<Arg>http://localhost:8080</Arg>
</New>
</Arg>
</Call>
<Call name="add">
<Arg>
<New class="java.lang.String">
<Arg>http://localhost:8084</Arg>
</New>
</Arg>
</Call>
</New>
</Put>
<Put name="HWR">
<New class="java.util.ArrayList">
<Call name="add">
<Arg>
<New class="java.lang.String">
<Arg>http://localhost:8083</Arg>
</New>
</Arg>
</Call>
<Call name="add">
<Arg>
<New class="java.lang.String">
<Arg>http://localhost:8084</Arg>
</New>
</Arg>
</Call>
</New>
</Put>
</New>
<New id="fpp.form.jmx.properties" class="java.util.HashMap">
<!-- InkJmsQueue -->
<Put name="inkJmsQueueSize">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="inkJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="inkJmsQueueObjectName" />
</Put>
<Put name="attribute">QueueSize</Put>
</New>
</Put>
<Put name="inkJmsConsumerCount">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="inkJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="inkJmsQueueObjectName" />
</Put>
<Put name="attribute">ConsumerCount</Put>
</New>
</Put>
<Put name="inkJmsDequeueCount">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="inkJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="inkJmsQueueObjectName" />
</Put>
<Put name="attribute">DequeueCount</Put>
</New>
</Put>
<Put name="inkJmsAverageEnqueueTime">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="inkJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="inkJmsQueueObjectName" />
</Put>
<Put name="attribute">AverageEnqueueTime</Put>
</New>
</Put>
<Put name="inkJmsMaxEnqueueTime">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="inkJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="inkJmsQueueObjectName" />
</Put>
<Put name="attribute">MaxEnqueueTime</Put>
</New>
</Put>
<!--FieldNotifJmsQueue -->
<Put name="fieldNotifJmsQueueSize">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="fieldNotifJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="fieldNotifJmsQueueObjectName" />
</Put>
<Put name="attribute">QueueSize</Put>
</New>
</Put>
<Put name="fieldNotifJmsConsumerCount">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="fieldNotifJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="fieldNotifJmsQueueObjectName" />
</Put>
<Put name="attribute">ConsumerCount</Put>
</New>
</Put>
<Put name="fieldNotifJmsDequeueCount">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="fieldNotifJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="fieldNotifJmsQueueObjectName" />
</Put>
<Put name="attribute">DequeueCount</Put>
</New>
</Put>
<Put name="fieldNotifJmsAverageEnqueueTime">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="fieldNotifJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="fieldNotifJmsQueueObjectName" />
</Put>
<Put name="attribute">AverageEnqueueTime</Put>
</New>
</Put>
<Put name="fieldNotifJmsMaxEnqueueTime">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="fieldNotifJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="fieldNotifJmsQueueObjectName" />
</Put>
<Put name="attribute">MaxEnqueueTime</Put>
</New>
</Put>
</New>
<New id="fpp.form.ui.parameters" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fpp.form.ui.parameters</Arg>
<Arg>
<New
class="com.visionobjects.myscript.fpp.ui.parameters.impl.UIParametersServiceImpl">
<Set name="jmxProperties">
<Ref id="fpp.form.jmx.properties"></Ref>
</Set>
<Set name="serverList">
<Ref id="server.list"></Ref>
</Set>
</New>
</Arg>
</New>
</Configure>
Thanks so much in advance.
Hello guys,
I have been setting a production system with bitronix transaction manager, SQL server 2008, XA transactions and jetty 6. In the beginning this software was configured to run with MySQL. But one of my customer decided to move everything to MSSQL server 2008.
In that moment I was trying to get this up and running for some weeks (The configuration was completely different) and finally I got it.
The configuration with MSSQL server was running perfectly during 1 month but then from one day to other the error message I will show now appeared and I do not how to solve it. I almost read all the hints from google about this exception but nothing helped
me out.
I hope you guys can help me to find a way to solve it.
- I tried different version of the jdbc driver 3.0 and 4.0.
- I tried to export exactly the database to my localserver and it's running perfectly with the same configuration.
The problem is that I cannot reproduce the error in other place that is not the customer and at the same time I have no access to their internal database server. They installed all the XA transaction stuff (dll in binn, enable XA, and grant the permissions
for SQLXAUser), I am quite sure because it was running for one month without any problem.
I asked to the customer if anything happenend on their server (microsoft updates, machines reboot, ...) but nothing of these happened.
Also I tried this link out but did not help me.
<a href="http://social.msdn.microsoft.com/Forums/sqlserver/en-US/15c1e6f5-ec1e-4376-8f45-25e61ffc1306/the-function-start-has-failed-no-transaction-cookie-was-returned?forum=sqldataaccess">http://social.msdn.microsoft.com/Forums/sqlserver/en-US/15c1e6f5-ec1e-4376-8f45-25e61ffc1306/the-function-start-has-failed-no-transaction-cookie-was-returned?forum=sqldataaccess</a>
The exception is the following:
[2014-05-15 14:06:08,842] INFO 3666[main] - org.mortbay.log.Slf4jLog.info(Slf4jLog.java:67) - Starting Bitronix Transaction Manager
[2014-05-15 14:06:08,951] INFO 3775[main] - org.mortbay.log.Slf4jLog.info(Slf4jLog.java:67) - Extract ./webapps/myscript-fpp-wrapper-server.war to D:\Temp\Jetty_0_0_0_0_8080_myscript.fpp.wrapper.server.war__myscript.form.wrapper.server__.bnwnn7\webapp
[2014-05-15 14:06:10,324] INFO 5148[main] - org.mortbay.log.Slf4jLog.info(Slf4jLog.java:67) - NO JSP Support for /myscript-form-wrapper-server, did not find org.apache.jasper.servlet.JspServlet
[2014-05-15 14:06:12,742] WARN 7566[main] - org.dozer.config.GlobalSettings.loadGlobalSettings(GlobalSettings.java:118) - Dozer configuration file not found: dozer.properties. Using defaults for all Dozer global properties.
[2014-05-15 14:06:13,288] WARN 8112[main] - org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:100) - SQL Error: 0, SQLState: null
[2014-05-15 14:06:13,288]ERROR 8112[main] - org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:101) - error enlisting a JdbcConnectionHandle of a JdbcPooledConnection from datasource fppDataSource in state ACCESSIBLE with
usage count 1 wrapping SQLServerXAConnection:1 on ProxyConnectionID:1
[2014-05-15 14:06:13,319]ERROR 8143[main] - org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:220) - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleRegistration' defined in class path resource [com/visionobjects/myscript/fpp/wrapper/module-registration.xml]: Invocation of init method failed; nested exception is
org.hibernate.exception.GenericJDBCException: could not execute query
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mortbay.start.Main.invokeMain(Main.java:194)
at org.mortbay.start.Main.start(Main.java:534)
at org.mortbay.start.Main.start(Main.java:441)
at org.mortbay.start.Main.main(Main.java:119)
Caused by: org.hibernate.exception.GenericJDBCException: could not execute query
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.loader.Loader.doList(Loader.java:2235)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2129)
at org.hibernate.loader.Loader.list(Loader.java:2124)
at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:118)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1597)
at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:306)
at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:328)
at com.visionobjects.myscript.fpp.form.dao.impl.ModuleInfoDaoImpl.getModuleInfo(ModuleInfoDaoImpl.java:57)
at com.visionobjects.myscript.fpp.ModuleRegistration$1.doInTransactionWithoutResult(ModuleRegistration.java:73)
at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at com.visionobjects.myscript.fpp.ModuleRegistration.init(ModuleRegistration.java:66)
at com.visionobjects.myscript.fpp.ModuleRegistration.start(ModuleRegistration.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
... 33 more
Caused by: java.sql.SQLException: error enlisting a JdbcConnectionHandle of a JdbcPooledConnection from datasource fppDataSource in state ACCESSIBLE with usage count 1 wrapping SQLServerXAConnection:1 on ProxyConnectionID:1
at bitronix.tm.resource.jdbc.JdbcConnectionHandle.enlistResource(JdbcConnectionHandle.java:86)
at bitronix.tm.resource.jdbc.JdbcConnectionHandle.prepareStatement(JdbcConnectionHandle.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at bitronix.tm.resource.jdbc.BaseProxyHandlerClass.invoke(BaseProxyHandlerClass.java:63)
at $Proxy29.prepareStatement(Unknown Source)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:534)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:452)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1577)
at org.hibernate.loader.Loader.doQuery(Loader.java:696)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
at org.hibernate.loader.Loader.doList(Loader.java:2232)
... 52 more
Caused by: bitronix.tm.internal.BitronixSystemException: cannot enlist an XAResourceHolderState with uniqueName=fppDataSource XAResource= XAResourceID:1 with XID a Bitronix XID [6A657474792D6670702D73657276657200000145FFC68B9B00000000 : 6A657474792D6670702D73657276657200000145FFC68BCA00000002],
error=XAER_RMERR
at bitronix.tm.BitronixTransaction.enlistResource(BitronixTransaction.java:100)
at bitronix.tm.resource.common.TransactionContextHelper.enlistInCurrentTransaction(TransactionContextHelper.java:70)
at bitronix.tm.resource.jdbc.JdbcConnectionHandle.enlistResource(JdbcConnectionHandle.java:84)
... 66 more
<b>Caused by: javax.transaction.xa.XAException: com.microsoft.sqlserver.jdbc.SQLServerException: The function START: has failed. No transaction cookie was returned </b>
at com.microsoft.sqlserver.jdbc.SQLServerXAResource.DTC_XA_Interface(SQLServerXAResource.java:642)
at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(SQLServerXAResource.java:674)
at bitronix.tm.internal.XAResourceHolderState.start(XAResourceHolderState.java:211)
at bitronix.tm.internal.XAResourceManager.enlist(XAResourceManager.java:108)
at bitronix.tm.BitronixTransaction.enlistResource(BitronixTransaction.java:93)
... 68 more
I think the "bold" exception is the key.
Also the configuration file of my jetty server.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<!-- developpment jetty configuration -->
<!-- launch with main class : org.mortbay.start.Main app arguments:
deploy-conf/jetty-conf/mysql/jetty-dev.xml vm arguments : -Xmx1024M -DSTOP.KEY=stop
-DSTOP.PORT=6669 to stop : - - stop -Xmx1024M -DSTOP.KEY=stop -DSTOP.PORT=6669 -->
<Configure id="Server" class="org.mortbay.jetty.Server">
<Array id="plusConfig" type="java.lang.String">
<Item>org.mortbay.jetty.webapp.WebInfConfiguration</Item>
<Item>org.mortbay.jetty.plus.webapp.EnvConfiguration</Item>
<Item>org.mortbay.jetty.plus.webapp.Configuration</Item>
<Item>org.mortbay.jetty.webapp.JettyWebXmlConfiguration</Item>
<Item>org.mortbay.jetty.webapp.TagLibConfiguration</Item>
</Array>
<Array id="serverClasses" type="java.lang.String">
</Array>
<Array id="systemClasses" type="java.lang.String">
</Array>
<!-- web apps -->
<Set name="handler">
<New id="handlerContext" class="org.mortbay.jetty.handler.ContextHandlerCollection">
<Set name="handlers">
<Array id="handlerArray" type="org.mortbay.jetty.webapp.WebAppContext">
<!-- wrapper server -->
<Item>
<New class="org.mortbay.jetty.webapp.WebAppContext">
<Arg>./webapps/myscript-fpp-wrapper-server.war</Arg>
<Arg>/myscript-form-wrapper-server</Arg>
<Set name="serverClasses">
<Ref id="serverClasses" />
</Set>
<Set name="ConfigurationClasses">
<Ref id="plusConfig" />
</Set>
</New>
</Item>
<!-- form server -->
<Item>
<New class="org.mortbay.jetty.webapp.WebAppContext">
<Arg>./webapps/myscript-fpp-form-server.war
</Arg>
<Arg>/myscript-form-server</Arg>
<Set name="serverClasses">
<Ref id="serverClasses" />
</Set>
<Set name="ConfigurationClasses">
<Ref id="plusConfig" />
</Set>
</New>
</Item>
<!-- hwr server -->
<Item>
<New class="org.mortbay.jetty.webapp.WebAppContext">
<Arg>./webapps/myscript-fpp-hwr-server.war</Arg>
<Arg>/myscript-form-hwr-server</Arg>
<Set name="serverClasses">
<Ref id="serverClasses" />
</Set>
<Set name="ConfigurationClasses">
<Ref id="plusConfig" />
</Set>
</New>
</Item>
</Array>
</Set>
</New>
</Set>
<Call name="addConnector">
<Arg>
<New class="org.mortbay.jetty.nio.SelectChannelConnector">
<Set name="port">8080</Set>
</New>
</Arg>
</Call>
<!-- Use the jdk 1.5 platformMBeanServer -->
<Call id="MBeanServer" class="java.lang.management.ManagementFactory"
name="getPlatformMBeanServer" />
<Get id="Container" name="container">
<Call name="addEventListener">
<Arg>
<New class="org.mortbay.management.MBeanContainer">
<Arg>
<Ref id="MBeanServer" />
</Arg>
<Call name="start" />
</New>
</Arg>
</Call>
</Get>
<!-- Setup the RMIRegistry on a specific port -->
<Call id="rmiRegistry" class="java.rmi.registry.LocateRegistry"
name="createRegistry">
<Arg type="int">2099</Arg>
</Call>
<!-- Setup the JMXConnectorServer on a specific rmi server port -->
<Call id="jmxConnectorServer" class="javax.management.remote.JMXConnectorServerFactory"
name="newJMXConnectorServer">
<Arg>
<New class="javax.management.remote.JMXServiceURL">
<Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
</Arg>
</New>
</Arg>
<Arg />
<Arg>
<Ref id="MBeanServer" />
</Arg>
<Call name="start" />
</Call>
<!--************************* -->
<!-- embbeded ActiveMQ Broker -->
<!--************************* -->
<New id="brokerService" class="org.apache.activemq.broker.BrokerService">
<Set name="brokerName">fppBrokerActiveMQ</Set>
<Set name="dataDirectoryFile"></Set>
<Call name="getSystemUsage">
<Call name="getMemoryUsage">
<Set name="limit">26428800</Set>
</Call>
<Call name="getStoreUsage">
<Set name="limit">204857600</Set>
</Call>
</Call>
<Call name="addConnector">
<Arg>nio://localhost:61615</Arg>
</Call>
<Call name="start"></Call>
</New>
<!-- ************************** -->
<!-- common fpp jndi resources -->
<!-- ************************** -->
<!-- ui debug properties -->
<New id="fpp.common-ui.velocityProperties" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fpp.common-ui.velocityProperties</Arg>
<Arg>
<New class="java.util.Properties">
<Put name="spring.resource.loader.class">org.springframework.ui.velocity.SpringResourceLoader
</Put>
<Put name="spring.resource.loader.cache">false</Put>
<Put name="velocimacro.library.autoreload">true</Put>
</New>
</Arg>
</New>
<New id="fpp.wrapper-server.properties" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fpp.wrapper-server.properties</Arg>
<Arg>
<New class="java.util.Properties">
<Put name="fpp.wrapper-server.instanceServiceWsdlLocation">http://localhost:8080/myscript-form-server/cxf/instance?wsdl
</Put>
<Put name="fpp.wrapper-server.formServiceWsdlLocation">http://localhost:8080/myscript-form-server/cxf/form?wsdl
</Put>
<Put name="fpp.wrapper-server.formDeprecatedServiceWsdlLocation">http://localhost:8080/myscript-form-server/cxf/formDeprecated?wsdl
</Put>
<Put name="fpp.wrapper-server.hwrResourceServiceWsdlLocation">http://localhost:8080/myscript-form-server/cxf/hwrResource?wsdl
</Put>
<Put name="fpp.wrapper-server.defaultEnvironmentName">default</Put>
<Put name="fpp.wrapper-server.defaultEnvironmentType">STANDARD</Put>
<Put name="fpp.wrapper-server.formdb.dialect">org.hibernate.dialect.SQLServerDialect</Put>
<Put name="fpp.wrapper-server.formdb.hibernate.show_sql">true</Put>
<Put name="fpp.wrapper-server.formdb.hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</Put>
<Put name="fpp.wrapper-server.formdb.hibernate.transaction.manager_lookup_class">org.hibernate.transaction.BTMTransactionManagerLookup</Put>
<Put name="fpp.wrapper-server.formdb.hibernate.cache.use_query_cache">false</Put>
<Put name="fpp.wrapper-server.formdb.hibernate.cache.use_second_level_cache">false</Put>
<Put name="fpp.wrapper-server.formdb.hibernate.cache.use_structured_cache">false</Put>
<Put name="fpp.wrapper-server.formdb.hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</Put>
</New>
</Arg>
</New>
<!-- transaction manager - bitronix -->
<Call name="getConfiguration" class="bitronix.tm.TransactionManagerServices">
<Set name="serverId">jetty-fpp-server</Set>
<Set name="gracefulShutdownInterval">45</Set>
<Set name="logPart1Filename">btm/btm1.tlog</Set>
<Set name="logPart2Filename">btm/btm2.tlog</Set>
</Call>
<Set name="gracefulShutdown">60000</Set>
<Call name="addLifeCycle">
<Arg>
<New class="bitronix.tm.integration.jetty6.BTMLifeCycle" />
</Arg>
</Call>
<New class="org.mortbay.jetty.plus.naming.Transaction">
<Arg>
<Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices" />
</Arg>
</New>
<New class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>java:/TransactionManager</Arg>
<Arg>
<Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices" />
</Arg>
</New>
<New id="userTransactionManager" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>java:comp/TransactionManager</Arg>
<Arg>
<Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices" />
</Arg>
</New>
<New id="userTransactionManager" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>java:comp/UserTransaction</Arg>
<Arg>
<Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices" />
</Arg>
</New>
<!-- database data source -->
<New id="fppDataSource" class="bitronix.tm.resource.jdbc.PoolingDataSource">
<Set name="uniqueName">fppDataSource</Set>
<Set name="className">com.microsoft.sqlserver.jdbc.SQLServerXADataSource</Set>
<Set name="minPoolSize">0</Set>
<Set name="maxPoolSize">50</Set>
<Get name="driverProperties">
<Put name="serverName">DYHVDB01</Put>
<Put name="instanceName">ALPHA</Put>
<Put name="integratedSecurity">false</Put>
<Put name="databaseName">tdb_digipen_fpp</Put>
<Put name="user">manage_digipen</Put>
<Put name="password">5T1fte?</Put>
<!--Needed to test??<Put name="pinGlobalTxToPhysicalConnection">true</Put>-->
</Get>
<Call name="init" />
</New>
<!-- Jms connection factories -->
<New id="fppServerConnectionFactory" class="bitronix.tm.resource.jms.PoolingConnectionFactory">
<Set name="className">org.apache.activemq.ActiveMQXAConnectionFactory</Set>
<Set name="uniqueName">fppServerConnectionFactory</Set>
<Set name="minPoolSize">4</Set>
<Set name="maxPoolSize">40</Set>
<Set name="allowLocalTransactions">true</Set>
<Get name="driverProperties">
<Put name="brokerURL">nio://localhost:61615?jms.prefetchPolicy.all=50</Put>
<New class="org.apache.activemq.RedeliveryPolicy">
<Set name="maximumRedeliveries">-1</Set>
<Set name="backOffMultiplier">2</Set>
</New>
</Get>
<Call name="init" />
</New>
<!-- JMS Queues & topics -->
<New id="formNotifiationTopic" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>fpp/formNotifiationTopic</Arg>
<Arg>
<New class="org.apache.activemq.command.ActiveMQTopic">
<Arg>formNotifiationTopic</Arg>
</New>
</Arg>
</New>
<New id="fieldJmsQueue" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>fpp/fieldJmsQueue</Arg>
<Arg>
<New class="org.apache.activemq.command.ActiveMQQueue">
<Arg>fieldJmsQueue</Arg>
</New>
</Arg>
</New>
<New id="fieldNotifJmsQueue" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>fpp/fieldNotifJmsQueue</Arg>
<Arg>
<New class="org.apache.activemq.command.ActiveMQQueue">
<Arg>fieldNotifJmsQueue</Arg>
</New>
</Arg>
</New>
<New id="inkJmsQueue" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>fpp/inkJmsQueue</Arg>
<Arg>
<New class="org.apache.activemq.command.ActiveMQQueue">
<Arg>inkJmsQueue</Arg>
</New>
</Arg>
</New>
<!-- native library services -->
<New id="myscriptLicenseService" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/myscriptLicenseService</Arg>
<Arg>
<New
class="com.visionobjects.licensemanager.impl.MyscriptLicenseServiceImpl">
<Arg>localhost</Arg>
</New>
</Arg>
</New>
<!-- *********************** -->
<!-- form server properties -->
<!-- *********************** -->
<New id="fpp.form.properties" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fpp.form.properties</Arg>
<Arg>
<New class="java.util.Properties">
<Put name="fpp.form.defaultEnvironmentName">default</Put>
<Put name="fpp.form.defaultEnvironmentType">STANDARD</Put>
<Put name="fpp.form.jbpm.job.nbexecutor">4</Put>
<Put name="fpp.form.jbpm.job.idleinterval">1000</Put>
<Put name="fpp.form.field.notif.nbconsumers">2</Put>
<Put name="fpp.form.ink.nbconsumers">2</Put>
<Put name="fpp.form.instance.instanceValidationMode">STANDARD</Put>
<Put name="fpp.form.formdb.dialect">org.hibernate.dialect.SQLServerDialect</Put>
<!--<Put name="fpp.form.formdb.hibernate.show_sql">true</Put>-->
<Put name="fpp.form.formdb.hibernate.show_sql">true</Put>
<Put name="fpp.form.formdb.hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</Put>
<Put name="fpp.form.formdb.hibernate.transaction.manager_lookup_class">org.hibernate.transaction.BTMTransactionManagerLookup
</Put>
<Put name="fpp.form.formdb.hibernate.cache.use_query_cache">false</Put>
<Put name="fpp.form.formdb.hibernate.cache.use_second_level_cache">false</Put>
<Put name="fpp.form.formdb.hibernate.cache.use_structured_cache">false</Put>
<Put name="fpp.form.formdb.hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</Put>
<Put name="fpp.form.jbpmdb.dialect">org.hibernate.dialect.SQLServerDialect</Put>
<Put name="fpp.form.jbpmdb.hibernate.show_sql">true</Put>
<Put name="fpp.form.jbpmdb.hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</Put>
<Put name="fpp.form.jbpmdb.hibernate.transaction.manager_lookup_class">org.hibernate.transaction.BTMTransactionManagerLookup
</Put>
<Put name="fpp.form.jbpmdb.hibernate.cache.use_query_cache">false</Put>
<Put name="fpp.form.jbpmdb.hibernate.cache.use_second_level_cache">false</Put>
<Put name="fpp.form.jbpmdb.hibernate.cache.use_structured_cache">false</Put>
<Put name="fpp.form.jbpmdb.hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</Put>
<Put name="fpp.form.scheduler.jobStore.driverDelegateClass">org.quartz.impl.jdbcjobstore.MSSQLDelegate</Put>
<Put name="fpp.form.scheduler.dataSource.driver">com.microsoft.sqlserver.jdbc.SQLServerDriver</Put>
<Put name="fpp.form.scheduler.dataSource.URL">jdbc:sqlserver://DYHVDB01\ALPHA;DatabaseName=tdb_digipen_fpp;integratedSecurity=false
</Put>
<Put name="fpp.form.scheduler.dataSource.user">manage_digipen</Put>
<Put name="fpp.form.scheduler.dataSource.password">5T1fte?</Put>
<!-- Cron Format A cron expression is a string comprised of 6 or 7 fields
separated by white space. Fields can contain any of the allowed values, along
with various combinations of the allowed special characters for that field.
The fields are as follows: Field Name Mandatory Allowed Values Allowed Special
Characters Seconds YES 0-59 , - * / Minutes YES 0-59 , - * / Hours YES 0-23
, - * / Day of month YES 1-31 , - * ? / L W Month YES 1-12 or JAN-DEC , -
* / Day of week YES 1-7 or SUN-SAT , - * ? / L # Year NO empty, 1970-2099
, - * / -->
<Put name="fpp.form.purge.moduleinfo.cron">0 0/1 * * * ?</Put>
<Put name="fpp.form.purge.instances.cron">0 0 * * * ?</Put>
<Put name="fpp.form.purge.instances.defaultcase">365</Put>
<Put name="fpp.form.purge.instances.case1">10</Put>
<Put name="fpp.form.purge.instances.case2">60</Put>
<Put name="fpp.form.purge.instances.case3">100</Put>
<Put name="fpp.form.purge.instances.case4">30</Put>
<Put name="fpp.form.purge.instances.case5">60</Put>
<Put name="fpp.form.export.cron">0 0 * * * ?</Put>
<Put name="fpp.form.export.exportpath">C:\FPP</Put>
<Put name="fpp.form.export.exportMode">REGULAR</Put>
<Put name="fpp.form.export.buildingType">INCREMENTAL</Put>
<Put name="fpp.form.export.addInformations">true</Put>
</New>
</Arg>
</New>
<New id="fppFormDbDataSource" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>jdbc/fppFormDbDataSource</Arg>
<Arg>
<Ref id="fppDataSource"></Ref>
</Arg>
</New>
<New id="fppJbpmDbDataSource" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>jdbc/fppJbpmDbDataSource</Arg>
<Arg>
<Ref id="fppDataSource" />
</Arg>
</New>
<New id="formJmsTopicConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/formJmsTopicConnectionFactory</Arg>
<Arg>
<Ref id="fppServerConnectionFactory" />
</Arg>
</New>
<New id="fieldProducerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fieldProducerJmsConnectionFactory</Arg>
<Arg>
<Ref id="fppServerConnectionFactory" />
</Arg>
</New>
<New id="fieldNotifConsumerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fieldNotifConsumerJmsConnectionFactory</Arg>
<Arg>
<Ref id="fppServerConnectionFactory" />
</Arg>
</New>
<New id="inkConsumerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/inkConsumerJmsConnectionFactory</Arg>
<Arg>
<Ref id="fppServerConnectionFactory" />
</Arg>
</New>
<!-- HWR SERVER -->
<New id="fpp.hwr-server.properties" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fpp.hwr-server.properties</Arg>
<Arg>
<New class="java.util.Properties">
<Put name="fpp.hwr-server.formbroker.uri">failover:nio://localhost:61615</Put>
<Put name="fpp.hwr-server.fieldConsumers">4</Put>
<Put name="fpp.hwr-server.resourceManager.memoryUsageThreshold">262144000</Put>
<Put name="fpp.hwr-server.resourceManager.resourceCountThreshold">150</Put>
<Put name="fpp.hwr-server.resourceManager.idleTimeLimit">1800000</Put>
<Put name="fpp.hwr-server.resourceManager.timeToLive">3600000</Put>
<Put name="fpp.hwr-server.resourceManager.wakeUpInterval">100000</Put>
<Put name="fpp.hwr-server.formdb.dialect">org.hibernate.dialect.SQLServerDialect</Put>
<Put name="fpp.hwr-server.formdb.hibernate.show_sql">true</Put>
<Put name="fpp.hwr-server.formdb.hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</Put>
<Put
name="fpp.hwr-server.formdb.hibernate.transaction.manager_lookup_class">org.hibernate.transaction.BTMTransactionManagerLookup</Put>
<Put name="fpp.hwr-server.internal.dumpRecognition">false</Put>
</New>
</Arg>
</New>
<New id="myscriptHwrService" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/myscriptHwrService</Arg>
<Arg>
<New class="com.visionobjects.myscript.commons.hwr.engine.HwrEngineService">
<Set name="handwritingContextUserLimit">50</Set>
<Set name="resourceUserLimit">0</Set>
<Set name="otherObjectUserLimit">500</Set>
<Call name="doStart" />
</New>
</Arg>
</New>
<New id="fieldNotificationProducerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fieldNotificationProducerJmsConnectionFactory</Arg>
<Arg>
<Ref id="fppServerConnectionFactory" />
</Arg>
</New>
<New id="fieldConsumerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fieldConsumerJmsConnectionFactory</Arg>
<Arg>
<Ref id="fppServerConnectionFactory" />
</Arg>
</New>
<!-- wrapper -->
<New id="fppWrapperServerConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
<Set name="brokerURL">nio://localhost:61615</Set>
<Set name="redeliveryPolicy">
<New class="org.apache.activemq.RedeliveryPolicy">
<Set name="maximumRedeliveries">-1</Set>
<Set name="backOffMultiplier">2</Set>
</New>
</Set>
</New>
<New id="formNotificationConsumerFactory" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/formNotificationConsumerFactory</Arg>
<Arg>
<Ref id="fppWrapperServerConnectionFactory" />
</Arg>
</New>
<New id="inkProducerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/inkProducerJmsConnectionFactory</Arg>
<Arg>
<Ref id="fppWrapperServerConnectionFactory" />
</Arg>
</New>
<!-- JMX/SENSORS -->
<New id="inkJmsQueueUrl" class="java.lang.String">
<Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
</Arg>
</New>
<New id="inkJmsQueueObjectName" class="java.lang.String">
<Arg>org.apache.activemq:BrokerName=formserver.broker,Type=Queue,Destination=inkJmsQueue
</Arg>
</New>
<New id="fieldNotifJmsQueueUrl" class="java.lang.String">
<Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
</Arg>
</New>
<New id="fieldNotifJmsQueueObjectName" class="java.lang.String">
<Arg>org.apache.activemq:BrokerName=formserver.broker,Type=Queue,Destination=fieldNotifJmsQueue
</Arg>
</New>
<New id="fieldJmsQueueUrl" class="java.lang.String">
<Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
</Arg>
</New>
<New id="fieldJmsQueueObjectName" class="java.lang.String">
<Arg>org.apache.activemq:BrokerName=formserver.broker,Type=Queue,Destination=fieldJmsQueue
</Arg>
</New>
<New id="formNotifiationTopicUrl" class="java.lang.String">
<Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
</Arg>
</New>
<New id="formNotifiationTopicObjectName" class="java.lang.String">
<Arg>org.apache.activemq:BrokerName=formserver.broker,Type=Queue,Destination=formNotifiationTopic
</Arg>
</New>
<New id="server.list" class="java.util.HashMap">
<!-- InkJmsQueue -->
<Put name="WRP">
<New class="java.util.ArrayList">
<Call name="add">
<Arg>
<New class="java.lang.String">
<Arg>http://localhost:8081</Arg>
</New>
</Arg>
</Call>
<Call name="add">
<Arg>
<New class="java.lang.String">
<Arg>http://localhost:8084</Arg>
</New>
</Arg>
</Call>
</New>
</Put>
<Put name="FORM">
<New class="java.util.ArrayList">
<Call name="add">
<Arg>
<New class="java.lang.String">
<Arg>http://localhost:8080</Arg>
</New>
</Arg>
</Call>
<Call name="add">
<Arg>
<New class="java.lang.String">
<Arg>http://localhost:8084</Arg>
</New>
</Arg>
</Call>
</New>
</Put>
<Put name="HWR">
<New class="java.util.ArrayList">
<Call name="add">
<Arg>
<New class="java.lang.String">
<Arg>http://localhost:8083</Arg>
</New>
</Arg>
</Call>
<Call name="add">
<Arg>
<New class="java.lang.String">
<Arg>http://localhost:8084</Arg>
</New>
</Arg>
</Call>
</New>
</Put>
</New>
<New id="fpp.form.jmx.properties" class="java.util.HashMap">
<!-- InkJmsQueue -->
<Put name="inkJmsQueueSize">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="inkJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="inkJmsQueueObjectName" />
</Put>
<Put name="attribute">QueueSize</Put>
</New>
</Put>
<Put name="inkJmsConsumerCount">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="inkJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="inkJmsQueueObjectName" />
</Put>
<Put name="attribute">ConsumerCount</Put>
</New>
</Put>
<Put name="inkJmsDequeueCount">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="inkJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="inkJmsQueueObjectName" />
</Put>
<Put name="attribute">DequeueCount</Put>
</New>
</Put>
<Put name="inkJmsAverageEnqueueTime">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="inkJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="inkJmsQueueObjectName" />
</Put>
<Put name="attribute">AverageEnqueueTime</Put>
</New>
</Put>
<Put name="inkJmsMaxEnqueueTime">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="inkJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="inkJmsQueueObjectName" />
</Put>
<Put name="attribute">MaxEnqueueTime</Put>
</New>
</Put>
<!--FieldNotifJmsQueue -->
<Put name="fieldNotifJmsQueueSize">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="fieldNotifJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="fieldNotifJmsQueueObjectName" />
</Put>
<Put name="attribute">QueueSize</Put>
</New>
</Put>
<Put name="fieldNotifJmsConsumerCount">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="fieldNotifJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="fieldNotifJmsQueueObjectName" />
</Put>
<Put name="attribute">ConsumerCount</Put>
</New>
</Put>
<Put name="fieldNotifJmsDequeueCount">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="fieldNotifJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="fieldNotifJmsQueueObjectName" />
</Put>
<Put name="attribute">DequeueCount</Put>
</New>
</Put>
<Put name="fieldNotifJmsAverageEnqueueTime">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="fieldNotifJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="fieldNotifJmsQueueObjectName" />
</Put>
<Put name="attribute">AverageEnqueueTime</Put>
</New>
</Put>
<Put name="fieldNotifJmsMaxEnqueueTime">
<New class="java.util.HashMap">
<Put name="urlQueue">
<Ref id="fieldNotifJmsQueueUrl" />
</Put>
<Put name="objectName">
<Ref id="fieldNotifJmsQueueObjectName" />
</Put>
<Put name="attribute">MaxEnqueueTime</Put>
</New>
</Put>
</New>
<New id="fpp.form.ui.parameters" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>
<Ref id="Server" />
</Arg>
<Arg>fpp/fpp.form.ui.parameters</Arg>
<Arg>
<New
class="com.visionobjects.myscript.fpp.ui.parameters.impl.UIParametersServiceImpl">
<Set name="jmxProperties">
<Ref id="fpp.form.jmx.properties"></Ref>
</Set>
<Set name="serverList">
<Ref id="server.list"></Ref>
</Set>
</New>
</Arg>
</New>
</Configure>
Thanks so much in advance.
Maybe you are looking for
-
Java.lang.NoSuchMethodError on my adf:inputrender tag for Date attribute
Hello! Please help. I don't know how to fix this error: java.lang.NoSuchMethodError: oracle.adf.model.binding.DCUtil.findSpelObject(Ljava/lang/Object;Ljava/lang/String;Z)Ljava/lang/Object; at oracle.jbo.html.jsp.datatags.DataTagBase.initializeUs
-
** External Debugging is not working in Proxy inbound scenario
Hi Friends, In our File to Proxy scenario, the user which is mentioned in reciver XI adapter of type as 'C Communication Data'. The message is processed successfully (SXI_MONITOR). But the records in the Z table are not updated.To debug this, I am no
-
Hello, I am using Windows 2000 Server as a Terminal Server and have Acrobat 6.0.1 installed. When I try to print anything (even a test page and even while logged in as administrator) I get the following error: There was an error found when printing t
-
Problem with building memtest86
I wrote pkgbuild: # Maintainer: Abaddon <[email protected]> pkgname=memtest86 pkgver=3.2 pkgrel=1 pkgdesc="Memtest86 is stand alone memory test for x86 architecture computers." url="http://www.memtest86.com/" depends=('') source=(http://www.memtest86.c
-
Need to fetch function code value of push button into BUS
He expert, I have created one custom screen in standard transaction IQ02.where I am populating some values into screen and one push button is there.I want to trigger the workflow only when user press this push button.I am using BUS