Custom Tag Error with Weblogic SP9

          Hi
          I seem to be having a problem with a custom tag that I wrote. When I run the JSP
          on WLS (without a service pack), the generated java code uses the weblogic.utils.StringUtils
          class to interprete jsp expressions that are passed into the custom tag's attribute
          (on the JSP). The method called on this StringUtils class is valueOf(). This method
          in essence makes sure that the result of the expression is not null and then subsequently
          calls a toString() on the value. Note that if the value is null it simply returns
          an empty string.
          The problem is that when we go to service pack 9, this method is not called (StringUtils.valueOf()).
          Now the problem arises if first of all the result of the expression statement
          in the custom tag definintion (on the JSP) is null. Secondly, it will also error
          out when the setter method is called within the custom tag, if the object returned
          from the expression does not match the one that is expected by the tag... in our
          case a String.
          Here's a sample usage of the tag:
          <wescombop:selectTag
          selectName="buildingNumber"
          selectedItem="<%= buildingJB.getBuildingNumber()%>"
          trimSelectedItem="true"
          selectTagDataName="buildingNumberDataAttribute" />
          Note: buildingJB.getBuildingNumber() returns BigDecimal
          Here's a snipett of the line generated java:
          * Without the service pack
          comwestfieldgrp_wescom_bop_view_tag_SelectTag_1.setSelectedItem(weblogic.utils.StringUtils.valueOf(buildingJB.getBuildingNumber()));
          *With Service Pack 9
          comwestfieldgrp_wescom_bop_view_tag_SelectTag_1.setSelectedItem(buildingJB.getBuildingNumber());
          Note: The setSelectedItem() method expects a String object as a parameter, so
          the code with service pack 9 will result in a compilation error, since buildingJB.getBuildingNumber()
          returns a BigDecimal.
          Let me know if you need more explanation.
          Has anyone experience this problem before... Any help would be deeply appreciated.
          Thanks all.
          Niran
          

          Modify the <cewolf:param> tag.
          <cewolf:chart id="confchart" title="Reports" type="bar3d" yaxislabel="Time"> <cewolf:data>
          <cewolf:producer id="report"> <cewolf:param name="type" value="all" > </cewolf:param>
          </cewolf:producer> </cewolf:data> </cewolf:chart>
          "Balakrishnan" <[email protected]> wrote:
          >
          >We are using cewolf charting library in weblogic 7.0. The charting library
          >is implemented
          >as custom jsp tag library module.
          >
          >However, when the use the tag for displaying the chart, weblogic is producing
          >this compiler error.
          >
          >/reports/reportsView.jsp(108): no corresponding open tag for tag extension
          >close:
          >//[ null; Line: 108]
          >
          >Here's the corresponding source of the jsp file:
          >
          > <cewolf:chart id="confchart" title="Reports" type="bar3d" yaxislabel="Time">
          > <cewolf:data>
          > <cewolf:producer id="report">
          > <cewolf:param name="type" value="all" /> (<-- Error occurs
          >here.
          >Line no: 108)
          > </cewolf:producer>
          > </cewolf:data>
          > </cewolf:chart>
          >
          >I've also checked the corresponding tld file and it is in place.
          >
          >The same code without any modifications is working fine in tomcat. Can
          >you please
          >let me know what needs to be corrected to make this work?
          

