Jetty 서버의 포트(Equinox OSGi) (Port in Jetty server (Equinox OSGi ))


문제 설명

Jetty 서버의 포트(Equinox OSGi) (Port in Jetty server (Equinox OSGi ))

좋은 아침입니다. Equinox OSGi에 포함된 Jetty Server에 웹 애플리케이션을 배포하고 있습니다. 그래도 포트 8080에서 작동하지만 두 개의 다른 서버를 실행해야 합니다. 그런 다음 포트 간의 충돌이 시작됩니다. 서버 중 하나의 포트 번호를 변경하고 싶습니다. 누군가 저를 도와주시겠습니까?

미리 감사합니다!


참조 솔루션

방법 1:

try those system properties:

jetty.port=xxxx ‑ Jetty specific property

org.osgi.service.http.port=xxxx ‑ OSGi HTTP Service property

방법 2:

if you run in eclipse, you can try put this in your VM argument

‑Dorg.osgi.service.http.port=9090

(by Jose HdezDmytro Pishchukhin王子1986)

참조 문서

  1. Port in Jetty server (Equinox OSGi ) (CC BY‑SA 2.5/3.0/4.0)

#equinox #osgi #jetty






관련 질문

Eclipse에서 OSGi 래퍼 번들을 실행할 수 없습니다. .jar은 잘 빌드되고 있지만 파일을 대상/클래스에 복사하려면 어떻게 해야 합니까? (Can't run OSGi wrapper bundle in Eclipse; .jar is building okay, but how do I also copy files into target/classes?)

최대 절전 모드 5.0 + 춘분 4.5.0 및 사용자 정의 UserType (hibernate 5.0 + equinox 4.5.0 and custom UserType)

Domino에 OSGi 서블릿 배치(IBM 프리젠테이션) - 404 오류 (Deploying OSGi Servlet to Domino (IBM presentation) - 404 error)

Java 7을 사용하여 Equinox 3.8.2 프로젝트 컴파일 (Compile Equinox 3.8.2 Project with java 7)

OSGI 애플리케이션에서 EntityManager를 제공하는 모범 사례 (Best practice to provide EntityManager in OSGI applications)

Eclipse RCP 제품 파일 - 플랫폼별 종속성이 있는 여러 플랫폼을 처리하는 방법 (Eclipse RCP Product File - how to handle multiple platforms with platform specific dependencies)

OSGI 번들이 설치 및 시작되었지만 출력이 표시되지 않음 (OSGI Bundle Installed and Started but no visible output)

Jetty 서버의 포트(Equinox OSGi) (Port in Jetty server (Equinox OSGi ))

Equinox에서 Arquillian 실행 (Running Arquillian in Equinox)

OSGi 가져오기 버전 제한을 동적으로 설정하시겠습니까? (Setting OSGi import version restrictions dynamically?)

OSGI의 AspectJ LoadTimeWeaving (AspectJ LoadTimeWeaving on OSGI)

user.home 디렉토리에 쓰지 못하도록 Eclipse 위치를 어떻게 수정합니까? (How modify Eclipse locations to prevent write to user.home directory?)







코멘트