-
1. Re: Does BlackTie works on IBM AIX OS ?
tomjenkinson Nov 19, 2010 4:27 AM (in response to saravanan77)Hi Saravanan,
At the moment we do not provide direct support for the platforms that you have indicated however as they are UNIX variants I do not forsee too many problems.
We are currently working with the community to ensure that the software builds and runs OK on Solaris, we would welcome any help with investigating HP-UX and AIX. The main problem we have is procuring the operating systems for testing purposes, though I expect to be able to locate both of those somewhere at the labs so we will certainly add it to our roadmap.
I have created Jiras for these and would welcome any help you are able to provide:
AIX: https://jira.jboss.org/browse/BLACKTIE-339
HP-UX: https://jira.jboss.org/browse/BLACKTIE-340
Solaris: https://jira.jboss.org/browse/BLACKTIE-316
Looking forward to hearing back from you,
Tom
-
2. Re: Does BlackTie works on IBM AIX OS ?
saravanan77 Nov 22, 2010 12:02 AM (in response to tomjenkinson)Hi Tom,
Thanks for your quick response. We will try to compile all dependent third party libraries in IBM AIX.
Saravanan A
-
3. Re: Does BlackTie works on IBM AIX OS ?
tomjenkinson Nov 22, 2010 4:28 AM (in response to saravanan77)Hi Saravanan A,
That would be so great if you could please!
Tom
-
4. Re: Does BlackTie works on IBM AIX OS ?
jeanemile Dec 21, 2010 4:20 AM (in response to saravanan77)Hi,
I'm also trying to compile BlackTIE on AIX.
However, I have some difficulties on stage with maven. I managed to compile the thirdparty and also to BUILD SUCCESSFUL with ant.
ant -Dlinux=true -Dbpa=aix32
But when i'm trying to mvn install -DskipTests -Dbpa=aix32 I get errors.
Can you please help me?
copy-exports:copy-libs:
process-classes:
[INFO] [cpp:test-compile {execution: test-compile}]init:
fileset.test.check:
gen-test-runner1:
gen-test-runner2:
gen-test-runner:
package:
test-compile:
[INFO] [cpp:test {execution: test}]init:
fileset.test.check:
test:
[INFO] [site:attach-descriptor]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
[INFO] [enforcer:enforce {execution: enforce-property}]
[INFO] [dependency:unpack-dependencies {execution: unpack-test-dependencies}]
[INFO] [dependency:unpack-dependencies {execution: unpack-runtime-dependencies}]
[INFO] log4cxx-902683-aix32.jar already exists in destination.
[INFO] [dependency:unpack-dependencies {execution: unpack-compile-dependencies}]
[INFO] log4cxx-902683-aix32.jar already exists in destination.
[INFO] [dependency:copy-dependencies {execution: copy-compile-dependencies}]
[INFO] [dependency:copy-dependencies {execution: copy-runtime-dependencies}]
[INFO] [dependency:copy-dependencies {execution: copy-test-dependencies}]
[INFO] [antrun:run {execution: unzip}]
[INFO] Executing tasks
[echo] unzip dependencies to test
[exec] find: 0652-019 The status on /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-common/blacktie-C/target/test-dependencies is not valid.
[exec] Result: 1
[echo] unzip dependencies to runtime
[exec] find: 0652-019 The status on /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-common/blacktie-C/target/runtime-dependencies is not valid.
[exec] Result: 1
[echo] unzip dependencies to compile
[exec] find: 0652-019 The status on /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-common/blacktie-C/target/compile-dependencies is not valid.
[exec] Result: 1
[INFO] Executed tasks
[INFO] [cpp:generate-sources {execution: generate-sources}]init:
fileset.main.check:
generate-sources:
[INFO] [source:jar {execution: attach-sources}]
[INFO] [install:install]
[INFO] Installing /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-common/blacktie-C/pom.xml to /users2/zttg6228/.m2/repository/org/jboss/blacktie/blacktie-C/2.0.0.Final/blacktie-C-2.0.0.Final.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Blacktie Java JNI Tests
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
[INFO] [dependency:unpack-dependencies {execution: unpack-test-dependencies}]
[INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
[INFO] [antrun:run {execution: unzip}]
[INFO] Executing tasks
[echo] unzip dependencies to test
[exec] find: 0652-010 The starting directory is not valid.
[exec] Result: 1
[INFO] Executed tasks
[INFO] [cpp:process-classes {execution: process-classes}]copy-check:
init:
package:
[mkdir] Created dir: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-common/blacktie-java/target/classes/lib
[mkdir] Created dir: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-common/blacktie-java/target/classes/includecopy-idl:
copy-exports:
copy-libs:
process-classes:
[INFO] [cpp:test-compile {execution: test-compile}]init:
fileset.test.check:
gen-test-runner1:
gen-test-runner2:
gen-test-runner:
package:
test-compile:
[INFO] [site:attach-descriptor]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
[INFO] [dependency:unpack-dependencies {execution: unpack-test-dependencies}]
[INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
[INFO] [antrun:run {execution: unzip}]
[INFO] Executing tasks
[echo] unzip dependencies to test
[exec] find: 0652-019 The status on /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-common/blacktie-java/target/dependencies is not valid.
[exec] Result: 1
[INFO] Executed tasks
[INFO] [source:jar {execution: attach-sources}]
[INFO] [install:install]
[INFO] Installing /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-common/blacktie-java/pom.xml to /users2/zttg6228/.m2/repository/org/jboss/blacktie/blacktie-java/2.0.0.Final/blacktie-java-2.0.0.Final.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Blacktie Schemas
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
[INFO] [dependency:unpack-dependencies {execution: unpack-test-dependencies}]
[INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
[INFO] [antrun:run {execution: unzip}]
[INFO] Executing tasks
[echo] unzip dependencies to test
[exec] find: 0652-010 The starting directory is not valid.
[exec] Result: 1
[INFO] Executed tasks
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [cpp:process-classes {execution: process-classes}]copy-check:
init:
package:
[mkdir] Created dir: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-xsd/target/classes/lib
[mkdir] Created dir: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-xsd/target/classes/includecopy-idl:
copy-exports:
copy-libs:
process-classes:
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [cpp:test-compile {execution: test-compile}]init:
fileset.test.check:
gen-test-runner1:
gen-test-runner2:
gen-test-runner:
package:
test-compile:
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [jar:jar]
[INFO] Building jar: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-xsd/target/blacktie-xsd-2.0.0.Final.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
[INFO] [dependency:unpack-dependencies {execution: unpack-test-dependencies}]
[INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
[INFO] [antrun:run {execution: unzip}]
[INFO] Executing tasks
[echo] unzip dependencies to test
[exec] find: 0652-019 The status on /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-xsd/target/dependencies is not valid.
[exec] Result: 1
[INFO] Executed tasks
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-xsd/target/blacktie-xsd-2.0.0.Final-sources.jar
[INFO] [install:install]
[INFO] Installing /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-xsd/target/blacktie-xsd-2.0.0.Final.jar to /users2/zttg6228/.m2/repository/org/jboss/blacktie/blacktie-xsd/2.0.0.Final/blacktie-xsd-2.0.0.Final.jar
[INFO] Installing /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-xsd/target/blacktie-xsd-2.0.0.Final-sources.jar to /users2/zttg6228/.m2/repository/org/jboss/blacktie/blacktie-xsd/2.0.0.Final/blacktie-xsd-2.0.0.Final-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Blacktie CORBA Transport C++ Bindings
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
[INFO] [enforcer:enforce {execution: enforce-property}]
[INFO] [dependency:unpack-dependencies {execution: unpack-test-dependencies}]
[INFO] [dependency:unpack-dependencies {execution: unpack-runtime-dependencies}]
[INFO] Unpacking /users2/zttg6228/.m2/repository/apache-log4cxx/contrib/log4cxx/902683/log4cxx-902683-aix32.jarto
/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/runtime
with Includes **/* and excludes:null
[INFO] [dependency:unpack-dependencies {execution: unpack-compile-dependencies}]
[INFO] Unpacking /users2/zttg6228/.m2/repository/apache-log4cxx/contrib/log4cxx/902683/log4cxx-902683-aix32.jarto
/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile
with Includes **/* and excludes:null
[INFO] [dependency:copy-dependencies {execution: copy-compile-dependencies}]
[INFO] [dependency:copy-dependencies {execution: copy-runtime-dependencies}]
[INFO] [dependency:copy-dependencies {execution: copy-test-dependencies}]
[INFO] [antrun:run {execution: unzip}]
[INFO] Executing tasks
[echo] unzip dependencies to test
[exec] find: 0652-019 The status on /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/test-dependencies is not valid.
[exec] Result: 1
[echo] unzip dependencies to runtime
[exec] find: 0652-019 The status on /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/runtime-dependencies is not valid.
[exec] Result: 1
[echo] unzip dependencies to compile
[exec] find: 0652-019 The status on /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/compile-dependencies is not valid.
[exec] Result: 1
[INFO] Executed tasks
[INFO] [cpp:generate-sources {execution: generate-sources}]init:
fileset.main.check:
generate-sources:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to execute: Executing Ant script: /btcpp.build.xml [generate-sources]: Failed to execute.missing idl compiler: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin/tao_idl
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 38 seconds
[INFO] Finished at: Mon Dec 20 17:03:26 CET 2010
[INFO] Final Memory: 39M/64M
[INFO] ------------------------------------------------------------------------ -
5. Re: Does BlackTie works on IBM AIX OS ?
mmusgrov Dec 20, 2010 12:39 PM (in response to jeanemile)JeD JeD wrote:
Hi,
I'm also trying to compile BlackTIE on AIX.
However, I have some difficulties on stage with maven. I managed to compile the thirdparty and also to BUILD SUCCESSFUL with ant.
ant -Dlinux=true -Dbpa=aix32
But when i trying to mvn install -DskipTests -Dbpa=aix32 I get errors.
The build step
ant -Dlinux=true -Dbpa=aix32
should have installed the dependencies that you built into your local maven repository. Could you check that they are all there. For example the explicit failure in you post refers to the ACE product, and you should have a file called:
/users2/zttg6228/.m2/repository/ace/contrib/ace/5.<version>/ace-5.<version>-aix32.zip
If you don't have this file then could you attach the output of
ant -Dlinux=true -Dbpa=aix32 ace
Thanks
-
6. Re: Does BlackTie works on IBM AIX OS ?
jeanemile Dec 21, 2010 4:22 AM (in response to mmusgrov)Thanks you very much for your answer.
I checked, I have a file called ace-5.8.0-aix32.zip
zttg6228@machine::/users2/zttg6228/.m2/repository/ace/contrib/ace/5.8.0
$ ls -l
total 49040
-rw-r--r-- 1 zttg6228 zttg6228 25095733 Dec 20 16:58 ace-5.8.0-aix32.zip
-rw-r--r-- 1 zttg6228 zttg6228 285 Dec 20 16:58 ace-5.8.0.pom
-rw-r--r-- 1 zttg6228 zttg6228 40 Dec 01 15:13 ace-5.8.0.pom.sha1
But to be sure i started again :
ant -Dlinux=true -Dbpa=aix32 ace
The result :
Buildfile: build.xml
clean:
[delete] Deleting directory /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/bui ldbootstrap:
init:
[mkdir] Created dir: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/build/lib
[mkdir] Created dir: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/build/dis t
[mkdir] Created dir: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/build/dis t/include
[mkdir] Created dir: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/build/dis t/libace:
purge:
[delete] Deleting directory /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/bui ld/dist
[mkdir] Created dir: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/build/dis t/include/aceace-lib-linux:
[sync] Copying 14 files to /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/bu ild/dist/lib
[symlink] -- listing properties --
[symlink] libTAO_CosNaming.so=libTAO_CosNaming.so.1.8.0
[symlink] libTAO_PortableServer.so=libTAO_PortableServer.so.1.8.0
[symlink] libTAO_PI.so=libTAO_PI.so.1.8.0
[symlink] libACE.so=libACE.so.5.8.0
[symlink] libTAO_CodecFactory.so=libTAO_CodecFactory.so.1.8.0
[symlink] libTAO_PI_Server.so=libTAO_PI_Server.so.1.8.0
[symlink] libTAO_AnyTypeCode.so=libTAO_AnyTypeCode.so.1.8.0
[symlink] libTAO.so=libTAO.so.1.8.0
[symlink] libTAO_IDL_FE.so=libTAO_IDL_FE.so.1.8.0
[symlink] libACE_gperf_lib.so=libACE_gperf_lib.so.5.8.0
[symlink] libTAO_Valuetype.so=libTAO_Valuetype.so.1.8.0
[symlink] libTAO_IDL_BE.so=libTAO_IDL_BE.so.1.8.0
[symlink] libTAO_IORInterceptor.so=libTAO_IORInterceptor.so.1.8.0
[symlink] libTAO_ObjRefTemplate.so=libTAO_ObjRefTemplate.so.1.8.0
[symlink] ln -s libTAO_IORInterceptor.so.1.8.0 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-ut ils/thirdparty/build/dist/lib/libTAO_IORInterceptor.so
[symlink] ln -s libTAO_ObjRefTemplate.so.1.8.0 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-ut ils/thirdparty/build/dist/lib/libTAO_ObjRefTemplate.so
[symlink] ln -s libTAO_AnyTypeCode.so.1.8.0 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils /thirdparty/build/dist/lib/libTAO_AnyTypeCode.so
[symlink] ln -s libTAO_PortableServer.so.1.8.0 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-ut ils/thirdparty/build/dist/lib/libTAO_PortableServer.so
[symlink] ln -s libACE.so.5.8.0 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ build/dist/lib/libACE.so
[symlink] ln -s libTAO_IDL_FE.so.1.8.0 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thir dparty/build/dist/lib/libTAO_IDL_FE.so
[symlink] ln -s libTAO_CodecFactory.so.1.8.0 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-util s/thirdparty/build/dist/lib/libTAO_CodecFactory.so
[symlink] ln -s libTAO_PI.so.1.8.0 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdpar ty/build/dist/lib/libTAO_PI.so
[symlink] ln -s libACE_gperf_lib.so.5.8.0 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/t hirdparty/build/dist/lib/libACE_gperf_lib.so
[symlink] ln -s libTAO_Valuetype.so.1.8.0 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/t hirdparty/build/dist/lib/libTAO_Valuetype.so
[symlink] ln -s libTAO.so.1.8.0 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ build/dist/lib/libTAO.so
[symlink] ln -s libTAO_IDL_BE.so.1.8.0 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thir dparty/build/dist/lib/libTAO_IDL_BE.so
[symlink] ln -s libTAO_CosNaming.so.1.8.0 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/t hirdparty/build/dist/lib/libTAO_CosNaming.so
[symlink] ln -s libTAO_PI_Server.so.1.8.0 /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/t hirdparty/build/dist/lib/libTAO_PI_Server.soace-lib-windows:
[copy] Copying 1396 files to /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ build/dist/include/ace
[copy] Copying 2448 files to /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/build/dist/include/tao
[copy] Copying 1107 files to /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/build/dist/include/orbsvcs
[copy] Copying 1 file to /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/build/dist/bin
[copy] Copying 1 file to /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/build/dist/bin
[copy] Copying 1 file to /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/build/dist/META-INF
[copy] Copying 1 file to /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/build/dist/META-INF/maven/ace.contrib/acezip-linux:
zip-windows:
[artifact:install] [INFO] Installing /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/build/ace.pom to /users2/zttg6228/.m2/repository/ace/contrib/ace/5.8.0/ace-5.8.0.pom
[artifact:install] [INFO] Installing /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/build/lib/ace-5.8.0-aix32.zip to /users2/zttg6228/.m2/repository/ace/contrib/ace/5.8.0/ace-5.8.0-aix32.zipBUILD SUCCESSFUL
Total time: 59 seconds -
7. Re: Does BlackTie works on IBM AIX OS ?
tomjenkinson Dec 21, 2010 4:36 AM (in response to jeanemile)Hi JeD,
Please can you confirm the contents of the ace zip? I wonder if the name/location of the IDL compiler in the ACE/TAO build is different on AIX? It is certainly different between Windows and Linux. If so our packaging process would probably have missed it.
Please can you let us know what you have in: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin
If there is a tao_idl file here this is a good start, I wonder if so maybe it does not have the execute permission or something?
Also, it may be useful to confirm you have libACE and libTAO so's in /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/lib
Thanks,
Tom
-
8. Re: Does BlackTie works on IBM AIX OS ?
jeanemile Dec 21, 2010 4:43 AM (in response to tomjenkinson)Hi Tom,
Again thanks you very much for your answer.
/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin
$ ls -l
total 656
-rwxr-xr-x 1 zttg6228 zttg6228 19469 Dec 21 10:14 ace_gperf
-rwxr-xr-x 1 zttg6228 zttg6228 314620 Dec 21 10:14 tao_idl
When i try to run the file :
zttg6228@dfbnve39::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin
$ ./tao_idl
IDL: No input fileszttg6228@dfbnve39::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/lib
$ ls -l
total 274912
-rw-r--r-- 1 zttg6228 zttg6228 618 Dec 21 10:14 acelinks
lrwxrwxrwx 1 zttg6228 zttg6228 15 Dec 21 10:31 libACE.so -> libACE.so.5.8.0
-rw-r--r-- 1 zttg6228 zttg6228 12165113 Dec 20 10:40 libACE.so.5.8.0
lrwxrwxrwx 1 zttg6228 zttg6228 25 Dec 21 10:31 libACE_gperf_lib.so -> libACE_gperf_lib.so.5.8.0
-rw-r--r-- 1 zttg6228 zttg6228 250932 Dec 20 10:41 libACE_gperf_lib.so.5.8.0
lrwxrwxrwx 1 zttg6228 zttg6228 15 Dec 21 10:31 libTAO.so -> libTAO.so.1.8.0
-rw-r--r-- 1 zttg6228 zttg6228 14981627 Dec 03 11:46 libTAO.so.1.8.0
lrwxrwxrwx 1 zttg6228 zttg6228 27 Dec 21 10:31 libTAO_AnyTypeCode.so -> libTAO_AnyTypeCode.so.1.8.0
-rw-r--r-- 1 zttg6228 zttg6228 6594047 Dec 03 11:47 libTAO_AnyTypeCode.so.1.8.0
lrwxrwxrwx 1 zttg6228 zttg6228 28 Dec 21 10:31 libTAO_CodecFactory.so -> libTAO_CodecFactory.so.1.8.0
-rw-r--r-- 1 zttg6228 zttg6228 573584 Dec 03 11:47 libTAO_CodecFactory.so.1.8.0
lrwxrwxrwx 1 zttg6228 zttg6228 25 Dec 21 10:31 libTAO_CosNaming.so -> libTAO_CosNaming.so.1.8.0
-rw-r--r-- 1 zttg6228 zttg6228 1246548 Dec 20 10:45 libTAO_CosNaming.so.1.8.0
lrwxrwxrwx 1 zttg6228 zttg6228 22 Dec 21 10:31 libTAO_IDL_BE.so -> libTAO_IDL_BE.so.1.8.0
-rw-r--r-- 1 zttg6228 zttg6228 14445963 Dec 20 10:51 libTAO_IDL_BE.so.1.8.0
lrwxrwxrwx 1 zttg6228 zttg6228 22 Dec 21 10:31 libTAO_IDL_FE.so -> libTAO_IDL_FE.so.1.8.0
-rw-r--r-- 1 zttg6228 zttg6228 5996464 Dec 20 10:44 libTAO_IDL_FE.so.1.8.0
lrwxrwxrwx 1 zttg6228 zttg6228 30 Dec 21 10:31 libTAO_IORInterceptor.so -> libTAO_IORInterceptor.so.1.8.0
-rw-r--r-- 1 zttg6228 zttg6228 649715 Dec 20 11:34 libTAO_IORInterceptor.so.1.8.0
lrwxrwxrwx 1 zttg6228 zttg6228 30 Dec 21 10:31 libTAO_ObjRefTemplate.so -> libTAO_ObjRefTemplate.so.1.8.0
-rw-r--r-- 1 zttg6228 zttg6228 872198 Dec 20 11:33 libTAO_ObjRefTemplate.so.1.8.0
lrwxrwxrwx 1 zttg6228 zttg6228 18 Dec 21 10:31 libTAO_PI.so -> libTAO_PI.so.1.8.0
-rw-r--r-- 1 zttg6228 zttg6228 2884612 Dec 03 11:48 libTAO_PI.so.1.8.0
lrwxrwxrwx 1 zttg6228 zttg6228 25 Dec 21 10:31 libTAO_PI_Server.so -> libTAO_PI_Server.so.1.8.0
-rw-r--r-- 1 zttg6228 zttg6228 1221332 Dec 20 11:33 libTAO_PI_Server.so.1.8.0
lrwxrwxrwx 1 zttg6228 zttg6228 30 Dec 21 10:31 libTAO_PortableServer.so -> libTAO_PortableServer.so.1.8.0
-rw-r--r-- 1 zttg6228 zttg6228 10260734 Dec 20 11:25 libTAO_PortableServer.so.1.8.0
lrwxrwxrwx 1 zttg6228 zttg6228 25 Dec 21 10:31 libTAO_Valuetype.so -> libTAO_Valuetype.so.1.8.0
-rw-r--r-- 1 zttg6228 zttg6228 1044883 Dec 20 11:15 libTAO_Valuetype.so.1.8.0
-rw-r--r-- 1 zttg6228 zttg6228 67500903 Dec 20 16:56 liblog4cxx.a
-
9. Re: Does BlackTie works on IBM AIX OS ?
jeanemile Dec 21, 2010 4:39 AM (in response to jeanemile)But I think a have a new trouble here see the log :
test:
[INFO] [site:attach-descriptor]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
[INFO] [enforcer:enforce {execution: enforce-property}]
[INFO] [dependency:unpack-dependencies {execution: unpack-test-dependencies}]
[INFO] [dependency:unpack-dependencies {execution: unpack-runtime-dependencies}]
[INFO] log4cxx-902683-aix32.jar already exists in destination.
[INFO] [dependency:unpack-dependencies {execution: unpack-compile-dependencies}]
[INFO] log4cxx-902683-aix32.jar already exists in destination.
[INFO] [dependency:copy-dependencies {execution: copy-compile-dependencies}]
[INFO] Copying ace-5.8.0-aix32.zip to /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-common/blacktie-C/target/compile-dependencies/ace-5.8.0-aix32.zip
[INFO] [dependency:copy-dependencies {execution: copy-runtime-dependencies}]
[INFO] Copying ace-5.8.0-aix32.zip to /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-common/blacktie-C/target/runtime-dependencies/ace-5.8.0-aix32.zip
[INFO] [dependency:copy-dependencies {execution: copy-test-dependencies}]
[INFO] [antrun:run {execution: unzip}]
[INFO] Executing tasks
[echo] unzip dependencies to test
[exec] find: 0652-019 The status on /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-common/blacktie-C/target/test-dependencies is not valid.
[exec] Result: 1
[echo] unzip dependencies to runtime
[echo] unzip dependencies to compile
[INFO] Executed tasks
[INFO] [cpp:generate-sources {execution: generate-sources}]
init:
fileset.main.check:
generate-sources:
[INFO] [source:jar {execution: attach-sources}]
[INFO] [install:install]
[INFO] Installing /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-common/blacktie-C/pom.xml to /users2/zttg6228/.m2/repository/org/jboss/blacktie/blacktie-C/2.0.0.Final/blacktie-C-2.0.0.Final.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Blacktie Java JNI Tests
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
[INFO] [dependency:unpack-dependencies {execution: unpack-test-dependencies}]
[INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
[INFO] [antrun:run {execution: unzip}]
[INFO] Executing tasks
[echo] unzip dependencies to test
[exec] find: 0652-010 The starting directory is not valid.
[exec] Result: 1
[INFO] Executed tasks
[INFO] [cpp:process-classes {execution: process-classes}]
copy-check:
init:
package:
[mkdir] Created dir: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-common/blacktie-java/target/classes/lib
[mkdir] Created dir: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-common/blacktie-java/target/classes/include
copy-idl:
copy-exports:
copy-libs:
process-classes:
[INFO] [cpp:test-compile {execution: test-compile}]
init:
fileset.test.check:
gen-test-runner1:
gen-test-runner2:
gen-test-runner:
package:
test-compile:
[INFO] [site:attach-descriptor]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
[INFO] [dependency:unpack-dependencies {execution: unpack-test-dependencies}]
[INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
[INFO] [antrun:run {execution: unzip}]
[INFO] Executing tasks
[echo] unzip dependencies to test
[exec] find: 0652-019 The status on /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-common/blacktie-java/target/dependencies is not valid.
[exec] Result: 1
[INFO] Executed tasks
[INFO] [source:jar {execution: attach-sources}]
[INFO] [install:install]
[INFO] Installing /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-common/blacktie-java/pom.xml to /users2/zttg6228/.m2/repository/org/jboss/blacktie/blacktie-java/2.0.0.Final/blacktie-java-2.0.0.Final.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Blacktie Schemas
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
[INFO] [dependency:unpack-dependencies {execution: unpack-test-dependencies}]
[INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
[INFO] [antrun:run {execution: unzip}]
[INFO] Executing tasks
[echo] unzip dependencies to test
[exec] find: 0652-010 The starting directory is not valid.
[exec] Result: 1
[INFO] Executed tasks
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [cpp:process-classes {execution: process-classes}]
copy-check:
init:
package:
[mkdir] Created dir: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-xsd/target/classes/lib
[mkdir] Created dir: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-xsd/target/classes/include
copy-idl:
copy-exports:
copy-libs:
process-classes:
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [cpp:test-compile {execution: test-compile}]
init:
fileset.test.check:
gen-test-runner1:
gen-test-runner2:
gen-test-runner:
package:
test-compile:
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [jar:jar]
[INFO] Building jar: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-xsd/target/blacktie-xsd-2.0.0.Final.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
[INFO] [dependency:unpack-dependencies {execution: unpack-test-dependencies}]
[INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
[INFO] [antrun:run {execution: unzip}]
[INFO] Executing tasks
[echo] unzip dependencies to test
[exec] find: 0652-019 The status on /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-xsd/target/dependencies is not valid.
[exec] Result: 1
[INFO] Executed tasks
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-xsd/target/blacktie-xsd-2.0.0.Final-sources.jar
[INFO] [install:install]
[INFO] Installing /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-xsd/target/blacktie-xsd-2.0.0.Final.jar to /users2/zttg6228/.m2/repository/org/jboss/blacktie/blacktie-xsd/2.0.0.Final/blacktie-xsd-2.0.0.Final.jar
[INFO] Installing /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-xsd/target/blacktie-xsd-2.0.0.Final-sources.jar to /users2/zttg6228/.m2/repository/org/jboss/blacktie/blacktie-xsd/2.0.0.Final/blacktie-xsd-2.0.0.Final-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Blacktie CORBA Transport C++ Bindings
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
[INFO] [enforcer:enforce {execution: enforce-property}]
[INFO] [dependency:unpack-dependencies {execution: unpack-test-dependencies}]
[INFO] [dependency:unpack-dependencies {execution: unpack-runtime-dependencies}]
[INFO] Unpacking /users2/zttg6228/.m2/repository/apache-log4cxx/contrib/log4cxx/902683/log4cxx-902683-aix32.jarto
/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/runtime
with Includes **/* and excludes:null
[INFO] [dependency:unpack-dependencies {execution: unpack-compile-dependencies}]
[INFO] Unpacking /users2/zttg6228/.m2/repository/apache-log4cxx/contrib/log4cxx/902683/log4cxx-902683-aix32.jarto
/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile
with Includes **/* and excludes:null
[INFO] [dependency:copy-dependencies {execution: copy-compile-dependencies}]
[INFO] Copying ace-5.8.0-aix32.zip to /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/compile-dependencies/ace-5.8.0-aix32.zip
[INFO] [dependency:copy-dependencies {execution: copy-runtime-dependencies}]
[INFO] Copying ace-5.8.0-aix32.zip to /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/runtime-dependencies/ace-5.8.0-aix32.zip
[INFO] [dependency:copy-dependencies {execution: copy-test-dependencies}]
[INFO] [antrun:run {execution: unzip}]
[INFO] Executing tasks
[echo] unzip dependencies to test
[exec] find: 0652-019 The status on /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/test-dependencies is not valid.
[exec] Result: 1
[echo] unzip dependencies to runtime
[echo] unzip dependencies to compile
[INFO] Executed tasks
[INFO] [cpp:generate-sources {execution: generate-sources}]
init:
fileset.main.check:
generate-sources:
[mkdir] Created dir: /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/generated/tao_idl
[apply] exec(): 0509-036 Cannot load program /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/cxx/compile/bin/tao_idl because of the following errors:
[apply] rtld: 0712-001 Symbol _GetCatName__FiPCc was referenced
[apply] from module /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so(), but a runtime definition
[apply] of the symbol was not found.
[apply] rtld: 0712-001 Symbol _Getnumpunct__FPCc was referenced
[apply] from module /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so(), but a runtime definition
[apply] of the symbol was not found.
[apply] rtld: 0712-001 Symbol __ct__Q2_3std8_LocinfoFPCci was referenced
[apply] from module /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so(), but a runtime definition
[apply] of the symbol was not found.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to execute: Executing Ant script: /btcpp.build.xml [generate-sources]: Failed to execute.
apply returned: 255
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 11 seconds
[INFO] Finished at: Tue Dec 21 10:31:14 CET 2010
[INFO] Final Memory: 38M/64M
[INFO] ------------------------------------------------------------------------
-
10. Re: Does BlackTie works on IBM AIX OS ?
tomjenkinson Dec 21, 2010 4:51 AM (in response to jeanemile)Hi JeD,
I am certainly not an AIX pro, but I did grep the internet for similar issues and came up with this: http://www-01.ibm.com/support/docview.wss?uid=swg21304385
It seems to imply that you need to require version 8 of the AIX XL C/C++ runtime. To determine the current level, run the following AIX command:
lslpp -l | grep -i xlcDid you compile the thirdparty dependencies using XL or gcc, our build (at the moment) depends on gcc so I would expect that the dependencies would need to have been compiled using gcc also (unless XL and gcc are compatible somehow?)
Hope this helps us to determine the cause of the problem...
-
11. Re: Does BlackTie works on IBM AIX OS ?
jeanemile Dec 21, 2010 5:09 AM (in response to tomjenkinson)Hi Tom,
I am certainly not me too an AIX pro
lslpp -l | grep -i xlc
xlC.adt.include 10.1.0.3 COMMITTED C Set ++ Application
xlC.aix61.rte 11.1.0.2 COMMITTED XL C/C++ Runtime for AIX 6.1
xlC.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.rte 11.1.0.2 COMMITTED XL C/C++ Runtime
xlC.rte 11.1.0.2 COMMITTED XL C/C++ Runtime
xlC.sup.aix50.rte 9.0.0.1 COMMITTED XL C/C++ Runtime for AIX 5.2It seems that i have the version 9 of AIX 5.2 and 11 for AIX 6.1.
I compiled the thirdparty dependencies using Xlc because when i compiled with g++, i get this error :"Internal compiler error: Illegal instruction"
-
12. Re: Does BlackTie works on IBM AIX OS ?
tomjenkinson Dec 21, 2010 5:21 AM (in response to jeanemile)Thanks Jed,
My preference would be to try to make gcc work on AIX, however without an AIX machine myself to check this, we may find it easier to proceed with using the XL compiler (and assume it is incompatible with gcc) however, to do this the build will certainly need to be altered as there are references to gcc for UNIX and msvc for Windows in:
/home/tom/blacktie/tags/blacktie-2_0_0_Final/blacktie-utils/cpp-plugin/src/main/scripts/btcpp.build.xml and /home/tom/blacktie/tags/blacktie-2_0_0_Final/blacktie-utils/cpp-plugin/src/main/scripts/btcpp.mojos.xml
So we would need to edit those to support XL for AIX.
I guess the first thing we should do is to try to run tao_idl outside of the main build to get an understanding of some of the issues.
To try this:
cd /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/
export PATH=$PATH:target/cxx/compile/bin/
export TAO_ROOT=target/cxx/compile/include/
export LD_LIBRARY_PATH=target/cxx/compile/lib/
./target/cxx/compile/bin/tao_idl -o target/generated/tao_idl/ -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -Itarget/cxx/compile/include/tao -Itarget/cxx/compile/include/orbsvcs -I../src/main/idl/ -Wb,export_macro=BLACKTIE_IDL_DLL -Wb,export_include=atmiBrokerIdlMacro.h -DTAO=1 ../src/main/idl/CosTransactions.idlHopefully you would get the following output: "processing ../src/main/idl/CosTransactions.idl"
And then you would get some files in: target/generated/tao_idl/
Please can you confirm if this is the case? I rather expect that you will get the following instead:
rtld: 0712-001 Symbol _GetCatName__FiPCc was referenced
from module /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so(), but a runtime definition of the symbol was not found.
rtld: 0712-001 Symbol _Getnumpunct__FPCc was referenced
from module /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so(), but a runtime definition of the symbol was not found.
rtld: 0712-001 Symbol __ct__Q2_3std8_LocinfoFPCci was referenced
from module /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/blacktie-utils/thirdparty/ACE_wrappers/lib/libTAO_IDL_FE.so(), but a runtime definition of the symbol was not found.
Tom
-
13. Re: Does BlackTie works on IBM AIX OS ?
jeanemile Dec 21, 2010 5:28 AM (in response to tomjenkinson)Thanks Tom,
zttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
ort_include=atmiBrokerIdlMacro.h -DTAO=1 ../src/main/idl/CosTransactions.idln/idl/ -Wb,export_macro=BLACKTIE_IDL_DLL -Wb,exp
processing ../src/main/idl/CosTransactions.idl
zttg6228@machine::/users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx/target/generated/tao_idl
$ ls -l
total 1320
-rw-r--r-- 1 zttg6228 zttg6228 236518 Dec 21 11:25 CosTransactionsC.cpp
-rw-r--r-- 1 zttg6228 zttg6228 98818 Dec 21 11:25 CosTransactionsC.h
-rw-r--r-- 1 zttg6228 zttg6228 6876 Dec 21 11:25 CosTransactionsC.inl
-rw-r--r-- 1 zttg6228 zttg6228 280680 Dec 21 11:25 CosTransactionsS.cpp
-rw-r--r-- 1 zttg6228 zttg6228 31499 Dec 21 11:25 CosTransactionsS.h
-rw-r--r-- 1 zttg6228 zttg6228 3040 Dec 21 11:25 CosTransactionsS.inl -
14. Re: Does BlackTie works on IBM AIX OS ?
tomjenkinson Dec 21, 2010 5:32 AM (in response to jeanemile)Hi JeD,
Does: ./target/cxx/compile/bin/tao_idl -o target/generated/tao_idl/ -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -Itarget/cxx/compile/include/tao -Itarget/cxx/compile/include/orbsvcs -I../src/main/idl/ -Wb,export_macro=BLACKTIE_IDL_DLL -Wb,export_include=atmiBrokerIdlMacro.h -DTAO=1 ../src/main/idl/AtmiBroker.idl
Produce the AtmiBroker* files in the same location?
If so, please can you tell me the full result of:
cd /users2/zttg6228/BlackTie/products/blacktie-2_0_0_Final/atmibroker-idl/atmibroker-idl-cxx
mvn clean generate-sources -Dbpa=aix32
Thanks, Tom