WAS/JBOSS_WILDFLY

36. 디폴트 Datasource 제거

by coldplayer83 2026. 5. 19.
728x90
반응형

https://access.redhat.com/solutions/2360921

 

Why ERROR "DefaultDataSource is missing [jboss.naming.context.java.jboss.datasources.ExampleDS" happens after removing default E

If the default datasource ExampleDS is removed from JBoss EAP, applications are not getting deployed successfully, even though those applications do not need that ExampleDS datasource. Errors like the following will be logged. ERROR [org.jboss.as.controlle

access.redhat.com

 

JBoss EAP 7 은 ee 서브시스템의 기본 바인딩에 datasources 가 기본적으로 사용되므로 어플리케이션에서 Datasource  JNDI 의 어노테이션이 필요하지 않으면 default-binding 의 datasources 를 제거하는 것을 권고함

/subsystem=datasources/data-source=ExampleDS:remove
/subsystem=ee/service=default-bindings:undefine-attribute(name=datasource)

728x90
반응형

'WAS > JBOSS_WILDFLY' 카테고리의 다른 글

37. DataSource DB Password 암호화(JBoss 7)  (0) 2026.06.01
35. JBoss ERROR 코드  (0) 2026.04.01
34. JBoss 7.4 한글 깨짐 현상  (0) 2026.03.20
33. JBoss session timeout  (0) 2026.03.16
32. deployment-info  (0) 2026.01.23

TOP

Designed by 티스토리