Using JSTL on Weblogic 8.1 SP2

          I'm trying to create a web app running on Weblogic 8.1 SP2 that uses JSTL tags.
          I've downloaded the Apache 1.0.5 Reference Implementation of the JSTL 1.0 spec,
          but I can't get the sample web-app (standard-examples.war) to work correctly.
          When I go to the "General Purpose Tag Examples" and try to view the Out example
          JSP, I get a large exception saying that java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
          (full stack trace at bottom). This also happens when I try to view the JSP source
          and pretty much any other example. I found that the German example in "I18N &
          Formatting" works, but running the Italian example gives a new exception:
          Parsing of JSP File '/format/ItalianLocale.jsp' failed:
          /format/ItalianLocale.jsp(12): for tag 'message', property 'bundle' of tag handler
          class 'org.apache.taglibs.standard.tag.rt.fmt.MessageTag', the value must be a
          runtime expression "<%=...%>", since we cannot do an automatic conversion from
          "${itBundle}" to type 'javax.servlet.jsp.jstl.fmt.LocalizationContext' and there
          is no custom property editor for that type
          probably occurred due to an error in /format/ItalianLocale.jsp line 12:
          <fmt:message key="greetingMorning" bundle="${itBundle}"/>
          I can, however, get this to work on Tomcat 5.0. Has any else had this problem?
          Is there something that I'm doing incorrectly?
          Thanks in advance.
          -Kelvin
          ===========================================================
          java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
               at java.lang.Class.getDeclaredMethods0(Native Method)
               at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
               at java.lang.Class.getDeclaredMethods(Class.java:1114)
               at java.beans.Introspector$1.run(Introspector.java:1103)
               at java.security.AccessController.doPrivileged(Native Method)
               at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1101)
               at java.beans.Introspector.getTargetMethodInfo(Introspector.java:966)
               at java.beans.Introspector.getBeanInfo(Introspector.java:370)
               at java.beans.Introspector.getBeanInfo(Introspector.java:207)
               at java.beans.Introspector.(Introspector.java:351)
               at java.beans.Introspector.getBeanInfo(Introspector.java:207)
               at java.beans.Introspector.getBeanInfo(Introspector.java:193)
               at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1323)
               at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1261)
               at weblogic.servlet.jsp.StandardTagLib.(StandardTagLib.java:292)
               at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
               at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
               at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:5015)
               at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4853)
               at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4699)
               at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2094)
               at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1880)
               at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
               at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
               at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
               at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
               at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
               at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
               at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:367)
               at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:223)
               at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
               at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
               at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
               at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
               at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
               at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
               at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
               at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
               at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
               at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
               at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
          

          I'm having the same problem, did you find a solution?
          "Kelvin" <[email protected]> wrote:
          >
          >I'm trying to create a web app running on Weblogic 8.1 SP2 that uses
          >JSTL tags.
          > I've downloaded the Apache 1.0.5 Reference Implementation of the JSTL
          >1.0 spec,
          >but I can't get the sample web-app (standard-examples.war) to work correctly.
          >
          >When I go to the "General Purpose Tag Examples" and try to view the Out
          >example
          >JSP, I get a large exception saying that java.lang.NoClassDefFoundError:
          >javax/servlet/jsp/el/ELException
          >(full stack trace at bottom). This also happens when I try to view the
          >JSP source
          >and pretty much any other example. I found that the German example in
          >"I18N &
          >Formatting" works, but running the Italian example gives a new exception:
          >
          >Parsing of JSP File '/format/ItalianLocale.jsp' failed:
          >--------------------------------------------------------------------------------
          > /format/ItalianLocale.jsp(12): for tag 'message', property 'bundle'
          >of tag handler
          >class 'org.apache.taglibs.standard.tag.rt.fmt.MessageTag', the value
          >must be a
          >runtime expression "<%=...%>", since we cannot do an automatic conversion
          >from
          >"${itBundle}" to type 'javax.servlet.jsp.jstl.fmt.LocalizationContext'
          >and there
          >is no custom property editor for that type
          >probably occurred due to an error in /format/ItalianLocale.jsp line 12:
          ><fmt:message key="greetingMorning" bundle="${itBundle}"/>
          >
          >
          >I can, however, get this to work on Tomcat 5.0. Has any else had this
          >problem?
          > Is there something that I'm doing incorrectly?
          >
          >
          >Thanks in advance.
          >-Kelvin
          >
          >===========================================================
          >java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
          >     at java.lang.Class.getDeclaredMethods0(Native Method)
          >     at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
          >     at java.lang.Class.getDeclaredMethods(Class.java:1114)
          >     at java.beans.Introspector$1.run(Introspector.java:1103)
          >     at java.security.AccessController.doPrivileged(Native Method)
          >     at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1101)
          >     at java.beans.Introspector.getTargetMethodInfo(Introspector.java:966)
          >     at java.beans.Introspector.getBeanInfo(Introspector.java:370)
          >     at java.beans.Introspector.getBeanInfo(Introspector.java:207)
          >     at java.beans.Introspector.(Introspector.java:351)
          >     at java.beans.Introspector.getBeanInfo(Introspector.java:207)
          >     at java.beans.Introspector.getBeanInfo(Introspector.java:193)
          >     at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1323)
          >     at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1261)
          >     at weblogic.servlet.jsp.StandardTagLib.(StandardTagLib.java:292)
          >     at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
          >     at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
          >     at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:5015)
          >     at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4853)
          >     at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4699)
          >     at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2094)
          >     at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1880)
          >     at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
          >     at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
          >     at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
          >     at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
          >     at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
          >     at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
          >     at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:367)
          >     at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:223)
          >     at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
          >     at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
          >     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
          >     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
          >     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
          >     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
          >     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
          >     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
          >     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
          >     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
          >     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
          >
          

