Cannot access directory javax/servlet

I am having a problem getting started here with Borland JBuilder 8 SE.
I have Tomcat installed and it runs fine with the servlets/jsp pages I ran from the index page when you first install Tomcat.
I am running windows 2000. When I installed JBuilder the Java 2 SDK v1.4.1 was installed with it. I have run applets... java.exe is located in the jbuilder folder, don't know if this is a problem. I have set my JAVA_HOME environment variable to point to the bin folder in the 1.4.1 java.exe location.
I am following a book that works with servlets and jsp primarily. When I typed in my first servlet that I copied from the book, JBuilder gives me a document location error:
cannot access directory: javax/servlet at line...
it is pointing to my import statement: "import javax.servlet.*;" and "import javax.servlet.http.*;".
I have tried to add the servlet.jar file to my project but the results are the same.
Can anybody give me a hand?
thanks,
Rob

The fastest way for JBuilder to see it is just to create a library for servlet.jar and add it to the project.
Tools->Configure Libraries->New
Then browse to the location of the servlet.jar and call the library SERVLET.
Project->Project Settings->Required Libraries
Then add this library and try to build your project.
JBuilder will automatically add it to the classpath when it compiles the project that way.

Similar Messages

  • Cannot access class javax.servlet

    I use Jdev version 10.1.2 and I try to import javax.servlet.ServletOutputStream but servlet can not be seen as part of javax. I think i need to add a classpath - but which one? Any suggestions.
    Thanks.
    Kristian Andersen

    Double click your project to go to the project properties and in the "Technology Scope" node - add the "java server pages (JSP) and Servlets" to your project.

  • Where cannot i access class javax.servlet

    i dont kwon whta happend this: "OutputFilterBase.java": Error #: 302 : cannot access class javax.servlet.ServletResponse; java.io.IOException: class not found: class javax.servlet.ServletResponse at line 62, column 22
    please help me
    thanks

    You need a servlet engine for servlets. Like resin, tomcat etc. Then add it to classpath.
    Andreas

  • Error: (0) cannot access directory oracle\jbo\common\appmgr; verify that directory is

    Help!
    Error: (0) cannot access directory oracle\jbo\common\appmgr; verify that directory is reachable from classpath and/or sourcepath.
    hi,
    I am Yun Dai P.R.China nanchang
    [email protected]
    when I compile the *.jsp, I always get this error message,
    My software settings:
    Jdeveloper 3.1;
    Oracle 8i RDBMS;
    Win2000 server (sp1);
    how can I solve this problem?
    featureBean.java and feature.jsp:
    feature.jsp:
    <%@ page contentType="text/html;charset=WINDOWS-1252"%>
    <%@ page language = "java" errorPage="errorpage.jsp" import = "java.util.*, oracle.jbo.*, javax.naming.*, oracle.jdeveloper.html.*, oracle.jbo.common.appmgr.*, oracle.jbo.html.databeans.*" %>
    <%
    // make sure the application is registered
    oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session, "package1_Package1Module");
    %>
    <html>
    <head>
    <LINK REL=STYLESHEET TYPE="text/css" HREF="<%=session.getValue("CSSURL")%>">
    <title>Welcome to JDeveloper Auctions</title>
    </head>
    <body bgcolor="#FFFFFF" TEXT="black" BGCOLOR="#FFFFFF" LINK="#336699" ALINK="#6699CC" >
    <p><br>
    <table BORDER=0 CELLSPACING=0 CELLPADDING=4 WIDTH="100%" >
    <tr><td BGCOLOR="#336699"><b><font face="Arial" color="#FFFFFF" >Today's Featured Items</font></b></td></tr>
    </table>
    <br>
    <center>
    <!-- Features Begin -->
    <jsp:useBean class="auctionbeans.featureBean" id="features" scope="request" >
    <%
    features.initialize(application,session, request,response,out,"package1_Package1Module.srchItemsView");
    features.render();
    %>
    </jsp:useBean>
    <!-- Features End -->
    </center>
    </body> </html>
    featureBean.java
    package auctionbeans;
    import java.io.*;
    import oracle.jbo.*;
    import oracle.jdeveloper.html.*;
    public class featureBean extends oracle.jdeveloper.html.DataWebBeanImpl {
    public void render() {
    try
    out.println( "<td> <!-- left panel featured items -->");
    out.println( "");
    out.println( "<font face=verdana,arial,helvetica size=-1><b>Today's Featured Items...</b></font>");
    out.println( "<br clear=left>");
    out.println( "");
    out.println( "");
    out.println( "<!-- item 1 -->");
    out.println( "");
    out.println( "<p>");
    out.println( "<A href=\"srch_results.jsp?QRY=cat_id=10\">");
    out.println( "<font face=verdana,arial,helvetica size=-1><b>In Software</b></font><br>");
    out.println( "</a>");
    out.println( "<strong><font face=verdana,arial,helvetica color=#cc6600> Oracle JDeveloper 3.0</font></strong><br>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "<table border=0 align=left cellpadding=0 cellspacing=0>");
    out.println( "<tr>");
    out.println( "<td>");
    out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=39\">");
    out.println( "<IMG border=0 src=\"/bc4jauctions/webapp/images/jdevlogo.gif\"></a>");
    out.println( "</td></tr><tr><td><center><font face=verdana,arial,helvetica size=-2>");
    out.println( "");
    out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=39\">Details</a>");
    out.println( "");
    out.println( "</font></center>");
    out.println( "</td></tr></table>");
    out.println( "");
    out.println( "<b>Oracle JDeveloper Suite 3.0</b> provides a complete and integrated Java development and deployment environment for");
    out.println( "creating enterprise-scale, high performance e-bus iness applications.");
    out.println( "<br>");
    out.println( "<br>");
    out.println( "Go to <A href=\"srch_results.jsp?QRY=cat_id=10\">Software</a>");
    out.println( "<br clear=left>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "<!-- item 3 --></p>");
    out.println( "<p>");
    out.println( "<font face=verdana,arial,helvetica size=-1><b>");
    out.println( "<A href=\"srch_results.jsp?QRY=cat_id=1\">");
    out.println( "In");
    out.println( " Automotive</b></font><br></A>");
    out.println( "<strong><font face=verdana,arial,helvetica color=#cc6600> 2000 BMW Z8</font></strong><br>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "<table border=0 align=left cellpadding=0 cellspacing=0><tr><td>");
    out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=1\">");
    out.println( "<IMG alt=\"\" border=0 src=\"/bc4jauctions/webapp/images/z8-sm.gif\" ></a>");
    out.println( "</td></tr><tr><td><center><font face=verdana,arial,helvetica size=-2>");
    out.println( "");
    out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=1\">Details</a>");
    out.println( "");
    out.println( "</font></center>");
    out.println( "</td></tr></table> <b>A 2000 BMW Z8 Featured in the new James Bond Thriller,");
    out.println( "<a href=\"BidsView_Browse.jsp?ITEMROWINDEX=14\">'The World is Not Enough'</a></b> is now available! Are you looking for the");
    out.println( " quintessence, the ultimate passion for driving? The");
    out.println( " answer to this is: The BMW 8 Series coup? This");
    out.println( " exquisite sports coupe turns mobility into an exhilarating");
    out.println( " experience. The 8 Series is fascinating as a design");
    out.println( " object, and is an impressive carrier of state-of-the-art");
    out.println( " technology.</p>");
    out.println( "<p>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "Go to <A href=\"srch_results.jsp?QRY=cat_id=1\">Automotive</a>");
    out.println( "<br clear=left>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "<!-- item 3 --></p>");
    out.println( "<p>");
    out.println( "<font face=verdana,arial,helvetica size=-1><b>");
    out.println( "<A href=\"srch_results.jsp?QRY=cat_id=1\">");
    out.println( "In");
    out.println( " Automotive</b></font><br></A>");
    out.println( "<strong><font face=verdana,arial,helvetica color=#cc6600> 1998 Acura NSX</font></strong><br>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "<table border=0 align=left cellpadding=0 cellspacing=0><tr><td>");
    out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=2\">");
    out.println( "<IMG alt=\"BidsView_Browse.jsp?ITEMROWINDEX=2\" border=0 src=\"/bc4jauctions/webapp/images/acura-sm.jpg\" ></a>");
    out.println( "</td></tr><tr><td><center><font face=verdana,arial,helvetica size=-2>");
    out.println( "");
    out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=2\">Details</a>");
    out.println( " ");
    out.println( "</font></center>");
    out.println( "</td></tr></table><b>A 1998 Acura NSX");
    out.println( " has been put up for auction!</b> <br>A vehicle like the NSX comes along perhaps once in a generation. It");
    out.println( "represents everything that motivates a passionate driver to get into cars.");
    out.println( "It's the chance to design an exotic car from the ground up.</p>");
    out.p rintln( "<p> ");
    out.println( " ");
    out.println( " ");
    out.println( "");
    out.println( "Go to <A href=\"srch_results.jsp?QRY=cat_id=1\">Automotive</a>");
    out.println( "<br clear=left>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "<!-- item 2 --></p>");
    out.println( "");
    out.println( "<p>");
    out.println( "<A href=\"srch_results.jsp?QRY=cat_id=12\">");
    out.println( "<font face=verdana,arial,helvetica size=-1><b>In Miscellaneous</b></font><br>");
    out.println( "</a>");
    out.println( "<strong><font face=verdana,arial,helvetica color=#cc6600> Lion King BroadWay Show Tickets</font></strong><br>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "<table border=0 align=left cellpadding=0 cellspacing=0><tr><td>");
    out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=45\">");
    out.println( "<IMG alt=\"\" border=0 src=\"/bc4jauctions/webapp/images/lking-sm.jpg\" ></a>");
    out.println( "</td></tr><tr><td><center><font face=verdana,arial,helvetica size=-2>");
    out.println( "");
    out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=45\">Details</a>");
    out.println( "");
    out.println( "</font></center>");
    out.println( "</td></tr></table><b>Act now to get Lion King BroadWay Show Tickets!</b> <br>We have Lion King broadway tickets for the orchestra, mezzanine and balcony sections available");
    out.println( " for delivery today! The lion king has been the hottest broadway show ticket since it opened, and");
    out.println( " the demand has not let down since winning six Tony award nominations. The lion king on");
    out.println( " broadway is a fantastic show that you must see to appreciate.");
    out.println( "");
    out.println( "<p>");
    out.println( "Go to <A href=\"srch_results.jsp?QRY=cat_id=12\"><U><FONT");
    out.println( " color=#0000ff>Miscellaneous</FONT></U></a>");
    out.println( "<br clear=left>");
    out.println( "");
    out.println( "");
    out.println( "<br>");
    out.println( "<br>");
    out.println( "<center>");
    out.println( "<img src=\"/bc4jauctions/webapp/images/bc4jvisa.gif\">");
    out.println( "</center>");
    out.println( "<br>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "</td>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "<!-- Left panel end -->");
    out.println( "");
    } catch(Exception ex)
    throw new RuntimeException(ex.getMessage());
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by sarantos:
    I had the same problem!What you have to do is to remove this statement from the import of every jsp (in the very first tag).<HR></BLOCKQUOTE>
    I tried to do what you propose, it been compiled, but works not properly
    null

  • Cannot access class javax.jms.TextMessage;

    Hi,
    I am trying to run standard page from JDev and i am getting below error from EOImpl.java.
    " cannot access class javax.jms.TextMessage; file javax\jms\TextMessage.class not found "
    I tried to import javax/jms dir to my local machine but i could not find jms directory under javax in OS. Can you guys pls help me to resolve this.
    Thanks,

    Hi Scott,
    Not sure wht you wanted me to try...
    I have something like this in the code which is causing that error..
    BusinessEvent businessevent = new BusinessEvent(s1, s2);
    businessevent.setData("Opportunity " + s2 + "updated");
    ArrayList arraylist = new ArrayList(1);
    arraylist.add(oadbtransaction);
    businessevent.setObject(arraylist);
    businessevent.setStringProperty("pLeadId", getLeadId().toString());
    java.sql.Connection connection1 = oadbtransaction.getJdbcConnection();
    businessevent.raise(connection1);
    Its asking me to import jms..but ii could not find those files in Unix..is there anyway to import these files OR any other solution to fix this error?
    Please help..

  • Cannot access class javax.sql.RowSet

    Hello everyone,
    I had a question about this error I am receiving "cannot access class.javax.sql.RowSet". I have put the RowSet.jar file into my jdk/jre/lib/ext directory and when I compile I recieve this error. Can Anyone help? Thanks!

    I think you need to add one (or more) of the available libraries to your project, in your project's settings dialog, but I'm unsure which. If you can't find the correct one, you can always add a newly created one, which holds a reference to your jar file.

  • Cannot access class javax.naming.Referenceable;

    Hi
    I am trying to create a connection pool and using the oracle.jdbc.pool.* in JavaBeans using JDeveloper 3.1.
    I am getting the following error.Unable to find the reason for this and the sun documentation says - no usage for this class.
    Error:
    cannot access class javax.naming.Referenceable; file javax/naming/Referenceable.class not found.
    Any help is greatly appreciated..
    thanks
    Yugandhar
    null

    You need to make sure $ORACLE_HOME/jdbc/lib/jndi.zip is on your classpath for this to work.

  • Error: cannot access directory oracle\jsp\runtime

    I got this error when try to add a existing project to JDeveloper 9.0.3.4
    Error: cannot access directory oracle\jsp\runtime; verify that directory is reachable from classpath and/or sourcepath
    can someone help me?
    thanks

    Xinwei -
    Make sure you have added the correct libraries to your project; adding JSP Runtime to your project should alleviate this error.
    Hope this helps,
    Lynn
    Java Tools Team

  • Cannot access directory oracle\jbo\Client

    Hi
    I got this error on trying out a batch client approach,
    Error(3,1): cannot access directory oracle\jbo\Client; verify that directory is reachable from classpath and/or sourcepath
    Can anyone advise where I can find this "oracle\jbo\Client"?
    Was it an installation or configuration problem?
    Many Thanks

    There are various predefined "BC4J .." libraries available in the ide. For exmaple If you are using the bc4j ejb client then goto
    Project Properties->Libraries and
    "BC4J EJB client" to the selected list.
    Dhiraj

  • Cannot fing the javax.servlet.*; package

    Hi everybody.. I am new to J2EE Programming.. I just wrote a very small and simple Servlet to see how it works.. The Servlet is designed to take in the the name and a favourite color of a user via a HTML page and display it to him
    Here is the code:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class VerifyData extends HttpServlet
         public void doGet (HttpServletRequest reg, HttpServletResponse res) throws ServletException, IOException
              res.setContentType("text/html");
              PrintWriter out = res.getWriter();
              String name= req.getParameter ("name");
              String color=req.getParameter ("color");
              out.println("<html>");
              out.println("<head>");
              out.println("<title>Simple HTML Form</title>");
              out.println("<link rel='styleSheet' type='text/css' href='examples.css'>");
              out.println("</head>");
              out.println("<body>");
              out.println("<h1>Hello "+name+" Your favourite Color is : " +color+"</h1>");
              out.println("<form method='GET' action='verifydata'>");
              out.println("<p>Please Type in your name here:</p>");
              out.println("<input type='text' name='name'>");
              out.println("<p>Now select the color of your choice</p>");
              out.println("<select name='color' size='1'>");
              out.println("<option>red<option>green<option>blue</select>");
              out.println("<br></br>");
              out.println("<input type='submit'>");
              out.println("<br></br>");
              out.println("<table>");
              out.println("<tr><th>Colors</th><th>Description</th></tr>");
              out.println("<tr><td>Red</td><td>Blood</td></tr>");
              out.println("<tr><td>Green</td><td>Grass</td></tr>");
              out.println("<tr><td>Blue</td><td>Sky</td></tr>");
              out.println("</table>");
              out.println("</form>");
              out.println("</body>");
              out.println("</html>");
    }BUT I got the following Error:
    C:\Sun\AppServer\jdk\bin>javac VerifyData.java
    VerifyData.java:2: package javax.servlet does not exist
    import javax.servlet.*;
    ^
    VerifyData.java:3: package javax.servlet.http does not exist
    import javax.servlet.http.*;
    ^
    VerifyData.java:5: cannot find symbol
    symbol: class HttpServlet
    public class VerifyData extends HttpServlet
                                    ^
    VerifyData.java:7: cannot find symbol
    symbol  : class HttpServletRequest
    location: class VerifyData
            public void doGet (HttpServletRequest reg, HttpServletResponse res) thro
    ws ServletException, IOException
                               ^
    VerifyData.java:7: cannot find symbol
    symbol  : class HttpServletResponse
    location: class VerifyData
            public void doGet (HttpServletRequest reg, HttpServletResponse res) thro
    ws ServletException, IOException
                                                       ^
    VerifyData.java:7: cannot find symbol
    symbol  : class ServletException
    location: class VerifyData
            public void doGet (HttpServletRequest reg, HttpServletResponse res) thro
    ws ServletException, IOException
       ^
    VerifyData.java:11: cannot find symbol
    symbol  : variable req
    location: class VerifyData
                    String name= req.getParameter ("name");
                                 ^
    VerifyData.java:12: cannot find symbol
    symbol  : variable req
    location: class VerifyData
                    String color=req.getParameter ("color");
                                 ^
    8 errors
    C:\Sun\AppServer\jdk\bin>Please please please help me out. I am not sure about the class path settings etc.. but its like this C:\Sun\AppServer\jdk\lib\tools.jar

    Hi everybody
    I am new to j2ee.I am using java ee5.Application server as apache-tomcat-5.5.17.I tried to compile servlet using javac.it gives the following errors.
    HelloServlet2.java:4: package javax.servlet does not exist
    import javax.servlet.*;
    ^
    HelloServlet2.java:5: package javax.servlet.http does not exist
    import javax.servlet.http.*;
    ^
    HelloServlet2.java:15: cannot find symbol
    symbol: class HttpServlet
    public class HelloServlet2 extends HttpServlet {
    ^
    HelloServlet2.java:16: cannot find symbol
    symbol : class HttpServletRequest
    location: class coreservlets.HelloServlet2
    public void doGet(HttpServletRequest request,
    ^
    HelloServlet2.java:17: cannot find symbol
    symbol : class HttpServletResponse
    location: class coreservlets.HelloServlet2
    HttpServletResponse response)
    ^
    HelloServlet2.java:18: cannot find symbol
    symbol : class ServletException
    location: class coreservlets.HelloServlet2
    throws ServletException, IOException {
    ^
    6 errors
    this is the code
    public class HelloServlet extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String docType =
    "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " +
    "Transitional//EN\">\n";
    out.println(docType +
    "<HTML>\n" +
    "<HEAD><TITLE>Hello (2)</TITLE></HEAD>\n" +
    "<BODY BGCOLOR=\"#FDF5E6\">\n" +
    "<H1>Hello (2)</H1>\n" +
    "</BODY></HTML>");
    pls help me to resolve this problem.
    Thank you
    sam

  • After installing WLS, oracle cannot access directory

    We have installed WLS many times on RHEL 5.6 and cannot determine why, but on occasionthe oracle user loses the ability to access /opt directory. The directory structure is listed as only question marks.
    [oracle@racparticipant opt]$ ll
    total 36
    ?--------- ? ? ? ? ? IrsamInstall
    drwxr-xr-x 12 root root 4096 Jan 5 13:14 likewise
    drwx------ 2 root root 16384 Jan 5 12:46 lost+found
    ?--------- ? ? ? ? ? oracle
    ?--------- ? ? ? ? ? oraInventory
    ?--------- ? ? ? ? ? sun
    drwxr-xr-x 7 root root 4096 Jan 5 13:12 Symantec
    Once this occurs, the oracle user cannot access this directory or its subdirectories. If I login as root, everything is fine.
    We have not found anything online regarding this or anything useful...
    Ideas?

    Form the "id" output showing "context=user_u:system_r:unconfined_t:SystemHigh" I can see you have SELinux enabled.
    Unfortunately I'm not very familiar with SELinux. The Oracle recommendation is usually to have it disabled, not supported, at least prior to 11gR2. You may have to modify the security context of the /opt directory using the chcon command to allow access (http://wiki.centos.org/HowTos/SELinux). Firewall and SELinux are enabled by default and more changes are most likely required for Weblogic to work.
    What happens if you disable SELinux or set it to permissive and try again? You can disable SELinux by editing /etc/selinux/config and change the SELINUX line to SELINUX=disabled. Then reboot the system and try again. Alternatively you can also use the kernel "enforcing=0" parameter or use "echo 0 >/selinux/enforce" to temporarily disable enforcement, but I guess disabling it in /etc/selinux/config is easier.
    Edited by: Dude on Jan 8, 2012 1:46 AM

  • Cannot find package javax.servlet.*

    Hi All,
    I'm trying to run the "make all" in the Wrox J2ee bea book and am running in to errors that all seem to stem from the fact that the javax.servlet.* packages do not exist. After looking around it seems that this package should be in the weblogicaux.jar file. I do not have that jar file in my install. Anyone know where i can either get that weblogicaux.jar file or any file which has the javax.servlet packages. Any help would be much appreciated.
    Hoony
    weblogic 5.1.0

    That jar file should be located in %WebLogichome%\lib.
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    "Hoony Youn" <[email protected]> wrote in message
    news:3a70280f$[email protected]..
    >
    Hi All,
    I'm trying to run the "make all" in the Wrox J2ee bea book and am runningin to errors that all seem to stem from the fact that the javax.servlet.*
    packages do not exist. After looking around it seems that this package
    should be in the weblogicaux.jar file. I do not have that jar file in my
    install. Anyone know where i can either get that weblogicaux.jar file or
    any file which has the javax.servlet packages. Any help would be much
    appreciated.
    >
    Hoony
    weblogic 5.1.0

  • Cannot access directory services

    cisco unified call manager 5.0(4) services like corporate directory and logout service,keep on hanging periodically,when this happens it also affects the logout service,any ideas ?

    Hi stingray34,
    This issue may occur if TCP/IP filtering is configured to permit only port 80 for TCP/IP traffic. Plese try the following steps to solve this issue:
    Port 389 is used for Lightweight Directory Access Protocol (LDAP) connections. This port is blocked if TCP/IP filtering is configured incorrectly. By default, TCP/IP filtering is configured with the
    Permit All setting. To verify and correct this setting:
    Right-click My Network Places on the domain controller on which you cannot start Active Directory Users and Computers, and then click
    Properties.
    Click Internet Protocol, and then click Properties.
    Click Advanced.
    Click Options.
    Click TCP/IP Filtering, and then click Properties.
    For the TCP/IP Port setting, click Permit All.
    Restart the computer. This opens all TCP ports, including port 389.
    Regards,
    Lany Zhang

  • Cannot access class javax.ejb.EJBHome

    I am working with JBuilder and it gives me this error when I try to make a servlet.
    Any ideas about what is going on ?

    Sorry for my message above, it belongs to another topic.
    What I wanted to say about your problem: I've had the same problem. I'm using JBuilder 6 and Borland Enterprise Server.
    What did I do: in JBuilder I went to Tools/Enterprise Setup... to the tab Application Servers. Here you can specify where you EJB Server is installed. JBuilder needs some information about the server you are using.
    When I did this, my problem was over. I hope also your problem.
    Greetz
    Rik

  • Custom Class file errors out on import javax.servlet.http.HttpSession

    I am trying to write a class file to handle events. This is a test class file copied from the UIX Docs. When I put this in JDeveloper 903 ,and build it the compiler gives the error:
    Error(2,27): cannot access class javax.servlet.http.HttpSession; file javax\servlet\http\HttpSession.class not found
    I am not sure what is the problem? Can anyone please help?
    Here is the code:--
    package mypackage1;
    import javax.servlet.http.HttpSession;
    import oracle.cabo.servlet.Page;
    import oracle.cabo.servlet.BajaContext;
    import oracle.cabo.servlet.event.PageEvent;
    import oracle.cabo.servlet.event.EventResult;
    public class MyClass
    /** This is handleStoreNameEvent version 1 */
    public static EventResult handleStoreNameEvent(BajaContext context,
    Page page,
    PageEvent event)
    String userName = event.getParameter("txt1");
    HttpSession session = context.getServletRequest().getSession(true);
    session.putValue("User Name", userName);
    Page nextPage = new Page("NextPage");
    return new EventResult(nextPage);
    }

    Hi, you are missing the servlet.jar file from your classpath.
    In JDeveloper, you can add this by opening up your project -> libraries and adding the servlet runtime library.

Maybe you are looking for

  • Upgrade my mini or buy new again

    I have a new mac mini purchased in 12-07. Mac OS X version 10.4.10 1.83 GHz Intel Core 2 Duo 1 GB SDRAM Im currently working with final cut express 4 video editing program. my current projest is going to be 90 to 120 minuets long but im trying to kee

  • Oracle OSM: MetadataException: There is no entity found in document for...

    Some fields was addicted to dictionary and when I deploy the cartridge, the following exception appear. Anyone can help me! com.mslv.oms.metadatahandler.operation.MetadataException: There is no entity found in document for: element matching the key T

  • JFrame (extended) state, iconified/maximized/normal question

    Greetings and salutations, I've been removing some rough edges from my last application and I noticed the following: before an application quits every location/size of the top level components is written to a file. When the application starts again e

  • Importing a Sequence of Images

    Hi , I have get our client 200 tga picture (renders), i want to insert this picture one by one key frame how can i do automatically. I am try to select & stage but picture is place one over another, please help me Regards Manoj

  • How to know where users connected to the network?

    Hi, I check on ISE monitoring to see the authentication status, i found out IP and device port left blank. What should i do in order i can track user is connected from wchich access switchport (all switch were join identity\ network device) Somemore,