Can't Add a ResourceLink in my WebApp

Hi
Im using the tsdDriver for jdbc. I've already done a WebApp using it, but now Imt starting a new one using a different database, I've already created the datasouce in Tomcat. The problem is when in the context.xml of my new app i put the next line:
<ResourceLink name="RealAuction" type="javax.sql.DataSource"
global="jdbc/RealAuction" />
the name is correct an all.
Then i now i have to create a reference in web.xml
When I deploy the project , I receive a message of failed deploy and this
[Fatal Error] :3:6: The markup in the document following the root element must be well-formed.
"D:\..myprojectpath"nbproject\build-impl.xml:413: Deployment error:
DOM graph creation failed: org.netbeans.modules.schema2beans.Schema2BeansRuntimeException: Failed to create the XML-DOM Document.  Check your XML to make sure it is correct.
The markup in the document following the root element must be well-formed.
See the server log for details.
BUILD FAILED (total time: 8 seconds)I dont know whats wrong. But I know for a fact that the error occurs when I add the resourcelink and the reference.
what should i look for?

So I looked for line with "the error" and this it is:
<nbdeploy debugmode="false" clientUrlPart="${client.urlPart}" forceRedeploy="${forceRedeploy}"/>Im really lost, because i compared it whit other archive and that line its exactly the same. I figured out that its like a standar routine, but i dont know whats wrong -,-

