Deploying web applications - jsp generated servlet's may be written over the same file!

Hi, I have made the following test:
Created two simple web applications with one jsp page, and deployed it
with different context names, in weblogic.properties I have:
weblogic.httpd.webApp.weirdApp=\java\weblogic\myserver\weirdApp.war
weblogic.httpd.webApp.weirdAppTwo=\java\weblogic\myserver\weirdAppTwo.war
(Note: I have used two diferent war files, because I have a different
implementation of the jsp page, I could have used the same warfile, and
deployed it two times with the same different names I have used)
These two applications have a jsp named myHomePage.jsp
If I access the first application, like this:
http://myServer:7001/weirdApp/myHomePage.jsp
the servlet for myHomePage is created in
/java/weblogic/myserver/WEB-INF/_tmp_war/jsp_servlet/_myhomepage.class
If I access the second application, like this:
http://myServer:7001/weirdAppTwo/myHomePage.jsp
the servlet for myHomePage is created in
/java/weblogic/myserver/WEB-INF/_tmp_war/jsp_servlet/_myhomepage.class
It overrides the first one! Because the servlets are keeped in memory by
a different class loader this seems to not affect the other servlet, but
I am wondering what may happen with this strange beaver from weblogic!
Bruno Antunes,
Java Software Engineer
email: mailto:[email protected]
Phone: +351.21.7994200
Fax : +351.21.7994242
WhatEverSoft - Java Center
Centro de Competencia Java
Praca de Alvalade, 6 - Piso 4
1700-036 Lisboa - Portugal
URL: http://www.whatevernet.com
****************** Internet Mail Footer ****************************
A presente mensagem pode conter Informação considerada Confidencial.
Se o receptor desta mensagem não for o destinatário indicado, fica
expressamente proibido de copiar ou endereçar a mensagem a terceiros.
Em tal situação, o receptor deverá destruir a presente mensagem e
por gentileza informar o emissor de tal facto.
Privileged or Confidential Information may be contained in this
message. If you are not the addressee indicated in this message,
you may not copy or deliver this message to anyone. In such case,
you should destroy this message and kindly notify the sender by
reply email.

I have a separate java class that gets my data and returns a Result object. Do you mean java.sql.ResultSet?
In my main servlet I do the following:
request.setAttribute("supporttracker",
supporttracker.findsupporttracker(monthYear));
and then in my JSP I can iterate through the Result
like the following with no problems:
<c:forEach var="supporttracker" begin="0"
items="${supporttracker.rows}" varStatus="counter">
My problem is that I can only iterate through this
once in the page whereas I have no problem doing
multiple forEach loops through other types of
lists/collections such as an ArrayList. Right, because a ResultSet is a database cursor and doesn't act the same way that an ArrayList does. It's more like an InputStream - once you read it, you close it. If you want to re-read it, you have to re-initialize it again.
Iterators behave that way, too. Once you walk through them, you have to re-initialize them.
I've looked
on the web and in a couple of books, I first thought
it may be scope or some attribute in forEach that I
was missing but I'm stumped. It seems like it's
because the pointer to the result set is at the end
of the result set when trying the second iteration,
but I thought by using the begin="0" would put the
pointer at the first row again, on my second
iteration I'm getting no rows/data outputed.
Please help and thanks in advance!The better thing to do is for your method to return a List of objects, one per row, that represent what the ResultSet returns. Have that method iterate through the ResultSet, loading the rows into the List, and close it before you leave in a finally block. A database cursor is a scarce resource, so it's a good idea to close it as soon as you can.
%

