Jar Exception :  invalid header field

Hi,
I was executing the statement like this
please help me:
C:\appletVideo>jar cvfm classes.jar *.class *.mf
java.io.IOException: invalid header field
at java.util.jar.Attributes.read(Attributes.java:354)
at java.util.jar.Manifest.read(Manifest.java:165)
at java.util.jar.Manifest.<init>(Manifest.java:55)
at sun.tools.jar.Main.run(Main.java:127)
at sun.tools.jar.Main.main(Main.java:907)
by
Kiran

you must have a character ':' followed by a space (' ') otherwise you will get this exception.
walker

Similar Messages

  • Invalid header field -- invalid header field

    I have different stream in clearcase when i trying to do for remote eclipse client i am getting an following error.
    [#|2006-08-30T10:17:36.028-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=11;|Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: java.io.IOException: invalid header field -- invalid header field.
    Note:The same configuration if i do for different stream with local host it is working fine.
    Please do let me know where the problem exactly and how do resolve this problem.
    IDE:Eclipse - 3.1 (Remote Eclipse)
    CVS:Clearcase
    Clearquest.
    server:Sun Server
    Language:Java
    I am running my each process through RMI.

    After searching for another hour in the forums (4 hours if I count looking earlier this week) I found the following thread:
    http://forum.java.sun.com/thread.jsp?forum=22&thread=31042
    In it it said that the parameters need to follow the same order as the options. So the following two should be valid:
    jar cfm jar-file manifest files
    jar mcf manifedt jar-file filesBut the following are not valid
    jar cfm manifest jar-file files
    jar mcf jar-file manifest filesI really hope this saves many people the headache that I have been having!
    Peter

  • Invalid header field

    When I try and manually add a manifest file to jar, a IOException is thrown with the message "invalid header filed". I have copied some manifests form some posts, I get that error, I extracted the default manifest from a jar, and tried to add it, I still get the error.
    The default manifest looks like:
    Manifest-Version: 1.0
    Created-By: 1.3.0 (Sun Microsystems Inc.)As far as I know that is is perfectly valid manifest file. I've tried adding the line Main-Class: ChemoBilling/Billing with and 'enter' afterwards and then adding it to the jar using winzip, and I still can't the jar to execute, it always says failed to load main-class attribute. I've tried creating the jar using the following command line:
    jar cfm manifest.mf Billing.jar ChemoBilling comWhere ChemoBilling and com are two folders containing packages that I want in the jar file. Am I doing something wrong, or do I just have a messed up jar.exe.
    I get the same error when using the 1.3 jdk as well as the 1.4b.

    After searching for another hour in the forums (4 hours if I count looking earlier this week) I found the following thread:
    http://forum.java.sun.com/thread.jsp?forum=22&thread=31042
    In it it said that the parameters need to follow the same order as the options. So the following two should be valid:
    jar cfm jar-file manifest files
    jar mcf manifedt jar-file filesBut the following are not valid
    jar cfm manifest jar-file files
    jar mcf jar-file manifest filesI really hope this saves many people the headache that I have been having!
    Peter

  • JAR creation failed. See details for additional information.-invalid header

    Hi
    I am working with 2 databases , 1 is oracle and the other is sybase in my java application.
    The java application gets data from both the databases and creates 3 output files and 1 audit log file .
    Now i tried creating the jar file
    my manifest file looks like this :
    Manifest-Version: 1.0
    Sealed: true
    Main-Class: tableA
    Class-Path:jtds-1.2.jar;classes12.jar ----------------------------> is this correct .
    Now when i try to create the jar file it gives me an err
    JAR creation failed. See details for additional information.-
    invalid header field
    invalid header field
    ANyone pls help me ... I am creating the jar file like rhis
    export -> selecting JAR file -> selecting 1 and 3 rd checkboxes ->location of the jar file -> next->selecting 2 checkboxes in JAR PACKAGING OPTIONS -> ( my question is how to create the manifest file with class-path , their is no option ) so i am creating the manifest file and creating the jar file and then adding the class-path to the manifest file and removing the jar file and recreating the jar file now selecting the manifest file .
    is this giving the above error --> if so how to create the manifest file before creating the jar file with class-path and main class

    Double post: [http://forums.sun.com/thread.jspa?threadID=5358017&messageID=10559776#10559776]

  • Tomcat5.5/Java1_5_05: Invaild Header field when starting webapp...

    Hi all,
    We just moved some java JSP's/code to a new Apache2(2.0.55)/Tomcat5.5.12 running Java 1_05_05 server.
    Java -version:
    java version "1.5.0_05"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
    Java HotSpot(TM) Server VM (build 1.5.0_05-b05, mixed mode)
    I get a similar error that deals with invalid headers.
    This code(.jar/jsp's) have been running on a tomcat 4 server with Java 1_4:
    /usr/java/j2sdk1.4.1_02/bin/java
    Any idea why I might be getting this error, is it related to this previous post?
    INFO: HTMLManager: start: Starting web application at '/wsiathena'
    Nov 29, 2005 1:23:10 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error in dependencyCheck
    java.io.IOException: invalid header field
    at java.util.jar.Attributes.read(Attributes.java:389)
    at java.util.jar.Manifest.read(Manifest.java:167)
    at java.util.jar.Manifest.<init>(Manifest.java:52)
    at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:152)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3998)
    at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1175)
    at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:527)
    at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:104)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:514)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    Nov 29, 2005 1:23:10 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error getConfigured
    Nov 29, 2005 1:23:10 PM org.apache.catalina.core.StandardContext start
    SEVERE: Context [wsiathena] startup failed due to previous errors
    Nov 29, 2005 1:23:10 PM org.apache.catalina.core.StandardContext stop
    INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[wsiathena] has not been started
    Nov 29, 2005 1:23:10 PM org.apache.catalina.core.ApplicationContext log
    INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
    Thanks for any input!
    Scott

    GJ Erick on finding one working solution.

  • PDF Exception: Invalid object for the XFA entry in the forms dictionary

    Hi,
    We have an online adobe interactive form, via webdynpro, which saves OK, but occassionaly when a form is loaded again the form appears blank and the below error is returned by the ADS.  I've searched but cannot find any definitive answer to this issue:
    Processing exception during a "GetData" operation.#Request start time:Tue Jan 11 14:08:47 GMT 2011#com.adobe.ProcessingException: Error exporting Data into PDF - PDF Exception: Invalid object for the XFA entry in the forms dictionary.#[Ljava.lang.StackTraceElement;@51bb49da##Exception Stack Trace:#com.adobe.ProcessingException: Error exporting Data into PDF - PDF Exception: Invalid object for the XFA entry in the forms dictionary.#[Ljava.lang.StackTraceElement;@51bb49da###at com.adobe.ads.remote.EJB_PDFAgent.exportFormData(Unknown Source)###at com.adobe.ads.operation.GetData.execute(Unknown Source)###at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)###atcom.adobe.ads.request.Request.processOperations(Unknown Source)###at com.adobe.ads.request.Request.process(Unknown Source)###at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)###at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)###at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)###at sun.reflect.GeneratedMethodAccessor1814.invoke(Unknown Source)###at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)###at java.lang.reflect.Method.invoke(Method.java:324)###at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)###at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)###at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)###at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)###atSoapServlet.doPost(SoapServlet.java:51)##at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)###at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)###at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)###at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)###at com.sap.engine.services.http
    server.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)###atcom.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnali er.java:364)###at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)###atcom.sap.engine.services.httpserver.server.Reques
    Analizer.handle(RequestAnalizer.java:265)###at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)###at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)###at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)###at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)###at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)###at java.security.AccessController.doPrivileged(Native Method)###at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)###at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)##Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidDocumentException: Invalid object for the XFA entry in the forms dictionary.###at com.adobe.internal.pdftoolkit.services.xfa.impl.PDFFormSupport.exportXFAData(Unknown Source)###at com.adobe.internal.pdftoolkit.services.xfa.XFAService.exportDataset(Unknown Source)###... 32 more##
    Please help!
    Edited by: Kevin Alcock on Jan 11, 2011 2:20 PM

    Hi Otto,
    We have had the form working and in most instances the form can be updated multiple times without issue.  However, occassionally a form is created OK but the next time it is launched it is blank (the data is visible when the PDF is downloaded to the desktop)
    Do you think this issue could be to do with the form layout/XML...I changed the form template 2 days ago as I suspected this issue could be realted to incorrect field bindings but we have had the error on a form created after the change was made.
    Many Thanks,
    Kevin
    Edited by: Kevin Alcock on Jan 13, 2011 1:10 PM

  • Header field

    Didn't know where to post this post, but im a newbie, so ill post it among the other newbie posts ;)
    My question: what is a header field? Im trying to use the method getHeaderField(String), and I want the value of the string (in the header field?) back. This is what I wrote:
    URL url = new URL("http://www.somesite.com/somepage.html");
    URLConnection urlconnection = url.openConnection();
    String s1 = urlconnection.getHeaderField("Some string");
    System.out.println(s1);
    So I want the value of the "some string" (which lies in the header, or??), but I only get the value 'null'. Is this correct?
    Thanks

    Try this and then modify it for your own useimport java.net.*;
    import java.util.*;
    public class ShowURLHeaders {
        public ShowURLHeaders(String m_url)
            try {
                URL url = new URL(m_url);
                URLConnection urlconnection = url.openConnection();
                Map headers = urlconnection.getHeaderFields();
                Set keys = headers.keySet();
                Iterator it = keys.iterator();
                while (it.hasNext()) {
                    String key = (String ) it.next();
                    Object value = headers.get(key);
                    System.out.println(key + " = " + value.toString());
            } catch (Exception e) {
                // Do something meaningful here.
        public static void main(String[] args)
            ShowURLHeaders ut = new ShowURLHeaders(args[0]);
    }

  • JMS header fields

    Can I update a JMS Message Header field or a JMS System Property for an existing JMS message without receiving it and then puting it back onto the queue ?
              

    You can modify any of the JMS header fields any time you want. To put it
              on a queue would need a producer. But when you call producer.send/publish,
              it will overwrite nearly all of the header fields. The exceptions are
              JMSCorrelationID, JMSReplyTo and JMSType. Those three fields will retain
              the values you set.
              _sjz.
              

  • Re:invalid partial field access: negative offset

    Hi,
           iam getting error invalid partial field access: negative offset, what is this mean

    negative off set not allowed
    Access Using Offset and Length Specifications
    Offset and length specifications are generally critical since the length of each character is platform-dependent. As a result, it is initially unclear as to whether the byte unit or the character unit is referred to in mixed structures. This forced us to put in place certain considerable restrictions. However, access using offset or length specifications is still possible to the degree described in the following. The tasks subject to this rule include accessing single fields and structures, passing parameters to subroutines and working with field symbols.
    Single field access
    Offset- or length-based access is supported for character-type single fields, strings and single fields of types X and XSTRING. For character-type fields and fields of type STRING, offset and length are interpreted on a character-by-character basis. Only for types X and XSTRING, the values for offset and length are interpreted in bytes.
    Structure access
    Offset- or length-based access to structured fields is a programming technique that should be avoided. This access type results in errors if both character and non-character-type components exist in the area identified by offset and length.
    Offset- or length-based access to structures is only permitted in a UP if the structures are flat and the offset/length specification includes only character-type fields from the beginning of the structure. The example below shows a structure with character-type and non-character-type fields. Its definition in the ABAP program and the resulting assignment in the main memory is as follows:
    BEGIN OF STRUC,
      a(3)  TYPE C,   "Length: 3 characters
      b(4)  TYPE N,   "Length:  4 characters
      c     TYPE D,   "Length:  8 characters
      d     TYPE T,   "Length:  6 characters
      e     TYPE F,   "Length:  8 bytes
      f(26) TYPE C,   "Length: 28 characters
      g(4)  TYPE X,   "Length: 2 bytes
    END OF STRUC.
    Internally, the fragment view contains four fragments. Offset- or length-based access in this case is only possible in the first fragment. Statements like struc(21) or struc7(14) are accepted by the ABAP interpreter and treated like a single field of type C. By contrast, struc57(2) access is now only allowed in an NUP. If offset-/length-based access to a structure is permitted, both the offset and length specifications are generally interpreted as characters in a UP.
    Passing parameters to subroutines
    Up to now, parameter passing with PERFORM has allowed you to use cross-field offset and length specifications. In future, this will no longer be allowed in a UP. In a UP, offset and length-based access beyond field boundaries returns a syntax or runtime error. For example, access types c15 or c5(10) would trigger such an error for a ten-digit C field c.
    If only an offset but no length is specified for a parameter, the entire length of the field instead of the remaining length was previously used for access. As a result, parameter specifications are cross-field if you use only an offset, and therefore trigger a syntax error in a UP. PERFORM test USING c+5 is consequently not permitted.
    In addition, in a UP, you can continue to specify the remaining length starting from the offset off for parameters using the form field+off(*).
    Ranges for offset and length access when using field symbols
    A UP ensures that offset- or length-based access with ASSIGN is only permitted within a predefined range. Normally, this range corresponds to the field boundaries in case of elementary fields or, in case of flat structures, to the purely character-type starting fragment. Using a special RANGE addition for ASSIGN, you can expand the range beyond these boundaries.
    Field symbols are assigned a range allowed for offset/length specifications. If the source of an ASSIGN statement is specified using a field symbol, the target field symbol adopts the range of the source. If not explicitly specified otherwise, the RANGE is determined as follows:
    ASSIGN feld TO <f>.
    In a UP, the field boundaries of field are assigned to <fs> as the range, where field is no field symbol.
    ASSIGN <g> TO <f>.
    <fs2> adopts the range of <fs1>.
    ASSIGN elfeld+off(len) TO <f>.
    In a UP, the field boundaries of the elementary field elfield are assigned to <fs> as the range.
    ASSIGN <elfld>+off(len) TO <f>.
    <fs> adopts the range of the elementary field <elfield>.
    ASSIGN struc+off(len) TO <f>.
    ASSIGN <struc>+off(len) TO <f>.
    In a UP, the purely character-type starting section of the flat structures struc or <struc> determines the range boundaries.
    If the assignment to the field symbol is not possible because the offset or length specification exceeds the range permitted, the field symbol is set to UNASSIGNED in a UP. Other checks such as type or alignment checks return a runtime error in a UP. As a rule, offset and length specifications are counted in characters for data types C, N, D, and T as well as for flat structures, and in bytes in all other cases.
    Offset without length specification when using field symbols
    Up to now, ASSIGN field+off TO <fs> has shown the special behavior that the field length instead of the remaining length of field was used if only an offset but not length was specified. Since an ASSIGN with a cross-field offset is therefore problematic under Unicode, you must observe the following rules:
    As previously, the field length of field is used as the length. Using ASSIGN field+off(*)... you can explicitly specify the remaining length.
    ASSIGN <fs1>+off TO <fs2> is only permitted if the runtime type of <fs1> is flat and elementary, that is, C, N, D, T (offset in characters), or X (offset in bytes).
    ASSIGN field+off TO <fs2> is generally forbidden from a syntactical point of view since any offset <> 0 would cause the range to be exceeded. Exceptions are cases in which a RANGE addition is used.
    These rules enable you also in future to pass a field symbol through an elementary field using ASSIGN <fs>+n TO <fs>, as it is the case in a loop, for example.
    Processing Sections of Strings
    You can address a section of a string in any statement in which non-numeric elementary ABAP types or structures that do not contain internal tables occur using the following syntax:
    <f>[+<o>][(<l>)]
    By specifying an offset <o> and a length (<l>) directly after the field name <f>, you can address the part of the field starting at position <o>1 with length <l> as though it were an independent data object. The data type and length of the string section are as follows:
    Original field
    Section
    Data type
    Data type
    Length
    C
    C
    <l>
    D
    N
    <l>
    N
    N
    <l>
    T
    N
    <l>
    X
    X
    <l>
    Structure
    C
    <l>
    If you do not specify the length <l>, you address the section of the field from <o> to the end of the field. If the offset and length combination that you specify leads to an invalid section of the field (for example, exceeding the length of the original field), a syntax or runtime error occurs. You cannot use offset and length to address a literal or a text symbol.
    You should take particular care when addressing components of structures. To ensure the correct platform-specific alignment of type I and F components, they may contain filler fields, whose lengths you need to consider when calculating the correct offset. Furthermore, SAP plans to convert the internal representation of character types to UNICODE, in which one character will no longer occupy one byte, but instead two or four. Although offset and length specifications can work for character fields (types C, D, N, and T) or for hexadecimal fields (type X), incompatible changes may occur in structures containing a mixture of numeric, character, and hexadecimal fields. SAP therefore recommends that you do not use offset and length to address components of structures.
    In nearly all cases, you must specify offset <o> and length <l> as numeric literals without a preceding sign. You may specify them dynamically in the following cases:
    When assigning values using MOVE or the assignment operator
    When assigning values with WRITE TO
    When assigning field symbols using ASSIGN.
    When passing actual parameters to subroutines in the PERFORM statement.
    DATA TIME TYPE T VALUE '172545'.
    WRITE TIME.
    WRITE / TIME+2(2).
    CLEAR TIME+2(4).
    WRITE / TIME.
    The output appears as follows:
    172545
    25
    170000
    First, the minutes are selected by specifying an offset in the WRITE statement. Then, the minutes and seconds are set to their initial values by specifying an offset in the clear statement.
    Offset and Length Specifications in the MOVE Statement
    For the MOVE statement, the syntax for specifying offset and length is as follows:
    MOVE <f1>[<o1>][(<l1>)] TO <f2>[<o2>][(<l2>)].
    Or, when you use the assignment operator:
    <f2>[<o2>][(<l2>)] = <f1>[<o1>][(<l1>)].
    The contents of the part of the field <f1> which begins at position <o1>1 and has a length of <l1> are assigned to field <f2>, where they overwrite the section which begins at position <o2>1 and has a length of <l2>.
    In the MOVE statement, all offset and length specifications can be variables. This also applies to statements with the assignment operator, as long as these can also be written as MOVE statements. In statements where no field name is specified after the assignment operator, (for example, in Numeric Operations), all offset and length specifications must be unsigned number literals.
    SAP recommends that you assign values with offset and length specifications only between non-numeric fields. With numeric fields, the results can be meaningless.
    DATA: F1(8) VALUE 'ABCDEFGH',
    F2(20) VALUE '12345678901234567890'.
    F26(5) = F13(5).
    In this example, the assignment operator functions as follows:
    DATA: F1(8) VALUE 'ABCDEFGH',
    F2(8).
    DATA: O TYPE I VALUE 2,
    L TYPE I VALUE 4.
    MOVE F1 TO F2. WRITE F2.
    MOVE F1+O(L) TO F2. WRITE / F2.
    MOVE F1 TO F2+O(L). WRITE / F2.
    CLEAR F2.
    MOVE F1 TO F2+O(L). WRITE / F2.
    MOVE F1O(L) TO F2O(L). WRITE / F2.
    This produces the following output:
    ABCDEFGH
    CDEF
    CDABCD
    ABCD
    CDEF
    First, the contents of F1 are assigned to F2 without offset specifications. Then, the same happens for F1 with offset and length specification. The next three MOVE statements overwrite the contents of F2 with offset 2. Note that F2 is filled with spaces on the right, in accordance with the conversion rule for source type C.
    Offset and Length Specifications in the WRITE TO Statement
    For the WRITE TO statement, the syntax for specifying offset and length is as follows:
    WRITE <f1>[<o1>][(<l1>)] TO <f2>[<o2>][(<l2>)].
    The contents of the part of the field <f1> which begins at position <o1>1 and has a length of <l1> are converted to a character field and assigned to field <f2>, where they overwrite the section which begins at position <o2>1 and has a length of <l2>.
    In the WRITE TO statement, the offset and length specifications of the target field can be variables. The offset and length of the target field must be numeric literals without a preceding sign.
    DATA: STRING(20),
    NUMBER(8) TYPE C VALUE '123456',
    OFFSET TYPE I VALUE 8,
    LENGTH TYPE I VALUE 12.
    WRITE NUMBER(6) TO STRING+OFFSET(LENGTH) LEFT-JUSTIFIED.
    WRITE: / STRING.
    CLEAR STRING.
    WRITE NUMBER(6) TO STRING+OFFSET(LENGTH) CENTERED.
    WRITE: / STRING.
    CLEAR STRING.
    WRITE NUMBER TO STRING+OFFSET(LENGTH) RIGHT-JUSTIFIED.
    WRITE: / STRING.
    CLEAR STRING.
    This produces the following output:
    123456
    123456
    123456
    The first six characters of the field NUMBER are written left-justified, centered, and right-justified into the last 12 characters of the field STRING.

  • Cookie - Bad Request - Size of a request header field exceeds server limit -

    We are on cq5.5. We see this error intermittently. What is the best way to fix this? Cookie size seems to be adding to the issue.
    Bad Request
    Your browser sent a request that this server could not understand.
    Size of a request header field exceeds server limit.
    Cookie: cq-mrss=path%3D%252Fcontent%252Fdam%26p.limit%3D-1%26mainasset%3Dtrue%26type%3Ddam%3AAsse t; __unam=acfbce4-13b8ffd6084-6070cfe6-4; __utma=16528299.1850197993.1355330446.1361568697.1362109625.3; __utmz=16528299.1355330446.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); REM_ME=1004; SessionPersistence-author-lx_qa_author2=CLIENTCONTEXT%3A%3DvisitorId%3Danonymous%2Cvisito rId_xss%3Danonymous%7CPROFILEDATA%3A%3DauthorizableId%3Danonymous%2CformattedName%3DAnonym ous%20Surfer%2Cpath%3D%2Fhome%2Fusers%2Fa%2Fanonymous%2Cavatar%3D%2Fetc%2Fdesigns%2Fdefaul t%2Fimages%2Fcollab%2Favatar.png%2Cage%3D%2Cage_xss%3D%7CTAGCLOUD%3A%3Dtopic%3Aworkflow%3D 14%2Cindustry%3Aprocess_management%3D2%2Ctopic%3Aprocess_mining%3D3%2Ctopic%3Aprocess_docu mentation%3D1%2Ctopic%3Aintelligent_capture%3D5%2Cindustry%3Acapture%3D5%2Ctopic%3Adocumen t_imaging%3D2%2Ctopic%3Adistributed_intelligent_capture%3D2%2Ctopic%3Adocument_output_mana gement%3D4%2Cindustry%3Acontent_management%3D14%2Cindustry%3Asoftware_solutions_hardware%3 D4%2Cindustry%3Adevice_management%3D2%2Ctopic%3Ahelp_desk_services%3D2%2Cindustry%3Aintera ct%3D15%2Ctopic%3Asecure_content_monitor%3D2%2Ctopic%3Aelectronic_forms%3D2%2Ctopic%3Ainte lligent_forms%3D2%2Ctopic%3Adocument_accounting%3D2%2Ctopic%3Aerp_output_management%3D2%2C topic%3Aprint_release%3D2%2Cindustry%3Aoutput_management%3D4%2Ctopic%3Aerp_printing%3D4%2C topic%3Aenterprise_search%3D4%2Ctopic%3Amicrosoft_sharepoint%3D6%2Ctopic%3Adocument_filter s%3D4%2Cindustry%3Asearch%3D4%2Ctopic%3Ahuman_services_case_management%3D2%2Cindustry%3Aca se_management%3D2%2Cindustry%3Aimprove_business_processes%3D6%2Ctopic%3Abusiness_process_m odeling%3D1%2Ctopic%3Alawson%3D1%2Ctopic%3Aapplication_integration%3D8%2Cindustry%3Asoluti on%3D4%2Ctopic%3Amicrosoft_dynamics_crm%3D2%2Cindustry%3Ahealthcare%3D13%2Cindustry%3Areta il%3D8%2Cindustry%3Abanking%3D3%2Cindustry%3Aincrease_efficiency%3D7%2Cindustry%3Agovernme nt%3D8%2Ctopic%3Amicrosoft_outlook%3D2%2Ctopic%3Aesri%3D2%2Ctopic%3Ajd_edwards%3D2%2Ctopic %3Asap%3D1%2Cindustry%3Adrive_business_growth%3D1%2Cindustry%3Abusiness_challenges%3D6%2Ci ndustry%3Aconnect_distributed_workforce%3D1%2Ctype%3Alanding_page%3D2%2Ctopic%3Aconsulting _services%3D2%2Ctopic%3Aretail_pharmacy%3D2%2Cindustry%3Aindustry_solutions%3D5%2Ctopic%3A health_information_management%3D3%2Ctopic%3Apatient_scheduling%3D3%2Ctopic%3Aclinical_depa rtment_solutions%3D3%2Ctopic%3Aclinical_hit_integration%3D3%2Ctopic%3Apatient_admissions_r egistration%3D3%2Ctopic%3Ahealthcare_forms_management%3D3%2Ctopic%3Apatient_access%3D3%2Ct opic%3Aenterprise_print_management_software%3D2%2Ctopic%3Aprint_queue_management%3D2%2Ctop ic%3Aadvanced_print_management%3D2%2Ctopic%3Aemployee_onboarding%3D3%2Ctopic%3Ahuman_resou rces%3D1%2Cindustry%3Ahuman_resources%3D3%2Ctopic%3Aemployee_recruitment%3D1%2Cindustry%3A manufacturing%3D2%2Ctopic%3Aplatform_integration%3D1%2Ctopic%3Awealth_management%3D2%2Cind ustry%3Afinancial_services%3D2%2Ctopic%3Aaccount_opening%3D2%2Ctopic%3Acompliance%3D1%2Cin dustry%3Acompliance%3D1%2Ctopic%3Abusiness_operations_solutions_for_banking%3D2%2Ctopic%3A retail_delivery%3D1%2Ctopic%3Aloan_processing%3D1%2Ctopic%3Aon_demand_negotiable_documents %3D1%2Ctopic%3Anew_account_openings%3D1%2Ctopic%3Aon_demand_forms_customer_communications% 3D1%2Cindustry%3Ainsurance%3D1%2Ctopic%3Amicr_printing%3D1%2Ctopic%3Abank_branch_capture%3 D1%2Ctopic%3Aagency_capture%3D1%7C; ys-cq-damadmin-tree=o%3Awidth%3Dn%253A240%5EselectedPath%3Ds%253A/content/dam; ys-cq-damadmin-grid-assets=o%3Acolumns%3Da%253Ao%25253Aid%25253Ds%2525253Anumberer%25255E width%25253Dn%2525253A23%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253At humbnail%25255Ewidth%25253Dn%2525253A45%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25 253Ds%2525253Atitle%25255Ewidth%25253Dn%2525253A78%25255Ehidden%25253Db%2525253A1%25255Eso rtable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Aname%25255Ewidth%25253Dn%2525253A3 37%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Apublished%25255Ewidth%2 5253Dn%2525253A37%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Amodified %25255Ewidth%25253Dn%2525253A78%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%25 25253Ascene7Status%25255Ewidth%25253Dn%2525253A78%25255Ehidden%25253Db%2525253A1%25255Esor table%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Astatus%25255Ewidth%25253Dn%2525253A 71%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Dn%2525253A8%25255Ewidth%25253Dn%2 525253A78%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Aworkflow%25255Ew idth%25253Dn%2525253A78%25255Ehidden%25253Db%2525253A1%25255Esortable%25253Db%2525253A1%25 5Eo%25253Aid%25253Ds%2525253Awidth%25255Ewidth%25253Dn%2525253A37%25255Esortable%25253Db%2 525253A1%255Eo%25253Aid%25253Ds%2525253Aheight%25255Ewidth%25253Dn%2525253A37%25255Esortab le%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Asize%25255Ewidth%25253Dn%2525253A37%25 255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Areferences%25255Ewidth%25253 Dn%2525253A199%25255Esortable%25253Db%2525253A1%5Esort%3Do%253Afield%253Ds%25253Alabel%255 Edirection%253Ds%25253AASC; amlbcookie=04; ObLK=0x82abacf3a5e3b1e2|0x1cf34305ac210c7e9b2b07e3725392e2; iPlanetDirectoryPro=AQIC5wM2LY4Sfcw0UQ2MST5NlqDAsUi2dscer0wO7VMy9pE.*AAJTSQACMDYAAlMxAAIw NA..*; renderid=rend01; login-token=c9c0d027-c5f9-4e5a-9a90-09d1cf21cfd2%3a0279e369-1689-433c-80ef-d8411040efe5_6 15c2fd1eba8fd42%3acrx.default; ys-cq-siteadmin-grid-pages=o%3Acolumns%3Da%253Ao%25253Aid%25253Ds%2525253Anumberer%25255E width%25253Dn%2525253A23%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253At humbnail%25255Ewidth%25253Dn%2525253A50%25255Ehidden%25253Db%2525253A1%25255Esortable%2525 3Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Atitle%25255Ewidth%25253Dn%2525253A386%25255Es ortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Aname%25255Ewidth%25253Dn%2525253A 148%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Apublished%25255Ewidth% 25253Dn%2525253A25%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Amodifie d%25255Ewidth%25253Dn%2525253A86%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2 525253Ascene7Status%25255Ewidth%25253Dn%2525253A86%25255Ehidden%25253Db%2525253A1%25255Eso rtable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Astatus%25255Ewidth%25253Dn%2525253 A76%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Aimpressions%25255Ewidt h%25253Dn%2525253A86%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Atempl ate%25255Ewidth%25253Dn%2525253A86%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds %2525253Aworkflow%25255Ewidth%25253Dn%2525253A86%25255Ehidden%25253Db%2525253A1%25255Esort able%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2525253Alocked%25255Ewidth%25253Dn%2525253A8 6%25255Ehidden%25253Db%2525253A1%25255Esortable%25253Db%2525253A1%255Eo%25253Aid%25253Ds%2 525253AliveCopyStatus%25255Ewidth%25253Dn%2525253A86%25255Ehidden%25253Db%2525253A1%25255E sortable%25253Db%2525253A1%5Esort%3Do%253Afield%253Ds%25253Atitle%255Edirection%253Ds%2525 3AASC; ys-cq-siteadmin-tree=o%3Awidth%3Dn%253A306%5EselectedPath%3Ds%253A/content/homesite/en-US /insights/video_unum-group-accelerates-workflows-with-solutions-; ys-cq-cf-clipboard=o%3Acollapsed%3Db%253A1; ys-cq-cf-tabpanel=o%3AactiveTab%3Ds%253AcfTab-Images-QueryBox; JSESSIONID=ad311ac3-7c24-4e62-ae8a-0ebacd8e8188; SessionPersistence-author-lx_qa_author1=CLIENTCONTEXT%3A%3DvisitorId%3Danonymous%2Cvisito rId_xss%3Danonymous%7CPROFILEDATA%3A%3DauthorizableId%3Danonymous%2CformattedName%3DAnonym ous%20Surfer%2Cpath%3D%2Fhome%2Fusers%2Fa%2Fanonymous%2Cavatar%3D%2Fetc%2Fdesigns%2Fdefaul t%2Fimages%2Fcollab%2Favatar.png%2Cage%3D%2Cage_xss%3D%7CGEOLOCATION%3A%3D%7CTAGCLOUD%3A%3 Dindustry%3Aconnect_distributed_workforce%3D1%2Cindustry%3Abusiness_challenges%3D1%2Cindus try%3Acontent_management%3D1%2Cindustry%3Ahealthcare%3D1%2Ctopic%3Afinance%3D1%2Ctopic%3Ap rocurement_processing%3D1%2Cindustry%3Afinancial_services%3D2%2Cindustry%3Ainsurance%3D2%2 Cindustry%3Aindustry_solutions%3D2%2Ctopic%3Aagency_capture%3D2%7C; s_cc=true; s_sq=lxmtest%3D%2526pid%253Dinsights%25253Avideo_unum-group-accelerates-workflows-with-so luti

    Hi EbodaWill,
    File daycare for fp 2324 where in you can configure & allow you to increase the request header size and avoid the bad request error OR for a package that improves client side persistence & does not use cookies.
    Thanks,
    Sham

  • Invoice Template problem - Putting a Header field in repeating Lines rows

    Dear experts,
    I would be grateful for a problem I am having with an Invoice statement I am developing (Oracle Applications 11.5.10 with BI Publisher version 10.1.3.4). This is very similar to the one in Tim Dexter's Blog (Anatomy of a Template):
    http://blogs.oracle.com/xmlpublisher/2007/03/anatomy_of_a_template_ii_heade.html
    My requirement is to add a single line into the lines table, as seen in the Blog, which is a COMMENTS field from the header part of the XML and the problem is that it can be 1 line to maybe 5 lines. This is only on the first page. This causes problems as I don't know how to find out how far down the lines table I may be after adding this COMMENTS header field in here, to then know how many lines to loop over to ensure that the lines do not carry on printing over the bottom of the page e.g. if the COMMENTS is 3 lines - how do I know this to then only print 3 minus the maximum lines per page ($lpp) only on the first page?
    Any pointers would be of great help.
    Many thanks,
    Mark

    The COMMENTS field I've found out can be of any varible size and include carriage returns. For example, could be:
    JD Trx special instructions 010908
    FAO: PETER MUSCUTT
    REF: FERRY ROAD 2351
    ========================
    INCOME DUE TO COMPANY FOR
    THE OPERATION OF EFERRY
    ROAD CAR PARK
    This causes such problems as being able to know how many lines this field will be, so that I know where to start the first Lines row in the invoice and also how many lines I can put on this first page (starting point - $lpp).
    One method I thought would be to count how many characters there are in this field, when it reaches the line size on the invoice, increment a count varible that would be used to indicate the starting point for the first lines record. I would need to compare each character and if it is a carriage return, then increment the count also. This seems quite a heavy wieght way to solve this and would welcome any over ideas.
    Thanks,
    Mark

  • How to view "From" header field in OUTgoing messages in Mail? Frustrating.

    In Mail v.4.3 (in OSX 10.6.4), I need to view the "From" field in my outgoing messages as I am composing them. However, there seems to be no setting in Mail which allow this.
    I find this very frustrating because in Eudora (which I used to use), the "From" field in outgoing messages is visible by default. But in Mail, not only is it not visible by default, there seems to be no way to make it visible.
    In the "Customize..." button to the left of the Subject field in outgoing messages, one has the option to add as default outgoing message fields "cc," "bcc," "Reply-To," and "Subject," but none of those are what I want. It allows one to also view the address of the mail server, but that also is not what I'm looking for. What I want is to see my outgoing +email address+. And nowhere is there an option in the Preferences to turn this on. (At least as far as I could tell.)
    In fact, the only way to see the identity in the outgoing "From" field is to go to Preferences, then click on Accounts, and look there; or send oneself a test email. Both of which are a hassle and should be unnecessary.
    In case you're curious as to why I want to see my outgoing "From" header field:
    I have several different "personas" online, each of which uses a different email address: My work address (with a work-related domain); my family/personal address (with a different email address than my work address); an online avatar I use in various gaming sites (also with its own address, since I don't want to use my personal name/address in the gaming community); and so on. However, I have all incoming emails to all accounts auto-forwarded to the same central email account. Most of the time I'm just replying to business emails, so my outgoing "Full Name" and "Email Address" (in Preferences>Accounts) are generally set to my business name and address; but on occasion when I want to reply to a non-business email and not have the recipient see my business email address, I go in to Preferences>Accounts and change "Full Name" and "Email Address" (i.e. what is displayed to the user) to something different. And when I'm done with that, I change it back to my business address.
    However, sometimes I forget if I've changed it back or not, or forget what I've changed it to. In Eudora, All one needed to one was create a new outgoing email and it would display the "From" field so I could instantly see my outgoing identity. But in Mail, there is no "From" field in outgoing emails, so I'm constantly nervous and wondering which outgoing identity I may have changed to and accidentally forgotten to change back from.
    (Yes, yes, I know that if a recipient wanted to be snoopy, they could look at the "full headers" of any incoming email and see the name of my email server, which may different from my displayed email address; but we're not talking about spy-stuff here, I'm just trying to not confuse people and keep business separate from personal.)
    So: is there any way for me to see the outgoing "From" field in the emails I send? Or am I condemned to constantly (and mostly unnecessarily) checking "Preferences>Accounts" to see what I have enetered there?

    Thanks for replying.
    What is the "compose window" to which you are both referring? I could find no reference to such a thing in the Mail menus or Help.
    Do you mean the "Composing" pane in the Preferences? I don't see what either one of you is referring to there, but I did notice there something that could function as an awkward workaround: If I click on the "Automatically CC myself" box in Preferences>Composing, then when I start a new email, my email address is displayed in the "CC" field -- and luckily, Mail allows me to then delete my email address out of the CC field, so I don't have to spam myself with duplicate copies of all my emails. This way, I can at least briefly see what email address I'm using, before I delete it from the CC field. Pretty awkward and unnecessarily laborious, however -- still not a perfect solution.
    Or, by "composing window," are you referring to an outgoing email? As I said in my original comment, I do see what Ernie called "a small box with lines and an arrow at the bottom left of the header box." This is what I had to say about it:
    +"In the "Customize..." button to the left of the Subject field in outgoing messages, one has the option to add as default outgoing message fields "cc," "bcc," "Reply-To," and "Subject," but none of those are what I want. It allows one to also view the address of the mail server, but that also is not what I'm looking for. What I want is to see my outgoing email address. And nowhere is there an option in the Preferences to turn this on. (At least as far as I could tell.)"+
    In other words, when Ernie says, "click the box beside From," I can't do that -- because there is no such option. That's the whole problem in the first place. If there was a "From" field beside which I could click a box to make it appear, I would have done so! But there is no "From" field in the "Customize" section of the "small box with lines and an arrow at the bottom left of the header box."
    I find it completely mystifying that both of you seem to be able to see a "From" field available to be added to the header of outgoing emails, yet no such option is available to me in Mail. What possibly could be causing this? 10.6.4 is freshly installed on my machine, and Mail seems brand new and uncorrupted. And I'm using Mail 4.3, the latest version.
    Are you saying that everyone else can see an option to have a "From" field in their outgoing messages, but I uniquely don't? Very very very strange.

  • I can no longer access Bejeweled Blitz through my facebook account.  I get the message that says, "your browser sent a request that this server could not understand. Size of a request header field exceeds server limit".  Help please.

    I can no longer access Bejeweled Blitz through facebook.  I get the message, "your browser sent a request that this server could not understand. Size of a request header field exceeds server limit". I can access Bejeweled through FB using my husband's log in so to me that suggests the problem is with my log in. Help please.

    Contact FB or use another browser. 

  • Cannot retrieve my e-mail "browser sent request server could not understand. Size of request header field exceeds server limit"

    Upgraded to Firefox 5.0.1 yesterday. No, after logging on to firefox, which takes me to my comcast page and when I try to get
    my e-mail I get this message "your browser sent a request this server could not understand. Size of request header field exceeds server limit" Then it says something about "cookies" I also tried to connect to other sites and get similar messages. Just to let you know I am not a guru, and 80 years old, but I did not have this problem with the previous version. Question, why are the headers repeated? Could that be the problem???

    This issue can be caused by corrupted cookies.
    Clear the cache and the cookies from sites (e.g. comcast) that cause problems.
    "Clear the Cache":
    * Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Firefox > Preferences > Privacy > Cookies: "Show Cookies"

  • Making a header field as non editable while creating PO using ME21n

    Hi Friends,
    Could any one tell me the BADI or screen exit to make a header field (for eg: EKGRP - Purchasing Group) as non editable after giving default value to it?
    Thanks in advance,
    Ram

    Hi Ram,
    goto se80 t-code and give 'ME' package, and now see the enhancements available.
    You l get a relavent one, if you go through all those.
    Hope this helps
    Regards,
    Sujatha

Maybe you are looking for

  • How Do I Setup a Wireless Network in my home for 3 Mac's and 2 PC's

    Ok..... I live with 5 people and we all have computers. I'm looking to setup a Wireless Network in our house that would allow all of us to access the Internet from our various rooms. Currently we have 3 MAC (a G5 Desktop, a regular Desktop, and a Pow

  • Problem with render streets in cased style

    Hello! I'm using OracleAS MapViewer/Builder Ver1033p5_B080908. I create a geometry theme with streets and a line style in Map Builder, for rendering created theme. When I create this line style I turn enable the cased property. When I preview this th

  • DEPRECIATION PROCESS IN ORACLE ASSETS(FADEPR)

    제품 : FIN_FA 작성날짜 : 2003-05-20 DEPRECIATION PROCESS IN ORACLE ASSETS(FADEPR) ============================================= PURPOSE Oracle Assets 에서의 depreciation process 를 간략하게 기술 Explanation DEPRECIATION IN ORACLE ASSETS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Health Service Heartbeat Failure Alert for Generated when one Management Server Down,

    Hi, I have Two Management Server, every one manage about 100 server, when one Management Server goes down unexpected, I receive 100 Alert for 100 Server Health Service Heartbeat Failure. My Question, why when the Management Server down, it send that

  • Marketing/Segment Error

    I create a Segment in the design and run the create list without issue. i then load the Segment into my Marketing Program and when I run it i get the following error message: State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A