hi all:
I confront a problem when running the BPS server in eclipse.
I use carbon studio to create a carbon application project then a bpel project,
follow the "quick guide" in the BPS page, then config a BPS server, add the
bpel file to the server, and click "run" to run the server. But the console
just print the following log:
2012-09-25 17:40:26,863] INFO - JNDIBasedDataSourceRepository - DataSources
will be registered in the JNDI context with provider PROP_URL :
rmi://wenyunlong-PC:2199
[2012-09-25 17:40:26,863] ERROR - DataSourceInformationFactory -
synapse.datasources.bps.driverClassName cannot be found.
[2012-09-25 17:40:26,871] INFO - JNDIBasedDataSourceRepository - DataSources
will be registered in the JNDI context with provider PROP_URL :
rmi://wenyunlong-PC:2199
[2012-09-25 17:40:26,872] ERROR - DataSourceInformationFactory -
synapse.datasources.bps.driverClassName cannot be found.
[2012-09-25 17:41:25,870] WARN - CarbonServerManager - Carbon initialization
is delayed due to the following unsatisfied items:
[2012-09-25 17:41:25,871] WARN - CarbonServerManager - Waiting for required
OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
[2012-09-25 17:42:25,870] WARN - CarbonServerManager - Carbon initialization
is delayed due to the following unsatisfied items:
[2012-09-25 17:42:25,870] WARN - CarbonServerManager - Waiting for required
OSGi Service: org.wso2.carbon.bpel.core.BPELEngineService
I follow the guide: use mysql.sql script to create the database in mysql, then
change "datasources.properties" :
synapse.datasources=bps(bps is my database)
synapse.datasources.icFactory=com.sun.jndi.rmi.registry.RegistryContextFactory
## If following property is present , then assumes that there is an external
JNDI provider and will not start a RMI registry
#synapse.datasources.providerUrl=rmi://localhost:2199
synapse.datasources.providerPort=2199
synapse.datasources.bpsds.registry=JNDI
synapse.datasources.bpsds.type=BasicDataSource
;synapse.datasources.bpsds.driverClassName=org.h2.Driver
;synapse.datasources.bpsds.url=jdbc:h2:file:repository/database/jpadb;MVCC=TRUE
;synapse.datasources.bpsds.username=wso2carbon
;synapse.datasources.bpsds.password=wso2carbon
synapse.datasources.bpsds.driverClassName=com.mysql.jdbc.Driver
synapse.datasources.bpsds.url=jdbc:mysql://localhost:3306/bps
synapse.datasources.bpsds.username=root
synapse.datasources.bpsds.password=
synapse.datasources.bpsds.dsName=bps
synapse.datasources.bpsds.maxActive=100
synapse.datasources.bpsds.maxIdle=20
synapse.datasources.bpsds.maxWait=10000
and change registry.xml file to:
<url>jdbc:mysql://localhost:3306/bps?autoReconnect=true</url>
<userName>root</userName>
<password>root</password>
<driverName>com.mysql.jdbc.Driver</driverName>
<maxActive>50</maxActive>
<maxWait>60000</maxWait>
<minIdle>5</minIdle>
</dbConfig>
mysql drive has been placed to
"CARBON_HOME\wso2bps-2.1.2\repository\components\lib"
anyone can help??
2012-09-25
Andes_______________________________________________
User mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/user