activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stanka <sschi...@expresspoint.com>
Subject Newbie Who Needs Help With Getting ActiveMQ setup to read from a queue in .Net
Date Thu, 16 Aug 2012 22:38:36 GMT
I'm getting the following error message and I don't know what is causing this
or how to fix it.

Error: System.Reflection.TargetInvocationException: Exception has been
thrown by the target of an invocation. --->
Apache.NMS.NMSConnectionException: Could not create the IConnectionFactory
implementation: Unable to cast object of type
'Apache.NMS.ActiveMQ.ConnectionFactory' to type
'Apache.NMS.IConnectionFactory'. ---> System.InvalidCastException: Unable to
cast object of type 'Apache.NMS.ActiveMQ.ConnectionFactory' to type
'Apache.NMS.IConnectionFactory'.
   at Apache.NMS.NMSConnectionFactory.CreateConnectionFactory(Uri
uriProvider, Object[] constructorParams)
   --- End of inner exception stack trace ---
   at Apache.NMS.NMSConnectionFactory.CreateConnectionFactory(Uri
uriProvider, Object[] constructorParams)
   at Apache.NMS.NMSConnectionFactory..ctor(Uri uriProvider, Object[]
constructorParams)
   at ST_455fc37cc2b04c929b8a5e5dff0579fa.vbproj.ScriptMain.Main() in
C:\Users\Steve
Schiltz\AppData\Local\Temp\SSIS\cee91edc22394c18a2b2e764c2659b96\ScriptMain.vb:line
44
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[]
arguments, SignatureStruct& sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[]
arguments, Signature sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean
skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.InvokeMember(String name, BindingFlags
bindingFlags, Binder binder, Object target, Object[] providedArgs,
ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder
binder, Object target, Object[] args, CultureInfo culture)
   at
Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript()



--
View this message in context: http://activemq.2283324.n4.nabble.com/Newbie-Who-Needs-Help-With-Getting-ActiveMQ-setup-to-read-from-a-queue-in-Net-tp4655228.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Mime
View raw message