[jira] [Created] (KARAF-2621) PropertiesLoginModuleTest.testNonExistantPropertiesFile fails on windows

2013-12-09 Thread Kevin Earls (JIRA)
Kevin Earls created KARAF-2621:
--

 Summary: PropertiesLoginModuleTest.testNonExistantPropertiesFile 
fails on windows
 Key: KARAF-2621
 URL: https://issues.apache.org/jira/browse/KARAF-2621
 Project: Karaf
  Issue Type: Bug
Reporter: Kevin Earls
Priority: Minor


This test fails on windows with the following error:

junit.framework.ComparisonFailure: expected:...s file not found at 
[/test/]users.properties but was:...s file not found at 
[\test]users.properties
at junit.framework.Assert.assertEquals(Assert.java:85)
at junit.framework.Assert.assertEquals(Assert.java:91)
at 
org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest.testNonExistantPropertiesFile(PropertiesLoginModuleTest.java:49)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
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.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Updated] (KARAF-2621) PropertiesLoginModuleTest.testNonExistantPropertiesFile fails on windows

2013-12-09 Thread Kevin Earls (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Earls updated KARAF-2621:
---

Attachment: KARAF-2621.patch

 PropertiesLoginModuleTest.testNonExistantPropertiesFile fails on windows
 

 Key: KARAF-2621
 URL: https://issues.apache.org/jira/browse/KARAF-2621
 Project: Karaf
  Issue Type: Bug
Reporter: Kevin Earls
Priority: Minor
 Attachments: KARAF-2621.patch


 This test fails on windows with the following error:
 junit.framework.ComparisonFailure: expected:...s file not found at 
 [/test/]users.properties but was:...s file not found at 
 [\test]users.properties
 at junit.framework.Assert.assertEquals(Assert.java:85)
 at junit.framework.Assert.assertEquals(Assert.java:91)
 at 
 org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest.testNonExistantPropertiesFile(PropertiesLoginModuleTest.java:49)
 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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
 at 
 org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
 at 
 org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
 at 
 org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
 at 
 org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
 at 
 org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
 at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
 at 
 org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
 at 
 org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
 at 
 org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
 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.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
 at 
 org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
 at 
 org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
 at 
 org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Assigned] (KARAF-2621) PropertiesLoginModuleTest.testNonExistantPropertiesFile fails on windows

2013-12-09 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré reassigned KARAF-2621:
---

Assignee: Jean-Baptiste Onofré

 PropertiesLoginModuleTest.testNonExistantPropertiesFile fails on windows
 

 Key: KARAF-2621
 URL: https://issues.apache.org/jira/browse/KARAF-2621
 Project: Karaf
  Issue Type: Bug
Reporter: Kevin Earls
Assignee: Jean-Baptiste Onofré
Priority: Minor
 Attachments: KARAF-2621.patch


 This test fails on windows with the following error:
 junit.framework.ComparisonFailure: expected:...s file not found at 
 [/test/]users.properties but was:...s file not found at 
 [\test]users.properties
 at junit.framework.Assert.assertEquals(Assert.java:85)
 at junit.framework.Assert.assertEquals(Assert.java:91)
 at 
 org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest.testNonExistantPropertiesFile(PropertiesLoginModuleTest.java:49)
 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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
 at 
 org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
 at 
 org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
 at 
 org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
 at 
 org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
 at 
 org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
 at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
 at 
 org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
 at 
 org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
 at 
 org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
 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.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
 at 
 org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
 at 
 org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
 at 
 org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Updated] (KARAF-2606) Add compatibility bundles for console/commands

2013-12-09 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-2606:


Summary: Add compatibility bundles for console/commands  (was: Add 
compatibility packages for commands)

 Add compatibility bundles for console/commands
 --

 Key: KARAF-2606
 URL: https://issues.apache.org/jira/browse/KARAF-2606
 Project: Karaf
  Issue Type: Bug
  Components: karaf-shell
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
Priority: Blocker
 Fix For: 3.0.0


 In order to provide a smooth transition for legacy projects that provide 
 Karaf commands (like Camel, ActiveMQ, etc), we have to provide and support 
 shell packages from Karaf 2.x.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Work started] (KARAF-2606) Add compatibility bundles for console/commands

