J-Jobs

FAQ

[Manager][Server][Agent] Windows 환경에서 J-Jobs 실행 시 액세스 거부 메시지와 함께 미동작

  • 2019-09-04 10:55
  • 09-04 10h

[Question]

Windows 환경에서 J-Jobs를 설치하였는데 실행이 정상적으로 되지 않으며 다음과 같은 에러 메시지가 로그에 남습니다.

[Manager] [Server]

[M][2019-09-04 09:54:23,252][ERROR] Context initialization failed 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.interceptor.CacheInterceptor#0':  ~~~~  : Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: java.io.FileNotFoundException: ~~~~~ (액세스가 거부되었습니다)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1481)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1226)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

[Agent]

jjob.runtime.gw.exceptions.InternalRuntimeException: java.io.FileNotFoundException: ~~~~~ (액세스가 거부되었습니다)
	at jjob.common.core.meta.MMapFile.init(MMapFile.java:68)
	at jjob.agent.manager.comm.StartControlMap.<init>(StartControlMap.java:16)
	at jjob.agent.manager.AgentLauncherMain.launch(AgentLauncherMain.java:630)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at jjob.agent.manager.AgentLauncher.main(AgentLauncher.java:420)

[Answer]

J-Jobs를 설치/실행한 Windows 계정의 폴더/파일 권한으로 인한 오류 입니다. J-Jobs가 설치된 폴더의 [속성 > 보안]에서 J-Jobs 실행 계정에 대한 권한을 변경해야 합니다. 보안 상의 특별한 이슈가 없을 경우 가급적 모든 권한을 주시길 권장합니다.

description