WebSphere部署web应用(初学WebSphere)
第三步:提示-----------------------------------应用程序安全性警告
分析此应用程序导致以下安全性警告。
was.policy 文件的内容 -
//
// Template policy file for enterprise application.
// Extra permissions can be added if required by the enterprise application.
//
// NOTE: Syntax errors in the policy files will cause the enterprise application FAIL to start.
// Extreme care should be taken when editing these policy files. It is advised to use
// the policytool provided by the JDK for editing the policy files
// (WAS_HOME/java/jre/bin/policytool).
//
grant codeBase "file:${application}" {
};
grant codeBase "file:${jars}" {
};
grant codeBase "file:${connectorComponent}" {
};
grant codeBase "file:${webComponent}" {
};
grant codeBase "file:${ejbComponent}" {
};
我没有理睬,继续下一步。。。。到最后出项这个错误以下问题,不知什么原因,
[09-12-10 10:45:40:484 CST] 4f2efa2 SystemErr R com.ibm.websphere.management.exception.AdminException: ADMA5026E: 在模块 webSP.war+WEB-INF/web.xml 的 ObjectName WebSphere:cell=jianguoNetwork,node=jianguoManager,server=server1 中指定无效目标。
[09-12-10 10:45:40:500 CST] 4f2efa2 SystemErr R at com.ibm.ws.management.application.AppAssociation.getServerNames(AppAssociation.java:1041)
[09-12-10 10:45:40:500 CST] 4f2efa2 SystemErr R at com.ibm.ws.management.application.AppAssociation.populateDeployTargets(AppAssociation.java:779)
[09-12-10 10:45:40:500 CST] 4f2efa2 SystemErr R at com.ibm.ws.management.application.task.ConfigureTask.createModuleDeployment(ConfigureTask.java:291)
[09-12-10 10:45:40:500 CST] 4f2efa2 SystemErr R at com.ibm.ws.management.application.task.ConfigureTask.createDeployment(ConfigureTask.java:248)
[09-12-10 10:45:40:500 CST] 4f2efa2 SystemErr R at com.ibm.ws.management.application.task.ConfigureTask.performTask(ConfigureTask.java:113)
[09-12-10 10:45:40:500 CST] 4f2efa2 SystemErr R at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:215)
[09-12-10 10:45:40:500 CST] 4f2efa2 SystemErr R at java.lang.Thread.run(Thread.java:568) --------------------编程问答-------------------- 这个问题是不是 太简单了 以至于没有人理我呢! --------------------编程问答-------------------- 好贴,谢谢分享 --------------------编程问答-------------------- tomcat下部署正常吗? --------------------编程问答-------------------- 节点有问题吧
找不到指定的路径
补充:企业软件 , WebSphere