Live-preview of .dwt template does not work

Hi,
I set up a html page in DW and converted it to a template using insert > template > convert (make) to template (I use the german version of DW, dont know whether this is the right translation). Now my file has an .dwt ending. After having inserted the {tag_pagecontent} I uploaded the file to the Templates folder of BC. Now I am working on the template, but live preview doesn't work. It says:
The path is: mywebsite.business-catalyst.com/Templates/mainDesktop.dwt
How can I use the live preview when working on a template?
Regards, Citzwerth

Hi Peter,
Please copy/paste the problematic slide in a new responsive project and verify if the issue still exists in preview?
If yes, can you please upload the new project to dropbox.com and email me the download link?
Regards,
Hari

Similar Messages

  • Importing element definition from an  EDD into a template - does not work

    FM 10.0.1 German on Windows XP SP3.
    When importing the element definitions from an existing EDD into an existing template, FrameMaker converts the template into a  new EDD.
    So the element definitions which are correctly defined do not appear in the template.
    The highest level element is than ElementCatalog in the template and not the higherst lvel element defined in the EDD.
    In FM9 this was no issue.
    Any help is appreciated, I have a deadline and must do some changes in the EDD.
    Best Regards
    Thomas

    Lynne,
    EDD is english (Version FM7.0), Interface language is German.
    Maybe it´s a localization issue.
    I have attached a captivate demo pdf so you can see what happens and the
    defective EDD.
    Mit freundlichen Grüßen
    Best Regards
    Thomas Zeisig
    From:   Lynne Price <[email protected]>
    To:     "Th. Zeisig" <[email protected]>
    Date:   13.10.2011 14:12
    Subject:        Importing element definition from
    an  EDD into a template - does not work
    Re: Importing element definition from an EDD into a template - does not
    work
    created by Lynne Price in FrameMaker Structured - View the full discussion
    Thomas,
      No question the behavior you describe is a bug. However, I am unable to
    duplicate it. I created an EDD with two element definitions:
    Element (Container): doc
      Valid as the highest-level element.
      General rule:  (
      When I imported element definitions from this EDD into a new portrait
    document, FM reports that element a is referenced but not defined and that
    b is defined but not referenced. However, with all elements listed, the
    element catalog shows a, b, and doc. The metatemplate elements are not
    available.
      I wonder if this is a language-dependent problem. Is your EDD German or
    English? What about your user interface?
      Can you send me a short EDD that fails as you've described?
      Thanks,
          --Lynne
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either
    reply to this email or visit the message page: [
    http://forums.adobe.com/message/3969067#3969067]
    To unsubscribe from this thread, please visit the message page at [
    http://forums.adobe.com/message/3969067#3969067]. In the Actions box on
    the right, click the Stop Email Notifications link.
    Start a new discussion in FrameMaker Structured by email or at Adobe
    Forums
    For more information about maintaining your forum email notifications
    please go to http://forums.adobe.com/message/2936746#2936746.

  • Preview with F 12 does not work.

    In the past we could see our changed page preview with F 12 in the browser. That doesn't work any more. can we do that now ? I have Internet Explorer 11 and Dreamweaver CS3.
    Thanks
    Henk

    Yes I had done it also with Ctrl + F12 , but that did not work too.
    Now I have tried it with another very old keyboard, and I was very surprised with the old keyboard it worked. Both keyboards are from Logitech. The newest one does not work with F12 and the old one works well.
    It is very annoying, but it is possible.
    Thanks

  • SQL Developer 2.1.1.64 - code template does not work in Windows Vista

    I have been trying to import a code template in SQL Developer 2.1.1.64 / Windows Vista using the following steps:
    1. Import template (xml) file using "Preferences > Database > SQL Formatter > Import..." option. Pressed "OK" button.
    2. Clicked on "Preferences > Database > SQL Formatter > Oracle Formatting".
    I expected to see the new profile under "Profile" drop-down-list-box, but it does not appear there.
    I tried putting the template (xml) file under various locations, including:
    (a) C:\Users\<user_name>\
    (b) C:\Users\<user_name>\AppData\Roaming\SQL Developer\
    Please let me know any suggestions that you may have.
    Thanks in advance.

    I got it to work. In step 1 that I mentioned, "OK" button should not be pressed; go to step 2 without pressing "OK" button.

  • Preview in Finder windows does not work with VLC Player

    hi there,
    i am using vlc player, and whenever i access a folder where i have many avi folders that vlc player is set as the default program to open them, the finder windows freezes and i have to relaunch it. also, when i click on get info for a particular avi folder, finder crashes again because it cannot preview the file in the window. does anyone know how i can resolve this issue?
    thanks!

    paranoidandroid60 wrote:
    ok, it works fine with quicktime, but anyone know why vlc player might be doing this?
    thanks!
    I use VLC and there are some bugs with the latest version. Try an earlier version. WIth VLC, I keep the older versions for things like this.
    For instance, the new VLC give the wrong time on a stereo audio file. In fact it gives double the correct time. I have had some other issues with VLC, but it's easy enough to remove and install.
    If you make QT the default and then right-click the video and select VLC to play it, does that work?
    Also check out:
    http://forum.videolan.org/viewforum.php?f=12&sid=7bc9db9ba2aa53d4660133d4b9e3dbb 8
    Message was edited by: nerowolfe

  • Landscape in RTF template does not work

    Hi,
    I try to generate an XLS (Excel) document from a RTF template built with Word and the BIP Desktop tool.
    Before saving the RTF template, I go in page setup and set the layout to "landscape".
    When I generate the final document, and open it in Excel, if I go to preview the document is in portrait mode, not landscape.
    How can I do to have the landscape mode ?
    thanks.

    Development has previously confirmed that Page Orientation is not supported for Excel output (ref. bug 8435974). There's an open ER / bug 9818198 which you may want to track via My Oracle Support.

  • ORDS Template with parameter does not work

    Hello everybody,
    I can not get working a RESTful Service using the ORDS_SERVICES -API (ORDS version 3.0.0.343.07.58), same Query without parameter (hardcoded product_id) works fine.
    declare
    l_module_id number;
    l_template_id number;
    l_handler_id  number;
    l_parameter_id number;
    begin
    ORDS_SERVICES.delete_module(p_name => 'test_parameter');
    l_module_id := ORDS_SERVICES.create_module(p_name => 'test_parameter',
                                p_uri_prefix => '/test_parameter',
                                p_items_per_page => 10,
                                p_status => 'PUBLISHED',
                                p_comments => null);
    l_template_id := ORDS_SERVICES.add_template(p_module_id => l_module_id,
                               p_uri_template => '/demo_product_info_10/',
                               p_priority => 0,
                               p_etag_type => 'HASH',
                               p_etag_query => null,
                               p_comments => null);
    l_handler_id := ORDS_SERVICES.add_handler(p_template_id => l_template_id,
                               p_source_type => 'MEDIA', -- source_type IN ('COLLECTION_FEED', 'COLLECTION_ITEM', 'FEED', 'MEDIA', 'PLSQL', 'QUERY', 'QUERY_1_ROW')
             p_source => 'select mimetype, product_image from demo_product_info where product_id = 2',
             p_format => 'DEFAULT',
             p_method => 'GET',
             p_items_per_page => null,
             p_mimes_allowed => null,
             p_comments => null);
    /* now same result but with parameter */
    l_template_id := ORDS_SERVICES.add_template(p_module_id => l_module_id,
                               p_uri_template => '/demo_product_info/{product_id}',
                               p_priority => 0,
                               p_etag_type => 'HASH',
                               p_etag_query => null,
                               p_comments => null);
    l_handler_id := ORDS_SERVICES.add_handler(p_template_id => l_template_id,
                               p_source_type => 'MEDIA', -- source_type IN ('COLLECTION_FEED', 'COLLECTION_ITEM', 'FEED', 'MEDIA', 'PLSQL', 'QUERY', 'QUERY_1_ROW')
             p_source => 'select mimetype, product_image from demo_product_info where product_id = :product_id',
             p_format => 'DEFAULT',
             p_method => 'GET',
             p_items_per_page => null,
             p_mimes_allowed => null,
             p_comments => null);
    l_parameter_id := ORDS_SERVICES.add_parameter(p_handler_id => l_handler_id,
                               p_name =>  'product_id',
             p_bind_variable_name => 'product_id',
             p_source_type => 'URI',
             p_param_type => 'INT',
             p_access_method => 'IN',
             p_comments => null);
    commit;
    end;
    The first template works fine:
    http://localhost:8080/ords/xxx/test_parameter/demo_product_info_10/
    shows a jpeg image of a wallet.
    The second template does not work:
    http://localhost:8080/ords/xxx/test_parameter/demo_product_info/10/
    fails with error:
    mapped request using: BasePathMapper [basePath=/xxx/] to: SCHEMA:apex|XXX
    Choosing: oracle.dbtools.http.dispatch.DispatchMetaData as current candidate with score: MetaDataScore [score=0, matchedMethod=  GET: {10299, false}
      common: CommonMetaData [accepts=[], cors=null, documentation=null, frameOptions=null, pageSize=10, pagination=NONE, requiresPrivilege=null, transport=null]
    , matchedPattern= /test_parameter/demo_product_info/{product_id}
    common: CommonMetaData [accepts=[], cors=null, documentation=null, frameOptions=null, pageSize=null, pagination=null, requiresPrivilege=null, transport=null]
    methods:
      GET: {10299, false}
      common: CommonMetaData [accepts=[], cors=null, documentation=null, frameOptions=null, pageSize=10, pagination=NONE, requiresPrivilege=null, transport=null]
    stack trace:
    oracle.dbtools.http.errors.InternalServerException: java.lang.IllegalArgumentException: INT
    at oracle.dbtools.http.errors.ErrorPageFilter.internalError(ErrorPageFilter.java:165)
    at oracle.dbtools.http.errors.ErrorPageFilter.doFilter(ErrorPageFilter.java:113)
    at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:44)
    at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:51)
    at oracle.dbtools.http.cors.CORSFilter.doFilter(CORSFilter.java:35)
    at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:44)
    I changed the add_parameter-call p_param_type => 'INT' to be  p_param_type => 'STRING'
    then error remains the same and strack trace says
    oracle.dbtools.http.errors.InternalServerException: java.lang.IllegalArgumentException: STRING
    at oracle.dbtools.http.errors.ErrorPageFilter.internalError(ErrorPageFilter.java:165)
    at oracle.dbtools.http.errors.ErrorPageFilter.doFilter(ErrorPageFilter.java:113)
    Could you please confirm and fix,
    kind regards,
    Tom

    This is a guess, but I suspect that ords_services.add_parameter() is not required at all.
    Also, your URL /demo_product_info/10/ should not have the trailing slash (according to your template URI).
    For more information, I suggest you look here:
    ords.3.0.0.343.07.58.zip\ords.war\scripts\migrate\core\ords_migrate.plb
    The migration package will show what is usually done for templates that already exist within APEX 4.2. I checked my templates and the ones with URI variables {in-curly-brackets} contain no records in apex_040200.wwv_flow_rt$parameters.
    -Kris

  • Javascript does not work in web browser

    Hello friends.
    I have a problem with javascript in my Captivate project.
    This script only works in preview in Captivate, but does not work in web browser (IE 9, Mozilla, Chrome).
    Anybody knows why?
    Thank you for your answers.

    Common JS interface
    That is the official documentation for JS in Captivate 8. For more information, have a look at Jim Leichliter's website: CaptivateDev.com - eLearning Development with Adobe Captivate

  • Negative (to inline a letter or to thin it) offset path does not work in Illus-CC 2014 (when preview is on- nothing happens). How can I get this to work like in previous versions.

    Negative (to inline a letter or to thin it) offset path does not work in Illus-CC 2014 (when preview is on- nothing happens). How can I get this to work like in previous versions.

    Thanks for your quick reply. I tried a number of different values. Usually when I do a negative offset they're very small values, like -.25 or -.5.
    An Update- I took the art work into Ai CS 6 and It still did not work, which is really strange. And I've used it hundreds of times with success in the past. Also I tried it with live type and outlines, ungrouped, un-compounded still could not get it to negative offset.
    Thanks for the help.

  • Dynamic image does not work in the template builder plug-in (Apex-BI Intgr)

    Hi all, I posted this problem in the BI Publisher topic but nobody responded maybe this is because mods thought this is an Apex-BI integration issue.
    If I'm in the wrong place, please do warn me.
    The documentation says:
    Direct Insertion
    Insert the jpg, gif, or png image directly in your template.
    ...This works obviously
    URL Reference
    1. Insert a dummy image in your template.
    2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{'http://image location'}
    For example, enter: url:{'http://www.oracle.com/images/ora_log.gif'}
    ...This works too when I hardcode an url as url:{'http://www.google.com.tr/images/firefox/mobiledownload.png'}
    Element Reference from XML File
    1. Insert a dummy image in your template.
    2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{IMAGE_LOCATION}
    where IMAGE_LOCATION is an element from your XML file that holds the full URL to the image.
    ...This, however, does not work.
    I use Apex' report query tool and My query is like
    select 'http://www.google.com.tr/images/firefox/mobiledownload.png' IMAGE_LOCATION from ... (a single result set for my template)
    the xml data is generated with an IMAGE_LOCATION tag. I load it to word template plug-in. The Url successfully displays in the report if I make it a plain-simple field.
    But when it's in the image format->web->alt text as url:{IMAGE_LOCATION} no image displayed.
    I need to keep this design procedure simple so a simple word user could design a report via using just template builder plug-in. I don't wish to explore the xsl-fo area...yet.
    Could you tell me why I can't get this url:{IMAGE_LOCATION} to work?
    Regards
    PS: My BI version: 10.1.3.4.1

    Hi Oeren,
    your steps seem basically to be correct. I have a tutorial how to do this here (in german)
    http://www.oracle.com/webfolder/technetwork/de/community/apex/tipps/pdf-dyn-images/index.html
    when you see the URL corrently as long as you have it as a plain text field, the XML tag and the
    referencing seem to be OK.
    Here are two thought - the issue might be one of these ...
    How did you insert the dummy image into the word document - did you do it via "insert" or
    via "link to file". "Link to File" does not work - you must choose the simple "insert".
    Another one: Does your BI Server have a connection to the internet - is the proxy server correctly set ..?
    Does this help ..?
    Regards
    -Carsten
    Cloud Computing mit APEX umsetzen. Jetzt!
    http://tinyurl.com/apexcloudde
    SQL und PL/SQL: Tipps, Tricks & Best Practice
    http://sql-plsql-de.blogspot.com

  • Scrolling in Preview does not work after update?

    Hi everyone,
    I have recently updated my MacBook Pro (bought in 2011) to Maverix OS X 10.9.1 and ever since had problems with the Preview app.
    Whenever I open a PDF no matter what size with Preview I cannot use the trackpad to scroll down.
    It's not a fault in the trackpad since I can move the mouse and scroll in the sidebar and any other apps, simply not when I move the mouse over the PDF and want to scroll down.
    <edit> This is all the time! I have read dicussions where people had a problem with the trackpad not scrolling for 1-2seconds and then it's working again. Mine just does not work period. It never has unfortunately. <edit>
    I have enabled 'Continuous Scroll' in preferences and tried several other solutions I could find in this community (e.g. System Preferences -> Trackpad -> Change setting to 'with inertia'; that option was not available in my preferences) and I just don't seem to be able to solve this problem.
    I have also tried to set the preferences for 'Show Scrollbar' to 'always' (which had been suggested by one user). The scrollbar dows show up and I can click and drag the bar und thus the pages but it did not change my problem with the two-finger-touch-scroll on the trackpad.
    It's really bugging me since the only way I can scroll down is using the down-arrow constantly which is incredibly annoying.
    Anyone got any ideas? The same problem? A solution even?
    Thanks for your help!!!
    Cheers
    haiviva

    There's a few possibilities then.
    1) Startup to your Leopard installation disk. Don't reinstall the OS, just choose Disk Utility from the menu bar when you can. Once Disk Utility is running, choose your hard drive and click on Repair Disk. If any errors are indicated, keep running Repair Disk until it says everything is okay. If you can't repair the errors (if any) after a few tries, you'll need something much better suited to the task. Most people rely on Disk Warrior.
    2) If the drive has no errors, remain booted to the Leopard installation disk. Without leaving Disk Utility, on the same hard drive, run Repair Permissions.
    You can do both of these steps from an external hard drive if you have Leopard installed on it. Boot to the external drive and run the same two first steps. DO NOT use Tiger or Panther. Running Repair Permissions from the wrong level of OS X will cause a lot of headaches.
    3) If you still can't change file associations, then try dumping the Launch Services Database. This is the file which controls what file types are tied to which applications. OnyX is one such utility that can delete the database for you. Be careful with this utility. It can do a lot of different things, so only do what you need to at this point. Also make sure to download the version for Leopard. Once you have Onyx, launch the app and type in your admin password. Click on the Maintenance heading. Turn on the check box at the top for "LaunchServices". Make sure all other check boxes are off and click the "Execute" button. Onyx should tell you to restart. Do not skip restarting".
    Now try changing any file associations. If it still doesn't work, the OS may be damaged. It's not uncommon for a damaged system to appear okay until after you install a large package like CS4. If that's the case, then perform an Archive and Install from the Leopard installation disks. Make sure to choose the option to preserve your settings.

  • Dynamic image in the template builder plug-in does not work

    Hi all,
    The documentation says:
    Direct Insertion
    Insert the jpg, gif, or png image directly in your template.
    +...This works obviously+
    URL Reference
    1. Insert a dummy image in your template.
    2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{'http://image location'}
    For example, enter: url:{'http://www.oracle.com/images/ora_log.gif'}
    +...This works too when I hardcode an url as url:{'http://www.google.com.tr/images/firefox/mobiledownload.png'}+
    Element Reference from XML File
    1. Insert a dummy image in your template.
    2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{IMAGE_LOCATION}
    where IMAGE_LOCATION is an element from your XML file that holds the full URL to the image.
    +...This, however, does not work.+
    I use Apex' report query tool and My query is like
    select 'http://www.google.com.tr/images/firefox/mobiledownload.png' IMAGE_LOCATION from ... (a single result set for my template)
    the xml data is generated with an IMAGE_LOCATION tag. I load it to word template plug-in. The Url successfully displays in the report if I make it a plain-simple field.
    But when it's in the image format->web->alt text as url:{IMAGE_LOCATION} no image displayed.
    I need to keep this design procedure simple so a simple word user could design a report via using just template builder plug-in. I don't wish to explore the xsl-fo area...yet.
    Could you tell me why I can't get this url:{IMAGE_LOCATION} to work?
    Regards
    PS: My BI version: 10.1.3.4.1
    Edited by: oeren on Jun 8, 2011 12:28 AM

    Oeren,
    I stumbled across this little tidbit buried in the BI Publisher forum: Dynamic Images in rtf
    Glad you are up and running!
    Joshua

  • Preview Outlook2013 does not work on RDS2012R2 terminal server

    Hi.
    I am IT manager for a new RDS 2012R2 environmnet with 2 terminal servers running MS Office Professsional Plus 2013 SP1 Norwegian.
    The main problem :
    Previewing of word/excel/powerpoint file attachments in  Outlook2013 does not work on these 2 RDS2012R2 terminal servers.
    The excel error is telling me the following message:
    "Cannot preview this  file because an error occured in the following preview program: Previewing in Microsoft Excel"
    Previewing is OK functioning with file explorer but not with Outlook2013  consistently.
    I have updated both 2 RDS 2012R2 TS servers with the newest Windows Updates for Office 2013 and OS as well.
    I tried several times to rin repair of the Office Pro Plus 2013 installation with reboots with no positiv soultion to this preview problem.
    I searched the Internet/Google for hours without any luck anf here is some of the URS I have tried so far:
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-outlook/outlook-2013-cant-preview-word-excel-files/18c6b2da-17a0-4079-8694-d7aa0f7dfaee
    http://answers.microsoft.com/en-us/office/forum/excel/outlook-2013-excel-attachment-error-microsoft/af38d448-0fa0-4b0b-a42b-60a1c58746e5
    http://answers.microsoft.com/en-us/office/forum/outlook/please-help-this-file-cannot-be-previewed-because/ca25f299-d216-4e23-a99b-f0595552063d
    Outlook 2013 excel attachment error: microsoft excel cannot open or save any more documents because there is not enough
    available memory or disk space
    http://superuser.com/questions/762773/this-file-cant-be-previewed-because-of-an-error-in-the-microsoft-word-previewe
    http://superuser.com/questions/554327/outlook-2013-email-attachment-previewer-sometimes-stops-working
    http://community.spiceworks.com/topic/386255-office-2013-word-excel-unable-to-preview-files
    This is a major problem and I am very  thankful for
    a 100% accurate answer and solution
    to this preview headache..  :-)
    Regards
    [email protected]
    mvh Kenneth Knudsen MCSE 2003 HP ASE

    Hi,
    Thank you for posting in Windows Server Forum.
    Might possible that DCOM permission got changed and to verify that you can check following steps.
    Go to start, then run. Type dcomcnfg and push o.k. Component Services should come up.
    Expand Component Services, click on Computers, then "Right click" on My Computer and go to "properties".
    Click on Default Properties tab, and make sure the following is set:
    Default Authentication Level: Should say Connect, not "None"
    And Default Impersonation Level: SHould say Identify.
    When those are set properly, hit ok and turn on your protected mode back on your Office applications.
    In addition to this, please check whether you find any information from event log for this case. Also try to add Builtin users to grant read, write and execute persmission.
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • The Create List Item workflow action does not work in document library with document template

    My end goal is more complex but below is a basic example of the issue I’m having that just simply does not work.
    I'm trying to use a site workflow to create an item in a document library that has a document template applied to it but the file that gets created by the workflow is corrupt and cannot be opened.
    I created a document library and edited the document template by adding some text to the header and changing it to a Word docx file instead of a Word dotx file. I tested the document template by clicking the files tab in the ribbon and then clicking new
    document which opens the document template in Word and allows me to edit and save the document back to SharePoint. Then I created a SharePoint 2013 site workflow in SharePoint Designer that contains a single Create List Item action, and that action creates
    an item in the document library with the name field statically defined. I published the workflow and then manually start it on the site. The workflow completes successfully and when I navigate to the document library the document has been created by the workflow.
    When I click on the document to open it in the Word Web App it throws the error pictured below and if I open it in the Word client application it just opens a blank document and not the correct document template.
    I also tried using a SharePoint 2010 workflow with pretty much the same results. Opening the document in Word Web App gives the same error as above and opening the document in the Word client application gives the error pictured below.
    Come on Microsoft creating a Word Document in a SharePoint Document Library from a SharePoint Workflow should just work! Is this a bug or does anyone have any ideas on what is causing the this issue?

    I had the same problem with corrupted document - this worked for me:
    1. Create a 2010 Workflow which creates the list element in a document library
    (you may start this workflow from your 2013 workflow if applicable)
    2. In the Create New List Item properties - make sure to set ContentTypeId to your content type
    ("Id for indholdstype" is Danish for "Contenttype ID")
    3. Your Content Type template should be a ".docx" file - NOT a ".dotx" file...!
    (I have always created my templates for content types as .dotx files - seems Microsoft wants us to use ordinary .docx files as template files for content types)
    Hope this helps you!

  • Configuration Template Builder WL8.1 does not work

    Hello,
         After spending nearly 2 days now trying to get a Configuration Template
    built, I've concluded this simply does not work. Has anyone used the
    Config Template builder to package a semi-complex application on top of WLI?
         I'm trying to have 2 of my applications, the JMS and JDBC resources,
    and a WLI event generator packaged up for easy deployment to someone
    else's server configuration. The problem with this is that there are
    required resources for WLI, namely a database. The Pointbase database
    included for WLI does not get included in the template automatically.
    There are also some flat-out bugs:
    If you choose to include a resource adapter "application", such as
    jms-xa-adp.rar, the template builder does not bundle this in the
    template and deploy it correctly. The template builder restricts you to
    putting applications in the relative path starting at ./
    For jms-xa-adp.rar, its original location is in $WL_HOME/server/lib, and
    the template builder defaults to put it in ./lib of your template.
    However, when you create a domain with the template, jms-xa-adp.rar does
    not get placed in your ./lib directory. This causes you to then go and
    manually edit your config.xml to point back at $WL_HOME/server/lib or to
    manually copy jms-xa-adp.rar into your ./lib directory (which the
    template mechanism should do for you).
    Relative paths in the config.xml file require you to execute the config
    builder from the directory of the domain you are making a template for.
    The template builder should instead be smart enough to realize that
    relative paths in the config.xml file are relative to the directory that
    the config.xml is in, not the one you are running the template builder
    from. You'll get an error when trying to create the template cause it
    won't find the resources if you're not in that directory.
    If anyone has successfully used this to package a WLI application in a
    template, please share your experiences and how to do so. In the
    meantime, I'm claiming there is no way to nicely package up a server
    configuration for a WLI app in Weblogic, and this is a big shortcoming.
    Weblogic needs a simple transferrable way of creating server
    configurations (it tries to do this with the template, but that is
    failing). With JBoss, for example, you simply copy your server directory
    into another installation. This doesn't work with Weblogic unfortunately
    because it puts hard-coded paths in the config.xml file.
    Thanks

    Russ,
         Thank you for the detailed responses. The only one I'm currently
    struggling with still is the #5, with the scripts between the two. One
    of the major benefits of using a J2EE App Server is supposed to be the
    portability between servers. I find it disconcerting that BEA Weblogic
    restricts me to the platform I created the domain on by creating
    platform-specific startup/shutdown scripts for only the platform created
    on. It's understandable that a script converter would be difficult, but
    at least both the .sh/.cmd files should be created from the first time
    you make a domain. If the user only wants one or the other, they can
    delete the appropriate one. It's also understandable that the
    users/deployers shouldn't have to manually convert a startup/shutdown
    script to take the domain to a different box.
         JBoss clearly has BEA beat on ease of deployment here. Their model is
    the concept I'm thinking of: you have some generic startup/shutdown
    scripts that can load a platform-independent server configuration. You
    truly can copy directories as-is between JBoss installations.
         I was hoping to package up a server domain for use on any of the
    supported platforms, but since I don't have the time to manually convert
    the startup/shutdown scripts, I'm going to have to tell people it's only
    for Solaris now.
         Hopefully BEA can fix this in a future SP. There's no need for this
    platform-dependency. Also, if the Windows version can generate both
    scripts at creation time, then the Solaris should be able to do this as
    well (or at least give you the option).
    Thanks again for the replies
    russ wrote:
    Hi Steven,
    I have several comments and questions about your last two posts. I will try to
    address them in order.
    1) "The Pointbase database included for WLI does not get included in the template
    automatically."
         By default the template builder only includes the *.cmd and *.sh files in the
    template from your domain directory. If you begin building with an existing
    domain template all files that were in the template will get included. This was
    done because there is no way for the builder to automatically determine all the
    files that are required by your template/domain and we steered away from recursively
    including all files from the directory so that unused files were not needlessly
    included. We can extrapolate some files based on the application paths in the
    config.xml, but the rest is left up to the template builder to be aware of what
    is needed for their domain to run. So, if you need the Pointbase *.dbn and *.wal
    files included in your template just select these files on the ?Add Files? panel
    of the template builder and add them to the ?Domain Directory?.
    2) ?If you choose to include a resource adapter "application", such as jms-xa-adp.rar,
    the template builder does not bundle this in the template and deploy it correctly.?
         The template builder considers application files to be in two categories: Imported
    or Internal. When you are at the ?Add Applications? panel of the builder you
    will see a checklist of all the applications that are in the domain you selected.
    On the right hand side there are two text fields. The top one displays the application
    path as it is currently set in the config.xml of that domain. The bottom field
    will be different depending on what category the application falls into. As you
    click on each application in the list, you may notice that the bottom field may
    change from an editable field titled ?Imported Application Path? to a non-editable
    field titled ?Internal Application Path?. The difference between the two categories
    is that an ?Imported? application?s files will be included in the template jar.
    An ?Internal? application?s files will not be included in the template jar because
    they are considered internal to the weblogic installation. The jms-xa-adp.rar
    should fall into the internal category and should not get included in your template.
         From what you are describing it sounds like the builder attempted to import that
    application when it should not have. In an attempt to recreate the problem you
    are seeing I deployed that Connector Module through the WLS console and ended
    up with an application path of ?C:\bea\weblogic81\server\lib? where ?C:\bea\weblogic81?
    is my WL_HOME (a.k.a. USER_INSTALL_DIR). If I then attempt to build a template
    from this domain, the builder recognizes this as an internal path and does not
    include it inside my template. If the current application path you had looks
    different from the one above, that may explain why the builder was attempting
    to import it. What was the value of the ?Current Application Path? for that application
    deployment?
    3) ?Relative paths in the config.xml file require you to execute the config builder
    from the directory of the domain you are making a template for.?
         The builder is ?smart? enough to determine relative paths. You should not have
    to invoke it from the domain directory you are working with. There is a known
    bug in the WebLogic Platform 8.1.1.0 release of the template builder that will
    cause it to not find files with relative paths in your domain directory if the
    application path in the config.xml is just a ?.?. If this is the case, you should
    see a FileNotFoundException when you attempt to create the template. This will
    be fixed in SP2 and you can work around this problem by changing those paths to
    ?./? instead. If this was not the case, what was the path the wizard choked
    on?
    4) ?Looking through the config file, it seems that it's all of the WLI components
    that have absolute paths in the config file. In addition, BEA_WLS_DBMS_ADK has
    an absolute path, not sure if that is WLI or WLS. ?
         BEA_WLS_DBMS_ADK is an integration application. If you created the original
    domain using the configuration wizard most of the applications in an integration
    enabled domain will reference paths inside of you installation directory or ?internal?
    paths. For instance, I used the wizard to create a ?Basic WebLogic Integration
    Domain?. The path for that application in this domain is: ?C:\bea\weblogic81/integration/adapters/dbms/lib/BEA_WLS_DBMS_ADK.ear?
    where ?C:\bea\weblogic81? is my WL_HOME or USER_INSTALL_DIR. When I load this
    domain into the builder it shows this application as ?internal? and the ?Internal
    Application Path? is "$USER_INSTALL_DIR$/integration/adapters/dbms/lib/BEA_WLS_DBMS_ADK.ear".
    This will be set as the path value of this application in the config.xml that
    will be included in the template you build. When you later use the Configuration
    Wizard on this template it will substitute the $USER_INSTALL_DIR$ to the value
    of the installation directory of the machine you are creating it on.
         If you were to Change these to relative paths, as Mark previously suggested,
    it will only work if you copy the domain directory to the same location relative
    to your installation directory on the target machine. Also, if you copy the domain
    in this manner you will more than likely run into problems with your start/stop
    scripts and be forced to hand modify all the paths contained within. The configuration
    wizard tries to alleviate these problems and make the configuration entirely portable.
    This gives the user who creates the domain from your template the ability to
    put it anywhere they want regardless of the paths in the config.xml.
    5) ?However, there is another major problem with the Template Builder: it only
    includes the startup/shutdown script for the platform you create the template
    on. ???I built the template on Solaris with the UNIX scripts. However, I tried
    to create a new config on Windows with this template, and the scripts were not
    converted to .bat files!?
         As I stated previously, the builder will only include *.cmd and *.sh scripts
    into your template by default. If you created the domain on a unix platform using
    the configuration wizard it will not extract the *.cmd files since these aren?t
    considered to be useful on unix. If you were then to attempt building a template
    from this domain and take it onto a windows platform, it will obviously be missing
    any windows scripts. Conversely, the wizard will extract *.sh scripts on windows
    because they can still be useful if a user has an MKS or Cygwin type environment
    installed. The config wizard and template builder do not have the ability to convert
    scripts. The builder will only include existing scripts that are in your domain
    directory and automatically determine any necessary string substitutions that
    will be needed. Please note that since WebLogic is only supported on the NT/2K/XP
    versions of windows you will find that the wizards use ?.cmd? files and not ?.bat?
    files since these are more commonly associated with Win 95/98/ME.
         I will be happy to answer any more questions you may have and would also like
    to take a look at your domain configuration to try and get a better understanding
    of the problems you are encountering.
    thanx,
    russ

Maybe you are looking for