Wscompile error : exclusive attributes: "type", "substitutionGroup"

Hi All,
I'm trying to use wscompile with a WSDL file and a set of XSDs. It keeps failing with the following error
error: modeler error: model error: exclusive attributes: "type", "substitutionGroup"
all the XSDs are standard files available in "http://www.starstandards.org/STAR"
wscompile version is "JAX-RPC Standard Implementation (1.1.3, build R1)" and I am able to deploy services/access them using our own XSDs and the same approach.
Appreciate if anyone could help me figure out a solution for this.
Thanks,
Nilantha

I'm getting the exact same problem when I compile my wsdl - hopefully someone will come up with a solution or at least a lead!!
Russ

Similar Messages

  • HTML Error-Required attribute "type" not specified.

    I am running into an issue with this error and I have tried to fix it multiple times, however I cannot seem to get it. The code for my page is below, and I would really appreciate any help that I can get. Thanks and GOD BLESS y'all...  The error is popping up almost at the bottom and I have highlighted the issues in orange. Thanks again...
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Home Page</title>
    <!-- TemplateEndEditable -->
    <style type="text/css">
    .BeatsWarehouse {
              font: normal 58pt Vivaldi;
              color: #000;
              text-decoration: none;
              letter-spacing: normal;
              text-indent: 20%;
              word-spacing: normal;
              font-size: 100pt;
              font-weight: bold;
              text-align: left;
    .BuildYourDreams {
              font: normal 58pt Vivaldi;
              color: #000;
              text-decoration: none;
              letter-spacing: normal;
              text-indent: 50%;
              word-spacing: normal;
              font-size: 68pt;
    pre {
              visibility: hidden;
              font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
              font-weight: bold;
              font-size: 18px;
              color: #CCC;
    .WinnersName {
              color: #00FF00;
              font: 900 normal 18pt Georgia, "Times New Roman", Times, serif;
              text-decoration: none;
              text-indent: 30%;
    .TopWinners {
              font: bold normal 24pt Georgia, "Times New Roman", Times, serif;
              color: #0F0;
              background: fixed;
              text-decoration: none;
              text-indent: 30%;
    #HomeMenu {
              position: absolute;
              left: 16px;
              top: 323px;
              width: 314px;
              height: 424px;
              border: 1px none #000000;
              z-index: 1;
              font: normal 24pt Georgia, "Times New Roman", Times, serif;
              color: #0F0;
              text-decoration: none;
              font-family: Georgia, "Times New Roman", Times, serif;
    body {
              text-align: center;
              background: url(../images/images/Org-home-page.png) no-repeat scroll;
              height: 950px;
              width: 1800px;
              background-image: url(Images/Index.png);
              background-color: #000;
    a {
              font-family: "Comic Sans MS", cursive;
              font-size: 41px;
              color: #06F;
              font-weight: bold;
              font-style: italic;
    a:link {
              text-decoration: none;
              color: #0F0;
    a:visited {
              text-decoration: none;
              color: #FF0;
    a:hover {
              text-decoration: underline;
              color: #F60;
    a:active {
              text-decoration: none;
    .TopWinners1 {
              font: bold normal 24pt Georgia, "Times New Roman", Times, serif;
              color: #0F0;
              background: fixed;
              text-decoration: none;
              text-indent: 30%;
    #apDiv1 {
              position: absolute;
              left: 761px;
              top: 1120px;
              width: 290px;
              border: 1px none #000000;
              border: 1px groove #000000;
              z-index: 2;
              color: #FFF;
              text-align: center;
    </style>
    <script type="text/javascript"  />
    </head>
    <body background="Images/Index.png" id="pass">
    <pre id="Counter"><ins><img src="http://counter.rapidcounter.com/counter/1340690471/small" alt="Free Website Counters" id="Conter" border="0" align="middle" hspace="4" vspace="2" /></ins>
    </pre>
    <script src= "http://counter.rapidcounter.com/script/1340690471"  />
    <div id="HomeMenu">
      <pre><a href="about us.html">About Us</a></pre>
      <pre><a href="registration.html">Register Now</a></pre>
      <pre><a href="Artist.html">Artist</a></pre>
      <pre><a href="Producer.html">Producer</a></pre>
      <pre><a href="contact us.html">Contact Us </a></pre>
    </div>
    <div id="apDiv1">
    If y'all need any more information just let me know and I will see what I can do... Thanks...

    Sure no problem, here it is...
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Home Page</title>
    <!-- TemplateEndEditable -->
    <style type="text/css">
    .BeatsWarehouse {
              font: normal 58pt Vivaldi;
              color: #000;
              text-decoration: none;
              letter-spacing: normal;
              text-indent: 20%;
              word-spacing: normal;
              font-size: 100pt;
              font-weight: bold;
              text-align: left;
    .BuildYourDreams {
              font: normal 58pt Vivaldi;
              color: #000;
              text-decoration: none;
              letter-spacing: normal;
              text-indent: 50%;
              word-spacing: normal;
              font-size: 68pt;
    pre {
              visibility: hidden;
              font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
              font-weight: bold;
              font-size: 18px;
              color: #CCC;
    .WinnersName {
              color: #00FF00;
              font: 900 normal 18pt Georgia, "Times New Roman", Times, serif;
              text-decoration: none;
              text-indent: 30%;
    .TopWinners {
              font: bold normal 24pt Georgia, "Times New Roman", Times, serif;
              color: #0F0;
              background: fixed;
              text-decoration: none;
              text-indent: 30%;
    #HomeMenu {
              position: absolute;
              left: 16px;
              top: 323px;
              width: 314px;
              height: 424px;
              border: 1px none #000000;
              z-index: 1;
              font: normal 24pt Georgia, "Times New Roman", Times, serif;
              color: #0F0;
              text-decoration: none;
              font-family: Georgia, "Times New Roman", Times, serif;
    body {
              text-align: center;
              background: url(../images/images/Org-home-page.png) no-repeat scroll;
              height: 950px;
              width: 1800px;
              background-image: url(Images/Index.png);
              background-color: #000;
    a {
              font-family: "Comic Sans MS", cursive;
              font-size: 41px;
              color: #06F;
              font-weight: bold;
              font-style: italic;
    a:link {
              text-decoration: none;
              color: #0F0;
    a:visited {
              text-decoration: none;
              color: #FF0;
    a:hover {
              text-decoration: underline;
              color: #F60;
    a:active {
              text-decoration: none;
    .TopWinners1 {
              font: bold normal 24pt Georgia, "Times New Roman", Times, serif;
              color: #0F0;
              background: fixed;
              text-decoration: none;
              text-indent: 30%;
    #apDiv1 {
              position: absolute;
              left: 761px;
              top: 1120px;
              width: 290px;
              border: 1px none #000000;
              border: 1px groove #000000;
              z-index: 2;
              color: #FFF;
              text-align: center;
    </style>
    <script type="text/javascript" src="http://counter.rapidcounter.com/script/1340690471"></script>
    </head>
    <body background="images/index.png" id="pass">
    <pre id="Counter"><ins><img src="http://counter.rapidcounter.com/counter/1340690471/small" alt="Free Website Counters" id="Conter" border="0" align="middle" hspace="4" vspace="2" /></ins>
    </pre>
    <script type="text/javascript" src="http://counter.rapidcounter.com/script/1340690471"></script>
    <div id="HomeMenu">
      <pre><a href="about us.html">About Us</a></pre>
      <pre><a href="registration.html">Register Now</a></pre>
      <pre><a href="Artist.html">Artist</a></pre>
      <pre><a href="Producer.html">Producer</a></pre>
      <pre><a href="contact us.html">Contact Us </a></pre>
    </div>
    <div id="apDiv1">
      <pre>&copy;BeatsWarehouse.net 2012</pre>
    </div>
    <p>
      <label for="UserName">                                                                                                                                                                                                User Name</label>
      <input type="text" name="User Name" id="UserName" />
       <span id="sprypassword1">
      <label for="Password">Password </label>
      <input type="password" name="Password" id="Password" />
    </span></p>
    <p>                                                                                                                                                                                                    
      <input type="reset" name="Forgot Password" id="ForgotPassword" value="Forgot ?" />
      <input type="submit" name="Submit" id="Submit" value="Login" />
    </p>
    <p>  </p>
    <h1 class="BeatsWarehouse">BeatsWareHouse<br />
                <span class="BuildYourDreams">Build Your Dreams</span></h1>
    <h2 class="TopWinners1"> </h2>
    <h2 class="TopWinners1">Top 5 Contest Winners I am  proud to introduce our </h2>
    <h2 class="TopWinners1">top 5 winners for our 1st contest. The</h2>
    <h2 class="TopWinners1"> &quot;Submit Your Song&quot; Contest.</h2>
    <p class="WinnersName">1. Lewis Kent 
        2. Tygie Stone   3. Briant Mendez </p>
    <p class="WinnersName"> 4. Aaron LongRifle
         5. Spazmatic Therapeutic</p>
    </body>
    </html>
    Just FYI my wife and I are the ones creating this site, and a quick run down is My sister has the dream for this, my mom has the finances to get it going, and I have my associates in web design. Now although I have my degree in it, I went to school completely online, so naturally I didn't learn as much as I hoped to. So not to talk y'alls heads off but I'm pretty much learning as I go. So I am very eager to get all the info I can to get this done. But anyways there you go, that is the entire page of code... Let me know if y'all need anything else...

  • Saving result from sp_executesql into a variable and using dynamic column name - getting error "Error converting data type varchar to numeric"

    Im getting an error when running a procedure that includes this code.
    I need to select from a dynamic column name and save the result in a variable, but seem to be having trouble with the values being fed to sp_executesql
    DECLARE @retval AS DECIMAL(12,2)
    DECLARE @MonthVal VARCHAR(20), @SpreadKeyVal INT
    DECLARE @sqlcmd AS NVARCHAR(150)
    DECLARE @paramdef NVARCHAR(150)
    SET @MonthVal = 'Month' + CAST(@MonthNumber AS VARCHAR(2) );
    SET @SpreadKeyVal = @SpreadKey; --CAST(@SpreadKey AS VARCHAR(10) );
    SET @sqlcmd = N' SELECT @retvalout = @MonthVal FROM dbo.CourseSpread WHERE CourseSpreadId = @SpreadKeyVal';
    SET @paramdef = N'@MonthVal VARCHAR(20), @SpreadKeyVal INT, @retvalout DECIMAL(12,2) OUTPUT'
    --default
    SET @retval = 0.0;
    EXECUTE sys.sp_executesql @sqlcmd,@paramdef, @MonthVal = 'Month4',@SpreadKeyVal = 1, @retvalout = @retval OUTPUT;
    SELECT @retval
    DECLARE @return_value DECIMAL(12,2)
    EXEC @return_value = [dbo].[GetSpreadValueByMonthNumber]
    @SpreadKey = 1,
    @MonthNumber = 4
    SELECT 'Return Value' = @return_value
    Msg 8114, Level 16, State 5, Line 1
    Error converting data type varchar to numeric.

    Please follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You should follow ISO-8601 rules for displaying temporal data. We need
    to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you need to read and download the PDF for: 
    https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
    >> I need to select from a dynamic column name and save the result in a variable, but seem to be having trouble with the values being fed to sp_executesql <<
    This is so very, very wrong! A column is an attribute of an entity. The idea that you are so screwed up that you have no idea if you want
    the shoe size, the phone number or something else at run time of this entity. 
    In Software Engineering we have a principle called cohesion that says a model should do one and only one task, have one and only one entry point, and one and only one exit point. 
    Hey, on a scale from 1 to 10, what color is your favorite letter of the alphabet? Yes, your mindset is that level of sillyity and absurdity. 
    Do you know that SQL is a declarative language? This family of languages does not use local variables! 
    Now think about “month_val” and what it means. A month is a temporal unit of measurement, so this is as silly as saying “liter_val” in your code. Why did you use “sp_” on a procedure? It has special meaning in T-SQL.  
    Think about how silly this is: 
     SET @month_val = 'Month' + CAST(@month_nbr AS VARCHAR(2));
    We do not do display formatting in a query. This is a violation of at the tiered architecture principle. We have a presentation layer. But more than that, the INTERVAL temporal data type is a {year-month} and never just a month. This is fundamental. 
    We need to see the DDL so we can re-write this mess. Want to fix it or not?
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Value 'defaultNs:AddBP2Type' is not allowed for attribute 'type'

    Hi All,
    I created the wsdl for mobile and I tried to send a SOAP request from Altova XMLSpy. However when I geive the wsdl in 'wsdl file location' I receive the following.
    File http://127.0.0.1:8080/B1iXcellerator/exec/dummy/com.sap.b1i.vplatform.scenarios.setup/vPac.sap.B1Mobile/001sap0003_sap.B1Mobile.wsdl is not valid.
    Invalid XML schema: 'Value 'defaultNs:AddBP2Type' is not allowed for attribute 'type'.'
      Error location: wsdl:definitions / wsdl:types / xs:schema / xs:element / @type
    Any Idea?
    Vangelis

    Hi,
      it seems that Altove did not cope with defaultNs prefix that is used for marking default namespace.
       just look up in your <xs:schema > tag what namespace prefix is used for your namespace - you shall find there something like this
    <xs:schema xmlns:ns0="your.namespace.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
    and replace prefix defaultNs with prefix of your namespace (in example above it would be ns0)
    There might be several usages of defalutNs iside of WSDL (at least in my case were two) so replace it everywhere using same approach
    Best regards, Artem

  • Error as Attribute check for Asst, Govt & Parl Bus & PA to Dpty Chair fail

    Hi,
    I have created a new user and the user can not use the "SHOP" transaction in SRM portal. He is getting the error "Attribute for user XXXX contains errors. Inform system admin".
    I have checked the org. stracture through PPOSA_BBP and find the error as "Attribute check for YYYY failed".
    Could any body please suggest me what I need to do now?
    where,
    XXXX----name of the user
    YYYY----Position of the user
    Thanks,
    Pijush

    hI
    users_gen
    execute
    now select
    copy user and employee data from template
    and
    now
    select radio button
    create users from existion su01 users (since you have already created SU01 user in gui)
    then execute
    org id 5XXXXXXX - where do you want to assign the user ( this is org id from ppoma_bbp)
    and selcect country of that org .(country must be mentioned in org 5XXX in the address tab)
    and continur
    and area of users
    type your user id and execute
    muthu

  • JWSDP1.5: wscompile error: "(should not happen): tie.generator.002

    Hi all,
    I'm working with a doc/lit webservice; I have a WSDL and I'm attempting to generate Java artefacts with wscompile. I'm using JWSDP1.5. I've had a range of errors (I'm updating an old WSDL for the Tentative Hold Protocol, see http://www.w3.org/TR/tenthold-2/). The latest, though, is problematic. The final error message is:
    error: generator error: internal error (should not happen): tie.generator.002I have included the full output from wscompile at the end of this posting; I'll post the full WSDL in a reply. Any advice would be much appreciated!
    Cheers,
    --Tim West
    Full output (from wscompile Ant task) - added linebreaks for readability
    Buildfile: C:\common\eclipse-projects\thp\build.xml
    wscompile-init:
    ANEW-generate-server-binding:
    [wscompile] command line: wscompile -d C:\common\eclipse-projects\thp\zant-build \
    -features:documentliteral,wsi -g -gen:server -keep -verbose \
    C:\common\eclipse-projects\thp\server-wscompile-config.xml -classpath (path omitted for readability)
    [wscompile] [CustomClassGenerator: generating JavaClass for: userDefinedBody]
    [wscompile] [CustomClassGenerator: generating JavaClass for: holdRequestHdr]
    [wscompile] [CustomClassGenerator: generating JavaClass for: holdHeader]
    [wscompile] [CustomClassGenerator: generating JavaClass for: holdRequestAckHdr]
    [wscompile] [CustomClassGenerator: generating JavaClass for: holdModifyRequestHdr]
    [wscompile] [CustomClassGenerator: generating JavaClass for: holdModifyResponseChoiceHdr]
    [wscompile] [CustomClassGenerator: generating JavaClass for: holdModifyGrantHdr]
    [wscompile] [CustomClassGenerator: generating JavaClass for: holdGrantHdr]
    [wscompile] [CustomClassGenerator: generating JavaClass for: holdModifyDenialHdr]
    [wscompile] [CustomClassGenerator: generating JavaClass for: holdDenialHdr]
    [wscompile] [CustomClassGenerator: generating JavaClass for: holdCancellationRequestHdr]
    [wscompile] [CustomClassGenerator: generating JavaClass for: holdCancellationResponseHdr]
    [wscompile] [CustomClassGenerator: generating JavaClass for: holdStatusQueryHdr]
    [wscompile] [CustomClassGenerator: generating JavaClass for: holdStatusResponseBody]
    [wscompile] [CustomClassGenerator: generating JavaClass for: statusStructure]
    [wscompile] [CustomClassGenerator: generating JavaClass for: holdStatusResponseHdr]
    [wscompile] [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: userDefinedBody]
    [wscompile] [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: holdHeader]
    [wscompile] [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: holdRequestHdr]
    [wscompile] [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: holdRequestAckHdr]
    [wscompile] [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: holdModifyRequestHdr]
    [wscompile] [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: holdGrantHdr]
    [wscompile] [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: holdModifyGrantHdr]
    [wscompile] [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: holdDenialHdr]
    [wscompile] [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: holdModifyDenialHdr]
    [wscompile] [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: holdModifyResponseChoiceHdr]
    [wscompile] [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: holdCancellationRequestHdr]
    [wscompile] [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: holdCancellationResponseHdr]
    [wscompile] [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: holdStatusQueryHdr]
    [wscompile] [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: statusStructure]
    [wscompile] [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: holdStatusResponseBody]
    [wscompile] [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: holdStatusResponseHdr]
    [wscompile] error: generator error: internal error (should not happen): tie.generator.002
    BUILD FAILED: C:\common\eclipse-projects\thp\build.xml:342: wscompile failed
    Total time: 2 seconds

    Hi again,
    The offending WSDL is below. I should add that I Googled this and couldn't find anything useful. Axis is happy with the WSDL, as is the validator at http://www.soapclient.com/SoapTools.html (though I'm not sure of its quality). I'm now downloading IBM Websphere 6 to see how that goes.
    Thanks again,
    -Tim West
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
        name="TentativeHold"
        targetNamespace="http://www.w3.org/2001/08/thp/definitions"
        xmlns:tns="http://www.w3.org/2001/08/thp/definitions"
        xmlns:holdSchema="http://www.w3.org/2001/08/thp/schemas"
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
        xmlns="http://schemas.xmlsoap.org/wsdl/">
      <types>
        <schema xmlns="http://www.w3.org/2001/XMLSchema"
            xmlns:holdSchema="http://www.w3.org/2001/08/thp/schemas"
            targetNamespace="http://www.w3.org/2001/08/thp/schemas">
          <!-- =================================================================== -->
          <!-- Item - holdHeader -->
          <!-- Note - This information is required in all the Tentative Hold Protocol
                      communications. -->
          <!-- Fields- holdID - UUID. -->
          <!--             customerID - account number or other identifier -->
          <!--             replyTo - could be a unique locator such as a URI or an
                              email address depending on the communication protocol
                              to be used. -->
          <!-- comment - space for trading partner defined info. -->
          <!-- =================================================================== -->
          <complexType name="holdHeader">
            <sequence>
              <element name="holdID" type="int"/>
              <element name="customerID" type="string"/>
              <element name="replyTo" type="string"/>
              <element name="comment" type="string"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - userDefinedBody -->
          <!-- Note - This will carry any domain-specific information  (e.g., product
                ID and quantity). An implementation shall probably have many
                different userDefinedBody's (one for holdRequest, holdRequestAck,
                ...). This body is used in all messages. -->
          <!-- Fields - Trading partner to trading partner specific or an agreed
             - standard (e.g., RosettaNet PIP). -->
          <!-- =================================================================== -->
            <!-- TIM: Just junk here for now, must fix later -->
          <complexType name="userDefinedBody">
            <sequence>
              <element name="someRequestField" type="string"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - holdRequestHdr -->
          <!-- Note - Specifies the Tentative Hold Protocol header for messages
             - requesting a tentative hold. -->
          <!-- Fields - Same as holdHeader -->
          <!-- =================================================================== -->
          <complexType name="holdRequestHdr">
            <sequence>
              <element name="baseHeader" type="holdSchema:holdHeader"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - holdRequestAckHdr -->
          <!-- Note - -->
          <!-- Fields - holdHeader + timeUntilResponse - a indication of the time it
             - will take the resource provider to process the request. -->
          <!-- =================================================================== -->
          <complexType name="holdRequestAckHdr">
            <sequence>
              <element name="baseHeader" type="holdSchema:holdHeader"/>
              <element name="timeUntilResponse" type="duration"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - holdGrantHdr -->
          <!-- Note - -->
          <!-- Fields - holdHeader + holdDuration - the agreed to length of the hold
             - on the resource requested. -->
          <!-- =================================================================== -->
          <complexType name="holdGrantHdr">
            <sequence>
              <element name="baseHeader" type="holdSchema:holdHeader"/>
              <element name="holdDuration" type="duration"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - holdDenialHdr -->
          <!-- Note - -->
          <!-- Fields - holdHeader + reason - a description of the reason for the
             - denial. The implementation may choose to use reason codes or just
             - textual descriptions. -->
          <!-- =================================================================== -->
          <complexType name="holdDenialHdr">
            <sequence>
              <element name="baseHeader" type="holdSchema:holdHeader"/>
              <element name="reason" type="string"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - holdModifyRequestHdr -->
          <!-- Note - -->
          <!-- Fields - holdHeader -->
          <!-- =================================================================== -->
          <complexType name="holdModifyRequestHdr">
            <sequence>
              <element name="modifiedHoldRequest" type="holdSchema:holdHeader"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - holdModifyGrantHdr -->
          <!-- Note - -->
          <!-- Fields - holdHeader + holdDuration - the agreed to length of the hold
             - on the resource requested. -->
          <!-- =================================================================== -->
          <complexType name="holdModifyGrantHdr">
            <sequence>
              <element name="modifiedHoldRequest" type="holdSchema:holdGrantHdr"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - holdModifyDenialHdr -->
          <!-- Note - -->
          <!-- Fields - holdHeader + reason - a description of the reason for the denial.
             - The implementation may choose to use reason codes or just textual
             - descriptions.-->
          <!-- =================================================================== -->
          <complexType name="holdModifyDenialHdr">
            <sequence>
              <element name="modifiedHoldRequest" type="holdSchema:holdDenialHdr"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - holdModifyResponseChoiceHdr -->
          <!-- Note - The use of a single type for this response was to facilitate a
             - synchronous request/response for the modify request without preventing
             - asynchronous.-->
          <!-- Fields - Either holdModifyGrantHdr or holdModifyDenialHdr -->
          <!-- =================================================================== -->
          <!-- TIM: JWSDP does not support xsd:choice, so I'm turning this into a sequence.
             -      The implementor is now responsible for ensuring exactly one of these
                    is present.
            -->
          <complexType name="holdModifyResponseChoiceHdr">
            <sequence>
              <element name="grant" type="holdSchema:holdModifyGrantHdr"/>
              <element name="deny" type="holdSchema:holdModifyDenialHdr"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - holdCancellationRequestHdr -->
          <!-- Note - -->
          <!-- Fields - holdHeader + customerReason - a description of or a code for
             - the reason why the hold is being cancelled. -->
          <!-- =================================================================== -->
          <complexType name="holdCancellationRequestHdr">
            <sequence>
              <element name="customerHold" type="holdSchema:holdHeader"/>
              <element name="customerReason" type="string"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - holdCancellationResponseHdr -->
          <!-- Note - -->
          <!-- Fields - holdHeader -->
          <!-- =================================================================== -->
          <complexType name="holdCancellationResponseHdr">
            <sequence>
              <element name="customerHold" type="holdSchema:holdHeader"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - holdCancellationNotificationHdr -->
          <!-- Note - -->
          <!-- Fields - holdHeader + cancellationReason - a description of or a code
             -for the reason the vendor is cancelling the hold. -->
          <!-- =================================================================== -->
          <complexType name="holdCancellationNotificationHdr">
            <sequence>
              <element name="customerHold" type="holdSchema:holdHeader"/>
              <element name="cancellationReason" type="string"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - holdStatusQueryHdr -->
          <!-- Note - -->
          <!-- Fields - holdHeader -->
          <!-- =================================================================== -->
          <complexType name="holdStatusQueryHdr">
            <sequence>
              <element name="customerHold" type="holdSchema:holdHeader"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - holdStatusResponseHdr -->
          <!-- Note - -->
          <!-- Fields - holdHeader -->
          <!-- =================================================================== -->
          <complexType name="holdStatusResponseHdr">
            <sequence>
              <element name="baseHeader" type="holdSchema:holdHeader"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - statusStructure -->
          <!-- Note - -->
          <!-- Fields - holdHeader + holdState - a description of the state of the hold.
             - Possible values currently defined are: responding, in process, active,
             - and inactive. The definition is left open (not restricted) for future or
             - user refinement of the useful values. -->
          <!-- =================================================================== -->
          <complexType name="statusStructure">
            <sequence>
              <element name="itemHeader" type="holdSchema:holdHeader"/>
              <element name="holdState" type="string"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - holdStatusResponseBody -->
          <!-- Note - -->
          <!-- Fields - holdItemsCount - the number of holds matching the holdStatusQuery. -->
          <!--             itemList - The header and state of the holds that match the query. -->
          <!-- =================================================================== -->
          <complexType name="holdStatusResponseBody">
            <sequence>
              <element name="holdItemsCount" type="int"/>
              <element name="itemList" type="holdSchema:statusStructure" minOccurs="0" maxOccurs="unbounded"/>
            </sequence>
          </complexType>
          <!-- =================================================================== -->
          <!-- Item - holdErrorHdr -->
          <!-- Note - -->
          <!-- Fields - holdHeader -->
          <!-- =================================================================== -->
          <!-- TIM: Combined old "holdErrorHdr" and "holdErrorBody" as a fault must
             - have only a single part (see WSDL sec 3.6).
            -->
          <complexType name="holdError">
            <sequence>
              <element name="baseHeader" type="holdSchema:holdHeader"/>
              <element name="holdErrorType" type="int"/>
              <element name="holdErrorDesc" type="string"/>
            </sequence>
          </complexType>
          <!-- TIM: To use doc/lit, we need <element> tags here to reference from WSDL -->
          <element name="userDefinedBody" type="holdSchema:userDefinedBody"/>
          <element name="holdRequestHdr" type="holdSchema:holdRequestHdr"/>
          <element name="holdRequestAckHdr" type="holdSchema:holdRequestAckHdr"/>
          <element name="holdGrantHdr" type="holdSchema:holdGrantHdr"/>
          <element name="holdDenialHdr" type="holdSchema:holdDenialHdr"/>
          <element name="holdModifyRequestHdr" type="holdSchema:holdModifyRequestHdr"/>
          <element name="holdModifyGrantHdr" type="holdSchema:holdModifyGrantHdr"/>
          <element name="holdModifyDenialHdr" type="holdSchema:holdModifyDenialHdr"/>
          <element name="holdModifyResponseChoiceHdr" type="holdSchema:holdModifyResponseChoiceHdr"/>
          <element name="holdCancellationRequestHdr" type="holdSchema:holdCancellationRequestHdr"/>
          <element name="holdCancellationResponseHdr" type="holdSchema:holdCancellationResponseHdr"/>
          <element name="holdCancellationNotificationHdr" type="holdSchema:holdCancellationNotificationHdr"/>
          <element name="holdStatusQueryHdr" type="holdSchema:holdStatusQueryHdr"/>
          <element name="holdStatusResponseHdr" type="holdSchema:holdStatusResponseHdr"/>
          <element name="holdStatusResponseBody" type="holdSchema:holdStatusResponseBody"/>
          <element name="holdError" type="holdSchema:holdError"/>
        </schema>
      </types>
      <message name="HoldRequest">
        <part name="headerHoldRequest" element="holdSchema:holdRequestHdr"/>
        <part name="bodyHoldRequest" element="holdSchema:userDefinedBody"/>
      </message>
      <message name="HoldRequestAck">
        <part name="headerHoldRequestAck" element="holdSchema:holdRequestAckHdr"/>
        <part name="bodyHoldRequestAck" element="holdSchema:userDefinedBody"/>
      </message>
      <message name="HoldGrantResponse">
        <part name="headerHoldGrantResponse" element="holdSchema:holdGrantHdr"/>
        <part name="bodyHoldGrantResponse" element="holdSchema:userDefinedBody"/>
      </message>
      <message name="HoldDenialResponse">
        <part name="headerHoldDenialResponse" element="holdSchema:holdDenialHdr"/>
        <part name="bodyHoldDenialResponse" element="holdSchema:userDefinedBody"/>
      </message>
      <message name="HoldModifyRequest">
        <part name="headerHoldModifyRequest" element="holdSchema:holdModifyRequestHdr"/>
        <part name="bodyHoldModifyRequest" element="holdSchema:userDefinedBody"/>
      </message>
      <message name="HoldModifyResponse">
        <part name="headerHoldModifyResponse" element="holdSchema:holdModifyResponseChoiceHdr"/>
        <part name="bodyHoldModifyResponse" element="holdSchema:userDefinedBody"/>
      </message>
      <message name="HoldCancellationRequest">
        <part name="headerHoldCancellationRequest" element="holdSchema:holdCancellationRequestHdr"/>
        <part name="bodyHoldCancellationRequest" element="holdSchema:userDefinedBody"/>
      </message>
      <message name="HoldCancellationResponse">
        <part name="headerHoldCancellationResponse" element="holdSchema:holdCancellationResponseHdr"/>
        <part name="bodyHoldCancellationResponse" element="holdSchema:userDefinedBody"/>
      </message>
      <message name="HoldCancellationNotification">
        <part name="header" element="holdSchema:holdCancellationNotificationHdr"/>
        <part name="body" element="holdSchema:userDefinedBody"/>
      </message>
      <message name="HoldStatusQueryRequest">
        <part name="headerHoldStatusQueryRequest" element="holdSchema:holdStatusQueryHdr"/>
        <part name="bodyHoldStatusQueryRequest" element="holdSchema:userDefinedBody"/>
      </message>
      <message name="HoldStatusResponse">
        <part name="headerHoldStatusResponse" element="holdSchema:holdStatusResponseHdr"/>
        <part name="bodyHoldStatusResponse" element="holdSchema:holdStatusResponseBody"/>
      </message>
      <message name="HoldErrorResponse">
        <!-- TIM: altered to be consistent with updated schema - the
           - fault body must have only one part
          -->
        <part name="bodyHoldErrorResponse" element="holdSchema:holdError"/>
      </message>
      <portType name="TentativeHoldServicePortType">
        <operation name="InitiateHold">
          <input message="tns:HoldRequest"/>
          <output message="tns:HoldRequestAck"/>
          <!--
          <fault name="HoldErrorResponse" message="tns:HoldErrorResponse"/>
          -->
        </operation>
        <operation name="InitiateHoldModify">
          <input message="tns:HoldModifyRequest"/>
          <output message="tns:HoldModifyResponse"/>
          <!--
          <fault name="HoldErrorResponse" message="tns:HoldErrorResponse"/>
          -->
        </operation>
        <operation name="InitiateHoldCancellation">
          <input message="tns:HoldCancellationRequest"/>
          <output message="tns:HoldCancellationResponse"/>
          <!--
          <fault name="HoldErrorResponse" message="tns:HoldErrorResponse"/>
          -->
        </operation>
        <operation name="InitiateStatusQuery">
          <input message="tns:HoldStatusQueryRequest"/>
          <output message="tns:HoldStatusResponse"/>
          <!--
          <fault name="HoldErrorResponse" message="tns:HoldErrorResponse"/>
          -->
        </operation>
      </portType>
      <portType name="TentativeHoldNotificationServicePortType">
        <operation name="NotifyHoldGranted">
          <output message="tns:HoldGrantResponse"/>
        </operation>
        <operation name="NotifyHoldDenied">
          <output message="tns:HoldDenialResponse"/>
        </operation>
        <operation name="NotifyServerHoldCancellation">
          <output message="tns:HoldCancellationNotification"/>
        </operation>
      </portType>
      <binding name="TentativeHoldSoapBinding" type="tns:TentativeHoldServicePortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
          <operation name="InitiateHold">
            <soap:operation soapAction="http://www.w3.org/2001/08/thp/InitiateHold"/>
            <input>
              <soap:body use="literal"/>
            </input>
            <output>
              <soap:body use="literal"/>
            </output>
            <!--
            <fault name="HoldErrorResponse">
              <soap:fault name="HoldErrorResponse" use="literal"/>
            </fault>
            -->
          </operation>
          <operation name="InitiateHoldModify">
            <soap:operation soapAction="http://www.w3.org/2001/08/thp/InitiateHoldModify"/>
            <input>
              <soap:body use="literal"/>
            </input>
            <output>
              <soap:body use="literal"/>
            </output>
            <!--
            <fault name="HoldErrorResponse">
              <soap:fault name="HoldErrorResponse" use="literal"/>
            </fault>
            -->
          </operation>
          <operation name="InitiateHoldCancellation">
            <soap:operation soapAction="http://www.w3.org/2001/08/thp/InitiateHoldCancellation"/>
            <input>
              <soap:body use="literal"/>
            </input>
            <output>
              <soap:body use="literal"/>
            </output>
            <!--
            <fault name="HoldErrorResponse">
              <soap:fault name="HoldErrorResponse" use="literal"/>
            </fault>
            -->
          </operation>
          <operation name="InitiateStatusQuery">
            <soap:operation soapAction="http://www.w3.org/2001/08/thp/InitiateStatusQuery"/>
            <input>
              <soap:body use="literal"/>
            </input>
            <output>
              <soap:body use="literal"/>
            </output>
            <!--
            <fault name="HoldErrorResponse">
              <soap:fault name="HoldErrorResponse" use="literal"/>
            </fault>
            -->
          </operation>
      </binding>
      <service name="TentativeHoldService">
        <documentation> Mythical Tentative Hold Web service</documentation>
        <port name="TentativeHoldPort" binding="tns:TentativeHoldSoapBinding">
          <soap:address location="http://xyz.com/tentativeHold/"/>
        </port>
      </service>
      <service name="TentativeHoldNotificationService">
        <port name="NotificationPort" binding="tns:TentativeHoldSoapBinding">
          <soap:address location="http://xyz.com/tentativeHoldNotification"/>
        </port>
      </service>
    </definitions>

  • JSP page error: JSPtranslate: attribute | has no value.

    Hi again,
    I've written the JAVA class, the TLD and the JSP but when I try to provide the parameters to the TLD file in the JSP I get this error: JSPTranslate: attribute | has no value. /**** My TLD file is in a WEB_INF/tags/ directory. ***/
    I've included my JAVA class, JSP and TLD files below.
    package com.ibm.samples.TEMP;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class TEMP extends TagSupport
         private int mandatory = 0;
    //Set method base upon info from .tld file
         public void setMandatory(int mandatory)
             this.mandatory = mandatory;
    //Init tag called from .JSP page that used the custom tag.
        public int doStartTag() {
           try
                JspWriter out = pageContext.getOut();
                out.println("<table border=1>");
           if (mandatory == 1)
               out.println("<tr><td> <input type=\"text\"" +
                     "style=\"background-color:yellow\" size=\"25\" name=\"user\">");
              else
               out.println("<tr><td> <input type=\"text\"" +
                     "style=\"background-color:white\" size=\"25\" name=\"user\">");
           catch (Exception ex)
                  throw new Error("Failure");
    // Must return SKIP_BODY because there isn't a body for this tag.
           return SKIP_BODY;
    //End tag ends table and exits, along with error / exception catching
         public int doEndTag(){
            try  {
                                  JspWriter out = pageContext.getOut()
                                  out.println("</table>");
                          catch (Exception ex)
                                  throw new Error("Failure.");
          return EVAL_PAGE;
    --------------END OF CLASS--------------
    ----------------------JSP----------------------
    <%@ taglib [tagdir="/WEB-INF/tags/" | uri="/WEB-INF/tags/inputTAGS.tld"] prefix="I" %>
    <HTML>
      <HEAD> 
           <TITLE>Custom Tags</TITLE> 
      </HEAD>
      <BODY BGCOLOR = "WHITE">
          <H3>Custom Tags!</H3>
          <FORM METHOD="GET" ACTION="customTags.jsp">
            <P>
            Enter First Name:<br>:
            <P>
            <I:inputTags mandatory="1"/>
            <P>
            Enter Last Name:<br>:
            <P>
            <I:inputTags mandatory="1"/>
            <P>
            Enter Phone Number:<br>:
            <P>
            <I:inputTags mandatory="0"/>
            <P>
            <INPUT TYPE="SUBMIT" VALUE="Submit">
            <INPUT TYPE="RESET" VALUE="Reset">
          </FORM>
      </BODY>
    </HTML>
    --------------END OF JSP--------------
    --------------------TLD--------------------
    <?xml version = "1.0" encoding = "ISO-8859-1"?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
    "http://java.sun.com/dtd/Web-jsptaglibrary_1_2.dtd">
    <taglib xmlns = "http://java.sun.com/JSP/TagLibraryDescriptor">
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>Input tags library</short-name>
    <description>Custom tags test</description>
    <tag>
    <name>inputTags</name>
    <tag-class>com.ibm.samples.temp.TEMP</tag-class>
    <description>
    Formatted text box:
    </description>
    <attribute>
    <name>mandatory</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    </tag>
    </taglib>
    - LS6V

    I made a new web project and the TLD link is fine. But I have a new error:JspTranslate: unable to load class null I'm recieving the error in my JSP page editor.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ taglib uri = "/WEB-INF/lib/tag.tld" prefix="I" %>
    <HTML>
      <HEAD>
           <TITLE>Custom Tags</TITLE>
      </HEAD>
      <BODY BGCOLOR = "WHITE">
          <H3>Custom Tags!</H3>
          <FORM METHOD="GET" ACTION="JSPTAG.jsp">
            <P>
            Enter First Name:<br>:
            <P>
    ERROR FOUND HERE ----------->>> <I:inputTag mandatory="1"/>
            <P>
            Enter Last Name:<br>:
            <P>
            <I:inputTag  mandatory="1"/>
            <P>
            Enter Phone Number:<br>:
            <P>
            <I:inputTag mandatory="0"/>
            <P>
            <INPUT TYPE="SUBMIT" VALUE="Submit">
          </FORM>
      </BODY>
    </HTML>---------------------------JAVA CLASS-------------------------
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class TAG extends TagSupport
         private String mandatory="";
         private int iMandatory = 0;
    //Set method base upon info from .tld file
         public void setMandatory(String hold)
             mandatory = hold;
             iMandatory = Integer.parseInt(mandatory);
         public String getMandatory()
          return(mandatory);
    //Init tag called from .JSP page that used the custom tag.
        public int doStartTag() {
           try
            JspWriter out = pageContext.getOut();
            out.println("<table border=1>");
             if ( iMandatory == 1)
               out.println("<tr><td> <input type=\"text\"" +
                     "style=\"background-color:yellow\" size=\"25\" name=\"user\">");
            else
               out.println("<tr><td> <input type=\"text\"" +
                     "style=\"background-color:white\" size=\"25\" name=\"user\">");
           catch (Exception ex)
                  throw new Error("Failed in doStartTag");
    // Must return SKIP_BODY because there isn't a body for this tag.
           return SKIP_BODY;
    //End tag ends table and exits, along with error / exception catching
         public int doEndTag(){
            try {
                 JspWriter out = pageContext.getOut();
                out.println("</table>");
            } catch (Exception ex){
                  throw new Error("Failed in doEndTag");
            return EVAL_PAGE;
    }---------------------------TLD------------------------
    <?xml version ="1.0" encoding = "UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <taglib xmlns ="http://java.sun.com/JSP/TagLibraryDescriptor">
      <tlib-version>1.0</tlib-version>
      <jsp-version>1.2</jsp-version>
      <short-name>Input tags library</short-name>
      <description>Custom tags test</description>
      <tag>
        <name>inputTag</name>
        <tag-class>source.TAG</tag-class>
        <description>
            Formatted text box:
        </description>
        <attribute>
          <name>mandatory</name>
          <required>true</required>
          <rtexprvalue>true</rtexprvalue>
          <type>String</type>
        </attribute>
      </tag>
    </taglib>

  • Error getting attribute  on MBean

    After deploying EJB jar file I modified an EJB to add a CMP field. I deployed
    it again and tested it. It works fine. However, when I deployed I am getting
    a bunch of error. The stack trace is pasted here. Any ideas on resolving this.
    I am using WL 6.1 with service pack 3 on Solaris.
    Thanks, GP
    Here is the partial stack trace:-
    <Management> <tspwwi1> <esmirror> <ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'>
    <system> <> <140001> <Error getting attribute on MBean esmirrordomain:Application=Catalog,EJBComponent=Catalog,EJBDescriptor=EJBDescriptor-6,EntityDescriptor=EntityDescriptor-11,Location=esmirror,Name=Pool-13,Type=Pool,WeblogicEJBJar=WeblogicEJBJar-13,WeblogicEnterpriseBean=WeblogicEnterpriseBean-13.
    Method: null>
    javax.management.AttributeNotFoundException:

    Hi all,
    I m facing similar with problem WLS 9.2, when I try to get value of any attributes for "EJBTransactionRuntime" AttributeNotFoundException ..can any one tell me exact hierarchy for accesing "EJBTransactionRuntime"..here is how my jmx program is accesing through below hierarchy.
    ServerRuntime->ApplicationRuntimes->ComponentRuntimes->EJBComponentRuntimes->EJBRuntimes->EntityEJBRuntimes->TransactionRuntimes->EJBTransactionRuntimes
    And I m getting following....Exception
    " in thread "main" javax.management.AttributeNotFoundException: com.bea:ServerRuntime=examplesServer,Name=BeanMa
    nagedAccountEJB,ApplicationRuntime=ejb20BeanMgedEar,Type=EntityEJBRuntime,EJBComponentRuntime=ejb20BeanMgedEjb:Transacti
    onRuntimes"
    This exception i m getting exactly when my program tries to access "TransactionRuntimes" from hierarchy..
    any help g8ly appreciated...

  • TLD tags and their attribute types

    Hello,
    I created custom component, and i created TLD file, where i specified tag and its attribute (Value) as a type String, all possibles types are (String, boolean, byte, char, double, int, float, long ).
    In another projct where i am using this component i set Value = #{row.X} and then error occures, because attribute Value has type String and i set there expression.
    In Jdev 11TP4 everything works ok, but now in JDeveloper 11 it does not.
    Does anyone know how can i specify attributes type to expression, or how can i expression convert to a string?
    Thank you
    Katka

    Rather than pull more than you're going to display on the page and try to paginate from within your app why don't you limit the rows right from your query and then work the limit numbers into your page as hidden form fields or query string parameters?
    See:
    http://faq.javaranch.com/java/PaginationOrPaging

  • Error in attribute conversion operation

    Hi All,
    I am inserting value for a AD attribute in YYYYMMDDhhmmss format. the type for attribute is: 2.5.5.11(Generalized Time). But it throwing exception error in attribute conversion operation.
    Can any one give suggestion in this regards.
    Thanks & Regards,
    Iceman513.

    Provide an [url http://sscce.org]SSCCE that has just enough code to demonstrate the problem, with no irrelevant fluff. Paste in the exact, complete error message and indicate clearly which line caused it.
    Right now, you're just asking people to guess at what your code looks like and what you're doing wrong.

  • Error getting attribute on MBean: AttributeNotFoundException

    Folks,
    our application on WL 6.1 SP 2 runs smooth, no probs during
    testing.
    But when we try to modify or view the deployment descriptor
    using the console, we get the exception which the stack trace
    below. We get this with every ejb-jar file.
    please help ....
    cu
    indy
    <Feb 25, 2002 10:43:10 AM GMT+00:00> <Error> <Management> <Error getting attribute
    on MBean xxxxx.xxx:Application=****,EJBComponent=****,
    EJBDescriptor=EJBDescriptor-2,Location=CentralServer,Name=Pool-7,StatelessSessionDescriptor=StatelessSessionDescriptor-7,
    Type=Pool,WeblogicEJBJar=WeblogicEJBJar-5,WeblogicEnterpriseBean=WeblogicEnterpriseBean-7.
    Method: null
    javax.management.AttributeNotFoundException:
    at weblogic.management.internal.DynamicMBeanImpl.getXAttributeInfo(DynamicMBeanImpl.java:1630)
    at weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.java:502)
    at weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.java:477)
    at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1181)
    at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1151)
    at weblogic.management.internal.MBeanProxy.getOneAttribute(MBeanProxy.java:283)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:199)
    at $Proxy92.getAttribute(Unknown Source)
    at weblogic.management.console.utils.MBeans.getDisplayName(MBeans.java:785)
    at weblogic.management.console.utils.MBeans.getDisplayName(MBeans.java:662)
    at weblogic.management.console.tags.NavDeleteMenuTag.doStartTag(NavDeleteMenuTag.java:53)
    at weblogic.management.console.webapp._ejb._weblogic.__nav._jspService(__nav.java:1743)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:466)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:296)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:116)
    at weblogic.management.console.webapp._ejb.__nav._jspService(__nav.java:181)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:241)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
    at weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at weblogic.management.console.actions.internal.ActionServlet.doGet(ActionServlet.java:91)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    Hi all,
    I m facing similar with problem WLS 9.2, when I try to get value of any attributes for "EJBTransactionRuntime" AttributeNotFoundException ..can any one tell me exact hierarchy for accesing "EJBTransactionRuntime"..here is how my jmx program is accesing through below hierarchy.
    ServerRuntime->ApplicationRuntimes->ComponentRuntimes->EJBComponentRuntimes->EJBRuntimes->EntityEJBRuntimes->TransactionRuntimes->EJBTransactionRuntimes
    And I m getting following....Exception
    " in thread "main" javax.management.AttributeNotFoundException: com.bea:ServerRuntime=examplesServer,Name=BeanMa
    nagedAccountEJB,ApplicationRuntime=ejb20BeanMgedEar,Type=EntityEJBRuntime,EJBComponentRuntime=ejb20BeanMgedEjb:Transacti
    onRuntimes"
    This exception i m getting exactly when my program tries to access "TransactionRuntimes" from hierarchy..
    any help g8ly appreciated...

  • ODM Client Error: Error Message: Attribute has already been added

    I'm getting the following error message in the ODM client (I've substituted an elipsis for the attribute name below.)
    Error Message: Attribute ... has already been added to LogicalDataSpecification.
    Exception type: oracle.dmt.odm.InvalidArgumentException: Attribute ... has already been added to LogicalDataSpecification.
    Stack trace:
    oracle.dmt.odm.InvalidArgumentException: Attribute ... has already been added to LogicalDataSpecification.
    at oracle.dmt.odm.data.LogicalDataSpecification.addAttribute(LogicalDataSpecification.java:251)
    at oracle.dmt.dm4j.wizard.director.minings.ModelBuildBuilder.buildLogicalDataSpecification(Unknown Source)
    at oracle.dmt.dm4j.wizard.director.minings.RegressionModelBuildBuilder.createFunctionSettings(Unknown Source)
    at oracle.dmt.dm4j.wizard.director.minings.ModelBuildBuilder.getMiningTask(Unknown Source)
    at oracle.dmt.dm4j.wizard.director.minings.MiningBuilder.run(Unknown Source)
    at oracle.dmt.dm4j.browser.ProgressBar.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:534)
    Anyone have any ideas what is causing this?
    -- Joseph

    OK, I figured out what happened. I was using the multi-case format. I had two attributes with similar names, on in all caps, and one in mixed case... attribute names are not case sensitive, so the algorithms became confused.
    If anyone from Oracle is monitoring this forum, I would suggest adding a note to the documentation noting that the algorithms are not case sensitive, so you should make sure that your attribute names are all unique per observation.

  • DBSequence not available as attribute type

    Hello, I'm developing a JSF, ADF BC web app on JDev 10.1.3.3.0.4157 for use offline with Oracle Lite. The form is pretty basic: an enter/edit person/employee form with a few drop down lists. Essentially, only one table -- EMPLOYEE -- will be referenced for insertion. After I go through the initial wizard to create the entity/view objects, I open the EMPLOYEE entity and go to EMPLOYEE_ID under attributes so that I can assign it the type DBSequence since it is primary key. However, in the attribute type list, DBSequence is not an option.
    Now, on the initial setup when I ran "Business Components from Tables", you are asked for some connection info for SQL Flavor and Type Map. Per the documentation provided in the Oracle Lite developers guide, I chose OLite for SQL Flavor and Java for Type Map. Could this have to do with the unavailability of DBSequence?
    Is there some workaround for this? The last thing I have tried is setting the attribute for "Default" to the value -9999. I then created a before insert DB trigger that says if the employee_id = -9999 then select <emp id sequence>.nextval. When I run the page, though, i get the error: JBO-28203: Failed to refresh the row being updated. Values not set for Primary/Unique key or these keys are modified by databse triggers.
    Thanks in advance.
    --ryan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    This is the key difference between the master data and transaction data.
    Every record in the fact table should segment value. How do you populate that? Reading the Ptable will not give you the result. How do you link the result that you obtain from reading the P table to the source_package?
    You need to enhance the data source. or, if you can figure out a way to make sengment as an attribute of another characteristic that is contained in the transaction data source, then you ae fine, without enhancement. Perform a data analysis again and see if you can do this.
    Ravi Thothadri

  • Issue with binary attribute types through Directory Proxy Server 6.3.1

    I'm having problems with DPS 6.3.1.1 on Solaris 10 with binary attribute types. From most LDAP servers, requesting an attribute such as userCertificate would return userCertificate;binary without any issues. However, DPS seems to consider these two separate attributes. In order to see userCertificate;binary, I have to ask for it in that exact format. This obviously is causing trouble for many clients as they shouldn't care about the binary type as it's the same attribute.
    I've tried to correct this with a virtual data transformation (dpconf add-virtual-transformation 'PKI Tree' read add-attr-value userCertificate \${userCertificate\;binary}) but the end results are the same. Any ideas on how I can correct this one?
    Thanks in advance.

    Here is some complementary information:
    system (uname -a):
    SunOS xxx 5.10 Generic_142900-13 sun4u sparc SUNW,Sun-Fire-V440
    since patch 118666-26: update java 1.5.0 update 24
    we are experiencing the follwing problem:
    xxx$ ./dpadm start /opt/ldap/instances/mail/
    The Directory Proxy Server instance '/opt/ldap/instances/mail' failed to start after the waiting period.
    The Directory Proxy Server instance start has produced the following error output:
    Exception in thread "main" java.lang.NoSuchFieldError: strm
    at java.util.zip.Inflater.initIDs(Native Method)
    at java.util.zip.Inflater.<clinit>(Inflater.java:60)
    at java.util.zip.ZipFile.getInflater(ZipFile.java:375)
    at java.util.zip.ZipFile.getInputStream(ZipFile.java:320)
    at java.util.zip.ZipFile.getInputStream(ZipFile.java:286)
    at java.util.jar.JarFile.hasClassPathAttribute(JarFile.java:469)
    at java.util.jar.JavaUtilJarAccessImpl.jarFileHasClassPathAttribute(JavaUtilJarAccessImpl.java:21)
    at sun.misc.URLClassPath$JarLoader.getClassPath(URLClassPath.java:809)
    at sun.misc.URLClassPath.getLoader(URLClassPath.java:293)
    at sun.misc.URLClassPath.getResource(URLClassPath.java:160)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:300)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    The Directory Proxy Server instance '/opt/ldap/instances/mail' is not running.
    We have tried to install patch 118666-27 (not recommended, but already available) which includes jdk 1.5.0 update 25 -> same problem
    When returning to jdk 1.5.0 update 20 the directory proxy server starts as normal

  • CF9, no hotfix, VendorErrorCode 8114, cfprocresult error converting data type

    Hello, everyone.
    I've got an issue that really has me scratching my head.  Not sure where the issue lies, but I'll explain as best I can.
    Basically, I _think_ I'm being told that one of the fields in the recordset is not being converted.
    On one page, I make the following CFINVOKE:
    <cfinvoke component="components.header" method="content_single" returnvariable="resultset"
         dbdsn="#request.db_dsn#" dbusr="#request.db_username#" dbpwd="#request.db_password#">
         <cfinvokeargument name="table" value="#url.table#">
         <cfif isDefined("url.thisNav") AND len(trim(url.thisNav)) gt 0><cfinvokeargument name="pt" value="#trim(url.thisNav)#"></cfif>
         <cfif isDefined("url.id") AND val(url.id) gt 0><cfinvokeargument name="id" value="#val(url.id)#"></cfif>
         <cfif isDefined("url.section") AND len(trim(url.section)) gt 0><cfinvokeargument name="section" value="#trim(url.section)#"></cfif>
    </cfinvoke>
    Within a CFCOMPONENT in header.cfc, I have the following:
    <cffunction name="content_single" access="public">
             <cfargument name="dbdsn" required="yes">
             <cfargument name="dbusr" required="yes">
             <cfargument name="dbpwd" required="yes">
         <cfargument name="pt" required="no">
         <cfargument name="id" required="no">
         <cfargument name="section" required="no">
         <cfargument name="table" required="yes">
         <cfstoredproc procedure="SRT_sp_#lcase(url.table)#_contents_single" datasource="#dbdsn#"
                 username="#dbusr#" password="#dbpwd#"
                result="query_result">
            <cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" variable="@table" value="#lcase(table)#" maxlength="30">
    <cfif isDefined("pt") AND len(trim(pt)) gt 0><cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" variable="@pt" value="#ucase(pt)#" maxlength="12" null="no"></cfif>
    <cfif isDefined("id") AND val(id) gt 0><cfprocparam type="In" cfsqltype="CF_SQL_INTEGER" variable="@id" value="#val(id)#" maxlength="10" null="no"></cfif>
    <cfif isDefined("section") AND len(trim(section)) gt 0><cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" variable="@section" value="#trim(replace(lcase(section),'_',' ','all'))#" maxlength="20" null="no"></cfif>
                <cfprocresult name="returned_result">
            </cfstoredproc>
              <cfreturn returned_result>
    </cffunction>
    Instead of the results I expect, I get the following error:
    Error  Executing Database Query.
    [Macromedia][SQLServer JDBC  Driver][SQLServer]Error converting data type varchar to int.
    The  error occurred in E:\xxxxxxxx\xxxxxxx\xxxx\components\header.cfc: line  17
    Called from E:\xxxxxxxx\xxxxxxx\xxxx\content_view.cfm:  line 24
    Called from E:\xxxxxxxx\xxxxxxx\xxxx\components\header.cfc: line 17
    Called  from E:\xxxxxxxx\xxxxxxx\xxxx\content_view.cfm: line  24
    15 :     <cfif isDefined("id") AND val(id) gt 0><cfprocparam type="In" cfsqltype="CF_SQL_INTEGER" variable="@id" value="#val(id)#" maxlength="10" null="no"></cfif>
    16 :     <cfif isDefined("section") AND len(trim(section)) gt 0><cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" variable="@section" value="#trim(replace(lcase(section),'_',' ','all'))#" maxlength="20" null="no"></cfif>
    17 :             <cfprocresult name="returned_result">
    18 :         </cfstoredproc>
    19 :           <cfreturn returned_result>

    DBVARNAME is obsolete: don't use it.  You must pass-in the parameters positionally, not by name.  And, accordingly, you need to pass all of them in (with null values, if necessary).
    http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7d 52.html:
    {quote}
    Changed the dbvarname attribute behavior: it is now ignored for all drivers
    {quote}
    Adam

Maybe you are looking for

  • SMART FORMS

    i have copied a driver programe of outbound delivery and modified in such a way the layout will convert to pdf and then download to pc, but the driver program is not executing online, so do i need to attache the driver program name and form name in n

  • How do i edit photos from iPhoto?

    whenever i try to open a new picture from the photo folder, i get sent directly to iPhoto. what do i to open and edit a picture that is saved to iPhoto? I have a macbook pro if this helps.

  • Child Scan Lock Option / Printer that is compatible with Mac OSX 10.4.11

    Hi Everyone, I'm new here and I tried to look for the answer of my questions. 1. I'm looking for a printer that has a child scanner lock option. (DeskJet, Photosmart doesn't matter) 2. Any printer that is compatibe with my Mac OS 10.4.11 I tried to l

  • Trying to link my macbook and iMac...not sure of what to ask!

    HELP! I just got an iMac and am trying to network my macbook to it. I found a tutorial online and got to the point where i check off "File sharing" in the Sharing section of system preferences but then I got lost. I think it was because the tutorial

  • Transaction Variant and Screen Variant

    Hi I have created a transaction variant ZTX for transaction TX. The First screen of transaction ZTX IS Screen 0100 for example. The Screen variant is ZSVAR and only for the first screen of the transaction variant ZTX, which is created when creating t