Hi,
Our tester just found this very same problem the other day - I'll find out from him what the resolution was. (He's not in until tomorrow UK time). Yes, the version is supposedly 2.2.0 i.e. that's what it says on the can !
| "Antoine Galataud"
<[EMAIL PROTECTED]>
14/03/2006 14:46
|
|
Hi !
It's me, again !
I didn't have a lot of time to test since my last mail, but now I'm in.
I'm facing a strance problem, while running simple_axis_server : there are incorrect symbols referenced in libaxis_xerces.a, which is noramlly linked against xerces 2.2.0
When I run simple_axis_server, I get this in the startup logs :
[14/03/2006 15:38:14:466 NFT] 1 AxisConfig < getAxisConfProperty @205a2108,@2 "/kplustp/thirdparty/axis/c++/1.6a.n/rs6000/axis-c-1.6a.n-AIX-trace-bin /lib/axis/libaxis_xerces.a"
[14/03/2006 15:38:14:466 NFT] 1 XMLParserFactory > loadLib
[14/03/2006 15:38:14:958 NFT] 1 AxisEngineException > AxisEngineException @2ff209a8,------------>
[14/03/2006 15:38:14:958 NFT] 1 - I 29, "Failed to load parser within server engine:
[14/03/2006 15:38:14:958 NFT] 1 - I Error Message='Exec format error' Error Code='8'
[14/03/2006 15:38:14:958 NFT] 1 - I Load lib error=' 0509-130 Symbol resolution failed for /kplustp/thirdparty/axis/c++/1.6a.n/rs6000/axis- c-1.6a.n-AIX-trace-bin/lib/axis/libaxis_xerces.a because:
[14/03/2006 15:38:14:958 NFT] 1 - I 0509-136 Symbol setEncoding__Q2_11xercesc_2_211InputSourceFPCUs (number 30) is not exported from
[14/03/2006 15:38:14:958 NFT] 1 - I dependent module /kplustp/thirdparty/xml/xerces/c++/2_2_0/rs6000/lib/libxerces- c.a.
[14/03/2006 15:38:14:958 NFT] 1 - I 0509-136 Symbol setPublicId__Q2_11xercesc_2_211InputSourceFPCUs (number 31) is not exported from
[14/03/2006 15:38:14:958 NFT] 1 - I dependent module /kplustp/thirdparty/xml/xerces/c++/2_2_0/rs6000/lib/libxerces- c.a.
[14/03/2006 15:38:14:958 NFT] 1 - I 0509-136 Symbol setSystemId__Q2_11xercesc_2_211InputSourceFPCUs (number 32) is not exported from
[14/03/2006 15:38:14:958 NFT] 1 - I dependent module /kplustp/thirdparty/xml/xerces/c++/2_2_0/rs6000/lib/libxerces- c.a.
[14/03/2006 15:38:14:958 NFT] 1 - I 0509-136 Symbol transcode__Q2_11xercesc_2_29XMLStringFPCUs (number 35) is not exported from
[14/03/2006 15:38:14:958 NFT] 1 - I dependent module /kplustp/thirdparty/xml/xerces/c++/2_2_0/rs6000/lib/libxerces- c.a.
[14/03/2006 15:38:14:958 NFT] 1 - I 0509-136 S 78€ /g€"
For example, I will take setEncoding__Q2_11xercesc_2_211InputSourceFPCUs symbol. When I do a "dump -t libxerces-c.a", I can found a similar symbol, but not exactly the same : setEncoding__Q2_11xercesc_2_211InputSourceFCPCUs (please note the C missing at the end of first symbol).
I'm not sure we built with the same xerces version... Could you precise me the exact one you are using ?
2006/3/13, Antoine Galataud < [EMAIL PROTECTED]>:
Thanks a lot John ! It works ;-)
I'll try to give you more feedbacks asap;
Thanks again !
2006/3/13, John Hawkins <[EMAIL PROTECTED] >:
Hi Antoine,
can you try changing the build/buildApache13Module.xml file please.
There's a line there that currently reads -><linker extends="AIXLinker" >
<linkerarg value="-r" />
</linker>
can you change that to be
<linker extends="AIXLinker" >
<linkerarg value="-G" />
</linker>
this makes the compiler link at runtime - but I haven't got a runtime to try it on - but it does give you the load header and makes the file executable for you.
| "Antoine Galataud"
<[EMAIL PROTECTED]>
11/03/2006 17:20
|
|
Sure, I'm not familiar with AIX yet. What's strange is that all others libs built well. I don't think libaxiscpp_mod.so needs particular options, it just needs to be linked against apache libs... When I build all the distribution, every lib is executable (+x), except this one. Each one display a loader section when I execute dump command, except this one. I don't know where to search for this issue.
Thanks
2006/3/10, John Hawkins <[EMAIL PROTECTED] >:
no. My only suggestion is that you familiarise yourself more with the AIX compiler options.
| "Antoine Galataud"
<[EMAIL PROTECTED]
>
09/03/2006 16:59
|
|
No way, the libaxiscpp_mod.so is still corrupted ! (I tried with -brtl
and -c).
It's weird...
Do you have another idea ?
Thanks
2006/3/9, Antoine Galataud <
[EMAIL PROTECTED] >:
Thanks a lot ! I'll try that immediatly.
2006/3/9, John Hawkins <
[EMAIL PROTECTED]>:
OK, so been doing some random digging and found that -brtl might be part
of the problem - you could try putting that on the linker flags for the
mod ( in file build/buildApache13Module.xml) if not then start to look
at the -c flag as well.
Sorry - I have limited time but will continue to do some background digging
!
| "Antoine Galataud"
<
[EMAIL PROTECTED]>
09/03/2006 13:34
|
|
no, I use apache 1.3.34. Do you have a way to test "dump -Hv libaxiscpp_mod.a"
on an AIX system for the 1.6b release ? If so, tell me what it gives, it
could help !
Thanks
2006/3/9, John Hawkins <[EMAIL PROTECTED]
>:
Are you using apache 2?
I just found this comment in the ant scripts which says we don't build
the mod for that version (only 1.3)->
<!--
NOT BUILDING THIS MODULE ON AIX DUE TO SOAPATTACHMENT ISSUES (compile
and see what they are) -->
| "Antoine Galataud"
<
[EMAIL PROTECTED]
>
09/03/2006 13:01
|
|
Thanks for your answer !
That's right, this logs come from apache startup process. But I verified
with the command "dump -Hv", that normally gives the loader section
of a library. The result is the same, it can't find the loader section.
The other libs given in binary release (libaxis_server.a for example) are
good, the output of the command is right.
I also already tested simple_axis_server, it works (it launches, I didn't
tested examples).
Axis traces and axis startup traces are also enabled, though it gives no
output cause libaxiscpp_mod isn't loaded.
But I didn't tried a client yet, I'll do that and give you the result.
Many thanks again
2006/3/9, John Hawkins <
[EMAIL PROTECTED] >:
Hi,
Given this is an IBM platform I'll forgive the personal mail ;-) However,
if we keep this on the mailing list then others can see.
I'm surprised that you're having such difficulties - we used to build this
on 5.1 but now only 5.2.
Let's break this down slowly so we can analyse what works and what doesn't.
Have you got the client working on AIX? This would be a much easier thing
to verify. If you haven't done this then it might be a good idea
to make sure this slightly simpler piece of code works OK before we tackle
the server.
> > > Cannot load /home/antgalat/apache-rs6000/libexec/libaxiscpp_mod.so
> > > into server:
> > > 0509-022 Cannot load module
> > > /home/antgalat/apache-rs6000/libexec/libaxiscpp_mod.so.
> > > 0509-108 The .loader section does not exist.
Where did you see this error? it doesn't look like it came out of the trace
logs - it's apache right? It might be easier to run this outside of apache
for now while we fix this problem - try using simple axis server.
Have you put axis trace on? Have you put axis start trace on?
Now, I remember some wierd things we had to do on the client because you
can't mix .a and .so files on AIX they all have to be .a. Now, you don't
have to build them any differently just create links to the same files
but with .a all the way down the dependency chain.
Try this out and see what you get.
cheers,
John.
| Antoine Galataud <
[EMAIL PROTECTED]
>
09/03/2006 10:35 |
|
Hi,
Sorry for this personal mail, but I would like to tell you some private
things about the problem I had with AIX 5.1 (my normal email address is
[EMAIL PROTECTED]
on axis-c-user list).
So, I apologize in advance if it is not the right way to obtain help.
In fact, as you guessed with my email address, I'm from Reuters (Financial
Software). I'm working on an important development. We are currently trying
to deliver an open source web services framework (Axis has been chosen),
to replace the existing CORBA communication layer.
It is a hard technical and functional task, but you can guess so. Our application
is designed in services, some are written in Java (axis java used there),
some in C++.
To validate Axis framework (we want to provide our customers both open
source and commercial solutions), I have to test prototypes on different
platforms: Solaris, Linux, and AIX ( 5.1 by the way). It's very important
to us.
So, I want to ask you some help on AIX 5.1 Axis port: it could be a miracle
if you could give me some more precise indications on how to build Axis
or on how to make binary release work (this libaxiscpp_mod.so is driving
me crazy, please see http://marc.theaimsgroup.com/?l=axis-c-user&m=114182989220791&w=2
as a reminder);
Thanks in advance,
Regards,
Antoine
To find out more about Reuters visit www.about.reuters.com
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of Reuters
Ltd.
--
Antoine Galataud
[EMAIL PROTECTED]
D�partement Architecture des Syst�mes d'Information
INSA - Rouen
--
Antoine Galataud
[EMAIL PROTECTED]
D�partement Architecture des Syst�mes d'Information
INSA - Rouen
--
Antoine Galataud
[EMAIL PROTECTED]
D�partement Architecture des Syst�mes d'Information
INSA - Rouen
--
Antoine Galataud
[EMAIL PROTECTED]
D�partement Architecture des Syst�mes d'Information
INSA - Rouen
--
Antoine Galataud
[EMAIL PROTECTED]
D�partement Architecture des Syst�mes d'Information
INSA - Rouen
--
Antoine Galataud
[EMAIL PROTECTED]
Département Architecture des Systèmes d'Information
INSA - Rouen
--
Antoine Galataud
[EMAIL PROTECTED]
Département Architecture des Systèmes d'Information
INSA - Rouen
