You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Charles Moulliard (JIRA)" <ji...@apache.org> on 2010/02/03 11:49:28 UTC
[jira] Created: (FELIX-2032) file host.key is not created or copied
in the folder etc of the new instance(s)
file host.key is not created or copied in the folder etc of the new instance(s)
-------------------------------------------------------------------------------
Key: FELIX-2032
URL: https://issues.apache.org/jira/browse/FELIX-2032
Project: Felix
Issue Type: Bug
Components: Karaf
Reporter: Charles Moulliard
Fix For: karaf-1.4.0
When a second instance of Karaf is created, then the file host.key is not created or copied in the folder etc of this instance.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-2032) file host.key is not correctly
written for a new instance(s)
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved FELIX-2032.
------------------------------------
Resolution: Fixed
Assignee: Guillaume Nodet
> file host.key is not correctly written for a new instance(s)
> ------------------------------------------------------------
>
> Key: FELIX-2032
> URL: https://issues.apache.org/jira/browse/FELIX-2032
> Project: Felix
> Issue Type: Bug
> Components: Karaf
> Reporter: Charles Moulliard
> Assignee: Guillaume Nodet
> Fix For: karaf-1.4.0
>
>
> When a second instance of Karaf is created, then the file host.key is not created or copied in the folder etc of this instance.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-2032) file host.key is not created or
copied in the folder etc of the new instance(s)
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829527#action_12829527 ]
Charles Moulliard commented on FELIX-2032:
------------------------------------------
@Hi Guillaume,
I confirm that what I copy/paste in the comment is what I retrieve from the log file of my Win XP machine.
Regards,
Charles
> file host.key is not created or copied in the folder etc of the new instance(s)
> -------------------------------------------------------------------------------
>
> Key: FELIX-2032
> URL: https://issues.apache.org/jira/browse/FELIX-2032
> Project: Felix
> Issue Type: Bug
> Components: Karaf
> Reporter: Charles Moulliard
> Fix For: karaf-1.4.0
>
>
> When a second instance of Karaf is created, then the file host.key is not created or copied in the folder etc of this instance.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-2032) file host.key is not created or
copied in the folder etc of the new instance(s)
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12830100#action_12830100 ]
Guillaume Nodet commented on FELIX-2032:
----------------------------------------
Committing to https://svn.apache.org/repos/asf/felix/trunk ...
D karaf/admin/core/src/test/resources/etc/org.ops4j.pax.url.mvn.cfg
D karaf/admin/core/src/test/resources/etc/system.properties
M karaf/admin/core/src/main/java/org/apache/felix/karaf/admin/internal/AdminServiceImpl.java
M karaf/admin/core/src/main/resources/org/apache/felix/karaf/admin/bin/karaf
M karaf/admin/core/src/main/resources/org/apache/felix/karaf/admin/bin/karaf.bat
M karaf/admin/core/src/main/resources/org/apache/felix/karaf/admin/bin/start
M karaf/admin/core/src/main/resources/org/apache/felix/karaf/admin/bin/start.bat
M karaf/admin/core/src/main/resources/org/apache/felix/karaf/admin/bin/stop
M karaf/admin/core/src/main/resources/org/apache/felix/karaf/admin/bin/stop.bat
M karaf/admin/core/src/main/resources/org/apache/felix/karaf/admin/etc/org.apache.felix.karaf.shell.cfg
M karaf/admin/core/src/main/resources/org/apache/felix/karaf/admin/etc/org.ops4j.pax.url.mvn.cfg
M karaf/admin/core/src/main/resources/org/apache/felix/karaf/admin/etc/system.properties
M karaf/admin/core/src/test/java/org/apache/felix/karaf/admin/internal/AdminServiceImplTest.java
Committed r906932
> file host.key is not created or copied in the folder etc of the new instance(s)
> -------------------------------------------------------------------------------
>
> Key: FELIX-2032
> URL: https://issues.apache.org/jira/browse/FELIX-2032
> Project: Felix
> Issue Type: Bug
> Components: Karaf
> Reporter: Charles Moulliard
> Fix For: karaf-1.4.0
>
>
> When a second instance of Karaf is created, then the file host.key is not created or copied in the folder etc of this instance.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-2032) file host.key is not created or
copied in the folder etc of the new instance(s)
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829548#action_12829548 ]
Charles Moulliard commented on FELIX-2032:
------------------------------------------
If I create a second instance on SMX4, the message is quite similar but different :
10:17:49,540 | INFO | pool-2-thread-1 | SecurityUtils | e.sshd.common.util.SecurityUtils 80 | BouncyCastle not registered, using the default JCE provider
10:18:17,274 | INFO | NioProcessor-1 | ServerSession | shd.server.session.ServerSession 83 | Session created...
10:18:17,321 | INFO | NioProcessor-1 | FileKeyPairProvider | AbstractGeneratorHostKeyProvider 149 | Generating host key...
10:18:17,352 | INFO | NioProcessor-1 | FileKeyPairProvider | AbstractGeneratorHostKeyProvider 137 | Unable to write key ${karaf.base}/etc/host.key: java.io.FileNotFoundException: ${karaf.base}\etc\host.key (The system cannot find the path specified)
10:18:17,430 | INFO | NioProcessor-1 | ServerSession | shd.server.session.ServerSession 281 | Client version string: SSH-2.0-PuTTY_Release_0.60
> file host.key is not created or copied in the folder etc of the new instance(s)
> -------------------------------------------------------------------------------
>
> Key: FELIX-2032
> URL: https://issues.apache.org/jira/browse/FELIX-2032
> Project: Felix
> Issue Type: Bug
> Components: Karaf
> Reporter: Charles Moulliard
> Fix For: karaf-1.4.0
>
>
> When a second instance of Karaf is created, then the file host.key is not created or copied in the folder etc of this instance.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-2032) file host.key is not correctly written
for a new instance(s)
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated FELIX-2032:
-----------------------------------
Summary: file host.key is not correctly written for a new instance(s) (was: file host.key is not created or copied in the folder etc of the new instance(s))
> file host.key is not correctly written for a new instance(s)
> ------------------------------------------------------------
>
> Key: FELIX-2032
> URL: https://issues.apache.org/jira/browse/FELIX-2032
> Project: Felix
> Issue Type: Bug
> Components: Karaf
> Reporter: Charles Moulliard
> Fix For: karaf-1.4.0
>
>
> When a second instance of Karaf is created, then the file host.key is not created or copied in the folder etc of this instance.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-2032) file host.key is not created or
copied in the folder etc of the new instance(s)
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829521#action_12829521 ]
Guillaume Nodet commented on FELIX-2032:
----------------------------------------
I don't think the host key shoud be the same as its really a different ssh server.
However, does the log message actually appear the same way than in jira, i.e. where all backslash have been removed ? That would surely be a problem in that case.
> file host.key is not created or copied in the folder etc of the new instance(s)
> -------------------------------------------------------------------------------
>
> Key: FELIX-2032
> URL: https://issues.apache.org/jira/browse/FELIX-2032
> Project: Felix
> Issue Type: Bug
> Components: Karaf
> Reporter: Charles Moulliard
> Fix For: karaf-1.4.0
>
>
> When a second instance of Karaf is created, then the file host.key is not created or copied in the folder etc of this instance.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-2032) file host.key is not created or
copied in the folder etc of the new instance(s)
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829054#action_12829054 ]
Charles Moulliard commented on FELIX-2032:
------------------------------------------
Here is the message that we see in the log :
13:30:41,109 | INFO | NioProcessor-1 | FileKeyPairProvider | AbstractGeneratorHostKeyProvider 149 | Generating host key...
13:30:41,125 | INFO | NioProcessor-1 | FileKeyPairProvider | AbstractGeneratorHostKeyProvider 137 | Unable to write key I:Dvlptapache-sourceapache-felix-karaf-1.3.0-SNAPSHOTinstanceskaraf1/etc/host.key: java.io.FileNotFoundException: I:Dvlptapache-sourceapache-felix-karaf-1.3.0-SNAPSHOTinstanceskaraf1\etc\host.key (The system cannot find the path specified)
> file host.key is not created or copied in the folder etc of the new instance(s)
> -------------------------------------------------------------------------------
>
> Key: FELIX-2032
> URL: https://issues.apache.org/jira/browse/FELIX-2032
> Project: Felix
> Issue Type: Bug
> Components: Karaf
> Reporter: Charles Moulliard
> Fix For: karaf-1.4.0
>
>
> When a second instance of Karaf is created, then the file host.key is not created or copied in the folder etc of this instance.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.