axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luciana Trubian" <>
Subject Axis c++ 1.6b: does not write Log File
Date Thu, 25 Oct 2007 15:21:53 GMT
Hi all,
I read the Axis c++ Trace Guide in order to use log file in my web
service, but it doesn't work.

I use Read Hat Unbreakable and my web service is part Java (client)
part c++ (server side code).
In axiscpp.conf I have this variables setting to the following paths:


I also set the AXISCPP_STARTUP_TRACE variable:

export AXISCPP_STARTUP_TRACE=/tmp/fileLogServer.txt

The tmp directory and the .txt files have the permissions to read and
write for all the users.
I restart Apache 2.0, I launch the client  but it doesn't write the Log Files.

Probably the Client log path in unused because a I have a Java client.

I need to log the server because I want to implement the connection
(server side) to an Oracle database in this way:


#include <occi.h>

using namespace oracle::occi;

// Constructor

// Deconstructor

xsd__string VDP::myMethod(xsd__string Value0)
	Environment *env = Environment::createEnvironment(Environment::DEFAULT);
	  catch (SQLException ea)

I compile the code in this way:

g++ -fPIC -shared -o *.cpp -lssl -locci -lclntsh -I.

When I try to execute the client that call myMethod() I have the
following error:
 faultCode: {}Server
 faultString: Library loading failed
 faultActor: server name:listen port
	{}appSpecific:AxisEngineException:Library loading failed

Library loading failed
	at org.apache.axis.message.SOAPFaultBuilder.createFault(

I use the ldd command on to check all the dependencies
but every library and every directory have the permission to write and
execute for all the users.

If I recompile the code without the options -locci -lclntsh
-L/opt/instantclient_10_2 and of course in my code I comment the lines
related to the Oracle connection, it works fine without problems.
I also wrote a mini executable program as root (not a web services)
that use the same libraries, compile in same manner with the same code
line to connect to Oracle and it works fine.
Only the service doesn't work, it seems to be an Apache problems, that
is unable to load some libraries.... but I really don't know...

Any ideas?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message