답변
이 콘텐츠와 /설정/local.properties 파일을 만듭니다
tomcat.http.port=9101
tomcat.ssl.port=9102
tomcat.ajp.port=8109
tomcat.jmx.port=9103
tomcat.jmx.server.port=9104
그런 다음 당신은 Hybris 서버가 http://localhost:9101
에서 실행할 수 있습니다.
포트를 변경하는 경우 최신 버전의 hybris를 사용하는 경우 스프링 보안을 통해 구성 서비스와 속성을 사용하여 스프링 보안 port-mapping
을 업데이트해야하며, 로컬 개발의 경우 사이트 URL 확인 (website.<x>.http(s)
, media.<x>.http(s)
) 속성과 CMS 사이트 URL 정규식 (ImpEx 또는 hMC)을 매핑합니다. 내 생각에는 jvdbc를위한 속성도있다.
config/local.properties
, platform/project.properties
또는 맞춤 확장 프로그램 project.properties
에서 변경할 수 있습니다. local.properties
파일은 우선 순위가 가장 높습니다 (속성이 여러 곳에서 정의 된 경우). 사용자 정의 확장자는 project.properties
이고 마지막으로 플랫폼의 project.properties
입니다.
을 편집 {HYBRIS_ROOT_DIR은} 파일을 /config/local.properties 및 다양한 포트를 구성하려면 다음 속성을 사용 :
tomcat.http.port=9001
tomcat.ssl.port=9002
tomcat.ajp.port=8009
tomcat.jmx.port=9003
tomcat.jmx.server.port=9004
당신은 여기 Hybris 위키의 전체 구성 참조를 찾을 수 있습니다 https://wiki.hybris.com/display/release5/Configuration+Properties+Reference를
변경 사항을 적용하려면 ant를 실행하고 Hybris를 다시 시작해야합니다.
당신은 모든 개미 를 실행할 수 있지만 당신은 단지 구성을 변경 한 경우는 개미가 훨씬 빠릅니다하는를 배포 사용하여 다시 컴파일 할 필요없이 이러한 변경 사항을 배포 할 수 있습니다.
Zathrus Writer가 제공 한 위의 구성 외에. 동일한 서버에서 실행중인 hybris의 두 인스턴스를 말하려면 solr 포트 구성을 추가해야 할 수도 있습니다.
solrserver.instances.default.port=8986
전체 구성 : {HYBRIS_ROOT_DIR}에서
tomcat.http.port=9201
tomcat.ssl.port=9202
tomcat.ajp.port=8209
tomcat.jmx.port=9203
tomcat.jmx.server.port=9204
solrserver.instances.default.port=8986
재정의 포트 구성 파일을 /config/local.properties. 아래와 같은
tomcat.http.port=9011
tomcat.ssl.port=9012
tomcat.ajp.port=8019
tomcat.jmx.port=9013
tomcat.jmx.server.port=9014
포트 외에도 우리는 또한 설정/local.properties에서 tomcat.generaloptions 구성에서 JVM의의 -Xmx 값을 재정의 할 수 있습니다. 당신이 다른 포트에서 수신 대기 클러스터의 각 노드를 원하는 것이 왜
tomcat.generaloptions=-Xmx6G -XX:MaxPermSize=300M -ea -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dorg.tanukisoftware.wrapper.WrapperManager.mbean=true -Djava.endorsed.dirs="%CATALINA_HOME%/lib/endorsed" -Dcatalina.base=%CATALINA_BASE% -Dcatalina.home=%CATALINA_HOME% -Dfile.encoding=UTF-8 -Dlog4j.configuration=log4j_init_tomcat.properties -Djava.util.logging.config.file=jdk_logging.properties -Djava.io.tmpdir="${HYBRIS_TEMP_DIR}"
당신은뿐만 아니라
hybris.instance.id=60
tomcat.http.port=9${hybris.instance.id}1
tomcat.ssl.port=9${hybris.instance.id}2
tomcat.jmx.port=9${hybris.instance.id}3
tomcat.debug.port=9${hybris.instance.id}0
tomcat.jmx.server.port=9${hybris.instance.id}4
tomcat.ajp.port=9${hybris.instance.id}5
- 1. PaxExam 포트를 변경하는 방법
- 2. Genymotion 포트를 변경하는 방법
- 3. 아파치의 기본 tcp/ip 포트를 변경하는 방법
- 4. XAMPP에서 tomcat 포트를 변경하는 방법
- 5. mongodb 기본 포트를 변경하는 방법
- 6. linphone-iphone 서버 포트를 변경하는 방법 5060
- 7. SQL 서버 기본 포트를 변경하는 방법
- 8. Eclipse의 Tomcat 플러그인에서 Tomcat 포트를 변경하는 방법
- 9. COM 포트를 지정된 포트로 변경하는 방법
- 10. 응용 프로그램의 청취 포트를 변경하는 방법
- 11. SFTP 포트를 변경하는 C# SharpSSH.
- 12. jboss 4.2 서버의 포트 번호를 변경하는 방법
- 13. 이미 실행중인 서버의 소켓 포트를 변경하십시오 (파이썬)
- 14. 응용 프로그램 서버의 포트를 수신 대기
- 15. C가 원격 서버의 열린 포트를 검사합니다.
- 16. 재생 프레임 워크의 http 포트를 변경하는 방법 2.5.9
- 17. "수동 모드"를 사용하지 않고 ProFTPd 포트를 변경하는 방법
- 18. Openshift "청취 소켓을 사용할 수 없습니다", 바인딩 포트를 변경하는 방법?
- 19. 즉석에서 tcp-ibound-gateway가 사용하는 포트를 변경하는 방법
- 20. Azure 로컬 배포 포트를 변경하는 방법 - tcp를 http로 변경 하시겠습니까?
- 21. IBM Secure Gateway Client UI의 UI 포트를 변경하는 방법
- 22. Hybris - B2C ASM 모듈 시작 방법
- 23. websphere/glassfish의 포트를 변경하는 방법은 무엇입니까?
- 24. nameko에서 수신 대기 포트를 변경하는 방법은 무엇입니까?
- 25. JAX-RS 서비스의 포트를 변경하는 방법은 무엇입니까?
- 26. cPanel 기본 포트를 변경하는 방법은 무엇입니까?
- 27. Subclipse에서 svn 저장소의 포트를 변경하는 방법은 무엇입니까?
- 28. javafx에서 뷰 포트를 변경하는 방법은 무엇입니까?
- 29. Windows에서 odoo 기본 포트를 변경하는 방법은 무엇입니까?
- 30. 자동 추가 설치 (Hybris 5.1)
을 다소 이상한 접근법 그 ... 이것을 사용할 수 있습니다! – kabadisha