Do we have the daemon mode on our checklist?

Samisa...


On Tue, May 4, 2010 at 8:17 AM, Afkham Azeez <az...@wso2.com> wrote:

> That needs to be added to the wrapper.conf file. The problem should exist
> in other products as well.
>
> Azeez
>
> On Mon, May 3, 2010 at 6:04 PM, Waruna Ranasinghe <war...@wso2.com> wrote:
>
>> Hi devs,
>>
>> I started the server using following command
>>
>> wso2server.sh start
>>
>> The stack-trace is given below
>>
>> [2010-05-03 17:09:00,362] ERROR -  Error occurred during initialization
>> of BPEL Server {org.wso2.carbon.bpel.BPELDeployer}
>> java.lang.NullPointerException
>>         at java.io.File.<init>(File.java:222)
>>         at
>> org.wso2.carbon.bpel.ode.integration.BPELServerManager.initBPELServer(BPELServerManager.java:111)
>>         at org.wso2.carbon.bpel.BPELDeployer.init(BPELDeployer.java:155)
>>         at
>> org.apache.axis2.deployment.DeploymentEngine.addDeployer(DeploymentEngine.java:1405)
>>         at
>> org.wso2.carbon.utils.deployment.service.processors.DeployerServiceProcessor.processConfigurationService(DeployerServiceProcessor.java:39)
>>         at
>> org.wso2.carbon.utils.deployment.service.listeners.Axis2ConfigServiceListener.processRegisteredAxis2ConfigServices(Axis2ConfigServiceListener.java:91)
>>         at
>> org.wso2.carbon.utils.deployment.service.listeners.Axis2ConfigServiceListener.serviceChanged(Axis2ConfigServiceListener.java:54)
>>
>>
>> The code snippet is given below
>>
>> public void initBPELServer(AxisConfiguration axisConfig) throws Exception
>> {
>>         this.axisConfig = axisConfig;
>>        String carbonConfDir =
>> System.getProperty(ServerConstants.CARBON_CONFIG_DIR_PATH);
>>
>>         this.configDir = new File(carbonConfDir); *//line no: 111*
>>
>>
>> It seems that ServerConstants.CARBON_CONFIG_DIR_PATH property is not
>> available when starting as a UNIX daemon. This works fine, if I start the
>> server using wso2server.sh command.
>>
>>
>> Thanks
>> Waruna
>>
>> --
>> -------------------------------------------------------------------------
>> Waruna Ranasinghe
>> Software Engineer, WSO2
>>
>> Mobile: +94 724 318285
>> BLOG: http://warunapw.blogspot.com
>>
>> www.wso2.com - "Lean . Enterprise . Middleware"
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Afkham Azeez
> Software Architect & Product Manager, WSO2 WSAS; WSO2, Inc.;
> http://wso2.com, Lean . Enterprise . Middleware
> Member; Apache Software Foundation; http://www.apache.org/
> email: az...@wso2.com cell: +94 77 3320919
> blog: http://blog.afkham.org
> twitter: http://twitter.com/afkham_azeez
> linked-in: http://lk.linkedin.com/in/afkhamazeez
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
> --
Samisa Abeysinghe
Director, Engineering - WSO2 Inc.

http://wso2.com/ - "lean . enterprise . middleware"
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to