기술 문서 - CS290110
"windchill wt.auth.Authentication" 도구를 실행할 때 "java.net.ProtocolException: 서버가 너무 많이 리디렉션되었습니다(20)" 오류
수정한 날짜: 28-Mar-2025
적용 대상
- Windchill PDMLink 10.2
설명
windchill wt .auth .Authentication 도구를 실행할 때 아래 오류가 발생합니다.
DEBUG [main] wt.httpgw.HTTPLogin - https://<SERVER>/Windchill/servlet/WindchillAuthGW/wt.httpgw.HTTPAuthentication/login에 대한 URL 연결을 엽니다.
DEBUG [main] wt.httpgw.HTTPLogin - 예상치 못한 콘텐츠 유형: text/html
DEBUG [main] wt.httpgw.HTTPLogin - 연결에서 입력 스트림을 가져오지 못했습니다.
java.net.ProtocolException: 서버가 너무 많이 리디렉션됨(20)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(네이티브 메서드)에서
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)에서
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)에서
java.lang.reflect.Constructor.newInstance(Constructor.java:526)에서
sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1675)에서
sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1673)에서
java.security.AccessController.doPrivileged(네이티브 메서드)에서
sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1671)에서
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1244)에서
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)에서
wt.httpgw.HTTPLogin.init(HTTPLogin.java:318)에서
wt.method.RemoteMethodServer.initAuthenticator(RemoteMethodServer.java:957)에서
wt.method.RemoteMethodServer.handleAuthenticationException(RemoteMethodServer.java:936)에서
wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:799)에서
wt.auth.Authentication.getUserName(Authentication.java:68)에서
wt.auth.Authentication.main(Authentication.java:235)에서
원인: java.net.ProtocolException: 서버가 너무 많이 리디렉션됨(20)
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1636)에서
sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2678)에서
java.net.URLConnection.getContentType(URLConnection.java:522)에서
sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentType(HttpsURLConnectionImpl.java:406)에서
wt.httpgw.HTTPLogin.init(HTTPLogin.java:314)에서
... 5개 더
DEBUG [main] wt.httpgw.HTTPLogin - 예상치 못한 콘텐츠 유형: text/html
DEBUG [main] wt.httpgw.HTTPLogin - 연결에서 입력 스트림을 가져오지 못했습니다.
java.net.ProtocolException: 서버가 너무 많이 리디렉션됨(20)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(네이티브 메서드)에서
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)에서
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)에서
java.lang.reflect.Constructor.newInstance(Constructor.java:526)에서
sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1675)에서
sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1673)에서
java.security.AccessController.doPrivileged(네이티브 메서드)에서
sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1671)에서
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1244)에서
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)에서
wt.httpgw.HTTPLogin.init(HTTPLogin.java:318)에서
wt.method.RemoteMethodServer.initAuthenticator(RemoteMethodServer.java:957)에서
wt.method.RemoteMethodServer.handleAuthenticationException(RemoteMethodServer.java:936)에서
wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:799)에서
wt.auth.Authentication.getUserName(Authentication.java:68)에서
wt.auth.Authentication.main(Authentication.java:235)에서
원인: java.net.ProtocolException: 서버가 너무 많이 리디렉션됨(20)
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1636)에서
sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2678)에서
java.net.URLConnection.getContentType(URLConnection.java:522)에서
sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentType(HttpsURLConnectionImpl.java:406)에서
wt.httpgw.HTTPLogin.init(HTTPLogin.java:314)에서
... 5개 더
이는 기술 문서 290110의 PDF 버전이며, 구 버전일 수 있습니다. 최신 버전 CS290110