이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 19. Managing servers


Important
The functionality described in this chapter requires installation of the JBoss Fuse Server Extensions feature.
The Servers panel enables you to run and manage servers in your Eclipse environment. The supported servers are:
  • Red Hat JBoss Fuse 6.x Server
  • Apache Karaf 2.x Server
  • Apache ServiceMix 4.x Server
Note
For instructions on how to deploy a camel project to Red Hat JBoss Fuse, see Red Hat JBoss Fuse Tooling for Eclipse Tutorials on the Red Hat Customer Portal.

19.1. Adding a Server

Overview

To make it possible for the tooling to manage a server, it needs to be added to the Servers list. Once added, the server will appear in the Servers view and in the Servers tree in both Project Explorer and Package Explorer.
Selecting a server in either Project Explorer or Package Explorer displays its details in Properties view. Selecting a server in Servers view, enables you to start it, to stop it, or to delete its configuration.
You can add multiple servers of the same type, as long as each uses a separate installation directory.
Note
If adding a Red Hat JBoss Fuse server, it's recommended that you edit its installDir/etc/users.properties file and add user information, in the form of user=password,role, to enable the tooling to establish an ssh connection to the server.

Procedure

To add a new server to the Servers list:
  1. From the main menu, select File New Other to open the New wizard.
  2. Select Server Server from the list.
  3. Click Next>.
  4. In the Define a New Server dialog, select the type of server you want to create from the list.
  5. In Server's host name, accept the default (localhost) or enter the name of the host on which the server runs.
    Note
    Currently the debugger does not support servers running on remote machines.
  6. In Server name, accept the default, or enter a different name for the server.
  7. If the Server runtime environment drop-down list is present (when Red Hat JBoss Fuse 6.x is selected), accept the default or select another runtime environment from the list.
  8. Click Next>.
  9. If you have not defined a server of this type before, you must do so now in the New ServerType Runtime dialog.
    1. In Installation directory, enter the full path to the server's installation folder.
      The browse button button opens a file browser.
    2. Click Next>.
    Host Name defaults to the address of the machine running the server. For localhost, the address is 0.0.0.0.
  10. In Port Name, accept the default (8101), or enter the port number that the debugger will use to connect to the server.
  11. In User Name, enter the user name that the debugger will use to connect to the server.
    For a Red Hat JBoss Fuse server, this is a user name that is stored in the installDir/jboss-fuse-6.0.0.redhat-xxx/etc/users.properties file.
    If one has not been set, you can either add one to that file using the format user=password,role (for example, admin=admin,admin), or you can set one using the karaf jaas command set:
    • jaas:realms—to list the realms
    • jaas:manage --index 1—to edit the first (server) realm
    • jaas:useradd <username> <password>—to add a user and associated password
    • jaas:roleadd <username> admin—to specify the new user's role
    • jaas:update—to update the realm with the new user information
    If a jaas realm has already been selected for the server, you can discover the user name by issuing the command JBossFuse:karaf@root>jaas:users.
  12. In Password, enter the password associated with the user name that the debugger will use to connect to the server.
    For a Red Hat JBoss Fuse server, this is the password set either in the installDir/jboss-fuse-6.0.0.redhat-xxx/etc/users.properties file or by the karaf jaas comands.
  13. Click Next>.
    The New ServerType Add and Remove page opens.
  14. Move the resources you want the server to use from the Available column to the Configured column.
  15. Click Finish.
The new server appears in the list of servers in the Servers panel.

Related topics

Define a New Server
New Server Configuration
Add and Remove
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat