[
https://issues.apache.org/jira/browse/JCLOUDS-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Phillips closed JCLOUDS-69.
----------------------------------
Resolution: Won't Fix
Fix Version/s: (was: 1.7.0)
Closing as per requester's comment. Changes will be included in JCLOUDS-71
> after executing jclouds:compute-service-create , FileNotFoundException
> happened in karaf's log file
> ---------------------------------------------------------------------------------------------------
>
> Key: JCLOUDS-69
> URL: https://issues.apache.org/jira/browse/JCLOUDS-69
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-karaf
> Affects Versions: 1.7.0
> Environment: windows xp
> karaf 2.3.1
> Reporter: TangYong
> Priority: Critical
> Attachments: JCLOUDS-69.patch, PropertyShellTableFactory.patch
>
>
> after executing jclouds:compute-service-create , FileNotFoundException
> happened in karaf's log file.
> Although the following executed well,
> karaf@root> jclouds:compute-service-create --api openstack-nova --endpoint
> http://10.167.157.86:5000/v2.0 --identity admin:admin --credential hastexo
> Waiting for compute service with name: openstack-nova.
> however, in karaf's log file, the following FileNotFoundException happened,
> 2013-05-20 14:54:02,127 | WARN | l Console Thread |
> PropertyShellTableFactory | ternal.PropertyShellTableFactory 57 |
> 108 - org.apache.jclouds.karaf.commands - 1.7.0.SNAPSHOT | Failed to load
> jclouds shell configuration from file.
> java.io.FileNotFoundException:
> D:\20130125\apache-karaf-2.3.1\etc\org.jclouds.shell.cfg (指定されたファイルが見つかりません。)
> at java.io.FileInputStream.open(Native Method)[:1.7.0_09]
> at java.io.FileInputStream.<init>(FileInputStream.java:138)[:1.7.0_09]
> at
> org.jclouds.karaf.commands.table.internal.PropertyShellTableFactory.load(PropertyShellTableFactory.java:48)
> at
> org.jclouds.karaf.commands.table.internal.PropertyShellTableFactory.<init>(PropertyShellTableFactory.java:40)
> at
> org.jclouds.karaf.commands.compute.ComputeCommandBase.<init>(ComputeCommandBase.java:68)
> at
> org.jclouds.karaf.commands.compute.ComputeCommandWithOptions.<init>(ComputeCommandWithOptions.java:44)
> at
> org.jclouds.karaf.commands.compute.ComputeServiceCreateCommand.<init>(ComputeServiceCreateCommand.java:40)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)[:1.7.0_09]
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[:1.7.0_09]
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.7.0_09]
> at
> java.lang.reflect.Constructor.newInstance(Constructor.java:525)[:1.7.0_09]
> at
> org.apache.aries.blueprint.utils.ReflectionUtils.newInstance(ReflectionUtils.java:329)[7:org.apache.aries.blueprint.core:1.1.0]
> at
> org.apache.aries.blueprint.container.BeanRecipe.newInstance(BeanRecipe.java:962)[7:org.apache.aries.blueprint.core:1.1.0]
> at
> org.apache.aries.blueprint.container.BeanRecipe.getInstance(BeanRecipe.java:331)[7:org.apache.aries.blueprint.core:1.1.0]
> at
> org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:806)[7:org.apache.aries.blueprint.core:1.1.0]
> at
> org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[7:org.apache.aries.blueprint.core:1.1.0]
> at
> org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[7:org.apache.aries.blueprint.core:1.1.0]
> at
> org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[7:org.apache.aries.blueprint.core:1.1.0]
> at
> org.apache.aries.blueprint.container.BlueprintRepository.createInstance(BlueprintRepository.java:230)[7:org.apache.aries.blueprint.core:1.1.0]
> at
> org.apache.aries.blueprint.container.BlueprintRepository.create(BlueprintRepository.java:145)[7:org.apache.aries.blueprint.core:1.1.0]
> at
> org.apache.aries.blueprint.container.BlueprintContainerImpl.getComponentInstance(BlueprintContainerImpl.java:746)[7:org.apache.aries.blueprint.core:1.1.0]
> at
> org.apache.karaf.shell.console.commands.BlueprintCommand.createNewAction(BlueprintCommand.java:94)[14:org.apache.karaf.shell.console:2.3.1]
> at
> org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:32)[14:org.apache.karaf.shell.console:2.3.1]
> at
> org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[14:org.apache.karaf.shell.console:2.3.1]
> at
> org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[14:org.apache.karaf.shell.console:2.3.1]
> at
> org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[14:org.apache.karaf.shell.console:2.3.1]
> at
> org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[14:org.apache.karaf.shell.console:2.3.1]
> at
> org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[14:org.apache.karaf.shell.console:2.3.1]
> at
> org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[14:org.apache.karaf.shell.console:2.3.1]
> at
> org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[14:org.apache.karaf.shell.console:2.3.1]
> at
> org.apache.karaf.shell.console.jline.Console.run(Console.java:174)[14:org.apache.karaf.shell.console:2.3.1]
> at java.lang.Thread.run(Thread.java:722)[:1.7.0_09]
> I want to know whether needing to add any file into karaf etc/ before
> executing jclouds:compute-service-create? Or itself is a bug.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira