EOF error in servlet

hello guys, i am writing applet-servlet communication application, i am getting this error, which i am unable to resolve after digging into google also, hope someone here could help me get rid of the error. thanks in advance
code at applet
     URL url = new URL(getCodeBase(), "NewServlet");
URLConnection con = url.openConnection();
con.setUseCaches(false);
con.setDoOutput(true);
con.setDoInput(false);
ByteArrayOutputStream stream = new ByteArrayOutputStream();
ObjectOutputStream oos = new ObjectOutputStream(stream);
oos.writeObject(obj);
oos.flush();
oos.close();
byte[] buf = stream.toByteArray();
// con.setRequestProperty ("Content-Type", "application/x-java-serialized-object");
con.setRequestProperty("CONTENT-LENGTH",Integer.toString(buf.length));
DataOutputStream dataout = new DataOutputStream(con.getOutputStream());
dataout.write(buf);
dataout.flush();
dataout.close();
code at servlet
     public void doGet(HttpServletRequest request, HttpServletResponse response)
     throws ServletException, IOException
     doPost(request, response);
     public void doPost(HttpServletRequest request, HttpServletResponse response)
     throws ServletException, IOException
          InputStream in = request.getInputStream();
          try
     ObjectInputStream ois = new ObjectInputStream(in);
     catch(EOFException e1)
     System.out.println(" EXCEPTION ");
     e1.printStackTrace();
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2279)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2748)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
     at NewServlet.doPost(NewServlet.java:112)
