0

liferay-portal-6.0.5 で Orbeon 3.9.0 PE RC1 を使用しています。Localhost Mysql 永続層を使用すると、機能します。

しかし、リモート (ローカル ネットワーク) の Mysql データベースを使用しようとすると、フォーム ビルダーはフォームを発行できず、データが表示されません。

Properties-local.xml 構成

`

エラー ログのサンプル。

2011-04-07 12:37:18,118 INFO ProcessorService - /fr/service/mysql/search/orbeon/builder - 受信した要求 2011-04-07 12:37:20,853 エラー SQLProcessor - PreparedStatement:

                                    select
                                        (
                                            select count(*) from orbeon_form_data
                                            where
                                                (app, form, document_id, last_modified) in (
                                                    select app, form, document_id, max(last_modified) last_modified
                                                    from orbeon_form_data
                                                    where
                                                        app =  ? 
                                                        and form =  ? 
                                                    group by app, form, document_id)
                                                and deleted = 'N'
                                        ) total,
                                        (
                                            select count(*) from (
                                select
                                    data.created, data.last_modified, data.document_id


                                        , extractValue(data.xml, '/*/xhtml:head/xforms:model[@id = ''fr-form-model'']/xforms:instance[@id = ''fr-form-metadata'']/*/application-name') detail_1
                                        , extractValue(data.xml, '/*/xhtml:head/xforms:model[@id = ''fr-form-model'']/xforms:instance[@id = ''fr-form-metadata'']/*/form-name') detail_2
                                        , extractValue(data.xml, '/*/xhtml:head/xforms:model[@id = ''fr-form-model'']/xforms:instance[@id = ''fr-form-metadata'']/*/title[@xml:lang = ''en'']') detail_3
                                        , extractValue(data.xml, '/*/xhtml:head/xforms:model[@id = ''fr-form-model'']/xforms:instance[@id = ''fr-form-metadata'']/*/description[@xml:lang = ''en'']') detail_4
                                from orbeon_form_data data,
                                    (
                                        select max(last_modified) last_modified, app, form, document_id
                                        from orbeon_form_data
                                        where
                                            app =  ? 
                                            and form =  ? 
                                        group by app, form, document_id
                                    ) latest
                                where

                                    data.last_modified = latest.last_modified
                                    and data.app = latest.app
                                    and data.form = latest.form
                                    and data.document_id = latest.document_id

                                    and data.deleted = 'N'


                                order by created desc
                            )a
                                        ) search_total

2011-04-07 12:37:20,868 INFO DatabaseContext - データソースの JDBC 接続をロールバックしています: jdbc/mysql。2011-04-07 12:37:20,868 ERROR ProcessorService - oxf:/apps/fr/persistence/mysql/search.xpl での例外 (XSLT 変換の実行) com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: FUNCTION orbeon.extractValue はありませんcom.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) の com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985) の com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java: 1631) com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723) com.mysql.jdbc.Connection.execSQL(Connection.java:3256) com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java) :1313) org.apache.tomcat.dbcp.dbcp の com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:874) で。

4

1 に答える 1

1

発生しているエラーFUNCTION orbeon.extractValue does not existは であるため、MySQL の他の (リモート) バージョンが をサポートしていない古いバージョンであるためと思われextractValue()ます。MySQL 永続層は、MySQL 5.1 で導入された XML 関数に依存しているため、MySQL 5.1 (2008 年 11 月にリリース) 以降を使用する必要があります。

于 2011-04-09T06:42:51.960 に答える