互联网服务

was项目 启动出错 望高手解答一二

[12-5-3 4:24:47:360 CST] 00000059 SecurityAdmin E   SECJ0209E: 尝试用 WCCM JAAS 配置信息更新 JAAS 登录配置时发生意外异常。异常为 java.lang.IllegalArgumentException        at javax.security.auth.login.AppConfigurationEntr...显示全部
[12-5-3 4:24:47:360 CST] 00000059 SecurityAdmin E   SECJ0209E: 尝试用 WCCM JAAS 配置信息更新 JAAS 登录配置时发生意外异常。异常为 java.lang.IllegalArgumentException
        at javax.security.auth.login.AppConfigurationEntry.(AppConfigurationEntry.java:87)
        at com.ibm.ws.security.auth.login.Parser.parseAppConfigurationEntry(Parser.java:86)
        at com.ibm.ws.security.auth.login.Parser.parse(Parser.java:53)
        at com.ibm.ws.security.auth.login.WCCMLoginConfig.update(WCCMLoginConfig.java:78)
        at com.ibm.ws.security.auth.login.Configuration.updateWCCMConfig(Configuration.java:180)
        at com.ibm.ws.security.core.SecurityAdmin.updateJAASCfg(SecurityAdmin.java:232)
        at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
        at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
        at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1366)
        at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1012)
        at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:233)
        at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:128)
        at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:86)
        at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:128)
        at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:128)
        at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:167)
        at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1249)
        at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:901)
        at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
        at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:817)
        at com.ibm.ws.console.security.ConnectToRuntime.exportJAASConfig(ConnectToRuntime.java:291)
        at com.ibm.ws.console.security.JaasSaveListener.handle(JaasSaveListener.java(Compiled Code))
        at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.notify(WorkSpaceImpl.java(Compiled Code))
        at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.synch(RepositoryContextImpl.java:1682)
        at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.synch(WorkSpaceImpl.java:455)
        at com.ibm.ws.console.core.action.SyncWorkSpaceAction.execute(SyncWorkSpaceAction.java:182)
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:275)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:510)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
        at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
        at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
        at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
        at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
        at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
        at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))



was配置了jndi,测试连接正常,数据库连接正常!但项目启动的时候就出现上面的错误,导致不能启动收起
参与7

查看其它 5 个回答mapan227的回答

mapan227mapan227开发工程师pan.ma
貌似是java自带的加密机制报错了,之前部署应用,由于was7中自带的java中有加密与解密机制,导致我部署的应用里面存着的加密与解密机制失败,最后删除应用里面的jar包,对应删除的JAR包为:jce1_2_2.jar、local_policy.jar、US_export_policy.jar经过查看was中自带的JAR包中已经包含这些jar包。希望有帮助!
教育/培训 · 2012-05-03
浏览1589

回答者

mapan227
开发工程师pan.ma

回答状态

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