Building application with database

Hello Labviewers,
I build some labview vis wich are functioning very well as long as I execute them in the labview environment.
But when I use the application builder to build an exe file from it the programm can't access the database anymore.
I use Labview 7 and the Database connectivity toolkit to connect to an Access Database.
the Connection to the database is made by an udl file.
Maybe I'm doing something wrong when I include the udl and the mdb file as a support file during the build process ?!?
Or do I have to include some extra files (like I have to when using the report gen toolkit)
Many thanks for your help
Simon

thank you vicky for your reply,
i followed your hint not including the udl files to my support files but had no success.
Generally I use the procedure described here:http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/fcccbc6b519cec2e86256c95007e8fa9?OpenDocument.
Is this still the right way with lv 7.
I still believe that there is some problem with my paths leading to my database. Meanwhile I've tried relative paths and absolut ones with no success.
There is no error message displayed, but the text fields where I'd like to see the results of my sql querys stay white.
Simon

Similar Messages

  • Oracle Developer 6 applications with database 10g

    Hello,
    My all applications are developed and running in Oracle Developer 6 with database 9i. But now i want to use
    database 10g with these Oracle Developer 6 build applications.
    Already compiled files (with dev 6 and DB 9i) are runing with database 10g quite nicely,but when i try to
    recomplie the source files of these applications with 10g database i got the fowlloing error.
    ORA-00600: internal error code, arguments: [17069], [45468896], [], [], [], [], [], []
    After it i open these Oracle Developer 6 applications source files with Oracle Developer 6i and use 10g database,
    compile and run very easly.
    I think it is old version problem .But my development team dont want update all applications to new version (6i or other) yet.
    Is there any solution to use Oracle Developer 6 applications with database 10g ?
    Thanx.

    The general rule is "Ora-00600s (and 7445s, 3113s) are to be reported to Support". Look in Metalink to see whether any one else has reported it, based on the first argument. If so, there may be a workaround or a patch.
    Since you are asking this generically without database version, patch level or operating system, I assume you are using the unsupported free download and do not have access to Metalink. In that context
    1) What is the problem:
    The problem is your request (QSL, PL/SQL, Java) is hitting a bug or abusing a part of the Oracle software in an unexpected way. ORA-00600 is simply one of the 'unexpected and unhandled exceptions'.
    2) Required action:
    Since it is unexpected and unhandled, there are several ways to proceed:
    - Search the net for the first argument (ktspgetmyb-1) to see whether someone has a workaround
    - Reproduce and Simplify your offending code until you find your own workaround.
    Often this happens with some sql statement
    serache for metaling ORA-00600 log

  • Building application with microsoft agent

    Can someone clarify if there is anything different that needs to be done while building a stand-alone application that includes VIs that use the MS agent voice VIs (for example MSagentTTS.llb) along with CGI VIs? I have been able to build applications with only CGI VIs but failed while adding MS agent VI functionality. Any help is greatly appreciated.
    -Sheela

    "Belur" wrote in message
    news:[email protected]..
    > Can someone clarify if there is anything different that needs to be
    > done while building a stand-alone application that includes VIs that
    > use the MS agent voice VIs (for example MSagentTTS.llb) along with CGI
    > VIs? I have been able to build applications with only CGI VIs but
    > failed while adding MS agent VI functionality. Any help is greatly
    > appreciated.
    >
    You'll need to install the Microsoft Agent parts on the target computer.
    They are:
    MSAgent.exe - the core components
    actcnc.exe - MS Speech Recognition Engine
    tv_enua.exe - MS Text To Speech engine
    Merlin.exe - or any of the available different voices
    Theses are available for downl
    oad from
    http://www.microsoft.com/msagent/downloads.htm

  • JDeveloper build application with JAAS

    Hello!
    I try to pack my application using JAAS XML. I create the .war file and it works nice. The login-form appears,
    but the problem is that the .ear file must have the orion-application.xml and the jazn-data.xml in the META-INF folder but these files remain in WEB-INF.
    Does anybody know how to pack the .ear so that the XML files are in the META-INF??
    regards
    Wolfgang

    HI
    GOOD
    GO THROUGH THIS LINK,I HOPE YOU WILL GET SOME GOOD IDEA TO BUILD APPLICATION WITH CONNECTION TO R/3.
    http://www.persistentsys.com/presentation/Java_SAP_Integration.pdf
    http://www.businessobjects.com/pdf/solutions/xi_sap_r3_solutions.pdf
    THANKS
    MRUTYUN

  • Cannot build application with labview 7.0

    I had built application previously using labview 6.X while some of the V.I. are without block diagrams, but I couldn't do that any more with labview 7.0 as a error will be prompted, why is this happening & are there difference in application builder between labview 7.0 and previous version? Must I load those V.I. without block diagrams dynamically now ?

    Unfortunately it is impossible to build application with newer version with VIs without block diagrams, which saved in oldest version.
    from ni web site:
    "National Instruments does not recommend saving VIs without block diagrams because LabVIEW needs the block diagram to recompile the VI after an upgrade. When you upgrade LabVIEW, you must find a version of the VI that includes its block diagram to recompile it. Such a version did exist before the block diagram was removed because it is impossible to create a new VI without a block diagram."
    "Based on that information, it should be clear that once a VI is saved without diagrams:
    You cannot open or run the VI on any other version of LabVIEW, older or newer."
    More information:
    http://digit
    al.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/00a6bacda1c01a0786256b60006163e7?OpenDocument
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/28c4cb0cf83e1a1d862566e2007a2a9c?OpenDocument
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/fee732f4b1541b9586256bf0006a78ca?OpenDocument
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/0649a3350de20aa186256d91007b3d61?OpenDocument

  • Labs of Build Application with ADF tutorial

    Hello, I am beginner of jdeveloper adf. I am looking a sample of book Oracle Fusion Middleware 11g: Build Application with ADF. Name of sample is lab. Inside a lab is Storefront-CompleteApp, Storefront-03, Storefront-04,... But I don't see anything on google. Where is the sample? Could you post the link to download. Thank you

    Hi,
    Please check.
    Fusion Demo
    http://www.oracle.com/technetwork/developer-tools/jdev/index-095536.html
    ADF Tutorials
    http://docs.oracle.com/cd/E18941_01/tutorials/toc.htm
    Shay's Blog
    https://blogs.oracle.com/shay/entry/how_do_i_start_learning_oracle_adf_and_jdeveloper
    Thanks,
    Jit

  • Building application with wordsub

    I am building an application that uses some of the report generation toolkit. If I build it, it comes up with errors relating the the wordsub.vi.
    I followed the guidance, which says to add in the Word Dynamic VIs.vi (as well as the Excel Dynamic VIs.vi). I add them in using the "add dynamic vi" button under source files. But during the build, I get the following error: Error 1003 occurred at C:\Documents and Settings\James Nauman\My Documents\LabVIEW Data\<"My application name">\internal.llb\_Word Dynamic VIs.vi
    My application is under a file in c: and the Word (Excel) Dynamic VIs.vi are in the original addon/wordsub dir.
    Jim

    Thanks, the Word Dynamic VI's.vi did have a broken arrow. I had to replace the write jpg vi, then everything worked.
    Is there a good reference for file structuring. It seems half my problems are related to vi's linking,relinking to somewhere else than where intended. I am trying to build several variations of one application with minor changes. I open vi (A) up and everything works. But, then I open up vi (B) and everything is linking to (A). I cure everything and close (B), but then when I go back and open (A) everything is linking back to (B). So on and so forth.
    I have up to 5 variations on an application, and pretty soon everything is linking all over the place.
    I need some basic references (with examples) of how to structure my librarys, directorys, applications, subvis, and what the differences all mean. The getting started with labView is too general. Are there any knowledge base areas discussing this and common errors?
    Thanks for the help.
    Jim

  • How to connect Java Application with database!

    Dear all, now I am create a dababase application. My database use JData Store. But I don't know how to connect application with it. Can you tell me this proplem?
    Thank!

    Do a google search for JDBC, or go buy a book.
    You will need a JDBC driver which supports your database. Or you might be able to use the JDBC-ODBC bridge if there's an ODBC driver for your database.

  • Error when building application with Excel included

    Hi All !
    I've read several post on problems with Report Generation Toolkit when building applications that uses Excel or Word interactivity.
    I've included both _Excel Dynamic VIs.vi and _Word Dynamic VIs.vi in my project and added them to the dynamic vis and support files.
    When building I get the error :
    The VI is broken. Open the VI in LabVIEW and fix the errors.
    C:\Programmer\National Instruments\LabVIEW 8.2\vi.lib\addons\_office\_exclsub.llb\_Excel Dynamic VIs.vi
    When opening that VI there is no broken arrow and all the vi's included in this is not broken either.
    I've tried mass compiling and so on but so far luck.
    Regards Morten Kahr
    Regards Kahr
    Certified LabVIEW Architect
    CIM A/S

    If you do a search on this forum you will find this to be a common and vexing problem. I myself had this same exact problem about a year ago, and it took me the better part of a day to track it down. As you will find by reading the various threads on this problem, there seems to be no specific cause for this, and it remains a mystery, and the solutions are no better than chanting voodoo, and probably just as effective.
    One thing you can try is to force a recompile of your VI hierarchy. Open you top-level VI. If it's set up to run when opened, stop it. Hold down the Control key and click the run button. This will force a recompile of the application. Sometimes this works, sometimes it doesn't. Like I said, voodoo.
    Another thing to look for is to check if you are using any diagram disable structures or case structures with a constant wired, as in trying to use the case structure to comment out code.
    Are you using classes and passing by reference? There was a mention of this here.

  • Build applications with dynamic loaded subVI's as dll

    I want to build an application with some subVI's. The target would be to have an *.exe from the topVI and a seperate file for every subVI (I suppose this will then be a *.dll file)
    The topVI uses the "call by reference node" with a "type specifier VI refnum" reference.
    The path of the subVI's is read from a textfile and the subVI's are called dynamicly, all subVI's have the same connector layout.
    Until now I was not able to generate a *.exe file wich is able to dynamicly call subVI's which are not included in the *.exe file (I tried with *.vi, *.llb and *.dll versions of the subVI's).
    Building this application with all subVI's included in the *.exe is no problem and works fine, but is not what I want.
    The target would be to have the possibility to update only some subVI's without the need to build the whole application again.
    This way of working would increase the flexibility to have different combinations of versions a lot.
    I am using LV8.2.
    Is my question anyway possible and if yes can somebody tell me how?
    Thanks!

    Hello,
    A SubVI is actually what you call a sub-routine in text-based programming languages.
    So when you build an executable from a VI with SubVI's, it will simply build everything into one exe file.
    That's normal behaviour.
    If you would like to use dll's for flexibility, than you have to build VI's seperately for every dll you want to build.
    These dll's can than be called from within you main application executable.
    This practice is often used by system integrators to protect there code otherwise than a larger executable, but mainly because of easy maintenance.
    That is what I think you are also looking at.
    So what you would like to do is perfectly possible and common practice, you may only have to change your top view of the actual application.
    Best regards,
    Joeri
    National Instruments
    Applications Engineering
    http://www.ni.com/ask
    Make our forums great:
    If you like the answer, don't forget to "Kudos!".
    "Accept the Solution" if your question is answered!

  • Problem building application with C++ 4.2 on Sun OS 5.9

    I have an application that builds fine with "WorkShop Compilers 4.2 30 Oct 1996 C++ 4.2" on SunOS devbox1 5.6 Generic_105181-33 sun4u sparc SUNW,Ultra-Enterprise
    On the same file system, I am trying to build the application on "SunOS devbox2 5.9 Generic_117171-12 sun4u sparc SUNW,Sun-Fire-V440"
    I see that files like sys/siginfo.h do not get included. I guess C++ compiler should include such files by default (in the first case it does happen).
    Also, when I add -H option to the compiler to see the header files included, I see that the headers included in the first as well as the second case are different.
    Does anyone know why this is so?

    Workshop 4.2 is not expected to work on Solaris 9. Workshop 4.2 is long past its End Of Service Life, and no support of any kind is available for it.
    You can download the latest product, Sun Studio 11, and use it for free:
    http://developers.sun.com/sunstudio/
    Sun Studio 11 C++ (C++ 5.8) offers a mode where it is compatible with C++ 4.2. It compiles valid source code that C++ 4.2 compiled, and you can link binaries created by C++ 4.2 into programs built with Sun Studio 11.
    Full details are in the C++ Migration Guide that comes with the compiler.
    Regarding missing system header files in /usr/include or /usr/include/sys:
    To compile programs on Solaris, Solaris must have been installed as a "developer" or "full" release. If you install only the minimum, you will be missing many features necessary for compiling programs.

  • How to build applications with a non standard stlport

    Hi,
    I have a separate compiled version of stlport that I am supposed to use to build my application. In other words, I do not want to use the stlport that comes with the Sun compiler. I am aware of using -library=stlport4 when I use the default stlport that comes with the compiler.
    What flags/options should I use when I have my own stlport (libstlport_sunpro.so) library?
    I am using Sun C++ 5.6 2004/07/15 on SunOS 5.8.
    Pls help.
    Thanks
    Edited by: Sreeni_dd on Jul 23, 2009 12:50 PM

    Details are in the C++ Users Guide, section 12.7 "Replacing the C++ Standard Library". Here is a summary.
    1. Add the option -library=no%Cstd to disable both libCstd and STLport.
    2. Add a -I option that points to the include directory for the stlport headers you want to use. (Do NOT use the headers in the compiler installation.) Example:
    CC -library=no%Cstd -I/path/to/stlport/include -I/project1 -I/project2 ... If the compiler doesn't always find the headers, put the -I stlport option at the end of the other -I options, preceded by a -I- (dash eye dash) option. Example:
    CC -library=no%Cstd -I/project1 -I/project2 -I- -I/path/to/stlport/include ... This procedure is not optimal, since you would like to search STLport headers before searching other headers. use the -I- option only if needed.
    If you have file name conflicts with the STLport header files, you will need to add a set of symbolic links *.SUNWCCh as described in the C++ Users Guide.
    3. For link commands, add a -L option pointing to the directory where the compiled STLport library is located. Assuming this library is called libstlport.so, also add the option -lstlport. Linking a static libstlport.a is not recommended if your program uses any shared libraries. Example:
    CC -o myprog *.o -L/path/to/stlport/lib -lstlport

  • Build application with conditional disabled VI's still tries to load them ...

    Hi,
    we have a big LV-project with some "conditional disabled" or with a "switch" unused VI's. But LabVIEW still tries to load them when building an application (even when they are not used). Is there a setting to prevent this behavior? Something like "ignore unused/missing VI's during built"?
    Thanks
    Peter

    The difference is disable structure and Conditional disable structure.  unconditionally disabled code can be broken as it cannot run.  Compare that to a case driven by a constant- the unreachable code is removed by the optomizer in certain conditions (We won't guess what conditions prohibit this optomization and it has been changeing a lot since 8.6 to 2013 I imagine it will continue to evolve) however, Because the optomization is not garanteed to occurr the unreachable code cannot be broken.  This is simillar to the conditional disable symbols- they are not evaluated untill runtime and the condition may depend on variables external to LabVIEW.  So, all cases must be compilable.
    @ Mike- Yup, I believe those symbols values CAN be manipulated external to the app instance (Certainly App.Kind comes to mind).  I don't have any experience doing that. 
    Jeff

  • Problem building application with weblogic.jar placed out of bea install.

    Weblogic version: 10.3
    EJB Version: 2.x
    Method for generating webservices fomr EJBs: servicegen task.
    Application Build steps:
    Step1) Maven to build the complete application and generate ejb-jar.jar and other projects jars and wars.
    Step2) Post maven build success there is an ant script used to generate webservices using ejb’s in the project using servicegen task. Attached is build.xml for ant.
    Following is the class path :
    .;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\IBM\SQLLIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.jar;C:\Program Files\IBM\RationalSDLC\ClearQuest\cqjni.jar;C:\bea10.3\wlserver_10.3\server\lib\weblogic.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\webservices.jar;%JAVA_HOME%\lib\tools.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\libslf4j-log4j12-1.5.2.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\struts.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\bootstrap.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\db2jcc.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\db2jcc_license_cu.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\ehcache-core-2.0.0.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\j2ee.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\jdom.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\log4j-1.2.9.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\slf4j-api-1.5.8.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\ulc-dto.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\ulc-jar.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\scheduler-ejb.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\com.bea.core.xml.beaxmlbeans_2.0.0.0_2-5-1.jar;
    Problem Area:
    As you could notice in the yellow highlighted one that am referring to weblogic.jar from bea installation folder. Now if I use the weblogic.jar from the installation folder then build happens successfully.
    However if I copy weblogic.jar to some other location say : C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\weblogic.jar
    And include this path in the class path in place of weblogic.jar from the installation path, then I get the following errors: Please refer red highlighted part below…
    C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\ulc-ear>ant
    Buildfile: build.xml
    ejbwebservice:
    [servicegen] weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed D
    OCTYPE header
    [servicegen] at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:301)
    [servicegen] at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:241)
    [servicegen] at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:320)
    [servicegen] at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:295)
    [servicegen] at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:265)
    [servicegen] at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:118)
    [servicegen] at weblogic.webservice.dd.EJBJarIntrospector.<init>(EJBJarIntrospector.java:47)
    [servicegen] at weblogic.webservice.util.WebServiceEarFile.init(WebServiceEarFile.java:177)
    [servicegen] at weblogic.webservice.util.WebServiceEarFile.readDD(WebServiceEarFile.java:235)
    [servicegen] at weblogic.webservice.util.WebServiceEarFile.<init>(WebServiceEarFile.java:74)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:177)
    [servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [servicegen] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [servicegen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [servicegen] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [servicegen] at java.lang.reflect.Method.invoke(Method.java:597)
    [servicegen] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [servicegen] at org.apache.tools.ant.Task.perform(Task.java:348)
    [servicegen] at org.apache.tools.ant.Target.execute(Target.java:357)
    [servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    [servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [servicegen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    [servicegen] at org.apache.tools.ant.Main.runBuild(Main.java:758)
    [servicegen] at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [servicegen] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    [servicegen] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    [servicegen] --------------- nested within: ------------------
    [servicegen] Error processing file 'META-INF/ejb-jar.xml'. weblogic.xml.process.XMLProcessingException: XML document doe
    s not appear to contain a properly formed DOCTYPE header - with nested exception:
    [servicegen] [weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed
    DOCTYPE header]
    --------------- nested within: ------------------
    weblogic.webservice.util.WebServiceJarException: Could not process ejb-jar C:\DOCUME~1\ac30416\LOCALS~1\Temp\ulc-ear.ear
    -86826932\ejb.jar - with nested exception:
    [weblogic.webservice.dd.EJBProcessingException: Can read in ejb DD files. - with nested exception:
    [Error processing file 'META-INF/ejb-jar.xml'. weblogic.xml.process.XMLProcessingException: XML document does not appear
    to contain a properly formed DOCTYPE header - with nested exception:
    [weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed DOCTYPE heade
    r]]]
    at weblogic.webservice.util.WebServiceEarFile.init(WebServiceEarFile.java:183)
    at weblogic.webservice.util.WebServiceEarFile.readDD(WebServiceEarFile.java:235)
    at weblogic.webservice.util.WebServiceEarFile.<init>(WebServiceEarFile.java:74)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:177)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Please help as its urgent for me as we cannot have local installation of weblogic. We may just use the required jars.

    Weblogic version: 10.3
    EJB Version: 2.x
    Method for generating webservices fomr EJBs: servicegen task.
    Application Build steps:
    Step1) Maven to build the complete application and generate ejb-jar.jar and other projects jars and wars.
    Step2) Post maven build success there is an ant script used to generate webservices using ejb’s in the project using servicegen task. Attached is build.xml for ant.
    Following is the class path :
    .;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\IBM\SQLLIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.jar;C:\Program Files\IBM\RationalSDLC\ClearQuest\cqjni.jar;C:\bea10.3\wlserver_10.3\server\lib\weblogic.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\webservices.jar;%JAVA_HOME%\lib\tools.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\libslf4j-log4j12-1.5.2.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\struts.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\bootstrap.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\db2jcc.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\db2jcc_license_cu.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\ehcache-core-2.0.0.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\j2ee.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\jdom.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\log4j-1.2.9.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\slf4j-api-1.5.8.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\ulc-dto.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\ulc-jar.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\scheduler-ejb.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\com.bea.core.xml.beaxmlbeans_2.0.0.0_2-5-1.jar;
    Problem Area:
    As you could notice in the yellow highlighted one that am referring to weblogic.jar from bea installation folder. Now if I use the weblogic.jar from the installation folder then build happens successfully.
    However if I copy weblogic.jar to some other location say : C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\weblogic.jar
    And include this path in the class path in place of weblogic.jar from the installation path, then I get the following errors: Please refer red highlighted part below…
    C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\ulc-ear>ant
    Buildfile: build.xml
    ejbwebservice:
    [servicegen] weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed D
    OCTYPE header
    [servicegen] at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:301)
    [servicegen] at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:241)
    [servicegen] at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:320)
    [servicegen] at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:295)
    [servicegen] at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:265)
    [servicegen] at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:118)
    [servicegen] at weblogic.webservice.dd.EJBJarIntrospector.<init>(EJBJarIntrospector.java:47)
    [servicegen] at weblogic.webservice.util.WebServiceEarFile.init(WebServiceEarFile.java:177)
    [servicegen] at weblogic.webservice.util.WebServiceEarFile.readDD(WebServiceEarFile.java:235)
    [servicegen] at weblogic.webservice.util.WebServiceEarFile.<init>(WebServiceEarFile.java:74)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:177)
    [servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [servicegen] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [servicegen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [servicegen] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [servicegen] at java.lang.reflect.Method.invoke(Method.java:597)
    [servicegen] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [servicegen] at org.apache.tools.ant.Task.perform(Task.java:348)
    [servicegen] at org.apache.tools.ant.Target.execute(Target.java:357)
    [servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    [servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [servicegen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    [servicegen] at org.apache.tools.ant.Main.runBuild(Main.java:758)
    [servicegen] at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [servicegen] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    [servicegen] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    [servicegen] --------------- nested within: ------------------
    [servicegen] Error processing file 'META-INF/ejb-jar.xml'. weblogic.xml.process.XMLProcessingException: XML document doe
    s not appear to contain a properly formed DOCTYPE header - with nested exception:
    [servicegen] [weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed
    DOCTYPE header]
    --------------- nested within: ------------------
    weblogic.webservice.util.WebServiceJarException: Could not process ejb-jar C:\DOCUME~1\ac30416\LOCALS~1\Temp\ulc-ear.ear
    -86826932\ejb.jar - with nested exception:
    [weblogic.webservice.dd.EJBProcessingException: Can read in ejb DD files. - with nested exception:
    [Error processing file 'META-INF/ejb-jar.xml'. weblogic.xml.process.XMLProcessingException: XML document does not appear
    to contain a properly formed DOCTYPE header - with nested exception:
    [weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed DOCTYPE heade
    r]]]
    at weblogic.webservice.util.WebServiceEarFile.init(WebServiceEarFile.java:183)
    at weblogic.webservice.util.WebServiceEarFile.readDD(WebServiceEarFile.java:235)
    at weblogic.webservice.util.WebServiceEarFile.<init>(WebServiceEarFile.java:74)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:177)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Please help as its urgent for me as we cannot have local installation of weblogic. We may just use the required jars.

  • Building applications with applets

    Hi,
    I want to modify my applet so it can be used to build an application. From within the applet, I need a way to tell if I'm running as an applet in a browser or as an application ( I need to do this, so I dont go making URLConnections, etc when I'm running as an application ).
    I'm also limited to JDK 1.1.x.
    thanks in advance,
    rob

    If an applet is being run as an application, the main method will have to be called. This method will never be called when run as an applet.
    Generally, when wrapping an applet in a application, the window creation functions are also handled in main. It would be relatively easy to set a flag when instantiating the applet (say as an instance variable on the applet itself) to let it know if it was running as an applet or as an application
    Jason

Maybe you are looking for

  • ITunes can't back up iPhone to iCloud

    I don't understand.  If I'm NOT backing up iPhone to my computer, but instead want to back it up to iCloud, why do I get a message in itunes that says "iTunes could not back up the iPhone because not enough free space available on this computer. But

  • My iMac ( Summer 2010 ) internal Hard Drive failing.. It's a Seagate 500GB HDD.

    My new iMac  ( summer 2010 - July 2010 ) internal Hard Drive is failing.. 1)  sometimes the imac can't see the hard drive to boot from..       it would stay in the grey screen .. 2)  sometimes the imac boots up after a cold start.      but some appli

  • Table maintenance generator event

    Hi experts, I have a req. in which I need to create events in the TMG. I implemented the event in case the user entres some specific values, and the fields user name, time and date are automatically populated. Now there is another requirement in whic

  • How to record AP Extreme data used (due to new DSL caps)?

    At&t DSL now implementing data caps. Using an Airport Extreme over ethernet & wifi to three Mac's and want to keep track of data used.

  • Wsdeploy problem on jdk1.5 with tomcat 4.1.2 and jwsdp 1.0.0.1

    We're trying to upgrade to jdk1.5 from 1.4.0. We're running tomcat 4.1.2 and jwsdp 1.0.0.1. When running wsdeploy, we're receiving the following error: [echo] Running wsdeploy... [echo] /db/dbdev/jwsdp-1_0_01/bin/wsdeploy.sh -tmpdir build/wsdeploy-ge