Problem using ant 1.6.2 scripts for weblogic 8.1

hai,
i downloaded ant 1.6.2 and started writting ant scripts. these ran fine when i am doing jobs related to websphere application server but they are failing when i am running the same targets in weblogic.
i know that this problem is mainly due to the old version of inbuilt ant provided by the weblogic.
i use import,input,condition tasks in my code and when ever run the ant scripts in weblogic its saying that these targets can not be found.
i am in great need for help, any one please help me how to make these newer version of ant scripts to work in weblogic.i have no choice but to use these tasks as the design requires using them.
i will be greatly indebted to the replier as i am wasting lot of time for this.

Hello,
I could not find an easy way to get the wls version of ant to start using the tasks you mention from ant 1.6.2.
I tried defining the tasks using taskdef and also adding them to wls ant.jar and updating the deafult.properties file but the ant complained about unexpected elements in the build.xml file where I added the new tags (e.g import)
If your really up against it you can try adding wls tasks to ant 1.6.2, they are listed here:
http://e-docs.bea.com/wls/docs81/toolstable/ToolsTable.html#1009580
Although I could not located exactly which jar they are in. Good luck.
Cheers
Hussein Badakhchani
www.orbism.com

Similar Messages

  • Shutdown script for Weblogic?

    Hi,
    I am looking for weblogic shutdown script?
    Can anybody point me to the script if one is available.
    Thanks in advance
    Subba Reddy

    just use the admnin utility from a shell and bat/cmd file. here's the
    command:
    java weblogic.Admin <url> SHUTDOWN system <password>
    you may get the usage by just typing:
    java weblogic.Admin
    jason
    Original Message <<<<<<<<<<<<<<<<<<On 3/10/00, 9:42:47 PM, subba reddy <[email protected]> wrote
    regarding shutdown script for Weblogic?:
    Hi,
    I am looking for weblogic shutdown script?
    Can anybody point me to the script if one is available.
    Thanks in advance
    Subba Reddy

  • Ant build script for WebLogic Portal 10.3 projects

    Hi Friends,
    I am going thru this document http://download.oracle.com/docs/cd/E12840_01/wlw/docs103/guide/ideuserguide/build/conUseCustomAntBuild.html#metadata about building ant script for my portal project. The document does not state few things clearly. Can you please help me to understand.
    It says:
    To Build an EAR File Using the Ant Script:
    1. Generate the Ant script for each project in the EAR.
    2. Generate the Ant script for the EAR project.
    3. Configure the execution environment of your shell by executing wl.home/common/bin/commEnv.sh
    4. Change to the Eclipse directory for the EAR project.
    5. Execute the desired target in the EAR project's Ant script as follows:
    ant build archive -Dworkspace=workspacepath
    A) When I generate ant script, workshop generates build.xml file in each project directory and that includes EAR project as well. Then, point 2 is not clear, how do I generate another ant script (build.xml) for the EAR project?
    B) I do not understand, "change to the eclipse directory for the EAR project". Does it mean, change to the directory of EAR project folder which has build.xml?
    C) in step-5, execute the desired target, when I execute it, how it will know where are other build.xml files for other projects?
    Regards,
    JT

    Hi Greg,
    I moved little bit but then got stuck with new kind of error.
    a. First of all, my application has a 'data' project (.usr) file. When I try to generate ant scripts (build.xml), it says that 'data' project is not compatible with Workshop ant scripts. However, Workshop inbuilt EXPORT->EAR is able to build the projects without any error.
    b. So, I thought, let's put a dummy build.xml file under 'data' project directory. This let ant build to proceed further. However, now it fails with error that <web project>/build.xml (line no. 122). Which is nothing but memory declaration (memoryMaximumSize="1024m"). The error says, 'unable to launch apt compiler', I am not able to understand what is it? The other projects' (ejb, controls etc.) build.xml has this declaration but they did not give this error, they built fine.
    <web project>/build.xml
    <target name="build" depends="init" description="compiles the source files; does not package the results">
    <if>
    <isreference refid="apt.factory.path"/>
    <then>
    <mkdir dir="${apt.src.output.dir}"/>
    <for-each-java-src-path>
    <if>
    <available file="${.java.src.dir}"/>
    <then>
    <mkdir dir="${.java.src.output}"/>
    <apt
    sourcepath="${java.sourcepath}"
    srcdir="${.java.src.dir}"
    includes="${.java.src.include}"
    excludes="${.java.src.exclude}"
    destdir="${.java.src.output}"
    preprocessdir="${apt.src.output.dir}"
    classpathref="java.classpath"
    factorypathref="apt.factory.path"
    options="${apt.options}"
    compile="false"
    memoryMaximumSize="1024m"/>
    </then>
    </if>
    </for-each-java-src-path>
    </then>
    </if>
    Regards,
    JT
    Edited by: user6917422 on Apr 1, 2009 9:29 PM
    Edited by: user6917422 on Apr 1, 2009 9:57 PM

  • HELP! Problem using HPSCAN.exe or TWAIN driver for HP Laserjet Pro cm1415fnw using Windows 7

    I have been using the HP Laserjet Pro cm1415fnw for over a year without a problem.  At the time when I first purchased the unit, I was using a Dell desktop with Windows XP and connected the printer via USB port.  I was able to print and scan from my computer, including from within applications that use TWAIN scanning driver such as Word, Acrobat, etc.
    I have since upgraded to an HP slimline s5-1160 computer using Windows 7.  I installed the Laserjet software from my installation CD's without a problem.  The printer is connected to the computer by USB port.  I can continue to print without a problem.  However, I no longer am able to scan using the HP software (HPscan.exe) nor from within applications that use TWAIN scanning driver such as Word, Acrobat, etc.  When I attempt to do so, it takes a long time before it asks me what TWAIN scan driver to select.  When I select the HP cm1410 MFP series, the program either crashes or reverts to the state it was before I attempted to scan an image into a document from within the program.
    I can however scan successfully using the Windows Scan and Fax wizard or if I choose "Devices and Printers" from the Start Menu and select "Start scan" from the menu after right-clicking the HP printer icon.  However this option limits my use of the scanner -- I cannot scan to a PDF nor can I scan multiple pages into an OCR application.  I'm forced to scan to either a JPG or TIF or PNG.
    As for attempting to resolve this problem I have done the following with no success:
    Uninstall and reinstall the full software and drivers (and using the most recent version on the HP website)
    Change USB ports and/or cables
    Run the HP scan diagnostic utility, which seems to show an error at the WIA scanning step and then recommends that I uuninstall and reinstall the full software.  When I skip that and allow it to check for TWAIN scanning, it gives me a similar error, suggesting that I use the most recent version of the drivers (the driver that I am using is v 3.0 dated 11/12/2009)  Therefore in this case the HP scan diagnostic utility does NOT provide a fix for this problem other than uninstall and reinstall, which I have done several times to no avail
    Contact HP support both for the computer and the multifunction printer (which as I understand are different support staff).  The printer staff claims it's a software problem and that the computer staff should be able to resolve it (something about not having "launchpad" installed properly.  When I contact the computer staff, they claim it's a printer driver issue.  So I am at a standstill
    I researched the HP support forums only to find from this link - http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=c02661093&cc=us&dlc=en&lc=en&product=4089468&tmp​... - that if you cannot scan from HP software that you can use the programs that rely on WIA drivers (Windows Fax and Scan) which I already know I can do but implies that HP does NOT have a solution for how to scan using their own software!
    My gut tells me that this is one of those problems that many others may have but for which there is no workable solution.  It's possible that during the course of uninstalling and reinstalling the software, remnants may remain behind that prevent proper functioning of the drivers, but without knowing how to specifically "clean" those remnants before reinstalling the software, I am at a loss.  Oh and by the way, I've also tried using CCleaner and Norton Registry Cleaner in an attempt to clean those remnants, but that effort didn't help.  
    My question is basically this... does anyone know of a fix around this problem or must I resign myself to using the Windows Fax and Scan wizard to scan in documents and images and forget about using TWAIN programs as HP seems to be suggesting?  I would think that given that I am using an HP printer/scanner along with an HP computer with Windows 7 that this problem should NOT be a problem!  
    This question was solved.
    View Solution.

    Before attempting to install the printer on my computer (HP slimline s5-1160), I had been able to successfully install the printer previously on two other computers: a Lenovo T-410 laptop (work computer using Windows XP) and an HP Pavilion Elite HPE (wife's computer using Windows 7).
    On those computers, I can use the TWAIN driver from within applications without a problem, and the HPSCAN.exe file works as well.  Both computers connect to the printer wirelessly.
    It is while trying to install the printer on my home computer via USB that I am having all sorts of difficulty. I have also tried to connect my s5-1160 to the printer wirelessly from my computer. I also checked the Windows Services, and all seems fine there.  I also tried switching USB ports and cables.   Again, no luck with the scanning using TWAIN driver. 
    One other point: when I use the original installation CD that came with the printer to install on the s5-1160, the installation seems to stop when it says "Checking requirements for installation"  That didn't happen with the two other computers.   However, that problem doesn't happen the s5-1160 when I used the more recent version of the full software from the HP website.
    Let me reiterate.  I have never had any problems with printing from any computer.  The scanner works fine from my s5-1160 if I resort to using the scanner and fax wizard using the WIA drivers.  What I am unable to do is to get the scanner to work from within an application using the TWAIN driver or if I use the native HP application (hpscan.exe).  Nothing seems to happen.   Because of that I cannot scan directly into a PDF.
    And the only fix that the HP scan diagnostic utility continues to recommend is that I uninstall and reinstall the software.  It shows errors in the WIA scanning step and TWAIN step.
    Is it possible that because of behind-the-scenes Windows updates that my s5-1160 is receiving that a software conflict is created that prevents the TWAIN driver from functioning properly?  Other than that I am at a loss to figure out why this is happening.

  • Ant scripts for weblogic 10.3

    can any one send me antscripts for weblogic 10.3 for creating,configuring the domains
    and deploying applications(stage,nostage and external_stage)
    thanks & regards
    abhi
    Edited by: user10759597 on Jan 6, 2009 3:23 AM

    hi john,
    firstly thanks for ur reply...
    i tried ant scripts to deploy the applications but when i deploy the in any modes (stage,nosatge and external_stage) i'm getting errors...
    kindly pls send me some ant scripts for deployments in all modes
    or
    send the syntax to deploy the application in stage, no stage and external_stage modes
    i think u got my request right?
    thanks in advance
    abhi

  • Config to use JPA 2.0 in eclipse for weblogic portal 10.3.2

    Hi,
    can anyone help me to config eclipse for WLP 10.3.2 for using JPA 2.0
    Thanks!

    Hi,
    The following EclipseLink JPA tutorial for WebLogic 10.3.2 (EclipseLink 1.2 is shipped in the modules directory on WebLogic) is Eclipse IDE based and includes details on getting your EAR deployed and debuggable via the Eclipse 3.4/3.5 EE edition IDE. This is via the WebLogic server plugin or via the OEPE. Source is included for all EAR, EJB and WAR projects as well as the SE DDL generation project to setup your database.
    The following tutorial and EclipseLink 2.0 wiki sites are the most current versions
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
    http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/weblogic
    thank you
    /michael
    http://www.eclipselink.org

  • Using Echo Command in PowerShell Script for Configuration Item

    Hello All,
    Before you tell me to post my PowerShell question to the PowerShell Forum, please know that the PowerShell portion of my task works just fine. It is the SCCM portion of my task that keeps failing, so that is why I am here. To give some background...
    There are two servers in our SCCM test environment. Both the SCCM server and SQL DB server are 2012, patched and updated.
    Test servers in my Device Collection being used for running Baselines and Reports against are 2008R2 and 2012, patched and updated.
    I have created a Configuration Item that checks to see if the FTP Server Role Feature has been installed on a 2008 or 2012 server. To do the check, I am using the following PowerShell script:
    (get-windowsfeature -Name Web-Ftp-Server).Installed
    When I log into my 2008R2 and 2012 test servers, and run this command directly on the server, it will return a "True" if the FTP Server Role Feature is installed on either server, and a "False" if it is not installed. Basically,
    it works as advertised.
    When I setup my Configuration Item and then deploy my Baseline, or run a report against my device collection of test servers, SCCM will return a correct response (True or False) for the 2012 test server, but throws the following error for the 2008R2
    server:
    0x87df00329 application requirement evaluation or detection failed
    Google searches for this have not been very helpful.
    Now, when I created the Configuration Item and referenced PowerShell, the configuration screen has the following note:
    "Specify the script to find and return the value to be assessed for compliance on client devices. Use the echo command to return the script value to Configuration Manager."
    Since I did not include an echo command in my PowerShell script above, I figured that was my problem, so I did the following:
    Logging onto both of my test servers (2008R2 & 2012) I was able to successfully run the following PowerShell commands and get the expected responses of True or False:
    (get-windowsfeature -Name Web-Ftp-Server).Installed | echo
    (get-windowsfeature -Name Web-Ftp-Server).Installed | write-output (http://technet.microsoft.com/en-us/library/hh849921.aspx)
    (get-windowsfeature -Name Web-Ftp-Server).Installed | write-host (http://technet.microsoft.com/en-us/library/ee177031.aspx)
    However, when I use any of these PowerShell commands in my Configuration Item, NEITHER of my test servers returns a response to the SCCM server.
    When I check the report, both servers show as "Unknown" and when I click on the number 2 (as in 2 servers unknown), the following report page (List of unknown assets for a configuration baseline) has absolutely no data/information at all.
    So...I am at a loss.
    SCCM tells me to use an echo command to return a script value to Configuration Manager. The PowerShell scripts above, with the various echo related commands, work just fine on the servers themselves, but they return no information when run via SCCM.
    What am I missing?
    Any help will be appreciated.
    Thanks in advance for your time.

    Sorry for my ignorance, but I don't understand. (I forgot to mention that I am new at both PowerShell and SCCM.)
    After I change the PowerShell script to add the echo/write-output/write-host cmdlet, I open the ConFig Item and "Clear" the PowerShell script and then re-add it. When I do that, it correctly shows the change in the ConFig Item.
    Next I open the Baseline, then open the ConFig Item within the Baseline to make sure the change is reflected there as well, which it is.
    I then deploy the Baseline to my Device Collection. After that, I run a report against the Baseline and Device Collection and it returns the "Unknown" result.
    If I open the PowerShell script and remove the echo/write-output/write-host cmdlet, then go through the rest of the process of updating and reporting, the result it returns changes, showing one server in compliance and the other server out of compliance,
    which leads me to think that all changes have taken correctly.
    Does that sound right? If I manually deploy the Baseline, is that the same as the client retrieving policies from the management point?
    Sorry to be so thick but I'm learning as I go.
    Thanks again for your help.

  • Problems using access control in sender agreement for SOAP adapter 7.1

    I am trying to use Access Control Lists to restrict user access to web services/interfaces which are exposed via PI. This can be configured via the Integration Builder Directory using the u201CAssigned Usersu201D tab of both Communication Components (Business System) and Sender Agreements.
    The configuration is via the above mentioned components. However, I understand that itu2019s the adapters which at runtime are responsible for actually applying these checks.
    I have been having problems getting the access control to work using a setup involving a SOAP adapter of type SAP BASIS 7.10.
    The symptom of the problem is that although the access control works as expected at the Business System level, any settings at the Sender Agreement level appear to have absolutely no effect whatsoever.
    I have confirmed that I have no problems if I use an adapter of type SAP BASIS 7.00. However, I really need to get this working on 7.1.
    I have looked on the SAP support portal but can not find any notes that relate to this.
    Has anyone else had a similar problem? And have you found a fix for it?
    Any suggestions would be welcome.
    Edited by: Malcolm Dingle on Jun 17, 2009 1:08 PM

    Hi Shai,
    Please have a look at the following link and see if it helps you .
    It deals with SOAP adapter installation and activation 
    Re: SOAP adapter installation and activation
    Best Regards
    Edited by: Prakash Bhatia on May 8, 2009 11:51 AM

  • Problem using jsp:forward in java script

    hi,
    when I use jsp forward tag inside java script i'm getting a problem that
    when the jsp is invoked it is getting forwarded to the page specified in the forward tag, without checking the if conditions. Following code may give you a better idea.
    <html>
    <script>
    function test()
    if(document.f.htemp.value=="true")
    alert("jus");
    else
    var s=document.f.htemp.value;
    alert(s);
    <jsp:forward page="success.jsp" />
    </script>
    <body>
    <form name="f" method=post>
    <input type=text name=htemp value="true">
    <input type=button onclick="test()">
    </form>
    </body>
    </html>
    please help me,thanks inadvance
    regards
    chandu

    What pgeuens means is that you can't mix javascript and jsp/java code in this way.
    ALL of the jsp/java code gets executed at the server end.
    This produces an HTML page (with embedded javascript) which gets sent to the client.
    The client then runs javascript code in response to events (onLoad, onClick, onChange etc etc)
    So in this case, the jsp:forward will always be executed, because as far as the server is concerned, the javascript is just template text.
    If you WANT to do a conditional forwarding on the server side you do it in java ie (horribly using scriptlet)
    <%
    if (testCondition){
    %>
      <jsp:forward>
    %<
    %>Or if you want to test what the client has entered client side, all you can do is submit the form, or navigate to a URL
    <script>
    function test()
    if(document.f.htemp.value=="true")
    alert("jus");
    else
    var s=document.f.htemp.value;
    alert(s);
    document.f1.action="success.jsp";
    document.f.submit();
    </script>You cannot run JSP code based on your javascript code.
    Java. Javascript. Not the same thing.
    Hope this helps,
    evnafets

  • Use Story to create a script for subtitle text

    I have found a way to use the Speech Analysis through After Affects to create subtitles. However, the film I am making is a documentary and in a foreign language. We have the transcripts of the translated speech and I need to get that into Premiere and eventually After Effects to create the visual subtitles.
    I have seen some threads on using Story to enter transcripts, but I'm new to this Story application and can't figure out how to use it for what I want. I need to assign the text I have to a specific place on the clip. Can Story (and/or Premiere) do this and how do I do it?
    I have assigned a scene number then some text, but nothing is showing up in the clip's metadata with the script assigned to it.
    Any suggestions? Any other ideas for getting text assigned to timecode points for subtitles?
    Thanks.

    If you are looking at attaching the story scripts (scene's) data to the clips metadata please follow the instructions from this thread
    http://forums.adobe.com/thread/1043216?tstart=0

  • Problem using stored procedure to populate table for report

    I have a report that in one instance the user wants the quantity data pulled from a smaller subset of data. My thought was to create a global temporary table and then use a stored procedure to populate this table then pass the table name in a lexical that contains the table name. So my query in the report stays the same except for the lexical table name. This all seems to work except for the procedure populating the table. I thought it might be the global temporary table so I created a real table. When I run the procedure from the command prompt the table gets populated. When I run the procedure in the before report trigger I get nothing. When I run the procedure from the command line and leave the data, then run the report I get updated data in the table, but nothing returned to the report. Any ideas, questions, solutions?
    Thanks
    Andy Hendrickson

    Hi Andy Hendrickson,
    Let me understand your problem correctly.
    1) When you run the procedure from command prompt the table gets populated. It is clear.
    2)When you run the procedure in before report trigger you get nothing. Let us analyze why but for now it is clear.
    3) What you mean by "I run the procedure from the command line and leave the data, then run the report I get updated data in the table, but nothing returned to the report."
    Can you please explain a bit more and also update code snippets of what you are using ?
    Thanks,
    Vinod
    Oracle Reports Team

  • Problems using cmd.exe in a script

    What I'm trying to do is this. I have this program called
    zoomify.exe on the server. (check out zoomify.com, its a cool image
    magnification program). What I want to do is run a command like
    this in cmd.exe:
    D:\zoomify.exe D:\temp\image.jpg
    If I was to run this inthe command prompt window on the
    server it would create a folder within D:\temp named "Image" with
    all the output files from the zoomify.exe. The program also works
    so that if you drag and drop an image onto the exe in windows
    explorer it does the same thing.
    So I have this custom tag cfx_exec on the server and I have
    it pull up a command prompt, enter in the parameters including
    chr(13) and chr(10) to simulate hitting enter and then I throw
    "Exit" at it as well to close the command prompt window. It acts as
    though it runs no problem but it never actually creates the new
    folder and image collection.
    I know it is not a permission thing, coldfusion is run under
    the domain administrator account and has full permission to execute
    things like this. For example I use the same custom tag to run NET
    USER commands to change active directory passwords and things of
    this nature.
    Can anyone suggest what I may be doing wrong here?

    Figured it out...it was in the syntax...had to use single quotes around table and field names. Don't use Access much...Live and Learn Baby!

  • Problem using canopus advc55 as a source for photoshop/premiere elements 13?

    I have installed photoshop elements 13 on an imac yosemite.
    I have been using canopus advc55 as a digital video convertor to transfer vhs videos to digital.
    It works with imovie.
    However elements 13 does not recognise advc 55 as a source.
    Can anyone advise whether this is possible or not.

    Duplicate question deleted, now that this one has been moved
    Version 13 no longer captures from a tape camera
    http://helpx.adobe.com/premiere-elements/kb/removed-features-formats-elements.html
    $10 DV and HDV for Mac Firewire capture http://www.lifeflix.com/

  • Problem using ant to create a jar...

    Hi,
    I am trying to create a JAR, and amongst other things include in that a directory called docs. I would like both the directory and its contents included, not just the contents.
    I can get this to work, but when using a property it doesn't!
    Within my jar task
                   <fileset dir=".">
                        <include name="doc/**"/>
                   </fileset>will work just fine. However,
                   <fileset dir=".">
                        <include name="${doc}/**"/>
                   </fileset>will not do anything, with doc defined as:
    <property name="doc" location="doc" />Does anyone have any ideas? Many thanks.

    Yes, that's pretty standard code (except you don't need the .newInstance() just loading the class does it).
    I haven't experimented much with Class-Path in jars, but I still think a ClassLoader problem is the most likely cause. Try something like this:
    try {
         Class driverClass = Thread.currentThread().getContextClassLoader().loadClass("com.mysql.jdbc.Driver");
         Driver driver = (Driver)driverClass.newInstance();
         java.util.Properties conProps = new java.util.Properties();
          conProps.setProperty("user", "root");
          conProps.setProperty("password", "");
         dbConnection = driver.connect("jdbc:mysql://127.0.0.1/bdd/", conProps);
    catch(ClassNotFoundException) {
    ....(Of course I might be way off track, and we might have missed something simpler).

  • Problem using ant and weblogic web services (jwsc)

    I have made a small HelloWorld implementation as given in http://download.oracle.com/docs/cd/E12840_01/wls/docs103/webserv/use_cases.html#wp228687. but when I run ant I get this error
    Buildfile: build.xml
    build-service:
    [jwsc] JWS: processing module /examples/webservices/hello_world/HelloWorldImpl
    [jwsc] Parsing source files
    [jwsc] Parsing source files
    [AntUtil.deleteDir] Deleting directory /tmp/_gwf3vm
    BUILD FAILED
    /home/testprojects/src/build.xml:10: java.lang.RuntimeException: Unknown javadoc problem: result=1, root=null:
    JAM: error - Cannot find doclet class com.bea.util.jam.internal.javadoc.JavadocRunner_150
    1 error
    Any help?

    I also faced the same problem what I did is
    moved all the files from weblogic ant directory into another folder
    and ant*.* from c:\bea\weblogic81\server\bin to a temp location
    copied all the jar files from apache-ant-1.6.3\lib to beahome\lib\ant folder
    copied all the ant*.* files from apache-ant-1.6.3\bin to c:\bea\weblogic81\server\bin directory
    now I ran the ant -version I am getting the latest version
    try this

Maybe you are looking for