Bug 1095040 - Karaf cannot be started from JBDS for the first time
Summary: Karaf cannot be started from JBDS for the first time
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Tooling
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Paul Leacu
QA Contact: Len DiMaggio
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-07 03:38 UTC by Jiri Pechanec
Modified: 2015-07-21 12:06 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-07-21 12:06:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
JBDS 7.1.1.GA/ JBDSIS 7.0.1.GA - Karaf started from JBDS (129.94 KB, image/png)
2014-05-21 17:05 UTC, Paul Leacu
no flags Details

Description Jiri Pechanec 2014-05-07 03:38:47 UTC
It is not possible to start Karaf from JBDS unless it is first started from cmd line previously.

Might be related to authentication issues?

Comment 1 Paul Leacu 2014-05-08 12:29:27 UTC
Jira - please give more details on exactly what you tried.

Comment 2 Paul Leacu 2014-05-21 17:05:10 UTC
Created attachment 898077 [details]
JBDS 7.1.1.GA/ JBDSIS 7.0.1.GA - Karaf started from JBDS

JBDS having started karaf 2.3.2

Comment 3 Paul Leacu 2014-05-21 17:08:07 UTC
Could not verify with JBDS 7.1.1.GA/ JBDSIS 7.0.1.GA.  See attachment.  Please use https://issues.jboss.org/browse/FUSETOOLS for FuseIDE issues.
Thanks

Comment 4 Jiri Pechanec 2014-06-03 10:48:21 UTC
Hi,

I just tried to reproduce the issue.

Steps
1) Install JBDS 7.1.1.GA
2) Install JBDS-IS from https://devstudio.jboss.com/updates/7.0/integration-stack/ 
3) Install jboss-fuse-full-6.1.0.redhat-379.zip
4) Add a JBoss Fuse 6.1 runtime and server into JBDS
5) Start the server
Shell Window contains

Error connecting 0.0.0.0:8101 : SSH client error: java.net.ConnectException: Connection refused

Error connecting 0.0.0.0:8101 : SSH client error: java.net.ConnectException: Connection refused

Error connecting 0.0.0.0:8101 : SSH Authentication failed.

and the server STARTS but the Shell window is not connected - sorry for inaccurate description

It seems that the problem is a missing admin user.

If I start Fuse from CMD line, execute esb:create-admin-user then I can connect from JBDS.

So the JBDS should either configure the admin user when not preset or infor developer what is necessary to be done.

Comment 5 Paul Leacu 2014-06-11 19:59:53 UTC
Sorry for bouncing this one around.

   - I was able to verify your issue.  It's the user's responsibility to edit the etc/users.properties to uncomment out the "admin" user, issue the create-admin-user command in a shell instance of the server or provide their own credentials.  We talked about extending the error diagnostic but the issue will be moot with the new server adapters.  Ultimately the user's responsible for setting up the fabric before starting the fuse tooling.

Comment 6 Jiri Pechanec 2014-06-12 03:22:06 UTC
Sorry for re-opening - a last question, as I mentioned in the comment above. Maybe you could add a hint into error message - like 'Are security credentials configured in JBoss Fuse runtime?' as a paert of error message

Comment 7 Aileen 2015-07-20 15:45:45 UTC
Is this is still an issue then need to raise a jira in FUSETOOLS.

Comment 8 Tomáš Sedmík 2015-07-21 11:41:09 UTC
Jira issue was raised. See https://issues.jboss.org/browse/FUSETOOLS-1397


Note You need to log in before you can comment on or make changes to this bug.