Similar Messages

  • How to use the JRun Custom tag library with Weblogic 5.1?

    Hello,
              is it possible to use the JRUN Tag Library with Bea Weblogic 5.1? We
              got an error message like:
              weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:
              'jrun': T
              here is no setter method for property 'code', for Tag class
              'allaire.taglib.Serv
              letTag'
              Thank you for any info!
              Stefan
              

    Hi Joe,
    I don't know, however someone that follows the JSP newsgroup [1] may be
    able to help. Could you try your post there.
    Thanks,
    Bruce
    [1]
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.jsp
    Joe Kamenar wrote:
    >
    I have a question. I need to do a sort on news articles in our database, sorting
    by the date they were posted. I then want to take only the top 6 articles. We
    are using Weblogic 5.1. When I use the following statement, 6 articles are taken
    from the database, then sorted, which ends up leaving out the most recent articles:
    <cm:select contentHome="com.beasys.commerce.axiom.document.Document" query="<%=contentQuery%>"
    sortby = "creationDate DESC, headlineDate DESC" max="6" id="contentList" />
    I need to get ALL the articles for the sort, then just take the most recent 6.
    So, I know that I can use the following code and monitor the counter variable,
    "i". But, how do i do this to only display the top 6 items?
    <es:foreachinarray id="content" array="contentList" type="com.beasys.commerce.axiom.content.Content"
    counterId="i">
    <% myStr=content.getIdentifier(); %>
    <% if (i<6) {
    %>
    <div class="marginText">
    <cm:printproperty id="content" name="title" encode="html" />  
    <a href="<%=new String(news_display.jsp?id="+myStr)%">">more</a>
    </div>
    <% } %>
    </es:foreachinarray>
    However, when I run this, no results show up. What is the correct way to do this?
    - Joe</a>

  • HTTP 500 Internel server error in Custom tag program on Weblogic 8.1

    Dear sir,
    Please attend my problem...
    I face the Error 500 Internel server error when I rum the custom tag program on weblogic 8.1.
    My program Structure is:
    Program>Home.jsp
    >WEB-INF>classes>mypack>MyTag.java, MyTag.class
    >tlds>taglib.tld
    >web.xml
    Home.jsp:
    <%@ taglib uri="/WEB-INF/tlds/taglib" prefix="Kumar" %>
    <Kumar:hello name="Vijay">
    It is a Tag Body<br>
    </neeraj:hello>
    taglib.tld:
    <taglib>
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <uri>/WEB-INF/tlds/taglib</uri>
    <tag>
    <name>hello</name>
    <tag-class>mypack.MyTag</tag-class>
    <attribute>
    <name>name</name>
    <required>true</required>
    </attribute>
    </tag>
    </taglib>
    MyTag.java:
    package mypack;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class MyTag extends TagSupport
    String name;
    public void setName(String c)
    name=c;
    public int doStartTag()
    return EVAL_BODY_INCLUDE;
    public int doEndTag()
    try
    JspWriter out=pageContext.getOut();
    out.print("Good Night "+name);
    catch(Exception e)
    return EVAL_PAGE;
    web.xml:
    <web-app>
    <welcome-file-list>
    <welcome-file>/Home.jsp</welcome-file>
    </welcome-file-list>
    <taglib>
    <taglib-uri>/WEB-INF/tlds/taglib</taglib-uri>
    <taglib-location>/WEB-INF/tlds/taglib.tld</taglib-location>
    </taglib>
    </web-app>
    Allthough this program are run on NetBean6.1.In NetBean6.1, i am not specify the web.xml file.Please Help me..

    With an [HTTP status code|http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html] of 500, the most helpful information for debugging the problem is usually in the server's log file. There should be a stack trace in the web or application server's log file that will contain the specific root cause of this. It is often a NullPointerException or ClassNotFoundException or other "common" exception.

  • JSP with Custom tags error during verify.

    Hi, i am new to JSP and Custom tag Library. The tools that i am using to deploy is "Sun Deploy Tool 8.2" with Sun Application Server. When i try to verify my JSP page i get this error message
    tests.web.AllJSPsMustBeCompilable . I guess there is nothing wrong for my code, will it be path problem, because
    i already check that i had included all the path that i need. Any idea what might cause this problem? Thank You.
    Assertion:All the JSPs that are bundled inside a web application must be compilable using a J2EE compliant JSP compiler that does not have any proprietary or optional features in it.
    For [ /tag/tag.war ]
    Error: Some JSPs bundled inside [ tag ] could not be compiled. See details below.
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 12 in the jsp file: /currentTime.jsp
    Here are my class file :
    Custom lib java Class timetag.java
    import javax.servlet.jsp.tagext.*;
    import javax.servlet.jsp.*;
    import java.text.SimpleDateFormat;
    public class timetag extends TagSupport{
         public int doEndTag() throws JspException
              SimpleDateFormat sdf;
              sdf = new SimpleDateFormat("HH:mm:ss");
              String time = sdf.format(new java.util.Date());
              try {
                   pageContext.getOut().print(time);
              }catch(Exception ex)
                   throw new JspException(ex.toString());
              return EVAL_PAGE;
    Tag file *.tld : examplesTag.tld
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
    version="2.0">
    <tlib-version>1.0</tlib-version>
    <jsp-version>2.0</jsp-version>
    <short-name>ExamplesTags</short-name>
    <description>A set of example tag handlers.</description>
    <tag>
    <name>time</name>
    <tag-class>timetag</tag-class>
    </tag>
    </taglib>
    JSP File : currentTime.jsp
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <%@ taglib prefix="examples" uri="/WEB-INF/examplesTags.tld" %>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <title>Insert title here</title>
    </head>
    <body>
    <examples:time /> //If i remove this it will be fine.
    </body>
    </html>

    I am sorry for the double post because the format mess up..Please ignore this POST..Apologies again..Thanks

  • Custom tag lib with output parameter

    Hi,
    I need a tag libray that gives me a specific element of a Vector.
    Here there is the line I have in my jsp.
    <ct:partizione tronco="${contenitoreCentralineTronco}" indice="index" partizione="tmpPartizione"/>
    ...-contenitoreCentralineTronco is an Object that contains a Vector of other specif objects.
    -indice is the vector index of the specif instance I need.
    -partizione should be the output instance.
    This is part of my tld file:
        <tag>
             <name>partizione</name>
            <tagclass>ss.aspi.classi.centraline.grafica.tagSupport.Partizione</tagclass>
            <bodycontent>empty</bodycontent>
            <info>Estrae una partizione da un vettore di partizioni dato l'indice</info>
            <attribute>
                <name>tronco</name>
                <required>true</required>
                <rtexprvalue>true</rtexprvalue>
            </attribute>
            <attribute>
                <name>indice</name>
                <required>true</required>
            </attribute>
            <attribute>
                <name>partizione</name>
                <required>false</required>
            </attribute>
         </tag>
    ...this is part of the class called by the tag:
         private ContenitoreTroncoBean tronco;
         private Integer indice;
         private ContenitorePartizioneBean partizione;
         public int doStartTag() throws JspException {
              try {
                   Vector<ContenitorePartizioneBean> partizioni = tronco.getPartizioniBean();
                   partizione = partizioni.get(indice);
              }catch (Exception e) {
                   log.error("Errore nell'estrazione della Partizione "+indice);
                   e.printStackTrace();
              return TagSupport.SKIP_BODY;
         //All getter and setter functionsWhen I run the application I get this exception:
    jsp.error.beans.property.conversion
    looking deeper in the class code jenerated from the jsp, I noted that the problem refers to the third attribute of the tag <ct:partizione>.
    It seems It trys to set the attribute "partizione" with the value "tmpPartizione", but partizioni should be an output attribut non input. The varible tmpPartizione doesn't exist... the tag should create it.
    I realized I didn't get how I should create a tag with output parameters.
    Anyone can explane me it?
    Thanks.

    One suggestion: Take a closer look at the EL (expression language)
    It has an excellent syntax for accessing collections/maps
    ${contenitoreCentralineTronco[index]} would exactly what you want, without having to write a custom tag for it.
    If you REALLY want to do this as a custom tag, then you need to treat the input attribute as a String (the name of the variable you are going to create?) Right now your tag declares the attribute partizione as being of type ContenitorePartizioneBean which is probably the cause of the problem - you are passing it a String.
    Cheers,
    evnafets

  • How to use the JRun Custom tag library wiith Weblogic 5.1?

    Hello,
    is it possible to use the JRUN Tag Library with Bea Weblogic 5.1? We
    got an error message like:
    weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:
    'jrun': T
    here is no setter method for property 'code', for Tag class
    'allaire.taglib.Serv
    letTag'
    Thank you for any info!
    Stefan

    Hi Joe,
    I don't know, however someone that follows the JSP newsgroup [1] may be
    able to help. Could you try your post there.
    Thanks,
    Bruce
    [1]
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.jsp
    Joe Kamenar wrote:
    >
    I have a question. I need to do a sort on news articles in our database, sorting
    by the date they were posted. I then want to take only the top 6 articles. We
    are using Weblogic 5.1. When I use the following statement, 6 articles are taken
    from the database, then sorted, which ends up leaving out the most recent articles:
    <cm:select contentHome="com.beasys.commerce.axiom.document.Document" query="<%=contentQuery%>"
    sortby = "creationDate DESC, headlineDate DESC" max="6" id="contentList" />
    I need to get ALL the articles for the sort, then just take the most recent 6.
    So, I know that I can use the following code and monitor the counter variable,
    "i". But, how do i do this to only display the top 6 items?
    <es:foreachinarray id="content" array="contentList" type="com.beasys.commerce.axiom.content.Content"
    counterId="i">
    <% myStr=content.getIdentifier(); %>
    <% if (i<6) {
    %>
    <div class="marginText">
    <cm:printproperty id="content" name="title" encode="html" />  
    <a href="<%=new String(news_display.jsp?id="+myStr)%">">more</a>
    </div>
    <% } %>
    </es:foreachinarray>
    However, when I run this, no results show up. What is the correct way to do this?
    - Joe</a>

  • Custom Tags starting with $: lots of problems

    I'm building an extension for MovableType template tags.
    Those tags can be delimited in several ways: <MTNameOfTheTag>
    or <$MTNameOfTheTag> or even <$MTNameOfTheTag$>. Since
    the dollar sign is not allowed as tag name, i put a
    prefix="&lt;$" in tag definition, but now i have some problems:
    1. even if in tag chooser i can see the dollar-prefixed tags,
    i cannot see them in code hints (I mean "automatic" code hints,
    those floating menus automatically made for every tag/every
    attribute/every enumerated attriboption in library).
    2. I tried to manually code tags in codehints.xml file with
    the "&lt;$ pattern (so i can change the icon associated to my
    custom tags, too. That's will be very elegant) but I loose "child"
    codehints menus: the first codehints menu (the one i manually made)
    comes up, but those for attributes and attributes values don't.
    3. With the solution in point 2 not only i loose "automatic"
    codehints, but i have to write THREE files for every tag
    (taglibrary, codehins, third party tags file). Lot of time :/
    4. Dollar signs, in both start and end, are NOT part of the
    name, but part of the tag, like a prefix or a suffix. With an
    attribute i should have:
    <$MTBlogName donald="goofie"$>
    and not:
    <$NTBlogName$ donald="goofie">
    as actually i have
    so, as i said...a lot of problems! i hope someone can help
    me...its really an hard sunday, today! :/
    tnx in advance

    I think you might be moving into creating your own server
    model.
    Just a thought.

  • Custom Tag Problem With iPlanet

    Hi,
    I've followed the instructions for creating Custom Tags located at: http://docs.iplanet.com/docs/manuals/enterprise/41/rn41sp9.html#18776. I'm using the examples provided and am still getting the:
    org.apache.jasper.JasperException: Unable to open taglibrary /jsps/test-tags.jar : com.sun.xml.tree.TextNode
    error. I've followed the instructions "Make sure you have the DOCTYPE in your taglib.tld..." but I still get the error.
    iPlanet 4.1 Enterprise on Windows 2000
    Any ideas?
    Thanks in advance.

    Hey i am also getting the same error, please let me know if u had solved this problem. i have copied the error message below
    [25/Feb/2002:15:00:46] info ( 260): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to open taglibrary /jsps/test-tags1.jar : in is null
         at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:708)
         at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:119)
         at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:190)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1048)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1022)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1018)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:173)
         at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:230)
         at com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java:149)
         at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:453)
    [25/Feb/2002:15:00:46] warning ( 260): Internal error: Failed to get GenericServlet. (uri=/web/jsps/test-tags.jsp,SCRIPT_NAME=/web/jsps/test-tags.jsp)

  • Hyperion Shared Services Configuration Error with Weblogic 9.2

    Hi All,
    I have been trying to configure Hyperion Shared Services 9.3.1 with Weblogic Ver 9.2
    During configuration of the Database and the Application Server, I select Manual Configuration option on Weblogic 9
    However, it returns a configuration failure everytime of the Database.
    In my case, the DB used is SQL 2005.
    Can someone, please advise me.
    Thanks in advance
    Regards,
    Apo

    Hi Apo,
    Check the configtool.log in the logs/config folder and post the error message that is being returned.
    Thanks
    Nick

  • Stylesheet error with weblogic application server 9.1

    Hi ALL,
    I deployed my application on weblogic AS 9.1.
    i have created my own domain using sun JDK 1.5.
    i am able to log in into my application & able to do all the tasks.
    but when i click on a specific tab weblogic AS 9.1 waits for some time & give this error on its console :-
    <b>ERROR: 'Variable 'can-modify' is multiply defined in the same scope.'
    FATAL ERROR: 'Could not compile stylesheet'</b>
    i am not find any more details in the weblogic server error log.
    the same application works fine with weblogic 8.1 sp4 + jdk 1.4 & tomcat 5.0.27 + jdk 1.5( without any error)
    so i think the problem is not because of jdk, it something to do with weblogic!
    does anybody has info about this.
    it will be great help.
    regards
    Rahul

    I found that error is coming from this line.
    <b><xsl:variable name="can-modify" select="/dashboard/@can-save|/dashboard/@can-saveas" /></b>
    can somebody suggest why this happening, same code works is weblogic 8.1 & give error in 9.1.
    -Rahul

  • Custom tag error

    I'm tring to create a new JSF custom tag. my custom tag inherits from another custom tag called tab.
    the tld look like this :
    <taglib>
    <tlib-version>1.0</tlib-version>
         <jsp-version>1.2</jsp-version>
    <short-name>actab</short-name>
    <uri>http://jsftutorials.com/</uri>
    <tag>
    <name>actab</name>
    <tag-class>com.ca.accesscontrol.tabs.monolithic.ACTabTag</tag-class>
    <body-content>JSP</body-content>
    <attribute>
              <name>include</name>
         </attribute>
    <attribute>
         <name>name</name>
         <required>true</required>
         <rtexprvalue>false</rtexprvalue>
         <description>Tab name to be displayed on this tab.</description>
         </attribute>
    <attribute>
              <name>id</name>
         </attribute>     
    </tag>
    </taglib>
    I'm tring to use the custom tag in the jsp, when I specify the attrbute name I get the following error:
    monolithic.jsp(14,13) Attribute name invalid according to the specified TLD
    when I remove the name attribute from the jsp I get the following error :
    monolithic.jsp(13,10) According to the TLD attribute name is mandatory for tag actab.
    does anyone have an idea about what the problem is ?

    a bit more info required I think.
    Is there more to that exception than you posted - coming from your code?
    Maybe you can put try/catch code in your Tag source file to catch and print any exceptions that occur.
    Beans property conversion would indicate that it has translating one type to another.
    What attributes does this tag take. Should width be an integer - and 96% causes it an error?
    Lets see the tld file, and maybe some basic source?

  • JSTL core tag error in Weblogic Poral 9.2

    C:IF Tag Expressions are not recognized in weblogic portal 9.2, getting compile time errors (pls find the details below). But we have expressions for C:FOREACH those are working fine. I am just wondering any one using C:IF with expressions in weblogic portal 9.2 successfully!
    I appreciate your response to this post
    Thanks for looking at this posting !
    <Sep 20, 2006 3:57:24 PM EDT> <Error> <Sep 20, 2006 3:57:24 PM EDT> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@6e696d - appName: 'CTagServerTest', name: 'CTagServerTestWebAPP', context-path: '/CTagServerTestWebAPP'] Root cause of ServletException.
    weblogic.servlet.jsp.CompilationException: Failed to compile JSP /index.jsp
    index.jsp:13:24: Illegal token.
    <c:if test="${1=1}"> 1=1</c:if>
    ^

    Hello User,
    You can find the application under below path
    Domain_name - Expand "Environment" and Select " Deployments " - here your application will show which are deployed in this domain.
    Please refer -http://docs.oracle.com/cd/E13222_01/wls/docs100/intro/console.html
    Regards
    Laksh

  • Richfaces error with weblogic 11

    Has anyone encountered this error? I'm migrating a legacy application's weblogic 10 to 11G (10.3.5) but I can not resolve this error.
    Caused By: java.lang.NoSuchMethodException: org.ajax4jsf.context.AjaxContextImpl.decode()
         at java.lang.Class.getDeclaredMethod(Class.java:1937)
         at weblogic.j2ee.injection.J2eeComponentContributor.getDeclaredMethod(J2eeComponentContributor.java:227)
         at weblogic.j2ee.injection.J2eeComponentContributor.addLifecycleMethods(J2eeComponentContributor.java:147)
         at weblogic.servlet.internal.WebComponentContributor.addLifecycleMethods(WebComponentContributor.java:328)
         at weblogic.j2ee.injection.J2eeComponentContributor.contribute(J2eeComponentContributor.java:57)
         at weblogic.servlet.internal.WebComponentContributor.contribute(WebComponentContributor.java:206)
         at weblogic.servlet.internal.WebComponentContributor.contribute(WebComponentContributor.java:183)
         at com.bea.core.repackaged.springframework.jee.server.Bootstrap.deploy(Bootstrap.java:217)
         at com.bea.core.repackaged.springframework.jee.spi.WLSBootstrap.deploy(WLSBootstrap.java:116)
         at com.bea.core.repackaged.springframework.jee.server.Bootstrap.deploy(Bootstrap.java:174)
         at com.bea.core.repackaged.springframework.jee.server.Bootstrap.deploy(Bootstrap.java:153)
         at com.bea.core.repackaged.springframework.jee.server.Bootstrap.deploy(Bootstrap.java:137)
         at com.bea.core.repackaged.springframework.jee.spi.WebComponentContributorBrokerImpl.initialize(WebComponentContributorBrokerImpl.java:45)
         at weblogic.servlet.internal.WebComponentContributor.initialize(WebComponentContributor.java:98)
         at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1386)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:449)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:493)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:972)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:382)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    this is a known issue.
    Fixed in 61 SP3
    Kumar
    Mike Wiles wrote:
    I am getting the following error when I try to run the command:
    java weblogic.Admin -url t3://127.0.0.1:7001 -username system -password <system-password>
    SERVERLOG
    The error is:
    Unable to get log file: null
    I know the connect string is correct as I am able to shutdown the server using
    the same string with SHUTDOWN and I can view the server log via the console just
    fine. The log file is also configured and defined via the console as well. Anything
    obvious that I am missing?

  • FrontEndHost Error with Weblogic Integration Domain

    We have created a WLI Domain with an Admin server and two managed servers in a cluster. We have deployed lot of applications on this. We had a release of these applications which was workin on Production mode. The release name was R500. After that when we did R600, it did not work on Prodcution but worked on Development mode with the following error.
    java.lang.RuntimeException: frontEndHost is not configured for the cluster and hostname is not set in wlw-config or wlw-runtime-config
            at com.bea.wlw.runtime.core.util.Util.getCallbackHttpUrl(Util.java:845)
            at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.getCallbackURL(ServiceHandleImpl.java:379)
            at com.bea.wlw.runtime.jws.dispatcher.JwsDispClass.<init>(JwsDispClass.java:170)
            at com.bea.wli.bpm.runtime.JpdDispClass.<init>(JpdDispClass.java:41)
            at com.bea.wli.bpm.runtime.JpdDispFile.createPrimaryDispClass(JpdDispFile.java:367)
            at com.bea.wlw.runtime.core.dispatcher.DispFile.<init>(DispFile.java:154)
            at com.bea.wlw.runtime.jws.dispatcher.JwsDispFile.<init>(JwsDispFile.java:44)
            at com.bea.wli.bpm.runtime.JpdDispFile.<init>(JpdDispFile.java:103)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
            at com.bea.wlw.runtime.core.dispatcher.DispUnit.loadDispFile(DispUnit.java:219)
            at com.bea.wlw.runtime.core.dispatcher.DispUnit.<init>(DispUnit.java:153)
            at com.bea.wlw.runtime.core.dispatcher.DispCache.ensureDispUnit(DispCache.java:578)
            at com.bea.wlw.runtime.core.dispatcher.DispCache.ensureDispUnitForURI(DispCache.java:967)
            at com.bea.wlw.runtime.core.dispatcher.DispCache.ensureDispUnitForURI(DispCache.java:889)
            at com.bea.wli.broker.JWSSubscriber.getDispClass(JWSSubscriber.java:229)
            at com.bea.wli.broker.JWSSubscriber.getRequest(JWSSubscriber.java:188)
            at com.bea.wli.broker.JWSSubscriber.doDispatch(JWSSubscriber.java:356)
            at com.bea.wli.broker.JWSSubscriber.doDispatch(JWSSubscriber.java:346)
            at com.bea.wli.broker.SubscriptionDispatcher.doDispatch(SubscriptionDispatcher.java:87)
            at com.bea.wli.broker.MessageBroker$PrivilegedSubscriptionDispatcher.run(MessageBroker.java:167)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
            at com.bea.wli.security.authentication.AuthenticationService.runAs(AuthenticationService.java:109)
            at com.bea.wli.broker.MsgBrokerSecurityHelper.doDispatch(MsgBrokerSecurityHelper.java:232)
            at com.bea.wli.broker.MessageBroker$PrivilegedSubscriptionDispatcher.doDispatch(MessageBroker.java:153)
            at com.bea.wli.broker.MessageBroker.publishMessage(MessageBroker.java:966)
            at com.bea.wli.mbconnector.jms.JmsConnMDB.publishMBMessage(JmsConnMDB.java:334)
            at com.bea.wli.mbconnector.jms.JmsConnMDB.onMessage(JmsConnMDB.java:466)
            at weblogic.ejb20.internal.MDListener.execute(MDListener.java:370)
            at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:262)
            at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2678)After this when we did R700 release, both the managed servers are continuously failing and the above error has been logged very frequently on both managed1 and managed 2 logs.
    Can anyone help me resolve this error or anyone who has faced this problem earlier, please reply.
    As per this error, we do not have wlw-runtime-config.xml file anywhere so we are unable to determine whether the problem is with host name of the proxy server in wlw-runtime-config.xml file.
    Brijesh Shah

    Your server is started in RUNNING mode :
    <Dec 27, 2012 3:21:01 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[8
    ]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Dec 27, 2012 3:21:01 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[9
    ]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp,
    http.>
    <Dec 27, 2012 3:21:01 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[3
    ]" is now listening on fe80:0:0:0:0:5efe:a22:516c:7001 for protocols iiop, t3, l
    dap, snmp, http.>
    <Dec 27, 2012 3:21:01 PM EST> <Notice> <WebLogicServer> <BEA-000331> <Started We
    bLogic Admin Server "AdminServer" for domain "base_domain" running in Developmen
    t Mode>
    <Dec 27, 2012 3:21:11 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
    te changed to RUNNING>
    <Dec 27, 2012 3:21:11 PM EST> <Notice> <WebLogicServer> <BEA-000360> <Server sta
    rted in RUNNING mode>
    Why are you saying that you are unable to start it? Make sure you are hitting http://<IP>:7001/console to view the Admin console.

  • OpenCMIS 0.6 and 0.8 error with Weblogic 12c

    When try to access OpenCMIS repository in webservices mode, got the following error :
    INFO: Connecting to CMIS using webservices, impersonating admin, URL http://host:port/alfresco/cmis
    Oct 18, 2012 12:43:27 PM jsp_servlet._lal._content.__browsecmis getBinding
    INFO: Binding: org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl@1d3a3bc
    javax.xml.bind.JAXBException:
    Descriptor Exceptions:
    +Exception [EclipseLink-110] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException+
    +Exception Description: Descriptor is missing for class [org.apache.chemistry.opencmis.commons.impl.jaxb.EnumIncludeRelationships].+
    +Mapping: org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[includeRelationships]+
    +Descriptor: XMLDescriptor(org.apache.chemistry.opencmis.commons.impl.jaxb.GetDescendants --> [DatabaseTable(getDescendants)])+
    Runtime Exceptions:
    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:535)
    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:476)
    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:435)
    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.postConnectDatasource(DatabaseSessionImpl.java:676)
    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:634)
    at org.eclipse.persistence.oxm.XMLContext$XMLContextState.<init>(XMLContext.java:830)
    at org.eclipse.persistence.oxm.XMLContext$XMLContextState.<init>(XMLContext.java:770)
    at org.eclipse.persistence.oxm.XMLContext.<init>(XMLContext.java:177)
    at org.eclipse.persistence.jaxb.JAXBContext$TypeMappingInfoInput.createContextState(JAXBContext.java:860)
    at org.eclipse.persistence.jaxb.JAXBContext$TypeMappingInfoInput.createContextState(JAXBContext.java:830)
    +... 76 more+
    Added new Eclipselink MOXY and started getting the below error. This error seems to be resulting from module class loader not finding web classloader reference. The class is there in one of the openCMIS jar placed inside web-inf lib.
    Oct 23, 2012 2:26:35 PM jsp_servlet._lal._content.__browsecmis getBinding
    SEVERE: SPI cannot be initialized: null
    org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: SPI cannot be initialized: null
    at org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingsHelper.getSPI(CmisBindingsHelper.java:81)
    at org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl.clearAllCaches(CmisBindingImpl.java:218)
    at org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl.<init>(CmisBindingImpl.java:129)
    at org.apache.chemistry.opencmis.client.bindings.CmisBindingFactory.createCmisWebServicesBinding(CmisBindingFactory.java:174)
    at org.apache.chemistry.opencmis.client.bindings.CmisBindingFactory.createCmisWebServicesBinding(CmisBindingFactory.java:139)
    at jsp_servlet._lal._content.__browsecmis.getBinding(__browsecmis.java:934)
    at jsp_servlet._lal._content.__browsecmis.getBinding(__browsecmis.java:957)
    at jsp_servlet._lal._content.__browsecmis._jspService(__browsecmis.java:1361)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:132)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:338)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:453)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:364)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
    at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
    at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
    at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
    at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
    at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
    at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
    at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3288)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3254)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2163)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2089)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2074)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1513)
    at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingsHelper.getSPI(CmisBindingsHelper.java:77)
    +... 53 more+
    Caused by: java.lang.NoClassDefFoundError: org/apache/chemistry/opencmis/client/bindings/spi/webservices/PortProvider
    at org.apache.chemistry.opencmis.client.bindings.spi.webservices.CmisWebServicesSpi.<init>(CmisWebServicesSpi.java:65)
    +... 58 more+
    Caused by: java.lang.ClassNotFoundException: org.apache.chemistry.opencmis.client.bindings.spi.webservices.PortProvider
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
    ... 59 more
    Any help would be appreciated. I have tried several approaches of class loading like <prefer-web-inf-classes> to true and referred CAT tool to add <prefer-application-packages> and etc. All results in some or other error.
    Edited by: 967806 on Oct 30, 2012 2:20 AM

    I could get rid of above error if I hard code the below line in CmisWebServicesSpi class.
    AbstractPortProvider portProvider = new WebSpherePortProvider();
    However, the next set of error I get is RuntimeException resulting from EclipseLink MOXy.
    javax.xml.bind.JAXBException:
    Descriptor Exceptions:
    Runtime Exceptions:
    - with linked exception:
    [Exception [EclipseLink-0] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.IntegrityException
    Descriptor Exceptions:
    I have upgraded org.eclipse.persistence_2.0.0.0_2-3.jar in modules directory to org.eclipse.persistence_2.5. Then I get class not found error for classes in CMIS jars which are right inside the WEB-INF/lib folder of war.

Maybe you are looking for

  • How to give checks with print incase of gl transansactions

    hi community, we have given checks to single vendor through f-58 and multiple vendors thourgh f110(with print form)....like this if u want to give check with print form incase of gl transactions for example:rent paid ,salaries paid..can any body plz

  • Importing RAW pictures

    When I shoot RAW with my Canon Digital Rebel XT, I often change the settings inside the camera to B&W, tint etc.. When I import these images into Aperture, the B&W or tint is gone and I'm left with the "raw" image (obviously) But how to I get the ima

  • Help in Jsp- Urgent

    Hi From a servlet i am forwarding the request to a Jsp page. From that Jsp i want to call another Servlet.Can similar forwarding of Request be done as in case of servlets where we use the Requestdispatcher class.I dont want to perform the action in a

  • Quantity contracts/ Scheduling Agreements

    Hello All, I am working on a special business scenario. To do this I need to invoice the "quantity contract" or "scheduling agreement". I know itu2019s not possible in standard but is there anyway where I can invoice the quantity contract or scheduli

  • Dreamweaver 2014 (Windows) SFTP issue

    I am experiencing a frustrating problem with Dreamweaver 2014 build 6733.  I have several SFTP websites that work fine.  But I have two or three that won't connect claiming that I am giving invalid username or password.  The thing is that the credent