Similar Messages

  • Can i add a servlet through the console in weblogic v6.0

    can i add a servlet details through the console. or is editing the
              weblogic.xml and web.xml files is the only option.
              any help will be deeply appreciated.
              thanks
              sathish
              

    You can add a webapp using console but not a servlet individually.
              Kumar.
              sathish subramanian wrote:
              > can i add a servlet details through the console. or is editing the
              > weblogic.xml and web.xml files is the only option.
              >
              > any help will be deeply appreciated.
              >
              > thanks
              > sathish
              

  • Can we add any fonts to Infoview format editor?

    Hi Expert!
    Can we add any fonts to Infoview format editor?
    When editing CR file on INFOVIEW, "Format Editor" has just 4 fonts to use,
    How can we add any fonts to "Font Editor" at infoview??
    Could you please give me any advices?
    [A SCREENSHOT|http://zealias.byus.net/bo/addfont.JPG]
    As attached screenshot, we can use just 4 fonts on format editor.
    Thanks in advance
    Tony (Customer Assurance)
    Edited by: Tony Song on Nov 17, 2008 8:10 AM
    Edited by: Tony Song on Nov 17, 2008 8:11 AM

    It's self answering.
    1. I assume, "D:\Program Files\Business Objects" is the install dir.
    Add below line
    D:\Program Files\Business Objects\Tomcat\webapps\businessobjects\enterprise115\adhoc\res\adhoc_en.js
    D:\Program Files\Business Objects\Tomcat\webapps\businessobjects\enterprise115\adhoc\res\adhoc_ko.js
    there is an line "var L_IMPACT="Impact";"
    and ADD next new line "var L_ARIAL="(what you want)"; "
    2 Edit below file
    D:\Program Files\Business Objects\Tomcat\webapps\businessobjects\enterprise115\adhoc\formatfield.html
    1) Add option[5] like below
    fontChoiceElement.options[5] = new Option(getLocalisationStringsObject().L_ARIAL, 'arial', false, false);
    2) Also search similar sentence and add like below
    case 5: // Arial
       previewPaneElement.style.fontFamily = 'arial';
       break;

  • How can I add more than one same spry menu (eg. collapsible menu)  with in different styles (font size, color, background, etc) on current page?

    How can I add more than one same spry menu (eg. collapsible menu)  with in different styles (font size, color, background, etc) on current page?

    Hi Nancy,
    This screenshot was only for imagination. A part of the code (not all) is below.  In the code there are some background images but they are not seem in live mode.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="css/my_site.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css"/>
    <link href="SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script>
    <style>
    #CollapsiblePanel1 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-color: #003366;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel1 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        line-height: 52px;
    #CollapsiblePanel1 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        line-height: 52px;
    #CollapsiblePanel2 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/international.jpg);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel2 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel2 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel2 .CollapsiblePanelContent {
        background-color: blue;
    #CollapsiblePanel3 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel3 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel3 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel4 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel4 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel4 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel5 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel5 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel5 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    </style>

  • HT201342 How can I add an e-mail address to my existing icloud addresses?  I currently only use one and I would like to ad two more?

    How can I add an e-mail address to my existing icloud account?  I curently only use one of the three.

    Each iCloud account only has a single iCloud account.  If you want, you can add up to 3 alias addresses that will receive email in the same iCloud inbox, as explained here: http://support.apple.com/kb/PH2622.

  • How can I add amazon to Apple TV?

    I am a new Apple TV user. So far I am impressed and like it a lot. However I would like to use the Amazon Prime and I have yet to find it. How can I add it to my Apple TV?

    You cannot add apps to Apple TV. If you have an IOS device you can AirPlay to stream using the app from there

  • Can't add a family member to family share on icloud?

    I Successfully added one child to family share but when I went to add second child it gets hung up on the screen where you type family members email. I type it in or select child's name from my list of contacts and then select NEXT. Nothing Happens. the blue letters of next fade to the light blue then the circle thing spins and the NEXT pops back up in blue and nothing happens. Can someone please help me figure out why I can't add a second child. Yes, they have an icloud account, I turned phone off and back on. Not sure what the problem is.

    See if you can go to your Calendars App and select a previous event to see what Calendar the event was added to (iCloud or Yahoo). After that is determined you can go to www.iCloud.com or calendar.yahoo.com and add the event there to see if it will populate on your device. Another troubleshooting step is deleting the iCloud account from your device and also deleting the Yahoo account. Then check to see if you can add an event without it syncing to a email. If you can then it may have just been a bug and you can add both accounts back and try adding the event again. I would also recommend only using one service to sync your Contacts, Calendars, Reminders, etc. Such as either iCloud only or Yahoo only, as using multiple accounts means your data is spread around and can be hard to isolate when something goes wrong.

  • How can I add a birthday without creating a new contact?

    Hiya,
    I would like to add birthdays to my calendar for my friends children and my neices and nephews.  However, I don't want to create a new contact for all of them. Can I add an entry into the birthdays calendar only?  When I add an entry in iCal on my MacBook I can edit it to a specific calendar, but I have no option to add to the birthday calendar.  If I really have to create a contact for these entries, can I select which contacts show up in my iPhone? Obviously I don't want a huge contacts list for babies and small children in my phone!
    I tried Dates to iCal and it was good for anniversaries, but for other birthdays it wasnt as they appear as the parents name and then the entry (e.g. Jane: 2nd Sophies Birthday) which I find very annoying!
    I hope one of you geniuses out there can help me!
    Thanks very much.

    Also open the calendar app, tap on calendars bottom middle of the screen and make sure under other you have birthdays ticked in the calendars

  • How can i add to a listBox items near in a new column other items ?

    The items on the right i changed the property of the listBox1 righttoleft to Yes.
    My problem is i want to build a new column for the number so each number i'm adding will be next on the left to the belong item string. And not under it like now.
    1. Maybe i need to use another control and not listBox ?
    2. How can i add column/s and also maybe adding a title to each column like: Names Id Number....?

    If you want columns, you should consider a
    ListView or
    DataGridView.

  • Can i add a second hard drive to my macbook pro

    can i add a second hard drive to my macbook pro

    stevefromapo wrote:
    I purchased a OWC DataDoubler kit with a 750GB hd and it works fine.  I just need to get a USB CD Drive for mac so if i need to reinstall my OS I can do it.
    You could put your install disc on a USB Flash drive with Disk Utility. Also, here is the USB optical drive enclosure I bought. He raised the price a few bucks. Mine ran $10.00 with the shipping. 
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 

  • Can I add a second hard drive and if so what cable etc would I need to do so?

    Can I add a second hard drive and if so what cable etc would I need to do so?
    This question was solved.
    View Solution.

    Hi,
    For many 17" (or 17.3") machines such as Envy 17, dv,  Pavilion 17 .... you can add a second HDD (my old loan dv7 has two HDD's and my current loan Envy 17 also has 2 HDD's). You would need the following kit:
        http://www.newmodeus.com/shop/index.php?main_page=product_info&products_id=379
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How can i add filename on a document in pages 5.1 ?

    I am allways using a template to make documents, that I save under different names. How can I add the (changed) filename in the footer of a saved document ?
    It is important to me to print the filename on document, to find and edit it on my mac later.
    In MS Word it is easy to automaticaly add filenames, path, author and other filedata to the document. I can't find how to do that automatically in Pages templates.
    I saw earlyer answers to this question on this community, but they don't work as I expect, or only on earlier versions of pages.....  I trust there is an easy way to do this.
    Can someone help me please ?

    That function, present in "Pages 09" (i.e. Pages 4.3) , was not included in Pages 5.0-5.1.  (Nor were nearly 100 other such features, from mail merge and bookmarks to non-contiguous text selection, 2-up page viewing and the ability to set alternating left/right margins, headers & footers.Version 5.1 is also notably buggy. One work around, or partial work around, is to click the file name at the top of the window document. You can then select the filename, copy it  and paste it whereever you like. As far as I can see, however, there is no way to include the path: all you get is the filename and extension.

  • Can not add a picture to the JFrame from an ActionListener class

    As topic says, I can not add a picture to the JFrame from an ActionListener class which is a class inside the JFrame class.
    I have a Map.java class where I load an image with ImageIcon chosen with JFileChooser.
    I my window class (main class), I have following:
    class OpenImage_Listener implements ActionListener
         public void actionPerformed(ActionEvent e)
              int ans = open.showOpenDialog(MainProgram.this);     // "open" is the JFileChooser reference
              if(ans == open.APPROVE_OPTION)
                   File file = open.getSelectedFile();                    
                   MainProgram.this.add(new Map(file.getName()), BorderLayout.CENTER);     // this line does not work - it does not add the choosen picture on the window,
                            //but if I add the picture outside this listener class and inside the MainProgram constructor, the picture apperas, but then I cannot use the JFileChooser.
                            showMessageDialog(MainProgram.this, fil.getName() ,"It works", INFORMATION_MESSAGE);  // this popup works, and thereby the ActionListener also works.
    }So why can�t I add a picture to the window from the above listener class?

    The SSCCE:
    Ok, I think I solved it with the picture, but now I cannot add new components after adding the picture.
    Look at the comment in the actionlistener class:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    public class Test extends JFrame{
         JButton b = new JButton("Open");
         JFileChooser jfc = new JFileChooser(System.getProperty("user.dir"));
         Picture pane;
         Test(){
              super("Main Program");
              setLayout(new BorderLayout());
              JPanel north = new JPanel();
              add(north, BorderLayout.NORTH);
              north.add(b);
              b.addActionListener(new Listener());
              setVisible(true);
              setSize(500,500);
              pane = new Picture("");
              add(pane, BorderLayout.CENTER);
         class Listener implements ActionListener {
              public void actionPerformed(ActionEvent e){
                   int ans = jfc.showOpenDialog(Test.this);
                   if(ans == jfc.APPROVE_OPTION)
                        File file = jfc.getSelectedFile();
                        Test.this.add(new Picture(file.getName()), BorderLayout.CENTER);
                        pane.add(new JButton("NEW BUTTON")); // Why does this button not appear on the window???
                        pane.repaint();
                        pane.revalidate();
         public static void main(String[] args)
              Test t = new Test();
    class Picture extends JPanel
         Image pic;
         String filename;
         Picture(String filename)
              setLayout(null);
              this.filename = filename;
              pic = Toolkit.getDefaultToolkit().getImage(filename);
            protected void paintComponent(Graphics g)
                super.paintComponent(g);
                g.drawImage(pic,0,0,getWidth(),getHeight(),this);
                revalidate();
    }

  • What is difference between distribution list and share point group? Can we add distribution list into person and group column of share point list?

    what is difference between distribution list and share point group? Can we add distribution list into person and group column of share point list?

    there is a workaround you can try, create audience and add DL to them and deal with the audience or convert DL to groups
    https://social.technet.microsoft.com/Forums/en-US/02f0d773-8188-4d94-a448-0c04d838b0cf/distribution-lists-in-sharepoint?forum=sharepointgenerallegacy
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • I can't log out of my iTunes on my old laptop because it has a virus and won't turn on, and this means i can't add/sync new music to my iPod on my new laptop.

    it's getting really irritating since i now have an awful lot of CDs stacking up since i can't add them to my iPod, any suggestions on what to do WITHOUT erasing my iPod content?

    Any third-party software that doesn't install by drag-and-drop into the Applications folder, and uninstall by drag-and-drop to the Trash, is a system modification.
    Whenever you remove system modifications, they must be removed completely, and the only way to do that is to use the uninstallation tool, if any, provided by the developers, or to follow their instructions. If the software has been incompletely removed, you may have to re-download or even reinstall it in order to finish the job.
    Here are some general guidelines. Suppose you want to remove something called “BrickYourMac.” First, consult the product's Help menu, if there is one, for instructions. Finding none there, look on the developer's website, say www.brickyourmac.com. (That may not be the actual name of the site; if necessary, search the Web for the product name.) If you don’t find anything on the website or in your search, contact the developer. While you're waiting for a response, download BrickYourMac.dmg and open it. There may be an application in there such as “Uninstall BrickYourMac.” If not, open “BrickYourMac.pkg” and look for an Uninstall button.
    You may have to log out or reboot in order to complete an uninstallation.
    If you can’t remove software in any other way, you’ll have to erase your boot volume and perform a clean reinstallation of OS X. Never install any third-party software unless you're sure you know how to uninstall it; otherwise you may create problems that are very hard to solve.
    Trying to remove complex system modifications by hunting for files by name often will not work and may make the problem worse. The same goes for "utilities" that purport to remove software.

Maybe you are looking for

  • How to install clusterware on windows 2008 R2 64bit

    Hello all, As you know at otn there is only 10.2.0.4 clusterware setup for windows2008. I want to install oracle clusterware on 2008R2. I know that there is a patchset 10.2.0.5 for windows 2008R2. But before using it I must have alredy binary setup f

  • ATI HD5770 Performance Issue

    I have a HD5770 card driving an Acer 22" monitor and my old HD2600XT powering another 17" IBM monitor. Everything works well, I think. I do alot of FCP and Logic stuff and play World of Warcraft, but I im not really seeing any performance increase fr

  • Tcp/ip comms reliability help

    Hello everyone, i have an application which uses TCP/IP to communicate from my PC to a FieldPoint controller. I created the communications vi's using the comms wizard. Occasionally, I will receive an error 56 and I will click continue on the error me

  • How to reference Macintosh HD in file path

    How do I reference the Macintosh HD in a file path, in case it is renamed? I tried: myFile = File ('Macintosh HD/myTxt.txt'); But nothing happens, when I write to the file.

  • Menu to long - some items are unreachable unless the scrollbutton appears

    Hi all, sometimes when you have menus with many items, not all items can be entered within the window. When you restart your forms application without booting in between there is a horizontal scrollbutton (with a little arrow on it) both on top and b