金融其它WebSphereWAS

tomcat没错,was下报错紧急求助

报错代码,就这一行
Security.addProvider(new com.sun.crypto.provider.SunJCE());
错误信息
java.lang.ClassFormatError: (com/sun/crypto/provider/SunJCE_al) enclosing method class index must reference a class at offset=10103
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:222)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:148)
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:526)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:477)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:561)
at com.sun.crypto.provider.SunJCE.(DashoA6275)
at com.cfcc.itfe.security.DESPlus.(DESPlus.java:91)
at com.cfcc.itfe.service.recbiz.datauploadfortips.DataUpLoadForTipsService.decryptFile(DataUpLoadForTipsService.java:263)
at com.cfcc.itfe.service.recbiz.datauploadfortips.DataUpLoadForTipsService.muleProcMsg(DataUpLoadForTipsService.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.cfcc.jaf.core.invoker.bean.BeanServiceInvoker.invoke(BeanServiceInvoker.java:85)
at com.cfcc.itfe.service.advice.ITFEOperLogInvoker.invoke(ITFEOperLogInvoker.java:35)
at com.cfcc.jaf.core.invoker.transation.TransactionInvoker.invoke(TransactionInvoker.java:80)
at com.cfcc.jaf.core.invoker.aop.interceptor.StatisticInvoker.invoke(StatisticInvoker.java:74)
at com.cfcc.jaf.core.invoker.aop.interceptor.InterceptorList.invoke(InterceptorList.java:110)
at com.cfcc.jaf.web.servlet.invoke.AbstractHttpInvokeServlet.doPost(AbstractHttpInvokeServlet.java:327)
at com.cfcc.itfe.servlet.InvokerServlet.doPost(InvokerServlet.java:29)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:111)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
--- end Original exception----
参与9

8同行回答

zllnihyzllnihy集成工程师金融电子化公司
问题解决,问题是工程目录下有多个jar目录,其中commons-logging-1.1.1.jar包重复了,删除重新打包就没问题了显示全部
问题解决,问题是工程目录下有多个jar目录,其中commons-logging-1.1.1.jar包重复了,删除重新打包就没问题了收起
金融其它 · 2012-04-12
浏览1129
bpel4wsbpel4ws联盟成员软件开发工程师新聚思(北京)有限公司
如果想使用 SUN JCE, 可以参考 http://www.ibm.com/developerwork ... les/0306_yu/yu.html(对不起,没有更新的资料了)显示全部
如果想使用 SUN JCE, 可以参考
http://www.ibm.com/developerwork ... les/0306_yu/yu.html

(对不起,没有更新的资料了)收起
政府机关 · 2012-04-05
浏览1027
bpel4wsbpel4ws联盟成员软件开发工程师新聚思(北京)有限公司
1. IBM does not support problems with Sun's or other third party JSSE or JCE code. Only the IBM JSSE and JCE providers are supported. 2. WebSphere Application Server supports the JSSE and JCE "provider framework", which means that multiple providers ...显示全部
1. IBM does not support problems with Sun's or other third party JSSE or JCE code. Only the IBM JSSE and JCE providers are supported.

2. WebSphere Application Server supports the JSSE and JCE "provider framework", which means that multiple providers can be "plugged in". This means customers should be able to plug in Sun's (or other providers) JSSE or JCE into the IBM framework. If it cannot be plugged in to the framework, then IBM will investigate problems with the framework only.

3. If you are experiencing problems using a third party provider for JSSE or JCE code, first verify that the files from the third party provider do not contain framework files. A third party framework file (often these files have a .fw extension) will conflict with the IBM framework.

4. If you believe that the problem you are experiencing is with the IBM framework specifically, please submit a testcase and specifics that prove this to IBM support, and we will investigate on a "best effort" basis.

5. Keep in mind that IBM does not test WebSphere Application Server with Sun's or any other third party JSSE or JCE providers.

The IBM JSSE and JCE providers are shipped with WebSphere Application Server. The following is a listing of where to find the JAR files and documentation:


http://www-01.ibm.com/support/do ... US&cs=utf-8&lang=en收起
政府机关 · 2012-04-05
浏览1095
zllnihyzllnihy集成工程师金融电子化公司
具体原因不清楚,解决办法只覆盖自己修改的类,没有全工程重新部署,以前版本部署上去是没有问题的,原因正在找显示全部
具体原因不清楚,解决办法只覆盖自己修改的类,没有全工程重新部署,以前版本部署上去是没有问题的,原因正在找收起
金融其它 · 2012-03-30
浏览1020
penguinhepenguinhe项目经理成方金融信息技术服务有限公司
需要重新编译程序显示全部
需要重新编译程序收起
互联网服务 · 2012-03-28
浏览1198
zllnihyzllnihy集成工程师金融电子化公司
有好的解决方法吗显示全部
有好的解决方法吗收起
金融其它 · 2012-03-28
浏览1049
tomsuetomsue开发工程师java engineer
ibm jdk部分方法以后将被删掉  只供他们内部访问显示全部
ibm jdk部分方法以后将被删掉  只供他们内部访问收起
金融其它 · 2012-03-28
浏览1047
tomsuetomsue开发工程师java engineer
jdk1.5 编译   类库1.5   web项目要多一步 属性--》project facets--》 java版本也是 1.5 删掉你以前编译的class 重新编译   (如果直接重新编译可能部分没编译 eclipse的一个bug)显示全部
jdk1.5 编译   类库1.5   
web项目要多一步 属性--》project facets--》 java版本也是 1.5
删掉你以前编译的class 重新编译   (如果直接重新编译可能部分没编译 eclipse的一个bug)收起
金融其它 · 2012-03-28
浏览1054

提问者

zllnihy
集成工程师金融电子化公司

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2012-03-28
  • 关注会员:1 人
  • 问题浏览:8161
  • 最近回答:2012-04-12
  • X社区推广