3

MobileFirst 7.0 サーバーのインストールと構成が正常に終了した後、MF サーバーが「デプロイ中」で停止するという問題が発生しDeploy Application => Selecting a MF studio /bin folder .wlapp fileます。

ここに画像の説明を入力

また、Tomcat ログ ファイルからのログ メッセージの一部を以下に示します。

10614  WorklightManagementPU-mysql  INFO   [pool-2-thread-1] openjpa.Runtime - Though you are using optimistic transactions, OpenJPA is now beginning a datastore transaction because you have requested a lock on some data.
10646  WorklightManagementPU-mysql  INFO   [pool-2-thread-1] openjpa.Runtime - Though you are using optimistic transactions, OpenJPA is now beginning a datastore transaction because you have requested a lock on some data.
10682  WorklightManagementPU-mysql  INFO   [pool-2-thread-1] openjpa.Runtime - Though you are using optimistic transactions, OpenJPA is now beginning a datastore transaction because you have requested a lock on some data.

Jun 03, 2015 2:03:32 PM com.ibm.worklight.admin.actions.ApplicationDeploymentTransaction beforeAll
SEVERE: Failed to generate download links to transfer data during the deployment of applications. See the next exception in the log. Switch to direct data transfer via JMX. This is not fatal but it requires larger memory than the data transfer with download links.
Jun 03, 2015 2:03:32 PM com.ibm.worklight.admin.actions.BaseTransaction internalRun
SEVERE: BaseTransaction.internalRun() Exception
<openjpa-1.2.2-r422266:898935 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Object "com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-1" is not managed by this context.
FailedObject: com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-1
    at org.apache.openjpa.persistence.EntityManagerImpl.processArgument(EntityManagerImpl.java:1216)
    at org.apache.openjpa.kernel.BrokerImpl.processArgument(BrokerImpl.java:2149)
    at org.apache.openjpa.kernel.BrokerImpl.gatherCascadeRefresh(BrokerImpl.java:2816)
    at org.apache.openjpa.kernel.BrokerImpl.refresh(BrokerImpl.java:2793)
    at org.apache.openjpa.kernel.DelegatingBroker.refresh(DelegatingBroker.java:1078)
    at org.apache.openjpa.persistence.EntityManagerImpl.refresh(EntityManagerImpl.java:688)
    at com.ibm.worklight.admin.actions.BaseTransaction.setNewProjectTransactionID(BaseTransaction.java:643)
    at com.ibm.worklight.admin.actions.BaseTransaction.internalRun(BaseTransaction.java:336)
    at com.ibm.worklight.admin.actions.BaseTransaction$1.run(BaseTransaction.java:235)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

Jun 03, 2015 2:03:32 PM com.ibm.worklight.admin.actions.BaseTransaction$1 run
SEVERE: internalRun() Exception
<openjpa-1.2.2-r422266:898935 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Object "com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-1" is not managed by this context.
FailedObject: com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-1
    at org.apache.openjpa.persistence.EntityManagerImpl.processArgument(EntityManagerImpl.java:1216)
    at org.apache.openjpa.kernel.BrokerImpl.processArgument(BrokerImpl.java:2149)
    at org.apache.openjpa.kernel.BrokerImpl.gatherCascadeRefresh(BrokerImpl.java:2816)
    at org.apache.openjpa.kernel.BrokerImpl.refresh(BrokerImpl.java:2793)
    at org.apache.openjpa.kernel.DelegatingBroker.refresh(DelegatingBroker.java:1078)
    at org.apache.openjpa.persistence.EntityManagerImpl.refresh(EntityManagerImpl.java:688)
    at com.ibm.worklight.admin.actions.BaseTransaction.setNewProjectTransactionID(BaseTransaction.java:643)
    at com.ibm.worklight.admin.actions.BaseTransaction.internalRun(BaseTransaction.java:336)
    at com.ibm.worklight.admin.actions.BaseTransaction$1.run(BaseTransaction.java:235)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

Jun 03, 2015 2:04:10 PM com.worklight.core.ilmt.WorklightILMTLogger dumpLicense
INFO: FWLSE0277I: Creating an ILMT record in the file '/var/ibm/common/slm/e1178f0cf1cfd7b4017f37827cae010b.slmtag'.
4

1 に答える 1

0

最後に、この問題は設定することで解決されました

max_allowed_packet = 30M 

binlog_format = mixed

mysqlのmy.cnfファイルにあります。

于 2015-06-06T01:46:58.103 に答える