What is wrong in my web file

Hi all,
when I add the following code into my web xml file.
<login-config>
    <auth-method>form</auth-method>
      <form-login-config>
             <from-login-page>/login.html</form-login-page>
             <from-error-page>/ErrorLogin.jsp</form-error-page>
      </form-login-config>
</login-config>I can not access my seit either at
http://*******/******/login.html or
http://*******/******/ErrorLogin.jsp
what is wrong?
thank you

Hi all
should
   <form name="test" action="secure/display1.jsp" method="post" >  web xml file
<welcome-file-list>
        <welcome-file>Home.html</welcome-file>          
</welcome-file-list>
<security-constraint>
          <web-resource-collection>
               <web-resource-name>SecurePages</web-resource-name>
               <description>Security constraint for resources in the secure directory</description>
               <url-pattern>/secure/*</url-pattern>
               <http-method>POST</http-method>
               <http-method>GET</http-method>
          </web-resource-collection>
          <auth-constraint>
               <description>only let the system user login </description>
          </auth-constraint>
          <user-data-constraint>
               <description>SSL not required</description>
               <transport-guarantee>NONE</transport-guarantee>
          </user-data-constraint>
     </security-constraint>
         <login-config>
              <auth-method>FORM</auth-method>
              <form-login-config>
                   <form-login-page>/login.html</form-login-page>
                   <form-error-page>/ErrorLogin.jsp</form-error-page>
              </form-login-config>
         </login-config>
</web-app> Thank you

Similar Messages

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

    Hello!
    I am tryig to implement a "Filter" on my Apache tomcat server. The problem occures when I try to modify the XML-file on the server. This is the XML file:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
                        <!-- The Filter -->
    <filter>       
         <filter-name>LoginChecker</filter-name>
         <filter-class>filters.LoginFilter</filter-class> 
    </filter>
                        <!-- The Filter Mapping -->
    <filter-mapping>       
         <filter-name>LoginChecker</filter-name> 
         <url-pattern>/secret/*</url-pattern> 
    </filter-mapping>
                        <!-- The Servlets -->
    <servlet>
            <servlet-name>SLoginHandler</servlet-name>
            <servlet-class>LoginHandler</servlet-class>
    </servlet>
    <servlet>
             <servlet-name>SProtectedResource</servlet-name>
             <servlet-class>ProtectedResource</servlet-class>
    </servlet>
    <servlet>
            <servlet-name>SRegister</servlet-name>
             <servlet-class>Register</servlet-class>
    </servlet>
    <servlet>
            <servlet-name>SVerify</servlet-name>
             <servlet-class>Verify</servlet-class>
    </servlet>
                        <!-- ....The Servlets Mapping -->
    <servlet-mapping>
            <servlet-name>SLoginHandler</servlet-name>
             <url-pattern>/LoginHandler</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
             <servlet-name>SProtectedResource</servlet-name>
             <url-pattern>/ProtectedResource</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
             <servlet-name>SRegister</servlet-name>
             <url-pattern>/Register</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
            <servlet-name>SVerify</servlet-name>
            <url-pattern>/Verify</url-pattern>
    </servlet-mapping>
    </web-app>When I try to run another sevlet on the server side, e.g, "Verify", I'll get an error message. BUT if I changethe XML file to (remove the "filter" spec):
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
                        <!-- The Servlets -->
    <servlet>
            <servlet-name>SLoginHandler</servlet-name>
            <servlet-class>LoginHandler</servlet-class>
    </servlet>
    <servlet>
             <servlet-name>SProtectedResource</servlet-name>
             <servlet-class>ProtectedResource</servlet-class>
    </servlet>
    <servlet>
            <servlet-name>SRegister</servlet-name>
             <servlet-class>Register</servlet-class>
    </servlet>
    <servlet>
            <servlet-name>SVerify</servlet-name>
             <servlet-class>Verify</servlet-class>
    </servlet>
                        <!-- ....The Servlets Mapping -->
    <servlet-mapping>
            <servlet-name>SLoginHandler</servlet-name>
             <url-pattern>/LoginHandler</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
             <servlet-name>SProtectedResource</servlet-name>
             <url-pattern>/ProtectedResource</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
             <servlet-name>SRegister</servlet-name>
             <url-pattern>/Register</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
            <servlet-name>SVerify</servlet-name>
            <url-pattern>/Verify</url-pattern>
    </servlet-mapping>
    </web-app>The servlet "Verify", or some other servlet, will work!!!
    What is wrong with my filter spec in the XML file?????

    hepp, no one asked for it...so no one will get it!
    BUT if "stevejluke" want another duke so let me know!

  • What's wrong with my plist file?

    Here's my plist file
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd >
        <plist version="1.0">
        <dict>
          <key>Label</key>
          <string>com.homebrew.autoupdate</string>
          <key>ProgramArguments</key>
          <array>
            <string>/usr/local/bin/brew_up</string>
          </array>
          <key>StartInterval</key>
          <integer>86400</integer>
          <key>StandardErrorPath</key>
          <string>/usr/local/var/log/brew.log</string>
          <key>StandardOutPath</key>
          <string>/usr/local/var/log/brew.log</string>
        </dict>
        </plist>
    `/usr/local/bin/brew_up` is just a script which calls `brew update`, `brew upgrade` etc
        #!/bin/sh
        echo `date`: Start updating brew
        /usr/local/bin/brew update && /usr/local/bin/brew upgrade && /usr/local/bin/brew cleanup
        echo `date`: Finish updating brew
    Then I loaded that file by `launchctl load ~/Library/LaunchAgents/homebrew.autoupdate.plist`
    Then I tried `launchctl start com.homebrew.autoupdate`, it also worked fine.
    But the thing is, it won't start every 24 hours, as I'd expected. Actually now over 48 hours has passed, it's still not started even once. What's wrong here?
    Then I changed `StartInterval` to `StartCalendarInterval`
          <key>StartCalendarInterval</key>
          <dict>
            <key>Hour</key>
            <integer>21</integer>
          </dict>
    Then it was started indefinitely, here's the log file:
        Thu Aug 7 21:17:20 CST 2014: Finish updating brew
        Thu Aug 7 21:17:20 CST 2014: Start updating brew
        Already up-to-date.
        Thu Aug 7 21:18:14 CST 2014: Finish updating brew
        Thu Aug 7 21:18:14 CST 2014: Start updating brew
        Already up-to-date.
        Thu Aug 7 21:19:39 CST 2014: Finish updating brew
        Thu Aug 7 21:19:39 CST 2014: Start updating brew
        Already up-to-date.
        Thu Aug 7 21:22:28 CST 2014: Finish updating brew
        Thu Aug 7 21:22:28 CST 2014: Start updating brew
        Already up-to-date.
        Thu Aug 7 21:24:46 CST 2014: Finish updating brew
        Thu Aug 7 21:24:46 CST 2014: Start updating brew
        Already up-to-date.
        Thu Aug 7 21:27:03 CST 2014: Finish updating brew
        Thu Aug 7 21:27:03 CST 2014: Start updating brew
    What the h*ll?

    When I use
      <key>StartCalendarInterval</key>
      <dict>
        <key>Minute</key>
        <integer>0</integer>
        <key>Hour</key>
        <integer>21</integer>
      </dict>
    It's all good.
    What's bugging me is why StartInterval would't work. Any when I wrote a simple demo about StartInterval, it totally worked!
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd >
    <plist version="1.0">
    <dict>
      <key>Label</key>
      <string>com.test.touch</string>
      <key>ProgramArguments</key>
      <array>
      <string>touch</string>
      <string>/tmp/touched.txt</string>
      </array>
      <key>StartInterval</key>
      <integer>60</integer>
    </dict>
    </plist>

  • What is wrong with my txt file or merge doc?

    I'm trying to merge data from a txt file.  It's for name badges.  I've got the document designed (8-1/2 x 11" Avery 5392, 6 badges per sheet) and connected successfully to my data source.  There are only 4 types of info in the txt file (agency name, state, name, title).  When I create the merge fields for each badge position and click preview, I only get the first record repeated into each of the 6 locations on the page.  What am I missing or doing wrong?  I'm using InDesign CS2.
    I've attached the txt file.
    I've also attempted this with a csv file with and got the same results.
    Thanks.

    I downloaded your sample files, and here is what I had to adjust:
    1, I made the master page a single page; not facing pages. I changed from inches to picas
    2. I made two layers: one for graphics and second for text, above the graphics layer
    3. I put the artwork ai file on the graphics  layer on the master page
    4. I deleted 5 of 6 duplicate text frames on page 1; leaving only the first upper left text frame
    5. I moved that lone textframe to the master page, in the same relative position
    6. Text in that text frame should have been controlled with paragraph styles, BTW, but that is a detail
    7. I returned to view page 1
    Then, going to the DataMerge panel, I turned on preview and also clicked the right-most button at the bottom of the panel to setup the merge.
    All records and Multiple Records per document page
    Then, onto the Multiple Record Layout tab:
    Top margin 16pica
    Bottom margin 3pica
    Left margin 2pica
    Right margin 2pica
    Spacing between columns 1p6
    Spacing between rows 11p6
    Check on Preview Multiple Record Layout
    OK to generate
    So, it turns out your txt file was OK as it was.
    Mike Witherell in Maryland

  • What's wrong with the JSP file??Urgent Help Request

    I have run some JSP files using Apache Tomcat 4.0 but I see many similar error message for the JSP files when running on the IE. I don't whether I should install some other software or components or just program errors in the JSP files.
    The error messages are as follows:
    javax.servlet.ServletException: oracle/xml/parser/v2/XMLParseException
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:457)
    at org.apache.jsp.edit_0005fquiz_0005flist$jsp._jspService(edit_0005fquiz_0005flist$jsp.java:154)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
    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:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
    at java.lang.Thread.run(Thread.java:536)
    root cause
    java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseException
    at EntityBase.(EntityBase.java:18)
    at QuizGen.(QuizGen.java:16)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:296)
    at java.lang.Class.newInstance(Class.java:249)
    at java.beans.Beans.instantiate(Beans.java:204)
    at java.beans.Beans.instantiate(Beans.java:48)
    at org.apache.jsp.edit_0005fquiz_0005flist$jsp._jspService(edit_0005fquiz_0005flist$jsp.java:122)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
    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:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
    at java.lang.Thread.run(Thread.java:536)
    And the reference JSP file is:
    <%@page language="java" import="java.io.*, java.sql.*, DBSession, QuizGen"%>
    <jsp:useBean id="sess" scope="session" class="DBSession"/>
    <jsp:useBean id="quizGen" scope="session" class="QuizGen"/>
    <%@include file="common.jsp"%>
    <%
    quizGen.setSession(sess);
    quizGen.build();
    quizGen.print(new PrintWriter(out), this.getURLPath(request, "edit_quiz_list.xsl"));
    %>
    another JSP file:
    <%@page language="java" import="java.io.*, java.sql.*, eQuizMetadata"%>
    <jsp:useBean id="eQuiz" scope="session" class="eQuizMetadata"/>
    <%@include file="common.jsp"%>
    <%
    Integer nextQues = (Integer) session.getAttribute("eQuiz_nextQues");
    session.setAttribute("eQuiz_nextQues", new Integer(nextQues.intValue()+1));
    if (nextQues.intValue() > 0) {
    if (request.getParameter("QueType").equals("F")) {
    eQuiz.checkAnswer(request.getParameter("answer"));
    else{
    if (request.getParameter("QueType").equals("H")) {
    eQuiz.checkAnswer(request.getParameter("map"));
    else{
    if(request.getParameter("QueType").equals("A")) {
    String sAns = "";
    if (request.getParameter("MAT1") != null) sAns += request.getParameter("MAT1");
    if (request.getParameter("MAT2") != null) sAns += request.getParameter("MAT2");
    if (request.getParameter("MAT3") != null) sAns += request.getParameter("MAT3");
    if (request.getParameter("MAT4") != null) sAns += request.getParameter("MAT4");
    eQuiz.checkAnswer(sAns);
    else{
    if (request.getParameter("Cardinality").equals("S"))
    eQuiz.checkAnswer(request.getParameter("MC"));
    else {
    String sAns = "";
    if (request.getParameter("MR1") != null) sAns += request.getParameter("MR1");
    if (request.getParameter("MR2") != null) sAns += request.getParameter("MR2");
    if (request.getParameter("MR3") != null) sAns += request.getParameter("MR3");
    eQuiz.checkAnswer(sAns);
    eQuiz.calAbility();
    // meet one of the stopping criteria?
    if (eQuiz.checkStopQuiz()) {
    %>
    <jsp:forward page="eQuiz_result.jsp"/>
    <%
    %>
    <html>
    <head>
    <title>QuizML Management System</title>
    </head>
    <frameset border="0" rows="30,*">
    <frame src="eQuiz_head.jsp" name="head" noresize scrolling="no">
    <frame src="eQuiz_detail.jsp" name="detail" scrolling="auto">
    </frameset>
    </html>

    Your JSP refers to the class:
    oracle/xml/parser/v2/XMLParseException
    ...which isn't in your webapps class path... you need to find the jar that contains the parser and drop it into WEB-INF/lib for your app, or the Tomcat lib directory.

  • What's wrong with my recursive file search that add files to hsqldb?

    I'm pretty new to databases under java. I choose hsqldb because I needed an embedded database. My program runs through all the files in a directory and stores the results to a database. Later on I can do advanced, fast searches on the results plus carry out effects like permissions on files. I wrote a recursive search and I got the tutorials off of the hsqldb site. The following code works but I don't know if it's good on memory or whether there's some potential problems I can't see. Can someone take a look and tell me if this looks ok? Also how can I find out whether a table exists or not?

    Can't believe I forgot to post the code:
    package databasetests;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    public class DatabaseTests {
      static Connection conn;
      public DatabaseTests(String x) {
          try {
            Class.forName("org.hsqldb.jdbcDriver");
            conn = DriverManager.getConnection("jdbc:hsqldb:file:" + x, "sa", "");
          } catch (Exception e) {}
      public void shutdown() throws SQLException {
        conn.close();
      public synchronized void query(String x) throws SQLException {
        Statement st = null;
        ResultSet rs = null;
        st = conn.createStatement();
        rs = st.executeQuery(x);
        dump(rs);
        st.close();
      public synchronized void update(String x) throws SQLException {
        Statement st = null;
        st = conn.createStatement();
        int i = st.executeUpdate(x);
        if (i==-1) System.out.println("db error: " + x);
        st.close();
      public static void dump(ResultSet rs) throws SQLException {
        ResultSetMetaData meta = rs.getMetaData();
        int colmax = meta.getColumnCount();
        Object o = null;
        for (; rs.next(); ) {
          for (int i=0;i<colmax;++i) {
            o = rs.getObject(i+1);
            System.out.println(o.toString() + " ");
          System.out.println(" ");
      public static void recursiveSearch(String x,int level) {
        DatabaseTests db = null;
        try {
          db = new DatabaseTests("database");
        catch (Exception ex1) {
          ex1.printStackTrace();
          return;
        String tempFile="";
        StringTokenizer tokenString = new StringTokenizer("");
        File dir = new File(x);
        File[] curDir = dir.listFiles();
        for (int a=0;a<curDir.length;a++) {
          if (curDir[a].isDirectory()==false) {
            System.out.println(curDir[a]);
            try {
              tempFile=curDir[a].toString();
              System.out.println(tempFile);
              db = new DatabaseTests("database");
              db.update("INSERT INTO tblFiles (file_Name) VALUES ('" + tempFile + "')");
              db.shutdown();
            } catch (Exception ex2) { ex2.printStackTrace(); }
          else {
            try {
              tempFile=curDir[a].toString();
              System.out.println(tempFile);
              db = new DatabaseTests("database");
              db.update("INSERT INTO tblFiles (file_Name) VALUES ('" + tempFile + "')");
              db.shutdown();
            } catch (Exception ex2) { ex2.printStackTrace(); }
            tokenString = new StringTokenizer(tempFile,"\\");
            if (tokenString.countTokens()<=level) recursiveSearch(tempFile, level);
      public static void main(String[] args) {
        DatabaseTests db = null;
        try {
          db = new DatabaseTests("database");
        catch (Exception ex1) {
          ex1.printStackTrace();
          return;
        try {
          //db.update("CREATE TABLE tblFiles (id INTEGER IDENTITY, file_Name VARCHAR(256))");
          db.query("SELECT file_Name FROM tblFiles where file_Name like 'C:%Extreme%'");
          db.shutdown();
        catch (Exception ex2) {}
        String tempFile="";
        int level=5;
        tempFile="C:/Program Files";
        //recursiveSearch(tempFile,level);
    }

  • "No image found in subtitle script line" -- What's wrong with my FAB file import?

    I've used Encore for years, version 4 and now 5.1 on both Mac and PC (Windows 7).
    I export FAB files with bitmaps from my subtitling program and import them into subtitle tracks in Encore.
    The last few times this has not worked.  Every time I export FAB files and try to import them into Encore, I get the error message "No image found in subtitle script line."  I've used different machines and different versions (4 and 5.1) of Encore.
    There are indeed images (bitmaps) in the folder containing the FAB file.
    Is there a solution to this problem?
    Thank you!

    I don't recall anyone describing this problem. If you can post a link to a short fab script, I'll test it in an Encore project. I am CS5 only, but it is worth a shot.

  • What's wrong with the JSP files?? Urgent Help Request

    I have run some JSP files using Apache Tomcat 4.0 but I see many similar error message for the JSP files when running on the IE. I don't whether I should install some other software or components or just program errors in the JSP files.
    The error messages are as follows:
    javax.servlet.ServletException: oracle/xml/parser/v2/XMLParseException
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:457)
         at org.apache.jsp.edit_0005fquiz_0005flist$jsp._jspService(edit_0005fquiz_0005flist$jsp.java:154)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
         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:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
         at java.lang.Thread.run(Thread.java:536)
    root cause
    java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseException
         at EntityBase.(EntityBase.java:18)
         at QuizGen.(QuizGen.java:16)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at java.lang.Class.newInstance0(Class.java:296)
         at java.lang.Class.newInstance(Class.java:249)
         at java.beans.Beans.instantiate(Beans.java:204)
         at java.beans.Beans.instantiate(Beans.java:48)
         at org.apache.jsp.edit_0005fquiz_0005flist$jsp._jspService(edit_0005fquiz_0005flist$jsp.java:122)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
         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:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
         at java.lang.Thread.run(Thread.java:536)
    And the reference JSP file is:
    <%@page language="java" import="java.io.*, java.sql.*, DBSession, QuizGen"%>
    <jsp:useBean id="sess" scope="session" class="DBSession"/>
    <jsp:useBean id="quizGen" scope="session" class="QuizGen"/>
    <%@include file="common.jsp"%>
    <%
    quizGen.setSession(sess);
    quizGen.build();
    quizGen.print(new PrintWriter(out), this.getURLPath(request, "edit_quiz_list.xsl"));
    %>
    another JSP file:
    <%@page language="java" import="java.io.*, java.sql.*, eQuizMetadata"%>
    <jsp:useBean id="eQuiz" scope="session" class="eQuizMetadata"/>
    <%@include file="common.jsp"%>
    <%
    Integer nextQues = (Integer) session.getAttribute("eQuiz_nextQues");
    session.setAttribute("eQuiz_nextQues", new Integer(nextQues.intValue()+1));
    if (nextQues.intValue() > 0) {
    if (request.getParameter("QueType").equals("F")) {
    eQuiz.checkAnswer(request.getParameter("answer"));
    else{
    if (request.getParameter("QueType").equals("H")) {
    eQuiz.checkAnswer(request.getParameter("map"));
    else{
    if(request.getParameter("QueType").equals("A")) {
    String sAns = "";
         if (request.getParameter("MAT1") != null) sAns += request.getParameter("MAT1");
         if (request.getParameter("MAT2") != null) sAns += request.getParameter("MAT2");
         if (request.getParameter("MAT3") != null) sAns += request.getParameter("MAT3");
         if (request.getParameter("MAT4") != null) sAns += request.getParameter("MAT4");
         eQuiz.checkAnswer(sAns);
         else{
              if (request.getParameter("Cardinality").equals("S"))
              eQuiz.checkAnswer(request.getParameter("MC"));
              else {
              String sAns = "";
              if (request.getParameter("MR1") != null) sAns += request.getParameter("MR1");
              if (request.getParameter("MR2") != null) sAns += request.getParameter("MR2");
              if (request.getParameter("MR3") != null) sAns += request.getParameter("MR3");
              eQuiz.checkAnswer(sAns);
    eQuiz.calAbility();
    // meet one of the stopping criteria?
    if (eQuiz.checkStopQuiz()) {
    %>
    <jsp:forward page="eQuiz_result.jsp"/>
    <%
    %>
    <html>
    <head>
    <title>QuizML Management System</title>
    </head>
    <frameset border="0" rows="30,*">
    <frame src="eQuiz_head.jsp" name="head" noresize scrolling="no">
    <frame src="eQuiz_detail.jsp" name="detail" scrolling="auto">
    </frameset>
    </html>

    root cause
    java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseExceptionYou simply don't have the "oracle.xml.parser.v2.XMLParseException" class in your classpath at run-time.

  • 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

  • What's wrong with my Quartz files?

    I have an issue with Quartz Composer files. Some screensaver files, like arabesque, shell spectrum, and RSS visualizer, crash system preferences whenever i try to select them. Also, the actual files (the ones in the system folder) make the finder crash whenever i try to open them or use quick look. I've already replaced the files thinking they were corrupted, but it keeps happening. I transferred the files to my old iMac G5 and it reads them just fine! Help!!
    Also, iChat keeps crashing whenever i try to use the video effects.
    Message was edited by: Craig Anschuetz

    Have you by any chance installed the beta version of the upcoming Safari? If so, that's the problem. See this thread for more details:
    http://discussions.apple.com/thread.jspa?messageID=7975911
    If you aren't using the beta Safari afraid I don't know. Mine are all working just fine in 10.5.5. I don't use iChat, so don't know if that would be affected by the same problems.
    Francine
    Francine
    Schwieder

  • I can't read acsm files on my e-reader after transferring them from the pc with ADE. it seems to work, but then when I try to open the files on the e-reader it says "open failure". what's wrong?

    I can't read acsm files on my e-reader after transferring them from the pc with ADE. it seems to work, but then when I try to open the files on the e-reader it says "open failure". what's wrong?

    The acsm file is not the book, it is a ticket to get the book.  I sometimes get library books online, here is what I do.
    1. Start ADE on the computer
    2. Go to library website and find the book I want to download.
    3. Click on the download link
    4. In windows 7 a box opens asking whether I want to open( or run) or save the acsm file
    5. Click open/run and ADE downloads the book into the "Library"
    6. Transfer the book (epub file) to the reader.

  • When I save for web and device in Illustrator, I see all the pixels... What is wrong?

    I have created a vector image. When I save for web and device in Illustrator, the image does not come out clear even if I'm saving the image the same size as the artboard. I can see the coutours (pixels)... I've opened the file on another computer and everything is perfect. What is wrong on my computer?
    I have reinstalled the program and did all the updates. What else can I try?
    Thank you!

    So that you know next time that option is no longer available so to speack it is now under a dropdown wiht the default none then Type Optimized or Art Optimized in CS 5 and operhaps CS 4 as well

  • The printing of .pdf file from Project 2013 stops when the file name should be written. Project 2013 crashes. Does someone know what is wrong between Project 2013 and Adobe Acrobat 9?

    The printing of .pdf file from Project 2013 stops when the file name should be written. Project 2013 crashes. Does someone know what is wrong between Project 2013 and Adobe Acrobat 9?

    The Acrobat 9.x product family passed into "End of Support" mid-year of 2013.
    Acrobat 9 support of MS Project via PDFMaker stops with Office 2007.
    For Office 2013 support you must use Acrobat XI (11.0.1) or newer. 
    A good to have reference:
    https://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html
    Acrobat Pro and Standard DC are what are currently available for purchase. 
    Be well...

  • By saving for web text-layer becomes a image in HTML what is wrong?

    By saving for web text-layer becomes a image in HTML what is wrong? In this way I can not use CSS in the editor.

    Right click on the layer, Duplicate Layer, set destination to the other image file in the dropdown.

  • I can no longer import pictures to my ibook (OSX version 10.6.8) using iphoto 09 version 8.1.2 and now get message that file is in an unrecognizable format.  What is wrong?  Same camera as before.

    I can no longer import pictures to my ibook (OSX version 10.6.8) using iphoto 09 version 8.1.2 and now get message that file is in an unrecognizable format.  What is wrong?  Same camera as before.

    Julesvernet
    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

Maybe you are looking for