Similar Messages

  • Deploying web application to OC4J  - servlet class not found

    Hi,
    Im trying to deploy war file with web application,
    that I run before on Tomcat.
    During deployment procces everything seems to be OK.
    But when I try to log on web, I get 500 error...
    log file:
    07/07/12 15:10:14.562 webapp1: Servlet error
    javax.servlet.ServletException: Error instantiating servlet 'org.apache.jsp.index_jsp'. Servlet class org.apache.jsp.index_jsp not found in web-application webapp1
    where org.apache.jsp.index_jsp is path from web.xml and servlet index_jsp.class is in
    Web-Inf/classes/org/apache/jsp/ dir.
    Any Idea?
    Thanks a lot.
    H.

    Hi Steve,
    thanks for your answer, because my question is quite stupid, I know.
    But I'm not so much interested in pre-translated jsp files dependences on java container.
    Yes, my application use some parts of catalina lib, but I would like to just get index.jsp
    and this compiled class (org.apache.jsp.index_jsp.class) is "catalina lib free" I think?
    Or should I change my build.xml?
    Thanks.
    H.

  • Problems with deployed web applications

    Hi,
              currently we use Weblogic 6.0 and i decided to try Weblogic 6.1 beta. So i deployed our application which was working on Weblogic 6.0 on the newly installed Weblogic 6.1 beta. Now when i try to access my application i recieve the following error page:
              Compilation of 'D:\bea\wlserver6.1_beta\config\mydomain\applications\.wlnotdelete_evgyServer\wl_comp28255\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\jsp_servlet\_ngroot\_web\__index.java' failed:
              D:\bea\wlserver6.1_beta\config\mydomain\applications\.wlnotdelete_evgyServer\wl_comp28255\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\jsp_servlet\_ngroot\_web\__index.java:165: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable)
              (No more information available, probably caused by another error)
              Full compiler error(s):
              D:\bea\wlserver6.1_beta\config\mydomain\applications\.wlnotdelete_evgyServer\wl_comp28255\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\jsp_servlet\_ngroot\_web\__index.java:165: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable)
              pageContext.handlePageException(__ee);
              ^
              1 error
              Wed Jun 20 17:27:28 EEST 2001
              Does anyone know what could cause the problem ?
              Any help will be appreciated.
              Bybye.
              [att1.html]
              

              I have the same problem. My apps work in WebLogic 6.0, but not in 6.1 beta. Is
              it compatibility issue?
              Andi
              "Michael Li" <[email protected]> wrote:
              >Hi all,
              >
              >Anybody resolve this problem yet? We are experiencing the same problem
              >here.
              >
              >Thanks,
              >Michael
              >
              >===
              >"Evgenya Borisenko" <[email protected]> wrote in message
              >news:[email protected]...
              >Sure,
              >here goes:
              >
              >####<10:23:37 EEST 24/06/2001> <Info> <HTTP> <evgenya> <evgyServer>
              ><ExecuteThread: '11' for queue: 'default'> <> <> <101047>
              ><[WebAppServletContext(8059329,WebApp_evgyServer,/WebApp_evgyServer)]
              >*.html: init>
              >####<10:23:37 EEST 24/06/2001> <Info> <HTTP> <evgenya> <evgyServer>
              ><ExecuteThread: '11' for queue: 'default'> <> <> <101047>
              ><[WebAppServletContext(8059329,WebApp_evgyServer,/WebApp_evgyServer)]
              >*.html: Using standard I/O>
              >####<10:23:44 EEST 24/06/2001> <Info> <HTTP> <evgenya> <evgyServer>
              ><ExecuteThread: '11' for queue: 'default'> <> <> <101047>
              ><[WebAppServletContext(8059329,WebApp_evgyServer,/WebApp_evgyServer)]
              >*.jsp:
              >init>
              >####<10:23:44 EEST 24/06/2001> <Info> <HTTP> <evgenya> <evgyServer>
              ><ExecuteThread: '11' for queue: 'default'> <> <> <101047>
              ><[WebAppServletContext(8059329,WebApp_evgyServer,/WebApp_evgyServer)]
              >*.jsp:
              >param verbose initialized to: true>
              >####<10:23:44 EEST 24/06/2001> <Info> <HTTP> <evgenya> <evgyServer>
              ><ExecuteThread: '11' for queue: 'default'> <> <> <101047>
              ><[WebAppServletContext(8059329,WebApp_evgyServer,/WebApp_evgyServer)]
              >*.jsp:
              >param packagePrefix initialized to: jsp_servlet>
              >####<10:23:44 EEST 24/06/2001> <Info> <HTTP> <evgenya> <evgyServer>
              ><ExecuteThread: '11' for queue: 'default'> <> <> <101047>
              ><[WebAppServletContext(8059329,WebApp_evgyServer,/WebApp_evgyServer)]
              >*.jsp:
              >param compilerclass initialized to: javac>
              >####<10:23:44 EEST 24/06/2001> <Info> <HTTP> <evgenya> <evgyServer>
              ><ExecuteThread: '11' for queue: 'default'> <> <> <101047>
              ><[WebAppServletContext(8059329,WebApp_evgyServer,/WebApp_evgyServer)]
              >*.jsp:
              >param srcCompiler initialized to weblogic.jspc>
              >####<10:23:44 EEST 24/06/2001> <Info> <HTTP> <evgenya> <evgyServer>
              ><ExecuteThread: '11' for queue: 'default'> <> <> <101047>
              ><[WebAppServletContext(8059329,WebApp_evgyServer,/WebApp_evgyServer)]
              >*.jsp:
              >param superclass initialized to null>
              >####<10:23:44 EEST 24/06/2001> <Info> <HTTP> <evgenya> <evgyServer>
              ><ExecuteThread: '11' for queue: 'default'> <> <> <101047>
              ><[WebAppServletContext(8059329,WebApp_evgyServer,/WebApp_evgyServer)]
              >*.jsp:
              >param workingDir initialized to:
              >D:\bea\wlserver6.1_beta\config\mydomain\applications\.wlnotdelete_evgyServer
              >\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer>
              >####<10:23:44 EEST 24/06/2001> <Info> <HTTP> <evgenya> <evgyServer>
              ><ExecuteThread: '11' for queue: 'default'> <> <> <101047>
              ><[WebAppServletContext(8059329,WebApp_evgyServer,/WebApp_evgyServer)]
              >*.jsp:
              >param pageCheckSeconds initialized to: 1>
              >####<10:23:44 EEST 24/06/2001> <Info> <HTTP> <evgenya> <evgyServer>
              ><ExecuteThread: '11' for queue: 'default'> <> <> <101047>
              ><[WebAppServletContext(8059329,WebApp_evgyServer,/WebApp_evgyServer)]
              >*.jsp:
              >initialization complete>
              >####<10:23:44 EEST 24/06/2001> <Info> <HTTP> <evgenya> <evgyServer>
              ><ExecuteThread: '11' for queue: 'default'> <> <> <101047>
              ><[WebAppServletContext(8059329,WebApp_evgyServer,/WebApp_evgyServer)]
              >*.jsp:
              >pageCheckSeconds over-ruled in JSPServlet to : 1>
              >####<10:23:45 EEST 24/06/2001> <Info> <HTTP> <evgenya> <evgyServer>
              ><ExecuteThread: '11' for queue: 'default'> <> <> <101047>
              ><[WebAppServletContext(8059329,WebApp_evgyServer,/WebApp_evgyServer)]
              >Generated java file:
              >D:\bea\wlserver6.1_beta\config\mydomain\applications\.wlnotdelete_evgyServer
              >\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\jsp_s
              >ervlet\_ngroot\_web\__index.java>
              >####<10:23:53 EEST 24/06/2001> <Error> <HTTP> <evgenya> <evgyServer>
              ><ExecuteThread: '11' for queue: 'default'> <> <> <101046>
              ><[WebAppServletContext(8059329,WebApp_evgyServer,/WebApp_evgyServer)]
              >Compilation of
              >D:\bea\wlserver6.1_beta\config\mydomain\applications\.wlnotdelete_evgyServer
              >\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\jsp_s
              >ervlet\_ngroot\_web\__index.java failed:
              >D:\bea\wlserver6.1_beta\config\mydomain\applications\.wlnotdelete_evgyServer
              >\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\jsp_s
              >ervlet\_ngroot\_web\__index.java:165:
              >handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext
              >cannot be applied to (java.lang.Throwable)
              > pageContext.handlePageException(__ee);
              > ^
              >1 error
              >>
              >java.io.IOException: Compiler failed
              >executable.exec(java.lang.String[d:\bea\jdk131\bin\javac.exe, -classpath,
              >D:\bea\wlserver6.1_beta\config\mydomain\applications\.wlnotdelete_evgyServer
              >\wl_comp51442;D:\bea\wlserver6.1_beta\.\config\mydomain\applications\.wlnotd
              >elete_evgyServer\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_
              >evgyServer\WEB-INF\lib\993367393172activation.jar;D:\bea\wlserver6.1_beta\.\
              >config\mydomain\applications\.wlnotdelete_evgyServer\wl_comp51442\WEB-INF\_t
              >mp_war_evgyServer_evgyServer_WebApp_evgyServer\WEB-INF\lib\993367393212ant.j
              >ar;D:\bea\wlserver6.1_beta\.\config\mydomain\applications\.wlnotdelete_evgyS
              >erver\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\
              >WEB-INF\lib\993367393532bsf.jar;D:\bea\wlserver6.1_beta\.\config\mydomain\ap
              >plications\.wlnotdelete_evgyServer\wl_comp51442\WEB-INF\_tmp_war_evgyServer_
              >evgyServer_WebApp_evgyServer\WEB-INF\lib\993367393613concurrent_classes.jar;
              >D:\bea\wlserver6.1_beta\.\config\mydomain\applications\.wlnotdelete_evgyServ
              >er\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\WEB
              >-INF\lib\993367393673cos.jar;D:\bea\wlserver6.1_beta\.\config\mydomain\appli
              >cations\.wlnotdelete_evgyServer\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evg
              >yServer_WebApp_evgyServer\WEB-INF\lib\993367393763dbConnBroker.jar;D:\bea\wl
              >server6.1_beta\.\config\mydomain\applications\.wlnotdelete_evgyServer\wl_com
              >p51442\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\WEB-INF\lib\
              >993367393773jasper.jar;D:\bea\wlserver6.1_beta\.\config\mydomain\application
              >s\.wlnotdelete_evgyServer\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evgyServe
              >r_WebApp_evgyServer\WEB-INF\lib\993367393823java40.jar;D:\bea\wlserver6.1_be
              >ta\.\config\mydomain\applications\.wlnotdelete_evgyServer\wl_comp51442\WEB-I
              >NF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\WEB-INF\lib\993367394103
              >jaxp.jar;D:\bea\wlserver6.1_beta\.\config\mydomain\applications\.wlnotdelete
              >_evgyServer\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyS
              >erver\WEB-INF\lib\993367394133jsdt.jar;D:\bea\wlserver6.1_beta\.\config\mydo
              >main\applications\.wlnotdelete_evgyServer\wl_comp51442\WEB-INF\_tmp_war_evgy
              >Server_evgyServer_WebApp_evgyServer\WEB-INF\lib\993367394263junit.jar;D:\bea
              >\wlserver6.1_beta\.\config\mydomain\applications\.wlnotdelete_evgyServer\wl_
              >comp51442\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\WEB-INF\l
              >ib\993367394324Jwap-0.7.jar;D:\bea\wlserver6.1_beta\.\config\mydomain\applic
              >ations\.wlnotdelete_evgyServer\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evgy
              >Server_WebApp_evgyServer\WEB-INF\lib\993367394354log.jar;D:\bea\wlserver6.1_
              >beta\.\config\mydomain\applications\.wlnotdelete_evgyServer\wl_comp51442\WEB
              >-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\WEB-INF\lib\9933673943
              >74mail.jar;D:\bea\wlserver6.1_beta\.\config\mydomain\applications\.wlnotdele
              >te_evgyServer\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evg
              >yServer\WEB-INF\lib\993367394404orajdbc816-12.jar;D:\bea\wlserver6.1_beta\.\
              >config\mydomain\applications\.wlnotdelete_evgyServer\wl_comp51442\WEB-INF\_t
              >mp_war_evgyServer_evgyServer_WebApp_evgyServer\WEB-INF\lib\993367394484parse
              >r.jar;D:\bea\wlserver6.1_beta\.\config\mydomain\applications\.wlnotdelete_ev
              >gyServer\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServ
              >er\WEB-INF\lib\993367394514servlet.jar;D:\bea\wlserver6.1_beta\.\config\mydo
              >main\applications\.wlnotdelete_evgyServer\wl_comp51442\WEB-INF\_tmp_war_evgy
              >Server_evgyServer_WebApp_evgyServer\WEB-INF\lib\993367394544webserver.jar;D:
              >\bea\wlserver6.1_beta\.\config\mydomain\applications\.wlnotdelete_evgyServer
              >\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\WEB-I
              >NF\lib\993367394584xalan.jar;D:\bea\wlserver6.1_beta\.\config\mydomain\appli
              >cations\.wlnotdelete_evgyServer\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evg
              >yServer_WebApp_evgyServer\WEB-INF\lib\993367394634xerces.jar;D:\bea\wlserver
              >6.1_beta\.\config\mydomain\applications\.wlnotdelete_evgyServer\wl_comp51442
              >\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\WEB-INF\lib\993367
              >394914_log.jar;D:\bea\wlserver6.1_beta\.\config\mydomain\applications\.wlnot
              >delete_evgyServer\wl_comp51442\WEB-INF\classes;D:\bea\wlserver6.1_beta\confi
              >g\mydomain\applications\.wlnotdelete_evgyServer\wl_comp51442\WEB-INF\_tmp_wa
              >r_evgyServer_evgyServer_WebApp_evgyServer;D:\bea\wlserver6.1_beta\.\config\m
              >ydomain\applications\.wlnotdelete_evgyServer\wl_comp51442\WEB-INF\_tmp_war_e
              >vgyServer_evgyServer_WebApp_evgyServer\WEB-INF\lib\jaxp.jar;D:\bea\wlserver6
              >..1_beta\.\config\mydomain\applications\.wlnotdelete_evgyServer\wl_comp51442\
              >WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\WEB-INF\lib\xerces.
              >jar;D:\bea\wlserver6.1_beta\.\config\mydomain\applications\.wlnotdelete_evgy
              >Server\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer
              >\WEB-INF\lib\crimson.jar;d:\bea\jdk131\jre\lib\rt.jar;d:\bea\jdk131\jre\lib\
              >i18n.jar;d:\bea\jdk131\jre\lib\sunrsasign.jar;d:\bea\jdk131\jre\classes;.;D:
              >\bea\wlserver6.1_beta\config\mydomain\applications\WebApp_evgyServer\WEB-INF
              >\lib\xerces.jar;D:\bea\wlserver6.1_beta\config\mydomain\applications\WebApp_
              >evgyServer\WEB-INF\lib\xalan.jar;D:\bea\wlserver6.1_beta\config\mydomain\app
              >lications\WebApp_evgyServer\WEB-INF\lib\mail.jar;D:\bea\wlserver6.1_beta\con
              >fig\mydomain\applications\WebApp_evgyServer\WEB-INF\lib\activation.jar;.\lib
              >\weblogic_sp.jar;.\lib\weblogic.jar;D:\bea\wlserver6.1_beta\config\mydomain\
              >applications\WebApp_evgyServer\WEB-INF\lib\bsf.jar;D:\bea\wlserver6.1_beta\c
              >onfig\mydomain\applications\WebApp_evgyServer\WEB-INF\lib\concurrent_classes
              >..jar;D:\bea\wlserver6.1_beta\config\mydomain\applications\WebApp_evgyServer\
              >WEB-INF\lib\cos.jar;D:\bea\wlserver6.1_beta\config\mydomain\applications\Web
              >App_evgyServer\WEB-INF\lib\dbConnBroker.jar;D:\bea\wlserver6.1_beta\config\m
              >ydomain\applications\WebApp_evgyServer\WEB-INF\lib\log.jar;D:\bea\wlserver6.
              >1_beta\config\mydomain\applications\WebApp_evgyServer\WEB-INF\lib\orajdbc816
              >-12.jar;D:\bea\wlserver6.0\config\mydomain\applications\WebApp_evgyServer\WE
              >B-INF\classes, -d,
              >D:\bea\wlserver6.1_beta\config\mydomain\applications\.wlnotdelete_evgyServer
              >\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer,
              >D:\bea\wlserver6.1_beta\config\mydomain\applications\.wlnotdelete_evgyServer
              >\wl_comp51442\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\jsp_s
              >ervlet\_ngroot\_web\__index.java])
              > at
              >weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.jav
              >a:575)
              > at
              >weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:354)
              > at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:360)
              > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:181)
              > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:149)
              > at
              >weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:34
              >4)
              > at
              >weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              >:240)
              > at
              >weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              >:284)
              > at
              >weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              >:200)
              > at
              >weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              >ntext.java:2279)
              > at
              >weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              >:1923)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              >
              >hope that helps.
              >10x alot.
              >"Srinagesh Susarla" <[email protected]> wrote in message
              >news:[email protected]...
              >can u send the server side error-message!
              >thanks
              >nagesh
              >Evgenya Borisenko wrote:
              >Hi, currently we use Weblogic 6.0 and i decided to try Weblogic 6.1 beta.
              >So
              >i deployed our application which was working on Weblogic 6.0 on the newly
              >installed Weblogic 6.1 beta. Now when i try to access my application
              >i
              >recieve the following error page: Compilation of
              >'D:\bea\wlserver6.1_beta\config\mydomain\applications\.wlnotdelete_evgyServe
              >r\wl_comp28255\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\jsp_
              >servlet\_ngroot\_web\__index.java' failed:
              >
              >D:\bea\wlserver6.1_beta\config\mydomain\applications\.wlnotdelete_evgyServer
              >\wl_comp28255\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\jsp_s
              >ervlet\_ngroot\_web\__index.java:165:
              >handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext
              >cannot be applied to (java.lang.Throwable)
              >(No more information available, probably caused by another error)
              >
              >
              >Full compiler error(s):
              >D:\bea\wlserver6.1_beta\config\mydomain\applications\.wlnotdelete_evgyServer
              >\wl_comp28255\WEB-INF\_tmp_war_evgyServer_evgyServer_WebApp_evgyServer\jsp_s
              >ervlet\_ngroot\_web\__index.java:165:
              >handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext
              >cannot be applied to (java.lang.Throwable)
              > pageContext.handlePageException(__ee);
              > ^
              >1 error
              >
              >
              >Wed Jun 20 17:27:28 EEST 2001 Does anyone know what could cause the problem
              >? Any help will be appreciated.Bybye.
              >
              >
              

  • Deploy web application in jbuilder 9 with weblogic 7 problem

    when i create a web application and a servlet, and deploy it in jbuilder 9 with weblogic 7.0 ,jbuilder 9 showed me the error,please tell me why, when i choose "redeploy" ,it can be normally work..
    E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -deploy -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
    WebLogic Application Deployment Utility
    Usage: java weblogic.Deployer [options] [-activate|-deactivate|-remove|-unprepare|-cancel|-list] [files]
    where options include:
    -help Print this help message.
    -version Print version information.
    -adminurl <https://<server>:<port>> The URL of the administration server: default
    http://localhost:7001
    -user <user> A user other than the default of
    "installadministrator"
    -password <password> Specifies the password on the command line.
    If this option is absent the user is
    prompted.
    -verbose Displays additional status during the
    deployment process, including notifications
    when the application is prepared and
    activated on each target.
    -debug Displays debug level messages to the standard
    output.
    -examples Display example usage of this tool.
    -upload Causes the specified source file(s) to be
    transferred to the adminstration server. This
    is used when the Deployer tools is not being
    used on the same machine as the adminstration
    server and the user does not otherwise have
    access to place the targeted files on the
    adminstration server.
    -delete_files Causes the server to remove the files that
    are specified in the file list and leave the
    application activated. This option is valid
    only for unarchived web applications.
    -remote Signals that the tools is not runnning on the
    same machine as the adminstration server and
    that the source path should be made passed
    through unchanged as it represents the path
    on the remote server.
    -nostage Sets the stagingMethod attribute on the
    application mbean when it is created so that
    the application will not be staged and the
    original source is be used.
    -external_stage Sets the stagingMethod attribute on the
    application mbean when it is created so that
    the application will not be staged but the
    value of the staging path will be used when
    preparing the application.
    -stage Sets the stagingMethod staging attribute on
    the application when it is created so that
    the application will always be staged. This
    value will override the stagingMethod
    attribute on any targeted servers.
    -nowait Once the action is initiated the tool will
    print the task id and exit. This is used to
    initiate multiple tasks and then monitor them
    later using the -list action.
    -timeout <seconds> The maximum time in seconds to wait for the
    completion of the deployment task. When the
    time expires the current status is printed
    and the program exits.
    -source <archive file or directory> Location of the file or directory that
    represents the enterprise component or
    application tha is being (re)activated. If
    the source file is relative it is relative to
    the current directory, unless the -remote
    option is used. To specify individual files
    within an application for reployment or
    addition list them at the end of the command
    line.
    -name <application name> The name of the application being deployed.
    -targets <<server 1>,...<component>@<server N>> A comma separated list of the server and/or
    cluster names. Each target may be qualified
    with a J2EE component name. This enables
    different components of the archive to
    deployed on different servers.
    -id <task identifier> Optional client supplied unique identifier
    for the deployment task. The id is first
    specified to -activate, -deactivate,
    -unprepare or -remove. It is then used later
    as an argument to -cancel or -list.
    -activate (Re)activates the <source> application on the
    <targets> with the <name>.
    -deactivate Deactivates the application <name> on the
    <targets> leaving an staged application files
    in a state where the may be quickly
    reactivated.
    -unprepare Deactivates and unloads classes for the
    application <name> on the <targets> leaving
    an staged application files in a state where
    the may be quickly reloaded.
    -remove Deactivates the application <name> on the
    <target> and removes any files that were
    staged for this application. If there are no
    longer any targets for the application, the
    associated configuration is completely
    removed.
    -cancel Atempts to cancel the task <id> if it is has
    not yet completed.
    -list Lists the target status of each task <id>
    -deploy a convenient alias for activate.
    -undeploy a convenient alias for unprepare.
    Optionally a list of the specific files in the archive that are to be
    redeployed may be specified. If a directory is specified the entire subtree is
    redeployed.
    Full documentation on this tool is available at:
    http://edocs.beasys.com/wls/docs70/adminguide/utils.html#1138475
    No actions was specified. Please specify one and only one of:
    -activate, -deactivate, -cancel, -remove, -unprepare, or -list.
    Type java weblogic.Deployer -examples for example usage.

    you use "deploy" under DOS-Mode to deploy your web application?
    i found some differences between "deploy" and "redeploy" function in jbuilder 9.
    when i choose "deploy" ,jbuilder shows me the commond below:
    E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -deploy -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
    WebLogic Application Deployment Utility
    when i choose redeploy,it shows me: (the -deploy parameter has changed to -activate) ,maybe it's a bug.
    E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -activate -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
    WebLogic Application Deployment Utility

  • Deploying web application in webshpere?

    Dear All,
    Can I deploy a simple web application, contains a servlet and few jsp pages, in Websphere instead of Tomcat for testing in system?
    Can anyone suggest for this request?
    Regards,
    Muthu

    Hi,
    yes you can. For more information see the Websphere documentation that you can access from teh vendor's website.
    Frank

  • Failed to deploy web application with same name twice

    Hello-
    On Oracle 10g Application server I deployed an WAR file called "anbadmin", then undeployed it. The undepoloyment failed from the OEM so I undeployed it manually via removing its entries from server.xml.
    When I tried to deploy it again with the same name I got this:
    Failed to deploy web application "anbadmin". Failed to deploy web application "anbadmin". . The evaluate phase failed. The Adapter used in the evaluate may have thrown an exception.
    Resolution:
    Please call Oracle support.
    Base Exception:
    java.lang.NoSuchMethodError
    null. java.lang.NoSuchMethodError
    Is there a solution for this?
    Regards

    I think I know the solution. We encountered exactly same message and no further deployment could be made. It appeared message in "dcmctl" utility was much more helpfull than the one in EM (though you still have to use "getError" command...)
    If you are using file-based repository, you have to issue command in dcmctl utility "resetFileTransaction". This closes repository and opens it again.
    Myrra

  • NJAWIN in several deployed web applications. Please advise!

    I have developed four different web applications and each of them uses
    NJAWIN to work with .DLL files. All codes work perfect. But here is
    why very confusing setuation which made me to post this message.
    Separatly each of web applications that I have developed works fine in Tomkat 5.0. but If I
    deploy them all and try to run I start getting errors and desired
    functionality does not work.
    Can you suggest me any way out of this setuation?
    Here is the error message:
    java.lang.UnsatisfiedLinkError: Native Library C:\WINDOWS\system32\jawin.dll already loaded in another classloader
    java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1437)
    java.lang.ClassLoader.loadLibrary(ClassLoader.java:1397)
    java.lang.Runtime.loadLibrary0(Runtime.java:788)
    java.lang.System.loadLibrary(System.java:832)
    com.develop.jawin.Bootstrap.(Unknown Source)

    Vitaly, how will I know that you tried and if it worked?
    Will you let me know somehow? when do you think you can do that?
    I read the link you suggested above.
    If I got it right I should try following:
    -- don't put "System.loadLibrary("JCoreImpl")" in Servlet class,
    but put it in a utility class which is loaded by a classloader who is
    "upper" than the classloader of "aaa" or "bbb". for example, put this
    utility class and the native code Both in TOMCAT_HOME/lib
    - then in the "init" method of those Servlet classes in webapp "aaa"
    or "bbb", first load that utility class, then/so load the native code.

  • How to deploy web application to Weblogic?

    Does anyone know how to deploy web application to Weblogic8.1?

    Hello,
    I found one error in what I have done. I add the '<context-root>' in '<weblogic-web-app>', which are not required in some other containers, and I can find the application of hello2. However, when I clicked 'submit' I got the following message:
    Error 500--Internal Server Error
    java.lang.NoClassDefFoundError: java/lang/StringBuilder
         at servlets.ResponseServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    I do not want to make changes in 'web.xml' file as it worked in other container. I guess I miss something that is special, probably basic, to WebLogic, but I do not know what it is.
    Bye the way, who know how to reward points to other people? I cannot find the 'assign points icon'.
    Thanks hoos. Your answer give me confidence that a web application could be deployed by copy war file to some directory (I guess from my experience of other containers).

  • Failed in deploying Web Application (.ear file)

    I am trying to deploy a web application (file1.ear) but I got FileNotFoundException
    in webnohup.out.
    I did include this application in config.xml, as follows:
    <Application Deployed="true" Name="file1" Path="opt/weblogic6/config/ejbjars/file1.ear">
    <EJBComponent Name="EJB1" Targets="mysrv" URI="EJB1.jar"/>
    <WebAppComponent Name="App1" Targets="mysrv" URI="App1.war"/>
    <EJBComponent Name="EJB2" Targets="mysrv" URI="EJB2.jar"/>
    </Application>
    In webnohup.out file, the following exception is thrown:
    <Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <Application care:Name=file1,Type=Application
    not found at ./opt/weblogic6/config/ejbjars/file1.ear>
    <Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <IOException opening application
    care:Name=file1,Type=Application, loading from path opt/weblogic6/config/ejbjars/file1.ear
    java.io.FileNotFoundException: file does not exist: ./opt/weblogic6/config/ejbjars/file1.ear
    at weblogic.management.mbeans.custom.Application.adminLoad(Application.j
    ava:431)
    at weblogic.management.mbeans.custom.Application.load(Application.java:3
    87)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    If you looked at the exception, it looks like that we can not put ABSOLUTE PATH
    in Path of config.xml since it will append the Weblogic home to the Path defined
    in config.xml.
    Is this correct or I missed anything?
    How do we use ABSOLUTE PATH in config.xml if you want to deploy Web application?
    Environment: SUNOS, Weblogic 6.1.
    Thanks

    Hi,
    specifying a leading slash shoul be enough to let the system know that it is an absolute path.
    Regards,
    Christian Buchegger
    Developer Relations Engineer
    BEA Support
    TJ schrieb:
    I am trying to deploy a web application (file1.ear) but I got FileNotFoundException
    in webnohup.out.
    I did include this application in config.xml, as follows:
    <Application Deployed="true" Name="file1" Path="opt/weblogic6/config/ejbjars/file1.ear">
    <EJBComponent Name="EJB1" Targets="mysrv" URI="EJB1.jar"/>
    <WebAppComponent Name="App1" Targets="mysrv" URI="App1.war"/>
    <EJBComponent Name="EJB2" Targets="mysrv" URI="EJB2.jar"/>
    </Application>
    In webnohup.out file, the following exception is thrown:
    <Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <Application care:Name=file1,Type=Application
    not found at ./opt/weblogic6/config/ejbjars/file1.ear>
    <Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <IOException opening application
    care:Name=file1,Type=Application, loading from path opt/weblogic6/config/ejbjars/file1.ear
    java.io.FileNotFoundException: file does not exist: ./opt/weblogic6/config/ejbjars/file1.ear
    at weblogic.management.mbeans.custom.Application.adminLoad(Application.j
    ava:431)
    at weblogic.management.mbeans.custom.Application.load(Application.java:3
    87)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    If you looked at the exception, it looks like that we can not put ABSOLUTE PATH
    in Path of config.xml since it will append the Weblogic home to the Path defined
    in config.xml.
    Is this correct or I missed anything?
    How do we use ABSOLUTE PATH in config.xml if you want to deploy Web application?
    Environment: SUNOS, Weblogic 6.1.
    Thanks

  • How to deploy web application .war file into SAP NetWeaver Engine?

    Hi All,
    I want to deploy web application which is developped using JAVA web technology into SAP netweaver Engine.
    I tried to deploy .war file through SDM but it complained the following error
    - Hide quoted text -
    "Error loading archive
    C;\Document and Settings\cr1adm\Desktop\MyProject.war
      (server side name is: F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)
    com.sap.sdm.util.sduread.IIIFormattedSduFileException: The information about development component found in the manifest is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    (F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)"
    Can any one please suggest how to deploy external web application into SAP netweaver engine.
    Is there any procedure to follow to do this.
    your inputs will be highly appreciated...
    Thanks in advance

    Hi,
    I think first you need to wrap it into an EAR file, then you can deploy it.
    As far as I know standalone deployment of WAR is deprecated as of 640.
    similar threads:
    How to deploy .war on NWDI
    Deploying an existing WAR file into the Portal
    Hopefully this tutorial also gives some idea:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/70/13353094af154a91cbe982d7dd0118/frameset.htm
    Regards,
    Ervin

  • WEB Server And Database Space requirements for deploying Web Application

       Hi,
         We are in requirement of WEB Server  And Database Space requirements for deploying  our Web Application in cloud server. We want to know technical requirements and feasibilities laid by Microsoft team for deploying web
    application.......
    Regards,
    Sreenivasa M S

    Hi,
    Please refer this link and check if it helps:
    http://blogs.technet.com/b/cbernier/archive/2013/09/24/deploy-your-web-application-to-windows-azure-from-with-visual-studio.aspx
    Regards,
    Azam Khan

  • Deploy web application to multiple web front end servers

    Hi,
    I have a SharePoint farm that include 8 web front end servers and 2 application servers. I have created web application from central administration and during creation I added the public URL to refer to one of the web front end servers.
    Now I want to be able to access the same web application from the other web front end servers what shall be done. I have tried to add alternate access mapping but i found that i only have 5 alternatives (Default, Intranet, Extranet,Internet and Custom) while
    I need to access it from 8 different sites with the IP or name.
    Can anyone tell me what is the best practice for that.
    I appreciate the quick response.
    Regards,
    Ehab 
    Ehab

    I have create my web application under the default port "80" I provided the URL for one of the web frontend servers machine name "http://Machine Name:80/"
    For the AAMs that I have created I added some of the machines names of the web frontend servers
    Internal URL Zone
    Public URL for Zone
    http://Machine-Name-01 Default
    http://Machine-Name-01
    http://Machine-Name-02 Intranet
    http://Machine-Name-02
    http://Machine-Name-03 Extranet 
    http://Machine-Name-03
    http://Machine-Name-04 Internet 
    http://Machine-Name-04
    http://Machine-Name-05 Custom 
    http://Machine-Name-05
    Ehab

  • Hello,  I have a strange file in my Users folder, named PortDetect.log I have no idea which app created it and it reappears when I delete it.  Has anyone got the same file? Or know where it may originate from?  Thanks in advance!

    Hello,
    I have a strange file in my Users folder, named PortDetect.log
    I have no idea which app created it and it reappears when I delete it.
    Has anyone got the same file? Or know where it may originate from?
    Thanks in advance!

    know where it may originate from?
    The Huawei wireless modem driver.

  • I downloaded an update for my Safari web browser to "snow leopard". When I click on the .dmg file, a window opens up with a .pkg file but when I click on the .pkg file I get a prompt saying that it doesn't know what program to open it with. with a

    I downloaded an update for my Safari web browser to "snow leopard". When I click on the .dmg file, a window opens up with a .pkg file but when I click on the .pkg file I get a prompt saying that it doesn't know what program to open it with.

    I suspect if you're trying to open a file in 08 that's been opened in 09 the file has been updated to 09 and will not open in 08.

  • When I try to same an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!

    When I try to save an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!
    == This happened ==
    Every time Firefox opened
    == I updated to one of the firefox versions (Not sure which one it was)

    Thanks Alex, but sadly I already tried that. Neither .docx or .xlsx files show up in the content list. They both show as a Chrome HTML document so changing how Firefox addresses those doesn't help since it thinks its the same type of file. I don't think I can manually add files into the "Content Type" left side nav.

Maybe you are looking for

  • Message in scheduled state

    Hi Experts, In our production system, messages are frequently going to 'scheduled for outbound processing" state. After the manual retry the messages are going through. We are planning to setup RSQIWKEX, RSARFCEX and RSXMB_RESTART_MESSAGES for automa

  • I teach a 3 yr old classroom on one of their ipads the setting icon has disappeared. How can I find it?

    my students play with 2 ipads in the classroom, one has lost the settings icon. I have tried to locate it, I swiped from left to right looking in all folders but cannot find it. Can any one help me?

  • Is there is any other way which works same as berkeley db...

    hi every one, what i am trying to do is in a webpage of our web site we are have a news section so all those news are changing everyday so we are actually trying to build a database with the help of berkeley db sothat the search for our web site beco

  • HTML DB Customize SQL Report Layout

    Hi everybody, Is it possible to have an automatic orientation (portrait, landscape) based on report width ? If it's to large for portrait, it switchs landscape ? If letter it's not too much large it switch to legal ? and so on..... Thanks. Bye.

  • Paragraph spacing in an epub

    I'm preparing a file for export to epub. I have applied paragraph styles to the content, including space after values. When I view the epub in ADE or Firefox, the space after value is not there. Anyone have any suggestions? Thanks!