Manifest Problems

I'm having a lot of trouble with customizing the manifest file.
The first problem is that any non-standard customizing (such as menu placement in InDesign) gets wiped out by the manifest editor. My workaround is to avoid using the manifest editor and I edit the manifest manually.
My current problem, is that I need a different ScriptPath for Flash and Fireworks. I noticed that the Kuler extension does this, and I copied the (basic) XML structure from there. I'm getting a parsing error when I try to build my project.
Am I doing something wrong or is this a bug?
Here's my manifest:
<?xml version="1.0" encoding="UTF-8"?>
<ExtensionManifest Version="2.0" ExtensionBundleId="ScriptBay" ExtensionBundleVersion="0.1.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Author>
        <![CDATA[In-Tools]]>
    </Author>
    <Contact>
        <![CDATA[contact me...]]>
    </Contact>
    <Legal>
        <![CDATA[Legal stuff...]]>
    </Legal>
    <Abstract href="http://in-tools.com/scriptbay.html">
        <![CDATA[This is a Script Panel replacement for the entire Creative Suite plus a whole lot more!!!]]>
    </Abstract>
    <ExtensionList>
        <Extension Id="ScriptBay" Version="0.1.4" />
    </ExtensionList>
    <ExecutionEnvironment>
        <HostList>
            <Host Name="AICY" Version="7" />
            <Host Name="FLPR" Version="11" />
            <Host Name="FWKS" Version="11" />
            <Host Name="IDSN" Version="7" />
            <Host Name="ILST" Version="15" />
            <Host Name="PHSP" Version="12" />
            <Host Name="PHXS" Version="12" />
            <Host Name="BRDG" Version="4" />
        </HostList>
        <LocaleList>
            <Locale Code="All" />
        </LocaleList>
        <RequiredRuntimeList>
            <RequiredRuntime Name="CSXS" Version="2.0" />
        </RequiredRuntimeList>
    </ExecutionEnvironment>
    <DispatchInfoList>
        <Extension Id="ScriptBay">
            <DispatchInfo >
                <Resources>
                    <SwfPath>./ScriptBay.swf</SwfPath>
                </Resources>
                <Lifecycle>
                    <AutoVisible>true</AutoVisible>
                </Lifecycle>
                <UI>
                    <Type>Panel</Type>
                    <Menu>Script Bay</Menu>
                    <Geometry>
                        <Size>
                            <Height>350</Height>
                            <Width>208</Width>
                        </Size>
                    </Geometry>
                    <Icons>
                        <Icon Type="Normal">./icons/script_bay_bw.png</Icon>
                        <Icon Type="RollOver">./icons/script_bay_c.png</Icon>
                    </Icons>
                </UI>
            </DispatchInfo>
            <DispatchInfo Host="AICY">
                <UI>
                    <Menu Placement="'Main:&amp;Window:UtilitiesSubmenu',600.0,'KBSCE Window menu'">Script Bay</Menu>
                </UI>
            </DispatchInfo>
            <DispatchInfo Host="IDSN">
                <UI>
                    <Menu Placement="'Main:&amp;Window:UtilitiesSubmenu',600.0,'KBSCE Window menu'">Script Bay</Menu>
                </UI>
            </DispatchInfo>
            <DispatchInfo Host="FLPR">
                <Resources>
                    <ScriptPath>./FlashFunctions.jsfl</ScriptPath>
                </Resources>
            </DispatchInfo>
            <DispatchInfo Host="FWKS">
                <Resources>
                    <ScriptPath>./FireworksFunctions.jsf</ScriptPath>
                </Resources>
            </DispatchInfo>
        </Extension>
    </DispatchInfoList>
</ExtensionManifest>
Harbs

It is "&amp;" in the manifest. The forum software strikes again!
The error is:
The reference to entity "Window:UtilitiesSubmenu" must end with the ":" delimiter.
The thing is: it does not have any problem parsing it without the Flash and Fireworks DispatchInfo.
Harbs

