๐Ÿ’ปCoding/๐Ÿ“• spring

[spring] spring jdbc ์‚ฌ์šฉ์‹œ FanManager Failed ์˜ค๋ฅ˜

์Œ์€์‘ 2022. 7. 4. 15:01
728x90
๋ฐ˜์‘ํ˜•
โœ…  FanManager Failed ์˜ค๋ฅ˜

โœ… ๋ฉ”์‹œ์ง€
SEVERE : attempt to configure ONS in FanManager failed with oracle.ons.NoServersAvailable : Subscription time out

โœ… ์„ค๋ช…
ใ„ด  jdbc์˜ ๋ฒ„์ „ com.oracle.ojdbc:ojdbc8:19.3.0.0 ์ด์ƒ์œผ๋กœ ์‹คํ–‰์‹œ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•  ๋•Œ๊ฐ€ ์žˆ์Œ 

โœ… ํ•ด๊ฒฐ๋ฐฉ๋ฒ•
→ fanmanger๋Š” pom.xml์—์„œ jdbc ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๋‹ค์šด๋ฐ›์„๋•Œ simplefan์ด๋ž‘ ons ์ œ์™ธ์„ค์ •ํ•ด์ฃผ๋ฉด ๋ฉ๋‹ˆ๋‹ค.
→ ์„ค์ • ์ฝ”๋“œ ์•„๋ž˜์—์„œ ํ™•์ธ!

 

[ simplefan์ด๋ž‘ ons ์ œ์™ธ์„ค์ • ์ฝ”๋“œ ]

<!-- fanmanger time out ํ•ด๊ฒฐ ์œ„ํ•ด simplefan์ด๋ž‘ ons ์ œ์™ธ ์ถ”๊ฐ€ ์„ค์ • -->
		<!-- Oracle Jdbc : mac -->
		<dependency>
			<groupId>com.oracle.database.jdbc</groupId>
			<artifactId>ojdbc8</artifactId>
			<version>19.3.0.0</version>
			<exclusions>
				<exclusion>
					<groupId>com.oracle.database.ha</groupId>
					<artifactId>simplefan</artifactId>
				</exclusion>
				<exclusion>
					<groupId>com.oracle.database.ha</groupId>
					<artifactId>ons</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

 

[ ์ดํด๋ฆฝ์Šค ์„ค์ • pom.xml]

 

 

728x90
๋ฐ˜์‘ํ˜•