[prev in list] [next in list] [prev in thread] [next in thread]
List: wsf-java-user
Subject: Re: [User] Fw: BPS server is unable to start in eclipse
From: Thilini Ishaka <thilini () wso2 ! com>
Date: 2012-09-26 6:50:18
Message-ID: CAN3YY5jDTcY8LTY5PWAnm_1ML_+9NP-e+77nVjD4+iPiR4+-tw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
What is the bps version you tried out? Is it bps 2.1.2 released pack taken
from [1]?
[1] http://wso2.com/products/business-process-server
Thanks
Thilini
On Tue, Sep 25, 2012 at 5:45 PM, 温云龙 <ylyy-1985@163.com> wrote:
> **
> **
> 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
> User@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/user
>
>
--
*Thilini Ishaka
WSO2 Inc. http://wso2.com*
*bolg: thiliniishaka.blogspot.com*
*linkedin: http://lk.linkedin.com/in/thiliniishaka*
*twitter: https://twitter.com/#!/ThiliniIsh*
[Attachment #5 (text/html)]
Hi,<div><br></div><div>What is the bps version you tried out? Is it bps 2.1.2 \
released pack taken from [1]?</div><div><br></div><div>[1] <a \
href="http://wso2.com/products/business-process-server">http://wso2.com/products/business-process-server</a></div>
<meta http-equiv="content-type" content="text/html; \
charset=utf-8"><div><br></div><div>Thanks</div><div>Thilini<br><br><div \
class="gmail_quote">On Tue, Sep 25, 2012 at 5:45 PM, 温云龙 <span dir="ltr"><<a \
href="mailto:ylyy-1985@163.com" target="_blank">ylyy-1985@163.com</a>></span> \
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><u></u>
<div style="LINE-HEIGHT:1.3;BORDER-RIGHT-WIDTH:0px;MARGIN:12px;BORDER-TOP-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-LEFT-WIDTH:0px" \
marginheight="0" marginwidth="0"> <div>
<div><font face="Verdana"><strong></strong></font></div></div>
<div><font face="Verdana">
<div><font color="#000000" face="Arial">hi all:</font></div>
<div><font color="#000000" face="Arial"></font> </div>
<div style="TEXT-INDENT:2em"><font color="#000000" face="Arial">I confront a
problem when running the BPS server in eclipse.</font></div>
<div style="TEXT-INDENT:2em"><font color="#000000" face="Arial">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:</font></div>
<div style="TEXT-INDENT:2em"><font color="#000000" face="Arial"></font> </div>
<div><font color="#808000" face="Arial">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<br>[2012-09-25
17:40:26,863] ERROR - DataSourceInformationFactory -
synapse.datasources.bps.driverClassName cannot be found.<br>[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<br>[2012-09-25 17:40:26,872] ERROR -
DataSourceInformationFactory - synapse.datasources.bps.driverClassName cannot be
found.<br>[2012-09-25 17:41:25,870] WARN - CarbonServerManager - Carbon
initialization is delayed due to the following unsatisfied items:<br>[2012-09-25
17:41:25,871] WARN - CarbonServerManager - Waiting for required OSGi
Service: org.wso2.carbon.bpel.core.BPELEngineService<br>[2012-09-25
17:42:25,870] WARN - CarbonServerManager - Carbon initialization is
delayed due to the following unsatisfied items:<br>[2012-09-25
17:42:25,870] WARN - CarbonServerManager - Waiting for required OSGi
Service: org.wso2.carbon.bpel.core.BPELEngineService</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">I follow the guide: use mysql.sql script to create
the database in mysql, then change "datasources.properties" :</font></div>
<div><font color="#808000">synapse.datasources=bps(<font color="#ff0000">bps
is my
database</font>)<br>synapse.datasources.icFactory=com.sun.jndi.rmi.registry.RegistryContextFactory<br>## \
If following property is present , then assumes that there is an external JNDI
provider and will not start a RMI
registry<br>#synapse.datasources.providerUrl=rmi://localhost:2199<br>synapse.datasources.providerPort=2199</font></div>
<div> </div>
<div><font color="#808000">synapse.datasources.bpsds.registry=JNDI<br>synapse.datasour \
ces.bpsds.type=BasicDataSource<br>;synapse.datasources.bpsds.driverClassName=org.h2.Dr \
iver<br>;synapse.datasources.bpsds.url=jdbc:h2:file:repository/database/jpadb;MVCC=TRUE<br>
;synapse.datasources.bpsds.username=wso2carbon<br>;synapse.datasources.bpsds.password= \
wso2carbon<br>synapse.datasources.bpsds.driverClassName=com.mysql.jdbc.Driver<br>synapse.datasources.bpsds.url=jdbc:mysql://localhost:3306/bps<br>
synapse.datasources.bpsds.username=root \
<br>synapse.datasources.bpsds.password=<br>synapse.datasources.bpsds.dsName=bps<br>syn \
apse.datasources.bpsds.maxActive=100<br>synapse.datasources.bpsds.maxIdle=20<br>synapse.datasources.bpsds.maxWait=10000</font></div>
<div><font color="#808000"></font> </div>
<div>and change registry.xml file to:</div>
<div> </div>
<div><font color="#808000"> \
<url>jdbc:mysql://localhost:3306/bps?autoReconnect=true</url><br> \
<userName>root</userName><br> <password>root</password><br> \
<driverName>com.mysql.jdbc.Driver</driverName><br>
<maxActive>50</maxActive><br>
<maxWait>60000</maxWait><br>
<minIdle>5</minIdle><br>
</dbConfig></font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">mysql drive has been placed to
"CARBON_HOME\wso2bps-2.1.2\repository\components\lib"</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">anyone can help??</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial"></font> </div>
<div align="left"><font color="#c0c0c0" face="Arial">2012-09-25</font></div><font \
face="Arial"> <hr style="WIDTH:122px;min-height:2px" align="left" size="2">
Andes</font><u></u></font></div></div><br>_______________________________________________<br>
User mailing list<br>
<a href="mailto:User@wso2.org">User@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/user" \
target="_blank">http://wso2.org/cgi-bin/mailman/listinfo/user</a><br> \
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><span \
style="color:black"></span><div><font color="#666666" \
style="color:rgb(136,136,136);border-collapse:collapse" size="1" face="'times new \
roman', serif"><i>Thilini Ishaka<br>
<span style="border-collapse:separate">WSO2 Inc. <span \
style="border-collapse:collapse"><a href="http://wso2.com/" \
style="color:rgb(17,85,204)" \
target="_blank">http://wso2.com</a></span></span></i></font><div><div><div \
style="border-collapse:collapse;color:rgb(136,136,136)">
<font color="#666666" size="1" face="'times new roman', serif"><i>bolg: <a \
href="http://thiliniishaka.blogspot.com/" style="color:rgb(17,85,204)" \
target="_blank">thiliniishaka.blogspot.com</a></i></font></div><div \
style="border-collapse:collapse;color:rgb(136,136,136)">
<font color="#666666" size="1" face="'times new roman', serif"><i>linkedin: \
<a href="http://lk.linkedin.com/in/thiliniishaka" \
target="_blank">http://lk.linkedin.com/in/thiliniishaka</a></i></font></div><div><font \
color="#888888" size="1" face="'times new roman', serif"><span \
style="border-collapse:collapse"><i>twitter: <a \
href="https://twitter.com/#!/ThiliniIsh" \
target="_blank">https://twitter.com/#!/ThiliniIsh</a></i></span></font></div>
</div></div></div><div><div></div></div><br>
</div>
_______________________________________________
User mailing list
User@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic