[HTTP:101216]Servlet: "FICMaster" failed to preload on startup in Web application,101216ficmaster

來源:互聯網
上載者:User

[HTTP:101216]Servlet: "FICMaster" failed to preload on startup in Web application,101216ficmaster

最近弄了一次Oracle的OFSAA軟體,在部署程式時遇到個問題。目前網路上ofsaa的知識共用很少,在此分享給大家

Symptoms

錯誤資訊較多,現截取重要的錯誤部分,如下:

<Jan 12, 2015 5:59:46 PM CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: [HTTP:101216]Servlet: "FICMaster" failed to preload on startup in Web application: "/OFSAA73".
java.lang.NullPointerException
        at com.iflex.fic.common.Log4jLogger.initialize(Log4jLogger.java:116)
        at com.iflex.fic.common.Log4jLogger.initializeLog4j(Log4jLogger.java:55)
        at com.iflex.fic.ficml.FICMaster.init(FICMaster.java:127)

Cause

1. The Data Source for FICMASTER was not created (under JDBC), it was only created for Infodom.

2. The entry for Infodom on the Weblogic server did not match the corresponding entry from web.xml.

3. Deployment was created without having the infrastructure server up.

4. User didn't have full privileges on the deployment directories: the *.ear and *.war dirs.

5. The user who started Weblogic was ofsaa user and not the user who installed weblogic.

這個問題一般都是由上述5種情況導致,本次錯誤就是FICMASTER資料來源建立錯誤導致部署後程式無法啟動

Solution

參考Cannot Start Weblogic for OFSAA On Solaris - Missing EJB STATELESSCACHEBEANBEAN (文檔 ID 1240965.1)

按照文檔中依次檢查原因,按照如下方法嘗試解決問題

1. Create a  DataSource and add a new entry for it in web.xml under WEB-INF.
Then, in the last deployment step: StateLessCacheBeanBean will show up under EJBs and also a link pointing to WEB-INF/lib/webcache.jar.

2. Re-create the Data Source entry for Infodom on the Weblogic server to match the entry from web.xml.

3. Start ./reveleusstartup.sh, re-create the deployment and then upload it again.

4. Grant full permissions on the deployment ear folder by running chmod 777 command.

5. Start Weblogic (startWeblogic.sh -d64) as the user who installed Weblogic.

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.