Why war.DDInit's result put to screen, not to a stage directory

          Hi, I am new in weblogic. I run "java weblogic.ant.taskdefs.war.DDInit stage" to automatically
          create web.xml & weblogic.xml, but it only create one xml file and print it to screen,
          not to the stage/WEB-INF directory, I have create stage/WEB-INF direcoty and put
          jsp file under stage directory and set enviroment just as the doc(Developing Weblogic
          Server Applications) describe, I use Weblogic 7.0, How to solve this problem?
          

          Hi, I use the absolute directory "c:\stage" instead of relative directory "stage",
          but it still not work.
          "ludovic le goff" <[email protected]> wrote:
          >Hello Rafe,
          >
          >In my opinion, there is maybe a mistake in your java command line.
          >As described at this link :
          >http://e-docs.bea.com/wls/docs70/programming/packaging.html#1068003, the
          >staging-dir parameter is a directory.
          >I would suggest to type the following java command instead of yours (
          >assuming that you put the stage directory in the C drive ) :
          >- java weblogic.ant.taskdefs.war.DDInit c:\stage
          >
          >I hope this helps.
          >Best regards,
          >Ludovic.
          >Developer Relations Engineer
          >BEA Customer support
          >"rafe lin" <[email protected]> a écrit dans le message news:
          >3d0d5f77$[email protected]..
          >>
          >> Hi, I am new in weblogic. I run "java weblogic.ant.taskdefs.war.DDInit
          >stage" to automatically
          >> create web.xml & weblogic.xml, but it only create one xml file and print
          >it to screen,
          >> not to the stage/WEB-INF directory, I have create stage/WEB-INF direcoty
          >and put
          >> jsp file under stage directory and set enviroment just as the
          >doc(Developing Weblogic
          >> Server Applications) describe, I use Weblogic 7.0, How to solve this
          >problem?
          >
          >
          