at NewServlet.doGet(NewServlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
also another thing :
when i do System.out.println(" Content Length = " + request.getContentLength()); it shows -1
and at applet side when i write
JOptionPane.showMessageDialog(this,"Priting buf length \n" + buf.length,"Testing!!" , JOptionPane.WARNING_MESSAGE); it shows 501
while
JOptionPane.showMessageDialog(this,"Priting con length \n" + con.getContentLength(),"testing!!" , JOptionPane.WARNING_MESSAGE); shows 234

I think you have to read the headers on the servlet side before you can read the object. I did this once a while ago, but if I recall you have to read a series of strings, each one a header record, until you hit a blank line. That is the indication that the rest of the content is the posted object.

Similar Messages

  • How do we catch errors in Servlets?

    Hello, i 'm using Servlets and JDBC.
    i'm having a form.html where the user inserts data in the input fields.
    It's a registration page.
    I would like to check for possible user errors.
    For example if the user has not typed anything in a required field like field "password", so the field is null.
    I would like to inform the user that this field is null and he/she shall type in it again.
    (I'm talking generally not only for a registration page but to any page that requires correct data)
    *1.* Shall i use Javascript?
    *2.* Shall i direct the user to an error page where the page describes the error, what the user has to do in order to correct it and direct him back to the previous page?
    *3.* Shall i only use if/else?
    I would appreciate if sm could give me some advice on this matter or post me some links related to catch errors in servlets.
    Thanks, in advance!
    Edited by: g_p_java on Jul 11, 2009 12:15 PM

    Here is a possible approach to this issue:
    * use javascript to validate all textfields on the form client-side every time the user clicks the submit button. If it fails, put a message in red next to the problem textfield describing what the problem is. Dont allow submit if there are validation issues.
    * More than one validation may apply to a given textfield. For instance, the field cant be empty is checked before its checked for an invalid date.
    * Check to see if its an invalid date format first (example: mm/dd/yyyy), then check to see if its an invalid date (non leap year for example).
    * recheck all validation back on the server (necessary if user disabled javascript or a hacker bypasses your client side validation). Redraw the page and populate it, but put messages next to the problem fields as you did for javascript.
    * The invalid date format and invalid date should pass if given an empty value since the its the empty value validation (if it applicable for that field) that is repsonsible for that test.
    *since you will be applying this validation over and over again for all your JSP pages for this project and future projects, it may be a good idea to create reusable code for it. You may also research google for good approaches.
    Your javascript code should be from a single javascript file that is included into each JSP page so it can be reused.
    @see http://www.xs4all.nl/~sbpoley/webmatters/formval.html
    * All textfields should be validated throughly so your database never gets bad data (data is king).
    * common things to check for:
    invalid date format, invalid date, empty textfield, invalid email address, invalid telephone number format, invalid zip code, etc, etc, etc

  • Error propagating servlet user to peer?

    Hello,
    We currently have a Windows 2003 Server 32bit running ColdFusion 8.01 with 3 instances named: cfusion, Instance1 and Instance2. Instance 1 and Instance 2 are clustered together and serving all our sites in IIS. We're hosting just over 200 sites with approx. 6-7 hits a second.
    ColdFusion is running with all the latest hot fixes and patches. The JVM is version 1.6_24.
    For a while now one of the instances in the cluster randomly  locks up a few times a month, fails to return pages and has high cpu usage. We'd normally just restart the instance and things would return to normal. It's bad to ignore things but it's only recently I've had a chance to look into the cause of these lock ups.
    Last night both the instances appeared to fail. We have an external monitor that hits our sites every 5 minutes to ensure they are still running.
    Scanning through the JRun logs at about the time we received our first monitor warning there are a bunch of what appear to be propagation errors on both instances.
    Logs from Instance1:
    22/03 07:10:14 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:16 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:17 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:18 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:20 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:21 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:23 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:23 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:24 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:24 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:25 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:26 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:26 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:26 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:26 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:27 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:28 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:28 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:10:29 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
    22/03 07:17:43 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketException: Connection reset by peer: socket write error
    Logs from Instance2:
    22/03 07:10:40 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketException: Connection reset by peer: socket write error
    22/03 07:10:40 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketException: Connection reset
    22/03 07:10:40 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketException: Connection reset
    22/03 07:10:40 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketException: Connection reset by peer: socket write error
    22/03 07:10:40 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketException: Connection reset by peer: socket write error
    22/03 07:10:40 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketException: Connection reset by peer: socket write error
    22/03 07:10:40 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketException: Connection reset by peer: socket write error
    22/03 07:10:40 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketException: Connection reset by peer: socket write error
    22/03 07:10:40 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketException: Connection reset by peer: socket write error
    22/03 07:10:40 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketException: Connection reset by peer: socket write error
    22/03 07:10:40 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketException: Connection reset by peer: socket write error
    22/03 07:10:41 info Clusterable service JRunRMIBroker discovered ClusterManager on xxx.xxx.xxx.xxx:3862, cluster domain: cluster1 (Lookup Service's JINI-ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
    22/03 07:10:42 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketException: Connection reset
    22/03 07:10:42 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.io.EOFException
    22/03 07:10:42 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketException: Connection reset
    22/03 07:10:42 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.net.SocketException: Connection reset
    22/03 07:10:42 warning Error propagating servlet user to peer: error during JRMP connection establishment; nested exception is:
        java.io.EOFException
    22/03 07:10:43 error ROOT CAUSE:
    java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method)
        at java.lang.Thread.start(Thread.java:640)
    I suspect it's a JVM memory issue, however I have no way of extracting or creating memory logs without bringing all our sites down again.
    I only know the basics of how the JVM heap space works but my guess is that one of the instances can't create any more threads because the PermGen space has run out and it's killing the cluster.
    Here's our current JVM settings: java.args=-server -Xmx768m -Xms768m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Dcoldfusion.fckupload=true -Dcoldfusion.rootDir={application.home}/
    Has anyone come across this issue before or has any ideas on how to better debug the issue with minimal impact on uptime?

    Well the classes should be in WEB-INF/classes, but I don't think that's your problem.
    Getting an applet to connect to a db is notoriously difficult (so I've heard - I've never tried it), so having the applet talk to the servlet with the servlet in turn talking to the db is a good idea.
    "i cant see the error message because it wont print in the VM,"
    That doesn't sound right. What does your error handling code look like?
    " MySQL it also has access permissions for some weird reason."
    MySQL is set up so that user credentials are only valid from a specific host unless you explicitly tell it that a user can connect from anywhere. This is native to MySQL and has nothing to do with java or JDBC.
    Most of the code you posted throws Exceptions. Are you catching them, and if so what did they say?

  • Error deploying to new 10.1.3.4 App Server - "Error instantiate servlet..."

    Hello all,
    Your help would be greatly appreciated finding the root cause of this error. I'm trying to deploy your run of the mill .war to a newly installed Oracle Application Server version 10.1.3.4. The deployment fails at the very end with the exception below. The app server is running on RHEL 4.7. I built the war first with JDEV 11g, and then built it from Netbeans to try and make sure JDEV 11g wasn't doing something funny to the war. Both times, after deploying I receive the error below. Any insight would be greatly appreciated. I'm not using ADF or anything in particular like that. Thank you for any help you might be able to provide. -- Jason
    <blockquote>
         08/12/16 13:39:45 oracle.oc4j.admin.internal.DeployerException: Error instantiate servlet classes
         08/12/16 13:39:45 at com.evermind.server.http.deployment.WARAnnotationParser.getServletClasses(WARAnnotationParser.java:157)
         08/12/16 13:39:45 at com.evermind.server.http.deployment.WARAnnotationParser.parseAnnotations(WARAnnotationParser.java:95)
         08/12/16 13:39:45 at com.evermind.server.http.HttpApplication.parseMetaData(HttpApplication.java:8575)
         08/12/16 13:39:45 at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1113)
         08/12/16 13:39:45 at com.evermind.server.http.HttpApplication.&lt;init&gt;(HttpApplication.java:738)
         08/12/16 13:39:45 at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
         08/12/16 13:39:45 at com.evermind.server.Application.getHttpApplication(Application.java:545)
         08/12/16 13:39:45 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
         08/12/16 13:39:45 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.&lt;init&gt;(HttpSite.java:1909)
         08/12/16 13:39:45 at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1606)
         08/12/16 13:39:45 at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
         08/12/16 13:39:45 at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
         08/12/16 13:39:45 at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
         08/12/16 13:39:45 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
         08/12/16 13:39:45 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         08/12/16 13:39:45 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         08/12/16 13:39:45 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         08/12/16 13:39:45 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         08/12/16 13:39:45 at java.lang.Thread.run(Thread.java:595)
    </blockquote>

    "Not really. You can exclude the data-sources.xml from the EAR file and rely on the setup of the Global Datasource, created before deployment.
    --olaf"
    Thanks. Yes I did try this but when I setup the datasource via the datasources tab within the console I still received the error. This may have been due to an error on my part but I can't be sure as i've tried all sorts of different approaches over the last few days. I initially didn't have a datasource.xml so there wasn't one to exclude (via the deploy properties in Jdev) I had relied on Jdeveloper to setup the datasource via my connections. I read somewhere that Jdev does this fduring deploy and indeed it works fine for my embedded oc4j and when deplolying from Jdeveloper 10.1.2 so it would seem odd that the same approach doesn't work for Jdeveloper 10.1.3.
    Surely the release notes regarding the password issue is the reason why I can't deploy from Jdev 10.1.3.4 to app server 10.1.2?
    The release notes say that a patch is due to fix the issue with password indirection, Olaf do you know where I can get this?
    Also how do I setup Jdev not to write the datasources during deployment? If I don't have a datasources.xml then there is nothiing to exclude. Is there a setting somewhere in Jdev 10.1.3.4?
    Edited by: [email protected] on 05-Mar-2009 08:08
    Edited by: [email protected] on 05-Mar-2009 08:12

  • Error compilng servlet - even after including servlet.jar in classpath

    I have the tomcat installation , which shows the default page on stating the tomcat.
    I have my classpath set to -
    set CLASSPATH=c:\tomcat4.1\comman\lib\servlet.jar;c:\j2sdk1.4\lib\tools.jar;
    set PATH=c:\j2sdk1.4\bin;
    I have a greetserv.java which is a simple example servlet. When i try to compile this, it gives me the error javax.servlet.jar does not exist.I have it included in the classpath, but it still doesnt work.
    Any help will be appreciated.
    Thanks,
    Jyothi

    What is javax.servlet.jar?

  • EOF error message in email.log

    Hello. We are having problems sending out an email through
    our CF-based application using cfmail.
    We are seeing the following record in mail.log:
    "Error","scheduler-8","11/04/08","15:10:23",,"[EOF]"
    I gather that EOF stands for end of file, but I'm not sure
    what that really means in this case. Is it a timeout? If so, why?
    In this case, there are a lot of email addresses in the bcc
    field, so that may be the culprit. But, even so, we're not sure if
    there are bad email addresses in the list that are causing the
    problem or just too many to process before a timeout, or something
    else.
    Any ideas about how to further diagnose this?
    There was a previous discussion about this issue at the link
    below but there was no real explanation of what the EOF error
    message means in this situation:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=3&threadid=13 43202&highlight_key=y&keyword1=%5BEOF%7D

    Refinedtita, thank you for sharing your concerns about your Droid Razr. I'm sad to hear that the only thing you like about the phone is the Gorilla Glass, because this is a great device. As the other forum members have posted, your email account seems to be setup strangely. You say you have all three email accounts synced so that the same emails go to each account? Do you have the emails forwarded from one email account to the others? Do your emails also show duplicated if you login to each Hotmail or Gmail account from your Browser or a computer?
    I would suggest removing email accounts also, starting with the two Hotmail accounts since removing the Gmail account generally requires a hard reset. If you have any forwarding setup on your home computer, remove that setting.
    Let us know if you need additional assistance.
      MarquiaF_VZW
    Follow us on Twitter @VZWSupport

  • Error Loading servlet in iplanet app server NotSerializableException

    I am trying to load a servlet and everything runs correct but when i try to connect to the database of the system I get java.io.NotSerializableException. I am not passing any data through rmi or writing any data to the system, but still get this message. The wierd thing is that this runs without a problem on my windows, running JRun, and linux, running tomcat, machine but give me this message on my unix machine running Iplanet, does anyone have any clue to what would cause such an error, when everything works on all the other machines but the unix one.
    Thanks.

    I am not sure what that realy means???
    Here is the error
    [01/Apr/2002 16:34:59:2] error: Exception:
    SERVLET-IO_exception: IOException occurred
    Exception Stack Trace:
    java.io.NotSerializableException:
    org.meinds.forum.database.DbAuthorization
    at
    at java.lang.Throwable.fillInStackTrace(Native
    ative Method)
    at
    at java.lang.Throwable.fillInStackTrace(Compiled
    piled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(Compiled Code)
    at
    at java.io.ObjectStreamException.<init>(Compiled
    piled Code)
    at
    at
    at java.io.NotSerializableException.<init>(Compiled
    ed Code)
    at
    at
    at java.io.ObjectOutputStream.outputObject(Compiled
    ed Code)
    at
    at
    at java.io.ObjectOutputStream.writeObject(Compiled
    ed Code)
    at
    at
    at
    at
    java.io.ObjectOutputStream.outputClassFields(Compiled
    Code)
    at
    at
    at
    at
    java.io.ObjectOutputStream.defaultWriteObject(Compiled
    Code)
    at
    at
    at java.io.ObjectOutputStream.outputObject(Compiled
    ed Code)
    at
    at
    at java.io.ObjectOutputStream.writeObject(Compiled
    ed Code)
    at
    at
    at
    at
    com.netscape.server.servlet.platformhttp.PlatformNASSe
    ssion.putMemberValue(Compiled Code)
    at
    at
    at
    at
    com.netscape.server.servlet.platformhttp.PlatformNASSe
    ssion.saveSession(Compiled Code)
    at
    at
    at
    at
    com.netscape.server.servlet.platformhttp.PlatformNASSe
    ssion.decrementActiveRequestCount(Compiled Code)
    at
    at
    at
    at
    com.netscape.server.servlet.platformhttp.PlatformHttpS
    ervletRequest.releaseSession(Compiled Code)
    at
    at
    at
    at
    com.netscape.server.servlet.servletrunner.ServletRunne
    r.execute(Compiled Code)
    at
    at
    at com.kivasoft.applogic.AppLogic.execute(Compiled
    ed Code)
    at
    at
    at com.kivasoft.applogic.AppLogic.execute(Compiled
    ed Code)
    at com.kivasoft.thread.ThreadBasic.run(Native
    n(Native Method)
    at com.kivasoft.thread.ThreadBasic.run(Native
    n(Native Method)
    at com.kivasoft.thread.ThreadBasic.run(Native
    n(Native Method)
    at com.kivasoft.thread.ThreadBasic.run(Native
    n(Native Method)
    at
    at com.kivasoft.thread.ThreadBasic.run(Compiled
    piled Code)
    at java.lang.Thread.run(Compiled Code)

  • Error loading servlet: weblogic.servlet.FileServlet with v. 4.0.3

    Servlets have been working for months. Suddenly, I'm getting
              this error (see below) as soon as I try to hit a servlet.
              The startup process looks normal. I've re-installed WL v 4.0.3
              several time, gotten the license in place, so on and so forth,
              but cannot get around this problem. "weblogic.properties" file
              still reads:
              weblogic.httpd.register.file=weblogic.servlet.FileServlet
              All my servlets and EJBs have been registered, and db connection and
              pool made, as usual. As I said above, everything looks normal until
              I try to hit a servlet.
              [... startup output tidied up a bit ...]
              Thu Jan 27 14:46:05 MST 2000:<I> <ListenThread> Listening on port: 80
              Thu Jan 27 14:46:06 MST 2000:<I> <SSLListenThread> Listening on port: 7002
              Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> Error loading servlet: weblogic.servlet.FileServlet
              Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> java.lang.IncompatibleClassChangeError: class
              weblogic.utils.classloaders.ClasspathClassFinder does not implement interface weblogic.utils.classloaders.ClassFinder
              at weblogic.utils.classloaders.GenericClassloader.findLocalClass(GenericClassloader.java:196)
              at weblogic.utils.classloaders.GenericClassloader.reallyLoadClass(Compiled Code)
              at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.loadClass(RecursiveReloadOnModifyClassLoader.java:221
              at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:66)
              at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.findLocalClass(RecursiveReloadOnModifyClassLoader.java:96)
              at weblogic.utils.classloaders.GenericClassloader.reallyLoadClass(Compiled Code)
              at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:82)
              at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:66)
              at weblogic.servlet.internal.ServletContextImpl.loadClass(ServletContextImpl.java:440)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:121)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:85)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:67)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:203)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:505)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
              at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
              Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> Servlet failed with ServletException ...
              ... and so on with multiple cascading failures.
              Does anyone have any idea as to what could cause this?
              Thanks.
              Paul Furbacher
              [email protected]
              

    Did you register your servlets after reinstalling. FileServlet is only for handling html pages. It has no role in loading servlets.
              "Paul Furbacher [TeamB]" wrote:
              > Servlets have been working for months. Suddenly, I'm getting
              > this error (see below) as soon as I try to hit a servlet.
              > The startup process looks normal. I've re-installed WL v 4.0.3
              > several time, gotten the license in place, so on and so forth,
              > but cannot get around this problem. "weblogic.properties" file
              > still reads:
              >
              > weblogic.httpd.register.file=weblogic.servlet.FileServlet
              >
              > All my servlets and EJBs have been registered, and db connection and
              > pool made, as usual. As I said above, everything looks normal until
              > I try to hit a servlet.
              >
              > ****
              >
              > [... startup output tidied up a bit ...]
              > Thu Jan 27 14:46:05 MST 2000:<I> <ListenThread> Listening on port: 80
              > Thu Jan 27 14:46:06 MST 2000:<I> <SSLListenThread> Listening on port: 7002
              > Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> Error loading servlet: weblogic.servlet.FileServlet
              > Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> java.lang.IncompatibleClassChangeError: class
              > weblogic.utils.classloaders.ClasspathClassFinder does not implement interface weblogic.utils.classloaders.ClassFinder
              > at weblogic.utils.classloaders.GenericClassloader.findLocalClass(GenericClassloader.java:196)
              > at weblogic.utils.classloaders.GenericClassloader.reallyLoadClass(Compiled Code)
              > at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.loadClass(RecursiveReloadOnModifyClassLoader.java:221
              > at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:66)
              > at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.findLocalClass(RecursiveReloadOnModifyClassLoader.java:96)
              > at weblogic.utils.classloaders.GenericClassloader.reallyLoadClass(Compiled Code)
              > at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:82)
              > at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:66)
              > at weblogic.servlet.internal.ServletContextImpl.loadClass(ServletContextImpl.java:440)
              > at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:121)
              > at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:85)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:67)
              > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:203)
              > at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:505)
              > at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
              > at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
              >
              > Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> Servlet failed with ServletException ...
              >
              > ... and so on with multiple cascading failures.
              >
              > ****
              >
              > Does anyone have any idea as to what could cause this?
              >
              > Thanks.
              >
              > Paul Furbacher
              > [email protected]
              

  • Error loading servlet: 'EbuController' java.lang.NoClassDefFoundError after redeploy EAR in weblogic 6.1

              Hi, there:
              we have deployed our application in EAR format in \config\mydomain\applications.
              This EAR contains one ejb.jar and one web.war. I can access a servlet after I
              deployed the EAR file into weblogic 6.1 sp1. However, if I redeploy this EAR file
              from within weblogic console. I got the following error when I revisit that servlet
              again.
              <Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
              form,/platform)] Error loading servlet: 'EbuController'
              java.lang.NoClassDefFoundError
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:237)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
              pl.java:665)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
              Impl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              <Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
              form,/platform)] Error loading servlet: "EbuController"
              java.lang.NoClassDefFoundError
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:237)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
              pl.java:665)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
              Impl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Your help is highly appreciated!
              Jerry
              

              Hi, there:
              we have deployed our application in EAR format in \config\mydomain\applications.
              This EAR contains one ejb.jar and one web.war. I can access a servlet after I
              deployed the EAR file into weblogic 6.1 sp1. However, if I redeploy this EAR file
              from within weblogic console. I got the following error when I revisit that servlet
              again.
              <Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
              form,/platform)] Error loading servlet: 'EbuController'
              java.lang.NoClassDefFoundError
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:237)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
              pl.java:665)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
              Impl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              <Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
              form,/platform)] Error loading servlet: "EbuController"
              java.lang.NoClassDefFoundError
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:237)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
              pl.java:665)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
              Impl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Your help is highly appreciated!
              Jerry
              

  • Error loading servlet because a ClassNotFoundError

    Hi,
    I send a request to a servlet named "ControlAcceso".
    The WebLogic server prints:
    Error loading servlet: 'ControlAcceso'
    java.lang.NoClassDefFoundError: gov/co/ssp/suin/ejb/ServiciosAutenticacionHome
    at gov.co.ssp.suin.web.ControlAcceso.init(ControlAcceso.java:23)
    I have an EJB that has a home interface named gov.co.ssp.suin.ejb.ServiciosAutenticacionHome;
    the file ServiciosAutenticacionHome.class is located in a directory named /gov/co/ssp/suin/ejb
    in a sui_ejb.jar file and in a sui_web.war file.
    Besides, I put the sui_ejb.jar in the CLASSPATH of WebLogic Server in the setEnv.cmd
    file.
    A piece of code of the ControlAcceso.java servlet follows:
    package gov.co.ssp.suin.web;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    import javax.naming.*;
    import gov.co.ssp.suin.ejb.ServiciosAutenticacionHome ;
    import gov.co.ssp.suin.ejb.ServiciosAutenticacion ;
    import gov.co.ssp.suin.comun.* ;
    import gov.co.ssp.suin.ejb.ServiciosAutenticacionHome ;
    public class ControlAcceso extends HttpServlet {
    ServiciosAutenticacion servAutenticacion;
    HttpSession session ;
    * Initialize global variables
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    try{
    Context ctx = new InitialContext();
    ServiciosAutenticacionHome home = (ServiciosAutenticacionHome) ctx.lookup("ServiciosAutenticacion.ServiciosAutenticacionHome");
    servAutenticacion = home.create();
    } catch ( java.rmi.RemoteException re ) {
    System.out.println("ControlAcceso.init: Excepcion RemoteException: ####
    " + re.getMessage() );
    throw new ServletException(re);
    catch (javax.naming.NamingException ne) {
    System.out.println("ControlAcceso.init: Excepcion NamingException: ####
    " + ne.getMessage() );
    javax.naming.Name name = ne.getRemainingName();
    for (Enumeration e = name.getAll() ; e.hasMoreElements() ;) {
    System.out.println(e.nextElement());
    throw new ServletException(ne);
    catch(Exception e){
    System.out.println("ControlAcceso.init: #######" + e.getMessage() );
    throw new ServletException(e);
    Any help is really appreciated.
    Regards.
    - Ricardo De la Rosa (Colombia)
    [NoClassDefFoundError.txt]

    You're welcome. Glad to help.
    Regards,
    Slava Imeshev
    "Ricardo De la Rosa" <[email protected]> wrote in message
    news:[email protected]...
    >
    Slava,
    Thank you very much.
    Your answer (and clues) were the solution to my problem.
    Best regards from Colombia !
    - Ricardo.
    "Slava Imeshev" <[email protected]> wrote:
    Hi Ricardo,
    NoClassDefFoundError means that though the classloader
    has been able to find ServiciosAutenticacionHome, it's not
    been able to locate supporting classes or interfaces used by
    ServiciosAutenticacionHome. Make sure your ejb-jar contains
    all necessary classes.
    Regards,
    Slava Imeshev
    "Ricardo De la Rosa" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I send a request to a servlet named "ControlAcceso".
    The WebLogic server prints:
    Error loading servlet: 'ControlAcceso'
    java.lang.NoClassDefFoundError:gov/co/ssp/suin/ejb/ServiciosAutenticacionHome
    at
    gov.co.ssp.suin.web.ControlAcceso.init(ControlAcceso.java:23)
    >>>
    I have an EJB that has a home interface namedgov.co.ssp.suin.ejb.ServiciosAutenticacionHome;
    the file ServiciosAutenticacionHome.class is located in a directorynamed
    /gov/co/ssp/suin/ejb
    in a sui_ejb.jar file and in a sui_web.war file.
    Besides, I put the sui_ejb.jar in the CLASSPATH of WebLogic Serverin the
    setEnv.cmd
    file.
    A piece of code of the ControlAcceso.java servlet follows:
    package gov.co.ssp.suin.web;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    import javax.naming.*;
    import gov.co.ssp.suin.ejb.ServiciosAutenticacionHome ;
    import gov.co.ssp.suin.ejb.ServiciosAutenticacion ;
    import gov.co.ssp.suin.comun.* ;
    import gov.co.ssp.suin.ejb.ServiciosAutenticacionHome ;
    public class ControlAcceso extends HttpServlet {
    ServiciosAutenticacion servAutenticacion;
    HttpSession session ;
    * Initialize global variables
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    try{
    Context ctx = new InitialContext();
    ServiciosAutenticacionHome home = (ServiciosAutenticacionHome)ctx.lookup("ServiciosAutenticacion.ServiciosAutenticacionHome");
    servAutenticacion = home.create();
    } catch ( java.rmi.RemoteException re ) {
    System.out.println("ControlAcceso.init: Excepcion
    RemoteException:
    " + re.getMessage() );
    throw new ServletException(re);
    catch (javax.naming.NamingException ne) {
    System.out.println("ControlAcceso.init: Excepcion
    NamingException:
    " + ne.getMessage() );
    javax.naming.Name name = ne.getRemainingName();
    for (Enumeration e = name.getAll() ; e.hasMoreElements() ;) {
    System.out.println(e.nextElement());
    throw new ServletException(ne);
    catch(Exception e){
    System.out.println("ControlAcceso.init: #######" + e.getMessage());
    throw new ServletException(e);
    Any help is really appreciated.
    Regards.
    - Ricardo De la Rosa (Colombia)

  • Yet another printing problem 'EOF' errors

    This problem is probably both a Leopard and Adobe problem combined. It's a rather complicated problem, but the bottom line is that (to most printers) the jobs coming out of one of our Mac Pros cause the printers to crash and restart themselves giving an 'EOF Error (End of File)' on at least one of them. The problem also appears to affect PDF documents created in InDesign which will then cause the same errors on any computer it is printed from.
    Things you may need to know and that I've already tried:
    • The same printers with the same drivers printing the same files will work on other Mac Pros of the same version with the same version of Leopard.
    • Using a generic driver will print properly, however this is not a workaround because we need duplexing provided by the driver and I'm not sure how this could fix the PDF problem.
    • Fonts have been disabled and checked with Font Doctor.
    • Starting up in 'Safe Mode' will allow printing, but without fonts or links on server volumes.
    • Switching the hard drive with another identical Mac Pro brought the problem with the HD, worked on other. In other words, the problem is definitely in the software and not a hardware problem.
    • Reset the printing system numerous times.
    • Re-installed the OS, Adobe CS3, and a couple of documents - same problem with no added extensions. Other computer with tons of extensions and fonts, etc. - no problem.
    • Plain text documents print fine.
    • Some PostScript documents will print, but rarely.
    • Will not print to HP LaserJet 2420, Minolta Di650 Fiery, ABDick Platemaker.
    • WIll print to Kodak DigiMaster (three different models and versions)
    Everything that I think sounds like it could be the problem is disproved by the fact that several other Mac Pros with the exact same configuration have no problem. I'm thinking about cloning another Mac Pro system that works and seeing if I can go about it that way.
    Apple support was no help. Nor was Adobe. They tried to be helpful, but there is no logic to solving this one. This has been going on for over a week now and I've tried so many things. It's driving me crazy. Any help would be greatly appreciated.

    It was actually just a commonly used font that had gone bad somehow. Problems like that are always fonts or links. Sometimes they just aren't as obvious. We thought we'd checked everything and it affected so many of her files because she used the font so often.

  • Proper way of handling errors in servlets?

    Hi
    What is the best way of handling errors in servlets? There are dozens of IOExceptions and SQLExceptions and I'm not quite sure what to with them. Now I just throw a new ServletException.

    IOException and SQLException is throw by your own code, so I think you should catch the exception and handle it, for example, direct user to a error page and display the reason of the error.

  • Urxvtc gives EOF error when changing SSD to laptop

    I am going abroad for a few months and I'm taking my laptop replacing its HDD with my desktop's SSD.
    graphics driver is the same (ati), and I changed the lm_sensors file for the laptop's one.
    The only problem I have is urxvtd giving segmentation fault. It doesn't happen on my desktop with the same disk.
    Here is my .Xresources in case you can see something that could trigger this:
    ! urxvt
    URxvt*geometry: 80x22
    URxvt.buffered: true
    URxvt.cursorColor: #5E468C
    URxvt.cursorBlink: true
    URxvt.transparent: 0
    URxvt*depth: 32
    URxvt*background: [100]#000000
    URxvt*foreground: [100]#FFFFFF
    URxvt*saveLines: 5000
    URxvt*termName: rxvt-unicode
    URxvt*urgentOnBell: true
    ! -- Xft Settings -- !
    Xft.dpi: 96
    Xft.antialias: true
    Xft.rgba: rgb
    Xft.hinting: true
    Xft.hinstyle: hintfull
    Xft.autohint: 0
    Xft.lcdfilter: lcddefault
    ! Colors
    URxvt*color0: #000000
    URxvt*color1: #A80000
    URxvt*color2: #00A800
    URxvt*color3: #A85400
    URxvt*color4: #0000A8
    URxvt*color5: #A800A8
    URxvt*color6: #00A8A8
    URxvt*color7: #A8A8A8
    URxvt*color8: #545054
    URxvt*color9: #F85450
    URxvt*color10: #50FC50
    URxvt*color11: #F2FC50
    URxvt*color12: #5054F8
    URxvt*color13: #F854F8
    URxvt*color14: #50FCF8
    URxvt*color15: #F8FCF8
    ! teh transparency stuff
    URxvt*inheritPixmap: false
    URxvt*tintColor: #080808
    URxvt*shading: 0
    ! Border and scrollbar
    URxvt*scrollBar: false
    URxvt*borderless: 1
    URxvt*scrollWithBuffer: false
    ! Fonts
    !URxvt.font:xft:droid sans mono style=Regular:pixelsize=12:antialias=true
    URxvt*font: xft:Bitstream Vera Sans Mono:style=Regular:pixelsize=15
    !URxvt.boldFont:xft:droid sans mono style=Regular:pixelsize=12:antialias=true
    ! Clickable URLs
    URxvt.perl-ext-common: default,matcher
    URxvt.url-launcher: chromium
    URxvt.matcher.button: 2
    URxvt.colorUL: #4682B4
    What might be the problem?
    Last edited by Viper_Scull (2014-10-03 15:07:25)

    Sorry, I haven't had internet connection until now. I'm already settled in Oslo.
    I changed the title to EOF error. I start the server (urxvtd -q -o -f) and the parent process is PID 1.
    I run uxrvtc and gives me "protocol error: unexpected eof from server."
    These are the straces for the daemon http://pastebin.com/7pGRm14f and the client http://pastebin.com/HKiMytm7.
    I can't make much sense of them.

  • [solved] Unexpected EOF error while reading

    Hi
    I created a bootable jumpstart DVD for x86, and erverything works up to the extract of the flash archive.
    During the extract, I receive this error:
    Extracted 2046.00 MB ( 92% of 2208.35 MB archive)
    Extracted 2047.00 MB ( 92% of 2208.35 MB archive)
    ERROR: Unexpected EOF error while reading (/cdrom/latest_archive)
    ERROR: Could not extract Flash archive
    ERROR: Flash installation failed
    Solaris installation program exited.
    The size of the archive on the DVD is ok.
    Any Idea?

    I solved it like this:
    - added the "-I" option to flar when the archive get created.
    - added the "-x /usr" option to flar to skip the /usr filesystem.
    - created and compressed a fs dump of /usr which I placed on the dvd.
    - added the ufsrestore of /usr to my jumpstart finish script.
    With this I got files smaller than 2gb on my isofs.
    --- Joris Vuffray

  • Error creating servlet context

    Hello, there!
              I am trying to run a web app on WebLogic. The application contains some
              EJBs, several JSP's and a controller servlet. I have the EJB's
              deployed, and both webApp and servlet (and its initArgs) registered in
              "weblogic.properties". However, when I start weblogic, there is a
              message saying that "error creating servlet context for the web
              application". It seems that weblogic is looking for a file called
              "weblogic.xml" and trying to create servlet context from it. How to
              create this "xml" file? If it has to be created manually, what are the
              required tags?
              Thanks!
              Jeff
              

    Search your WL install directory for weblogic-web-jar.dtd.
              Cameron Purdy
              "Jeff Wang" <[email protected]> wrote in message
              news:[email protected]..
              > Hello, there!
              >
              > I am trying to run a web app on WebLogic. The application contains some
              > EJBs, several JSP's and a controller servlet. I have the EJB's
              > deployed, and both webApp and servlet (and its initArgs) registered in
              > "weblogic.properties". However, when I start weblogic, there is a
              > message saying that "error creating servlet context for the web
              > application". It seems that weblogic is looking for a file called
              > "weblogic.xml" and trying to create servlet context from it. How to
              > create this "xml" file? If it has to be created manually, what are the
              > required tags?
              >
              > Thanks!
              >
              > Jeff
              >
              

Maybe you are looking for