Problems building DBD::mysql

Has anyone had any luck with this. I have a freshly built perl 5.8.8, freshly built DBI, all work great, built with no errors. (All done with SUNWspro 11)
I believe the problem is simply that when DBD::mysql is compiling it is trying to build it in either 32 bit or 64 bit but whatever it is doing, it is doing the opposite of what Perl and DBI were built as. Same thing happens when I use CPAN.
Any hints on how to get this to build as 32bit?
ld: fatal: file dbdimp.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to blib/arch/auto/DBD/mysql/mysql.so

Well no luck. Does this clear anything up?
Unrecognized argument in LIBS ignored: '-xarch=v9'
Using DBI 1.50 (for perl 5.006002 on sun4-solaris) installed in /usr/local/lib/perl5/site_perl/5.6.2/sun4-solaris/auto/DBI/
Writing Makefile for DBD::mysql
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
/opt/SUNWspro/bin/cc -c -I/usr/local/lib/perl5/site_perl/5.6.2/sun4-solaris/auto/DBI/ -I/opt/mysql/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -xc99=none -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"3.0003\" -DXS_VERSION=\"3.0003\" -KPIC "-I/usr/local/lib/perl5/5.6.2/sun4-solaris/CORE" dbdimp.c
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/local/lib/perl5/site_perl/5.6.2/sun4-solaris/auto/DBI//Driver.xst > mysql.xsi
/usr/bin/perl /usr/local/lib/perl5/5.6.2/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.6.2/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 224
Warning: duplicate function definition 'rows' detected in mysql.xs, line 559
/opt/SUNWspro/bin/cc -c -I/usr/local/lib/perl5/site_perl/5.6.2/sun4-solaris/auto/DBI/ -I/opt/mysql/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -xc99=none -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"3.0003\" -DXS_VERSION=\"3.0003\" -KPIC "-I/usr/local/lib/perl5/5.6.2/sun4-solaris/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/lib" /usr/bin/perl myld /opt/SUNWspro/bin/cc -G -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib/v8plus -L/opt/SUNWspro/prod/lib -L/lib -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/opt/mysql/mysql/lib -lmysqlclient -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lmtmalloc
ld: fatal: file dbdimp.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to blib/arch/auto/DBD/mysql/mysql.so
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/DBD/mysql/mysql.so'
/usr/ccs/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible

