Line missing in the Manifest file

Hi,
I've encountered a problem when creating a Manifest file. My file is named 'mymanifest.mf' and it's as below:
Manifest-Version: 1.0
Class-Path: .;htmlparser.jar;xerces.jar
Main-Class: Mymainclass
Then I type the command in the command-line window:
jar -cvfm myjar.jar mymanifest.mf directory1 class1.class
The jar file 'myjar.jar' is created and can be opened by winrar, but the MANIFEST.MF file in the META-INF directory is strange, it is as below:
Manifest-Version: 1.0
Created-By: 1.3.1 (Sun Microsystems Inc.)
Class-Path: .;htmlparser.jar;xerces.jar
and the 'Main-Class' line is missing. I change the position of 'Main-Class' line and 'Class-Path' line, still the one line in the bottom is missing. Would you please tell me the reason? Is my manifest file wrong? Thanks a lot!

Hi,
You have to end the file with a new-line. From the documentation:
Be sure that any pre-existing manifest file that you use ends with a
new line. The last line of a manifest file will not be parsed if it doesn't end with a new line character.
Eyal Lupu

Similar Messages

  • Error: The following required field is missing from the launch file: jnlp

    PLEASE help me.
    I was at Starbuck's today trying to install new software for my new wireless internet card and when I finished I could no longer access any of my applications that require java... I have a macbook pro dual platform computer. When I try to access www.bayphoto.com to download my application it says: (see below) (which I think is strange because it's all about Starbuck's and it should be my java code- I think...). Like I said - I have no idea what's going on or how to fix this. Please help me or at least tell me whom to call- I feel so stupid- I just need help- ATT? Starbuck's? Sun?
    Error: The following required field is missing from the launch file: <jnlp>
    Under the "exceptions" tab it says:
    MissingFieldException[ The following required field is missing from the launch file: <jnlp>]
         at com.sun.javaws.jnl.XMLFormat.parse(XMLFormat.java:88)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:52)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:64)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:72)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Launcher.java:214)
         at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:127)
         at com.sun.javaws.Launcher.launch(Launcher.java:95)
         at com.sun.javaws.Main.launchApp(Main.java:305)
         at com.sun.javaws.Main.continueInSecureThread(Main.java:213)
         at com.sun.javaws.Main$1.run(Main.java:108)
         at java.lang.Thread.run(Thread.java:613)
    Under the "launch file tab" it says:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
    <title>AT&T Wi-Fi Service @ Starbucks</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="description" content="Starbucks Entertainment presented by AT&T Hotspot" />
    <meta name="keywords" content="AT&T, Starbucks, Wi-fi, Wifi, Hotspot, coffee, music, books, games, fresh sheet, third place, online" />
    <meta name="author" content="Starbucks Entertainment" />
    <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
    <script type="text/javascript" language="javascript" src="/dhtml/master.js"></script>
    <script type="text/javascript" language="javascript" src="/dhtml/x_core.js"></script>
    <script type="text/javascript" language="javascript" src="/dhtml/x_event.js"></script>
    <script type="text/javascript" language="javascript" src="/dhtml/x_xhr.js"></script>
    <script type="text/javascript" src="/dhtml/att/dhtml.js"></script>
    <style type="text/css">
    copied from starbucks master.css
    body {
         background:#200D06 url("/graphics/att/themes/sbux/hotspot_bkgd.jpg") repeat-x scroll;
         color:#555555;
         font-family:Arial,Helvetica,sans-serif;
         font-size:small;
         line-height:1.5em;
         margin:0pt;
         padding:0pt;
         text-align:center;
    #wrap {
         font-size:95%;
         margin:0pt auto;
         text-align:left;
         width:980px;
    #starbucksframe {
         margin:15px 0pt 0pt;
         padding:0pt;
    /*our addendae*/
    div#header {
         height:95px;
         width:980px;
         background-image:url("/graphics/att/themes/sbux/header_bg.jpg");
         background-repeat:no-repeat;
         margin:0px;
         background-top:0px;
         background-left:0px;
         background-color:transparent;
    div#btn_ctti {
         position:absolute;
         top:10px;
         margin-left:388px;
    div#sbux_lfrm {
         display:inline;
         font-size:10px;
         color:#FFFFFF;
         margin-left:245px;
         top:49px;
         position:absolute;
         line-height:10px;
         font-family:verdana,arial,helvetica,sans-serif;
    div#sbux_lfrm form {
         margin:0px;
    div#sbux_lfrm a, div#sbux_lfrm a:link, div#sbux_lfrm a:hover, div#sbux_lfrm a:active, div#sbux_lfrm a:hover {
         color:#FFFFFF;
    div#sbux_lfrm form label {
         display:none;
         visibility:hidden;
    div#sbux_lfrm form input, div#sbux_lfrm form select {
         font-family:verdana,arial,helvetica,sans-serif;
         vertical-align:middle;
    div#sbux_lfrm input.example {
         color:#656565;
    #sbux_lfrm_row1, #sbux_lfrm_row2 {
         margin:0px;
    #sbux_lfrm input#username, #sbux_lfrm input#password, #sbux_lfrm input#password_pw {
         width:136px;
         margin-right:6px;
         font-size:10px;
    #sbux_lfrm select#roamRealm {
         width:130px;
         font-size:10px;
         color:#656565;
         margin-right:6px;
    #sbux_lfrm_row2 {
         position:absolute;
         top:21px;
         left:-4px;
    div#aupAgree_row {
         margin-top:4px;
         position:relative;
         left:-4px;
    div#aup_box {
         float:left;
         position:relative;
         top:-3px;
    div#aup_text {
         float:left;
         line-height:10px;
    div#tm_badge {
         width:115px;
         height:94px;
         float:right;
         margin-right:0px;
         margin-top:0px;
    div#password_value {
         display:inline;
    div#hidden_pw_field {
         display:none;
         visibility:hidden;
    div#sbux_lfrm.css_form {
         margin-top:0px;
    </style>
    <style>
    /* IE specs */
    body {
         font-size: x-small; /* IE5 Win */
         voice-family: "\"}\"";
         voice-family: inherit;
         font-size: small;
    html>body { /* be nice to Opera */
         font-size: small;
    /* self-clearing floats
    /* trigger hasLayout and target ie5+6/win only */
    *:first-child+html #header,
    *:first-child+html #login_wrapper {
         height:95px;
    #ny_legal {
         color:#CAC3BF;
         font-size:11px;
         font-weight:bold;
         padding:0;
    #ny_legal a:link {
         color:#CAC3BF;
         font-size:11px;
         font-weight:bold;
         padding:0;
    </style>
    </html>
    TOO LONG TO INCLUDE ALL CODE

    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="file:///C:\eclipse\workspace\studentconverter\webroot" href="studentconverter.jar" >two things wrong here -
    first codebase is not legal URL, File.separator (backslash on windows) needs to be converted to forward slash in URL's.
    second, the href is not to the jnlp file, it is to the jar !
    href="studentconverter.jar" - should this be href="studentconverter.jnlp" ?
    /Dietz

  • WUC-17 Information was missing from the supplied file download request java

    Dear Forms Guru,
    Can anybody help why i'm receiving this error using webutil.
    WUC-17 Information was missing from the supplied file download request java..
    the result in my jinitiator console are the ff:
    Loading http://oracleserver.hfgmgroup.hfgm:8889/forms90/webutil/webutil.jar from JAR cache
    Loading http://oracleserver.hfgmgroup.hfgm:8889/forms90/webutil/jacob.jar from JAR cache
    Loading http://oracleserver.hfgmgroup.hfgm:8889/forms90/java/f90all_jinit.jar from JAR cache
    RegisterWebUtil - Loading WebUtil Version 1.0.5 Production
    Loading http://oracleserver.hfgmgroup.hfgm:8889/forms90/java/toolbar_images.jar from JAR cache
    connectMode=HTTP, native.
    Forms Applet version is : 90290
    2005-Feb-13 01:48:19.514 ERROR>WUC-17 [VBeanCommon.downloadFromURL()] Information was missing from the supplied file download request java.net.MalformedURLException: unknown protocol: c
    2005-Feb-13 01:48:33.504 ERROR>WUC-17 [VBeanCommon.downloadFromURL()] Information was missing from the supplied file download request java.net.MalformedURLException: unknown protocol: c
    2005-Feb-13 01:48:34.04 ERROR>WUC-17 [VBeanCommon.downloadFromURL()] Information was missing from the supplied file download request java.net.MalformedURLException: unknown protocol: c
    Many thanks in advance...
    benjie

    Benjamin,
    WebUtil tries to download the jacob.dll to the client. The error message you get is most likely caused by teh following section in teh webutil.cfg file
    install.syslib.location=/webutil
    ## Do not change the following lines unless instructed to do so
    install.syslib.0.7.1=jacob.dll|94208|1.0|true
    install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
    install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
    ## But you can add your own libraries in here
    #install.syslib.0.user.1=testwebutil.dll|204872|1.0|true
    If you have all these files available on the PC, then most likely the problem can be found in the virtual path setting for this directory
    <virtual-directory virtual-path="/webutil"
    real-path="c:/webutil/lib" />
    in /j2ee/Oracle9iDS/application-deployments/forms/forms90web/orion-web.xml
    Pleae refer to the webutil documentation for teh exact configuration steps.
    Hope this helps
    Frank

  • Error accessing JSp file from Tomcat4.1.27 at line:-1 in the jsp file: null

    Hi...when I tried to access my JSp file from tomcat 4.1.27 web server, I got the following error message. Can anyone help me out?
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Tomcat\work\Standalone\localhost\Tree\jspfiles\tree_jsp.java:8: '.' expected
    import java;
    ^
    C:\Tomcat\work\Standalone\localhost\Tree\jspfiles\tree_jsp.java:80: illegal start of expression
    private static java.util.Vector jspxincludes;
    ^
    C:\Tomcat\work\Standalone\localhost\Tree\jspfiles\tree_jsp.java:82: illegal start of expression
    public java.util.List getIncludes() {
    ^
    C:\Tomcat\work\Standalone\localhost\Tree\jspfiles\tree_jsp.java:280: '}' expected
    ^
    4 errors
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:534)

    You JSP has four compile errors:
    C:\Tomcat\work\Standalone\localhost\Tree\jspfiles\tree_jsp.java:8: '.' expected
    import java;Invalid import. You need to import a whole package (*) or single class.
    import java; is wrong
    import java.util.*; is right
    import java.util.List; is right
    C:\Tomcat\work\Standalone\localhost\Tree\jspfiles\tree_jsp.java:80: illegal start of expression
    private static java.util.Vector jspxincludes;
    C:\Tomcat\work\Standalone\localhost\Tree\jspfiles\tree_jsp.java:82: illegal start of expression
    public java.util.List getIncludes() {Check the lines before these to make sure you didn't leave off a semi-colon, parens (')') or bracket ('}').
    C:\Tomcat\work\Standalone\localhost\Tree\jspfiles\tree_jsp.java:280: '}' expectedYou are missing a closing bracket ('}') somewhere.
    The message about the "line -1" error is the standard message that is always given when there are compile errors in the JSP.

  • When I export an indesign document the graphics are missing from the eps file.

    When I export an indesign document the graphics are missing from the eps file.

    The why it isn't working can be a number of reasons. While I never have exported an EPS out of ID before, I just tried it and it worked fine.
    What "graphics" are missing? I used bitmaps, native drawn ID vector, lines and a placed EPS file. Came into AI as an opened EPS fine.
    Links up to date? For items not hitting the EPS, are they on a layer set to non-printing?
    In the export dialog,General tab, PostScript Level 3? Data format set to ASCII? On the Advanced tab, Send Data set to All? OPI off?

  • What's wrong with the manifest file????

    when i tried to jar using this command:
    java -jar aaa.jar
    i have an error saying:
    Failed to load Main-Class manifest attribute from aaa.jar
    so i tried editing my manifest file but no matter wad changes i make to the manifest file the same error occur so desperately, i remove the manifest file and the same error occur! can someone help me???

    If you want to execute a jar file using the -jar option, then you must put a Main-Class entry into the mainifest of the jar. The Main-Class must be the fully qualified name of the main class. The main class must be added to the jar correctly. The manifest must end with a blank line.
    If you still have problems, you need to post more information: the contents of the manifest, the fully qualified name of the main class, the command you are using to create the jar.
    You can also execute jar without using the -jar option. You do this by adding the jar to the classpath and specifying the main class as the application class to run. For example java -classpath aaa.jar MainClass

  • How to put chinese character in the Manifest file

    Hi,
    I want to know that how can we put chinese characters in the manifest file. Please suggest a solution.
    Regards

    [slightly confused stuff removed]Sorry, AmitChalwade123456, I know trolling can be very funny, but you're confusing the sh*t out of newbies with this almost-seems-usefull kind of talk.
    Stop that.
    And in case you really meant that seriously: Please refrain from giving advice with regard to encoding. What you posted is wrong (to put it mildly).

  • Restore - filename for datafile is missing in the control file

    I am practicing RMAN recovery procedures and I encountered a problem that I do not know how to solve.
    1) I took a hot backup of my test database.
    2) Create tablespace TS_DATA_TEMP
    3) Deleted tablespace TS_DATA which had 2 datafiles
    4) Created tablespace TS_DATA with 1 datafile
    5) shutdown database
    6) logged into RMAN in nomount
    7) restore controlfile from autobackup;
    8) alter database mount;
    9) restore database;
    RMAN> restore database;
    Starting restore at 22-AUG-08
    using channel ORA_DISK_1
    the filename for datafile 5 is missing in the control file
    skipping datafile 1; already restored to file /u02/oradata/EDM91/system01.dbf
    skipping datafile 2; already restored to file /u02/oradata/EDM91/undotbs01.dbf
    skipping datafile 6; already restored to file /u02/oradata/EDM91/index
    skipping datafile 3; already restored to file /u02/oradata/EDM91/sysaux01.dbf
    skipping datafile 7; already restored to file /u03/oradata/EDM91/TS_INDEX01.dbf
    skipping datafile 9; already restored to file /u03/oradata/EDM91/TS_LOB01.dbf
    skipping datafile 4; already restored to file /u02/oradata/EDM91/users01.dbf
    restore not done; all files readonly, offline, or already restored
    Finished restore at 22-AUG-08
    10) tried to recover
    Starting recover at 22-AUG-08
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 08/22/2008 15:04:22
    RMAN-06094: datafile 5 must be restored
    SQL> select name from v$datafile where file#=5;
    NAME
    /u04/oradata/EDM91/TS_DATA.dbf
    12) alter database backup controlfile to trace
    DATAFILE
    '/u02/oradata/EDM91/system01.dbf',
    '/u02/oradata/EDM91/undotbs01.dbf',
    '/u02/oradata/EDM91/sysaux01.dbf',
    '/u02/oradata/EDM91/users01.dbf',
    '/u04/oradata/EDM91/TS_DATA.dbf',
    '/u02/oradata/EDM91/index',
    '/u03/oradata/EDM91/TS_INDEX01.dbf',
    '/u04/oradata/EDM91/TS_DATA02.dbf',
    '/u03/oradata/EDM91/TS_LOB01.dbf'
    CHARACTER SET UTF8
    So i'm not sure what the problem is. Datafile TS_DATA.dbf is located in the control file but i'm getting the error: the filename for datafile 5 is missing in the control file.
    Suggestions on what's wrong with the control file?

    I found my mistake; a newbie error.
    I did not know I needed to include in my restore command the 'until' option when doing incomplete recovery. I only included the 'until' option in the recover command:
    original command
    restore database;
    recover database until sequence =123;
    should be
    restore database until sequence = 123;
    recover database until sequence =123;
    I usually run the command using a RUN block with a SET UNTIL SEQUENCE but this case I used the single commands separately.
    RUN
    +{+
    SET UNTIL sequence 123;
    RESTORE DATABASE;
    RECOVER DATABASE;
    +}+

  • Problem of  loading the Manifest file

    Hello Friends,
    I have developed a project in J2SE.I am creating a JAR file of it but I am facing a problem in doing that. My Problem is The Manifest File I have created is not loading by the JVM. I have created the Manifest file which contains the following code:
    Main-Class: secl/Login
    and save it with the name Login.mf in C drive where my project folder is also exists. Then run the following command:
    C:\>jar cvfm secl.jar Login.mf secl\*.class
    then, following error is shown:
    java.io.FileNotFoundException: Login.mf (The system cannot find the file specified)
    Then, I run the following command:
    C:\>reg query HKCR\jarfile\shell\open\command
    Then, I received the following msg:
    ! REG.EXE VERSION 3.0
    HKEY_CLASSES_ROOT\jarfile\shell\open\command
    <NO NAME> REG_SZ "C:\Program Files\Java\j2re1.4.1_03\bin\javaw.exe" -jar "%1" %*
    I think this msg says my files association is wrong. What is the meaning of this msg? My JAR file is created but Manifest file is not loading and main class is not read.Please help me about this.
    I am a self learner and there is no body here to help me.

    Hello Friends!
    I have successfully created the JAR file of my project with the Manifest File including my Main Class. I had just gave the following command:
    C:\>jar cfm secl.jar Manifest.txt secl/*.class
    and my jar file is created. But there is a problem, when I execute this jar file at command prompt by the following command:
    C:\>java -jar secl.jar
    the following error msg is shown:
    Exception in thread "main" java.lang.NoClassDefFoundError: secl/Login (wrong name: Login)
    And also when I execute it by double clicking it then the following error msg dialog box is shown:
    Could not find the main class.Program will exit!
    As you suggested, I gave the main class path in Manifest file as:
    Main Class: secl.Login
    but the same problem is still occurring.
    How can I solve this problem? Please help me.

  • Line 8060 of the INF file\i386\txtsetup.sif

    Hi !
    I have problems throw the formating..
    after partioning the disk...i want to formmat , but i can't do format iwith a sturtup disk...
     when i write A:>/ format C: (i take)
    bad command in a dos line (or somthing like this it doesn't work)
    2. throw booting from CD i take this problem
    Line 8060 of the INF file\i386\txtsetup.sif
    VIZ i can't install the windows xp

    is this a home made windows
    made with nlite or similar ?
    Line 8060 of the INF file\i386\txtsetup.sif
    thats the file you alter to make xp install without you having to enter any thing

  • Accessing the manifest file.

    I would like to be able to retrieve the version number from the manifest file from within my application. I know that I was able to do that when I was working on an ME project, but can't seem to find a method for it in regular Java. Any thoughts?

    Hmm, doesn't look like it. It cannot be called
    statically. And all the constructors for JarFile
    appear to need the name of the jar file. This is a
    bit bewildering, since it was a common routine in ME.From what you are saying, applications in ME are single jar resources. Not so in SE. How would the underlying system know which jar you want to look at?

  • How to modify the Manifest file in the JAR file

    Hi guys,
    i am having a JAR which contains one Manifest file and 10 class files.
    actually i want to do some changes on the manifest file, but by using the ,
    " jar -cmf new_manifest_file jar_fileName all_class_files " option i am able to modify the manifest file by repacking the .class also.
    i want to modify the manifest file without disturbing the existing class files in the JAR file.
    Thanx in advance.............! ! ! !
    bye,
    subbu

    yeah, that is correct.
    my doubt is,
    Is it possible to modify the Manifest file which is inside the jar file, by without disturbing the Class files.
    --Subbu                                                                                                                                                                                                                                                                                                                           

  • Problem is when iam exporting the jar file the manifest file  chaning

    LogWriter.java
    MiniBrowser.java
    SendMail.java
    TestMiniBrowser.java
    iam running the site scope program ,program is running fine
    i add the mail.jar and activation.jar
    when iam Exporting the JAR file ,the Manifest files is changing with out classpath
    only showing the like this
    Manifest-Version: 1.0
    Sealed: true
    Main-Class: p1.TestMiniBrowser
    Actually i created the manifest files like this ..
    Manifest-Version: 1.0
    Sealed: true
    Class-Path: mail.jar activation.jar icsops.jar
    Main-Class: p1.TestMiniBrowser
    problem is when iam exporting the jar file the manifest file is changing then iam not able the run the jar file ..

    iam Useing Eclipse sdk3.1
    after exporing the jar the manifewst is canging but iam updating mauvally but when iam runingg the jar file
    D:\pavansitescope>set calsspath=%classpath%C:\j2sdk1.4.1_03\bin;.;
    D:\pavansitescope>set calsspath=%classpath%D:\pavansitescope\mail.jar;.;
    D:\pavansitescope>set calsspath=%classpath%D:\pavansitescope\activation.jar;.;
    D:\pavansitescope>set calsspath=%classpath%D:\pavansitescope\mail-plugin.jar;.;
    D:\pavansitescope>java -jar icsops.jar
    Arguments Usage:
    1. URL link
    2. From Address
    3. To Addresses (seperated by comma)
    4. Mail Server Host Name
    D:\pavansitescope>java -jar icsops.jar [http://69.27.230.104/SiteScope/accounts/l]
    ogin5/htdocs/Progress.html [[email protected]|mailto:[email protected]] [[email protected]|mailto:[email protected]] HYDMA
    IL03
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/MessagingE
    xception
    at p1.TestMiniBrowser.start(TestMiniBrowser.java:42)
    at p1.TestMiniBrowser.main(TestMiniBrowser.java:156)
    D:\pavansitescope>

  • Reports_port is missing from the context file

    Hi,
    We are facing the reports_port issue while upgrading from 11.5.10.2 to 12.1.1 with db 10.2.0.4
    Attempting upload of Context file and templates to database...ERROR: InDbCtxFile.uploadCtx()
    : Exception : Error executng BEGIN fnd_gsm_util.upload_context_file(:1,:2,:3,:4,:5); END;: 1; The e
    lement reports_port is missing from the context file /u09/oracle/instdap9/apps/DAA_tng1/appl/ad
    min/DAA9_tng1.xml. The context file upload will not continue.
    We are not able to proceed from this tep.
    We can see reports_port under database context file, but it is missing from application context file.
    We are doing the multiuser single server upgrade on HP-UX .
    Tried the given solutions and still not able to overcome this.
    Expecting your guidance.
    Sony

    I know this is duplicate, but I badly need a solution for this and expecting advice from those who has successfully recovered from this solution.
    In the other thread subject is different and I am gettign this error in the logs.
    So, any help is welcome on this thread or the thread mentioned by Hussein.
    Thanks
    Sony

  • Taglib don't work!An error occurred at line: -1 in the jsp file: null?!

    Hi everyone:
    I write a simple jsp file with taglib to test whether it can work property.But it says"org.apache.jasper.JasperException: Unable to compile class for JSP
    "When I compile it with Tomcat4.1.The specific error information in the browser is ://////////////////////////error info///////////////////////////////////
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Since fork is true, ignoring compiler setting.
    [javac] E:\Tomcat4\work\Standalone\localhost\_\testtag_jsp.java:82: can't resolve the charactor [javac] charactor��class Tagtest
    [javac] location��class in org.apache.jsp.testtag_jsp
    [javac] Tagtest jspxth_lyotag_tag_0 = (Tagtest) jspxtagPool_lyotag_tag.get(Tagtest.class);
    [javac] ^
    [javac] E:\Tomcat4\work\Standalone\localhost\_\testtag_jsp.java:82: Can't resolve the character [javac] charactor��class Tagtest
    [javac] location��class in org.apache.jsp.testtag_jsp
    [javac] Tagtest jspxth_lyotag_tag_0 = (Tagtest) jspxtagPool_lyotag_tag.get(Tagtest.class);
    [javac] ^
    [javac] E:\Tomcat4\work\Standalone\localhost\_\testtag_jsp.java:82: can't resolve the charactor [javac] character��class Tagtest
    [javac] location��class in org.apache.jsp.testtag_jsp
    [javac] Tagtest jspxth_lyotag_tag_0 = (Tagtest) jspxtagPool_lyotag_tag.get(Tagtest.class);
    [javac] ^
    [javac] three error
    But I have include the package in my java file:
    ////////////////////////Tagtest.java///////////////////////////
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    import java.io.Writer;
    public class Tagtest extends TagSupport{
         public int doStartTag()throws JspException{
         try{
              JspWriter out=pageContext.getOut();
              out.println("hello Tag!");
         }catch(Exception e){
              return SKIP_BODY;
    //////////////////////////////Tagtest.tld//////////////////////////
    <tag>
    <name>tag</name>
    <tag-class>Tagtest</tag-class>
    <body-content>empty</body-content>
    <description>
    Perform a server side action; Log the message.
    </description>
    </tag>
    //////////////////////////testtag.jsp////////////////////////
    <%@ taglib uri="/taglib/Tagtest.tld" prefix="lyotag"%>
    <h6>Hi Lyo</h6>
    <lyotag:tag/>
    Why can't compile my jsp file?Where is it wrong?Please help me.Thank you!

    In the tomcat4 console:
    Compile failed; see the compiler error output for details.
    at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
    at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
    at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:317)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContex
    .java:473)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
    .java:190)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
    95)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
    icationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application
    ilterChain.java:193)
    It seems that tomcat can't find the javac in the classpath.But I set it in my win2000! And it could compile the java file using javac command!Why???

Maybe you are looking for

  • How can I access the Server file system without using any signed applet?

    Is it possible for me to run an applet on the client machine such that the client can view my server file system and perform uploading and downloading of files through the applet without signing the applet?

  • SQL functions in Script Logic

    I want to build a script logic but the dimensions that I am testing do not have the fields I want in the format I want. In my case I would like to test the "Start" property in the Employee dimension. The property represents the employee start date bu

  • My internet is not connecting with my iphone 4, help me please?

    I click on the wifi network, then it loads, it loads but does not connect since yesterday. HELP ME?

  • Why does Reader for Android want access to my GMail?

    I was about to update Adobe Reader  on my Droid X just now and decided to review what changes were being  made to the application's permissions. Apparently now I would have to  "Allow this application to access: Your messages (read Gmail)" Why would

  • Playback gives black screen after a few times

    Hi! This is my problem. I just installed Adobe Premiere CS6. After trying it a few hours the program has allready frozen a dozen times and unexpectedly quit a few times. Is there some major bugs in the CS6? (One of the recurring problems is the playb