Similar Messages

  • Why ejb20.DDInit's result put to screen, not to a stage directory

    Hi, I am new in weblogic. I run "java weblogic.ant.taskdefs.ejb20.DDInit stage" to
    automatically create ejb-jar.xml, weblogic-ejb-jar.xml, but it only create one xml
    file and print it to screen, not to the stage/META-INF directory, I have create stage/META-INF
    direcoty and put correct class file under stage directory and set enviroment just
    as the doc(Developing Weblogic Server Applications) describe, I use Weblogic 7.0,
    How to solve this problem?
    And if I use weblogic.marathon.ddinit.EJBInit, it produce no xml file, and display:
    [ModuleInit]: Searching for class files
    [ModuleInit]: 4 classes found
    [ModuleInit]: Discovered module type for E:\java\usingj2ee\pricing\stage
    [ModuleInit]: Found EJB components. Initializing descriptors
    [ModuleInit]: Found EJBHome: usingj2ee.pricing.PricingHome
    [ModuleInit]: Creating relations
    [ModuleInit]:
    Found no EJBs in the specified directory.
    [ModuleInit]:
    Be sure the EJB classes are in the proper package hierarchy under the specified directory
    'E:\java\usingj2ee\pricing\stage.'
    [ModuleInit]: Writing descriptors
    [ModuleInit]: Building module with newly created descriptors
    [ModuleInit]: Finished building module
    [EJBJarCMBean] Writing descriptors
    why?

    You found a bug. I file a bug request: CR080702.
    We will fix it very soon.
    Thanks.
    Cedric
    "Rafe Lin" <[email protected]> wrote in news:[email protected]:
    >
    Hi:
    Now I attach the stage directory and source java file, Thank you.
    Cedric Beust <[email protected]> wrote:
    Please post the updated jar file (preferably with the source files in
    it). Are you sure the XML descritprs are not created inside the jar
    file? The trace seems to say the contrary...
    Cedric
    "Rafe Lin" <[email protected]> wrote in news:3d128fb6
    @newsgroups2.bea.com:
    >>
    >>
    >>>
    Hi, now I rename PringImpl.java to PricingEJB.java, and there is no
    error when DDInit run, but the two xml still not appear, why? when I
    run DDInit, screen display:
    [ModuleInit]: Searching for class files
    [ModuleInit]: 4 classes found
    [ModuleInit]: Discovered module type for
    e:\java\usingj2ee\pricing\stage [ModuleInit]: Found EJB components.
    Initializing descriptors [ModuleInit]: Found EJBHome:
    usingj2ee.pricing.PricingHome [ModuleInit]: Bean class:
    usingj2ee.pricing.PricingEJB [ModuleInit]: Adding Session bean
    'PricingEJB' [ModuleInit]:
    [ModuleInit]: Creating relations
    [ModuleInit]: Writing descriptors
    [ModuleInit]: Building module with newly created descriptors
    [ModuleInit]: Finished building module
    [EJBJarCMBean] Writing descriptors
    Thanks!
    Cedric Beust <[email protected]> wrote:
    "Rafe Lin" <[email protected]> wrote in
    news:[email protected]:
    Hi, now I attach the jar file, of course, I run DDInit before the
    achieve file is created, it just present the stage dir struct, I
    did
    not run DDInit on the jar file. Thanks!Your bean has unusual naming conventions: your bean is called
    PricingImpl.
    Rename it to PricingEJB and DDInit should recognize it.
    Admittedly, EJBInit should do a better job at guessing, or at least at
    producing a better error message.
    CedricAttachment decoded: untitled-2.txt
    ---=_news3d128fb5
    Attachment decoded: Pricing.jar
    ---=_news3d128fb5--Attachment decoded: untitled-2.txt
    ---=_news3d145663
    Attachment decoded: for_chk.jar
    ---=_news3d145663--

  • Why is my BRAND NEW touch smart screen not recognizing my touch?

    I can't figure out why when I purchased my HP touch smart screen computer, at the store on display, it was working, and now when I set it all up, it doesn't recognize my finger touch!

    If it doesn't even make a chirping noise when you touch the screen, it may be defective.

  • Inporting .Mov File from Foto Magico resulting in Green Screen

    Hello,
    I'm trying to use a slide show I put together in Foto Magico in my Final Cut Pro project. I used Export -> For DVD to create the file since it doesn't give me an option to export to QT (which I think is ridiculous). I then imported the resulting .mov file file into my browser, and it plays normally. However, when I drag into my timeline it asks for a render, and when I render the result is green screen. I've searched the discussions boards, but can't find an answer. I'm sure lots of you use this software....how can I use the work I do in foto magico in my final cut pro project?
    Thanks!

    Aha! You are right - I have two: 9400M on PCI and 9600M GT on PCIe and indeed when I switched to 9600M it solved the problem. Thank you!!! But why do I need two GPUs on 2  busses at all? Is that the one is responsible for the mini-dvi out for external display?

  • Any Ideas why my two day old ipad touch screen periodically doesn't respond to touch?

    Any Ideas why my two day old ipad touch screen periodically doesn't respond to touch?

    See what you missed here:
    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                                                       
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

  • Why do I get only a black screen when I try to download PDF files?

    Why do I get only a black screen when I try to download PDF files?  I have the latest version of Adobe Reader.
    This problem just started a few weeks ago.
    I am still using Snow Leopard.
    I have tried using Firefox instead of Safari, but still get the black screen.

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Why does Calendar keep reverting from full screen each time I exit the app?

    I'm using a 2014 Macbook Air. It's running Yosemite.
    Why does Calendar keep reverting from full screen each time I exit the app?
    On my older Macbook at work, calendar stays full screen whether I exit the app or restart the computer (similar to Mail - which is staying in full screen on both computers).
    Please help me adjust settings so I don't have to keep putting Calendar into full screen.
    Thanks!

    HI Thanks so much! It fixed porblem (for the moment) by reinstalling PS6 and NOT installing the 13.03 update which, although said it was performance related, probaly had  that trial messge embeded in it. So just DON"T install update 13.03 till adobe gets it's sea legs and stops puking up this message over and over. aloha, U
    Curt Y wrote:
    Did you update recently?  There is a bug in that causing your problelm.  See this thread.  http://forums.adobe.com/thread/1114727?tstart=0

  • Why does my ical on my ipod touch not sync with my ical on my desktop if I put in an event on the ipod calendar?

    Why does my ical on my ipod touch not sync with my ical on my desktop imac ical?
    It will if I put it in on my desktop though.
    Please help,
    Brie

    Probably because you did not tell the iPod to sync the calendar in iTunes.

  • Remote desktop results in blank screen.

    So I have my mac mini (the core2duo) running OSX 10.6.4. For video it's connected to my stereo (via HDMI) which in turn is connected to my TV via HDMI. No problems so far with this.
    However.
    Let's say my TV and Stereo are off and I want to remote desktop into the mini. So I turn on the mini, and remote desktop to it from my macbook pro (10.6.4). I connect, however, the resulting remote desktop screen is black. This is the problem. No amount of clicking, disconnecting remotedesktop reconnecting, etc will get my remote desktop session to show the correct desktop. If I then turn on the stereo and TV, I get a halfway correct picture. I see the menu bar at the top of the TV display, but not on my remote desktop. The mouse pointer moves on the TV but not on the remote desktop session.
    If I reboot the macmini, everything is fine because the stereo&TV are already on.
    Any ideas?

    check your layers to make sure all items were deleted. Make sure there is no click box on the screen. This acts as a question especially when the reporting option is clicked

  • I have an Ipod touch 2nd generation 8gb. Metal peice fell out from the inside where the home button is and I lost it. Put the screen plug in and put the screen on and it would turn on but it won't unlock or respond to anything I try to do. PLEASE HELP ME!

    I have an Ipod touch 2nd generation 8gb. Metal peice fell out from the inside where the home button is and I lost it. Put the screen plug in and put the screen on and it would turn on but it won't unlock or respond to anything I try to do. PLEASE HELP ME!!!!!!!!!!!!!!!!!!!

    Look her and it may give insite on what is missing. Otherwise:
    Apple will exchange your iPod for a refurbished one for $99. Likely not worth it for a your iPod. They do not fix yours.
    Apple - iPod Repair price              
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Repair it yourself if you are up to it
    iPod Touch Repair – iFixit

  • Hello, I recently cracked the bottom part of my iPhone 5 right by the home button, would it be beneficial to put a screen protector over the cracks so it won't break anymore? I've cracked it twice now and can't afford to fix it again

    I recently cracked the bottom part of my iPhone 5 right by the home button, would it be beneficial to put a screen protector over the cracks so it won't break anymore? I've cracked it twice now and can't afford to fix it again

    How did you crack the screen using a Lifeproof case?? 
    http://www.otterbox.com/defender-series/defender-series,default,pg.html

  • Does anyone know what the black rectangle about the receiver on the 4S is for?  I want to put a screen cover on my phone but don't know if that should be covered or not.

    Does anyone know what the black rectangle about the receiver on the 4S is for?  I want to put a screen cover on my phone but don't know if that should be covered or not.

    Refer to this article under section 4: Verify that the Apple Mobile Device USB Driver is installed
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538

  • Why can't I actually put widgets on the desktop?

    Why can't I actually put widgets on the desktop and have stay on the desktop; not float on top of all my programs so I can’t see what I am doing?
    I know there are a few widgets that claim to do this, but they don’t! (Dashit)
    Here is the main problem that I have with Dashit; it doesn’t go on the desktop, it floats on top of every program and you can’t make it actually put it on the Desktop! This makes this little widget useless! Why can’t anybody make a widget that actually puts the widgets on the desktop?
    What use is it if the darn things just float on top of every program? This just gets in the way. Dose anyone know of a widget or a way to actually put the widgets on the desktop?

    Garret, the only way to put Dashboard widgets on the desktop and select the level they live in (so they don't float over everything) is to use either Amnesty Widget Browser or Amnesty Singles. Both are shareware.
    Disclaimer: I may receive some form of compensation, financial or otherwise, from my recommendation or link [my company developed Amnesty].

  • Why is itunes too big for my screen? i'm on the highest resolution. i'm on windows 7 on a sony vaio ! please help !!

    why is itunes too big for my screen? i'm on the highest resolution. i'm on windows 7 on a sony vaio ! please help !!

    Resize it.

  • Why are my search results for mail incomplete?

    Why is it that when I search for emails that I KNOW are in my inbox I cannot find them? This never used to be a problem until I upgraded to Lion. My inbox has close to 7000 emails so it is not practical to manually search through it for an email that is several months old. Why are the search results incomplete? I find this extremely frustrating.

    Had the same problem- called applecare, a mail supervisor walked me through the easy fix-
    (I am no tech so this is in simple terms)
    (Assuming you just upgraded to lion) - the "library" was not "properly rebuilt" - the emails are there but are not fully queriable which is why the "recent" or "post upgrade" emails search properly while the "older" or "pre upgrade" ones don't- the library index needs to be rebuilt (which is much easier than it sounds)
    Steps
    1- Quit Email (fully)
    2- open finder, open "Go"
        Hold the "Option" key on your keyboard - this will expand the menu to show the "Library"
    3- Select the "Library" option, (you can now release the "Option" key).
    4- Open the following folders (Mail,   V2   , Maildata)
    5- Within the Maildata folder there are (3) files which need to be deleted (Trashcan them)
         (envelopeindex, envelopeindex-shm,  envelopeindex-wal)
    6- Reopen Mail / (This will automatically reimport these files,  takes some time depending on how many emails)
    7- Quit mail and Reopen (has to reload for some reason)
    8- The mail program will do some automatic sycronizing  (You will see some the files "Reappear / fill in" while Syncronizing
    9- about 100 (blank or garage or remant emails) loaded to the top of my inbox during this process but everything else was normal-
    Everything now works great 

Maybe you are looking for

  • Batch determination based on WM storage type stock positions

    Hello experts, I am hoping the get some advise on the best method to achieve this: We have batch determination turned on for select customers and the system is proposing stock that is mainly in our each or lose pick storage types (110), the issue wit

  • Adding A HREF or image map to an image puts 3px L/R padding on image

    Hi all -- I'm having an interesting problem.  I'm designing a web page that has a navigation banner (home - programs - schedule of events - contact us - downloads) that is made up of a .png for each page (i.e. home.png, programs.png, etc).  My page i

  • Need help using terminal to back up failed HDD

    The stock HDD on my MacBook has developed S.M.A.R.T. errors and is on its way out. I need to get all of my pictures and documents backed up before everything gets completely lost. I was finally able to get the thing fired up, and everything seems to

  • HTC ERIS randomly Drops data connectivity after 2.1 OTA

    I am about to receive my 3rd HTC Eris under warrany that I am told will help my problem, before the 2.1 upgrade I no problems with data connectivity dropping. My 1st phone randomly displayed message saying "The MObile network setting needs to be turn

  • Siri - phoenetic name issues

    I've been trying to get Siri to differentiate between my wife's name, "Bec" and my banks name "B.E.C.U.". However, every time I ask Siri to "call Bec", it dials the bank and every time I ask Siri to call B.E.C.U., it puts up "Bec you" and directs me