Build Problems DBXML-2.4.16 And RHEL 5.3 : __ctype_b Error.

Hello, I'm attempting a new install of dbxml 2.4.16 on a RHEL 5.3 system. Using the buildall.sh, I am able to build DBXML and Xerces, however, XQilla fails with this error:
gmake[1]: Entering directory `/home/b/dbxml/dbxml-2.4.16/xqilla/build'
/bin/sh ./libtool tag=CXX   mode=link g++ -O2 -ftemplate-depth-50 -L/home/b/dbxml/dbxml-2.4.16/xerces-c-src/lib -R/home/b/dbxml/dbxml-2.4.16/xerces-c-src/lib -L/usr/lib -R/usr/lib -lxerces-c -ltidy -o xqilla xqilla-commandline.o libxqilla.la -lnsl -lpthread
g++ -O2 -ftemplate-depth-50 -o .libs/xqilla xqilla-commandline.o -L/home/b/dbxml/dbxml-2.4.16/xerces-c-src/lib -L/usr/lib -lxerces-c -ltidy ./.libs/libxqilla.so -lnsl -lpthread -Wl,--rpath -Wl,/home/b/dbxml/dbxml-2.4.16/install/lib -Wl,--rpath -Wl,/home/b/dbxml/dbxml-2.4.16/xerces-c-src/lib -Wl,--rpath -Wl,/usr/lib
./.libs/libxqilla.so: undefined reference to `__ctype_b'
collect2: ld returned 1 exit status
gmake[1]: *** [xqilla] Error 1
gmake[1]: Leaving directory `/home/bl/dbxml/dbxml-2.4.16/xqilla/build'
gmake: *** [all-recursive] Error 1
The research I have done points me to a glibc problem on Red Hat system with glibc < 2.3, however, my version of glibc is glibc-2.5.34.i686
Any suggestions? I'm losing what's left of my hair trying to figure this out.
Thanks.

George,
The problem was that the DbXml.so was being linked with the C compiler (cc) but it needed to be linked with the C++ compiler (CC).
I worked around the problem by issuing the link command by hand and changing cc to CC
ie issued the following command in the DbXml directory:
LD_RUN_PATH="/home/nick/dbxml-2.4.16/dbxml/build_unix/.libs:/usr/local/dbxml-2.4.16/lib" /opt/SUNWspro/bin/CC -G -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib/sparc -L/opt/SUNWspro/prod/lib -L/lib -L/usr/local/dbxml-2.4.16/lib -R/usr/local/dbxml-2.4.16/lib DbXml.o -o ../blib/arch/auto/Sleepycat/DbXml/DbXml.so -L/home/nick/dbxml-2.4.16/dbxml/build_unix/.libs -L/usr/local/dbxml-2.4.16/lib -ldbxml-2.4 -ldb_cxx-4 -lxerces-c -lxqilla
chmod 755 ../blib/arch/auto/Sleepycat/DbXml/DbXml.so
Now all the tests are successful.
I don't know how to fix the module to make it use the correct compiler to link.
Regards
Nick

Similar Messages

  • [svn] 2142: swfutils: Somehow a Java 1.5 API (Integer.valueOf(int)) slipped into the 30x branch, and has only sporadically caused build problems.

    Revision: 2142
    Author: [email protected]
    Date: 2008-06-18 15:17:01 -0700 (Wed, 18 Jun 2008)
    Log Message:
    swfutils: Somehow a Java 1.5 API (Integer.valueOf(int)) slipped into the 30x branch, and has only sporadically caused build problems.
    * By "somehow" I mean it was my injection :)
    * Apparently this compiles in 1.4.2 on a Mac, go figure? I assume Windows JDK doesn't accept it.
    * Replaced it with 'new Integer(int)'
    Reviewer: Matt, community folks
    Bugs: n/a
    QA: no
    Doc: no
    Modified Paths:
    flex/sdk/branches/3.0.x/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java

    Revision: 2142
    Author: [email protected]
    Date: 2008-06-18 15:17:01 -0700 (Wed, 18 Jun 2008)
    Log Message:
    swfutils: Somehow a Java 1.5 API (Integer.valueOf(int)) slipped into the 30x branch, and has only sporadically caused build problems.
    * By "somehow" I mean it was my injection :)
    * Apparently this compiles in 1.4.2 on a Mac, go figure? I assume Windows JDK doesn't accept it.
    * Replaced it with 'new Integer(int)'
    Reviewer: Matt, community folks
    Bugs: n/a
    QA: no
    Doc: no
    Modified Paths:
    flex/sdk/branches/3.0.x/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java

  • How to get Flash Builder problems tab (warnings and errors) in english

    Hi,
    my Flash Builder installation is showing the warnings and errors in Finnish. I get the idea behind this and the reason is good, as I'm native speaker of the language. Nevertheless it has some drawbacks when trying to resolve the issue by googling the error because Finnish is pretty marginal language and almost every Finnish Flex developer writes his/her posts in English. So either I have to try to guess the problems correct translation in English, which can be hopeless, or try to google it in Finnish which, as said, returns about zero results.
    That said, I'm wondering if it's possible to change the warnings and problems in English? Do I need to reinstall Flash Builder to accomplish this?
    Best regards,
    Jukka Hämäläinen

    Hi, thanks for fast reply.
    Unfortunately I already tried that with no success. The strange thing is, that in my Flash Builder plugin directory in eclipse.ini the language was already declared as follows:
    -nl
    en_US
    Didn't even touch that, it was there before and still my errors and warnings were (and still stay) in Finnish (everything else in Eclipse is in English).
    Any thoughts?
    Cheers,
    Jukka

  • NWDS and DC Build Problem

    Hi,
    I recently installed a new version of NWDS on my workstation.  This was an upgrade to Version 7.0.10   For some reason my DC will no longer  build successfully since using the 7.0.10 version of NWDS.  The error I get is:
    /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: /mydc : Build failed for /mydc in variant "default": null
    Thanks,
    Brian

    Hi All
    I facing same problem. Can you help me how to resolve this. I want to convert existing WebDynpro project into NWDI. I followed two ways to achieve it.
    1) I followed step by step in this help link
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/42/c8204dd57f136fe10000000a1553f7/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/42/c8204dd57f136fe10000000a1553f7/frameset.htm</a>.
    2) I newly created one DC (WebDynpro) project and there is an option "Import from existing local project" option.
    I used both of them still there build problems in my DC.

  • Problem with java swing button and loop

    Problem with java swing button and loop
    I�m using VAJ 4.0. and I�m doing normal GUI application. I have next problem.
    I have in the same class two jswing buttons named start (ivjGStart) and stop (ivjGStop) and private static int field named Status where initial value is 0. This buttons should work something like this:
    When I click on start button it must do next:
    Start button must set disenabled and Stop button must set enabled and selected. Field status is set to 1, because this is a condition in next procedure in some loop. And then procedure named IzvajajNeprekinjeno() is invoked.
    And when I click on stop button it must do next:
    Start button must set enabled and selected and Stop button must set disenabled.
    Field status is set to 0.
    This works everything fine without loop �do .. while� inside the procedure IzvajajNeprekinjeno(). But when used this loop the start button all the time stay (like) pressed. And this means that a can�t stop my loop.
    There is java code, so you can get better picture:
    /** start button */
    public void gStart_ActionEvents() {
    try {
    ivjGStart.setEnabled(false);
    ivjGStop.setEnabled(true);
    ivjGStop.setSelected(true);
    getJTextPane1().setText("Program is running ...");
    Status = 1;
    } catch (Exception e) {}
    /** stop button */
    public void gStop_ActionEvents() {
    try {
    ivjGStart.setEnabled(true);
    ivjGStart.setSelected(true);
    ivjGStop.setEnabled(false);
    getJTextPane1().setText("Program is NOT running ...");
    Status = 0;
    } catch (Exception e) {
    /** procedure IzvajajNeprekinjeno() */
    public void IzvajajNeprekinjeno() {  //RunLoop
    try {
    int zamik = 2000; //delay
    do {
    Thread.sleep(zamik);
    PreberiDat(); //procedure
    } while (Status == 1);
    } catch (Exception e) {
    So, I'm asking what I have to do, that start button will not all the time stay pressed? Or some other aspect of solving this problem.
    Any help will be appreciated.
    Best regards,
    Tomi

    This is a multi thread problem. When you start the gui, it is running in one thread. Lets call that GUI_Thread so we know what we are talking about.
    Since java is task-based this will happen if you do like this:
    1. Button "Start" is pressed. Thread running: GUI_Thread
    2. Event gStart_ActionEvents() called. Thread running: GUI_Thread
    3. Method IzvajajNeprekinjeno() called. Thread running: GUI_Thread
    4. Sleep in method IzvajajNeprekinjeno() on thread GUI_Thread
    5. Call PreberiDat(). Thread running: GUI_Thread
    6. Check status. If == 1, go tho 4. Thread running: GUI_Thread.
    Since the method IzvajajNeprekinjeno() (what does that mean?) and the GUI is running in the same thread and the event that the Start button has thrown isn't done yet, the program will go on in the IzvajajNeprekinjeno() method forever and never let you press the Stop-button.
    What you have to do is do put either the GUI in a thread of its own or start a new thread that will do the task of the IzvajajNeprekinjeno() method.
    http://java.sun.com/docs/books/tutorial/uiswing/index.html
    This tutorial explains how to build a multi threaded gui.
    /Lime

  • OC4J 10.1.3 production: Build problem Adventure Builder 1.0.1 using EJB 3.0

    Hi all,
    I tried to use the migration to EJB 3.0 of the Adventure Builder 1.01 from Debu Panda and had some build problems.
    Does anybody know if this demo was tested with the production version of 10.1.3?
    I used the standalone version and had to tweak a lot of entries in ant-oracle.xml.
    Is it possible that the migration was done with a preview release? Have there been so many changes? I had to include a bunch of additional JARs e.g ${J2EE_HOME}/lib/adminclient.jar, ${ORACLE_HOME}/webservices/lib/wsclient.jar. ${ORACLE_HOME}/lib/xmlparserv2.jar
    and others.
    Also I had to change some task definitions as I guess that the contents of ${ORACLE_HOME}/j2ee/utilities/ant-oracle-classes.jar must have changed...
    If I did not do something terribly wrong it would be nice if you could update the example to save other people from this nightmare of running from one build error to the next!
    Regards,
    Eric

    Hi Debu,
    thanks for your reply. I've used an previously installed ant 1.6.5 from ant.apache.org, but I don't think this should matter, or?
    As far as I could see one of the problems is related to the version of ant-oracle-classes.jar in ${ORACLE_HOME}/j2ee/utilities which the example relies on.
    In the adventure builder ant-oracle.xml you'll find task definitions like that:
    taskdef resource="oracle/ant/taskdefs/deploy/antlib.xml" uri="http://www.oracle.com/ant/taskdefs" loaderRef="oracle.tasks.loader">which does not match with what one can find in ${ORACLE_HOME}/j2ee/utilities/ant-oracle-classes.jar
    So from my point of view this has to be changed to
    <taskdef resource="oracle/antlib.xml" uri="antlib:oracle" loaderRef="oracle.tasks.loader">I also had to change some libs... That's why I thought this example was made and tested with an earlier version of oc4j 10.1.3 (maybe a preview version).
    Regards,
    Eric

  • Problem when combinning PWM signal and Analog signal TOGETHER!

    Hello everybody,
    first of all i have DAQmx 6212, and i need to run a small water pump (9V-16V) which needs to be driven by a PWM signal; also i have a motor (5V-13V) for a water valve that needs to be driven by a analog signal and it has a built in a force feedback potentiometer, i connected on the extremeties of this potentiometer +5V from the DAQmx and used the output voltage from the third extremety as a diagnose value for knowing the position of the motor.
    my VI shows:
    1. is a normal Counter output to create my PWMout signal.
    2. is an analog input i use it as a PWMin to the LabVIEW to diagnose what is happenning in my water pump through the duty cycle and the frequency.
    3. is an analog input from the third extremety of the potentiometer.
    4. is an analog output which i have used as a power supply for the motor valve and i have used an AC/DC amplifier to aplify the signal from the DAQmx and drive the motor, between (3. and 4.) i have made a feedback with some calculations i had a P-controller to know the actual position of the motor valve.
    My Problem:
    when putting 1. and 2. in the same VI alone, i am getting a clean PWM in/out with no problems mentioned;
    also when putting 3. and 4. in the same VI alone i can control the motor valve without any problems;
    but when i put all these 4 together as found in the attached VI, i have a problem that the motor valve is running continously without stopping even if i change the valve position between 0 and 100 %, i should mention that i am seeing a normal PWM out/in signal on my oscilloscope, one other thing that if i delete one of (1. or 2.)  and run the VI the motor valve is working fine without any problems.
    so this my problem, if you can think of any solution please let me know.
    thanks in advance for your help.
    Regards,
    Alosh
    Solved!
    Go to Solution.
    Attachments:
    pwm.out.in.analog.out.in.vi ‏45 KB

    Dear nathand thanks for your reply,
    i have ran the vi again and i am have error no 50103 from the (AI, number 3. )  but it is not displaying the error message, the VI keeps running without any error notification.
    adding to that,  i have tested the VI again today by placing (1. and 2.for the PWM inout) together in one VI and (3. and 4.for the motor valve) in another VI and ran them one after the other, i had another problem. if i turn the motor valve vi, the motor will run smoothly but in the pwm vi i will have a problem in which the AI did not read any value. also doing this vice versa by running the pwm vi first it will work perfect but the motor vi will have problem in reading the measured voltage in AI during this the motor will keep on running without stopping.
    so i think now the problem is in AI (2. and 3.) readings they are interfering on each other but i am not discovering where is my problem...
    Q: does the AI's seems well build or i can do it in an another way so to get over the interfering?
    Regards,
    Alosh

  • Application Builder problem on one server but not another

    I am having an Application Builder problem. When I get into App Express and go inside the builder and try to edit a listed application, I get an “http 404 the page cannot be found. The page might have had its name changed or is temporarily unavailable” situation. I can get into SQL commands, utilities, and administrative activities. I can also run the application. Also, if I go onto a different server with App Express on it, I can get into the builder and edit applications with no trouble. Our DBA had the server in question rebooted a little over a week ago and that took care of the problem for a couple days. Any ideas? Is this an Express problem or a server problem? He had also tried restarting Express before he had the reboot done and that didn’t help.
    Thank you for any help.
    Cordially,
    Robert J. Smith

    I have messages from the Apache error log files from the dates I was getting the builder error. For future reference, I will post them below. The builder has been working fine lately.
    Robert Smith
    ** error log messages follow **
    [Mon Jul 16 07:25:12 2007] [error] [client 147.159.5.134] [ecid: 
    79143788610,1] File does not exist:
    /app/oracle/oraappsrv10g/forms/java/java/awt/KeyboardFocusManager.class
    [Mon Jul 16 07:25:12 2007] [error] [client 147.159.5.134] [ecid: 
    79143788611,1] File does not exist:
    /app/oracle/oraappsrv10g/forms/java/java/awt/event/MouseWheelListener.class
    [Mon Jul 16 07:25:13 2007] [error] [client 147.159.5.134] [ecid: 
    83438757083,1] File does not exist:
    /app/oracle/oraappsrv10g/forms/java/oracle/forms/registry/default.dat

  • LabVIEW 8.5.1 Build Problem With LV2010 Installed

    I am experiencing a problem when building an application installer using LabVIEW 8.5.1. I have built this application many time before but since installing LabVIEW 2010 I can no longer build the installer.
    I have tried to buiuld the application on a Windows 7 PC and a Windows XP machine. My minimum requirment in my build options was Windows 2000, I changed that to XP but it made no difference.
    I get the following error message:
    CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFDistCopyList_GetCount.vi
    Loading product deployment information
    Adding files to installer
    *** WARNING ***
    Cannot enforce the requested minimum operating system restriction because the deployment engine only supports Windows XP or later. Resetting minimum restriction to Windows XP or later.
    Done adding files
    Preparing to build deployment
    Copying products from distributions
    *** Error: Fatal runtime error. (Error code -10)
    *** Error Details:
    Error in MDF API function: _MDFDistCopyList_GetCount
    Access violation! Structured exception code 3221225477
    *** End Error Report
    Done building deployment
    Has anyone else come across this?
    Thanks in advance.

    Thanks Andrew.
    It didn't help.  After three days of trying, I did get one system to build without error. I'm currently trying to get another system to build.
    It looks like the Access violation is caused by the deployment utility not asking to change to DVD 3 for CVI after the product caches has been cleared (To fix the error code -40 problem).  Restoring the CVI runtime (NI LabWindows_CVI 2009 Service Pack 1 Run-Time Engine [9.1.1450]) to the Product Cache seems to fix the problem.
    The status log doesn't show enough information to figure out the problems.  Looking at the end of the Detailed_Installer.log is pretty much manditory.
    My recomendation is to build first with "Install TestStand Engine" and the various "Driver and Components..." turned off and then slowly enable the ones wanted. 
    Also, it saves a lot of pain and suffering to do at least one deployment with "Copy Installers to Product Cache by Default" turned on before doing an upgrade so you don't have to go search for old DVD's.
    After a lot of trial and error, I believe these are the steps I went through to finally get it to work:
    1. Close TestStand, LabView, and Deployment Utility
    2. Delete all in C:\Program Files\National Instruments\Shared\ProductCache, except the CVI Runtime
    3. Delete all in  C:\Documents and Settings\All Users\Application Data\National Instruments\MDF\ProductCache, except runtime 7.1.1
    There seems to be something wrong with the .NET language pack installation.  It always seems to generate errors.
    3. Run DotNet20x86langpack.msi  on the Device Driver DVD at Products\DotNet20langpack_x86_Installer\ and uninstall.
    4. Run DotNet20x86langpack.msi  and install.
    5. Put DVD 1 back in.
    Got an error with the .Net installer so. . .
    6. Uninstall at D:\Distributions\LV\Products\DotNet20_x86_Installer\DotNet20x86
    7. Install at D:\Distributions\LV_SE\Products\DotNet20_x86_Installer\DotNet20x86
    8. Again Install  at D:\Distributions\LV\Products\DotNet20_x86_Installer\DotNet20x86
    9. Run TestStand, LabView (if using VI's), and the Deployment Utility.  
    Runtime 8.5.1 should install automatically and ask to reboot the system.  Go ahead reboot and run Teststand, etc. again.
    10. In global settings, 'clear prompt before'. . . , and select 'copy installers to product cache by default'
    11. On Installer Options tab, clear "Install TestStand Engine".
    12. Build - ALWAYS 'remove all files from this folder before building'
    It "should" build.  If not, fix any errors.
    12. Select Install TestStand Engine.
    13. Select Engine Options... and clear all check boxes (except runtime 7.1.1)
    14. Build again (make sure DVD 1 is in)
    15. Install other Engine Options, Drivers and Components.
    16. Build again (make sure DVD 1 is in)

  • K8N Neo2 boot problems, freezes at testing base and extended memory

    I recently bought a motherboard/cpu combo and been having problems.   I'll start with my system specs:
    MSI K8N Neo 2
    AMD 64 3000+ Rev E
    XFX Geforce 6600GT
    Corsair Valueselect 184-Pin DDR SDRAM Unbuffered DDR 400 , 4 512MB sticks
    400W Powersupply
    I ordered a mother/cpu combo along with other parts to build a new computer.  Finally everything arrived a couple days ago and I started building.  First I installed the mb, cpu, ram and vid card to make sure everything was working.  When I started it up I got nothing.  So I started messing around and dropped the ram down to only one stick and used the D-Bracket.  I figured out the cpu had been dislodged during shipping, got it installed again and was able to boot up could get into the bios etc.  I put back in my other three sticks of ram everything seems to be working.  Next I hooked up the hd, cd/dvd etc.  Tried to boot up and it freezes after listing the total memory.  Looking at the D-Bracket it shows it freezes at Testing Base and Extended Memory.  So I unplug everything back down to just cpu, ram and vid card to see if it still works.  It freezes again at testing base and extended memory.
    At this point I drop the ram back down to one stick.  It boots up and I can get into the bios again.  So I shut everything off and put back in the rest of the ram.  Turn it on and it freezes at the same point.  Hmm, drop it back down to one stick and I can make it through to the bios.  Now I'm just frustrated and want to see if I can get my other components working and maybe windows installed then I'll come back to figuring this out.  So I save and exit the bios, while it's rebooting again it freezes at the Testing base and extended memory.
    After playing around with it some more over the past day here is what I've come to see.  If I move one stick of ram around I can get past the testing extended memory to get into the bios or up to the point of needing a boot disk etc.  If I reset or reboot it from this point it will freeze.  If I just leave my computer alone and off for around 30 minutes I can start it up once then it will freeze.  Now I'm just confused why it will intially start up as everything is ok but freeze if it resets.  Everytime it freezes it will be at the Testing Base and Extended Memory.
    Some things I have tried while talking to a friend about the problem is clearing the cmos and also putting in the ram settings in the bios.  Neither seems to work.  I've done a lot of searching on google and in this forum and haven't seen anyone talk about a problem like this so hopefully I'm not missing anything.
    If there's anything else you guys need to know about my setup let me know.  I also hope I wrote this all clearly because at this point I'm pretty frustrated.
    Thanks!

    Ok, newest update.
    After clearing the cmos I put in a stick of ram.  Everything loaded up ok and I went into the bios and entered the values (2.5-3-3-8) and 2.75V.  To my amazement it didnt' lock up after saving and exiting and it made it through to the Disk Boot Failure etc.  So I hit the reset button to see if it would go all the way through again and it froze again with D-Bracket LEDs showing the Testing base and extended.  I turned off the case with the on off switch in the back and powered up again.  It went right through in the past I'd have to wait.  So it seemed like things were a little better.
    So I put in a second stick of ram and it booted all the way through, tried to reset to see what would happen and it froze.  Turned power on and off and it froze not making it anywhere.  Tried that a few more times and it would always freeze right away making no progress.
    Back down to one stick of ram and it works again where I can go into the bios, save and exit and it'll make it through a full boot up to Disk Boot Failure.  Weird thing was once after just hitting the reset button it actually made it all the way through.  So it seems to act differently almost everytime.
    To me at least there doesn't seem to be a logical way I can think of what the problem could be.

  • Moving to New Build in 3 weeks from today and gett...

    Hi there, dont know if anyone can help me? I am moving into a new build flat in 3 weeks time, and I have in advance registered the address with Royal Mail which is on the system and searchable for people, however, when I have tried to search for broadband and phone from any provider it is saying the address isnt recognised and there is no services available. I am beginning to panic now as I have done everything in my power to ensure that the address is registered. I have placed an order with BT for phoneline and broadband and apparently this is with another department but I haven't heard any updates. I am just getting really stressed that I am trying to get things sorted in advance, and because its a new build I am going to end up with no phone line. I have been assured there is a phone line fitted, and the bt box is literally been built outside our front door, so i know that it is set up for the flat ready. Can anyone give me some advice? xx

    Hi
    I am sorry to see you are having problems
    I suggest you contact the forum mods they should be able to get this problem sorted for you this is a link to them http://bt.custhelp.com/app/contact_email/c/4951
    They normally reply by email or phone directly to you within 3/5 working days they will take personal ownership of your problem until resolved and will keep you informed of progress
    They are a UK based BT specialist team who have a good record at getting problems solved
    This is a customer to customer self help forum the only BT presence here are the forum moderators
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Build problem with FlexBuilder 3 Plugin

    Hi,
    I am using the FlexBuilder 3 plugin with Eclipe Europa. I created a Flex project with J2EE backend and WTP support, so that I have both the Flex stuff and the J2EE stuff within the same project. I imported some mxml, as, and java files I had, and I was able to build and run my app using the default Eclipse build/deploy process. Everything worked except the BlazeDS (messagebroker servlet) part, so I decided to delete the Tomcat server (the Eclipse proxy of it), and start again with a new server config.
    This somehow totally broke the build process. Some of the new config used port 8080 instead of 8400. And the only part of my app that was correctly deployed was the java files in the src folder. Properties files were not deployed, jar files were not deployed, even web.xml was not deployed.
    After copying files manually into the Eclipse Tomcat proxy, everything worked fine, including object remoting and HTTPService invocation.
    Can anyone share their experience with the FlexBuilder plugin for java webapps? What is the correct way to set it all up?
    Thanks,
    Miguel

    Milesy wrote:
    Hi.
    I have upgraded from 1.5 APT to the 1.6 method of doing compile time annotations, and I am runing into a problem trying to build a jar containing my annotations processor.
    I get the error from maven (mvn package)
    [INFO] Compilation failure
    error: Bad service configuration file, or exception thrown while constructing Processor object: javax.annotation.processing.Processor: Provider annotations.processing.processors.CodeAnnotationProcessor not foundFor me it worked when I used the settings
    <plugins>
      <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <configuration>
            <source>1.6</source>
            <target>1.6</target>
            <fork>true</fork>
            <executable>${java.home}/../bin/javac</executable>
            <compilerArgument>-proc:none</compilerArgument>
          </configuration>
        </plugin>
    </plugins>
    ...Forking the compiler is perhaps not the best option, but its just for the annotation processor.

  • Build problem with Maven

    Hi.
    I have upgraded from 1.5 APT to the 1.6 method of doing compile time annotations, and I am runing into a problem trying to build a jar containing my annotations processor.
    I get the error from maven (mvn package)
    [INFO] Compilation failure
    error: Bad service configuration file, or exception thrown while constructing Processor object: javax.annotation.processing.Processor: Provider annotations.processing.processors.CodeAnnotationProcessor not found
    I have the following directory structure
    src
    --main
    ----java
    ------annotations
    --------processing
    ----------processors
    ------------CodeAnnotationProcessor.java
    ----------annotations
    ------------CodeAnnotation.java
    ----resources
    ------META-INF
    --------service
    ----------javax.annotation.processing.Processor
    I build this with the following with maven
    <project xmlns="http://maven.apache.org/POM/4.0.0"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>mygroup</groupId>
        <artifactId>annotations-processor</artifactId>
        <packaging>jar</packaging>
        <version>1.0.0</version>
        <name>annotations-processor</name>
        <url>http://maven.apache.org</url>
        <dependencies>
            <dependency>
                <groupId>com.sun</groupId>
                <artifactId>tools</artifactId>
                <version>1.4.2</version>
                <scope>system</scope>
                <systemPath>C:/Java/jdk1.6.0_10/lib/tools.jar</systemPath>
            </dependency>
        </dependencies>
        <build>
            <plugins>
                <plugin>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <configuration>
                        <source>1.6</source>
                        <target>1.6</target>
                    </configuration>
                </plugin>
            </plugins>
        </build>
    </project>The javax.annotation.processing.Processor file contains
    annotations.processing.processors.CodeAnnotationProcessorAny my
    package annotations.processing.processors;
    import javax.annotation.processing.AbstractProcessor;
    import javax.annotation.processing.RoundEnvironment;
    import javax.annotation.processing.SupportedSourceVersion;
    import javax.annotation.processing.SupportedAnnotationTypes;
    import javax.lang.model.element.TypeElement;
    import javax.lang.model.SourceVersion;
    import java.util.Set;
    @SupportedAnnotationTypes(
            "annotations.processing.annotations.CodeAnnotation")
    @SupportedSourceVersion(SourceVersion.RELEASE_6)
    public class CodeAnnotationProcessor extends AbstractProcessor {
        public boolean process(Set<? extends TypeElement> annotations,
                               RoundEnvironment roundEnv) {
            return true;
    }And my CodeAnnotation is as follows
    package annotations.processing.annotations;
    import java.lang.annotation.Target;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    @Target(ElementType.TYPE)
    @Retention(RetentionPolicy.SOURCE)
    public @interface CodeAnnotation {
    }

    Milesy wrote:
    Hi.
    I have upgraded from 1.5 APT to the 1.6 method of doing compile time annotations, and I am runing into a problem trying to build a jar containing my annotations processor.
    I get the error from maven (mvn package)
    [INFO] Compilation failure
    error: Bad service configuration file, or exception thrown while constructing Processor object: javax.annotation.processing.Processor: Provider annotations.processing.processors.CodeAnnotationProcessor not foundFor me it worked when I used the settings
    <plugins>
      <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <configuration>
            <source>1.6</source>
            <target>1.6</target>
            <fork>true</fork>
            <executable>${java.home}/../bin/javac</executable>
            <compilerArgument>-proc:none</compilerArgument>
          </configuration>
        </plugin>
    </plugins>
    ...Forking the compiler is perhaps not the best option, but its just for the annotation processor.

  • ModBus IO server build problem...

    Greetings,
    My application calls for a target computer to function as a modbus master, thus I've created a modbus IO server.  Everything works well, the problem is when I try and build an executable that deploys both the IO server and the shared variables in the project library.  I've tried various options and Ive gone through all the documentation I could find, but still the problem persists.  So my question is what are the relevant steps that are needed to successfully build an installer / exe to get all the necessary files across to the target computer so that all the variables and the IO server successfully deploys the shared variable engine.....
    been hiting my head against the wall

    Hi ANT0074,
    Although there is some good detail in your post you didn't explicitly state your problem.  Are the variables and I/O server not being saved in the executable or are they just not deploying on the target machine when you run the executable? Can you give a little more detail on the exact problem?  Thanks.
    Stephen S.
    National Instruments
    1 Test is worth 1000 expert opinions

  • Problems with Cocoon 2.03 and Weblogic 6.1 SP3

    I am having problems with Cocoon 2.03 and Weblogic 6.1 SP3, when I try to deploy
    the cocoon.war.
    Cocoon works fine when I unpack the cocoon.war into ...\mydomain\applications
    (after I changed cocoon.xconf to use the following transformer factory: org.apache.xalan.processor.TransformerFactoryImpl).
    However, when I deploy the cocoon.war through the weblogic console and try to
    invoke cocoon (http://localhost:7001/cocoon/) I get the following error:
    ERROR (2002-09-26) 11:28.40:859 [sitemap] (/cocoon/) ExecuteThread: '7' for
    queue: 'default'/Handler: Error compiling sitemap
    java.util.zip.ZipException: The system cannot find the file specified
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:110)
         at java.util.zip.ZipFile.<init>(ZipFile.java:125)
         at weblogic.utils.zip.ZipURLConnection.getInputStream(Handler.java:49)
         at org.apache.cocoon.components.source.URLSource.getInputStream(URLSource.java:151)
         at org.apache.cocoon.components.source.URLSource.getInputSource(URLSource.java:223)
         at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:318)
         at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:282)
         at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:196)
         at org.apache.cocoon.sitemap.Handler.run(Handler.java:228)
         at java.lang.Thread.run(Thread.java:484)
    I understood that there were problems when the cocoon.war file that did occur
    when you unpacked the war, but I believed that these problems did not occur with
    WLS6.1 SP3.
    Has anyone else encountered this problem and solved it? Any help would be greatly
    appreciated.
    Thanks in advance.
    Paul

    This how I got Cocoon 2.04 up and running on WLS 6.1.4
    Download the Cocoon source from http://xml.apache.org/cocoon/dist/
    Remove all but the following JARs from lib/optional:
    commons-jxpath-1.0.jar
    jing-20020724.jar
    resolver-20020130.jar
    servlet_2_2.jar
    commons-logging-1.0.jar
    jtidy-04aug2000r7-dev.jar
    rhino-1.5r3.jar
    xt-19991105.jar
    Update lib/jars.xml to reflect these changes
    Issue build commands:
    ./build.sh clean (Note: Always clean first!)
    ./build.sh -Dinclude.webapp.libs=yes -Dexclude.webapp.samples=yes -Dexclude.webapp.documenation=yes
    -Dexclude.webapp.javadocs=yes webapp
    Copy the following JARs to your WLS instance’s lib directory:
    xercesImpl-2.0.0.jar
    xml-apis.jar
    xalan-2.3.1.jar
    xt-19991105.jar
    java/lib/tools.jar
    Sample of config/SERVER_NAME.setenv
    LIB=/path/to/lib
    JARS=$LIB/xercesImpl-2.0.0.jar:$LIB/xml-apis.jar:$LIB/xalan-2.3.1.jar:$LIB/xt-19991105.jar:/opt/java1.3/lib/tools.jar
    JAVACLASSPATH=$JARS:.:$JAVACLASSPATH
    JAVA_HOME=/opt/java1.3
    Deploy the resluting cocoon.war and you should have a Cocoon up and running that
    can do the XML->HTML Hello World sample. The status page works fine too.
    My advice is to launch this stripped configuration first and if needed add more
    features later by adding the JARs of your choice to the class path (or add the
    to your webapp-build if you are confident that WLS are capable of handling their
    manifests).
    Good luck
    /Peter
    "Paul Petley" <[email protected]> wrote:
    >
    >
    I am having problems with Cocoon 2.03 and Weblogic 6.1 SP3, when I try
    to deploy
    the cocoon.war.
    Cocoon works fine when I unpack the cocoon.war into ...\mydomain\applications
    (after I changed cocoon.xconf to use the following transformer factory:
    org.apache.xalan.processor.TransformerFactoryImpl).
    However, when I deploy the cocoon.war through the weblogic console and
    try to
    invoke cocoon (http://localhost:7001/cocoon/) I get the following error:
    ERROR (2002-09-26) 11:28.40:859 [sitemap] (/cocoon/) ExecuteThread:
    '7' for
    queue: 'default'/Handler: Error compiling sitemap
    java.util.zip.ZipException: The system cannot find the file specified
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:110)
         at java.util.zip.ZipFile.<init>(ZipFile.java:125)
         at weblogic.utils.zip.ZipURLConnection.getInputStream(Handler.java:49)
         at org.apache.cocoon.components.source.URLSource.getInputStream(URLSource.java:151)
         at org.apache.cocoon.components.source.URLSource.getInputSource(URLSource.java:223)
         at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:318)
         at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:282)
         at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:196)
         at org.apache.cocoon.sitemap.Handler.run(Handler.java:228)
         at java.lang.Thread.run(Thread.java:484)
    I understood that there were problems when the cocoon.war file that did
    occur
    when you unpacked the war, but I believed that these problems did not
    occur with
    WLS6.1 SP3.
    Has anyone else encountered this problem and solved it? Any help would
    be greatly
    appreciated.
    Thanks in advance.
    Paul

Maybe you are looking for