hu jing wrote:
First I run the runwsserver.sh in the bigbank.accout directory, and then run
the runwsclient.sh in the bigbank.accout.wsclient directory.
the axis_http-server will return a segmentation fault. Can I help me with
this problem. Thanks very much
Not sure if you've seen that email on [email protected] [1], but
Giorgio was trying to help and asking for a GDB backtrace.
the environment variables set:
export LIBXML2_LIB=/usr/lib
export LIBXML2_INCLUDE=/usr/include/libxml2
export AXIS2C_HOME=/usr/local/axis2c
export PYTHON_INCLUDE=/usr/include/python2.6
export PYTHON_VERSION=/python2.6
export PYTHON_LIB=/usr/lib/python2.6
export RUBY_INCLUDE=/usr/lib/ruby/1.8/i486-linux
export RUBY_LIB=/usr/lib
export PYTHONPATH=$TUSCANY_SCACPP/extensions/python/lib:$PYTHONPATH
export TUSCANY_SCACPP_DEFAULT_COMPONENT=bigbank.AccountManagementComponent
export
TUSCANY_SCACPP_SYSTEM_ROOT=/usr/local/tuscany/sca/samples/RubyBigBank/deploy
the error is below:
...
2222:3077974896 Unsupported implementation type:
http://www.osoa.org/xmlns/sca/1.0#RubyImplementation
2222:3077974896 Failed to initialize SCA runtime: Exception
Class: SystemConfigurationException
Description: Implementation type not supported:
http://www.osoa.org/xmlns/sca/1.0#RubyImplementation
Origin:
File: tuscany/sca/model/ModelLoader.cpp
Line: 383
Function: void
tuscany::sca::model::ModelLoader::addComponent(tuscany::sca::model::Composite*,
commonj::sdo::DataObjectPtr)
...
I'm assuming that you're using the M3 cpp release. I've not looked at
that old Ruby integration code for a long time, but the error message
indicates that it's failing to load the Ruby runtime extension.
Can you check that:
- you've configured your SCA build with ./configure --enable-ruby;
- your Ruby runtime libraries are on your PATH and LD_LIBRARY_PATH?
By the way, the latest code in the sca-cpp trunk [2] doesn't have that
Ruby support at the moment, but I'll be happy to help if anyone is
interested in re-activating it in trunk.
[1] http://marc.info/?l=tuscany-dev&m=128179992027737&w=2
[2] http://svn.apache.org/repos/asf/tuscany/sca-cpp/trunk/
--
Jean-Sebastien