controller 설치오류

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

controller 설치오류

민승기
안녕하세요.

java -Djava.io.tmpdir=${NGRINDER_HOME}/lib -jar ngrinder-controller-{version}.war

입력해서 설치하는 과정에서 오류가 발생했습니다.

Exception in thread "main" java.lang.IllegalStateException: Failed to create unpack directory in directory '/lib'
        at org.springframework.boot.loader.archive.JarFileArchive.createUnpackDirectory(JarFileArchive.java:136)
        at org.springframework.boot.loader.archive.JarFileArchive.getTempUnpackDirectory(JarFileArchive.java:122)
        at org.springframework.boot.loader.archive.JarFileArchive.getUnpackedNestedArchive(JarFileArchive.java:112)
        at org.springframework.boot.loader.archive.JarFileArchive.getNestedArchive(JarFileArchive.java:96)
        at org.springframework.boot.loader.archive.JarFileArchive$NestedArchiveIterator.adapt(JarFileArchive.java:236)
        at org.springframework.boot.loader.archive.JarFileArchive$NestedArchiveIterator.adapt(JarFileArchive.java:227)
        at org.springframework.boot.loader.archive.JarFileArchive$AbstractIterator.next(JarFileArchive.java:188)
        at org.springframework.boot.loader.ExecutableArchiveLauncher.createClassLoader(ExecutableArchiveLauncher.java:87)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:55)
        at org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59)

어떤 오류인지.... 해결방법 알려주시면 감사하겠습니다 ㅠㅠㅠㅠ
Reply | Threaded
Open this post in threaded view
|

Re: controller 설치오류

junoyoon
Administrator
NGRINDER_HOME 환경 변수를 지정해 주시거나

-Djava.io.tmpdir=/현재유저패스/.ngrinder/lib 로 tmpDir 을 넣어주세요.
Reply | Threaded
Open this post in threaded view
|

Re: controller 설치오류

민승기
빠른답변 감사합니다!!

현재유저패스값 입력하고 해보니 실행되었습니다.

잘 실행이 된건지는 모르겠습니다..
 
궁금한점 있으면 다시 여쭙겠습니다. 감사합니다!