Can not compile a servlet!

Hi!
so.. I import
import javax.servlet.*;
import javax.servlet.http.*;
..and then I write mi servlet. But javac tels me :
HttpServlet .. no such thing !
What shall I do ?

do you have servlet.jar included in your classpath? do you have a servlet runner? if not, go to jakarta.apache.org and download tomcat.

Similar Messages

  • Can not make XSQL servlet running under Jrun 3.1! need help

    Hi,
    I tried to run Oracle XSQL servlet under JRun 3.1,I did servlet mapping, such as
    <servlet-name>oracle-xsql-servlet</servlet-name>
    <servlet-class>oracle.xml.xsql.XSQLServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>oracle-xsql-servlet</servlet-name>
    <url-pattern>*.xsql</url-pattern>
    </servlet-mapping>
    I set classpath for XSQL related library such as oraclexsql.jar, xmlparserv2.jar,etc, I believe everything is setup correctly, however when I invoke .xsql page, I did not get data instead of getting sql text!, here is my xsql file content:
    <?xml version="1.0"?>
    <!-- reports.xsql: List of reports by user id -->
    <?xml-stylesheet type="text/xsl" href="Filter.xsl"?>
    <page connection="reports_8i" xmlns:xsql="urn:oracle-xsql">
         <dataform target="reportFilter.jsp" submit="Go">
    <xsql:set-session-param name="userid" value="{@userid}" ignore-empty-value="no"/>
         <xsql:include-param name="userid"/>
         <xsql:set-session-param name="bu_id" value="{@bu_id}" ignore-empty-value="no"/>
         <xsql:include-param name="bu_id"/>
         <xsql:set-session-param name="client_id" value="{@client_id}" ignore-empty-value="no"/>
         <xsql:include-param name="client_id"/>
         <item type="list" name="targetPage" label="Available Reports">
         <xsql:ref-cursor-function bind-params="userid">
                   reports_generation.getReportList(?)
              </xsql:ref-cursor-function>
              </item>
         </dataform>
    </page>
    What I got when I invoked this page is reports_generation.getReportList(?)!!
    It seems that JRun 3.1 did not understand xsql syntax, it means it can not find XSQL servlet related libraries, come on, I did set classpath.
    Does anyone has this experience to help me out? Highly appreicate you in advance.
    Thanks.

    i think i solved this problem by specifying the full path to javac...
    what must i do to avoid this?

  • I can't  compile a servlet

    Can I complie a servlet with javac?
    Im a new user, when i try to compile a servlet from javac myservlet.java
    The compiler send several errors, it doesn't recognise the class of servlets.
    My Enviroments' vars are:
    PATH = C:\JDK1.4\BIN
    CLASSPATH = .;C:\JBuilder8\thirdparty\jakarta-tomcat-4.1.12-LE-jdk14\common\lib\
    I don't know if i'm doing wrong
    I hope your answers

    You need to add sevlet.jar to your classpath, which is located in TOMCAT_HOME/common/lib

  • Help: OJSPC can not compile the JSP with struts tag

    Hi,
    I am trying to precompile the JSP page with EAR package but OJSPC can not parse the Struts tags.
    I always get oracle.jsp.parse.JspParseException:
    Error: org.apache.struts.taglib.html.MessgesTei while reading TLD /WEB-INF/tld/struts-html.tld
    My OC4J version is 10.1.3.2 and I did tried putting the struts-taglib.jar to /opt/oracle/product/app10g/j2ee/home/jsp/lib or /lib/taglib
    but still do not work.
    Can anyone tell me how to configure the OJSPC and let it support customerized taglibs?
    Thanks a lot!

    This is a new problem with jdk1.4 when compiling with tomcat.
    The solution is to ensure that any classes in WEB-INF/classes are in a package structure and the relevant jsp calls the same using the package name.
    best
    kev

  • I can not compile successfully!

    I use jmf2.1.1 to capture audio data from mic,but the following code can not be complie successfully.
    I have added the jmf.jar and sound.jar in the classpath env variable.
    please help me with this problem thanks.
    Vector deviceList = CaptureDeviceManager.getDeviceList(new AudioFormat("linear", 44100, 16, 2));
    "MediaPlayer.java": Error #: 300 : constructor AudioFormat(java.lang.String, int, int, int) not found in class javax.sound.sampled.AudioFormat at line 110, column 64

    Thanks for your reply!
    I have tried many times as your instruction,
    but the error still occurs.I have also checked the constructor of the class
    AudioFormat ,the parameters are (String,double,int,int).
    I have inported the packages needed as follow.Could you please find the problem for me .Thanks again.
    import javax.media.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.sound.sampled.*;

  • Can not compile the jsp in Tomcat 4

    Hello anyone
    Now I use jdk1.4 and Tomcat 4.0.4, and put in the directory d:\j2sdk and d:\tomcat. Even I set the classpath as follow, I still compile jsp.
    SET CLASSPATH=.;D:\j2sdk\lib\tools.jar;D:\tomcat\common\lib\servlet.jar
    but at before, i can run it at Tomcat 3.2.
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    D:\tomcat\work\Standalone\localhost\_\userCounter$jsp.java:4: Class or interface declaration expected.
    import javax.servlet.*;
    ^
    D:\tomcat\work\Standalone\localhost\_\userCounter$jsp.java:10: Superclass org.apache.jsp.HttpJspBase of class org.apache.jsp.userCounter$jsp not found.
    public class userCounter$jsp extends HttpJspBase {
    ^
    2 errors, 1 warning
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         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:190)
         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:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         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:468)
         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:174)
         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:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:536)
    pls help, thank you very much!

    This is a new problem with jdk1.4 when compiling with tomcat.
    The solution is to ensure that any classes in WEB-INF/classes are in a package structure and the relevant jsp calls the same using the package name.
    best
    kev

  • Can not compile php with "-with-oracle=/usr/local/oracle"

    I work on Linux engine with a x86_64 architecture and use Oracle 10g 10.2.0.1 client for x86_64 linux
    so - when i try to compile php with the oracle argument (-with-oracle=/usr/local/oracle) i get everytime the same error:
    checking Oracle version... configure: error: Oracle needed libraries not found
    I think, maybe i have a problem because configure not found my "64 bit libraries"...
    Can someone help me? I am realy helpless...
    thx

    Did you really want the obsolete "oracle" driver - why not use --with-oci8?
    The user comments in http://www.php.net/oci8 have some good info on 64bit configuration.

  • [solved] Can not compile gtk2 apps

    Hello every one
    When trying to compile, for example, lingot, I'm getting this:
    I'm getting this when try to compile:
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking whether we are cross compiling... no
    checking for gcc option to accept ISO C89... none needed
    checking for library containing strerror... none required
    checking for gcc option to accept ISO C89... (cached) none needed
    checking for gcc option to accept ISO C89... (cached) none needed
    checking for a sed that does not truncate output... /bin/sed
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking whether -lc should be explicitly linked in... no
    lingot-config-dialog.h:27:21: error fatal: gtk/gtk.h: No existe el fichero o el directorio
    I'm getting this with a lot of packages also. nautilus-elementary-bzr too.
    I'll thank you any help anyone can provide.
    Last edited by faco (2010-12-25 12:50:20)

    Package gdk-pixbuf-2.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gdk-pixbuf-2.0.pc'
    to the PKG_CONFIG_PATH environment variable.
    How can I do fix it?
    thanks.

  • TT can not compile!

    I have installed timesten1121.9 on centos6.2 -64bit .It work by ttisql.But when i compile c++ code ,it show some errors. this is my code :
    #include "ttclasses/TTConnection.h"
    #include "ttclasses/TTCmd.h"
    #include "ttclasses/TTStatus.h"
    #include <iostream>
    using namespace std;
    int main() {
    //TTCmd cmd;
    TTStatus stat;
    TTConnection _connTT;
    connTT.Connect("DSN=TT1121;pwd=svc",stat);
    if(_connTT.isConnected())     
    cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
    else
    cout<<" connect failed!"<<endl;
    return 0;
    when i compile the code ,it show errors :
    In file included from test.cpp:10:
    /home/yleesun/3rd/TimesTen/include/ttclasses/TTCmd.h:365: error: ‘void TTCmd::getColumn(int, SQLBIGINT*, TTStatus&)’ cannot be overloaded
    /home/yleesun/3rd/TimesTen/include/ttclasses/TTCmd.h:353: error: with ‘void TTCmd::getColumn(int, long int*, TTStatus&)’
    /home/yleesun/3rd/TimesTen/include/ttclasses/TTCmd.h:366: error: ‘bool TTCmd::getColumnNullable(int, SQLBIGINT*, TTStatus&)’ cannot be overloaded
    /home/yleesun/3rd/TimesTen/include/ttclasses/TTCmd.h:355: error: with ‘bool TTCmd::getColumnNullable(int, long int*, TTStatus&)’
    /home/yleesun/3rd/TimesTen/include/ttclasses/TTCmd.h:367: error: ‘void TTCmd::getColumn(int, SQLBIGINT*)’ cannot be overloaded
    But when I donot include the TTCmd.h ,it compile OK! why??? who can help me ???

    Neither is specifically supported on Centos. Please check the Release Notes for the versions of Linux that TimesTen is certified on. For example:
    http://docs.oracle.com/cd/E21901_01/doc/timesten.1122/e21630/toc.htm
    Linux x86-32 and x86-64:
    •Oracle Linux 4, 5 and 6
    •Red Hat Enterprise Linux 4, 5 and 6
    •SUSE Enterprise Server 10 and 11
    •MontaVista Linux CGE 5.0 and 6.0x
    •Asianux 3.0
    My understanding is that Centos is a free source-recompile of RedHat Enterprise Linux so in all likelihood TimesTen will run without a problem on it, but we do not officially support TimesTen on Centos. I'm just bringing this to your attention in case it's important later on.

  • Can not compile HelloServlet3.java with ServletUtilities

    hi guys,
    i have another compiling error with the ServletUtilities in the HelloServlet3.java.
    the following is the error, please check it out
    C:\SERVLETcode\hello3>javac HelloServlet3.java
    HelloServlet3.java:23: cannot resolve symbol
    symbol : variable ServletUtilities
    location: class moreservlets.HelloServlet3
    out.println(ServletUtilities.headWithTitle(title) +
    ^
    1 error
    i already check the classpath
    classpath = .;c:\servletcode;tomcat4\common\lib\servlet.jar
    i think it is correct because i can compile the HelloServlet1.java and HelloServlet2.java, except the HelloServlet3.java
    so can anyone help me out of it....
    thank you in advance....
    the source code is herepackage moreservlets;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloServlet3 extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String title = "Hello (3)this is test3";
    out.println(ServletUtilities.headWithTitle(title) +
    "<BODY BGCOLOR=\"#FDF5E6\">\n" +
    "<H1>" + title + "</H1>\n" +
    "</BODY></HTML>");

    My guess is that you need to have an import statement for the ServletUtilities class. If it's in the classpath, then the webserver loads that jar and knows about the classes inside it, but your servlet still needs to import the ServletUtilities class to use it (unless they are part of the same package and are in the same directory hierarchy).
    I hope this helps,
    Val

  • Can not compile custom kernel

    Hi I'm  trying to compile my own kernel for using fbcondecor and liquorix set of patches so I create a custom pkgbuild for kernel26 based on arch kernel26 pkgbuild from abs/core
    The problem comes when I start compilation it gets aborted without error message, here are the files and the log :
    CUSTOM PKGBUILD FOR KERNEL26
    http://pastebin.com/8X9nmWaU
    CONFIG FOR KERNEL
    http://pastebin.com/A08CXFZ0
    MAKEPKG LOG
    http://pastebin.com/tLs9GnRC
    Also my lscpi output
    00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
    00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
    00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
    00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
    00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
    00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
    00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
    00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
    00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
    00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
    00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
    00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
    00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
    00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
    00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
    00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
    00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
    00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
    00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
    00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03)
    02:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
    03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
    I know I'm missing something but I don't know what
    For creating the config file I untar the kernel source and run localmodconfig and gconfig for removing what I think I don't need
    Also I'm using the liquorix patches set becuase they allready include the support for fbcondecor
    I am using this pages as reference for creating the config file
    http://zen-kernel.org/tutorials/creatin … figuration
    http://kmuto.jp/debian/hcl/index.rhtmlx
    http://kernel-seeds.org/
    Can someone point me to the right direcction I'll apreciate that a lot ( this  are my first attempts to compile a custom kernel )
    I'm running arch x86_64 uptodate

    Your error is here :
    kernel/sched_bfs.c:3393:1: error: tipos en conflicto para ‘wait_for_completion_interruptible_timeout’
    include/linux/completion.h:84:13: nota: la declaración previa de ‘wait_for_completion_interruptible_timeout’ estaba aquí
    kernel/sched_bfs.c:3398:1: error: tipos en conflicto para ‘wait_for_completion_interruptible_timeout’
    include/linux/completion.h:84:13: nota: la declaración previa de ‘wait_for_completion_interruptible_timeout’ estaba aquí
    kernel/sched_bfs.c:3426:1: error: tipos en conflicto para ‘wait_for_completion_killable_timeout’
    include/linux/completion.h:86:13: nota: la declaración previa de ‘wait_for_completion_killable_timeout’ estaba aquí
    kernel/sched_bfs.c:3431:1: error: tipos en conflicto para ‘wait_for_completion_killable_timeout’
    include/linux/completion.h:86:13: nota: la declaración previa de ‘wait_for_completion_killable_timeout’ estaba aquí
    kernel/sched_bfs.c:3948:5: error: tipos en conflicto para ‘sched_setscheduler’
    include/linux/sched.h:2069:12: nota: la declaración previa de ‘sched_setscheduler’ estaba aquí
    kernel/sched_bfs.c:3954:1: error: tipos en conflicto para ‘sched_setscheduler’
    include/linux/sched.h:2069:12: nota: la declaración previa de ‘sched_setscheduler’ estaba aquí
    kernel/sched_bfs.c:3967:5: error: tipos en conflicto para ‘sched_setscheduler_nocheck’
    include/linux/sched.h:2071:12: nota: la declaración previa de ‘sched_setscheduler_nocheck’ estaba aquí
    As far as I can see it seems that your patches are actually doing something to sched_bfs.c, so it's probably their fault.  eldragon's advice could verify that.

  • Can not compile package

    Hi,
    I have package and it is invalid. When I try to compile it starts to compile but not stop. I think it is locked or something else. I renamed it and compiled and it worked. Functions in package runned also.
    But I want the orginal package to run.
    Does anyone has idea about this problem?
    Thanks in advance.

    If you have killed all the session using this package, it may take sometime to rollback the transactions. Mean while also make changes in the package, so that it commits its transaction at the end of logical transaction end otherwise you will face this issue again. After sometime you can compile the package.
    Other option may be to restart the database in restricted mode. Make your changes, compile the package and then put the database in normal mode.
    Regards
    Edited by: skvaish1 on Apr 9, 2010 10:27 AM

  • JDeveloper can not compile special file

    Hello,
    I am using JDeveloper 10g ( version 9.0.5.2 ).
    I have developed a project using ADF model and developing work ( coding, compiling,debugging,..) ok.
    But, this morning i open project again compile it ok.But affter i add some new lines code into a class,i compile again and get compiling successfull message.But when i run it, the result the same as the old code ( i mean the new code is not recognized by JDeveloper ).
    So, i place a breakpoint at new new added line code, the debugger bypass these new lines code and JDeveloper does'nt know the new declared variables.I don't know why??
    Please help me,
    Thanks

    Hi Frank Nimphius,
    These new lines code are added at the first line of code block, Jdeveloper debugger still inorges it.
    I have done:
    - delete all class file
    - remove the source file from the project
    - delete the source file from file system
    - add a new class with the same name to project again
    - code old code ( including the new lines code is added ) and paste to new source file
    After that,i rebuild all project and it debug ok. ( i mean Jdeveloper debugger know the new code ! ).
    Then i add new some codes again ( at the beginning of method body,so i am sure these code is reached ) and the the Developer debugger inorge them again !!!!

  • Applet can not read from servlet because of java.io.EOFException

    Hi all,
    i try to communicate my applet with a servlet. i examine lots of codes from internet and i did lots of things to get a working sample but i couldn't sucess on this work for 2 days so if anyone can help me i will be very happy.
    Anyway, here is the code snippets :
    1- Applet side code to send data (serializabed object) to servlet :
       // Opening connection...
       URL urlServlet = new URL("http", "81.214.190.3", 8080, "/pwta/pwtax");
       URLConnection connection = urlServlet.openConnection();
       // Setting attributes...
       connection.setDoInput(true);
       connection.setDoOutput(true);
       connection.setUseCaches(false);
       connection.setDefaultUseCaches(false);
       connection.setRequestProperty("Content-Type",
                                                                  "application/octet-stream");
       OutputStream outputStream = connection.getOutputStream();
       ObjectOutputStream objectOutputStream = new ObjectOutputStream (outputStream);
       objectOutputStream.writeObject(islem);
       objectOutputStream.flush();
       objectOutputStream.close();
       // Receiving result from servlet...
      // Exception is thrown at line 71! Detail is written at bottom of message!
      InputStream inputStream = con.getInputStream(); // line 71 is here!!!
      ObjectInputStream objectInputStream = new ObjectInputStream(inputStream);
      returnValue = (Sonuc) objectInputStream.readObject();
      objectInputStream.close();
      inputStream.close();
    2- Server side code which read data and sendit after processing  to   applet  :
    // Reading requirement... Implementation is done in doPost() method!
        InputStream in = request.getInputStream();
        ObjectInputStream inputFromApplet = new ObjectInputStream(in);
        Islem islem = (Islem) inputFromApplet.readObject();
        inputFromApplet.close();
        // Doing the required job!
       setMapperAndDoTheJob(islem);
       // Writing the result to user...
       OutputStream outstr = response.getOutputStream();
       ObjectOutputStream oos = new ObjectOutputStream(outstr);
       oos.writeObject(sonuc);
       oos.flush();
       oos.close();
    //  *************************************************************************When i run my applet the following exception is thrown :
    java.io.EOFException
    at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
    at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)
    at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
    at java.io.ObjectInputStream.<init>(Unknown Source)
    at tr.com.proksis.pwta.domain.PWTAProcessor.transferProcess(PWTAProcessor.java:71)
    Best Regards,
    eRoHaN

    get it working using a text transfer before you use and object transfer

  • OSS kernel modules can not compile in kernel 2.6.38

    build failed:
    OSS build environment set up for REGPARM kernels
    Building module osscore
    Failed to compile OSS
    /usr/bin/make -C /lib/modules/2.6.38-ARCH-LH/build M=/usr/lib/oss/build modules
    make[1]: Entering directory `/usr/src/linux-2.6.38-ARCH-LH'
    CC [M] /usr/lib/oss/build/osscore.o
    /usr/lib/oss/build/osscore.c: In function 'alloc_fop':
    /usr/lib/oss/build/osscore.c:964:14: warning: assignment from incompatible pointer type
    /usr/lib/oss/build/osscore.c: In function 'oss_pci_read_devpath':
    /usr/lib/oss/build/osscore.c:1638:3: warning: return discards qualifiers from pointer target type
    /usr/lib/oss/build/osscore.c: In function 'oss_cmn_err':
    /usr/lib/oss/build/osscore.c:675:1: warning: the frame size of 1064 bytes is larger than 1024 bytes
    Building modules, stage 2.
    MODPOST 1 modules
    FATAL: vmlinux has no symtab?
    make[2]: *** [__modpost] Error 1
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.38-ARCH-LH'
    make: *** [default] Error 2
    is there any workaround?
    Last edited by jarryson (2011-03-17 14:38:32)

    Can't reproduce here. oss has built just fine on multiple 2.6.38 rc's as well as the mainline release. I'd say your kernel config and/or package is at fault.

Maybe you are looking for

  • MTU keeps changing from 1500 to 576

    I wanted to lock the MTU to 1500 for my Internet port so I made the following changes: In rc.local I placed the command ifconfig eth0 mtu 1500 In /etc/conf.d/dhcpcd  I added: nohook mtu eth0 Note that the eth0 port is set up to use dhcp in rc.conf. S

  • Aperture 3: Deleting raw files and making the jpeg my new master-

    Aperture 3 has made some great strides in making the following possible ( I posted this originally in 2007): What I'd like to do is shoot everything in raw + jpg, and then keep the raw files only for the important shots. I really like having the opti

  • Checking system resources in java

    Hi, how can i check the following resources in java program: 1) available cpu 2) available bandwidth 3) available RAM memory thanks

  • Data lost when exporting from iPhoto?

    When exporting photos from iPhoto, the descriptions of the photos (here bird and animal names) get lost.  Is this true, or are we doing it incorrectly? Thanks! Ed

  • Downloading Photoshop Elements 10 on new iMac

    My old Mac has died on me, and cannot revived I am afraid.  Have purchased new iMac and I cannot load my Photoshop Elements 10 from disc and discs don't work with new iMac.  Is it possible to download direct from Adobe?