karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie goodyear (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (KARAF-123) File jre.properties is not copied and so it is not possible to start a second karaf instance
Date Thu, 07 Jul 2011 08:58:17 GMT

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

Jamie goodyear closed KARAF-123.
--------------------------------


Fixed in the 2.0.0 release.

> File jre.properties is not copied and so it is not possible to start a second karaf instance
> --------------------------------------------------------------------------------------------
>
>                 Key: KARAF-123
>                 URL: https://issues.apache.org/jira/browse/KARAF-123
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Charles Moulliard
>            Assignee: Guillaume Nodet
>            Priority: Critical
>             Fix For: 2.0.0
>
>
> During the process creating a second instance of Karaf, the file jre.properties is not
copied in the directory instances/test/etc/jre.properties.
> So it is not possible to start the new instance
> {code}
> C:\chm\download>C:\chm\soft\jdk1.6.0_20\jre\bin\java.exe -server -Xmx512M -Dcom.sun.management.jmxremote
-Djava.util.logging.config.file="C:\chm\projects\RATP\i2v\apache-
> karaf-i2v-1.99\instances\test\etc\java.util.logging.properties" -Djava.endorsed.dirs="C:\chm\soft\jdk1.6.0_20\jre\jre\lib\endorsed;C:\chm\soft\jdk1.6.0_20\jre\lib\endorse
> d;C:\chm\projects\RATP\i2v\apache-karaf-i2v-1.99\lib\endorsed" -Djava.ext.dirs="C:\chm\soft\jdk1.6.0_20\jre\jre\lib\ext;C:\chm\soft\jdk1.6.0_20\jre\lib\ext;C:\chm\project
> s\RATP\i2v\apache-karaf-i2v-1.99\lib\ext" -Dkaraf.home="C:\chm\projects\RATP\i2v\apache-karaf-i2v-1.99"
-Dkaraf.base="C:\chm\projects\RATP\i2v\apache-karaf-i2v-1.99\insta
> nces\test" -Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -classpath C:\chm\projects\RATP\i2v\apache-karaf-i2v-1.99\lib\karaf-client.jar;C:\chm\projects\RA
> TP\i2v\apache-karaf-i2v-1.99\lib\karaf-jaas-boot.jar;C:\chm\projects\RATP\i2v\apache-karaf-i2v-1.99\lib\karaf.jar
org.apache.karaf.main.Main
> Could not create framework: java.io.FileNotFoundException: C:\chm\projects\RATP\i2v\apache-karaf-i2v-1.99\instances\test\etc\jre.properties
(The system cannot find the fi
> le specified)
> java.io.FileNotFoundException: C:\chm\projects\RATP\i2v\apache-karaf-i2v-1.99\instances\test\etc\jre.properties
(The system cannot find the file specified)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(FileInputStream.java:106)
>         at java.io.FileInputStream.<init>(FileInputStream.java:66)
>         at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
>         at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
>         at org.apache.karaf.main.Main.loadPropertiesFile(Main.java:797)
>         at org.apache.karaf.main.Main.loadPropertiesFile(Main.java:829)
>         at org.apache.karaf.main.Main.loadConfigProperties(Main.java:738)
>         at org.apache.karaf.main.Main.launch(Main.java:208)
>         at org.apache.karaf.main.Main.main(Main.java:353)
> {code}
> REMARK : THIS ERROR IS NOT RETURNED IN THE LOG OF THE KARAF WHEN WE HAVE ISSUED THE COMMAND

> admin:start test

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message