Similar Messages

  • How to use jstl in weblogic 8.1

    I tried to use JSTL in my jsp file and I add
              <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> at the top line. But the server reported
              java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver
              how to solve this problem?

    WebLogic 8.1 supports JSP 1.2, which doesn't natively implement the JSTL or the expression language. If you download the Jakarta Taglibs implementation of the JSTL (for JSP 1.2, not JSP 2.0), then you can use the JSTL taglib as a normal taglib. Note that this doesn't give you the ability to use the other JSP 2.0 tag features, like using the expression language in body content.
              Make sure that you use the uri value specified in the tld that you're using. I believe the values are different between the JSP 1.2 and JSP 2.0 versions.

  • Problems with using JSTL with Weblogic 8.1 SP5 - Help!

    I keep getting the following error when trying to run my application using JSP tags under Weblogic 8.1 SP5 (using Jrockit in production mode):
    /searchinput.jsp(2): Error in using tag library uri='/WEB-INF/lib/regain-search.tld' prefix='search': cannot find tag class: 'net.sf.regain.ui.server.taglib.TagMsg'
    probably occurred due to an error in /searchinput.jsp line 2:
    <%@ taglib uri="/WEB-INF/lib/regain-search.tld" prefix="search" %>
    I have the following jar files in my /WEB-INF/lib directory:
    jakarta-regexp-1.4.jar
    jstl.jar
    standar.jar
    log4j-1.2.11.jar
    struts.jar
    lucene-1.4.3.jar
    jsp-api.jar
    and the regain-search.tld.
    I am using JSTL 1.0.6 (earliest version I could find of JSTL 1.0).
    The class files that the tld file is pointing to are in the WEB-INF/classes directory of the application (which is an exploded war file).
    Here is what I have as reference in my web.xml file:
    <taglib>
    <taglib-uri>/WEB-INF/lib/regain-search.tld</taglib-uri>
    <taglib-location>/WEB-INF/lib/regain-search.tld</taglib-location>
    </taglib>
    and it is referenced in searchinput.jsp as:
    <%@ taglib uri="/WEB-INF/lib/regain-search.tld" prefix="search" %>
    I've looked everyone on the Web trying to find an answer to this - but nothing I've tried has worked.
    This all works fine in Tomcat 5.0
    Please let me know what I'm doing wrong.
    Thanks in advance,
    Kelly

    I keep getting the following error when trying to run my application using JSP tags under Weblogic 8.1 SP5 (using Jrockit in production mode):
    /searchinput.jsp(2): Error in using tag library uri='/WEB-INF/lib/regain-search.tld' prefix='search': cannot find tag class: 'net.sf.regain.ui.server.taglib.TagMsg'
    probably occurred due to an error in /searchinput.jsp line 2:
    <%@ taglib uri="/WEB-INF/lib/regain-search.tld" prefix="search" %>
    I have the following jar files in my /WEB-INF/lib directory:
    jakarta-regexp-1.4.jar
    jstl.jar
    standar.jar
    log4j-1.2.11.jar
    struts.jar
    lucene-1.4.3.jar
    jsp-api.jar
    and the regain-search.tld.
    I am using JSTL 1.0.6 (earliest version I could find of JSTL 1.0).
    The class files that the tld file is pointing to are in the WEB-INF/classes directory of the application (which is an exploded war file).
    Here is what I have as reference in my web.xml file:
    <taglib>
    <taglib-uri>/WEB-INF/lib/regain-search.tld</taglib-uri>
    <taglib-location>/WEB-INF/lib/regain-search.tld</taglib-location>
    </taglib>
    and it is referenced in searchinput.jsp as:
    <%@ taglib uri="/WEB-INF/lib/regain-search.tld" prefix="search" %>
    I've looked everyone on the Web trying to find an answer to this - but nothing I've tried has worked.
    This all works fine in Tomcat 5.0
    Please let me know what I'm doing wrong.
    Thanks in advance,
    Kelly

  • Java.lang.OutOfMemory error when transforming xml using xsl with Weblogic 6.1 sp2

    Hello,
    I have an OutOfMemoryError when applying an xsl transformation to generate html
    code in a web page. I'm running Weblogic 6.1 sp2
    I think the problem comes from the objectin which th html is stored during the
    transformation. The problem only occurs from a minimal xml size. I could fix
    it by increasing JVM allocated size but I would like to find a more flexible solution.
    If I know an other way to solve this problem, I really would appreciate !
    Thanl you,
    Laurent.
    [AgentsGeres.jsp]

    Hello,
    You might try asking your question in the JSP newsgroup:
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.jsp
    There just may not be a more flexible solution :-)
    This doc may be of some value, see chapter 2:
    http://edocs.bea.com/wls/docs61/pdf/perform.pdf
    HTH,
    Bruce
    Laurent Gosuin wrote:
    >
    Hello,
    I have an OutOfMemoryError when applying an xsl transformation to generate html
    code in a web page. I'm running Weblogic 6.1 sp2
    I think the problem comes from the objectin which th html is stored during the
    transformation. The problem only occurs from a minimal xml size. I could fix
    it by increasing JVM allocated size but I would like to find a more flexible solution.
    If I know an other way to solve this problem, I really would appreciate !
    Thanl you,
    Laurent.
    Name: AgentsGeres.jsp
    AgentsGeres.jsp Type: Hypertext Markup Language (text/html)
    Encoding: base64

  • How to use call back and user session id based conversation with web service in weblogic 6.1 sp2 ?????????

    Hi, every one:
    Here's my question of my day - >>>
    I am using weblogic 6.1 SP2 right now - running on Unix and Win 2K, and
    I got a web service up and running called Price Update web service through
    which user can pick up a price and push a deal to another web service
    called: deal service, the deal service will take the user deal and book the
    deal ( sending a JMS message to a Queue, a MD will pick up and do the work,
    then send the confirmation to another JMS Queue ), then the confirmation
    will be picked up and sent to another web service , called: User Deal
    Confirmation Service, here's the question:
    1. Since the client application is only allowed to see its own confirmed
    deals, how I can make the confirmed deal encrypted based on a server
    generated key or the session id that client application provides
    2. Now, I have 3 webservices: update, deal and confirm, each of them has a
    client.jar file available - from the client application point of view, do I
    need all these 3 client.jar, or I just need one of them ?????
    3. How can I use web service call back in wls 6.1 sp2 ?????? - in the 7.0
    beta, you can do this easily in the workshop, in the second question above,
    I think I need some how relate the confirmation to the client conversation
    id ??
    thanks a lot for the input, have a nice day.
    regards,
    mark.

    Any comments ?
    mark
    "markhu" <[email protected]> wrote in message
    news:[email protected]..
    Hi, every one:
    Here's my question of my day - >>>
    I am using weblogic 6.1 SP2 right now - running on Unix and Win 2K,and
    I got a web service up and running called Price Update web service through
    which user can pick up a price and push a deal to another web service
    called: deal service, the deal service will take the user deal and bookthe
    deal ( sending a JMS message to a Queue, a MD will pick up and do thework,
    then send the confirmation to another JMS Queue ), then the confirmation
    will be picked up and sent to another web service , called: User Deal
    Confirmation Service, here's the question:
    1. Since the client application is only allowed to see its own confirmed
    deals, how I can make the confirmed deal encrypted based on a server
    generated key or the session id that client application provides
    2. Now, I have 3 webservices: update, deal and confirm, each of them has a
    client.jar file available - from the client application point of view, doI
    need all these 3 client.jar, or I just need one of them ?????
    3. How can I use web service call back in wls 6.1 sp2 ?????? - in the 7.0
    beta, you can do this easily in the workshop, in the second questionabove,
    I think I need some how relate the confirmation to the client conversation
    id ??
    thanks a lot for the input, have a nice day.
    regards,
    mark.

  • Weblogic 6.1 sp2 , application which used to run on wl 6.1 sp1 does not run anymore

    Hi
    For some reason, my application 'portal' does not run on weblogic 6.1 sp2,
    It used to run fine on 6.1 sp1 .
    I am attaching the weblogic.log file with this msg.
    Thanks,
    Regards,
    Lalitha
    [weblogic6.1sp2logs.txt]

    Tobin is right, my apoplication is called "portal", I am not using WLPortal. Anyway,
    I managed to resolve my problem,I had sax2 , xp and xt parsers placed in the WEB-INF\lib
    directory of my application in addition to my own jar file. I removed the parsers
    , and now my application is running fine.
    It is strange though, since my application used to load and work flawlessly on
    weblogic 6 as well as weblogic 6.1 sp1 with the parsers in the lib directory....
    Anyhow, thanks a lot for the help.
    Regards,
    Lalitha
    "Tobin Paterson" <[email protected]> wrote:
    >
    Having applied WLS 6.1 sp2 upgrade today I am seeing the same fault.
    I am not using
    WL Portal. Also I think the original poster's application just happens
    to be called
    "portal" and is not using WL Portal.
    cheers,
    Tobin.
    "BEA Support" <[email protected]> wrote:
    Hello,
    Only WLCS and/or WLPS 3.5 sp 2 support WLS 6.1 sp 2
    WL Portal 4.0 support only WLS 6.1 sp 1.
    Regards,
    Developer Relations Engineer
    BEA Support
    "Lalitha" <[email protected]> a écrit dans le message de news:
    [email protected]..
    Hi
    For some reason, my application 'portal' does not run on weblogic
    6.1
    sp2,
    It used to run fine on 6.1 sp1 .
    I am attaching the weblogic.log file with this msg.
    Thanks,
    Regards,
    Lalitha

  • URGENT!Oracle Type 2 XA Driver(9.2.0.3)problem with EJB on Weblogic 8.1 SP2

    Hi all,
    In our production environment, we're getting the following exception when client requesting the transaction from EJB but it is not happening all the time. It just happens a couple time on day. I assume that it happens 5 out 100 requests.
    Here is the exception...<br>
    <b>================================<br>
    Exception occurred during commit of transaction Name=[EJB com.xxx.xxx.ejb.MappingTrlsBean.getTranslation(java.math.BigDecimal,java.math.BigDecimal,java.math.BigDecimal,java.sql.Date,java.sql.Date)],Xid=BEA1-48F084989933A1C25F07(31980664),Status=Rolled back. [Reason=oracle.jdbc.xa.OracleXAException],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=76,seconds left=60,XAServerResourceInfo[DS35Pool]=(ServerResourceInfo[DS35Pool]=(state=rolledback,assigned=TTMsvr),xar=DS35Pool),XAServerResourceInfo[DS11Pool]=(ServerResourceInfo[DS11Pool]=(state=rolledback,assigned=TTMsvr),xar=DS11Pool),SCInfo[TTM+TTMsvr]=(state=rolledback),properties=({weblogic.transaction.name=[EJB com.bcbsmn.mappingtrls.ejb.MappingTrlsBean.getTranslation(java.math.BigDecimal,java.math.BigDecimal,java.math.BigDecimal,java.sql.Date,java.sql.Date)]}),local properties=({}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=TTMsvr+172.16.208.50:6333+TTM+t3+, XAResources={},NonXAResources={})],CoordinatorURL=TTMsvr+172.16.208.50:6333+TTM+t3+): oracle.jdbc.xa.OracleXAException
    <br>...............<br><br>
    --------------- nested within: ------------------
    weblogic.transaction.RollbackException: Could not prepare resource 'DS35Pool - with nested exception:
    [oracle.jdbc.xa.OracleXAException]
    <br>==============================</b><br>
    I have a couple of connection pools setup called DS35Pool and DS11Pool.
    The configuration of the both driver is
    1)Driver Classname:oracle.jdbc.xa.client.OracleXADataSource
    using ojdbc14.jar from weblogic 8.1 sp2
    2)Remove Infected Connections Enabled is checked
    3)Allow Shrinking is checked with 900 seconds
    4)Test Reserved Connections is checked
    5)Keep XA Connection Till Transaction Complete is checked
    6)Supports Local Transaction is checked.
    Thank you in advance for any help!!!

    That appears to be a bug in the console. You might try the command-line tool java weblogic.Deployer for deploying apps. java weblogic.Deployer -examples will give detailed usage info.
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Can't deploy a SINGLE bean in weblogic 6.1 SP2 w/o application reload

    Anyone know how to update a single bean in an application without
    redeploying the entire application?
    We have a project containing 101 beans (session and entity) and 372
    jsps which we are deploying on weblogic 6.1, SP2 as a single
    application. The project is deployed in an exploded directory format
    as follows:
    trader/
    META-INF/application.xml
    lib/
    third-party.jar
    third-party.jar (etc.)
    SessionBean.jar
    EntityBean.jar (etc.)
    trader/
    WEB-INF/web.xml
    META-INF/MANIFEST.MF (contains Class-Path: entry to lib dir)
    jsp/html/gif's reside below this point.
    Each bean jar has a META-INF/MANIFEST.MF to resolve third-party
    library dependencies through the use of the Class-Path entry.
    When we we try to update a single bean's implementation, the
    entire application reloads, which can take between 10 - 30 minutes.
    We have tried using the weblogic.deploy tool as well as undeploying
    and redeploying the bean from the console. In both cases, the
    entire application reloads.
    When we use weblogic.deploy, we've tried the following:
    weblogic.deploy
    -url T3://localhost:7001
    update weblogicpwd trader ~/trader/build/SessionBean.jar
    and
    weblogic.deploy
    -url T3://localhost:7001
    -component SessionBean:srvr1
    update weblogicpwd trader ~/trader/build/SessionBean.jar

    Anyone know how to update a single bean in an application without
    redeploying the entire application?
    We have a project containing 101 beans (session and entity) and 372
    jsps which we are deploying on weblogic 6.1, SP2 as a single
    application. The project is deployed in an exploded directory format
    as follows:
    trader/
    META-INF/application.xml
    lib/
    third-party.jar
    third-party.jar (etc.)
    SessionBean.jar
    EntityBean.jar (etc.)
    trader/
    WEB-INF/web.xml
    META-INF/MANIFEST.MF (contains Class-Path: entry to lib dir)
    jsp/html/gif's reside below this point.
    Each bean jar has a META-INF/MANIFEST.MF to resolve third-party
    library dependencies through the use of the Class-Path entry.
    When we we try to update a single bean's implementation, the
    entire application reloads, which can take between 10 - 30 minutes.
    We have tried using the weblogic.deploy tool as well as undeploying
    and redeploying the bean from the console. In both cases, the
    entire application reloads.
    When we use weblogic.deploy, we've tried the following:
    weblogic.deploy
    -url T3://localhost:7001
    update weblogicpwd trader ~/trader/build/SessionBean.jar
    and
    weblogic.deploy
    -url T3://localhost:7001
    -component SessionBean:srvr1
    update weblogicpwd trader ~/trader/build/SessionBean.jar

  • Does Oracle 8.1.5 with weblogic 6.1 sp2 suppports Distributed Transactions ---A really night Mare

              Which version of jdbc thin driver should i use to achieve distributed transaction
              with oracle 8.1.5 in weblogic 6.1 sp2
              right now if iam using the driver classes provided in weblogic.jar iam gettig the
              following Exception
              AccountBean.ejbCreate( id = accountId, initial balance = $ 3000.0)
              java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has occured
              in the transaction branch start(
              ) failed on resource 'OracleXAPool' Unexpected error during start for XAResource
              'OracleXAPool': null
              at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1044)
              at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1010)
              at weblogic.jdbc.jta.Connection.getXAConn(Connection.java:148)
              at weblogic.jdbc.jta.Connection.prepareStatement(Connection.java:226)
              at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:135)
              at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:76)
              at examples.ejb.basic.beanManaged.AccountBean.ejbCreate(Unknown Source)
              at examples.ejb.basic.beanManaged.AccountBean_g1748h_Impl.ejbCreate(AccountBean_g1748h_Impl.java:172)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.ejb20.manager.DBManager.create(DBManager.java:492)
              at weblogic.ejb20.manager.DBManager.remoteCreate(DBManager.java:462)
              at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:190)
              at examples.ejb.basic.beanManaged.AccountBean_g1748h_HomeImpl.create(AccountBean_g1748h_HomeImpl.java:76)
              at examples.ejb.basic.beanManaged.AccountBean_g1748h_HomeImpl_WLSkel.invoke(Unknown
              Source)
              at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
              at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
              at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
              at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:158)
              at weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92)
              at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112)
              at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:253)
              at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:220)
              at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
              at $Proxy126.create(Unknown Source)
              at examples.wtc.atmi.simpapp.ToupperBean.putMessage(ToupperBean.java:194)
              at examples.wtc.atmi.simpapp.ToupperBean_8roqg7_EOImpl.putMessage(ToupperBean_8roqg7_EOImpl.java:284)
              at examples.wtc.atmi.simpapp.ToupperBean_8roqg7_EOImpl_WLSkel.invoke(Unknown
              Source)
              at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
              at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
              at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Regards
              Ranga Rao
              

              Oracle Server 8.1.5 does not provide support for 2PC.
              Full XA support is provided from version 8.1.7.
              Sergi
              "Lawrence" <[email protected]> wrote:
              >
              >Ranga,
              >Please use classes12.zip for this.If you still find problem, please let
              >me know.
              >Thanks
              >Lawrence
              >
              >"Ranga Rao" <[email protected]> wrote:
              >>
              >>
              >>Which version of jdbc thin driver should i use to achieve distributed transaction
              >>with oracle 8.1.5 in weblogic 6.1 sp2
              >>
              >>right now if iam using the driver classes provided in weblogic.jar iam
              >gettig
              >>the
              >>following Exception
              >>
              >>////////////////////////////////////////////////////////////////////////////////////////////
              >>AccountBean.ejbCreate( id = accountId, initial balance = $ 3000.0)
              >>java.sql.SQLException: XA error: XAER_RMERR : A resource manager error
              >has
              >>occured
              >>in the transaction branch start(
              >>) failed on resource 'OracleXAPool' Unexpected error during start for XAResource
              >>'OracleXAPool': null
              >> at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1044)
              >> at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1010)
              >> at weblogic.jdbc.jta.Connection.getXAConn(Connection.java:148)
              >> at weblogic.jdbc.jta.Connection.prepareStatement(Connection.java:226)
              >> at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:135)
              >> at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:76)
              >> at examples.ejb.basic.beanManaged.AccountBean.ejbCreate(Unknown
              >>Source)
              >> at examples.ejb.basic.beanManaged.AccountBean_g1748h_Impl.ejbCreate(AccountBean_g1748h_Impl.java:172)
              >> at java.lang.reflect.Method.invoke(Native Method)
              >> at weblogic.ejb20.manager.DBManager.create(DBManager.java:492)
              >> at weblogic.ejb20.manager.DBManager.remoteCreate(DBManager.java:462)
              >> at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:190)
              >> at examples.ejb.basic.beanManaged.AccountBean_g1748h_HomeImpl.create(AccountBean_g1748h_HomeImpl.java:76)
              >> at examples.ejb.basic.beanManaged.AccountBean_g1748h_HomeImpl_WLSkel.invoke(Unknown
              >>Source)
              >> at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
              >> at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
              >> at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
              >> at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:158)
              >> at weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92)
              >> at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112)
              >> at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:253)
              >> at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:220)
              >> at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
              >> at $Proxy126.create(Unknown Source)
              >> at examples.wtc.atmi.simpapp.ToupperBean.putMessage(ToupperBean.java:194)
              >> at examples.wtc.atmi.simpapp.ToupperBean_8roqg7_EOImpl.putMessage(ToupperBean_8roqg7_EOImpl.java:284)
              >> at examples.wtc.atmi.simpapp.ToupperBean_8roqg7_EOImpl_WLSkel.invoke(Unknown
              >>Source)
              >> at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
              >> at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
              >> at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
              >> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >>/////////////////////////////////////////////////////////////////////////////////
              >>
              >>Regards
              >>Ranga Rao
              >>
              >>
              >
              

  • Upgrading Weblogic 8.1, SP2 to Weblogic 8.1, SP6

    wanna to the code changes that are required in web application while upgrading Weblogic 8.1, SP2 to Weblogic 8.1, SP6.

    I am currently conducting the same type of upgrade. We have Platform 8.1 SP2 installed. We would like to upgrade to SP3, but I was not sure if any patches were required before the upgrade. After several dicussions with BEA Technical Support, here is what I learned.
    To upgrade 8.1 SP2 to SP3, you must first install the following patch...
    http://dev2dev.bea.com/products/wlplatform81/patch/wlplat81sp2_patch.jsp
    ...then use SmartUpdate to upgrade the SP3.
    If you choose to fully install 8.1 SP3, then you do not need to install the patch because 8.1 SP3 includes the pacthes. Installing the patches would make no difference anyway since the SP2 installation would be deleted to make room for the SP3 installation. This option is not an upgrade, it is a full installation.
    Hope it helps!
    Raffi

  • Problem using jstl and displaytags

    Hi all,
    I am using display tags taglib for generation of table. One of the columns has to be shown with the hyperlink attached to it. In order to acheive this i am using jstl taglib together with displaytags
    <display:table name="reportList" id="row" requestURI="viewengagementstatus.do" style="width: 100%;">
    <display:column  title="Period"  sortable="true" style="text-align:  center;" >
    <a href="/jsps/reportsummary.do?eid=<c:out value="${row.eid}" />&reportId=<c:out value="${row.ReportID}" />&reportPeriod=<c:out value="${row.targetDate}"/> " target="_blank"><font size="1"><c:out value="${row.targetDate}"/></font></a>
    </display:column>I am using jstl1.1.2.jar for jstl.
    When i run this on Weblogic10 and windows OS i am able to view the results. On performing the view source on the IE window, i get the following:
    <td style="text-align:  center;">
                   <a href="/jsps/reportsummary.do?eid=78004&reportId=104093&reportPeriod=Nov-2008 " target="_blank"><font size="1">Nov-2008</font></a>
    </td>but when the same code is run on the Weblogic deployed on the Linux machine, i am not getting the links and the name:
    the view-source of the application deployed on the linux machine shows:
    td style="text-align:  center;">
                   <a href="/jsps/reportsummary.do?eid=&reportId=&reportPeriod=" target="_blank"><font size="1"></font></a>
    </td>Any Ideas why this is occuring?
    Any help would be appreciated

    You should be using the one or the other, not both. Since your actual code shows that you don't need the jstl/core_rt taglib (you're using the JSP EL ${ } in JSTL tags rather than scriptlets <%= %> ), just remove that taglib declaration and continue using the jstl/core taglib.
    You should also rather place both the JSTL and standard JAR in the classpath of the application server. In case of Tomcat, put it in its /lib directory. Then remove all unnecessary JSTL and Standard JAR and TLD files from your whole webapplication project and also remove any related entries from the web.xml of your webapplication project. To use JSTL you only need to put the JAR files in the classpath of the application server and define the taglib in your JSP. Nothing less and nothing more. If you're using JSTL 1.2 rather than JSTL 1.1, then you need to remove the standard.jar file too since it is already merged in the jstl-1.2.jar file.
    Oh, the web.xml should also be declared that way that the application server uses at least servlet 2.4.

  • Problems storing CLOBs with build-in Oracle 8.1.6 thin driver of WebLogic 6.0 SP2

    Hi,
    I'm using the build-in Oracle 8.1.6 thin driver that comes with
    weblogic.jar of WebLogic 6.0 SP2. It doesn't store CLOBs. Here I have
    to use the class weblogic.jdbc.common.OracleClob. Why?
    WebLogic 5.1 SP 9 + Oracle 8.1.6 thin driver (external) does. Here I
    use the class oracle.sql.CLOB.
    Must I use a OCI driver?
    Thanks,
    Juergen

    I'd also recommend to switch to 8.1.7 thin driver. It's more stable.
    Regards,
    Slava Imeshev
    "NhaBep" <[email protected]> wrote in message
    news:3b71bbcf$[email protected]..
    >
    You can use thin driver to persist CLOB. One thing you must be sure to setautocommit
    to false. Hope this help.
    [email protected] (Juergen) wrote:
    Hi,
    I'm using the build-in Oracle 8.1.6 thin driver that comes with
    weblogic.jar of WebLogic 6.0 SP2. It doesn't store CLOBs. Here I have
    to use the class weblogic.jdbc.common.OracleClob. Why?
    WebLogic 5.1 SP 9 + Oracle 8.1.6 thin driver (external) does. Here I
    use the class oracle.sql.CLOB.
    Must I use a OCI driver?
    Thanks,
    Juergen

  • Weblogic 8.1 SP2 does not support 'Order by' clause in EJB-QL

    It seems that Weblogic 8.1 SP2 does not support 'Order by' clause in EJB-QL. EJB 2.1 spec supports 'Order by' clause in EJB-QL. Am I right when I say that it indicates : "Weblogic 8.1 SP2 does not support EJB 2.1" ? In that case, what can be the alternative since I am using Weblogic 8.1 and I require 'Order by' clause in Ejb-QL as well.

    In WL 8.1 SP4 I can use the ORDERBY just fine.
    Try ORDERBY instead of Order by

  • Unable to invoke WebLogic 8.1 sp2 web service from a java proxy client...

    I am not able to invoke a web service deployed on WebLogic 8.1 SP2 via a client using the proxy jar provided by WebLogic's JWS > Overview > Generate Java Proxy tool.
    I am getting a java.net.ConnectException.
    Both the client and the WebService are on the same server.
    Thanks!!
    Inder./

    Please see the instructions below. If this does not help, please open a case with customer support and tell them it may be related to CR235479
    DESCRIPTION:
    When a platform domain is created, the admin server can be started without
    any issues and a managed server can also be started without any errors if
    using startManagedWebLogic.sh. But when a managed server is started using the
    nodemanager, the managed server fails to start with the following error.
    The WebLogic Server did not start up properly.
    java.lang.NoClassDefFoundError: com/bea/wsrp/util/debug/Debug
    (Complete stack trace with be added as a note)
    The reason for this is that:
    startWebLogic.sh(cmd) and startManagedWebLogic.sh(cmd) for platform domains
    call <User domain>/setDomainEnv.sh which includes all the jars necessary for
    a platform domain in the CLASSPATH.
    Whereas startNodeManager.sh calls <WL_HOME>/common/bin/commEnv.sh, which is
    the same for both platform and server installations of weblogic and has only
    weblogic.jar in the CLASSPATH.
    Looking at historical cases, the steps to start NodeManager successfully in a
    platform domain are:
    1.
    a. Copy admin server classpath (from <user Domain>/startWebLogic.sh) to
    that of all managed servers in the 'Remote Start' tab of the WLS Console
    OR
    b. Copy admin server classpath to <WL_HOME>/server/bin/startNodeManager.sh
    (If the same nodemanager is used to manage server domain servers and platform
    domain servers, will there be any issue with this approach??)
    2. Copy the wsrpKeystore.jks file from your domain directory to the
    nodemanager directory (the parent of the directory where all the server
    directories are replicated in the node manager. By default: <WL
    HOME>/common/nodemanager)
    But these steps are not publicly documented in edocs.
    CONFIGURATION:
    Weblogic Platform Domain 8.1 (all service packs)
    WORKAROUND:
    Steps 1 and 2 above.

  • Double submission problem in J2EE application under Weblogic 8.1 SP2 server

    Hi,
    We are facing double submission problem in our J2EE application which is running under Weblogic 8.1 SP2 and for the same we already implemented or added the below preventive solutions.
    1. We disable the SUBMIT button once the user clicks it.
    2. We preventated pressing 'F5' button and clicking 'Refresh' button in the browser.
    3. Also we tried to prevent by declaring the idempotent is 'true' under weblogic-ejb-jar.xml as below.
    <stateless-bean-methods-are-idempotent>true</stateless-bean-methods-are-idempotent>
    So please somebody help us on this issue like how to prevent in some other way.
    Regards,
    Dinesh.

    I have no idea why you would think changing your EJB configuration would have anything to do with preventing double submission at your servlet layer.
    One technique I've seen for preventing double submission was first used in the Struts framework several years ago. When a page is "prepared" for display, a token value is created and stored in the session. The page is displayed with a hidden field containing that value. When the page is submitted, the value of the hidden field is compared with the value stored in the session. If they're not equal, the submission is ignored.

