2017-10-10 168 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

有关添加IBM JVM特定的安全服务的类来theserver配置,特别是JVM java.ext.dirs属性定义方向参见this IBM technote。技术说明适用于IBM i平台,并且基于上面粘贴的native_stderr.log的文件位置,我相信您在Linux平台上,但技术说明仍然适用。

+0

我能够与链路上的说明解决这个问题。 在Linux下,jre ext lib路径如下所示。 -Djava.ext.dirs =的/ opt/IBM /的WebSphere /应用服务器/ JAVA/JRE/lib/ext目录 – Emre

+0

有一件事我在您的状态截图看到的是,你有核心某些错误(S),然后在core_preprod错误。我想知道每个错误是什么,它们是相关的吗? 你有2个错误显示在NODE01起来,我怀疑他们是相关的。从日志中,我看到它抛出一个NullPointerException加载java类,并且有一个InvalidSyntaxException。我会查看2个jar文件并查找语法错误。如果您对Java没有经验,请请开发团队的人员来看看。 –

相关问题