HT4168 I have created an 100 page booklet in Pages, with many photographs, can I export it to ePub, and make an electronic book, because it says that "Note: The Pages document must have been created using a word processing template"?

I have created an 100 page booklet in Pages, with many photographs, and much written word, can I export it to ePub, and make an electronic book, because it says that "Note: The Pages document must have been created using a word processing template"?....
Basically what I want to do is publish the document into both an eDocument, and a hard copy document. What is the best way to do this?

No Peter, this statement came right off the Apple ePub statement when outlining how to use ePub. the full context is:
Creating ePub files with Pages
Summary
Learn how to create ePub files with Pages.
Products Affected
Pages '09
ePub is an open ebook standard produced by the International Digital Publishing Forum. Pages ’09 lets you export your documents in ePub format for reading with iBooks on iPhone, iPad, or iPod touch.
iBooks supports both ePub and PDF file formats, and you can export both from Pages.
When to use ePub or PDF
Use ePub when text is the most important part of your document, for example when you create a book, a report, a paper, a thesis, or classroom reading material.
More details on using ePubUse PDF when layout is the most important part of your document, for example when you create a brochure, a flyer, or a manual with multiple illustrations.
More details on using PDF
Creating an ePub Document to Read in iBooks
You can export any Pages word processing document to the ePub file format for reading in an ePub reader, such as the iBooks application on the iPad, iPhone, or iPod touch. Documents created in page layout templates can’t be exported to the ePub format.
Documents exported to ePub format will look different than their Pages counterparts. If you want to get the best document fidelity between the Pages and ePub formats, style your Pages document with paragraph styles and other formatting attributes allowed in an ePub file. A sample document is provided on the Apple Support site that features styles and guidelines to help you create a Pages document that’s optimized for export to the ePub file format, which you can use as a template or a guide. To learn more about using paragraph styles in Pages, see the topics under the heading “Working with Styles” in the Pages built-in help.
To read your ePub document in iBooks on your mobile device, you must transfer the ePub file that you create onto your device.
To use the “ePub Best Practices” sample documentTo learn more about using the ePub format and get a better feel for how a Pages document might appear as a book in iBooks, it’s a good idea to download the “ePub Best Practices” sample document. After reading the guidelines and instructions within the document, you can use it as a template to create your own document. You can also import the styles from the sample document into a new document you create.
Download the “ePub Best Practices” sample document at the following web address:
http://images.apple.com/support/pages/docs/ePub_Best_Practices_EN.zip
Do either of the following:Use the sample document as a template.Import the paragraph styles from the sample document into a new or existing Pages document.
Export the document you create to ePub format to see how it looks in iBooks.
Preparing an existing Pages document for export to ePub format
Documents exported to the ePub format automatically appear with page breaks before every chapter. A table of contents is automatically generated, which allows readers to jump quickly to any chapter title, heading, or subheading in the book. In order to create a meaningful table of contents, it’s important to apply appropriate styles within your document. The ePub reader uses the paragraph styles to determine which items should appear in the table of contents for your book.
Note: The Pages document must have been created using a word processing template.

