Hi

By default, the authentication (user) is disabled in Karaf standard
distribution. Did you uncommment the karaf user in
etc/users.properties ?

Regards
JB

On Sat, Jan 13, 2024 at 1:17 AM jose.garn...@toshibagcs.com
<jose.garn...@toshibagcs.com> wrote:
>
> I am trying to deploy a bundle using the Karaf maven plugin to my local karaf 
> instance,
>
>
>
> <plugin>
>     <groupId>org.apache.karaf.tooling</groupId>
>     <artifactId>karaf-maven-plugin</artifactId>
>     <executions>
>         <execution>
>             <goals>
>                 <goal>features-generate-descriptor</goal>
>             </goals>
>             <configuration>
>                 <includeProjectArtifact>true</includeProjectArtifact>
>             </configuration>
>         </execution>
>
>         <execution>
>             <id>deploy</id>
>             <phase>install</phase>
>             <goals>
>                 <goal>deploy</goal>
>             </goals>
>             <configuration>
>                 <port>8101</port>
>                 <host>localhost</host>
>                 <instance>karaf-root</instance>
>             </configuration>
>         </execution>
>     </executions>
> </plugin>
>
>
>
>
>
> But I am getting this error message
>
>
>
> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:4.4.5:deploy (deploy) on project 
> admin-portal: No more authentication methods available: 
> org.apache.sshd.common.SshException: No more authentication methods available 
> -> [Help 1]
>
>
>
>
>
> Any idea about how to resolve it?  I am using a custom distribution of Karaf 
> 4.4.5
>
> Just FYI I have attached the karaf/maven logs
>
>
>
>

Reply via email to