Similar Messages

  • Problem Building DBD::Oracle

    I've tried to build this module using Oracle 10 for solaris 64 bit. The problem is that the perl I have is 32 bit, so it does not like 64 bit shared libraries. I could not find 32 bit libraries in the Oracle distribution. There are some, but not all. To be honest, I have not installed Oracle, I just perused the cpio file I downloaded and extracted files needed to build the module.
    I find it odd, that in order to build the module I need to install the whole thing. I only need to access a DB from the host in question, not use the DB on the host.
    Am I doing something wrong? Do I need to build 64 bit perl?

    Yuri,
    1. you need to have Oracle installed for compilation of DBD::Oracle (Oracle client will be enough) because libraries are built during installation.
    2. If you have Oracle SW installed you may find libraries in:
    $ORACLE_HOME/lib
    and
    $ORACLE_HOME/lib32 (here are the 32bit libraries if you have 64bit installation)

  • How to Install DBD::mysql on Mac OSX 10.4.7 SERVER Universal

    I spent 3 days trying to figure out how to install DBD::mysql on OSX 10.4.7 Server Universal on my Mac Pro.
    I didn't think it would be so hard just to get it installed so I could use Movable Type. Yikes!
    Anyway, I wrote up a tutorial on what I did to get it installed. Hopefully it will help you out if you are having problems installing DBD::mysql on Server 10.4.7 Universal with a Mac Pro.
    DISCLAIMER: I cannot say whether or not this will work with any other version of Server or Macintosh. Inside the article below is a link to how to install DBD::mysql on other versions of OSX that may or may not work for you.
    http://macnewsblog.com/2006/09/howto_install_dbdmysql_onmac.html
    MacBook Pro 15" Mac OS X (10.4.6)

    Hopefully this worked for those with Mac Pros!

  • Installing DBI and DBD::mysql in 10.4 Tiger, with MySQL 5.0

    After some discussion here http://discussions.apple.com/thread.jspa?threadID=546982&tstart=0
    I wanted to document what was required to get Bundle::DBI and DBD::mysql installed.
    I started off with the helpful info found on the following two pages, but I had to do more to get it working:
    http://www.truerwords.net/articles/osx/installdbdmysql.html
    http://www.gyford.com/phil/writing/2004/06/07/installingdbia.php
    Note: I am working with mysql-standard-5.0.15-osx10.4-powerpc,
    downloaded and configured according to the MySQL site instructions.
    If you are using an earlier version of MySQL, then you will need to adjust accordingly. The articles I link to above, may work for you verbatim.
    1. Download DBI 1.51 from CPAN:
    http://search.cpan.org/~hoymich/DBI-1.45-5.8.4/
    2. Unpack the file, eg: tar -xzvf DBI-1.51.tar.gz
    3. cd into the directory
    4. Type perl Makefile.PL
    5. Type make && make test
    6. sudo make install (NB: See below !)
    7. IMPORTANT: to get DBD to install, you may need to specify the location of your mysql_config file:
    perl Makefile.PL --testdb=test --testuser=nameused --testpassword=actualpasswdused --testhost=localhost --mysqlconfig=/usr/local/mysql/bin/mysqlconfig
    If something goes wrong, backup by typing:
    make clean
    Another note: I granted full priveleges for the "test" user on the "test" database, which is accepting local connections only and will be removed after everything is configured.
    # now for DBD
    8. Download DBD::mysql from CPAN http://search.cpan.org/~capttofu/DBD-mysql-3.0006
    9. unpack the archive & cd into it
    10. perl Makefile.PL --testdb=test --testuser=nameused --testpassword=actualpwdused --testhost=localhost
    11. make && make test
    12. sudo make install
    That's what it took, hopefully this will help others who need it, and not offend those who know more about it

    Hi David!
    I'm trying to help my incredibly frustrated boyfriend, who's trying to upgrade to Tiger on his 12" PB (1.3 MHz single processor).
    He does a lot of web design and development, so he formatted his drive as HFS+, case-sensitive, journaled, and has installed his Adobe apps on a dmg, which works great.
    BUT (and he says this is always a problem) installing DBD::mySQL is proving near-impossible! His install is failing 98% of the tests run during maketest. He thinks the problem may actually be occurring when he runs Makefile. Here's the error message he's getting, even after reading your posts:
    During Makefile.PL:
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 450.
    Do you have any idea of a direction to point him in? He's so frustrated he can't even post to the forum - language not suitable for family viewing at this time.
    Thanks!
    Natalie
    Dual 867MHz G4 MDD   Mac OS X (10.3.6)  

  • Solaris 10 sparc + mysql + perl + dbd mysql + apache2

    Is there any sane way to build dbd 4.013 mysql on a clean solaris box with sunstudio installed?
    I want to use the mysql that comes with solaris 10.
    I want to use the perl installation that comes with solaris 10.
    I have been trying to build it for days on u8 sparc. Everything else works. Heck, I even got imagemagick and perlmagick to build correctly.
    CPAN does not work for DBD
    cc does not work.
    I assume this has to do with the version of mysql that comes 'preinstalled' in solaris 10.
    Any suggestions?

    Nothing at all. In fact I have never ever had a problem with sunstudio. It boggles the mind that they put those SUNWgcc packages on a Solaris release but not sunstudio. It is such a great bit of software.
    I have now found the only way to really get around this is to build mysql from scratch and then build dbd. It worked perfectly just now. I could not get DBD to build with any of the packaged version of mysql. This makes updating difficult but I can get around that.
    Now my stupid perlmagick is busted though. arrggghhh....
    Edited by: kjard_us on Nov 7, 2009 12:38 PM
    Never mind... forgot that silly
    crle -l /lib:/usr/lib:/local/lib:/usr/local/lib
    everything is good now.
    Edited by: kjard_us on Nov 7, 2009 1:03 PM

  • Dbd::mysql dead following upgrade

    I've been using a combination of apache, PHP, perl, and MySQL for web development since 10.4, which relies upon the DBD::mysql module available from CPAN. The 10.5 upgrade broke my DBD::mysql installation, and so did this one.
    On 10.5, I had MySQL 5.0.51 running nicely with DBD::mysql-4.010 and Perl 5.8.8. Following the uprage, the MySQL installation continued to work properly, but programs attempting to use DBI for MySQL encountered the following error:
    install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /Library/Perl/Updates/5.8.9 /System/Library/Perl/5.8.9/darwin-thread-multi-2level /System/Library/Perl/5.8.9 /Library/Perl/5.8.9/darwin-thread-multi-2level /Library/Perl/5.8.9 /Network/Library/Perl/5.8.9/darwin-thread-multi-2level /Network/Library/Perl/5.8.9 /Network/Library/Perl /System/Library/Perl/Extras/5.8.9/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.9 /Library/Perl/5.8.8 /Library/Perl/5.8.6 /Library/Perl/5.8.1 .) at (eval 4) line 3.
    Perhaps the DBD::mysql perl module hasn't been fully installed,
    or perhaps the capitalisation of 'mysql' isn't right.
    Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge.
    The perl installation went from 5.8.8 to 5.8.9 during the upgrade. I have had problems before interfacing 64-bit MySQL with 32-bit DBD::mysql, and before the upgrade I was running only 32-bit versions of MySQL.
    I have tried to reinstall both DBI and DBD::mysql in both 64-bit and 32-bit perl and MySQL. The make of DBD::mysql fails with the following error:
    cflags (mysql_config) = -I/usr/local/mysql/include -g -Os -arch x86_64 -fno-common -DP1003_1BVISIBLE -DSIGNALWITH_VIOCLOSE -DSIGNALSDONT_BREAKREAD -DIGNORESIGHUPSIGQUIT -DDONTDECLARE_CXA_PUREVIRTUAL
    embedded (mysql_config) =
    libs (mysql_config) = -L/usr/local/mysql/lib -lmysqlclient -lz -lm -lmygcc
    mysql_config (guessed ) = mysql_config
    nocatchstderr (default ) = 0
    nofoundrows (default ) = 0
    ssl (guessed ) = 0
    testdb (default ) = test
    testhost (default ) =
    testpassword (default ) =
    testsocket (default ) =
    testuser (guessed ) = root
    To change these settings, see 'perl Makefile.PL --help' and
    'perldoc INSTALL'.
    Multiple copies of Driver.xst found in: /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBI/ /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level/auto/DBI/ at Makefile.PL line 902
    Using DBI 1.609 (for perl 5.010000 on darwin-thread-multi-2level) installed in /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBI/
    Writing Makefile for DBD::mysql
    [email protected] 17:01:08 ~/.bin/src/DBD-mysql-4.012 521 $ sudo make
    gcc-4.2 -c -I/Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBI -I/usr/local/mysql/include -g -Os -arch x86_64 -fno-common -DP1003_1BVISIBLE -DSIGNALWITH_VIOCLOSE -DSIGNALSDONT_BREAKREAD -DIGNORESIGHUPSIGQUIT -DDONTDECLARE_CXA_PUREVIRTUAL -DDBDMYSQL_INSERT_ID_ISGOOD -g -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"4.012\" -DXS_VERSION=\"4.012\" "-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE" dbdimp.c
    dbdimp.c: In function ‘alloc_param’:
    dbdimp.c:113: warning: format not a string literal and no format arguments
    There are additional, similar error messages, but there's a length limit on posts apparently.
    Root password was changed to blank to troubleshoot the install. I've tried setting the default perl to 5.8.9 as a system-wide paramter, but the DBI build still go into the 5.10.0 directory. I tried to compile DBI in 32-bit mode by using perl 5.8.9, but this build errors out . I've tried to set the perl 5.10.0 compiler to 32-bit mode, but that hasn't helped either.
    I can't get DBD::mysql to run correctly no matter what I've tried. Can someone please shed some light on the subject?

    Answer (of sorts) posted here:
    http://discussions.apple.com/message.jspa?messageID=10155786#10155786

  • How to install DBD::mysql on Lion?

    After upgrading to Lion, I found that my Perl DBI scripts were no longer able to connect to a MySQL database. They would return an error message like this:
    install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at (eval 3) line 3.
    Perhaps the DBD::mysql perl module hasn't been fully installed,
    or perhaps the capitalisation of 'mysql' isn't right.
    Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge.
    at ./dbitest.pl line 11
    Searching the Mac for 'mysql.pm' anywhere came up empty, so I assumed that Lion had wiped out my DBD::mysql installation. So I tried to re-install it using CPAN. After finding the necessary files, it ended badly:
    Checking if your kit is complete...
    Looks good
    Using DBI 1.615 (for perl 5.012003 on darwin-thread-multi-2level) installed in /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/auto/DBI/
    Writing Makefile for DBD::mysql
    Can't exec "make": No such file or directory at /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.
      CAPTTOFU/DBD-mysql-4.020.tar.gz
      make -- NOT OK
    'YAML' not installed, will not store persistent state
    Running make test
      Can't test without successful make
    Running make install
      Make had returned bad status, install seems impossible
    Failed during this command:
    CAPTTOFU/DBD-mysql-4.020.tar.gz              : make NO
    The first problem seems to be "Can't exec 'make'", and when I enter "which make", I get nothing. Wasn't 'make' included with the previous version of OS X? I don't recall installing it myself, and I'm not sure where to begin here.

    Update: I located 'make' in Developer/usr/bin and added that to my path. Now the attempt to install DBD::mysql ends slightly differently:
    Checking if your kit is complete...
    Looks good
    Using DBI 1.615 (for perl 5.012003 on darwin-thread-multi-2level) installed in /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/auto/DBI/
    Writing Makefile for DBD::mysql
    make: *** No rule to make target `/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/config.h', needed by `Makefile'.  Stop.
      CAPTTOFU/DBD-mysql-4.020.tar.gz
      make -- NOT OK
    'YAML' not installed, will not store persistent state
    Running make test
      Can't test without successful make
    Running make install
      Make had returned bad status, install seems impossible
    Failed during this command:
    CAPTTOFU/DBD-mysql-4.020.tar.gz              : make NO
    I don't know what to make of "No rule to make target..."

  • Can't install Perl DBI or DBD::mysql after Mountain Lion upgrade

    I recently upgraded to Mountain Lion and found that my Perl DBI scripts stopped working, with the error message "Can't locate DBD/mysql.pm in @INC".
    The last time this happened, after upgrading to Lion, the solution was to install the new version of Xcode. Then I was able to use the Perl CPAN module to install DBI and DBD::mysql. (MySQL is already installed and running with no problem on the Mountain Lion machine.)
    Now I have installed Xcode 4.5.1, and tried
    mrb% sudo perl -MCPAN -e shell
    [then CPAN configures itself]
    cpan[1]> install DBI
    and it fails with this final message:
    /System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:583:11: fatal error:
          'sys/types.h' file not found
    #       include <sys/types.h>
                    ^
    1 error generated.
    make: *** [Perl.o] Error 1
      TIMB/DBI-1.622.tar.gz
      /Developer/usr/bin/make -- NOT OK
    'YAML' not installed, will not store persistent state
    Running make test
      Can't test without successful make
    Running make install
      Make had returned bad status, install seems impossible
    Failed during this command:
    TIMB/DBI-1.622.tar.gz                        : make NO
    Can anybody help?

    Here is a link to a resolution in Lion. It may also solve your Mountain Lion Perl DBD issue as well.
    If you run the command below before executing your Perl script the library is found and all is well!
    export DYLD_LIBRARY_PATH="/usr/local/mysql/lib:$DYLD_LIBRARY_PATH"
    Put this in your .bashrc or .bash_profile.
    On Apple StackExchange, Matthew Weiss had another approach.
    I found on another website the following command
    $ sudo perl -MCPAN -e 'CPAN::Shell->notest(install => CPAN::Shell->r)'
    This updated all my perl modules and all is back to normal. Not sure why or what, but don't care that it is working now.

  • DBD::mysql object version 4.013 does not match bootstrap parameter 4.005

    The issue is with XServe running 10.6.2.
    Out of the box Perl doesn't come with DBM::MySQL module installed. To be able to install it, I first had to download MySQL libraries (instructions and link to the file are here: http://support.apple.com/kb/HT4006 ).
    After that I was able to install (manually with "make") the latest module DBD-mysql-4.013 which Perl now acknowledges. However, when module is called, following error is thrown:
    "install_driver(mysql) failed: DBD::mysql object version 4.013 does not match bootstrap parameter 4.005 at /System/Library/Perl/5.10.0/darwin-thread-multi-2level/DynaLoader.pm line 230.
    Compilation failed in require at (eval 3) line 3."
    Suspecting that Perl is looking for a 3-year old version 4.005, I did try removing 4.013 and installing 4.005 instead (as I couldn't find any other clear solution) but 4.005 failed to pass "make test" - not very surprisingly as it is that old - so I chose not to try installing it and put 4.013 back in and still got same error.
    If somebody could kindly provide/direct me to clear instructions to resolve this problem your help will be much appreciated! Thanks in advance.

    Unfortunately, I didn't document right away what I did to get this resolved but this is what I remember. This is a hack, I found a suggestion online that lead me to this. However, a FAIR WARNING - this is dangerous for the system.
    I went into the module file mysql.pm located here:
    cd /Library/Perl/5.10.0/darwin-thread-multi-2level/DBD
    vi mysql.pm
    I commented out the line that specifies version of the file, 4.013, and put 4.005 line instead:
    #$VERSION = '4.013';
    $VERSION = '4.005';
    If server is not rebooted, this doesn't change anything, error will still be thrown. So I rebooted the server from command line.
    This reboot did not go well, server went into some kind of intermediate state, I lost web access. We had to do a hard reboot by cycling power physically on the server itself. After that server came back up, log was full of all kinds of errors. Now all of a sudden the error "object version 4.013 does not match bootstrap parameter 4.005" wasn't thrown anymore. Apparently, version of this module is not read from the module .pm file itself every time module is called, it is instead stored somewhere else and is looked up there, wherever "there" may be. I suspect one of the files used during boot got confused when version number didn't match and it caused chain reaction and a bad reboot.
    Later on I went back into the file and changed version number back to 4.013 as it is supposed to be, and commented the other line out:
    $VERSION = '4.013';
    #$VERSION = '4.005';
    MySQL on Perl functioned fine since then.
    Server has been rebooted weeks later during 10.6.3 upgrade and this time it didn't cause any problems with the module. Still works.

  • Installing DBD::mysql on a 10.3.9 server

    Finally got it to work, though it might be an overkill. Had to go about it, the long way
    1) First installed the new perl (5.8.7, eat your heart out tiger), using the perl distribution was a breeze. Then reinstalled all the modules that were previously installed. (Don't forget to install xcode first, I had a broken installation and gave some trouble).
    http://developer.apple.com/internet/opensource/perl.html
    The nice part is that 5.8.7 took over the old version without much ado.
    2) Installed the new PHP (the distribution by entropy, great job on behave of the mac community by Marc Liyanage. http://www.entropy.ch/software/macosx/php/)
    Had to do a couple of changes as described by Marc, but not a major problem.
    3) Install DBI
    4) Couldn't get beyond the errors when installing DBD::mysql (strange that being an apple distribution it had trouble with directories and 386!), so I had to install the new MySQL (from http://dev.mysql.com/downloads/). This was a bit trickier, since it still the old files take precedence. Use this command:
    perl Makefile.PL --libs="`/usr/local/mysql/bin/mysql_config --libs`" --cflags="`/usr/local/mysql/bin/mysql_config --cflags`" --testuser=root --testpassword=**** or what ever path you have. Don't forget to d/l the cool admin tool as well.
    Guess just have to upgrade apache and would be a totally updated server (at least on the web part).

    The makefiles don't always put things in the exact same place that Apple does. I'm afraid I don't have anything that old to test on or give you any more specific advice, but you should generally make sure you're duplicating the stock installation as closely as possible if you want things to work the way they used to.

  • Using DBD::Mysql on OS X Lion Server

    Hello together,
    I have MySQL running on Mac OS X Lion Server.
    The server was upgraded from Leopard Server so it is the Apple installed MySQL server version from Mac OS X Server 10.5.
    /usr/libexec/mysqld  Ver 5.0.67-log for apple-darwin9.0 on i686 (Source distribution)
    Now I want to install DBD::Mysql vom cpan but whatever I tried, it didn´t work.
    After googling I first I thought it might be an issue of headers and libraries so I copied /usr/local/lib/mysql and /usr/local/include/mysql from a OS X client machine, where I did install DBD::Mysql months ago.
    But I got some errors like
    dyld: Symbol not found: _mysql_init, referer: ...
    and
    dyld: lazy symbol binding failed: Symbol not found: _mysql_init, referer: ....
    (This is from appache error_log since I am have cgi scripts which use DBD::Mysql)
    Then I read some articles that it might be an issue of 32-bit an 64-bit incompatibilities.
    Could anyone give me some advice on how to get DBD::Mysql up an running or at least how to find out what the problem really is.
    Thanks in advance and best regards
    macmartin

    In the meantime I tried many differnt things.
    Finally I copied theses files from Mac OS X 10.7 client to the 10.7 Server:
    /Library/Perl/5.12/darwin-thread-multi-2level/Bundle/DBD/mysql.pm
    /Library/Perl/5.12/darwin-thread-multi-2level/DBD/mysql.pm
    /Library/Perl/5.12/darwin-thread-multi-2level/DBD/mysql/GetInfo.pm
    /Library/Perl/5.12/darwin-thread-multi-2level/DBD/mysql/INSTALL.pod
    /Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bs
    /Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle
    /usr/local/lib/mysql/
    /usr/local/include/mysql
    /usr/local/mysql/lib
    So if anyone runs into the same problem one possible solution could be to set up DBD::Mysql on 10.7 client and copy the appropriate files to the server.
    Best regards
    macmartin

  • Fail DBD::mysql 4.003 installation

    hi all
    I am trying to install perl module DBD-mysql-4.003 for bugzilla 3.0 installation.
    Os Version information is as below.
    Red Hat Enterprise Linux AS release 3 (Taroon Update 4)
    Linux localhost.localdomain 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i
    686 i686 i386 GNU/Linux
    Upon manually installing the DBD::mysql version, I am getting the following error message.
    [root@localhost DBD-mysql-4.003]# export LANG=C
    [root@localhost DBD-mysql-4.003]# perl Makefile.PL
    I will use the following settings for compiling and testing:
    cflags (mysql_config) = -I/usr/include/mysql -g -pipe -march=i386 -mcpu
    =i686
    embedded (mysql_config) =
    libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lns
    l -lm
    mysql_config (guessed ) = mysql_config
    nocatchstderr (default ) = 0
    nofoundrows (default ) = 0
    ssl (guessed ) = 0
    testdb (default ) = test
    testhost (default ) =
    testpassword (default ) =
    testsocket (default ) =
    testuser (default ) =
    To change these settings, see 'perl Makefile.PL --help' and
    'perldoc INSTALL'.
    Multiple copies of Driver.xst found in: /usr/lib/perl5/site_perl/5.8.0/i386-linu
    x-thread-multi/auto/DBI/ /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-mult
    i/auto/DBI/ at Makefile.PL line 738
    Using DBI 1.58 (for perl 5.008 on i386-linux-thread-multi) installed in /usr/lib
    /perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/
    Writing Makefile for DBD::mysql
    [root@localhost DBD-mysql-4.003]# make
    gcc -c -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI -I/usr
    /include/mysql -g -pipe -march=i386 -mcpu=i686 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g
    -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
    -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/
    gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"4.003\" -DXS_VERSION=\"4.
    003\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" dbdimp.c
    gcc -c -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI -I/usr
    /include/mysql -g -pipe -march=i386 -mcpu=i686 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g
    -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
    -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/
    gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"4.003\" -DXS_VERSION=\"4.
    003\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" mysql.c
    Running Mkbootstrap for DBD::mysql ()
    chmod 644 mysql.bs
    rm -f blib/arch/auto/DBD/mysql/mysql.so
    LD_RUN_PATH="/usr/lib/mysql:/lib" /usr/bin/perl myld gcc -shared -L/usr/local/l
    ib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/lib/mysql -lm
    ysqlclient -lz -lcrypt -lnsl -lm
    chmod 755 blib/arch/auto/DBD/mysql/mysql.so
    cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
    chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
    Manifying blib/man3/DBD::mysql.3pm
    Manifying blib/man3/DBD::mysql::INSTALL.3pm
    Manifying blib/man3/Bundle:BD::mysql.3pm
    [root@localhost DBD-mysql-4.003]# make test
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
    'blib/lib', 'blib/arch')" t/*.t
    t/00base.............ok
    t/10dsnlist..........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/10dsnlist.t line 45
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/10dsnlist..........dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-9
    Failed 9/9 tests, 0.00% okay
    t/20createdrop.......DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/20createdrop.t line 45
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/20createdrop.......dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-6
    Failed 6/6 tests, 0.00% okay
    t/30insertfetch......DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/30insertfetch.t line 48
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/30insertfetch......dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-11
    Failed 11/11 tests, 0.00% okay
    t/35limit............DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/35limit.t line 50
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/35limit............dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-113
    Failed 113/113 tests, 0.00% okay
    t/35prepare..........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/35prepare.t line 35
    t/35prepare..........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-40
    Failed 40/40 tests, 0.00% okay
    t/40bindparam........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/40bindparam.t line 57
    t/40bindparam........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    t/40bindparam2.......DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/40bindparam2.t line 64
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/40bindparam2.......dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-13
    Failed 13/13 tests, 0.00% okay
    t/40blobs............DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/40blobs.t line 64
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/40blobs............dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-11
    Failed 11/11 tests, 0.00% okay
    t/40catalog..........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/40catalog.t line 22
    # Looks like your test died before it could output anything.
    t/40catalog..........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    t/40listfields.......DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/40listfields.t line 57
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/40listfields.......dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-19
    Failed 19/19 tests, 0.00% okay
    t/40nulls............DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/40nulls.t line 50
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/40nulls............dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-11
    Failed 11/11 tests, 0.00% okay
    t/40numrows..........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/40numrows.t line 59
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/40numrows..........dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-25
    Failed 25/25 tests, 0.00% okay
    t/41bindparam........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/41bindparam.t line 37
    t/41bindparam........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-11
    Failed 11/11 tests, 0.00% okay
    t/41blobs_prepare....DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/41blobs_prepare.t line 71
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/41blobs_prepare....dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-24
    Failed 24/24 tests, 0.00% okay
    t/42bindparam........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/42bindparam.t line 37
    t/42bindparam........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-11
    Failed 11/11 tests, 0.00% okay
    t/50chopblanks.......DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/50chopblanks.t line 57
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/50chopblanks.......dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-35
    Failed 35/35 tests, 0.00% okay
    t/50commit...........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/50commit.t line 64
    Can't call method "tables" on an undefined value at t/lib.pl line 234.
    t/50commit...........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-30
    Failed 30/30 tests, 0.00% okay
    t/60leaks............skipped
    all skipped: $ENV{SLOW_TESTS} is not set
    t/70takeimp..........skipped
    all skipped: test feature not implemented
    t/75supported_sql....DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/75supported_sql.t line 35
    t/75supported_sql....dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-17
    Failed 17/17 tests, 0.00% okay
    t/80procs............DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/80procs.t line 32
    t/80procs............dubious
    Test returned status 255 (wstat 65280, 0xff00)
    t/insertid...........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/insertid.t line 14
    t/insertid...........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-16
    Failed 16/16 tests, 0.00% okay
    t/param_values.......DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/param_values.t line 16
    Can't call method "tables" on an undefined value at t/lib.pl line 234.
    t/param_values.......dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-8
    Failed 8/8 tests, 0.00% okay
    t/prepare_noerror....DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/prepare_noerror.t line 22
    Can't call method "prepare" on an undefined value at t/prepare_noerror.t line 25
    t/prepare_noerror....dubious
    Test returned status 255 (wstat 65280, 0xff00)
    t/texecute...........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/texecute.t line 17
    Can't call method "tables" on an undefined value at t/lib.pl line 234.
    t/texecute...........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-9
    Failed 9/9 tests, 0.00% okay
    t/utf8...............DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/utf8.t line 49
    t/utf8...............dubious
    Test returned status 255 (wstat 65280, 0xff00)
    Failed Test Stat Wstat Total Fail Failed List of Failed
    t/10dsnlist.t 10 2560 9 9 100.00% 1-9
    t/20createdrop.t 10 2560 6 6 100.00% 1-6
    t/30insertfetch.t 10 2560 11 11 100.00% 1-11
    t/35limit.t 10 2560 113 113 100.00% 1-113
    t/35prepare.t 255 65280 40 40 100.00% 1-40
    t/40bindparam.t 255 65280 ?? ?? % ??
    t/40bindparam2.t 10 2560 13 13 100.00% 1-13
    t/40blobs.t 10 2560 11 11 100.00% 1-11
    t/40catalog.t 255 65280 ?? ?? % ??
    t/40listfields.t 10 2560 19 19 100.00% 1-19
    t/40nulls.t 10 2560 11 11 100.00% 1-11
    t/40numrows.t 10 2560 25 25 100.00% 1-25
    t/41bindparam.t 255 65280 11 11 100.00% 1-11
    t/41blobs_prepare.t 10 2560 24 24 100.00% 1-24
    t/42bindparam.t 255 65280 11 11 100.00% 1-11
    t/50chopblanks.t 10 2560 35 35 100.00% 1-35
    t/50commit.t 255 65280 30 30 100.00% 1-30
    t/75supported_sql.t 255 65280 17 17 100.00% 1-17
    t/80procs.t 255 65280 ?? ?? % ??
    t/insertid.t 255 65280 16 16 100.00% 1-16
    t/param_values.t 255 65280 8 8 100.00% 1-8
    t/prepare_noerror.t 255 65280 ?? ?? % ??
    t/texecute.t 255 65280 9 9 100.00% 1-9
    t/utf8.t 255 65280 ?? ?? % ??
    2 tests skipped.
    Failed 24/27 test scripts, 11.11% okay. 419/424 subtests failed, 1.18% okay.
    make: *** [test_dynamic] Error 2
    Any help on this regard, is greatly appreciated.
    regards,
    Tejas

    I suggest that you ask for help in a MySQL forum.
    Anyhow, it seems like you are trying to install quite a new package on an old distribution or you might have a permissions problem.
    Try this forum:
    http://www.cpanforum.com/dist/DBD-mysql

  • Problems building a stand alone application with LV 8.6.1.

    I'm having problems building  a stand alone application with LV8.6.1. I'm using a USB- 6008 DAQ and USB-6501 Digital device in the application. I already have an simple executable on the machine so the Run time Engine is already installed.  For the USB DAQ device, I assume I need to include the DAQmx8.8 as one of the installers. When I attempt to build the application, I'm prompted for several disk, one being a distribuition disk 1. I have the installation disk for the developer package. I did not  see a distribuiton disk as one of the installation disks. When I insert disk 1 I get an error that another application is trying to run. Could someone tell me which installers I need to include and where do I find the "distributor" disk.
    Thank you,

    are you building installer for the first time on this PC?...It usually asks for the drivers CDs and some toolkits if required.
    you just need to use drivers CDs (comes with LabVIEW) from which you installed on this PC. If you have ever upgraded drivers, then you have to use the latest CDs only.......
    another issue may be ...when u insert the driver disk, it has autorun, it will launch drivers installation wizard....close that and then try to build distribution......... 
    Message Edited by Anil Reddy on 09-25-2009 01:22 PM
    Anil Punnam
    CLD
    LV 2012, TestStand 4.2..........

  • Error "Problem building schema" while invoking external webservice

    Hi,
    I have following problem:
    I created 2 BPEL processes.
    One of these processes should be called from the other as a partnerlink.
    When I create the partnerlink, pointing to the deployed wsdl, I get following error "Problem building schema" when I try to access the input variable that was created by the invoke activity.
    I have tried a lot of things but keep on getting this error.
    When I create a new, empty BPEL process, and do exactly the same it does work!
    any help would be greatly appreciated.....

    Hi,
    I have given this URL 'http://ws.cdyne.com/WeatherWS/Weather.asmx?WSDL'.
    Now it is showing the following error
    Exception occured in library handler.Not implemented.
    Exception of class CX_SIDL_INTERNAL_ERROR
    Please have a look into it
    Regards,
    Dhana

  • "Problem building schema" exception in BPEL Designer

    Hi all,
    I use BPEL Designer 10.1.2.0.2 and encounter the following problem:
    I built a web service based on the Oracle Toplink How To demo. The web service has one published method that returns a custom 'Customer' object.
    I deployed the web service on my localhost (AS 10.1.3)
    In my BPEL process, I create a partnerlink based on the WSDL that was generated by JDeveloper and let BPEL Designer create a local copy.
    Then I created an invoke and had the wizard create in- and output variables for the invoke.
    When I select either the input- or output variable in the structure pane, I get an error message when I click on the 'parameters' entry. The message shown is 'Exception - problem building schema!'
    When I check the 'show detailed node information' box no additional info is shown!
    Any Idea what might go wrong?
    The WSDL looks as follows:
    <definitions
    name="updCustWS"
    targetNamespace="http://examples.ox.model/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://examples.ox.model/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns0="http://examples.ox.model/types/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns1="http://www.oracle.com/webservices/internal/literal"
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="urn:customer-example" schemaLocation="Customer.xsd"/>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://examples.ox.model/types/"
    elementFormDefault="qualified" xmlns:tns="http://examples.ox.model/types/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:ns1="http://www.oracle.com/webservices/internal/literal">
    <import namespace="http://www.oracle.com/webservices/internal/literal"/>
    <import namespace="urn:customer-example" schemaLocation="Customer.xsd"/>
    <complexType name="getCust">
    <sequence>
    <element name="cust" type="tns:Customer" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="Customer">
    <sequence>
    <element name="gender" type="string" nillable="true"/>
    <element name="dateOfBirth" type="dateTime" nillable="true"/>
    <element name="phoneNumbers" type="ns1:vector" nillable="true"/>
    <element name="shippingAddress" type="tns:Address" nillable="true"/>
    <element name="billingAddress" type="tns:Address" nillable="true"/>
    <element name="firstName" type="string" nillable="true"/>
    <element name="lastName" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="Address">
    <sequence>
    <element name="postalCode" type="string" nillable="true"/>
    <element name="suite" type="string" nillable="true"/>
    <element name="street" type="string" nillable="true"/>
    <element name="province" type="string" nillable="true"/>
    <element name="city" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="getCustResponse">
    <sequence>
    <element name="result" type="tns:Customer" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="version">
    <sequence/>
    </complexType>
    <complexType name="versionResponse">
    <sequence>
    <element name="result" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <element name="getCustElement" type="tns:getCust"/>
    <element name="getCustResponseElement" type="tns:getCustResponse"/>
    <element name="versionElement" type="tns:version"/>
    <element name="versionResponseElement" type="tns:versionResponse"/>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.oracle.com/webservices/internal/literal"
    elementFormDefault="qualified" xmlns:tns="http://www.oracle.com/webservices/internal/literal"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
    <import namespace="http://examples.ox.model/types/"/>
    <import namespace="urn:customer-example" schemaLocation="Customer.xsd"/>
    <complexType name="vector">
    <complexContent>
    <extension base="tns:list">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="list">
    <complexContent>
    <extension base="tns:collection">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="collection">
    <sequence>
    <element name="item" type="anyType" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </schema>
    </types>
    <message name="UpdCustWS_getCust">
    <part name="parameters" element="tns0:getCustElement"/>
    </message>
    <message name="UpdCustWS_getCustResponse">
    <part name="parameters" element="tns0:getCustResponseElement"/>
    </message>
    <message name="UpdCustWS_version">
    <part name="parameters" element="tns0:versionElement"/>
    </message>
    <message name="UpdCustWS_versionResponse">
    <part name="parameters" element="tns0:versionResponseElement"/>
    </message>
    <portType name="updCustWS">
    <operation name="getCust">
    <input message="tns:UpdCustWS_getCust"/>
    <output message="tns:UpdCustWS_getCustResponse"/>
    </operation>
    <operation name="version">
    <input message="tns:UpdCustWS_version"/>
    <output message="tns:UpdCustWS_versionResponse"/>
    </operation>
    </portType>
    <binding name="updCustWSSoapHttp" type="tns:updCustWS">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="getCust">
    <soap:operation soapAction="http://examples.ox.model//getCust"/>
    <input>
    <soap:body use="literal" parts="parameters"/>
    </input>
    <output>
    <soap:body use="literal" parts="parameters"/>
    </output>
    </operation>
    <operation name="version">
    <soap:operation soapAction="http://examples.ox.model//version"/>
    <input>
    <soap:body use="literal" parts="parameters"/>
    </input>
    <output>
    <soap:body use="literal" parts="parameters"/>
    </output>
    </operation>
    </binding>
    <service name="updCustWS">
    <port name="updCustWSSoapHttpPort" binding="tns:updCustWSSoapHttp">
    <soap:address location="http://localhost:7780/toplinkDemo-toplink-context-root/updCustWSSoapHttpPort"/>
    </port>
    </service>
    </definitions>
    any help would be greatly appreciated!
    Thanks in advance,
    Rob

    Hi
    I know it's an old thread, but I'm having the same issue.
    I have created an EJB3 web service that returns an object with 2 nested objects. The autogenerated WSDL looks something like this:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns0="http://www.oracle.com/webservices/internal/literal" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://smbc.crm.persistence.services/" name="CRMBusinessWSService" targetNamespace="http://smbc.crm.persistence.services/">
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="http://www.oracle.com/webservices/internal/literal" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://smbc.crm.persistence.services/" elementFormDefault="qualified">
    <import namespace="http://www.oracle.com/webservices/internal/literal"/>
    <complexType name="Businesses">
    <sequence>
    <element name="partyId" type="long" nillable="true"/>
    <element name="businessContactPoints" type="ns1:list" nillable="true"/>
    <element name="businessAddresses" type="ns1:list" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="BusinessAddresses">
    <sequence>
    <element name="locality" type="string" nillable="true"/>
    <element name="paon" type="string" nillable="true"/>
    <element name="siteUseType" type="string" nillable="true"/>
    <element name="locationId" type="long" nillable="true"/>
    <element name="townName" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="BusinessContactPoints">
    <sequence>
    <element name="telCountryCode" type="string" nillable="true"/>
    <element name="partyId" type="long" nillable="true"/>
    <element name="telAreaCode" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <element name="queryBusinessesFindByPartyId" type="tns:queryBusinessesFindByPartyId"/>
    <complexType name="queryBusinessesFindByPartyId">
    <sequence>
    <element name="int_1" type="int"/>
    </sequence>
    </complexType>
    <element name="queryBusinessesFindByPartyIdResponse" type="tns:queryBusinessesFindByPartyIdResponse"/>
    <complexType name="queryBusinessesFindByPartyIdResponse">
    <sequence>
    <element name="return" type="tns:Businesses" nillable="true"/>
    </sequence>
    </complexType>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.oracle.com/webservices/internal/literal" targetNamespace="http://www.oracle.com/webservices/internal/literal" elementFormDefault="qualified">
    <import namespace="http://smbc.crm.persistence.services/"/>
    <complexType name="list">
    <complexContent>
    <extension base="tns:collection">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="collection">
    <sequence>
    <element name="item" type="anyType" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </schema>
    </types>
    <message name="CRMBusinessWS_queryBusinessesFindByPartyId">
    <part name="parameters" element="tns:queryBusinessesFindByPartyId"/>
    </message>
    <message name="CRMBusinessWS_queryBusinessesFindByPartyIdResponse">
    <part name="parameters" element="tns:queryBusinessesFindByPartyIdResponse"/>
    </message>
    <portType name="CRMBusinessWS">
    <operation name="queryBusinessesFindByPartyId">
    <input message="tns:CRMBusinessWS_queryBusinessesFindByPartyId"/>
    <output message="tns:CRMBusinessWS_queryBusinessesFindByPartyIdResponse"/>
    </operation>
    </portType>
    <binding name="CRMBusinessWSSoapHttp" type="tns:CRMBusinessWS">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="queryBusinessesFindByPartyId">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="CRMBusinessWSService">
    <port name="CRMBusinessSessionEJB" binding="tns:CRMBusinessWSSoapHttp">
    <soap:address location="http://blah.solihull.gov.uk:1234/crm-ws/CRMBusinessSessionEJB"/>
    </port>
    </service>
    </definitions>
    The web service runs fine and returns a valid XML document (like below):
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="http://smbc.crm.persistence.services/"
    xmlns:ns1="http://www.oracle.com/webservices/internal/literal">
    <env:Body>
    <ns0:queryBusinessesFindByPartyIdResponse>
    <ns0:return>
    <ns0:turnover xsi:nil="1"/>
    <ns0:partyId>551837</ns0:partyId>
    <ns0:employeesLocal xsi:nil="1"/>
    <ns0:employeesNational xsi:nil="1"/>
    <ns0:businessName xsi:nil="1"/>
    <ns0:classificationSic xsi:nil="1"/>
    <ns0:registeredBusinessName>Bob The Builder</ns0:registeredBusinessName>
    <ns0:classificationLacors xsi:nil="1"/>
    <ns0:sbaLinkNumber xsi:nil="1"/>
    <ns0:legalStatus xsi:nil="1"/>
    <ns0:localAuthority xsi:nil="1"/>
    <ns0:bpa>560950</ns0:bpa>
    <ns0:dateCommencedTrading xsi:nil="1"/>
    <ns0:businessDirectoryListing xsi:nil="1"/>
    <ns0:businessStage xsi:nil="1"/>
    <ns0:classificationBcl xsi:nil="1"/>
    <ns0:employeesGlobal xsi:nil="1"/>
    <ns0:descriptionOfBusiness xsi:nil="1"/>
    <ns0:businessContactPoints xsi:type="ns1:vector">
    <ns1:item xsi:type="ns0:BusinessContactPoints">
    <ns0:telCountryCode xsi:nil="1"/>
    <ns0:partyId>551837</ns0:partyId>
    <ns0:contactPointType>EMAIL</ns0:contactPointType>
    <ns0:contactTelephoneNumber xsi:nil="1"/>
    <ns0:bpa>560950</ns0:bpa>
    <ns0:contactPointId>76330</ns0:contactPointId>
    <ns0:telExtensionNumber xsi:nil="1"/>
    <ns0:contactEmailAddress>[email protected]</ns0:contactEmailAddress>
    <ns0:registeredBusinessName>Bob The Builder</ns0:registeredBusinessName>
    <ns0:telAreaCode xsi:nil="1"/>
    </ns1:item>
    <ns1:item xsi:type="ns0:BusinessContactPoints">
    <ns0:telCountryCode>44</ns0:telCountryCode>
    <ns0:partyId>551837</ns0:partyId>
    <ns0:contactPointType>PHONE</ns0:contactPointType>
    <ns0:contactTelephoneNumber>323233</ns0:contactTelephoneNumber>
    <ns0:bpa>560950</ns0:bpa>
    <ns0:contactPointId>76329</ns0:contactPointId>
    <ns0:telExtensionNumber xsi:nil="1"/>
    <ns0:contactEmailAddress xsi:nil="1"/>
    <ns0:registeredBusinessName>Bob The Builder</ns0:registeredBusinessName>
    <ns0:telAreaCode>123</ns0:telAreaCode>
    </ns1:item>
    </ns0:businessContactPoints>
    <ns0:businessAddresses xsi:type="ns1:vector">
    <ns1:item xsi:type="ns0:BusinessAddresses">
    <ns0:partyId>551837</ns0:partyId>
    <ns0:locality>Kingshurst</ns0:locality>
    <ns0:paon>20</ns0:paon>
    <ns0:siteUseType>HEADQUATERS_FOR</ns0:siteUseType>
    <ns0:locationId>34380</ns0:locationId>
    <ns0:townName>Birmingham</ns0:townName>
    <ns0:registeredBusinessName>Bob The Builder</ns0:registeredBusinessName>
    <ns0:saon xsi:nil="1"/>
    <ns0:bpa>560950</ns0:bpa>
    <ns0:country>GB</ns0:country>
    <ns0:uprn>100070950848</ns0:uprn>
    <ns0:dateOfOccupancyAtthisaddr xsi:nil="1"/>
    <ns0:streetDescriptor>Acacia Avenue</ns0:streetDescriptor>
    <ns0:postcode>B37 6AQ</ns0:postcode>
    <ns0:countyName xsi:nil="1"/>
    <ns0:usrn xsi:nil="1"/>
    </ns1:item>
    </ns0:businessAddresses>
    </ns0:return>
    </ns0:queryBusinessesFindByPartyIdResponse>
    </env:Body>
    </env:Envelope>
    The problem is that I'm trying to transform this message in BPEL/ESB but the mapper does not understand the schema as described in the WSDL and will not let me do 'for-each' or 'if' actions on the collections of addresses for example.
    I've tried injecting my own WSDL into the EJB3 web service through annotations, but it will not compile....
    Can anybody help????
    Thanks
    Chris