Maybe you are looking for

  • No Free/busy information could be retrieved in outlook 2013

    I Microsoft, Avionyx as a company has an account in Microsoft Exchage Online(365) from this side the calendar free/busy information works perfect via OWA. Avionyx is facing an issue in office outlook 2013, we have office outlook 2007 and 2010 and the

  • Regarding   Mailing of PO :

    Dear SAP Friends I need one clarification regarding  sending of Purhcase order through EMAIL .. For doing the same , what is the steps needs to be taken , what Setting to be made in Customisation in MM point of view .. Please kindly explain the step

  • EJB 2.0 and EJB 1.1

    Hi, I'm porting an application based on J2EE 1.2.1 to J2EE 1.3.1, this application has some "border" EJBs (1.1) that will become 2.0 EJBs and that have to call other 1.1 EJBs (part of another application). Can 2.0 EJBs call 1.1 EJBs ? Aren't all call

  • DOM to string in C++ Parser

    I see this has come up in various forms before, but what's the best way to convert from a DOM Document instance to a string (for saving to a file) using the C++ tools? I found Node::print(...) in the header file, but get a link error as if it's not r

  • FIREPOD/ SPIDIF OUT NOT WORKING PLZ HELP

    HI So I've been liking the firepod by presonus on my macbook black 2.12 ghz, ran all the upgrades, love it for live gigs, thing is, i tried to connected it to my digidesign 888 via spidif out to 888 in and nothing comes out. i tried again on my DAT m