Similar Messages

  • About read manifest problem.

    Hi,
    I have a problem .Who can tell me how to read [*.jar]/META-INF/MANIFEST.MF file using codes in the jar ?
    Thanks for help!

    I'm sorry that can't work.
    If the X.jar not in the lib fold it can read its manifes.mf.But it in the folder "lib" can't read manifest when the run.bat is not in the lib folder.
    The exception is:
    java.util.zip.ZipException: The system cannot find the file specified
    at java.util.zip.ZipFile.open(Native Method)
    ........

  • WLS 6.1 SP2 and Struts 1.1b3 Manifest Problem

    When I try to deploy the struts-example.war or if I add the struts.jar
    to any other web app I've created, I get this error when I start WLS and it
    tries to deploy that war.
    java.lang.StringIndexOutOfBoundsException
    at weblogic.servlet.internal.WebAppHelper.resolveManifestName
    (WebAppHelper.java:469)
    I'm using version 1.1b3 of struts. I'm having no problems with version
    1.0.2 of struts.
    I'm guessing its complaining about the manifest file in struts.jar, but I
    don't understand why.
    Here's my version info and the stack trace (my web app is called findme in
    this example). Thanks in advance.
    -Phil
    Server BuildWebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
    All Server Product VersionsWebLogic Server 6.1 SP2 12/18/2001 11:13:46
    #154529 WebLogic XML Module 6.1 SP2 12/18/2001 11:28:02 #154529
    <Feb 11, 2003 7:45:25 AM EST> <Error> <J2EE> <Error deploying application
    findme: Could not load findme>
    <Feb 11, 2003 7:45:25 AM EST> <Error> <Management> <ApplicationManager
    starting Config caught throwable
    java.lang.reflect.UndeclaredThrowableException:
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1525)
    at
    weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.jav
    a:469)
    at
    weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:
    234)
    at
    weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServ
    letContext.java:3407)
    at
    weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletCont
    ext.java:3376)
    at
    weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.ja
    va:862)
    at
    weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.
    java:815)
    at
    weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
    at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
    at weblogic.j2ee.Application.addComponent(Application.java:163)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
    Target.java:329)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
    Target.java:144)
    at
    weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java
    :76)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
    l.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
    621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
    anImpl.java:359)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy29.addWebDeployment(Unknown Source)
    at
    weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployme
    nt(WebServerMBean_CachingStub.java:1121)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
    Target.java:315)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deploymen
    tTarget.java:279)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(
    DeploymentTarget.java:233)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deploy
    mentTarget.java:193)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
    l.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
    621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
    anImpl.java:359)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy28.updateDeployments(Unknown Source)
    at
    weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments
    (ServerMBean_CachingStub.java:2761)
    at
    weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(App
    licationManager.java:370)
    at
    weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManag
    er.java:160)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
    l.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
    621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
    anImpl.java:359)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy36.start(Unknown Source)
    at
    weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start
    (ApplicationManagerMBean_CachingStub.java:480)
    at
    weblogic.management.Admin.startApplicationManager(Admin.java:1180)
    at weblogic.management.Admin.finish(Admin.java:590)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
    at weblogic.Server.main(Server.java:35)
    --------------- nested within: ------------------
    weblogic.j2ee.DeploymentException: Could not load findme - with nested
    exception:
    [java.lang.StringIndexOutOfBoundsException: String index out of range: -1]
    at
    weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:431)
    at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
    at weblogic.j2ee.Application.addComponent(Application.java:163)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
    Target.java:329)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
    Target.java:144)
    at
    weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java
    :76)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
    l.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
    621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
    anImpl.java:359)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy29.addWebDeployment(Unknown Source)
    at
    weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployme
    nt(WebServerMBean_CachingStub.java:1121)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
    Target.java:315)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deploymen
    tTarget.java:279)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(
    DeploymentTarget.java:233)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deploy
    mentTarget.java:193)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
    l.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
    621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
    anImpl.java:359)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy28.updateDeployments(Unknown Source)
    at
    weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments
    (ServerMBean_CachingStub.java:2761)
    at
    weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(App
    licationManager.java:370)
    at
    weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManag
    er.java:160)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
    l.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
    621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
    anImpl.java:359)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy36.start(Unknown Source)
    at
    weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start
    (ApplicationManagerMBean_CachingStub.java:480)
    at
    weblogic.management.Admin.startApplicationManager(Admin.java:1180)
    at weblogic.management.Admin.finish(Admin.java:590)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
    at weblogic.Server.main(Server.java:35)
    >
    <Feb 11, 2003 7:45:32 AM EST> <Error> <J2EE> <Error deploying application
    struts-example: Could notload struts-example>
    <Feb 11, 2003 7:45:32 AM EST> <Error> <Management> <Error deploying
    application .\config\mydomain\applications\struts-example.war:
    java.lang.reflect.UndeclaredThrowableException>

    I've solved my own problem. I learned that there was a sp4 (let alone a
    sp3) for WLS. Installed that and the problem went away. Sorry for the
    noise.
    -Phil
    Philip Bower <[email protected]> wrote in
    news:[email protected]:
    When I try to deploy the struts-example.war or if I add the struts.jar
    to any other web app I've created, I get this error when I start WLS
    and it tries to deploy that war.
    java.lang.StringIndexOutOfBoundsException
    at weblogic.servlet.internal.WebAppHelper.resolveManifestName
    (WebAppHelper.java:469)
    I'm using version 1.1b3 of struts. I'm having no problems with
    version 1.0.2 of struts.
    I'm guessing its complaining about the manifest file in struts.jar,
    but I don't understand why.
    Here's my version info and the stack trace (my web app is called
    findme in this example). Thanks in advance.
    -Phil
    Server BuildWebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
    All Server Product VersionsWebLogic Server 6.1 SP2 12/18/2001
    11:13:46 #154529 WebLogic XML Module 6.1 SP2 12/18/2001 11:28:02
    #154529
    <Feb 11, 2003 7:45:25 AM EST> <Error> <J2EE> <Error deploying
    application findme: Could not load findme>
    <Feb 11, 2003 7:45:25 AM EST> <Error> <Management> <ApplicationManager
    starting Config caught throwable
    java.lang.reflect.UndeclaredThrowableException:
    java.lang.StringIndexOutOfBoundsException: String index out of range:
    -1
    at java.lang.String.substring(String.java:1525)
    at
    weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper
    .jav a:469)
    at
    weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.j
    ava: 234)
    at
    weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebApp
    Serv letContext.java:3407)
    at
    weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServlet
    Cont ext.java:3376)
    at
    weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContex
    t.ja va:862)

  • Jad/MANIFEST problems

    Hello world!
    I'm having a problem with my J2ME midlet. I can build it correctly, but I'm having problems running it.
    When running that way :
    emulator -Dcom.sun.midp.io.http.proxy=0:0 -Xdescriptor:C:\WTK21\apps\project\bin\MIDmain.jad
    I'm obtaining this error:
    com.sun.kvem.midletsuite.InvalidJadException: Reason = 18
    Missing Jar URL in the jad descriptor
    here is my MIDmain.jad file:
    MIDlet-1: MIDmain, MIDmain.png, MIDmain
    MIDlet-Name: MIDmain
    midlet-jar-size: 7211
    MIDlet-Jar-URL: C:\WTK21\apps\playboy\bin\MIDmain.jar
    MIDlet-Permissions: javax.microedition.io.Connector.http
    MIDlet-Vendor: Sun Microsystems
    MIDlet-Version: 1.0
    MicroEdition-Configuration: CLDC-1.0
    MicroEdition-Profile: MIDP-1.0
    It seems to me that the Jar URL is in the jar descriptor, isn't it?
    Here is my MANIFEST.MF file, by any chance:
    MIDlet-1: MIDmain, MIDmain.png, MIDmain
    MIDlet-Name: MIDmain
    MIDlet-Permissions: javax.microedition.io.Connector.http
    MIDlet-Vendor: Sun Microsystems
    MIDlet-Version: 1.0
    MicroEdition-Configuration: CLDC-1.0
    MicroEdition-Profile: MIDP-1.0
    Any ideas?
    I'm using WTK21 on windows 2000

    Hi
    have you got any solution for the problem.If so please help as I am also facing the
    same issue.
    thanks
    Hello world!
    I'm having a problem with my J2ME midlet. I can build
    it correctly, but I'm having problems running it.
    When running that way :
    emulator -Dcom.sun.midp.io.http.proxy=0:0
    -Xdescriptor:C:\WTK21\apps\project\bin\MIDmain.jad
    I'm obtaining this error:
    com.sun.kvem.midletsuite.InvalidJadException: Reason =
    18
    Missing Jar URL in the jad descriptor
    here is my MIDmain.jad file:
    MIDlet-1: MIDmain, MIDmain.png, MIDmain
    MIDlet-Name: MIDmain
    midlet-jar-size: 7211
    MIDlet-Jar-URL: C:\WTK21\apps\playboy\bin\MIDmain.jar
    MIDlet-Permissions:
    javax.microedition.io.Connector.http
    MIDlet-Vendor: Sun Microsystems
    MIDlet-Version: 1.0
    MicroEdition-Configuration: CLDC-1.0
    MicroEdition-Profile: MIDP-1.0
    It seems to me that the Jar URL is in the jar
    descriptor, isn't it?
    Here is my MANIFEST.MF file, by any chance:
    MIDlet-1: MIDmain, MIDmain.png, MIDmain
    MIDlet-Name: MIDmain
    MIDlet-Permissions:
    javax.microedition.io.Connector.http
    MIDlet-Vendor: Sun Microsystems
    MIDlet-Version: 1.0
    MicroEdition-Configuration: CLDC-1.0
    MicroEdition-Profile: MIDP-1.0
    Any ideas?
    I'm using WTK21 on windows 2000

  • Manifest problem in compiling through ant (csc)

    Hi All,
    I have been trying to compile reports in Dot Net 2003 using ant script (by calling csc). But after compilation, when I try to see any report, I get the message - Unable to find the report in the manifest resources...-. I checked the generted DLL through ildasm.exe and found that the manifest does not have complete path with the rpt file as a namespace, where as the corresponding .cs file has complete path as namespace. For example, if report is present under:
    Project - Sales
    Folder - SalesReports
    Sub Folder - reports
    Report (present under sub folder) - SalesTrack.rpt
    then the namespace for .cs file is SalesReport.reports, but for the report file, it is just SalesTrack.rpt. But if the same report is compiled in DotNet studio, then the namespace is properly attached as SalesReports.reports.
    Is there any way to attach SalesReports.reports with the report name?
    Regards,
    Manish

    try copying the Csc.exe command line from the Output window when building in the IDE to see what you may be missing.

  • Manifest problem in nested jars

    I ve created an enterprise archive file ( APP.ear ) which contains all EJB's and WAR's etc.
    I also put in my APP.ear's manifest.mf file some application specific information (such as app-name=app-value).
    I wonder now how can my EJB's, WAR's, code... read this values?
    Shall I care about weblogic classloaders? is there any standard way? I want to keep my APP.ear 'clean' from absolut pathes and stuff that limit its portability.
    APP.ear
    +-- META-INF/manifest.mf
    +-- OtherJAR.jar (code here wants to read manifest above)
    Thanks for your time.

    While you could use the manifest for this, I wouldn't recommend it.
    instead add a directory in your ear named resources (or whatever you
    want to call it).
    In your OtherJar.jar add a manifest class-path entry to ../resources
    In resources, include your configuration files, perhaps my.xml
    In your code, you can do
    getClass().getClassLoader().getResourceAsStream("my.xml");
    -- Rob
    Jakkaro Jakkaro wrote:
    I ve created an enterprise archive file ( APP.ear ) which contains all EJB's and WAR's etc.
    I also put in my APP.ear's manifest.mf file some application specific information (such as app-name=app-value).
    I wonder now how can my EJB's, WAR's, code... read this values?
    Shall I care about weblogic classloaders? is there any standard way? I want to keep my APP.ear 'clean' from absolut pathes and stuff that limit its portability.
    APP.ear
    +-- META-INF/manifest.mf
    +-- OtherJAR.jar (code here wants to read manifest above)
    Thanks for your time.

  • Creating & Using .jar files and manifests

    I've read through hundreds of online tutorials on creating and using .jar's, but it's surprising how unhelpful they really are.
    I've been trying to make a java program of mine standalone, so I can distribute it to others and allow them to run it without use of a compiler, etc (ideally just a .exe or .bat that they double click on). Everything I've found says I need to create a .jar of my program in order to do this. I was finally able to create a .jar but I got different errors relating to "main-class" and "manifest" issues...I tried running it with javaw.exe and had the same problem.
    Some tutorials briefly discuss "meta manifest's", other's skip the concept all together in creating .jar's. I created a jar with:
    jar cf A2.jar c:\jarTester.java
    after changing my command prompt path to
    C:\Program Files\Java\jdk1.6.0_01\bin
    It created the .jar, but nothing worked. As above, it gave me errors relating to the "Main-Class" and "Manifest". So here's my question:
    What involvement does a "manifest" play in .jar's, and how do I create/use one to create a .jar? Why is it necessary to specify the "Main-Class" when I have already done so in my .java file?
    I believe that once I can get this "Main-Class" and "Manifest" problem straightened out, I will be able to create a batch file with the line:
    java -jar A2.jar
    is this correct? THANKS.

    I've read through hundreds of online tutorials on
    creating and using .jar's, but it's surprising how
    unhelpful they really are.really, hundreds?
    I've been trying to make a java program of mine
    standalone, so I can distribute it to others and
    allow them to run it without use of a compiler, etc
    (ideally just a .exe or .bat that they double click
    on). Everything I've found says I need to create a
    .jar of my program in order to do this. Make up your mind, do you want to make a jar or an exe?
    I was
    finally able to create a .jar but I got different
    errors relating to "main-class" and "manifest"
    issues...I tried running it with javaw.exe and had
    the same problem.
    Some tutorials briefly discuss "meta manifest's",
    other's skip the concept all togetherthat's because the manifest isn't usually necessary
    in creating
    .jar's. I created a jar with:
    jar cf A2.jar c:\jarTester.javaugh, that won't work. you need to put the class file in there, not the source. or you can put the source in as well if you want, but the class is necessary
    i'm ignoring the rest of this post for now
    go back to Google and type in jar manifest and read more

  • CUPS problems with PDF printing

    I am having all manner of problems with PDF printing.  Recently added a Lexmark MX710 and have 7 machines that were previously printing fine to an X652de a T652 as well as a Samsung CLP770.  All network printers.
    Now there are bizarre issues with PDF printing. CUPS version 1.6.1.  The MX710 will blue screen and reboot when printing one specific pdf without fail.  There are all kinds of random nonsensical results when printing from different locations.  A pdf that stalls the X and T652 with "filter error" will print from my own machine to the same printer, using the same versions of cups, .ppd file, and everything package related to cups.
    Yet other PDF files will print, while some print complete gibberish, I can't find any rhyme or reason or anything predictable about any of it other than to say printing postscript files works fine all around.
    This has been universally in KDE printing through Okular.
    I've tried some things I've found suggested, such as modifying the mime.conv as suggested by an old ubuntu thread, adding the a2ps package, all to zero effect.
    Last edited by TheWretched (2012-12-08 00:27:41)

    At this point the only reasonable explanation I can think of is that the ppd package I downloaded and installed via included shell script from lexmark for the mx710 caused this whole catastrophe.  The only common thread for this problem starting was that I used this on all of the affected machines and they now all manifest problems.  And on four of these machines this is literally all that was done, they were loaded in september, have not been updated via pacman in any way, and are running the exact same version of cups poppler, and okular that they were then, which was working, and now cannot print pdf to any printer at all without causing one of several problems depending on the printer.
    I cannot seem to get this reversed though.  I've gone so far as to force remove all the cups packages, and delete the files associated with the install script, but the problem remains afterward.  From what I can see so far all this lexmark package did was display a license agreement, then copy the ppd files in it's folder to /usr/share/ppd/Lexmark.  This particular printer, the mx710 has no .ppd available that I have found other than this one from Lexmark directly.  Open printing doesn't have anything for this model.
    This printer's driver has some kind of a cups filter driver with it that the install script presumably installs, I suspect this could be what caused the problem specifically, but I must not be removing it correctly, despite following the file removal suggestions in the Lexmark readme for uninstallation.  CUPS printing is something I am new to and only have a basic understanding of.
    To answer some specific questions I nearly forgot, I don't have cups pdf installed.  I have chrome installed which can successfully save pages to PDF, previously it could also print pdf, and presumably it prints everything as pdf given the cups pdf workflow.  That is also broken now too, so printing from the browser causes the printer to fail as well.  If I save as pdf from chrome, and print with adobe reader, it works.
    Last edited by TheWretched (2012-12-11 14:25:40)

  • Computer no longer recognizes mount point of hard drive

    Hello all,
    I have a perplexing problem here. When I was running a Verify Disk in Disk Utilities I got a "Keys Out of Order" error, and I cannot repair with either Disk Utility or using fsck.
    I ran a Hardware Test and nothing was wrong, so I decided to back everything up, wipe the drive, and re-install the OS. Problem is, DIsk Utility will not let me wipe my hard drive. The mount point shows up as just "/" instead of, for example, /Volumes/My Awesome Computer. I assume this is a symptom of my "Keys out of order" error, since I can see my boot camp partition just fine and can choose to erase it if I want to.
    I guess my question is, how can I wipe my Apple partition if the option is not even available to me to begin with? I tried booting up from my installation disks and doing an Archive and Install from there already, but my disks don't even recognize my Apple partition, so I can't even begin to re-install the OS from them.
    My only remaining idea is to re-partition my hard drive into another Apple partition, install there, and then unpartition, but I'm not sure if that'll work. Does anyone have any clues or advice?

    Update: I tried re-partitioning my drive, but that failed to initiate. I got this error: filesystem verify or repair failed.
    It's the same error that I get when I tried to repair my HD with Disk Utility. So, I cannot make new partitions, and my hard drive mount point remains unrecognized by my install CDs. Yet...I can log in and use it just fine. The only manifested problem I've had with this Keys Out of Order error is that I can no longer see my Apple partition from Boot Camp, but I'm worried this problem may get just worse and worse. Help would be greatly appreciated.

  • Audio missing on burned  DVD's

    Hi, After completing a project I try to burn a DVD on PE3. It burns the picture fine nut no audio. I try to burn the same to hard drive and again, good picture but no sound. Yet I am able to transfer it to tape no problem!
    What could be the cause? My DVD playback software reports no audio stream on the VOB files, so it looks like its not encoding audio. (I've checked all the settings.)
    Thanks

    Mark C Lawrie
    The reason that I questioned you on the Vaio involvement was
    1. I thought that I remembered a similar PE3/Vaio problem at another web site which ended with Adobe saying that there was no fix for it for PE3 and 4.
    2. And, there is the following Steve Grisetti FAQ on this kind of a topic:
    http://www.adobeforums.com/webx/.59b5a5ae
    Since Steve Grisetti is visiting this topic, for now I will step aside, just temporarily, for his further comments. I want to make sure that I am not mixing "apples and oranges" in my thoughts as applied to your specific situation. As author of the FAQ, he will tell us if I have.
    Many times, users have the same outwardly manifested problem, but have different causes for the problem.
    To be continued, if necessary.....

  • FIM WebService Connector

    Hi
    I'm struggling with the FIM Web service connector in different areas that i need some help with.
    For starters i just want to let you know that i've worked a great deal with the connector, and learned how to cope with most of the shortcomings and quirks. My work has mostly been for on-premise tasks, i.e. connecting to other on-premise systems.
    Now I am trying to connect to a Web service over the Internet, hence the security setup is significantly different from what I am used to in conjunction with the Web Service Connector.
    I this case the web services is https based and also requires a client certificate for authentication.
    The client certificate part is actually not a problem as the connector supports authenticating using client certificates natively and it works like a charm.
    My problems seems to be around using a https based web service, also that the web service presents itself as supporting both soap and soap12 requests. When I add the web service to the Web Service Configuration Tool, I receive a warning telling that one
    of my endpoints has a unsupported (custom) binding, that is not a basic http binding. I actually discover two endpoints that seem alike but the failing one is based on soap12. I am not able to remove the failing endpoint within the Web Service Configuration
    Tool and successive attempts to configure a Management Agent in FIM Sync Manager using this Web Service Project fails as unsupported bindings are used.
    According to the hotfix update 1.0.419.911 for the FIM WebService Connector - this update should address certain limitations towards custom bindings, so I tried to implement this update.
    But this gave another headache - after updating the Web Service Connector (actually uninstalling the old one, and installing the new one - as there seems to be some versioning mishaps) I am not able to start the Web Service Configuration Console as i am
    presented with the following error:
    Error occurred while running the tool
    Could not load flie or assemply 'Microsoft.MetaDirectorySericesEx,Version=4.1.2.0...etc...
    The error is: Strong name validation failed.
    I've tried several things to address the issue, i.e.:
     - Copying the Microsoft.MetaDirectorySericesEx.dll file from other folder to the UIShell\Web Service Configuration folder as the versions was not alike - resultet in manifest problems.
     - Turning off Strong Name Checking for the library in question - the Web Config tools has able to start but crashed when used.
     - Upgraded to newest build of FIM Sync (4.1.3559) - still not working.
    So - my actual questions are:
     - Does the FIM Web Service Connector support accessing web services that are https based in either the old (5.3.407.0) version or the new one (hotfix update 1.0.419.911) ?
     - What about soap12?
     - Did anyone succeed in implementing the new Web Service Connector update?
     - Any hints on solving the problem I encountered with the Web Service Connector ?
    Any input highly appreciated.
    Best regards
    Søren

    Got the Config Tool running today - yay!
    The problem was a missing entry in the config file of the Config tool (WSConfigTool.exe.Config).
    The Config tool assumed that the version of the Microsoft.MetadirectoryServicesEx.dll library registered was an older version as the current registered. The current version is depending on the build level of FIM.
    To fix the problem open the .config file of the FIM Sync Service (C:\Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service\Bin\miiserver.exe.config) and copy the section shown below, please note that the newVersion parameter varies
    depending on your FIM build level.
    <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <dependentAssembly>
    <assemblyIdentity name="Microsoft.MetadirectoryServicesEx" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="3.3.0.0-4.1.3.0" newVersion="4.1.4.0" />
    </dependentAssembly>
    <probing privatePath="Assemblies" />
    </assemblyBinding>
    </runtime>
    Open the .config file of the WS Config Tool (C:\Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service\UIShell\Web Service Configuration\WSConfigTool.exe.Config) and paste the section into the file just before the closing of the
    Configuration section </configuration>.
    This will redirect the WS Config Tool to use the version of the library that is currently registered in the assembly cache.
    Towards the problem with multiple bindings in a single web service - this seems to to a problem still :-(.
    Rgds
    Søren

  • Extension does not contain valid signature

    Hi all,
    I open again a thread about a problem at our extension installation on several computers.
    Few persons can't install our extensions. They get this message: " The extension xxx does not contain valid signature. The extension will not be installed"
    Our plugins worked always since the beginning ( about December 2010 )
    Our certificate is valid and has been created by TrustCenter.
    I use ucf.jar with correct parameters...
    I thought that's a manifest problem. So, I tried to generate plugins from Extension Builder trial version which generates manifest "automatically" but the result is the same. I also tried to get a release from a non-signed certificate ( 1024-RSA and 2048-RSA )....but unsuccessfull...
    How to get a extension with valid signature for all computers ?
    Thanks.
    Regards.
    Pierre RAFFA
    Aquafadas

    (@harbs: already budgeted for it )
    Yesterday we finalized our investigation and we now have a plan regarding the fix. Our #1 priority has been to get a working solution to customers ASAP. Here are the details:
    Problem
    The current implementation of Extension Manager cannot access the system root keychain on Mac 10.7.1. That is due to a particular component used by Extension Manager.
    Solution
    Stage 1:
    We will make a manual fix available by Friday 10/28 morning Pacific time. The fix will be a .swf that end-users should download and manually replace the Extension Manager .swf on their machines. After they replace the .swf, they can go ahead and install extensions using Extension Manager. This will only apply to users who are on Mac 10.7+. In addition, your users should be running Extension Manager CS5 or CS5.5 and should download the latest update through Adobe Update Manager if they haven't done so already.
    I understand that this is not optimal user experience but it is the fastest solution that we can make available.
    We will post the .swf and detailed instructions on this forum thread.
    Stage 2:
    We are already working on an update to Extension Manager that will be available through Adobe Update Manager in mid November. The update will work even if some of your users have replaced the Extension Manager .swf on Stage 1 above (ie it will overwrite the fix from Stage 1). Only users that face this problem will be notified to download the update.
    Note 1: Doing the manual fix is not necessary. You could still wait until the AUM update is available.
    Note 2: The fix we do in Stage 1 is different than the one we'll do for Stage 2.
    Note 3: No update is necessary for CS Extension Builder or the CS SDK.
    Please let me know if you have any questions or concerns.
    Thank you again for helping us in discovering and solving this issue and your understanding as we drive to a solution. I will keep you all posted as news develops.
    gabriel tavridis
    product manager
    Message was edited by: PECourtejoie (corrected date)

  • Purchased, Protected AAC music won't create Audio CD

    This is a newly manifested problem. I used to be able to do this. ANY playlist containing ANY purchased and protected AAC format music won't burn an audio CD on my onboard superdrive. The drive initializes the disk and iTunes reads "Writing...(first song)". However, nothing further happens.
    I have left the system alone for up to 30 minutes with no progress indicated on the burning status window. I have tried a variety of playlists with different combinations of protected and unprotected formats. (These playlists WILL create a data disk.) All protected songs will play on the computer. Ejecting the disk ruins the burn of course and I have wasted 12 CDs trying different configurations.
    ANY playlist with NO purchased songs burns properly and quickly as an audio CD or data disk. I have reauthorized the computer on iTunes. I have reinstalled iTunes7.0.2.
    G4, Quicksilver   Mac OS X (10.4.8)   Superdrive

    iTunes will only let you burn protected AAC audio 10 times.
    This is incorrect.
    You can burn purchased music in a specific playlist only 7 times.
    If you want to burn more, you need to change the playlist.

  • Intermittent video/audio freezes with Quantum Client

    I upgraded to Quantum 2 weeks ago.   On my client, I am experiencing intermittent video/audio freezes that last about a second (rewind/replay is normal so it is not a problem with the source material).   I have experienced the problem with both live TV and recorded shows.   Sometimes we can watch an hour or more with no problems then there will be a cluster of 5 or more events, often within less then a minute of each other.   At first I though this was just an audio dropout, but now see it is a problem with both sound/audio -- no pixelation, no blackouts, just screen freezing or going very slow for a second or two.
    At the suggestion of Verizon tech support, my connection to the client is all component and digital optical audio (I used to be HDMI for video, but because of my home theater needed to be digital optical for sound).
    I have also noticed times where the response to the remote on both the client and server systems slows down with delays.   For example, when watching a show on the server, if I hit the quick (1 minute) rewind key -- I will see the server blink indicating it got the IR command, but nothing happens for 10 seconds or more.  In fact, if I hit the key several times, it will queue up the commands and do a long rewind 10 - 30 seconds after the first remote keypress.
    Is this a media server problem?  On my latest call to tech support, they were suspecting a coax issue -- but rewiring my house is neither easy nor cheap.   Plus wouldn't a coax issue manifest problems all of the time as opposed to a quick series of problems in a 5 minute cluster an hour or so into a night's viewing.
    I would prefer to keep Quantum; but I have not yet returned my original multi-room DVR setup (that worked fine) and need to determine if this can be fixed or should I just give up and return the Quantum boxes instead.
    Any advice would be appreciated.
    Solved!
    Go to Solution.

    I have actually had a very good experience with Verizon Technical Support.  On my last call, tier 2 support did a remote test of my cable connections and detected a problem.   A technican was then scheduled to come to my house.   The technican addressed 4 problems.
    1.  The client boxes were sent to me without end-caps (signal terminators) for the coax out ports;
    2.  The 4 way spliter needed to be replaced (the original was provided by Verizon);
    3.  The fiber box was not properly grounded;  and
    4.  We moved the cable modem next to the splitter putting it closer to the other units and bypassing a 50' cable run that may or may not have had problems.  -- Of course this last fix had me running cat5e cable to the office where the modem was, but so it goes.
    Anyway, after those fixes, my droppout problem appears to have gone away.

  • Struts 1.1b3 & weblogic 6.1 sp2

    Hi,
              Somebody use Struts 1.1b3 with Weblogic 6.1Sp2 ?
              Some issues ?
              I try to deploy my 1.1b3 application, there's exception during the deployment...
              also,when i deploy struts-blank application ...
              When i deploy struts 1.02 blank application, no error...
              If somebody has any idea or suggestion ...
              Thx
              Pascal
              

    Yes it's exactly the same problem...
              Sugestions ? or solutions ? perhaps ...
              Philip Bower <[email protected]> wrote in message news:<[email protected]>...
              > Pascal,
              >
              > Here's something I posted to weblogic.developer.interest.general yesterday.
              > Is this your problem?
              >
              > -Phil
              >
              > > Subject: Re: WLS 6.1 SP2 and Struts 1.1b3 Manifest Problem
              > > From: Philip Bower <[email protected]>
              > > Newsgroups: weblogic.developer.interest.general
              > >
              > > I've solved my own problem. I learned that there was a sp4 (let alone a
              > > sp3) for WLS. Installed that and the problem went away. Sorry for the
              > > noise.
              > >
              > > -Phil
              > >
              > > Philip Bower <[email protected]> wrote in
              > > news:[email protected]:
              > >
              > >> When I try to deploy the struts-example.war or if I add the struts.jar
              > >> to any other web app I've created, I get this error when I start WLS
              > >> and it tries to deploy that war.
              > >>
              > >> java.lang.StringIndexOutOfBoundsException
              > >>
              > >> at weblogic.servlet.internal.WebAppHelper.resolveManifestName
              > >> (WebAppHelper.java:469)
              > >>
              > >> I'm using version 1.1b3 of struts. I'm having no problems with
              > >> version 1.0.2 of struts.
              > >>
              > >> I'm guessing its complaining about the manifest file in struts.jar,
              > >> but I don't understand why.
              > >>
              > >> Here's my version info and the stack trace (my web app is called
              > >> findme in this example). Thanks in advance.
              > >>
              > >> -Phil
              > >>
              > >> Server BuildWebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
              > >> All Server Product VersionsWebLogic Server 6.1 SP2 12/18/2001
              > >> 11:13:46 #154529 WebLogic XML Module 6.1 SP2 12/18/2001 11:28:02
              > >> #154529
              > >>
              > >> <Feb 11, 2003 7:45:25 AM EST> <Error> <J2EE> <Error deploying
              > >> application findme: Could not load findme>
              > >> <Feb 11, 2003 7:45:25 AM EST> <Error> <Management> <ApplicationManager
              > >> starting Config caught throwable
              > >> java.lang.reflect.UndeclaredThrowableException:
              > >> java.lang.StringIndexOutOfBoundsException: String index out of range:
              > >> -1
              > >> at java.lang.String.substring(String.java:1525)
              > >> at
              > >> weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper
              > >> .jav a:469)
              > >> at
              > >> weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.j
              > >> ava: 234)
              > >> at
              > >> weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebApp
              > >> Serv letContext.java:3407)
              > >> at
              > >> weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServlet
              > >> Cont ext.java:3376)
              > >>
              > >> at
              > >> weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContex
              > >> t.ja va:862)
              > >
              > >
              >
              >
              >
              >
              > [email protected] (sourisseau) wrote in
              > news:[email protected]:
              >
              > > Hi,
              > >
              > > Somebody use Struts 1.1b3 with Weblogic 6.1Sp2 ?
              > > Some issues ?
              > >
              > > I try to deploy my 1.1b3 application, there's exception during the
              > > deployment... also,when i deploy struts-blank application ...
              > >
              > > When i deploy struts 1.02 blank application, no error...
              > >
              > > If somebody has any idea or suggestion ...
              > > Thx
              > > Pascal
              

Maybe you are looking for

  • Does RMAN restore from 11.2.0.3 to 11.1.0.7?

    Hi Team, Interesting point is here, source is on 11.2.0.3 and somehow we missed 11.2.0 home on target (my team mate forgot to built new 11.2.0.3 home - we have 11.1.0 home), not sure how this rman restored/recovered  with no issues on target even it

  • Opening CS4 in CS3

    Jesus! From one version to the next, you are gonna tell me Adobe couldn't think up a way to still open CS4 docus in CS3?? I know about the INX extension and "saving down." But what if the document you have was saved by another person and this person

  • Wordpress 'Like' in comment section produces separate blank window

    Click on 'like' in comment section of post on WordPress producing blank window with the address shown below. I have tried this in Maxthon & IE, and all is normal. The blank window is a verification of some kind?? https://wordpress.com/public.api/conn

  • Sin(wt) function in formula node

    How to create a function in formula node and plot it for Vo vs t V = Vo * sin(wt) with frequency = 50Hz Vo = -350 to 350 Nghtcwrlr ********************Kudos are alwayzz Welcome !! ******************

  • How can i know at what id my iphone is locked , , because i have more then id

    how can i know at what id my iphone is locked, because i have more then id <Personal Information Edited by Host>