Similar Messages

  • My ibook author is not showing preview and when i click preview it is saying ibook not installed even though i have latest ibook installed on my ipad mini and i am on ios 8

    my ibook author is not showing preview and when i click preview it is saying ibook not installed even though i have latest ibook installed on my ipad mini and i am on ios 8 can any one please suggest something

    What happens when you click the "Download" button for Mountain Lion? Do you get any response (error messages, etc.) from the Mac App Store?
    Clinton

  • Running Captivate 8 on a Macbook and I am unable to import Powerpoint 2011 (which is up to date) files or slides.  I get an error saying that either the file is damaged or I am using an older version of PP....which is not the case.

    Running Captivate 8 on a Macbook and I am unable to import Powerpoint 2011 (which is up to date) files or slides.  I get an error saying that either the file is damaged or I am using an older version of PP....which is not the case.  I tried creating a very simple PP file with just a few words on one slide...ran a compatibility check and all was good.  Still could not import that simple slide into Captivate.

    OK...found out it did not like me saving as a *.pptx.  When I save it as a *.ppt file it imported in correctly.  Is this what I will need to do moving forward?  I am not sure if I am losing any functionality in the process...

  • With many open tabs (80+) Firefox regularly (every 10sec) hangs for a few seconds because of session storing where the CPU is at 100%. Btw that is the reason why videos in Firefox are hanging every 10sec, too. Why is this operation so demanding?

    When I'm using Firefox for a long time and I'm working with several open windows and many open tabs (80+), Firefox hangs/freezes every 10sec for 1-3sec. This is very annoying. The reason for this seems to be the session store operation, which gets executed every 10sec. In my experience (or rather on my computer) this isn't noticeable when I'm just working with around 40 open tabs.
    This also seems to be the reason for hanging videos in firefox (although youtube is quite robust; others are not) because they stop every 10sec, too. For this time (the 1-3sec) the taskmanager tells me that firefox is using all the available cpu power. I'm really wondering why the session store operation has such an influence on Firefox' behaviour.
    My computer is a Core 2 Duo E6600 with 3GB RAM and a decent hdd.

    Just some additional info:
    I just had the problem again, and it even occurred when I did not have any tab open! I did not even use Firefox, but just wanted to start to use it, but it did not respond. There was _nothing_ open, and when I checked the TaskManager, the memory consumption was up to 300 MB, and the CPU was again at 100%. After the CPU was down to 0% again, the memory slowly decreased as well. First, to ~260, then to ~200, now to ~170 MB. Maybe it will decrease even further...

  • Is there an extension that forces the page to reload if the browser window has been resized?

    Is there an extension that forces the page to reload if the
    browser window
    has been resized?

    check this out
    http://www.irt.org/script/1625.htm
    This may help you out.
    The script is at the bottom of the page.
    Zarir
    "Rachael Caldwell" <[email protected]> wrote in message
    news:e4b12e$ihi$[email protected]..
    > Is there an extension that forces the page to reload if
    the browser window
    > has been resized?
    >
    >

  • XML document must have a top level element. Error processing resource

    Hi,
    I am trying to send a XML file to a web browser from a servlet. I read the contents of the XML file into a string and I am sending it to the brower. Before I do this I set the 'Content-type' header of the httpResponse to "application/xml" . Embedded in the XML file is an xml-stylesheet elemetn indicating which *.xsl stylesheet to use to parse the XML content.
    I get the following error:
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    XML document must have a top level element. Error processing resource 'http://127.0.0.1:8080/testReplyingXML/xml-to-html.xs...
    Now, if I take the stylesheet element out of the XML string I sent, then the browser stores the content into and *.xml file. I manually run the "xml-to-xsl " stylesheet mentioned in the error output above, and there is no problem, the xml content gets successfully transformed in a viewable HTML .
    It is only when I embed the "stylesheet" element into the XML content that I get this error.
    So the browser is receiveing valid XML.
    I am not sure if the above error is complaining about the XML content I send or the stylesshet .
    Does anyone have an idea of what am I doing wrong?
    For your information here are my servlet code and the XML file:
    servlet:-
    package webapps.testReplyingXML;
    import java.io.BufferedReader;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import java.io.FileReader;
    import java.util.Enumeration;
    import java.util.StringTokenizer;
    import java.io.PrintWriter;
    public class ReplyXML extends HttpServlet {
              static int transactionCount = 0;
              public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException ,IOException {
                   String Q_PARAM = "query";
                   String requestString = req.getQueryString();
                   for ( Enumeration en = req.getParameterNames() ; en.hasMoreElements() ; )
         String k = (String)en.nextElement() ;
         String[] x = req.getParameterValues(k) ;
         String s = null;
         String DATA_PARAM= "";
         for(int i = 0 ; i < x.length ; i++ )
         s = x[i] ;
         //System.out.println("s = " + s);
         if (k.equals("query")){
              try {
                             //res.setHeader("Content-Type", "application/xml");
                             //res.setHeader("Transfer-Encoding", "chunked");
                             //res.setHeader("Cache-Control", "no-cache");
                             //res.setHeader("Server", "Jetty/5.1.10");
                             //res.setHeader("Pragma", "no-cache");
                             //res.setHeader("X-Joseki-Server", "Joseki-3.0-dev");
                             res.setStatus(res.SC_OK);
                             StringBuffer fileData = new StringBuffer(1000);
                        BufferedReader reader = new BufferedReader(new FileReader("sparql_results.xml"));
                        char[] buf = new char[1024];
                        int numRead=0;
                        while((numRead=reader.read(buf)) != -1){
                        String readData = String.valueOf(buf, 0, numRead);
                        fileData.append(readData);
                        buf = new char[1024];
                        reader.close();
                        String xmlMsg= fileData.toString();
                        System.out.println("XMLMSG= " + xmlMsg);
                             PrintWriter outresp = res.getWriter();
                             outresp.println(xmlMsg);
                             outresp.close();
              }catch (Exception e) {
                   e.printStackTrace();
              public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
                   doGet(req, res);
    XML FILE:
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="xml-to-html.xsl"?>
    <sparql
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:xs="http://www.w3.org/2001/XMLSchema#"
    xmlns="http://www.w3.org/2005/sparql-results#" >
    <head>
    <variable name="book"/>
    <variable name="title"/>
    </head>
    <results ordered="false" distinct="false">
    <result>
    <binding name="book">
    <uri>http://example.org/book/book6</uri>
    </binding>
    <binding name="title">
    <literal>Harry Potter and the Half-Blood Prince</literal>
    </binding>
    </result>
    <result>
    <binding name="book">
    <uri>http://example.org/book/book5</uri>
    </binding>
    <binding name="title">
    <literal>Harry Potter and the Order of the Phoenix</literal>
    </binding>
    </result>
    <result>
    <binding name="book">
    <uri>http://example.org/book/book4</uri>
    </binding>
    <binding name="title">
    <literal>Harry Potter and the Goblet of Fire</literal>
    </binding>
    </result>
    <result>
    <binding name="book">
    <uri>http://example.org/book/book3</uri>
    </binding>
    <binding name="title">
    <literal>Harry Potter and the Prisoner Of Azkaban</literal>
    </binding>
    </result>
    <result>
    <binding name="book">
    <uri>http://example.org/book/book2</uri>
    </binding>
    <binding name="title">
    <literal>Harry Potter and the Chamber of Secrets</literal>
    </binding>
    </result>
    <result>
    <binding name="book">
    <uri>http://example.org/book/book1</uri>
    </binding>
    <binding name="title">
    <literal>Harry Potter and the Philosopher's Stone</literal>
    </binding>
    </result>
    </results>
    </sparql>

    Error processing resource http://127.0.0.1:8080/testReplyingXML/xml-to-html.xs...
    Well, if one more character had been deleted from that message then you would have a problem. But as it is, the error message says there's an error processing a resouce whose name ends with "xml-to-html.xs" followed by something. That would be the stylesheet if I'm not mistaken. Most likely the browser can't find it at the URL mentioned in the error message.

  • Error using SOAPRunner:  XML document must have top level element

    Hi all,...................xMII 11.5.3 b66
    I am attempting to consume a BLS transaction as a web service from a J2EE app. 
    When I test it with http://naholldo31020/Lighthammer/SOAPRunner/Amy/GetListOfPlants I am getting an error message from the browser.  The BLS transaction works fine when called from a Query template.  What am I missing?
    The XML page cannot be displayed
    Cannot view XML input using style sheet.
    Please correct the error and then click the Refresh button, or try again later.
    XML document must have a top level element. Error processing
    resource 'http://naholldo31020/Lighthammer/SOAPRunner/Amy/GetL...
    WSDL from WSDLGen...
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns:s0="http://www.sap.com/xMII"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.sap.com/xMII">
    - <!--  Types
      -->
    - <types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://www.sap.com/xMII">
    - <s:complexType name="InputParams">
    - <s:sequence id="InputSequence">
      <s:element maxOccurs="1" minOccurs="0" name="RequestXML" type="s:Xml" />
      <s:element maxOccurs="1" minOccurs="0" name="RowCount" type="s:long" />
      <s:element maxOccurs="1" minOccurs="0" name="RowSkips" type="s:long" />
      <s:element maxOccurs="1" minOccurs="0" name="Table" type="s:string" />
      </s:sequence>
      </s:complexType>
    - <s:element name="XacuteRequest">
    - <s:complexType>
    - <s:sequence>
      <s:element maxOccurs="1" minOccurs="0" name="LoginName" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="LoginPassword" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:InputParams" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="Rowset">
    - <s:sequence>
      <s:element maxOccurs="unbounded" minOccurs="0" name="Row" type="s0:Row" />
      </s:sequence>
      <s:attribute name="Message" type="s:string" />
      </s:complexType>
    - <s:complexType name="Row">
    - <s:sequence id="RowSequence">
      <s:element maxOccurs="1" minOccurs="1" name="ErrorMessage" type="s:string" />
      <s:element maxOccurs="1" minOccurs="1" name="OutputXML" type="s:string" />
      </s:sequence>
      </s:complexType>
    - <s:element name="XacuteResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element maxOccurs="1" minOccurs="0" name="Rowset" type="s0:Rowset" />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:schema>
      </types>
    - <!--  Messages
      -->
    - <message name="XacuteSoapIn">
      <part element="s0:XacuteRequest" name="parameters" />
      </message>
    - <message name="XacuteSoapOut">
      <part element="s0:XacuteResponse" name="parameters" />
      </message>
    - <!--  Ports
      -->
    - <portType name="XacuteWSSoap">
    - <operation name="Xacute">
      <input message="s0:XacuteSoapIn" />
      <output message="s0:XacuteSoapOut" />
      </operation>
      </portType>
    - <!--  Bindings
      -->
    - <binding name="XacuteWSSoap" type="s0:XacuteWSSoap">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="Xacute">
      <soap:operation soapAction="http://www.sap.com/xMII" style="document" />
    - <input>
      <soap:body use="literal" />
      </input>
    - <output>
      <soap:body use="literal" />
      </output>
      </operation>
      </binding>
    - <!--  Service mapping
      -->
    - <service name="XacuteWS">
    - <port binding="s0:XacuteWSSoap" name="XacuteWSSoap">
      <soap:address location="http://naholldo31020/Lighthammer/SOAPRunner/Amy/GetListOfPlants" />
      </port>
      </service>
      </definitions>

    Hi Amy,
    here is an example how you can call a WS via http GET:
    http://<server>/Lighthammer/Runner?Transaction=<path_to_your_TRX>&XacuteLoginName=YourAccount&XacuteLoginPassword=yoursecret&outputparameter=*
    Please note you do not need to use credentials in case you calling localhost.
    I think in your case this should be the right url:
    http://naholldo31020/Lighthammer/Runner?Transaction=Amy/GetListOfPlants&XacuteLoginName=YourAccount&XacuteLoginPassword=yoursecret&outputparameter=*
    Please change parameters for
    - XacuteLoginName
    - XacuteLoginPassword
    - outputparameter (you can specify * or one of your transaction output parameter)

  • Can someone verify the following regarding Find My Phone:  I assume the lost device (iPhone) and the device (ipad) one is using to find the lost item must have the identical Apple ID, Apple PW, and iCloud PW and username? Otherwise it won't work?

    Can someone verify the following regarding Find My Phone:
      I assume the lost device (iPhone) and the device (ipad) one uses to find the lost item must have identical Apple IDs , PWs as well as identical iCloud identification?

    Back now.  Are you saying that you entered you iCloud ID and password in the Find My iPhone app (see photo below), and it said you don't have an iCloud account?  Are you sure this is the ID for your iCloud account (check Settings>iCloud next to Account at the top on the device you are trying to track)?
    Also, did you try using this ID and password on icloud.com on your computer to try to track it, as explained here: http://help.apple.com/icloud/#mmfc0f2442?  Did that work?

  • The content item must have a primary file.

    I am trying to check in a new file use the service "CHECKIN_NEW" in UCM 11.1.1.6.
    I checkin the *"CHECIN_NEW_TEST.hcst"* into the content server. And run it by submit the page to test the service.
    The error cause like this: Content item '001026' was not successfully checked in. The content item must have a primary file.
    And the log is :
    !csUserEventMessage,wladmin,192.168.6.250:16200!$!csUnableToCheckIn,001024!csCheckinPrimaryFileRequired
    intradoc.common.ServiceException: !csUnableToCheckIn,001024!csCheckinPrimaryFileRequired
    *ScriptStack CHECKIN_NEW_SUB
    3:doScriptableAction,**no captured values**3:doSubService,**no captured values**CHECKIN_NEW_SUB,**no captured values**3:validateStandard,dDocName=001024
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
    at intradoc.server.Service.buildServiceException(Service.java:2326)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2320)
    at intradoc.server.Service.createServiceException(Service.java:2315)
    at intradoc.server.DocServiceHandler.validateStandard(DocServiceHandler.java:1339)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:603)
    at intradoc.server.Service.doCode(Service.java:575)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:547)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:542)
    at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1322)
    at intradoc.server.Service.executeSubServiceCode(Service.java:4023)
    at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1200)
    at intradoc.server.Service.executeServiceEx(Service.java:4018)
    at intradoc.server.Service.executeService(Service.java:4002)
    at intradoc.server.Service.doSubService(Service.java:3912)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    at intradoc.server.Service.doCodeEx(Service.java:620)
    at intradoc.server.Service.doCode(Service.java:575)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:547)
    at intradoc.server.Service.doScriptableAction(Service.java:3964)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    at intradoc.server.Service.doCodeEx(Service.java:620)
    at intradoc.server.Service.doCode(Service.java:575)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:547)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:542)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
    at intradoc.server.Service.executeActions(Service.java:528)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
    at intradoc.server.Service.doRequest(Service.java:1956)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:437)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1354)
    at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1731)
    at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:222)
    at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
    at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1704)
    at idcservlet.IdcFilter.doFilter(IdcFilter.java:457)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    The CHECIN_NEW_TEST.hcst  as follows:
    <html>
    <head>
    <$include std_html_head_declarations$>
    </head>
    <$include body_def$>
    <$include std_page_begin$>
    <form name="cuxCheckinNewPG" method="get" action="<$HttpCgiPath$>">
    <input type="hidden" name="IdcService" value="CHECKIN_NEW" >
    <input type="hidden" name="dDocAuthor" value=<$UserName$>
    <$include idc_token_form_field$>
    <table width="53%" height="100" border="1">
    <tr>
    <td width="306" height="26">dSecurityGroup</td>
    <td width="325">
    <input type="text" name="dSecurityGroup" value="Public" /> </td>
    </tr>
    <tr>
    <td width="306" height="26">dDocTitle</td>
    <td width="325">
    <input type="text" name="dDocTitle" /> </td>
    </tr>
    <tr>
    <td>primaryFile</td>
    <td colspan="3"><INPUT NAME="primaryFile" TYPE="file"> </td>
    </tr>
    <tr>
    <td colspan="2" align="middle">
    <input type="submit" value="SubmitBtn" name="checkinSubmit"></td>
    </tr>
    </table>
    </form>
    <$include std_page_end$>
    </body>
    </html>
    Thanks
    Mandy
    Edited by: user8898100 on Jul 2, 2012 6:16 PM
    Edited by: user8898100 on Jul 2, 2012 6:17 PM

    It's really more of an HTML issue with the form itself than a Content Server issue.
    <form name="cuxCheckinNewPG" method="get" action="<$HttpCgiPath$>">You can't submit files using a GET method. This attribute must be "POST".
    <form name="cuxCheckinNewPG" method="POST" enctype="multipart/form-data" action="<$HttpCgiPath$>">

  • Ms sql - {"The referenced table must have a primary or candidate key. [ FK Name = ForeignKeyB_Details ]"}

    I have a txt file which has all the sqltext in it separated by semi colon .Then I try to run a query one by one like this-
                var conn = new SqlCeConnection(ConnectionString);
                conn.Open();
                var cmdArray = Regex.Split(sqlText, ";");
                var cmd = new SqlCeCommand(null, conn);
                foreach (var text in cmdArray)
                    cmd.CommandText = text;
                    if (!text.Equals(string.Empty))
                        cmd.ExecuteNonQuery();
                    else
                        break;
                conn.Close();
    I get the error {"The referenced table must have a primary or candidate key. [ FK Name = ForeignKeyB_Details  ]"}
    here is part of my txt file-
    CREATE TABLE A
           PrimaryId nvarchar(10) NOT NULL REFERENCES C(PrimaryId),
           UserId nvarchar(20) NOT NULL,
           FirstName nvarchar(30) NOT NULL,
           MiddleInitial nvarchar(1) NULL,
           LastName nvarchar(30) NOT NULL,
           MobileNumber nvarchar(20) NULL,
           PhoneNumber nvarchar(10) NOT NULL,
           PhoneExtension nvarchar(6) NULL,
           FaxNumber nvarchar(20) NULL,
           EmailAddress nvarchar(50) NOT NULL,
      CONSTRAINT PrimaryKeyA PRIMARY KEY(PrimaryId, UserId)
    CREATE TABLE B(
       MarketId int NOT NULL references E(MarketId),
       UserId nvarchar(20) NOT NULL,
       UserFirstName nvarchar(30) NOT NULL,
       UserMiddleInitial nvarchar(1) NOT NULL,
       UserLastName nvarchar(30) NOT NULL,
       PhoneNbr nvarchar(10) NOT NULL,
       Extension nvarchar(6) NOT NULL,
       FaxNbr nvarchar(20) NOT NULL,
       Email nvarchar(50) NOT NULL,
       ShortName nvarchar(10) NOT NULL,
    PublicIdFlag nvarchar(6) NOT NULL references D(publicId),
            CONSTRAINT PrimaryKeyB PRIMARY KEY( MarketId, UserId)
    ALTER TABLE B ADD CONSTRAINT ForeignKeyB_Details FOREIGN KEY(UserId, UserFirstName, UserMiddleInitial, UserLastName, PhoneNbr, Extension, FaxNbr, Email) REFERENCES A(UserId, FirstName, MiddleInitial, LastName, PhoneNumber, PhoneExtension, FaxNumber, EmailAddress);

    Hi,
    Foreign key columns are frequently used in join criteria when the data from related tables is combined in queries by matching the column or columns in the FOREIGN KEY constraint of one table with the primary or unique key column or columns in the other table.
    For more information about the foreign key constraint, please refer to this link:
    http://msdn.microsoft.com/en-us/library/ms175464.aspx
    Here is a similar thread for your reference:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/5a71948b-dfb1-46a5-8688-ccab9317e959/error-message-the-referenced-table-must-have-a-primary-or-candidate-key-fk-name-fktblatblb-?forum=sqlce
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Weblogic domain creation fails with "The domain location must have write permission."

    Hi
    I am trying to install and setup weblogic in Linux RHEL 5.4
    so I can test webservices . This is what i have done
    WLS Zip Distribution for Oracle WebLogic Server 12.1.1.0 - downloaded & installed.
    Followed the steps in README.
    - extract contents of tar, setup home, run installation-configuration script, setup wls environment
    Step 5:
    Create a new WLS domain and start WLS.  It is recommended that you create domains outside the MW_HOME.
         $ mkdir /home/myhome/mydomain
        $ cd /home/myhome/mydomain
        $ $JAVA_HOME/bin/java $JAVA_OPTIONS -Xmx1024m -XX:MaxPermSize=128m weblogic.Server
    -> returns the below error
    $JAVA_HOME/bin/java $JAVA_OPTIONS -Xmx1024m -XX:MaxPermSize=128m weblogic.Server  -Dweblogic.security.allowCryptoJDefaultJCEVerification=true
    <Jun 25, 2013 3:39:57 PM EDT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Jun 25, 2013 3:39:57 PM EDT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Jun 25, 2013 3:39:58 PM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 23.21-b01 from Oracle Corporation.>
    /apps/Informatica/tdwdomain/config not found
    No config.xml was found.
    Would you like the server to create a default configuration and boot? (y/n): y
    <Jun 25, 2013 3:40:03 PM EDT> <Info> <Management> <BEA-140013> </apps/Informatica/tdwdomain/config not found>
    <Jun 25, 2013 3:40:03 PM EDT> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
    Enter username to boot WebLogic server:admin  Enter password to boot WebLogic server:admin123
    For confirmation, please re-enter password required to boot WebLogic server:admin123
    <Jun 25, 2013 3:40:13 PM EDT> <Info> <Management> <BEA-141254> <Generating new domain directory in /apps/Informatica/tdwdomain.>
    <Jun 25, 2013 3:40:17 PM EDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.management.ManagementException: Failure during domain creation
            at weblogic.management.internal.DomainGenerator.generateDefaultDomain(DomainGenerator.java:119)
            at weblogic.management.internal.DomainDirectoryService.start(DomainDirectoryService.java:82)
            at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
            at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
            at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:883)
            at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:570)
            at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
            at weblogic.Server.main(Server.java:74)
    Caused by: com.oracle.cie.domain.script.ScriptException: The domain location must have write permission.
            at com.oracle.cie.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:757)
            at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.processWrite(ScriptParserClassic.java:573)
            at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.execute(ScriptParserClassic.java:429)
            at com.oracle.cie.domain.script.ScriptParserClassic.parseAndRun(ScriptParserClassic.java:148)
            at com.oracle.cie.domain.script.ScriptParserClassic.doExecute(ScriptParserClassic.java:110)
            at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:72)
            at com.oracle.cie.domain.DomainInfoHelper.executeSilentScript(DomainInfoHelper.java:854)
            at com.oracle.cie.domain.DomainInfoHelper.createDefaultDomain(DomainInfoHelper.java:1775)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at weblogic.management.internal.CIEDomainGenerator.generateDefaultDomain(CIEDomainGenerator.java:62)
            at weblogic.management.internal.DomainGenerator.generateDefaultDomain(DomainGenerator.java:114)
         <Jun 25, 2013 3:40:17 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
    <Jun 25, 2013 3:40:17 PM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>
    <Jun 25, 2013 3:40:17 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
    - Any help appreciated.
    Thanks

    hi,
    the binaries available for download are all packaged with 32bit JVM. Please have a look at the link below
    WebLogic Server 12c (12.1.1), WebLogic Server 11g (10.3.6) and Previous Releases
    It also has binaries for linux available. I am quoting from the site verbatim for your reference:
    The following provides links to WebLogic Server 12.1.1 installers with 32-bit JVMs for Windows and
    Linux, the generic installer that can be used on any supported platform, and the zip distribution. The
    generic installer and the zip distribution do not include a JVM/JDK. For instructions on using the
    generic installer, see this document.
    In case you want to use your own latest version of JDK which can be a 32/64 bit version, you need to use the generic installer.
    The error which you are getting is due to permissions. Make sure you have a dedicated user for installing weblogic and the necessary permissions are granted to the user(linux) to the installation directories. May be the script is trying to install java at a particular location on your machine and failing. Hence the above error is displayed.
    Please have a look at the docs, you will find steps for weblogic installation on linux.
    Thanks,
    Souvik.

  • DomainCreation fail:"The application location must have write permission."

    Hi,
    I'm facing an issue while creating a domain using pack.sh/unpack.sh and WLST, Please help me in resolving it.
    ERROR:
    Error CFGFWK-60550: Script execution aborted. The script may contain an error.
    The application location must have write permission.
    Template name - "new_dom_tmplt.jar"
    Name of the dom to be created is "newdom"
    Below are details of error:
    [Red@Home Oracle/Middleware/wlserver_10.3/common/bin]$ ./unpack.sh -template=/appdata/wkst/cws15/cws2_dom_tmplt.jar -domain=/Red/sunil/domains/newdom
    |<< read template from "/Red/sunil/templates/new_dom_tmplt.jar"
    |>> succeed: read template from "/Red/sunil/templates/new_dom_tmplt.jar"
    |<< write Domain to "/Red/sunil/domains/newdom"
    |>> fail: write Domain to "/Red/sunil/domains/newdom"
    CFGFWK-60550: Script execution aborted. The script may contain an error.
    The application location must have write permission.
    Thanks,
    Sunil
    Edited by: 907822 on Mar 22, 2012 2:14 AM
    Edited by: 907822 on Mar 22, 2012 2:16 AM

    Self answer,
    for those who have faced this issue the solution is to use the "app_dir" parameter in the unpack.sh, make sure that the directory you are specifying is having all the read write permissions to the user.
    Regard's,
    Sunil

  • Have an airplay enabled AV Receiver - how do i set up Airplay    I have a Yamaha RX-V673 which is Airplay enabled, but i can't get Airplay to work either on my Mac book or my iphone. The receiver is connected to my network and i can control it using the

    have an airplay enabled AV Receiver - how do i set up Airplay
    I have a Yamaha RX-V673 which is Airplay enabled, but i can't get Airplay to work either on my Mac book or my iphone. The receiver is connected to my network and i can control it using the iphone App and via the web browser option.
    Do I need Apple TV or to change some settings somewhere?
    Any help would be greatly appreciated

    You are making some progress with setup of wireless network. Apparently there is reliability problem with the wireless connection. Perhaps you want to refer to following Apple support documents and start tweaking parameters in the router to improve the reliability. I used to have third-party routers such as Belkin and Netgear but switched to Apple Airport routers (Time Capsule then Airport Extreme for now) because of incompatibility issues whenever Apple upgrade Mac OS X. But since Apple develops Airplay protocol as alternative to Bluetooth for wireless audio/video streaming (with much better bandwidth) and must be deployed in any wireless network, there is no reason third-party routers not working for Airplay protocol.
    About AirPlay Mirroring in OS X Mountain Lion:
    http://support.apple.com/kb/HT5404
    iOS: Recommended settings for Wi-Fi routers and access points:
    http://support.apple.com/kb/HT4199
    Troubleshooting AirPlay and AirPlay Mirroring:
    http://support.apple.com/kb/TS4215
    Good luck in setting up 802.11 wirelesss network.

  • XML document must have a top level element. Error

    Hi, I am trying to generate an XML. Below is a sample code from my function. The function generates a 0 byte file which when I try to open gives me 'xml document must have a top level element' error. Any ideas?
    FUNCTION generateXml(    p_1      VARCHAR2,
                             p_2      VARCHAR2,
                             p_3      VARCHAR2
                             ) RETURN CLOB
    IS
        ctx dbms_xmlgen.ctxHandle;
        xml CLOB;
        v_sql varchar2(2000);
    BEGIN
    lv_sql:=' select * from v_dc where rownum =1';
    ctx := dbms_xmlgen.newContext(v_sql);
    dbms_xmlgen.setRowSetTag(ctx, 'CONTENT');
    xml := dbms_xmlgen.getXML(ctx);
    return xml;
    END;
    END generateXml;

    I just need to understand if we can generate XML from a sql that has sub-queries in it.Should be no problem:
    SQL> create or replace function generatexml (p_1 varchar2, p_2 varchar2, p_3 varchar2)
      return clob
    is
      ctx     dbms_xmlgen.ctxhandle;
      xml     clob;
      v_sql   varchar2 (2000);
    begin
      v_sql := ' select * from dept left outer join (select * from emp) emp on (emp.deptno = dept.deptno) where rownum = 1';
      ctx := dbms_xmlgen.newcontext (v_sql);
      dbms_xmlgen.setrowsettag (ctx, 'CONTENT');
      xml := dbms_xmlgen.getxml (ctx);
      dbms_xmlgen.closecontext (ctx);
      return xml;
    end generatexml;
    Function created.
    SQL> select generatexml (null, null, null) xml from dual
    XML                                                                            
    <?xml version="1.0"?>                                                          
    <CONTENT>                                                                      
    <ROW>                                                                         
      <DEPTNO>10</DEPTNO>                                                          
      <DNAME>ACCOUNTING</DNAME>                                                    
      <LOC>NEW YORK</LOC>                                                          
      <EMPNO>7782</EMPNO>                                                          
      <ENAME>CLARK</ENAME>                                                         
      <JOB>MANAGER</JOB>                                                           
      <MGR>7839</MGR>                                                              
      <HIREDATE>09.06.81</HIREDATE>                                                
      <SAL>2450</SAL>                                                              
      <DEPTNO>10</DEPTNO>                                                          
    </ROW>                                                                        
    </CONTENT>                                                                     
    1 row selected.Maybe your query simply doesn't return any rows?

  • XML document must have a top level element

    Hi all,
    I have deployed my web services in 904. When I try to see the generated wsdl, I am seeing:
    XML document must have a top level element.
    in IE. Does anyone know why?
    Thanks.

    If you take a look under the location where the application was deployed, you should find a file with the name of your interface (or class) and the extension .wsdl.
    If there is already a file of that name, we do not try to re-generate it. If this file is not a valid XML file, then it will explain the error message you are seing.
    Another reason for this error is when the code generation fail silently. It can occurs in some rare case, when you have started oc4j using a JRE instead of JDK (without javac).
    Hope this helps,
    Eric

Maybe you are looking for

  • How to find physical corruption

    Hi, I sed backup validate command to find physical corruption into my database as follows. backup validate check logical database; After his command, I queried v$database_block_corruption. 12:04:47 SQL> select * from v$database_block_corruption;     

  • Why does quicktime 7 save movies to grapher movies?

    Installed the latest quicktime  7.6.6. Have the pro key. When I save a movie as a self-contained movie, it saves it as a grapher movie. When I open this movie, it opens in grapher and I can only play it, not crop it for instance. And if I open it in

  • How can I tell iTunes not to import files that I want to sample listen too?

    Let's say that I want to listen to a sample of something online. I download the file. When I click on the file iTunes opens, the file imports into my library and then it plays. How can I open the file without it importing into iTunes? I know that you

  • What is this problem with Check rder?

    Something went wrong with your request. Please try again later.

  • Problems inporting XML in Ppro

    My co-worker has the 2014 CC version of Ppro and I still have the previous CC version. I haven't upgraded yet, based on the many bugs being reported. Since I can't open her project file in my older version of Ppro I asked her to send me an XML. No di