linux上安装ias

这个是以前遇到过的问题,昨天一个同事也遇到了相同的问题,所以我把这个比较常见的问题记录下来吧,这样以后遇到同样问题的同事就可以作为参考了。

在linux redh 3上安装oracle IAS904时遇到下面的问题:
出现错误的截图我也上传了,错误日志如下:
ERROR: Caught exception during deploy.
Stopping OC4J instance 'home'...
at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
oracle.ias.sysmgmt.deployment.j2ee.exception.J2eeDeploymentException: Cannot get xml document by parsing META-INF/application.xml: The entry named META-INF/application.xml cannot be found in file /home/ilearn/product/ias904/webcache/examples/IsWebCacheWorking.ear
Root Cause: Permission denied


解决办法:
配置环境变量 
TMP=/<directory>/tmp;export TMP
TMP_DIR=/<directory>/tmp; export TMP_DIR

问题是解决了,其实是很简单的事情,原因就是因为没有仔细阅读oracle提供的官方文档,在文档中的“4.7.5”中已经明确的标注。

你可能感兴趣的:(oracle,linux,ias904)