Getting my servlet to work??

I have a form serverform.html with content (<TD>Execute</TD>)
to call a servlet compiled below guestlist60 .class but it fails to read and comes up with this error. I have my class saved in C:\Tomcat\webapps\MyApplication\WEB-INF\classes
and the form in C:\Tomcat\webapps\MyApplication.
Is there something else I have to install to run servlets. I have the servlet.jar in C:\jdk53\jre\lib\ext. Please help.
=====================
HTTP Status 404 - /guestbook60
type Status report
message /guest
description The requested resource (/guestbook60) is not available.
Apache Tomcat/5.5.9
========================================================
guestbook60.java
import java.sql.*; /* Java 1.1 */
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class guestbook60 extends HttpServlet {
public void doGet (HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
String name = req.getParameter("NAME");
String aff1 = req.getParameter("AFF1");
String aff2 = req.getParameter("AFF2");
String email = req.getParameter("EMAIL");
// the submit button for View Guestbook
String view = req.getParameter("view");
res.setContentType("text/html");
ServletOutputStream out = res.getOutputStream();
out.println("<HTML><HEAD><TITLE>Guestbook 6</TITLE></HEAD>");
out.println("<BODY><H2>Guestbook6</H2>");
out.println("<H3>Java Servlet using JDBC</H3>");
// Load the ORACLE JDBC driver
out.println("<TABLE BORDER CELLSPACING=3 CELLPADDING=3>");
out.println("<TR><TD>" + aff2 + "</TD></TR>");
// } catch (SQLException e) {
// out.println("writetolog: SQLException "+e+"<BR>");
out.println("</TABLE>");
out.println("</BODY></HTML>");
}

Do I have to insert another few lines in the web.xml page below everytime I create another servlet?
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http:/java.sun.com/dtd/web-app_2_3.dtd">
<servlet>
<servlet-name>hello</servlet-name>
<servlet-class>data.guestbook60</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>hello</servlet-name>
<url-pattern>/hello</url-pattern>
</servlet-mapping>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http:/java.sun.com/dtd/web-app_2_3.dtd">
<servlet>
<servlet-name>go</servlet-name>
<servlet-class>data.HelloWorldExample</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>go</servlet-name>
<url-pattern>/go</url-pattern>
</servlet-mapping>
<!-- JSPC servlet mappings end -->
</web-app>

Similar Messages

  • How do I get XSQL Servlet to work with OCI 9i

    I'm using the most recent jdbc driver (ojdbc14.jar) that works with jdk 1.4. I'm using a 9.0.1 db, and I'm using xdk for java 9.2.0.3. If I specify an oci driver in the XSQLConfig.xml file, I get the following error with a xsql:query request:
    Oracle XDK Java 9.2.0.3.0 Production
    XSQL-017: Unexpected Error Occurred
    java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
    Now why does XDK insist to look for ocijdbc8 if I only have ocijdbc9.dll installed on my client? The config file only allows oci8 in the dburl specification, which is probably why XDK insists to look for ocijdbc8, but I CANNOT specify oci9, which would make sense to me, although it's most likely not a valid specification.
    <connection name="9ic">
    <username>scott</username>
    <password>tiger</password>
    <dburl>jdbc:oracle:oci8:@</dburl>
    <driver>oracle.jdbc.OracleDriver</driver>
    <autocommit>true</autocommit>
    </connection>
    So how do get XSQL Servlet to work with OCI 9i?

    If you are using the latest Oracle9i JDBC driver, which you should be able to get from OTN, it should look for the DLL with 9 in the name.
    Perhaps you have a "stale" JDBC driver somewhere earlier on the classpath?
    Steve Muench
    JDeveloper/BC4J Development Team
    Author, Building Oracle XML Applications

  • Can get this Servlet to Work! New Java User needs help.

    I have been using a text from New Riders to learn about creating server applications, and am using Tomcat as the server in a Windows XP environement. As per the instructions, to create a new application and path, I added the following path under the webapps directory, that sits under my Tomcat directory:
    myApps
    --WEB-INF
    ----classes
    I then create copied Java class code, listing below, and compiled, put the class in the classes directory in my new directory path. The code is simple, here it is:
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    public class TestingServlet extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    PrintWriter out = response.getWriter();
    out.println("<HTML>");
    out.println("<HEAD>");
    out.println("<TITLE>Servlet Testing</TITLE>");
    out.println("</HEAD>");
    out.println("<BODY>");
    out.println("Welcome to the Servlet Testing Center");
    out.println("</BODY>");
    out.println("</HTML>");
    I then created a file called web.xml in the WEB-INF directory, as w follows:
    <?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>
    <servlet>
    <servlet-name>Testing</servlet-name>
    <servlet-class>TestingServlet</servlet-class>
    </servlet>
    </web-app>
    I started the Tomcat server process, and pointed my browser to the URL http://localhost:8080/myApp/Servlet/TestingServlet. I received the following error
    type Status report
    message /myApp/Servlet/Testing
    description The requested resource (/myApp/Servlet/Testing) is not available.
    After searching some information on the web, I found some references to context information, that should be included in another file, called server.xml, that resides under the conf directory in the Tomcat root. I found it, and added the following within the "host" tags, just after the last ending /context tag, for the example directory that came with Tomcat:
    <Context path="/myApp" docBase="myApp" debug="0" reloadable="true" >
    </Context>
    I stopped and restarted the Tomcat server. This time, I checked under the Manager page of Tomcat, and found the myApp directory listed, and apparently "started", whatever that means
    pointed my browser to the URL http://localhost:8080/myApp/Servlet/TestingServlet. I still receive the following:
    type Status report
    message /myApp/Servlet/Testing
    description The requested resource (/myApp/Servlet/Testing) is not available.
    I tried one more thing. I put my class under the "examples" directory that comes with Tomcat, change the web.xml file that resides under its WEB-INF directory, and tried to see if I can get the servlet to work. And it actually does, which leads me to believe, I did something wrong setting up the directory environment in Tomcat.
    At this point I am at a loss to figure out what I did wrong, and what else I can do to fix this. Any help, suggestions, would be great.

    ok, I have got your servlet runnig on Jboss with Tomcat,
    The war file contents are
    myApp/
    META-INF/
    META-INF/MANIFEST.MF
    WEB-INF/
    WEB-INF/classes/
    WEB-INF/classes/TestingServlet.class (No package)
    WEB-INF/web.xml
    Web.xml
    <web-app>
    <servlet>
    <servlet-name>Testing</servlet-name>
    <servlet-class>TestingServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Testing</servlet-name> <------- My mistake use Testing
    <url-pattern>/servlet/testing/*</url-pattern <------- lowercase S
    </servlet-mapping>
    </web-app>
    url
    http://localhost:8080/myApp/testing/blah

  • How can I get my servlets to work which are using servlet 2.3 API

    I am using the classes and new methods that are introduced in servlet 2.3 and I am not able to get them to work. is there a work around or a patch available for this. I have installed Iplanet application server Enterprise Edition version 6.0 SP3 from the test drive.

    In short, no. iAS is a 2.2 servlet container. You would have to backport your application to version 2.2 of the servlet spec.

  • Servlet not working...

    i'm running tomcat 4.0.1 on IIS and i haven't been able to get my servlet to work.
    i'm thinking that it has something to do with where i am placing my servlet, or my directory structure.
    my applet is run out of the directory "\\server\\wwwroot$\\testDir\\"
    and my servlet is in the directory "\\server\\tomcat$\\webapps\\ROOT\\WEB-INF\\classes\\"
    here is my applet code for calling the servlet....
    try
    URL url = new URL("http://www2.homepage.com/serlvet/servletOne");
    URLConnection conn = url.openConnection();
    InputStream inputStreamFromServlet = conn.getInputStream();
    catch(IOException io) { io.printStackTrace(); }
    here is my servlet code....
    public class servletOne extends HttpServlet {
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException
    try
    FileWriter f = new FileWriter("\\server\\wwwroot$\\testDir\\test2.htm");
    f.write("testing");
    f.flush();
    f.close();
    catch(IOException io) { io.printStackTrace(); }
    the error i get when i try to run it is a FileNotFoundException.
    i believe that this is the proper location for my servlet, but does the tomcat directory have to be within the wwwroot$ directory, in order for it to work?
    any help would be greatly appreciated
    thanks
    Andy

    Seems that FileWriter cannot find test2.htm file. The path for FileWriter constructor can be any absolute system dependent path. So you can use "c:\\server\\wwwroot\\testDir\\test2.htm".
    Regards,
    Ignat

  • Beginner trying to get my beans to work with jsp on tomcat

    Please help me open my eyes!
    I know this is a stupid oversight on my part, but I've been working for days on getting other things to work on my tomcat server, so I'm out of ideas on this one.
    I've followed all the tomcat docs instructions on where to put my jsp and bean files and set my classpath to where my beans are located. jsps work fine for me but when I try to run this jsp that uses my CalcBean, I get this and similar internal server errors:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 1 in the jsp file: /jsp/calc/calculate.jsp
    Generated servlet error:
    C:\jakarta-tomcat-4.0\work\Standalone\localhost\research\jsp\calc\calculate$jsp.java:56: Class org.apache.jsp.CalcBean not found.
    CalcBean calc = null;
    ^
    Do I need to register my bean somewhere like web.xml?
    Thanks so much in advance for any help!!

    rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

  • Trying to make oracle-xsql-servlet to work under tomcat

    I am trying setup Setup "oracle-xsql-servlet" to work under tomcat.
    #1. I have installed the xdk from orcale at "C:\xdk_nt_10_1_0_2_0_production"
    #2. I have installed "Apache Tomcat Version 6.0.14"
    #3.
    I have made the following changes to "catalina.bat"
    REM Added for Oracle XSQL Servlet
    REM -----------------------------
    set CLASSPATH=%CLASSPATH%;C:\xdk_nt_10_1_0_2_0_production\lib\xsu12.jar
    set CLASSPATH=%CLASSPATH%;C:\xdk_nt_10_1_0_2_0_production\lib\oraclexsql.jar
    set CLASSPATH=%CLASSPATH%;C:\xdk_nt_10_1_0_2_0_production\lib\xmlparserv2.jar
    set CLASSPATH=%CLASSPATH%;C:\xdk_nt_10_1_0_2_0_production\lib\classes111.zip
    set CLASSPATH=%CLASSPATH%;C:\xdk_nt_10_1_0_2_0_production\xdk\admin
    echo %CLASSPATH%
    #4 created a new folder under "C:\apache-tomcat-6.0.14\apache-tomcat-6.0.14\webapps" xdk
    and created a web.xml in it. Following are the entries is the web.xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
         <description>
    XDK Examples.
    </description>
         <display-name>XDK Examples</display-name>
         <servlet>
              <servlet-name>oracle-xsql-servlet</servlet-name>
              <servlet-class>oracle.xml.xsql.XSQLServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet-mapping>
              <servlet-name>oracle-xsql-servlet</servlet-name>
              <url-pattern> *.xsql </url-pattern>
         </servlet-mapping>
    </web-app>
    PROBLEM. When I start up tomcat, I keep getting the following errors.
    SEVERE: Error deploying web application directory xdk
    java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)     
    OTHER APPLICATIONS such as Examples (provided by apache) work fine.
    Any ideas ?

    XSQL may be used with Tomcat 3.1 and 3.2.
    Refer to section Jakarta Tomcat 3.1 or 3.2
    http://www.oracle.com/technology/tech/xml/xdk/doc/production10g/doc/java/xsql/xsql_userguide.html#ID3386

  • Problem getting simple servlet to run in tomcat

    i am trying to get a servlet to run that is explained in wrox Professional JSP second edition. i am using tomcat as the book explains.
    1. i have created the ch03/WEB-INF/classes directory within the webapps folder in tomcat.
    2. in the classes folder i created the directory
    com/wrox/projsp/ch03/myfirstwebapp.
    3. in the folder myfirstwebapp i have the compiled file
    MyFirstServlet.class
    4. i made sure the code is exactly as in the book.
    5. it states that if i go to
    http://localhost:8080/ch03/servlet/com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet i should get the correct output.
    6. the only way i can get this to work is if i create a web.xml
    file and point it to
    com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet and then in the
    browser i type in
    http://localhost:8080/ch03/com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet thus leaving out /servlet in the URL
    7. this seems fine but i would like to get it to work how the book shows which is without having to use the web.xml. am i missing something? do i need to set up anything (eg. a context tag for this app)within the server.xml.
    any help would greatly be appreciated,
    gary bushek

    I don't know how the book you're using instructed you to setup the server but my web.xml simply has the following in it:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    </web-app>
    I'm using tomact 3.2 and am able to run my servlets using
    http://localhost/servlet/package_name.servletName
    you might want to checkout www.coreservlets.com for more help on setting up tomcat.

  • I can not get the debugger to work on oracle studio 12.3 - It will not attach

    I can not get the debugger to work on oracle studio 12.3 - It will not attach

    APN for Tmobile is epc.tmobile.com
    MMSC is http://216.155.174.84/servlets/mms
    Here are the instructions:
    Create devel catalog (appl from this catalog can damage your phone but don't have to so if you are not sure about your needs or skills dont use it and wait for official applications from Nokia or firmware update) The software hosted in Extras-devel is NOT ready for normal users! PLEASE PLEASE PLEASE don't play with it unless you really know what you are doing. Be ready to file proper bug reports instead of posting complaints. Expected problems: crashes, battery drain, poor system performance, full disk space & more - SERIOUSLY! Don't play with Extras-devel if you haven't backed up your data or are prepared to re-flash your device.
    Application manager --> Application catalogs --> New
    Catalog name: Extras-devel
    Web address: http://repository.maemo.org/extras-devel
    Distribution: fremantle
    Components: free non-free
    Refresh catalogue
    Install fAPN and fMMS
    Run fAPN and create new APN with MMS setting which you can get from your operator or find on this page (this may not be needed for all users, see note below)
    Run fMMS and it will start with configuration
    Put APN name the same you named your MMS APN point during fAPN configuration
    Type MMSC which you can take from your operator
    Type your number starting with +
    Put max size of pics you want to have in outgoing MMS
    Save all and start sending MMS from fMMS menu.
    It is very important to put correct setting in new APN and be sure if there is proxy needed in your operator.
    WHEN YOU GO TO MMS to set your configuraions, the information should look like this
    MMSC: http://216.155.174.84/servlets/mms
    Resize Image: 300
    Your Phone Number: +##########
    NOW U ARE DONE!! =)

  • Having trouble getting Unwired Platform to work.

    I'm having trouble getting the formatting to work properly.  Sorry about that.
    Hi,
    I'm having trouble getting the Unwired Platform to work on my server.  I've installed everything on my machine.
    I'm having trouble accessing the control center and pinging my Unwired server through the Unwired Workspace.
    I've pasted in the error output below.
    Any help would be appreciated.
    Thanks,
    Dan
                                                                                    Here is the pinging error:
    com.sybase.uep.admin.client.AdminException: com.sybase.djc.SystemException: Error: Connecting to host: CI0000001507589.rim.net, port: 2000.
         at com.sybase.sup.admin.client.impl.AdminContext.initialize(AdminContext.java:106)
         at com.sybase.sup.admin.client.impl.AdminContext.getInstance(AdminContext.java:40)
         at com.sybase.sup.admin.client.impl.ServerConnectionImpl.<init>(ServerConnectionImpl.java:22)
         at com.sybase.sup.admin.client.impl.ServerConnectionImpl.<init>(ServerConnectionImpl.java:29)
         at com.sybase.uep.admin.client.ServerConnectionManager.ping(ServerConnectionManager.java:191)
         at com.sybase.uep.admin.client.ServerConnectionManager.updateConnectionProperties(ServerConnectionManager.java:98)
         at com.sybase.uep.admin.client.ServerConnectionManager.clusterConnect(ServerConnectionManager.java:68)
         at com.sybase.uep.datasources.uepprofile.UEPServerConnection.<init>(UEPServerConnection.java:59)
         at com.sybase.uep.datasources.uepprofile.UEPConnectionFactory.createConnection(UEPConnectionFactory.java:16)
         at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(Unknown Source)
         at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(Unknown Source)
         at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(Unknown Source)
         at org.eclipse.datatools.connectivity.ui.PingJob.run(Unknown Source)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: com.sybase.djc.SystemException: Error: Connecting to host: CI0000001507589.rim.net, port: 2000.
         at com.sybase.djc.rmi.iiop.client.Connection.init(Connection.java:619)
         at com.sybase.djc.rmi.iiop.client.Connection.getInstance(Connection.java:65)
         at com.sybase.djc.rmi.iiop.client.ConnectionPool.iiopConnection(ConnectionPool.java:455)
         at com.sybase.djc.rmi.iiop.client.ConnectionPool.newConnection(ConnectionPool.java:410)
         at com.sybase.djc.rmi.iiop.client.ConnectionPool.get(ConnectionPool.java:152)
         at com.sybase.djc.rmi.iiop.client.ConnectionPool_DJC.get(ConnectionPool_DJC.java:30)
         at com.sybase.djc.rmi.iiop.ObjectRef.$connect(ObjectRef.java:275)
         at com.sybase.djc.org.omg.CosNaming.iiop_stubs.NamingContext._is_a(NamingContext.java:60)
         at com.sybase.djc.rmi.iiop.client.ClientNamingContext.init(ClientNamingContext.java:697)
         at com.sybase.djc.rmi.iiop.client.ClientNamingContext.getInstance(ClientNamingContext.java:76)
         at com.sybase.sup.admin.client.impl.AdminContext.initialize(AdminContext.java:99)
         ... 13 more......
    Line: -
    When I try to access the control center through IE, this is what I get back:
    HTTP ERROR 500
    Problem accessing /scc/. Reason:
        Failed to begin transaction
    Caused by:
    com.sybase.scc.orm.dao.DaoException: Failed to begin transaction
         at com.sybase.scc.orm.hibernate.HibernateSessionManager.beginTransaction(HibernateSessionManager.java:321)
         at com.sybase.scc.servlet.filters.HibernateSessionFilter.doFilter(Unknown Source)
         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
         at com.sybase.ua.services.http.servlet.filters.HttpsRedirectFilter.doFilter(HttpsRedirectFilter.java:129)
         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
         at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
         at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
         at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
         at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
         at org.mortbay.jetty.Server.handle(Server.java:326)
         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
         at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
         at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
         at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:680)
         at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
    Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
         at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
         at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
         at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
         at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
         at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
         at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
         at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119)
         at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)
         at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326)
         at com.sybase.scc.orm.hibernate.HibernateSessionManager.beginTransaction(HibernateSessionManager.java:307)
         ... 21 more
    Caused by: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused: connect
         at com.sybase.jdbc3.jdbc.ErrorMessage.raiseError(Unknown Source)
         at com.sybase.jdbc3.jdbc.ErrorMessage.raiseErrorCheckDead(Unknown Source)
         at com.sybase.jdbc3.tds.Tds.a(Unknown Source)........

    HI,
    as well I would check if ou are able to access the URL in browser itself - otherwise enter the URL into your host file and try again.
    Hope this helps.
    Regards,
    Oliver

  • I cannot get any TAGLIBS to work

    I cannot get any taglib to work on my install of TOMCAT 4.0.1. I have even downloaded WAR files that from the jakarta taglibs project for their examples and they fail as well. Can anyone help me? I am receiving the following error:
    org.apache.jasper.JasperException: This absolute uri (http://jakarta.apache.org/taglibs/dbtags) cannot be resolved in either web.xml or the jar files deployed with this application
         at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:194)
         at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:174)
         at org.apache.jasper.compiler.JspParseEventListener.processTaglibDirective(JspParseEventListener.java:1159)
         at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:755)
         at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:121)
         at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:243)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1133)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1091)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1087)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:213)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
         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.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(Unknown Source)

    to wainstead ( I saw your post at the JTL forum, who knows when the authors will be around)
    I tried using the <taglib-uri> and it works for me(I am using Tomcat 4.0).
    In fact I can use just http://www.man as long as it matchs what I put in the uri attribute of the taglib directive of my JSP.
    But the situation is confusing because according to the Servlet2.3 specification
    "taglib-uri element describes a URI relative to the location of the web.xml document,
    identifing a Tag Library used in the Web Application." Perhaps someone with more experience
    can explain.

  • I have installed Mountain Lion 10.8.2 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    I have installed Mountain Lion 10.8.2 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    You can go to the Apple online store and purcahse a copy of Mountain Lion.  This will give you a redemption code, which you can use to download Mountain Lion from the App Store.  Unfortuantely, I'm not aware of any other way to legally purchase it.  I have never seen Apple release Muontain Lion on DVD.
    In terms of Apple Service, they just need the serial number of the machine to check the purcahse date.  It is usually correct, to within a few weeks.  A quick Google search should give you the correct number to dial.
    I hope this helps.

  • I have installed Mountain Lion 10.8.1 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    I have installed Mountain Lion 10.8.1 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    I would delete the account and try to re-enter it. Also, you have to let your firm's IT department know that you want to sync work email on your personal devices before they actually work.

  • TS3276 I'm now having trouble getting mac mail to work on my mac. The mobile me account works great on iphone and ipad but it won't connect to my mail account. Password is correct. What else can I do? Using OS10.68

    I'm now having trouble getting mac mail to work on my mac. The mobile me account works great on iphone and ipad but it won't connect to my mail account. Password is correct. What else can I do? Using OS10.68

    HI,
    The Apple IDs from @mac.com and @me.com (Older MobileMe and more recent iCloud Names) are also Valid AIM Screen names.
    Any other sort of Apple ID is not a Valid AIM Name.
    A Google ID that is associated with Google Mail Account (And has "Talk" enable on your Google Settings) can be used in iChat as  Jabber Name/ID.  (Google Run  Jabber server).
    Jabber and AIM are different IM Services and it is not easy or straight forward to add Buddies from one Service to the Buddy List of another.  (As A Starting point consider it "impossible")
    iChat 4 and 5 have links to the registration page of @Mac.com here with a "Get an iChat Account" button in the add (Account) screen  (You select @mac.com or MobileMe and then press the Button - Choosing AIM and then pressing the button used to lead to the AIM registration page but AIM moved their page).
    Apple IDs can be any valid email (or an @mac.com or iCloud registration)
    Therefore you could make a Google ID into an Apple ID.
    However this will not be a valid AIM Screen Name the way @mac.com or MobileMe/iCloud ones are.
    Valid AIM Screen Names in Table (pic)
    7:46 PM      Monday; December 5, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How can I get the servlet Context from a WebService Implementation?

    I have made a webservice endpoint, using the conventional way (WSDL->wsimport->Java interface->implementation) . I need to get the servlet context below the implementation class. I haven't found any way to get the servletContext though. Any clues? Any help will be greatly appreciated.

    yes  i can found the words's unicode form Cmaps where may be at the type of tounicde and another Cmaps table just like "Adobe-GB1-GBK-EUC" ,but when the word dont have either of them how can i do? when i write a chinese word "一",it just the winansi encoding ,  there is not Cmap for me to use to change the "G208f" to the word "一"'s unicode value.
                   best wishes      thank you very much

Maybe you are looking for

  • Activate cube with non-cumulative error

    Hello Expert, There are two cumulative key figures and one non-cumulative key figure in one cube. To active the cube with the two cumulative key figure, it is OK. To include the non-cumulative key figure and activate the cube, there are errors. "/BIC

  • Personal iPhone as a debug device?

    Hi all, I am currently using a refurbished iPod Touch as my only debugging device, and am considering using my personal iPhone as a debugging device as well. My iPod touch appears stable, so I'm wondering: What are the downsides to using my iPhone as

  • Using Apple T.V. in a weekend cottage rental

    I have a cottage that I will be renting on the weekends. It has a WIFI connection.  I do not want the expense of cable t.v. Would APPLE T.V. be a good option for this situation.  Is there very much content that you could watch without subscriptions,

  • IE6 and java plug-in1.3.1_02

    Hi, using previous version of IE and Java plug-in I had the external java plug-in called if, and only if, I use the tag: <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" ... Now, having IE6 and java plug-in 1.3.1_02 I get the browser call

  • No addresses in drop down email box

    Frequently when forwarding emails, when selecting the To: (recipient)   address drop down box appears, however, there are no addresses shown. At other times, functions properly