Maybe you are looking for

  • In Outlook the 'people' (address book) page does not work at all in Firefox.

    Hi, I have checked and it works fine using Explorer. I've checked that cookies are enabled. When I click the people icon the address bar shows:- https://outlook.live.com/owa/#path=/people However the page remains completely blank, there is no 'wheel'

  • How do you change the FILE "print code" resulting printed font size?

    I would like to adjust the "Print Code" resulting printed document font size. Though the changes can be made in display font for the Code window via a file or the Preferences Menu, I cannot find the style information to change the Print Code. Thanks

  • Tree column in AdvacedDataGrid component

    Hi, is it possible to define the column in which the tree is displayed? I need the tree in the second column. I always get the tree in the first column of the grid. This can't be so hard to change. I saw this feature in the treegrid implementation in

  • OS X Yosemite Keeps Crashing To Log-In Screen

    Hi I had previously been using the OS X Yosemite Beta and upgraded to the full version, but I have had nothing but problems with it. My MacBook Air keeps crashing back to the log-in screen. It happens in numerous ways - I could be opening an app, clo

  • Can't install anything

    Hi everyone! Gotta quite a problem: right after getting the update 1.1 (Russia) and installing a few apps, my n9 started to reject installing all other apps. Right before the downloading of any, the messege appears and tells me that I should delete s