2017-10-10 12 views
1

응용 프로그램 서버 시작시 오류가 발생합니다. 이 오류는 특정 서버에서만 발생하며, 다른 오류는 완벽하게 시작됩니다. 우리는 WebSphere 8.0.0.9 버전을 사용하고 있습니다. 아래 로그를 공유했습니다. WebSphere 시스템에 익숙하지 않기 때문에이 로그 옆에 다른 것이 필요하다면 공유하려고 시도 할 것입니다.spesific WebSphere Application Server를 시작할 수 없습니다.

enter image description here

예외 로그 :

class load: org.eclipse.osgi.service.debug.DebugTrace from: file:/opt/IBM/WebSphere/AppServer/plugins/org.eclipse.osgi_.jar 
class load: org.osgi.framework.InvalidSyntaxException from: file:/opt/IBM/WebSphere/AppServer/plugins/org.eclipse.osgi_.jar 
java.lang.NullPointerException 
     at java.security.SecureRandom.nextBytes(SecureRandom.java:292) 
     at java.security.SecureRandom.next(SecureRandom.java:311) 
     at java.util.Random.nextLong(Random.java:252) 
     at java.io.File.generateFile(File.java:1693) 
     at java.io.File.createTempFile0(File.java:1736) 
     at java.io.File.createTempFile(File.java:1814) 
     at org.eclipse.osgi.internal.baseadaptor.AdaptorUtil.canWrite(AdaptorUtil.java:208) 
     at org.eclipse.core.runtime.adaptor.LocationManager.canWrite(LocationManager.java:276) 
     at org.eclipse.core.runtime.adaptor.LocationManager.buildLocation(LocationManager.java:204) 
     at org.eclipse.core.runtime.adaptor.LocationManager.initializeLocations(LocationManager.java:150) 
     at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:275) 
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175) 
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) 
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) 
     at java.lang.reflect.Method.invoke(Method.java:611) 
     at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340) 
     at org.eclipse.core.launcher.Main.basicRun(Main.java:282) 
     at org.eclipse.core.launcher.Main.run(Main.java:981) 
     at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:394) 
     at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:157) 
class load: java/text/MessageFormat 
class load: java/text/FieldPosition 
class load: java/util/Date 

답변

1

이 theserver 구성, 특히 java.ext.dirs의 JVM 속성 정의에 IBM JVM 특정 보안 서비스 클래스를 추가하는 방법에 대한 방향에 대한 this IBM technote를 참조하십시오. 이 기술 노트는 IBM i 플랫폼을 대상으로하며 위에 붙여 넣은 native_stderr.log의 파일 위치를 기반으로합니다. 귀하가 Linux 플랫폼을 사용하고 있다고 생각하지만 기술 노트는 여전히 적용되어야합니다.

+0

링크의 설명으로이 문제를 해결할 수있었습니다. Linux에서는 다음과 같은 ext 라이브러리 경로를 사용하십시오. -Djava.ext.dirs =/opt/IBM/WebSphere/AppServer/java/jre/lib/ext – Emre

+0

상태 스크린 샷에서 볼 수있는 한 가지 사실은 core에 일부 오류가 있고 core_preprod에 오류가 있다는 것입니다. . 나는 각각의 오류가 무엇인지 궁금해하고 관련이 있습니까? Node01에 2 개의 오류가 표시됩니다. 관련 있다고 생각됩니다. 로그에서 Java 클래스를로드하는 NullPointerException을 던지고 InvalidSyntaxException이 있음을 알 수 있습니다. 나는 2 개의 jar 파일을보고 구문 오류를 찾는다. Java에 익숙하지 않은 경우 개발 팀 담당자에게 살펴 보시기 바랍니다. –