2017-10-02 11 views
-1

나는 자바에 앱을 가지고, 나는 전쟁 파일을 만든 내가는 WebSphere 8.0에 업로드하지만 응용 프로그램을 실행할 때 WebSphere는이 보여줍니다 Screenshot of errorswebsphere 8.0에서 환경을 변경하는 방법은 무엇입니까?

이러한 오류 참조에 :

<% 
    int proceso = (Integer) request.getAttribute("proceso"); 
    String id = (String) request.getAttribute("id"); 
    int user = (Integer) request.getAttribute("user"); 
    String ruta = (String) request.getAttribute("ruta"); 
    String carpeta = (String) request.getAttribute("carpetaServer"); 
    String budgetId = (String) request.getAttribute("budgetId"); 

    List<String> encabezado = (List<String>) request.getAttribute("encabezado"); 
    List<Combo> secciones = (List<Combo>) request.getAttribute("secciones"); 
    List<Combo> imagenes = (List<Combo>) request.getAttribute("imagenes"); 

%> 

을 그래서 문제가 뭔지 모르겠다 자바 1.6을 사용합니다. 나는 jre 버전이라고 생각하지만 어떤 버전이 사용 중인지 찾을 수 없었다. 스피어의

************ Start Display Current Environment ************ 
WebSphere Platform 8.0.0.0 [BASE 8.0.0.0 n1118.03] running with process name XMBX248PCNode03Cell\XMBX248PCNode03\server1 and process id 7404 
Host Operating System is Windows 7, version 6.1 
Java version = 1.6.0, Java Compiler = j9jit26, Java VM name = IBM J9 VM 
was.install.root = C:\Program Files (x86)\IBM\WebSphere8\AppServer 
user.install.root = C:\Program Files (x86)\IBM\WebSphere8\AppServer\profiles\AppSrv01 
Java Home = C:\Program Files (x86)\IBM\WebSphere8\AppServer\java\jre 
ws.ext.dirs = C:\Program Files (x86)\IBM\WebSphere8\AppServer/java/lib;C:\Program Files (x86)\IBM\WebSphere8\AppServer\profiles\AppSrv01/classes;C:\Program Files (x86)\IBM\WebSphere8\AppServer/classes;C:\Program Files (x86)\IBM\WebSphere8\AppServer/lib;C:\Program Files (x86)\IBM\WebSphere8\AppServer/installedChannels;C:\Program Files (x86)\IBM\WebSphere8\AppServer/lib/ext;C:\Program Files (x86)\IBM\WebSphere8\AppServer/web/help;C:\Program Files (x86)\IBM\WebSphere8\AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime 
Classpath = C:\Program Files (x86)\IBM\WebSphere8\AppServer\profiles\AppSrv01/properties;C:\Program Files (x86)\IBM\WebSphere8\AppServer/properties;C:\Program Files (x86)\IBM\WebSphere8\AppServer/lib/startup.jar;C:\Program Files (x86)\IBM\WebSphere8\AppServer/lib/bootstrap.jar;C:\Program Files (x86)\IBM\WebSphere8\AppServer/lib/jsf-nls.jar;C:\Program Files (x86)\IBM\WebSphere8\AppServer/lib/lmproxy.jar;C:\Program Files (x86)\IBM\WebSphere8\AppServer/lib/urlprotocols.jar;C:\Program Files (x86)\IBM\WebSphere8\AppServer/deploytool/itp/batchboot.jar;C:\Program Files (x86)\IBM\WebSphere8\AppServer/deploytool/itp/batch2.jar;C:\Program Files (x86)\IBM\WebSphere8\AppServer/java/lib/tools.jar 
Java Library path = C:\Program Files (x86)\IBM\WebSphere8\AppServer/lib/native/win/x86_64/;C:\Program Files (x86)\IBM\WebSphere8\AppServer\java\jre\bin\default;C:\Program Files (x86)\IBM\WebSphere8\AppServer\java\jre\bin;.;C:\Program Files (x86)\IBM\WebSphere8\AppServer\lib\native\win\x86_64;C:\Program Files (x86)\IBM\WebSphere8\AppServer\bin;C:\Program Files (x86)\IBM\WebSphere8\AppServer\java\bin;C:\Program Files (x86)\IBM\WebSphere8\AppServer\java\jre\bin;C:\ProgramData\Oracle\Java\javapath;C:\oracle\ora92\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\IBM\Informix\Client-SDK\bin;C:\Program Files (x86)\ibm\gsk7\bin;C:\Program Files (x86)\ibm\gsk7\lib;C:\Bitnami\subversion-1.8.16-0\subversion\bin;C:\Program Files\TortoiseSVN\bin;C:\maven\bin;C:\Program Files\Java\jdk1.7.0_79\bin;C:\apache-tomcat-7.0.81\bin;; 
Orb Version = IBM Java ORB build orb626fp1-20110419.00 

버전 :

SystemOut.log는이 보여 Version Websphere 8.0

+0

스크린 샷의 오류는 코드가 Java 5 (또는 그 이상)로 표시되지 않음을 분명히 나타냅니다. 어떻게 전쟁 파일을 만들고 있습니까? "사전 컴파일 된 JSP"옵션을 선택 했습니까? – dbreaux

+0

(Integer to int "unboxing")은 요청에서 속성을 찾을 수없는 경우 NullPointerException을 throw 할 수 있음을 알고 있습니다. – dbreaux

+0

예, websphere에서 JSP 사전 컴파일 옵션을 선택했습니다. 그러나 그것의 ok, 나는 전쟁 successfuly를 배치했다. 넷빈즈에서는 clean과 build 옵션이 jre7을 사용 했으므로 컴파일 옵션과 작동에서 jdk 6으로 변경되었습니다. – Gesser

답변

0

당신은 응용 프로그램 서버에 대한 유지 보수를 적용 적이없는, 그래서에서 "0 점"코드 여기에서 첫 번째 아카이브에있는 최신 사용 가능한 JDK 및 응용 프로그램 서버 유지 관리를 적용 할 것을 제안합니다.

http://www-01.ibm.com/support/docview.wss?uid=swg24042746

당신이있는 동안 8.5 버전이나 9.0 릴리스로 업그레이드하는 것이 좋습니다. 8.0 버전은 내년에 서비스가 중단되고 은 Java 6에 영구히 붙어 있습니다.

+0

사실 나는 was8.0 (수정 13)에 대한 마지막 픽스 팩을 가지고있다. 나는 단지 바람둥이로 앱을 만든다. 그러나 그것을 업로드하는 것은 8.0이었다. 나는 단지 그것을 업그레이드 할 수 없다. 그래서, 최신 픽스 팩과 자바 6을 가지고 있다면, 문제가 뭐죠? – Gesser

+0

"실행 중"이외의 것을 의미합니까? WebSphere 플랫폼 8.0.0.0 [BASE 8.0.0.0 n1118.0] – covener

+0

게시물을 편집했습니다. – Gesser