[jira] [Updated] (AMQNET-745) Apache.NMS has an exception for application launched in single file mode
[ https://issues.apache.org/jira/browse/AMQNET-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Iuliia Fatkullina updated AMQNET-745: - Description: Apache.NMS library version 1.8.0 and higher has an exception, when trying to instantiate the NMSConnectionFactory class, if the application is launched in single file mode. An example of an exception can be seen when using Apache.NMS.ActiveMQ [https://github.com/i7nfinity/apache-nms-singlefile-error] Need to fix GetConfigSearchPaths method because Path.GetDirectoryName(executingAssembly.Location) returns null in the file [https://github.com/apache/activemq-nms-api/blob/main/src/nms-api/NMSConnectionFactory.cs] You can read more about the problem here [https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file] {code:java} Could not create the IConnectionFactory implementation: Value cannot be null. (Parameter 'path1') at Apache.NMS.NMSConnectionFactory.CreateConnectionFactory(Uri uriProvider, Object[] constructorParams) at Apache.NMS.NMSConnectionFactory..ctor(Uri uriProvider, Object[] constructorParams) at Apache.NMS.NMSConnectionFactory..ctor(String providerURI, Object[] constructorParams) at ApacheNmsSingleAppError.Program.Main() {code} was: Apache.NMS library version 1.8.0 and higher has an exception, when trying to instantiate the NMSConnectionFactory class, if the application is launched in single file mode. An example of an exception can be seen when using Apache.NMS.ActiveMQ [https://github.com/i7nfinity/apache-nms-singlefile-error] Need to fix GetConfigSearchPaths method because Path.GetDirectoryName(executingAssembly.Location) returns null in the file [https://github.com/apache/activemq-nms-api/blob/main/src/nms-api/NMSConnectionFactory.cs] You can read more about the problem here [https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file] {code:bash} Could not create the IConnectionFactory implementation: Value cannot be null. (Parameter 'path1') at Apache.NMS.NMSConnectionFactory.CreateConnectionFactory(Uri uriProvider, Object[] constructorParams) at Apache.NMS.NMSConnectionFactory..ctor(Uri uriProvider, Object[] constructorParams) at Apache.NMS.NMSConnectionFactory..ctor(String providerURI, Object[] constructorParams) at ApacheNmsSingleAppError.Program.Main() {code} > Apache.NMS has an exception for application launched in single file mode > > > Key: AMQNET-745 > URL: https://issues.apache.org/jira/browse/AMQNET-745 > Project: ActiveMQ .Net > Issue Type: Bug > Components: ActiveMQ, NMS >Affects Versions: OpenWire-1.8.0 >Reporter: Iuliia Fatkullina >Priority: Critical > > Apache.NMS library version 1.8.0 and higher has an exception, > when trying to instantiate the NMSConnectionFactory class, > if the application is launched in single file mode. > An example of an exception can be seen when using Apache.NMS.ActiveMQ > [https://github.com/i7nfinity/apache-nms-singlefile-error] > Need to fix GetConfigSearchPaths method because > Path.GetDirectoryName(executingAssembly.Location) returns null in the file > [https://github.com/apache/activemq-nms-api/blob/main/src/nms-api/NMSConnectionFactory.cs] > You can read more about the problem here > [https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file] > {code:java} > Could not create the IConnectionFactory implementation: Value cannot be null. > (Parameter 'path1') >at Apache.NMS.NMSConnectionFactory.CreateConnectionFactory(Uri > uriProvider, Object[] constructorParams) >at Apache.NMS.NMSConnectionFactory..ctor(Uri uriProvider, Object[] > constructorParams) >at Apache.NMS.NMSConnectionFactory..ctor(String providerURI, Object[] > constructorParams) >at ApacheNmsSingleAppError.Program.Main() > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Updated] (AMQNET-745) Apache.NMS has an exception for application launched in single file mode
[ https://issues.apache.org/jira/browse/AMQNET-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Iuliia Fatkullina updated AMQNET-745: - Description: Apache.NMS library version 1.8.0 and higher has an exception, when trying to instantiate the NMSConnectionFactory class, if the application is launched in single file mode. An example of an exception can be seen when using Apache.NMS.ActiveMQ [https://github.com/i7nfinity/apache-nms-singlefile-error] Need to fix GetConfigSearchPaths method because Path.GetDirectoryName(executingAssembly.Location) returns null in the file [https://github.com/apache/activemq-nms-api/blob/main/src/nms-api/NMSConnectionFactory.cs] You can read more about the problem here [https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file] {code:bash} Could not create the IConnectionFactory implementation: Value cannot be null. (Parameter 'path1') at Apache.NMS.NMSConnectionFactory.CreateConnectionFactory(Uri uriProvider, Object[] constructorParams) at Apache.NMS.NMSConnectionFactory..ctor(Uri uriProvider, Object[] constructorParams) at Apache.NMS.NMSConnectionFactory..ctor(String providerURI, Object[] constructorParams) at ApacheNmsSingleAppError.Program.Main() {code} was: Apache.NMS library version 1.8.0 and higher has an exception, when trying to instantiate the NMSConnectionFactory class, if the application is launched in single file mode. An example of an exception can be seen when using Apache.NMS.ActiveMQ https://github.com/i7nfinity/apache-nms-singlefile-error Need to fix GetConfigSearchPaths method because Path.GetDirectoryName(executingAssembly.Location) returns null in the file https://github.com/apache/activemq-nms-api/blob/main/src/nms-api/NMSConnectionFactory.cs You can read more about the problem here https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file > Apache.NMS has an exception for application launched in single file mode > > > Key: AMQNET-745 > URL: https://issues.apache.org/jira/browse/AMQNET-745 > Project: ActiveMQ .Net > Issue Type: Bug > Components: ActiveMQ, NMS >Affects Versions: OpenWire-1.8.0 >Reporter: Iuliia Fatkullina >Priority: Critical > > Apache.NMS library version 1.8.0 and higher has an exception, > when trying to instantiate the NMSConnectionFactory class, > if the application is launched in single file mode. > An example of an exception can be seen when using Apache.NMS.ActiveMQ > [https://github.com/i7nfinity/apache-nms-singlefile-error] > Need to fix GetConfigSearchPaths method because > Path.GetDirectoryName(executingAssembly.Location) returns null in the file > [https://github.com/apache/activemq-nms-api/blob/main/src/nms-api/NMSConnectionFactory.cs] > You can read more about the problem here > [https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file] > > {code:bash} > Could not create the IConnectionFactory implementation: Value cannot be null. > (Parameter 'path1') >at Apache.NMS.NMSConnectionFactory.CreateConnectionFactory(Uri > uriProvider, Object[] constructorParams) >at Apache.NMS.NMSConnectionFactory..ctor(Uri uriProvider, Object[] > constructorParams) >at Apache.NMS.NMSConnectionFactory..ctor(String providerURI, Object[] > constructorParams) >at ApacheNmsSingleAppError.Program.Main() > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Created] (AMQNET-745) Apache.NMS has an exception for application launched in single file mode
Iuliia Fatkullina created AMQNET-745: Summary: Apache.NMS has an exception for application launched in single file mode Key: AMQNET-745 URL: https://issues.apache.org/jira/browse/AMQNET-745 Project: ActiveMQ .Net Issue Type: Bug Components: ActiveMQ, NMS Affects Versions: OpenWire-1.8.0 Reporter: Iuliia Fatkullina Apache.NMS library version 1.8.0 and higher has an exception, when trying to instantiate the NMSConnectionFactory class, if the application is launched in single file mode. An example of an exception can be seen when using Apache.NMS.ActiveMQ https://github.com/i7nfinity/apache-nms-singlefile-error Need to fix GetConfigSearchPaths method because Path.GetDirectoryName(executingAssembly.Location) returns null in the file https://github.com/apache/activemq-nms-api/blob/main/src/nms-api/NMSConnectionFactory.cs You can read more about the problem here https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file -- This message was sent by Atlassian Jira (v8.20.1#820001)