金融其它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.defineClas...显示全部
报错代码,就这一行
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

查看其它 7 个回答bpel4ws的回答

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 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
浏览1101

回答者

bpel4ws
软件开发工程师新聚思(北京)有限公司
擅长领域: 中间件服务器双活

bpel4ws 最近回答过的问题

回答状态

  • 发布时间:2012-04-05
  • 关注会员:1 人
  • 回答浏览:1101
  • X社区推广