我正在尝试为worklight项目设置测试environemnt。所有事情看起来都是成功启动而没有任何错误,但是,工作灯控制台说“没有找到运行时配置" 。我也无法在浏览器中访问我的应用程序。但是,AppCenter可用。
系统在Redhat
操作系统,Worklight
版本6.2,DB2
中设置为数据库,WS-Liberty 8.5
设置为服务器。正如在不同的SO
问题中所建议的那样,我尝试清理自由服务器的工作区,清理构建和部署,尝试使用java 1.6而不是java 1.7但没有任何工作。
感谢您花时间在这个问题和任何投入。如果您需要任何其他详细信息,请告知我们。
修改: 以下是日志,试图删除不相关的消息:
来自日志消息的Websphere详细信息:
********************************************************************************
product = WebSphere Application Server 8.5.5.2 (wlp-1.0.5....)
wlp.install.dir = /opt/IBM/WebSphere/Liberty/
java.home = /root/Downloads/jre1.6.0_45
java.version = 1.6.0_45
java.runtime = Java(TM) SE Runtime Environment (1.6.0_45-b06)
os = Linux (2.6.32-431.23.3.el6.x86_64; amd64) (en_US)
********************************************************************************
服务器启动期间的相关日志:
[8/14/14 10:07:09:966 CDT] 00000018 SystemErr R 79 WorklightPU WARN [Default Executor-thread-2] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'WorklightPU', root URL [file:/opt/IBM/WebSphere/Liberty/usr/shared/resources/worklight-jee-library-6.2.0.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
[8/14/14 10:07:10:740 CDT] 00000023 com.ibm.ws.webcontainer.osgi.webapp.WebGroup I SRVE0169I: Loading Web Module: Worklight Administration Services.
[8/14/14 10:07:11:696 CDT] 0000001b com.ibm.ws.session.WASSessionCore I SESN0176I: A new session context will be created for application key default_host/wladmin
[8/14/14 10:07:11:697 CDT] 0000001b com.ibm.ws.util I SESN0172I: The session manager is using the Java default SecureRandom implementation for session ID generation.
[8/14/14 10:07:12:258 CDT] 00000018 SystemErr R 2371 WorklightPU INFO [Default Executor-thread-2] openjpa.Runtime - Starting OpenJPA 1.2.2
[8/14/14 10:07:12:445 CDT] 0000001a com.ibm.ws.webcontainer.osgi.webapp.WebGroup I SRVE0169I: Loading Web Module: analytics.
[8/14/14 10:07:12:445 CDT] 0000001a com.ibm.ws.webcontainer I SRVE0250I: Web Module analytics has been bound to default_host.
[8/14/14 10:07:12:446 CDT] 0000001a com.ibm.ws.http.internal.VirtualHostImpl A CWWKT0016I: Web application available (default_host): http://hqdvwkl001:9080/_analytics/
[8/14/14 10:07:12:447 CDT] 00000023 com.ibm.ws.webcontainer.webapp I SRVE0292I: Servlet Message - [worklight-management-service]:.Initializing Spring root WebApplicationContext
[8/14/14 10:07:12:448 CDT] 00000023 org.springframework.web.context.ContextLoader I Root WebApplicationContext: initialization started
[8/14/14 10:07:12:450 CDT] 00000018 SystemErr R 2562 WorklightPU INFO [Default Executor-thread-2] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.HSQLDictionary".
[8/14/14 10:07:12:522 CDT] 00000023 springframework.web.context.support.XmlWebApplicationContext I Refreshing org.springframework.web.context.support.XmlWebApplicationContext@dcd88ea: display name [Root WebApplicationContext]; startup date [Thu Aug 14 10:07:12 CDT 2014]; root of context hierarchy
[8/14/14 10:07:16:528 CDT] 00000023 com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8203I: Database product name : Apache Derby
[8/14/14 10:07:16:529 CDT] 00000023 com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8204I: Database product version : 10.8.2.2 - (1181258)
[8/14/14 10:07:16:529 CDT] 00000023 com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8205I: JDBC driver name : Apache Derby Embedded JDBC Driver
[8/14/14 10:07:16:529 CDT] 00000023 com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8206I: JDBC driver version : 10.8.2.2 - (1181258)
[8/14/14 10:07:16:617 CDT] 00000023 com.ibm.worklight.dataaccess.datastore.DataStore I constructor Creating EntityManagerFactory for persistence-unit=WorklightManagementPU-derby with properties: {openjpa.ConnectionFactory=com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource@43e3cae, openjpa.jdbc.SynchronizeMappings=buildSchema(SchemaAction='add')}
[8/14/14 10:07:16:817 CDT] 00000018 com.worklight.server.database.api.WorklightDataSource I FWLSE0187I: jdbc/WorklightReportsDS data source is disabled. No connection opened. [project <AppName>]
[8/14/14 10:07:16:838 CDT] 00000018 ringframework.orm.jpa.LocalContainerEntityManagerFactoryBean I Building JPA container EntityManagerFactory for persistence unit 'WorklightReportsPU'
[8/14/14 10:07:16:841 CDT] 00000018 SystemErr R 0 WorklightReportsPU WARN [Default Executor-thread-2] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'WorklightReportsPU', root URL [file:/opt/IBM/WebSphere/Liberty/usr/shared/resources/worklight-jee-library-6.2.0.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
/opt/IBM/WebSphere/Liberty/usr/servers/Worklignt_CE_Dev/workarea/org.eclipse.osgi/bundles/79/data/temp/default_node/SMF_WebContainer/<AppName>/<AppName>/widget-resources
[8/14/14 10:07:17:261 CDT] 00000018 com.worklight.common.util.jmx.LibertyRuntimeMBeanHandler I Establishing REST connection to service:jmx:rest://localhost:9443/IBMJMXConnectorREST
[8/14/14 10:07:17:291 CDT] 00000023 com.worklight.common.util.jmx.LibertyJMXRegister I FWLSE2008I: MBean registration succeeded for: com.worklight.common.server.jmx.api:type=WorklightAdmin,qualifier=worklightadmin
[8/14/14 10:07:17:295 CDT] 00000023 SystemErr R 89 WorklightManagementPU-derby INFO [Default Executor-thread-5] openjpa.Runtime - Starting OpenJPA 1.2.2
[8/14/14 10:07:17:484 CDT] 00000023 SystemErr R 278 WorklightManagementPU-derby INFO [Default Executor-thread-5] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.8.2.2 - (1181258) ,Apache Derby Embedded JDBC Driver 10.8.2.2 - (1181258)).
[8/14/14 10:07:17:493 CDT] 0000001b com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8203I: Database product name : DB2/LINUXX8664
[8/14/14 10:07:17:494 CDT] 0000001b com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8204I: Database product version : SQL10053
[8/14/14 10:07:17:494 CDT] 0000001b com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8205I: JDBC driver name : IBM Data Server Driver for JDBC and SQLJ
[8/14/14 10:07:17:494 CDT] 0000001b com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8206I: JDBC driver version : 4.17.29
[8/14/14 10:07:17:495 CDT] 0000001b com.ibm.worklight.dataaccess.datastore.DataStore I constructor Creating EntityManagerFactory for persistence-unit=WorklightManagementPU-derby with properties: {openjpa.ConnectionFactory=com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource@4e3d24d8, openjpa.jdbc.SynchronizeMappings=buildSchema(SchemaAction='add')}
[8/14/14 10:07:18:017 CDT] 0000001b com.worklight.common.util.jmx.LibertyJMXRegister I FWLSE2008I: MBean registration succeeded for: com.worklight.common.server.jmx.api:type=WorklightAdmin_WL_Config,qualifier=worklightadmin
[8/14/14 10:07:18:030 CDT] 0000001b SystemErr R 69 WorklightManagementPU-derby INFO [Default Executor-thread-4] openjpa.Runtime - Starting OpenJPA 1.2.2
[8/14/14 10:07:18:230 CDT] 0000001b SystemErr R 269 WorklightManagementPU-derby INFO [Default Executor-thread-4] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DB2Dictionary" (DB2/LINUXX8664 SQL10053 ,IBM Data Server Driver for JDBC and SQLJ 4.17.29).
[8/14/14 10:07:19:253 CDT] 00000023 SystemErr R 2046 WorklightManagementPU-derby INFO [Default Executor-thread-5] openjpa.Runtime - Though you are using optimistic transactions, OpenJPA is now beginning a datastore transaction because you have requested a lock on some data.
[8/14/14 10:07:19:317 CDT] 00000023 SystemErr R 2110 WorklightManagementPU-derby INFO [Default Executor-thread-5] openjpa.Runtime - Though you are using optimistic transactions, OpenJPA is now beginning a datastore transaction because you have requested a lock on some data.
[8/14/14 10:07:19:321 CDT] 00000023 org.springframework.web.context.ContextLoader I Root WebApplicationContext: initialization completed in 6873 ms
[8/14/14 10:07:19:329 CDT] 00000023 ht.admin.listeners.WorklightManagementServletContextListener I Worklight admin servlet context listener initialized
[8/14/14 10:07:19:331 CDT] 00000023 ht.admin.listeners.WorklightManagementServletContextListener I FWLSE3199I: ========= Worklight Admin Services version 6.2.0.00-20140801-1709 started.
[8/14/14 10:07:19:382 CDT] 00000023 org.apache.wink.server.internal.servlet.RestServlet I The system is using the com.ibm.worklight.admin.services.ManagementServiceServlet JAX-RS application class that is named in the javax.ws.rs.Application init-param initialization parameter.
[8/14/14 10:07:19:398 CDT] 0000001a com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8203I: Database product name : DB2/LINUXX8664
[8/14/14 10:07:19:398 CDT] 0000001a com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8204I: Database product version : SQL10053
[8/14/14 10:07:19:398 CDT] 0000001a com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8205I: JDBC driver name : IBM Data Server Driver for JDBC and SQLJ
[8/14/14 10:07:19:398 CDT] 0000001a com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8206I: JDBC driver version : 4.17.29
[8/14/14 10:07:19:399 CDT] 0000001a SystemErr R dataBaseFromDataSource=true
[8/14/14 10:07:19:399 CDT] 0000001a SystemErr R dataBaseUrl=jdbc:db2://10.80.25.54:60006/APPCNTR
[8/14/14 10:07:19:400 CDT] 0000001a SystemErr R dataBaseDriver=IBM Data Server Driver for JDBC and SQLJ
[8/14/14 10:07:19:400 CDT] 0000001a SystemErr R dataBaseDriverVersion=4.17
[8/14/14 10:07:19:400 CDT] 0000001a SystemErr R dataBaseProduct=DB2/LINUXX8664
[8/14/14 10:07:19:400 CDT] 0000001a SystemErr R dataBaseVersion=SQL10053
[8/14/14 10:07:19:400 CDT] 0000001a SystemErr R dataBaseUser=<AdminUserId>
[8/14/14 10:07:19:401 CDT] 0000001a com.ibm.puremeap.resources.data.impl.PureMeapData I constructor Creating EntityManagerFactory for persistence-unit=appcenterdb-db2 with properties: {openjpa.ConnectionFactory=com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource@2d43fc61}
[8/14/14 10:07:19:915 CDT] 00000023 com.ibm.ws.app.manager.AppMessageHelper I CWWKZ0018I: Starting application appcenterconsole.
[8/14/14 10:07:20:038 CDT] 0000001a SystemErr R 237 appcenterdb-db2 INFO [Default Executor-thread-3] openjpa.Runtime - Starting OpenJPA 1.2.2
[8/14/14 10:07:20:058 CDT] 00000023 com.ibm.ws.webcontainer.osgi.webapp.WebGroup I SRVE0169I: Loading Web Module: ApplicationCenterConsole.
[8/14/14 10:07:20:231 CDT] 00000023 com.ibm.ws.app.manager.AppMessageHelper A CWWKZ0001I: Application _MobileBrowserSimulator started in 0.065 seconds.
[8/14/14 10:07:20:324 CDT] 0000001a SystemErr R 523 appcenterdb-db2 INFO [Default Executor-thread-3] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DB2Dictionary" (DB2/LINUXX8664 SQL10053 ,IBM Data Server Driver for JDBC and SQLJ 4.17.29).
[8/14/14 10:07:20:384 CDT] 0000001b SystemErr R 2423 WorklightManagementPU-derby INFO [Default Executor-thread-4] openjpa.Runtime - Though you are using optimistic transactions, OpenJPA is now beginning a datastore transaction because you have requested a lock on some data.
[8/14/14 10:07:09:966 CDT] 00000018 SystemErr R 79 WorklightPU WARN [Default Executor-thread-2] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'WorklightPU', root URL [file:/opt/IBM/WebSphere/Liberty/usr/shared/resources/worklight-jee-library-6.2.0.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
[8/14/14 10:07:10:740 CDT] 00000023 com.ibm.ws.webcontainer.osgi.webapp.WebGroup I SRVE0169I: Loading Web Module: Worklight Administration Services.
[8/14/14 10:07:11:696 CDT] 0000001b com.ibm.ws.session.WASSessionCore I SESN0176I: A new session context will be created for application key default_host/wladmin
[8/14/14 10:07:11:697 CDT] 0000001b com.ibm.ws.util I SESN0172I: The session manager is using the Java default SecureRandom implementation for session ID generation.
[8/14/14 10:07:12:258 CDT] 00000018 SystemErr R 2371 WorklightPU INFO [Default Executor-thread-2] openjpa.Runtime - Starting OpenJPA 1.2.2
[8/14/14 10:07:12:445 CDT] 0000001a com.ibm.ws.webcontainer.osgi.webapp.WebGroup I SRVE0169I: Loading Web Module: analytics.
[8/14/14 10:07:12:445 CDT] 0000001a com.ibm.ws.webcontainer I SRVE0250I: Web Module analytics has been bound to default_host.
[8/14/14 10:07:12:446 CDT] 0000001a com.ibm.ws.http.internal.VirtualHostImpl A CWWKT0016I: Web application available (default_host): http://hqdvwkl001:9080/_analytics/
[8/14/14 10:07:12:447 CDT] 00000023 com.ibm.ws.webcontainer.webapp I SRVE0292I: Servlet Message - [worklight-management-service]:.Initializing Spring root WebApplicationContext
[8/14/14 10:07:12:448 CDT] 00000023 org.springframework.web.context.ContextLoader I Root WebApplicationContext: initialization started
[8/14/14 10:07:12:450 CDT] 00000018 SystemErr R 2562 WorklightPU INFO [Default Executor-thread-2] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.HSQLDictionary".
[8/14/14 10:07:12:522 CDT] 00000023 springframework.web.context.support.XmlWebApplicationContext I Refreshing org.springframework.web.context.support.XmlWebApplicationContext@dcd88ea: display name [Root WebApplicationContext]; startup date [Thu Aug 14 10:07:12 CDT 2014]; root of context hierarchy
[8/14/14 10:07:16:528 CDT] 00000023 com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8203I: Database product name : Apache Derby
[8/14/14 10:07:16:529 CDT] 00000023 com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8204I: Database product version : 10.8.2.2 - (1181258)
[8/14/14 10:07:16:529 CDT] 00000023 com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8205I: JDBC driver name : Apache Derby Embedded JDBC Driver
[8/14/14 10:07:16:529 CDT] 00000023 com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8206I: JDBC driver version : 10.8.2.2 - (1181258)
[8/14/14 10:07:16:617 CDT] 00000023 com.ibm.worklight.dataaccess.datastore.DataStore I constructor Creating EntityManagerFactory for persistence-unit=WorklightManagementPU-derby with properties: {openjpa.ConnectionFactory=com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource@43e3cae, openjpa.jdbc.SynchronizeMappings=buildSchema(SchemaAction='add')}
[8/14/14 10:07:16:817 CDT] 00000018 com.worklight.server.database.api.WorklightDataSource I FWLSE0187I: jdbc/WorklightReportsDS data source is disabled. No connection opened. [project <AppName>]
[8/14/14 10:07:16:838 CDT] 00000018 ringframework.orm.jpa.LocalContainerEntityManagerFactoryBean I Building JPA container EntityManagerFactory for persistence unit 'WorklightReportsPU'
[8/14/14 10:07:16:841 CDT] 00000018 SystemErr R 0 WorklightReportsPU WARN [Default Executor-thread-2] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'WorklightReportsPU', root URL [file:/opt/IBM/WebSphere/Liberty/usr/shared/resources/worklight-jee-library-6.2.0.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
/opt/IBM/WebSphere/Liberty/usr/servers/Worklignt_CE_Dev/workarea/org.eclipse.osgi/bundles/79/data/temp/default_node/SMF_WebContainer/<AppName>/<AppName>/widget-resources
[8/14/14 10:07:17:261 CDT] 00000018 com.worklight.common.util.jmx.LibertyRuntimeMBeanHandler I Establishing REST connection to service:jmx:rest://localhost:9443/IBMJMXConnectorREST
[8/14/14 10:07:17:291 CDT] 00000023 com.worklight.common.util.jmx.LibertyJMXRegister I FWLSE2008I: MBean registration succeeded for: com.worklight.common.server.jmx.api:type=WorklightAdmin,qualifier=worklightadmin
[8/14/14 10:07:17:295 CDT] 00000023 SystemErr R 89 WorklightManagementPU-derby INFO [Default Executor-thread-5] openjpa.Runtime - Starting OpenJPA 1.2.2
[8/14/14 10:07:17:484 CDT] 00000023 SystemErr R 278 WorklightManagementPU-derby INFO [Default Executor-thread-5] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.8.2.2 - (1181258) ,Apache Derby Embedded JDBC Driver 10.8.2.2 - (1181258)).
[8/14/14 10:07:17:493 CDT] 0000001b com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8203I: Database product name : DB2/LINUXX8664
[8/14/14 10:07:17:494 CDT] 0000001b com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8204I: Database product version : SQL10053
[8/14/14 10:07:17:494 CDT] 0000001b com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8205I: JDBC driver name : IBM Data Server Driver for JDBC and SQLJ
[8/14/14 10:07:17:494 CDT] 0000001b com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8206I: JDBC driver version : 4.17.29
[8/14/14 10:07:17:495 CDT] 0000001b com.ibm.worklight.dataaccess.datastore.DataStore I constructor Creating EntityManagerFactory for persistence-unit=WorklightManagementPU-derby with properties: {openjpa.ConnectionFactory=com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource@4e3d24d8, openjpa.jdbc.SynchronizeMappings=buildSchema(SchemaAction='add')}
[8/14/14 10:07:18:017 CDT] 0000001b com.worklight.common.util.jmx.LibertyJMXRegister I FWLSE2008I: MBean registration succeeded for: com.worklight.common.server.jmx.api:type=WorklightAdmin_WL_Config,qualifier=worklightadmin
[8/14/14 10:07:18:030 CDT] 0000001b SystemErr R 69 WorklightManagementPU-derby INFO [Default Executor-thread-4] openjpa.Runtime - Starting OpenJPA 1.2.2
[8/14/14 10:07:18:230 CDT] 0000001b SystemErr R 269 WorklightManagementPU-derby INFO [Default Executor-thread-4] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DB2Dictionary" (DB2/LINUXX8664 SQL10053 ,IBM Data Server Driver for JDBC and SQLJ 4.17.29).
[8/14/14 10:07:19:253 CDT] 00000023 SystemErr R 2046 WorklightManagementPU-derby INFO [Default Executor-thread-5] openjpa.Runtime - Though you are using optimistic transactions, OpenJPA is now beginning a datastore transaction because you have requested a lock on some data.
[8/14/14 10:07:19:317 CDT] 00000023 SystemErr R 2110 WorklightManagementPU-derby INFO [Default Executor-thread-5] openjpa.Runtime - Though you are using optimistic transactions, OpenJPA is now beginning a datastore transaction because you have requested a lock on some data.
[8/14/14 10:07:19:321 CDT] 00000023 org.springframework.web.context.ContextLoader I Root WebApplicationContext: initialization completed in 6873 ms
[8/14/14 10:07:19:329 CDT] 00000023 ht.admin.listeners.WorklightManagementServletContextListener I Worklight admin servlet context listener initialized
[8/14/14 10:07:19:331 CDT] 00000023 ht.admin.listeners.WorklightManagementServletContextListener I FWLSE3199I: ========= Worklight Admin Services version 6.2.0.00-20140801-1709 started.
[8/14/14 10:07:19:382 CDT] 00000023 org.apache.wink.server.internal.servlet.RestServlet I The system is using the com.ibm.worklight.admin.services.ManagementServiceServlet JAX-RS application class that is named in the javax.ws.rs.Application init-param initialization parameter.
[8/14/14 10:07:19:398 CDT] 0000001a com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8203I: Database product name : DB2/LINUXX8664
[8/14/14 10:07:19:398 CDT] 0000001a com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8204I: Database product version : SQL10053
[8/14/14 10:07:19:398 CDT] 0000001a com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8205I: JDBC driver name : IBM Data Server Driver for JDBC and SQLJ
[8/14/14 10:07:19:398 CDT] 0000001a com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper I DSRA8206I: JDBC driver version : 4.17.29
[8/14/14 10:07:19:399 CDT] 0000001a SystemErr R dataBaseFromDataSource=true
[8/14/14 10:07:19:399 CDT] 0000001a SystemErr R dataBaseUrl=jdbc:db2://10.80.25.54:60006/APPCNTR
[8/14/14 10:07:19:400 CDT] 0000001a SystemErr R dataBaseDriver=IBM Data Server Driver for JDBC and SQLJ
[8/14/14 10:07:19:400 CDT] 0000001a SystemErr R dataBaseDriverVersion=4.17
[8/14/14 10:07:19:400 CDT] 0000001a SystemErr R dataBaseProduct=DB2/LINUXX8664
[8/14/14 10:07:19:400 CDT] 0000001a SystemErr R dataBaseVersion=SQL10053
[8/14/14 10:07:19:400 CDT] 0000001a SystemErr R dataBaseUser=<AdminUserId>
[8/14/14 10:07:19:401 CDT] 0000001a com.ibm.puremeap.resources.data.impl.PureMeapData I constructor Creating EntityManagerFactory for persistence-unit=appcenterdb-db2 with properties: {openjpa.ConnectionFactory=com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource@2d43fc61}
[8/14/14 10:07:19:915 CDT] 00000023 com.ibm.ws.app.manager.AppMessageHelper I CWWKZ0018I: Starting application appcenterconsole.
[8/14/14 10:07:20:038 CDT] 0000001a SystemErr R 237 appcenterdb-db2 INFO [Default Executor-thread-3] openjpa.Runtime - Starting OpenJPA 1.2.2
[8/14/14 10:07:20:058 CDT] 00000023 com.ibm.ws.webcontainer.osgi.webapp.WebGroup I SRVE0169I: Loading Web Module: ApplicationCenterConsole.
[8/14/14 10:07:20:231 CDT] 00000023 com.ibm.ws.app.manager.AppMessageHelper A CWWKZ0001I: Application _MobileBrowserSimulator started in 0.065 seconds.
[8/14/14 10:07:20:324 CDT] 0000001a SystemErr R 523 appcenterdb-db2 INFO [Default Executor-thread-3] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DB2Dictionary" (DB2/LINUXX8664 SQL10053 ,IBM Data Server Driver for JDBC and SQLJ 4.17.29).
[8/14/14 10:07:20:384 CDT] 0000001b SystemErr R 2423 WorklightManagementPU-derby INFO [Default Executor-thread-4] openjpa.Runtime - Though you are using optimistic transactions, OpenJPA is now beginning a datastore transaction because you have requested a lock on some data.
访问worklight控制台时创建的日志:
[8/14/14 10:11:36:895 CDT] 00000066 com.ibm.worklight.dataaccess.datastore.DataStoreUtil I dereferenceProperties Handling propName=ibm.worklight.admin.db.jndi.name propValue=java:comp/env/jdbc/WorklightAdminDS
[8/14/14 10:11:36:895 CDT] 00000066 com.ibm.worklight.dataaccess.datastore.DataStoreUtil I dereferenceProperties Handling propName=ibm.worklight.admin.db.openjpa.Log propValue=
[8/14/14 10:11:36:895 CDT] 00000066 com.ibm.worklight.dataaccess.datastore.DataStoreUtil I dereferenceProperties Handling propName=ibm.worklight.admin.db.type propValue=
[8/14/14 10:11:36:898 CDT] 00000066 com.ibm.worklight.dataaccess.datastore.DataStore I constructor Creating EntityManagerFactory for persistence-unit=WorklightManagementPU-derby with properties: {openjpa.ConnectionFactory=com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource@154b37e5, openjpa.jdbc.SynchronizeMappings=buildSchema(SchemaAction='add')}
[8/14/14 10:11:36:941 CDT] 00000066 SystemErr R 20 WorklightManagementPU-derby INFO [Default Executor-thread-7] openjpa.Runtime - Starting OpenJPA 1.2.2
[8/14/14 10:11:36:942 CDT] 00000066 SystemErr R 22 WorklightManagementPU-derby INFO [Default Executor-thread-7] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DB2Dictionary" (DB2/LINUXX8664 SQL10053 ,IBM Data Server Driver for JDBC and SQLJ 4.17.29).
[8/14/14 10:11:37:236 CDT] 00000066 com.worklight.common.util.jmx.LibertyRuntimeMBeanHandler I Bean '*' does not exist.
[8/14/14 10:11:37:236 CDT] 00000066 com.ibm.worklight.admin.services.RuntimeService I No mxbeans found
[8/14/14 10:11:37:380 CDT] 00000074 com.worklight.common.util.jmx.LibertyRuntimeMBeanHandler I Bean '*' does not exist.
[8/14/14 10:11:37:381 CDT] 00000074 com.ibm.worklight.admin.services.RuntimeService I No mxbeans found
带有消息的工作灯控制台的屏幕截图:
如果任何输入需要任何其他信息,请与我们联系。
答案 0 :(得分:2)
您遇到的问题是Liberty Profile 8.5.5.2中的问题。该问题被跟踪为APAR PI17830。目前针对Liberty Profile 8.5.5.3计划了此问题的修复程序,但尚未提供。
在此期间,请降级到Liberty Profile 8.5.5.1,并确保您使用Worklight Studio的8月1日(或更高版本)版本。