You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Simon Jackson (JIRA)" <ji...@apache.org> on 2011/07/19 12:20:57 UTC
[jira] [Created] (AMQNET-337) Creating ConnectionFactory fails if
ActiveMQ assembly has long path
Creating ConnectionFactory fails if ActiveMQ assembly has long path
-------------------------------------------------------------------
Key: AMQNET-337
URL: https://issues.apache.org/jira/browse/AMQNET-337
Project: ActiveMQ .Net
Issue Type: Bug
Affects Versions: 1.5.1
Reporter: Simon Jackson
Assignee: Jim Gomes
If the path of the directory containing Apache.NMS.DLL is long then creating the NMSConnectionFactory can fail with
PathTooLongException.
ProviderUri:
"tcp://activemq.hq.opengamma.com:61616"
Path to the NMS dll was:
C:\Users\simon.HQ\AppData\Local\Temp\4e913663-806b-4885-a6a0-14568b865815\4e913663-806b-4885-a6a0-14568b865815\assembly\dl3\8719cfea\776f9635_4f3dcc01\Apache.NMS.DLL
Looks like the config document is being looked for when it would be too long.
Path was generated by Resharper's xunit test runner.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (AMQNET-337) Creating ConnectionFactory fails if
ActiveMQ assembly has long path
Posted by "Jim Gomes (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQNET-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Gomes resolved AMQNET-337.
------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.5.1)
1.5.2
> Creating ConnectionFactory fails if ActiveMQ assembly has long path
> -------------------------------------------------------------------
>
> Key: AMQNET-337
> URL: https://issues.apache.org/jira/browse/AMQNET-337
> Project: ActiveMQ .Net
> Issue Type: Bug
> Affects Versions: 1.5.0
> Reporter: Simon Jackson
> Assignee: Jim Gomes
> Priority: Trivial
> Fix For: 1.5.2
>
>
> If the path of the directory containing Apache.NMS.DLL is long then creating the NMSConnectionFactory can fail with
> PathTooLongException.
> ProviderUri:
> "tcp://activemq.hq.opengamma.com:61616"
> Path to the NMS dll was:
> C:\Users\simon.HQ\AppData\Local\Temp\4e913663-806b-4885-a6a0-14568b865815\4e913663-806b-4885-a6a0-14568b865815\assembly\dl3\8719cfea\776f9635_4f3dcc01\Apache.NMS.DLL
> Looks like the config document is being looked for when it would be too long.
> Path was generated by Resharper's xunit test runner.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQNET-337) Creating ConnectionFactory fails if
ActiveMQ assembly has long path
Posted by "Simon Jackson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQNET-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068239#comment-13068239 ]
Simon Jackson commented on AMQNET-337:
--------------------------------------
The path which is being tested is generated by the library, and it uses a config file if it exists in that place. If not then other places are tried.
So any path which is too long can just be ignored when searching for config.
Config can still be applied, and it will stop crashing.
> Creating ConnectionFactory fails if ActiveMQ assembly has long path
> -------------------------------------------------------------------
>
> Key: AMQNET-337
> URL: https://issues.apache.org/jira/browse/AMQNET-337
> Project: ActiveMQ .Net
> Issue Type: Bug
> Affects Versions: 1.5.1
> Reporter: Simon Jackson
> Assignee: Jim Gomes
> Priority: Trivial
>
> If the path of the directory containing Apache.NMS.DLL is long then creating the NMSConnectionFactory can fail with
> PathTooLongException.
> ProviderUri:
> "tcp://activemq.hq.opengamma.com:61616"
> Path to the NMS dll was:
> C:\Users\simon.HQ\AppData\Local\Temp\4e913663-806b-4885-a6a0-14568b865815\4e913663-806b-4885-a6a0-14568b865815\assembly\dl3\8719cfea\776f9635_4f3dcc01\Apache.NMS.DLL
> Looks like the config document is being looked for when it would be too long.
> Path was generated by Resharper's xunit test runner.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AMQNET-337) Creating ConnectionFactory fails if
ActiveMQ assembly has long path
Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQNET-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Gomes updated AMQNET-337:
-----------------------------
Affects Version/s: (was: 1.5.1)
1.5.0
Fix Version/s: 1.5.1
Yeah, that sounds like a simple enough fix.
> Creating ConnectionFactory fails if ActiveMQ assembly has long path
> -------------------------------------------------------------------
>
> Key: AMQNET-337
> URL: https://issues.apache.org/jira/browse/AMQNET-337
> Project: ActiveMQ .Net
> Issue Type: Bug
> Affects Versions: 1.5.0
> Reporter: Simon Jackson
> Assignee: Jim Gomes
> Priority: Trivial
> Fix For: 1.5.1
>
>
> If the path of the directory containing Apache.NMS.DLL is long then creating the NMSConnectionFactory can fail with
> PathTooLongException.
> ProviderUri:
> "tcp://activemq.hq.opengamma.com:61616"
> Path to the NMS dll was:
> C:\Users\simon.HQ\AppData\Local\Temp\4e913663-806b-4885-a6a0-14568b865815\4e913663-806b-4885-a6a0-14568b865815\assembly\dl3\8719cfea\776f9635_4f3dcc01\Apache.NMS.DLL
> Looks like the config document is being looked for when it would be too long.
> Path was generated by Resharper's xunit test runner.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQNET-337) Creating ConnectionFactory fails if
ActiveMQ assembly has long path
Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQNET-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068082#comment-13068082 ]
Jim Gomes commented on AMQNET-337:
----------------------------------
This looks like a potential limitation of the Windows platform maximum path length. If so, the only resolution to the problem is to load from a shorter path.
> Creating ConnectionFactory fails if ActiveMQ assembly has long path
> -------------------------------------------------------------------
>
> Key: AMQNET-337
> URL: https://issues.apache.org/jira/browse/AMQNET-337
> Project: ActiveMQ .Net
> Issue Type: Bug
> Affects Versions: 1.5.1
> Reporter: Simon Jackson
> Assignee: Jim Gomes
>
> If the path of the directory containing Apache.NMS.DLL is long then creating the NMSConnectionFactory can fail with
> PathTooLongException.
> ProviderUri:
> "tcp://activemq.hq.opengamma.com:61616"
> Path to the NMS dll was:
> C:\Users\simon.HQ\AppData\Local\Temp\4e913663-806b-4885-a6a0-14568b865815\4e913663-806b-4885-a6a0-14568b865815\assembly\dl3\8719cfea\776f9635_4f3dcc01\Apache.NMS.DLL
> Looks like the config document is being looked for when it would be too long.
> Path was generated by Resharper's xunit test runner.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AMQNET-337) Creating ConnectionFactory fails if
ActiveMQ assembly has long path
Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQNET-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Gomes updated AMQNET-337:
-----------------------------
Priority: Trivial (was: Major)
> Creating ConnectionFactory fails if ActiveMQ assembly has long path
> -------------------------------------------------------------------
>
> Key: AMQNET-337
> URL: https://issues.apache.org/jira/browse/AMQNET-337
> Project: ActiveMQ .Net
> Issue Type: Bug
> Affects Versions: 1.5.1
> Reporter: Simon Jackson
> Assignee: Jim Gomes
> Priority: Trivial
>
> If the path of the directory containing Apache.NMS.DLL is long then creating the NMSConnectionFactory can fail with
> PathTooLongException.
> ProviderUri:
> "tcp://activemq.hq.opengamma.com:61616"
> Path to the NMS dll was:
> C:\Users\simon.HQ\AppData\Local\Temp\4e913663-806b-4885-a6a0-14568b865815\4e913663-806b-4885-a6a0-14568b865815\assembly\dl3\8719cfea\776f9635_4f3dcc01\Apache.NMS.DLL
> Looks like the config document is being looked for when it would be too long.
> Path was generated by Resharper's xunit test runner.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira