0

我正在使用 Orbeon 4 M11(但我也尝试过 M9)、GlassFish 3.1.2 和 Liferay 6.1 GA2。在 GF 上部署 LR 和 Orbeon 并重新启动 GF 后,我去了:

 http://host:8080/orbeon/home/

一切都很好,但是当我尝试使用构建器时

 http://host:8080/orbeon/fr/orbeon/builder/summary

我有错误

糟糕,找不到请求的页面!

我在 orbeon.log 中找到了这个:

2012-10-24 10:39:22,805 INFO  ProcessorService  - /fr/orbeon/builder/summary - Received request
2012-10-24 10:39:28,425 ERROR XFormsServer  - xforms-submit-error - setting throwable {throwable: "
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|Password must not be null                                                                                             |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack                                                                                                |
|----------------------------------------------------------------------------------------------------------------------|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: java.security.UnrecoverableKeyException                                                                    |
|----------------------------------------------------------------------------------------------------------------------|
|sun.security.provider.JavaKeyStore                 |engineGetKey                  |JavaKeyStore.java             | 107|
|sun.security.provider.JavaKeyStore$JKS             |engineGetKey                  |JavaKeyStore.java             |  38|
|java.security.KeyStore                             |getKey                        |KeyStore.java                 | 763|
|com.sun.net.ssl.internal.ssl.SunX509KeyManagerImpl |<init>                        |SunX509KeyManagerImpl.java    | 113|
|com.sun.net.ssl.internal.ssl.KeyManagerFactoryImpl$|engineInit                    |KeyManagerFactoryImpl.java    |  48|
|javax.net.ssl.KeyManagerFactory                    |init                          |KeyManagerFactory.java        | 239|
|com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl |getDefaultKeyManager          |DefaultSSLContextImpl.java    | 170|
|com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl |<init>                        |DefaultSSLContextImpl.java    |  40|
|sun.reflect.NativeConstructorAccessorImpl          |newInstance0                  |NativeConstructorAccessorImpl.|    |
|sun.reflect.NativeConstructorAccessorImpl          |newInstance                   |NativeConstructorAccessorImpl.|  39|
|sun.reflect.DelegatingConstructorAccessorImpl      |newInstance                   |DelegatingConstructorAccessorI|  27|
|java.lang.reflect.Constructor                      |newInstance                   |Constructor.java              | 513|
|java.lang.Class                                    |newInstance0                  |Class.java                    | 355|
|java.lang.Class                                    |newInstance                   |Class.java                    | 308|
|java.security.Provider$Service                     |newInstance                   |Provider.java                 |1221|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: java.security.NoSuchAlgorithmException                                                                     |
|----------------------------------------------------------------------------------------------------------------------|
|java.security.Provider$Service                     |newInstance                   |Provider.java                 |1245|
|sun.security.jca.GetInstance                       |getInstance                   |GetInstance.java              | 220|
|sun.security.jca.GetInstance                       |getInstance                   |GetInstance.java              | 147|
|javax.net.ssl.SSLContext                           |getInstance                   |SSLContext.java               | 125|
|org.orbeon.oxf.resources.handler.HTTPURLConnection |<clinit>                      |HTTPURLConnection.java        | 107|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.OXFException                                                                         |
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.resources.handler.HTTPURLConnection |<clinit>                      |HTTPURLConnection.java        | 110|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: java.lang.ExceptionInInitializerError                                                                      |
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.resources.handler.HTTPHandler       |openConnection                |HTTPHandler.java              |  28|
|java.net.URL                                       |openConnection                |URL.java                      | 945|
|org.orbeon.oxf.util.Connection                     |connect                       |Connection.scala              |  90|
|org.orbeon.oxf.xforms.submission.RegularSubmission$|call                          |RegularSubmission.java        |  90|
|org.orbeon.oxf.xforms.submission.RegularSubmission$|call                          |RegularSubmission.java        |  71|
|org.orbeon.oxf.xforms.submission.BaseSubmission    |submitCallable                |BaseSubmission.java           | 100|
|org.orbeon.oxf.xforms.submission.RegularSubmission |connect                       |RegularSubmission.java        | 124|
|org.orbeon.oxf.xforms.submission.CacheableSubmissio|load                          |CacheableSubmission.java      | 148|
|org.orbeon.oxf.xforms.XFormsServerSharedInstancesCa|loadAndCache$1                |XFormsServerSharedInstancesCac|  80|
|org.orbeon.oxf.xforms.XFormsServerSharedInstancesCa|apply                         |XFormsServerSharedInstancesCac|  88|
|org.orbeon.oxf.xforms.XFormsServerSharedInstancesCa|apply                         |XFormsServerSharedInstancesCac|  88|
|scala.Option                                       |orElse                        |Option.scala                  | 218|
|org.orbeon.oxf.xforms.XFormsServerSharedInstancesCa|findContentOrLoad             |XFormsServerSharedInstancesCac|  88|
|org.orbeon.oxf.xforms.XFormsServerSharedInstancesCa|findContentOrLoad             |XFormsServerSharedInstancesCac|    |
|org.orbeon.oxf.xforms.submission.CacheableSubmissio|call                          |CacheableSubmission.java      | 119|
|org.orbeon.oxf.xforms.submission.CacheableSubmissio|call                          |CacheableSubmission.java      | 111|
|org.orbeon.oxf.xforms.submission.BaseSubmission    |submitCallable                |BaseSubmission.java           | 100|
|org.orbeon.oxf.xforms.submission.CacheableSubmissio|connect                       |CacheableSubmission.java      | 209|
|org.orbeon.oxf.xforms.submission.XFormsModelSubmiss|doSubmit                      |XFormsModelSubmission.java    | 456|
|org.orbeon.oxf.xforms.submission.XFormsModelSubmiss|performDefaultAction          |XFormsModelSubmission.java    | 294|
|---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
|org.apache.catalina.core.StandardPipeline          |invoke                        |StandardPipeline.java         | 595|
|org.apache.catalina.core.StandardHostValve         |invoke                        |StandardHostValve.java        | 161|
|org.apache.catalina.connector.CoyoteAdapter        |doService                     |CoyoteAdapter.java            | 331|
|org.apache.catalina.connector.CoyoteAdapter        |service                       |CoyoteAdapter.java            | 231|
|com.sun.enterprise.v3.services.impl.ContainerMapper|call                          |ContainerMapper.java          | 317|
|com.sun.enterprise.v3.services.impl.ContainerMapper|service                       |ContainerMapper.java          | 195|
|com.sun.grizzly.http.ProcessorTask                 |invokeAdapter                 |ProcessorTask.java            | 860|
|com.sun.grizzly.http.ProcessorTask                 |doProcess                     |ProcessorTask.java            | 757|
|com.sun.grizzly.http.ProcessorTask                 |process                       |ProcessorTask.java            |1056|
|com.sun.grizzly.http.DefaultProtocolFilter         |execute                       |DefaultProtocolFilter.java    | 229|
|com.sun.grizzly.DefaultProtocolChain               |executeProtocolFilter         |DefaultProtocolChain.java     | 137|
|com.sun.grizzly.DefaultProtocolChain               |execute                       |DefaultProtocolChain.java     | 104|
|com.sun.grizzly.DefaultProtocolChain               |execute                       |DefaultProtocolChain.java     |  90|
|com.sun.grizzly.http.HttpProtocolChain             |execute                       |HttpProtocolChain.java        |  79|
|com.sun.grizzly.ProtocolChainContextTask           |doCall                        |ProtocolChainContextTask.java |  54|
|com.sun.grizzly.SelectionKeyContextTask            |call                          |SelectionKeyContextTask.java  |  59|
|com.sun.grizzly.ContextTask                        |run                           |ContextTask.java              |  71|
|com.sun.grizzly.util.AbstractThreadPool$Worker     |doWork                        |AbstractThreadPool.java       | 532|
|com.sun.grizzly.util.AbstractThreadPool$Worker     |run                           |AbstractThreadPool.java       | 513|
|java.lang.Thread                                   |run                           |Thread.java                   | 662|
+----------------------------------------------------------------------------------------------------------------------+"}
2012-10-24 10:39:28,450 INFO  ProcessorService  - Session listener - Session created.
2012-10-24 10:39:28,455 WARN  XFormsServer  - xxforms:instance() - instance not found {instance id: "fr-form-metadata"}
2012-10-24 10:39:28,480 ERROR XFormsServer  - xforms-submit-error - setting throwable {throwable: "
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|Could not initialize class org.orbeon.oxf.resources.handler.HTTPURLConnection                                         |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack                                                                                                |
|----------------------------------------------------------------------------------------------------------------------|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: java.lang.NoClassDefFoundError                                                                             |
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.resources.handler.HTTPHandler       |openConnection                |HTTPHandler.java              |  28|
|java.net.URL                                       |openConnection                |URL.java                      | 945|
|org.orbeon.oxf.util.Connection                     |connect                       |Connection.scala              |  90|
|org.orbeon.oxf.xforms.submission.RegularSubmission$|call                          |RegularSubmission.java        |  90|
|org.orbeon.oxf.xforms.submission.RegularSubmission$|call                          |RegularSubmission.java        |  71|
|org.orbeon.oxf.xforms.submission.BaseSubmission    |submitCallable                |BaseSubmission.java           | 100|
|org.orbeon.oxf.xforms.submission.RegularSubmission |connect                       |RegularSubmission.java        | 124|
|org.orbeon.oxf.xforms.submission.XFormsModelSubmiss|doSubmit                      |XFormsModelSubmission.java    | 456|
|org.orbeon.oxf.xforms.submission.XFormsModelSubmiss|performDefaultAction          |XFormsModelSubmission.java    | 294|
|org.orbeon.oxf.xforms.event.Dispatch$$anonfun$dispa|apply$mcV$sp                  |Dispatch.scala                | 139|
|org.orbeon.oxf.xforms.event.Dispatch$$anonfun$dispa|apply                         |Dispatch.scala                | 139|
|org.orbeon.oxf.xforms.event.Dispatch$$anonfun$dispa|apply                         |Dispatch.scala                | 139|
|org.orbeon.oxf.util.Logging$class                  |withDebug                     |Logging.scala                 |  43|
|org.orbeon.oxf.xforms.event.Dispatch$              |withDebug                     |Dispatch.scala                |  23|
|org.orbeon.oxf.xforms.event.Dispatch$$anonfun$dispa|apply$mcV$sp                  |Dispatch.scala                | 138|
|org.orbeon.oxf.xforms.event.Dispatch$$anonfun$dispa|apply                         |Dispatch.scala                | 124|
|org.orbeon.oxf.xforms.event.Dispatch$$anonfun$dispa|apply                         |Dispatch.scala                | 124|
|org.orbeon.oxf.xforms.event.Dispatch$              |withEvent$1                   |Dispatch.scala                |  39|
|org.orbeon.oxf.xforms.event.Dispatch$$anonfun$dispa|apply$mcV$sp                  |Dispatch.scala                | 124|
|org.orbeon.oxf.xforms.event.Dispatch$$anonfun$dispa|apply                         |Dispatch.scala                |  96|
|---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
|org.apache.catalina.core.StandardPipeline          |invoke                        |StandardPipeline.java         | 595|
|org.apache.catalina.core.StandardHostValve         |invoke                        |StandardHostValve.java        | 161|
|org.apache.catalina.connector.CoyoteAdapter        |doService                     |CoyoteAdapter.java            | 331|
|org.apache.catalina.connector.CoyoteAdapter        |service                       |CoyoteAdapter.java            | 231|
|com.sun.enterprise.v3.services.impl.ContainerMapper|call                          |ContainerMapper.java          | 317|
|com.sun.enterprise.v3.services.impl.ContainerMapper|service                       |ContainerMapper.java          | 195|
|com.sun.grizzly.http.ProcessorTask                 |invokeAdapter                 |ProcessorTask.java            | 860|
|com.sun.grizzly.http.ProcessorTask                 |doProcess                     |ProcessorTask.java            | 757|
|com.sun.grizzly.http.ProcessorTask                 |process                       |ProcessorTask.java            |1056|
|com.sun.grizzly.http.DefaultProtocolFilter         |execute                       |DefaultProtocolFilter.java    | 229|
|com.sun.grizzly.DefaultProtocolChain               |executeProtocolFilter         |DefaultProtocolChain.java     | 137|
|com.sun.grizzly.DefaultProtocolChain               |execute                       |DefaultProtocolChain.java     | 104|
|com.sun.grizzly.DefaultProtocolChain               |execute                       |DefaultProtocolChain.java     |  90|
|com.sun.grizzly.http.HttpProtocolChain             |execute                       |HttpProtocolChain.java        |  79|
|com.sun.grizzly.ProtocolChainContextTask           |doCall                        |ProtocolChainContextTask.java |  54|
|com.sun.grizzly.SelectionKeyContextTask            |call                          |SelectionKeyContextTask.java  |  59|
|com.sun.grizzly.ContextTask                        |run                           |ContextTask.java              |  71|
|com.sun.grizzly.util.AbstractThreadPool$Worker     |doWork                        |AbstractThreadPool.java       | 532|
|com.sun.grizzly.util.AbstractThreadPool$Worker     |run                           |AbstractThreadPool.java       | 513|
|java.lang.Thread                                   |run                           |Thread.java                   | 662|
+----------------------------------------------------------------------------------------------------------------------+"}
2012-10-24 10:39:28,495 INFO  PageFlowControllerProcessor  - not found {controller: "oxf:/apps/fr/page-flow.xml", method: "GET", path: "/fr/orbeon/builder/summary"}

我还配置了持久层并尝试调试,但在我的 servlet 之前抛出了这个错误。

我也尝试过 Orbeon v3.91 并且它可以正常工作(我可以构建和保存表单)但我不能将它与 LR 一起使用,因为这个

4

1 回答 1

0

为避免此错误,您需要按照 Glassfish 3.1 的 Orbeon Forms 安装说明中的说明更改 Glassfish 配置。

于 2012-10-29T22:38:28.290 回答