是否可以在Oracle Weblogic 12c上部署Orbeon?

时间:2017-02-24 15:51:06

标签: weblogic12c orbeon

我正试图在Weblogic 12c上部署Orbeon PE 2016.3而没有运气。

我尝试将orbeon.war按原样部署到weblogic,也尝试使用zip包中包含的其他战争以及Orbeon documentation中建议的解决方案来创建自定义EAR以避免某些weblogic 11g依赖。

我得到的堆栈跟踪是:

Root cause of ServletException.
java.lang.NoClassDefFoundError: Could not initialize class org.orbeon.oxf.util.DateUtils$
    at org.orbeon.oxf.common.PEVersion$LicenseInfo$$anonfun$8.apply(PEVersion.scala:169)
    at org.orbeon.oxf.common.PEVersion$LicenseInfo$$anonfun$8.apply(PEVersion.scala:169)
    at scala.Option.map(Option.scala:146)
    at org.orbeon.oxf.common.PEVersion$LicenseInfo$.apply(PEVersion.scala:169)
    at org.orbeon.oxf.common.PEVersion$LicenseInfo$$anonfun$tryApply$1.apply(PEVersion.scala:175)

如果我将joda.time添加到weblogic-application.xml中的首选应用程序包中,则此错误消失,但不确定是否全部。

当在Weblogic中加载Orbeon时,我收到以下错误:

 <Error> <Weblogic-Validation> <BEA-2156404> <Unable to find a Validation Context. java.lang.RuntimeException: javax.naming.NamingException: String index out of range: -1
java.lang.RuntimeException: javax.naming.NamingException: String index out of range: -1
    at weblogic.validation.ValidationContextManager.getValidationContext(ValidationContextManager.java:72)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    Truncated. see log file for complete stacktrace
Caused By: javax.naming.NamingException: String index out of range: -1
    at weblogic.jndi.Environment.getContext(Environment.java:311)
    at weblogic.jndi.Environment.getContext(Environment.java:288)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)

我还注意到日志中的ASCII艺术一次显示,然后一起显示2次(Orbeon Forms,Orbeon Forms),然后3次。

0 个答案:

没有答案