2013-12-09 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on KARAF-2606 started by Jean-Baptiste Onofré.

 Add compatibility bundles for console/commands
 --

 Key: KARAF-2606
 URL: https://issues.apache.org/jira/browse/KARAF-2606
 Project: Karaf
  Issue Type: Bug
  Components: karaf-shell
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
Priority: Blocker
 Fix For: 3.0.0


 In order to provide a smooth transition for legacy projects that provide 
 Karaf commands (like Camel, ActiveMQ, etc), we have to provide and support 
 shell packages from Karaf 2.x.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (KARAF-2307) ActiveMQ Karaf commands do not work with Karaf 3

2013-12-09 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-2307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13843119#comment-13843119
 ] 

Jean-Baptiste Onofré commented on KARAF-2307:
-

I fixed the issues in ActiveMQ (I gonna submit a new patch very soon). The 
other part is in the addition of the compatibility bundle in Karaf (KARAF-2606).

 ActiveMQ Karaf commands do not work with Karaf 3
 

 Key: KARAF-2307
 URL: https://issues.apache.org/jira/browse/KARAF-2307
 Project: Karaf
  Issue Type: Bug
  Components: karaf-shell
Affects Versions: 3.0.0.RC1
Reporter: Christian Schneider
Assignee: Jean-Baptiste Onofré
 Fix For: 3.0.0

 Attachments: amq-4492.patch


 The ActiveMQ Karaf commands import the package 
 org.apache.felix.gogo.commands.basic which was exported by karaf shell before 
 version 3.
 I first tried to change the activemq commands like we did for cxf and camel. 
 The problem is that the activemq commands are quite generic as they simply 
 map the activemq console commands. So they really need the package above.
 So my aproach is to create the package in karaf shell with deperecated 
 classes extending the new classes. So this should provide the necessary 
 compat layer. There classes can be removed once all commands are switched to 
 pure karaf 3.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Assigned] (KARAF-2307) ActiveMQ Karaf commands do not work with Karaf 3

2013-12-09 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré reassigned KARAF-2307:
---

Assignee: Jean-Baptiste Onofré  (was: Christian Schneider)

 ActiveMQ Karaf commands do not work with Karaf 3
 

 Key: KARAF-2307
 URL: https://issues.apache.org/jira/browse/KARAF-2307
 Project: Karaf
  Issue Type: Bug
  Components: karaf-shell
Affects Versions: 3.0.0.RC1
Reporter: Christian Schneider
Assignee: Jean-Baptiste Onofré
 Fix For: 3.0.0

 Attachments: amq-4492.patch


 The ActiveMQ Karaf commands import the package 
 org.apache.felix.gogo.commands.basic which was exported by karaf shell before 
 version 3.
 I first tried to change the activemq commands like we did for cxf and camel. 
 The problem is that the activemq commands are quite generic as they simply 
 map the activemq console commands. So they really need the package above.
 So my aproach is to create the package in karaf shell with deperecated 
 classes extending the new classes. So this should provide the necessary 
 compat layer. There classes can be removed once all commands are switched to 
 pure karaf 3.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Created] (KARAF-2622) shouldn't encrypt public key for PublickeyLoginModule

2013-12-09 Thread Freeman Fang (JIRA)
Freeman Fang created KARAF-2622:
---

 Summary: shouldn't encrypt public key for PublickeyLoginModule
 Key: KARAF-2622
 URL: https://issues.apache.org/jira/browse/KARAF-2622
 Project: Karaf
  Issue Type: Bug
Reporter: Freeman Fang






--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Assigned] (KARAF-2622) shouldn't encrypt public key for PublickeyLoginModule

2013-12-09 Thread Freeman Fang (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Freeman Fang reassigned KARAF-2622:
---

Assignee: Freeman Fang

 shouldn't encrypt public key for PublickeyLoginModule
 -

 Key: KARAF-2622
 URL: https://issues.apache.org/jira/browse/KARAF-2622
 Project: Karaf
  Issue Type: Bug
Reporter: Freeman Fang
Assignee: Freeman Fang





--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Work started] (KARAF-2622) shouldn't encrypt public key for PublickeyLoginModule

2013-12-09 Thread Freeman Fang (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on KARAF-2622 started by Freeman Fang.

 shouldn't encrypt public key for PublickeyLoginModule
 -

 Key: KARAF-2622
 URL: https://issues.apache.org/jira/browse/KARAF-2622
 Project: Karaf
  Issue Type: Bug
Reporter: Freeman Fang
Assignee: Freeman Fang





--
This message was sent by Atlassian JIRA
(v6.1.4#6159)