启动应用程序服务器时收到错误。我收到这个错误只有特定的服务器,另一个开始完全没问题。我们正在使用WebSphere 8.0.0.9版本。我已经分享了下面的日志。我不熟悉WebSphere系统,因此如果您需要此日志旁边的任何其他内容,我将尝试共享它。
异常日志:
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
答案 0 :(得分:1)
有关将IBM JVM特定安全服务类添加到服务器配置的说明,请参阅this IBM technote,特别是java.ext.dirs JVM属性定义。技术说明适用于IBM i平台,并且基于您上面粘贴的native_stderr.log的文件位置,我相信您使用的是Linux平台,但技术说明仍应适用。