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

Reply via email to