起步软件技术论坛-X3

 找回密码
 立即注册
搜索
查看: 179|回复: 6

【搞定】Native code expects wrong return type from Java callback**

[复制链接]
发表于 2007-2-14 17:20:03 | 显示全部楼层 |阅读模式
websphere5.1启动出错:

was5.1+x3-2611

JVMCI161: FATAL ERROR in native method: Native code expects wrong return type from Java callback
        at com.justep.loader.LibLoader.checkAndLoad(Native Method)
        at com.justep.loader.LibLoader.defineClass(Unknown Source)
        at com.justep.loader.LibLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
        at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
        at com.justep.loader.LibContext.loadJar(Unknown Source)
        at com.justep.loader.LibContext.init(Unknown Source)
        at com.justep.loader.LibContext.getInstance(Unknown Source)
        at com.justep.servlet.InitListener.contextInitialized(Unknown Source)
        at com.ibm.ws.webcontainer.srt.WebGroup.notifyServletContextCreated(WebGroup.java:1698)
        at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:279)
        at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:387)
        at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:209)
        at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:987)
        at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
        at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:418)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:787)
        at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:354)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:575)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:271)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:249)
        at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
        at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
        at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:125)
        at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
        at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
        at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
        at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
        at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
        at java.lang.reflect.Method.invoke(Method.java:386)
        at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

JVMDG217: Dump Handler is Processing a Signal - Please Wait.
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to D:\WebSphere\AppServer\javacore.20070214.163539.3608.txt
JVMDG215: Dump Handler has Processed Error Signal 22.


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
回复

使用道具 举报

发表于 2007-2-25 14:53:32 | 显示全部楼层
换新的版本吧!新的版本处理了这个问题了,原因是由于WebSphere用的IBM的JDK跟Sun的JDK不同导致的!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-27 14:04:50 | 显示全部楼层
是换x3新版还是Was新版
回复 支持 反对

使用道具 举报

发表于 2007-2-27 14:46:55 | 显示全部楼层
呵呵 ,是换X3版本。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-27 15:32:48 | 显示全部楼层
好象是2617吧,现在可以下载了吗?
回复 支持 反对

使用道具 举报

发表于 2007-3-1 09:51:57 | 显示全部楼层
如果你们没有2617版本,请发邮件到support@justep.com索取
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-5 09:15:33 | 显示全部楼层
好的,结贴吧。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Justep Inc.

GMT+8, 2024-12-25 22:22 , Processed in 0.037799 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表