axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Udupa" <rud...@easylink.com>
Subject RE: multiple configurations (multiple axis2.xml with different names)?
Date Wed, 15 Apr 2009 15:45:45 GMT
Hi,

 

I am using axis2c_1.5.0 release.

 

When I specify libDir and moduleDir in axis2.xml, axis2c client on Linux
still, axis2c client run time still does not use paths specified in
axis2.xml file and exits with an error.  I am attaching my axis2.xml
file.  I am specifying 

    <parameter name="libDir">/usr/local/axis2c/lib</parameter>

    <parameter name="moduleDir">/usr/local/axis2c/modules</parameter>

as children of axisconfig root element.

 

Here is the axis2client log

[Wed Apr 15 10:49:36 2009] [error] class_loader.c(162) Loading shared
library /usr/ops/5.0/config/wsclient/http/lib/libaxis2_http_sender.so
Failed. DLERROR IS
/usr/ops/5.0/config/wsclient/http/lib/libaxis2_http_sender.so: cannot
open shared object file: No such file or directory

[Wed Apr 15 10:49:36 2009] [error] conf_builder.c(898) Transport sender
is NULL for transport http, unable to continue

[Wed Apr 15 10:49:36 2009] [error] conf_builder.c(261) Processing
transport senders failed, unable to continue

[Wed Apr 15 10:49:36 2009] [error] dep_engine.c(939) Populating Axis2
Configuration failed

[Wed Apr 15 10:49:36 2009] [error] conf_init.c(195) Loading deployment
engine failed for client repository /usr/ops/5.0/config/wsclient/http

[Wed Apr 15 10:49:36 2009] [error] class_loader.c(162) Loading shared
library /usr/ops/5.0/config/wsclient/http/lib/libaxis2_http_sender.so
Failed. DLERROR IS
/usr/ops/5.0/config/wsclient/http/lib/libaxis2_http_sender.so: cannot
open shared object file: No such file or directory

[Wed Apr 15 10:49:36 2009] [error] conf_builder.c(898) Transport sender
is NULL for transport http, unable to continue

[Wed Apr 15 10:49:36 2009] [error] conf_builder.c(261) Processing
transport senders failed, unable to continue

[Wed Apr 15 10:49:36 2009] [error] dep_engine.c(939) Populating Axis2
Configuration failed

[Wed Apr 15 10:49:36 2009] [error] conf_init.c(195) Loading deployment
engine failed for client repository /usr/ops/5.0/config/wsclient/http

[Wed Apr 15 10:49:42 2009] [error] class_loader.c(162) Loading shared
library /usr/ops/5.0/config/wsclient/http/lib/libaxis2_http_sender.so
Failed. DLERROR IS
/usr/ops/5.0/config/wsclient/http/lib/libaxis2_http_sender.so: cannot
open shared object file: No such file or directory

[Wed Apr 15 10:49:42 2009] [error] conf_builder.c(898) Transport sender
is NULL for transport http, unable to continue

[Wed Apr 15 10:49:42 2009] [error] conf_builder.c(261) Processing
transport senders failed, unable to continue

 

 

I need to have lib and modules located in AXIS2C_HOME directory. I am
setting up soft links to actual lib and module dir. Once lib and modules
links are set up in axis2c_home dir every thing works fine.

 

Thanks,

Raghu

________________________________

From: Raymond Zhou [mailto:raywang999@yahoo.com] 
Sent: Tuesday, March 10, 2009 1:11 PM
To: Apache AXIS C User List
Subject: Re: multiple configurations (multiple axis2.xml with different
names)?

 

OK, I just tried, it seems that I can only use the name axis2.xml. I can
specify different folds and axis2/c will look for axis2.xml in that
fold. I can also specify a file path ended with axis2.xml. All works
fine. But axis2/c will fail to create a wb service client if I specify a
full file path with a name different from axis2.xml.

 

I think this needs to be fixed. In my environment, my web service client
needs to connect to several web service providers with different
configurations, it would be convenient if I can create several config
files with different names.

 

Thanks!
Frank

--- On Mon, 3/2/09, Samisa Abeysinghe <samisa@wso2.com> wrote:

	
	From: Samisa Abeysinghe <samisa@wso2.com>
	Subject: Re: multiple configurations (multiple axis2.xml with
different names)?
	To: "Apache AXIS C User List" <axis-c-user@ws.apache.org>
	Date: Monday, March 2, 2009, 1:35 AM

	Raymond Zhou wrote:
	> OK, Thanks Dinesh.
	>  So it seems that I can create multiple configuration files
all named axis2.xml but put in different folds, and in each axis2.xml,
specify the library and module locations pointing to the single axis2/c
installation.
	>  It would be nice if I can create multiple configuration files
with different names, so I can put them in a same fold, and then set the
axis2_home programmatically.
	> 
	
	That should be possible, but we might have to pach the current
implementation of config builder.
	
	Thanks,
	Samisa...
	
	>  Thanks!
	> Frank
	>  
	> 
	> --- On *Fri, 2/27/09, Dinesh Premalal /<xydinesh@gmail.com
<http://us.mc464.mail.yahoo.com/mc/compose?to=xydinesh@gmail.com> >/*
wrote:
	> 
	>     From: Dinesh Premalal <xydinesh@gmail.com
<http://us.mc464.mail.yahoo.com/mc/compose?to=xydinesh@gmail.com> >
	>     Subject: Re: multiple configurations (multiple axis2..xml
with
	>     different names)?
	>     To: axis-c-user@ws.apache.org
<http://us.mc464.mail.yahoo.com/mc/compose?to=axis-c-user@ws.apache.org>

	>     Cc: raywang999@yahoo.com
<http://us.mc464.mail.yahoo.com/mc/compose?to=raywang999@yahoo.com> , 
axis-c-dev@ws.apache.org
<http://us.mc464.mail.yahoo.com/mc/compose?to=axis-c-dev@ws.apache.org> 
	>     Date: Friday, February 27, 2009, 7:53 PM
	> 
	>     Raymond Zhou <raywang999@yahoo.com
<http://us.mc464.mail.yahoo.com/mc/compose?to=raywang999@yahoo.com> >
writes:
	>     > I was wondering if I can have multiple configuration
file with different
	>     name
	>     > in the same axis2_home fold. What I need is this: in the
same axis2_home
	>     fold,
	>     > I would like to have axis2_1.xml, axis2_2.xml,
axis2_3.xml and so on and
	>     so
	>     > forth, then when I want to connect to different web
servers, I can use
	>     these
	>     > different configuration files.
	> 
	>     http://wso2.org/library/3330
	> 
	>     thanks,
	>     Dinesh
	>               
	> 
	>
------------------------------------------------------------------------
	> 
	> 
	> Internal Virus Database is out of date.
	> Checked by AVG - http://www.avg.com <http://www.avg.com/>
Version: 8.0.176 / Virus Database: 270.10.7/1892 - Release Date:
1/13/2009 8:04 PM
	> 
	>   
	
	
	-- Samisa Abeysinghe Director, Engineering; WSO2 Inc.
	
	http://www.wso2.com/ - "The Open Source SOA Company"

 


Mime
View raw message