Debug weblogic.properties conversion error

All,
I'm attempting to use the web console application/Convert weblogic.properties link to perform a propterties file conversion.
I'm getting a conversion error when converting our current weblogic.properties file. This properties file is working fine in WL5.1. The web console begins the conversion process ok, but it fails before completion (html err msg below).
I'm trying to determine the cause of this error, but there's very little output reported to the console, except a couple of warnings. Also, I don't see any log files.
I do get what looks like some partial conversion results in my new domain directory in fileRealm.properties. There are recognizable properties from the converted weblogic.properties file in here.
Has anyone encountered/surmounted similiar difficulty? Any debugging tips would be appreciated. TIA.
JohnH
p.s. The output/error message on the html page looks like:
New Domain name is MyDomain-1
Converting Server properties
Converting Server Debug Properties
Converting WebServer properties
Converting WebApp Component Properties
Converting JDBC Specific properties
Converting CORBA IIOP properties
Converting StartupClass properties
Converting Shutdown Class properties
Converting MailSession Properties
Converting FileT3 properties
Converting JMS properties
Converting Security Properties
Converting the PasswordPolicy properties
Converting User Group and ACL properties
Conversion failed

Ya it will be corrected in the next beta refresh.
Jim Clark <[email protected]> wrote in message
news:[email protected]..
Typo in weblogic.properties conversion console page
"Select server weblogic.properies"
and
"Select cluster weblogic.properies"
Both are missing the "t"

Similar Messages

  • Console wl properties conversion

    sorry for the cross-posting, didn't see the console list.
    All,
    I'm attempting to use the web console application/Convert weblogic.properties link to perform a propterties file conversion.
    I'm getting a conversion error when converting our current weblogic.properties file. This properties file is working fine in WL5.1. The web console begins the conversion process ok, but it fails before completion (html err msg below).
    I'm trying to determine the cause of this error, but there's very little output reported to the console, except a couple of warnings. Also, I don't see any log files.
    I do get what looks like some partial conversion results in my new domain directory in fileRealm.properties. There are recognizable properties from the converted weblogic.properties file in here.
    Has anyone encountered/surmounted similiar difficulty? Any debugging tips would be appreciated. TIA.
    JohnH
    p.s. The output/error message on the html page looks like:
    New Domain name is MyDomain-1 Converting Server properties Converting Server Debug Properties Converting WebServer properties Converting WebApp Component Properties Converting JDBC Specific properties Converting CORBA IIOP properties Converting StartupClass properties Converting Shutdown Class properties Converting MailSession Properties Converting FileT3 properties Converting JMS properties Converting Security Properties Converting the PasswordPolicy properties Converting User Group and ACL properties
    Conversion failed

    Ya it will be corrected in the next beta refresh.
    Jim Clark <[email protected]> wrote in message
    news:[email protected]..
    Typo in weblogic.properties conversion console page
    "Select server weblogic.properies"
    and
    "Select cluster weblogic.properies"
    Both are missing the "t"

  • Add OWN property to the weblogic.properties

    Hi.
    I tried to add my own property to the weblogic.properties.
    ERROR: "Found undeclared property"
    Is it at all possible?
    TIA,

    If you simply want to define a Java System property, you can do that
    like so:
    java.system.property.my.property=foo
    This has the same effect as using the -Dmy.property=foo argument to the
    JVM and is retrievable programmatically by calling
    System.getProperty("my.property")
    Hope this helps,
    Robert
    Daniel Ilkanayev wrote:
    Hi.
    I tried to add my own property to the weblogic.properties.
    ERROR: "Found undeclared property"
    Is it at all possible?
    TIA,

  • How to get rid of the weblogic.kernel.Default errors and warning?

    Hi there,
    When i'm running my application deployed on WLS8.1 SP3 and the application is running fine, but the following error and warnings were thrown.
    2004-08-05 11:26:30,453 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] ERROR com.bea.wlw.runtime.core.util.Config - Failed to obtain connection to datasource=cgDataSource, using generic DB properties
    <Aug 5, 2004 11:26:30 AM SGT> <Error> <WLW> <000000> <Failed to obtain connection to datasource=cgDataSource, using generic DB properties>
    2004-08-05 11:27:12,281 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] WARN org.apache.jcs.config.OptionConverter - Could not find value for key jcs.default.elementattributes
    2004-08-05 11:27:12,282 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] WARN org.apache.jcs.engine.control.CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.default.elementattributes', using defaults.
    2004-08-05 11:27:12,308 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] WARN org.apache.jcs.config.OptionConverter - Could not find value for key jcs.system.groupIdCache.elementattributes
    2004-08-05 11:27:12,308 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] WARN org.apache.jcs.engine.control.CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.system.groupIdCache.elementattributes', using defaults.
    2004-08-05 11:27:12,386 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] WARN org.apache.jcs.config.OptionConverter - Could not find value for key jcs.region.CodeTableCache.elementattributes
    2004-08-05 11:27:12,386 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] WARN org.apache.jcs.engine.control.CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.CodeTableCache.elementattributes', using defaults.
    2004-08-05 11:27:13,527 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] WARN com.bea.wlw.netui.script.el.NetUIReadVariableResolver - Could not create a ContextFactory for type "com.bea.netuix.servlets.script.PortalVariableResolver$PortalContextFactory" because the ContextFactory implementation class could not be found.
    May i know why this is so? How to get rid of these error and warnings?
    Thanks
    Derek
    Message was edited by derekchan at Aug 4, 2004 8:41 PM
    Message was edited by derekchan at Aug 4, 2004 8:42 PM

    you didnt seem to have configured the datasource / connection pool / database control with proper db properties
    you should check your configuration to see if you have done it right and then you should check your application and the properties settings in the controls to ensure they are right.

  • How to custom a conversion error in JSF page in JDeveloper

    According to the book "Core JavaServer Faces" p213 (fifth edition), if I add the following line to messages.properties file, and specifiy it in the faces-config.xml and .jsp file, then the displayed conversion error message should be my tailored one instead of the default. However, I still get the default error message. Besides, I didn't find "CONVERSION" variable in UIInput class. Is the book wrong? And what's the correct way?
    javax.faces.component.UIInput.CONVERSION=Please correct your input

    I didn't choose any special in JDeveloper IDE. I just selected "new" to create a file called "message.properties" and put the line there. I didn't specify converters excepts declaring the type in the Jave Beans. I guess the converting is done by the JSF framework automatically. It must be a JSF converter since I created the page as a JSF page.

  • Conversion Error in Inbound Idoc

    Hi team,
    I have a file with Chinese characters on them. Running the program RSEINB00 results to a conversion error. After debugging, I found out that the error was caused by these Chinese characters. I am already logged in 'ZF' language. Is there something that I need to check or do so that the system will accept these characters?
    Thanks so much.

    Hi amythiel,
    The above has nothing to do with the conversion exits, If you are sure it is because of chinese characters then confirm if you are running on a Unicode system or a non unicode system. If it is a non unicode system, then change the code page(8300, 8304 etc) on the file port to accommodate for Chinese characters.
    The other reason could be that the release version of the IDOC are different between source and the target system, you can check this by using tcode WE82 on both the systems.
    Regards,
    Chen

  • Conversion error in write access to a property

    Hello,
    in JSF I get a conversion error when I try to save an order.
    An order object has a from- and a to-address.
    To avoid duplicate coding I encapsulated the address data in a class Address.
    public class Order implements Serializable{
      private Address fromAddress;
      private Address toAddress;
      //Getter/Setter for addresses are implemented
    public class Address implements Serializable{
      private String city;
      private String country;
      private String remark;
      //Getter/Setter for all fields are implemented
    }Reading the address data works without problems.
    Writing (saving an order) does not work. For each property of Address a conversion error is thrown.
    The access is like
    <t:inputText value="#{orderBean.order.address.country}" .../>
    Principally it is possible to access the address properties because reading works.
    What is going wrong when writing?
    And how could I find out more details about the conversion errors occurred?
    Any hints appreciated
    Jan

    Hello,
    I'm afraid these are the fileds causing the errors.
    Here is an excerpt from the JSP.
    When I set rendered="false" for the panelGroup containing five "crucial" fields, I get five messages "conversion error" less.
    <t:panelTab label="#{messages['auftrag.reiter_von']}" rendered="true">
            <t:panelGrid columns="1">
              <%-- Line with input fields--%>
              <t:panelGroup>
                <t:panelGrid columns="5">
                  <!-- Name -->
                  <t:inputText size="20" maxlength="80"
                    value="#{orderBean.order.fromAddress.name}"
                    readonly="#{orderBean.readonly}">
                  </t:inputText>
                  <!-- Street -->
                  <t:inputText size="20" maxlength="80"
                    value="#{orderBean.order.fromAddress.street}"
                    readonly="#{orderBean.readonly}">
                  </t:inputText>
                  <!-- Zip -->
                  <t:inputText size="5" maxlength="10"
                    value="#{orderBean.order.fromAddress.zip}"
                    readonly="#{orderBean.readonly}">
                  </t:inputText>
                  <!-- Country -->
                  <t:inputText size="5" maxlength="5"
                    value="#{orderBean.order.fromAddress.country}"
                    readonly="#{orderBean.readonly}">
                  </t:inputText>
                  <!-- City -->
                  <t:inputText size="40" maxlength="80"
                    value="#{orderBean.order.fromAddress.city}"
                    readonly="#{orderBean.readonly}">
                  </t:inputText>
                </t:panelGrid>
              </t:panelGroup>Thx for assistance. If there is no solution in sight, I will refactor it the way I described. It already took me too much time...
    Jan

  • Numeric or value error: hex to raw conversion error , pls help

    I am having problem with a sproc which accepts a Raw parameter.
    I have a table called Profile:
    CREATE TABLE PROFILES
    PROFILEID INTEGER NOT NULL,
    USERID INTEGER NOT NULL,
    PROFILE RAW(255)
    and a sproc named addprofile
    CREATE OR REPLACE PROCEDURE addprofile
    profile IN RAW,
    userName IN VARCHAR2
    AS
    userId INT;
    BEGIN
    GetUserIdByName( userName, userId);
    INSERT INTO Profiles
    ( ProfileID,userId , profile )
    VALUES ( Profiles_ProfileID_SEQ.NEXTVAL,AddProfile.userId ,
    AddProfile.profile );
    END;
    I am calling the Ent Library's Insert profile method which is part of DbProfileProvider.cs (Security App block). It is trying to persist a serialized profile object into the database.
    private void InsertProfile(string userName, byte[] serializedProfile,
    Data.Database securityDb, IDbTransaction transaction)
    DBCommandWrapper cmd = securityDb.GetStoredProcCommandWrapper
    (SPAddProfile);
    cmd.AddInParameter("userName", DbType.String, userName);
    cmd.AddInParameter("profile", DbType.Binary, serializedProfile);
    securityDb.ExecuteNonQuery(cmd, transaction);
    I get the following error:
    Any suggestion on what needs to be changed to get this working? thanks!
    Exception Details: Oracle.DataAccess.Client.OracleException: ORA-06502: PL/SQL: numeric or value error: hex to raw conversion error ORA-06512: at line 1
    Stack trace:
    [OracleException: ORA-06502: PL/SQL: numeric or value error: hex to raw conversion error
    ORA-06512: at line 1]
    Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure)
    Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, String procedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src)
    Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()
    Microsoft.Practices.EnterpriseLibrary.Data.Database.DoExecuteNonQuery(DBCommandWrapper command)
    Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteNonQuery(DBCommandWrapper command, IDbTransaction transaction)
    Microsoft.Practices.EnterpriseLibrary.Security.Database.DbProfileProvider.InsertProfile(String userName, Byte[] serializedProfile, Database securityDb, IDbTransaction transaction)
    Microsoft.Practices.EnterpriseLibrary.Security.Database.DbProfileProvider.SetProfile(IIdentity identity, Object profile)
    [InvalidOperationException: Error saving the profile for the following user 'test'.]
    Microsoft.Practices.EnterpriseLibrary.Security.Database.DbProfileProvider.SetProfile(IIdentity identity, Object profile)
    EntLibSecuritySample.DFO.Security.SecurityHelper.SetUserProfile(IIdentity identity, Object Profile) in C:\DFO\Sample\Security\EntLibSecuritySample\SecurityHelper.vb:285
    [ApplicationException: An error has occurred saving profile object to Datastore. See stack trace for further information]
    EntLibSecuritySample.DFO.Security.SecurityHelper.SetUserProfile(IIdentity identity, Object Profile) in C:\DFO\Sample\Security\EntLibSecuritySample\SecurityHelper.vb:287
    EntLibSecuritySample.ProfilePage.cmdSaveProfile_Click(Object sender, EventArgs e) in C:\DFO\Sample\Security\EntLibSecuritySample\profile.aspx.vb:59
    System.Web.UI.WebControls.Button.OnClick(EventArgs e)
    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
    System.Web.UI.Page.ProcessRequestMain() +1292

    Harsh,
    I am not a user of the Enterprise Library so I can not speak to the specifics of that. However, here is a short sample that is based on the information you've provided. Perhaps it will be useful.
    Database:
    create table profiles
      profileid integer not null,
      userid    integer not null,
      profile   raw(255)
    create or replace procedure addprofile
      p_profileid in integer,
      p_userid    in integer,
      p_profile   in raw
    as
    begin
      insert into
        profiles (profileid, userid, profile)
        values (p_profileid, p_userid, p_profile);
    end;
    /C# code:
    using System;
    using System.Data;
    using System.Text;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    namespace HarshTest
      /// <summary>
      /// Summary description for Class1.
      /// </summary>
      class Class1
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
          // connect to local db using o/s authentication
          OracleConnection con = new OracleConnection("User ID=/; Pooling=False");
          con.Open();
          // create command object and set properties
          OracleCommand cmd = new OracleCommand();
          cmd.Connection = con;
          cmd.CommandText = "ADDPROFILE";
          cmd.CommandType = CommandType.StoredProcedure;
          // parameter object for profileid
          OracleParameter p_profileid = new OracleParameter();
          p_profileid.OracleDbType = OracleDbType.Int32;
          p_profileid.Value = 1;
          p_profileid.Direction = ParameterDirection.Input;
          // parameter object for userid
          OracleParameter p_userid = new OracleParameter();
          p_userid.OracleDbType = OracleDbType.Int32;
          p_userid.Value = 1;
          p_userid.Direction = ParameterDirection.Input;
          // create a byte array for the raw value
          ASCIIEncoding encoder = new ASCIIEncoding();
          byte[] byteArray = encoder.GetBytes("TestProfile");
          // parameter object for profile
          OracleParameter p_profile = new OracleParameter();
          p_profile.OracleDbType = OracleDbType.Raw;
          p_profile.Value = byteArray;
          p_profile.Direction = ParameterDirection.Input;
          // add parameters to collection
          cmd.Parameters.Add(p_profileid);
          cmd.Parameters.Add(p_userid);
          cmd.Parameters.Add(p_profile);
          // execute the stored procedure
          try
            cmd.ExecuteNonQuery();
          catch (OracleException ex)
            Console.WriteLine(ex.Message);
          // clean up objects
          p_profile.Dispose();
          p_userid.Dispose();
          p_profileid.Dispose();
          cmd.Dispose();
          con.Dispose();
    }Maybe the part about creating the byte array is what you are missing...
    - Mark

  • Unable to create shopping cart due to currency conversion error.

    Hi,
    We are currently working in a extended classic scenario. We have about 8 users connected under a common entity ( dept). Out of which for one user (user1) we are able to create the shopping cart and able to run the entire procurement cycle the entire cycle.
    When we are trying to create a SHC with any other user ( user2 to 8)  its giving the errors like
    1) Currency Conversion Error ( to GBP). Please inform help desk.
    2) Error in account assignment for item 0.
    Attributes for all the users ( user1 to user8) are same and we are not getting any error in the attribute check as well.
    Please suggest.

    Look up note 419423 + related notes to repair incorrect SRM users. What you report sounds a bit strange. A debugging session might be helpful too. Especially the 2nd error looks like something 'home-made'...

  • Conversion Error setting value ''{0}'' for ''{1}''

    Hi
    I have to populate a drop-down list on my page with the values coming from the DB.
    JSF code:
    <td align="right"><div id="wait" style="visibility:hidden;">Select an existing Application</div></td>
    <td align="left"><div id="wait1" style="visibility:hidden;" >
    <h:selectOneMenu id="exist" value="#{processApplication.selectedOwner}" styleClass="selectOneMenu">
    <f:selectItems value="#{processApplication.existingOwners}"></f:selectItems>
    </h:selectOneMenu>
    </div>
    </td>
    processApplication bean:
    public List<SelectItem> getExistingOwners() {                    
    //existingOwners = this.getOwners();
    try{
         List < SelectItem > existingOwners = new ArrayList < SelectItem > ( ) ;
         SelectItem si_0 = new SelectItem();
         SelectItem si_1 = new SelectItem();
    SelectItem si_2 = new SelectItem();
         si_0.setValue("11");
         si_0.setLabel("sri");
         si_1.setValue("21");
         si_1.setLabel("ADAMS");
         existingOwners.add(si_0);
         existingOwners.add(si_1);
         logger.info("values in the list" +existingOwners.get(1).getValue());
              }catch(Exception e){
                   logger.debug(e.getCause());
                   e.printStackTrace();
              return existingOwners;
         public void setExistingOwners(List<SelectItem> existingOwners) {
              try{
              this.existingOwners = existingOwners;
              }catch(Exception e){
                   logger.debug("%%%%");
                   logger.debug(e.getCause());
                   e.printStackTrace();
    public String getSelectedOwner() {
         try{
         List<SelectItem> test = this.getExistingOwners();
         selectedOwner = (String)test.get(1).getValue();
         logger.debug("selected owner from the list" +selectedOwner);
         }catch(Exception e){
         logger.debug(e.getCause());
         e.printStackTrace();
         return selectedOwner;
         public void setSelectedOwner(String selectedOwner) {
              this.selectedOwner = selectedOwner;
    public List<SelectItem> getExistingOwners() should actually be a call to the DB to get the list.
    But since i was getting exception I tried to hard code the list in the method itself.
    But , I get this exception:
    logger.info values in the list 21
    [6/15/09 12:49:45:687 EDT] 0000003d ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: /processApplication.jsp. Exception thrown : javax.servlet.ServletException: Conversion Error setting value ''{0}'' for ''{1}''.
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:658)
         at com.ibm._jsp._processApplication._jspService(_processApplication.java:149)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:701)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:646)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
    Earlier, I had a drop down list that was working perfectly fine.
    But its values came from a Helper class and not the DB.
    What is it that Iam missing or doing wrong?
    Please help me.
    Thanks.

    Based on your example on the link that you referred to I tried to do this
    fillSelectItems();
    as the initialization block (I read what it means)
    changed my getter method to
    public List<SelectItem> getExistingOwners() { return existingOwners; }
    private void fillSelectItems() {
    this.existingOwners = new ArrayList<SelectItem>();
    try{
         existingOwners.clear();
         List test = this.getOwners();
         SelectItem[] myitem = new SelectItem[test.size()];
         for(int i=0;i<test.size();i++) {
         Object[] arrayOne = (Object[])test.get(i);
    try{
         SelectItem tmp = new SelectItem();
         tmp.setLabel(arrayOne[0].toString()+(String)arrayOne[1]);
         tmp.setValue((Integer)arrayOne[0]);
         myitem[i] = tmp;
    this.existingOwners.add(myitem);
    }catch(Exception e){
              logger.debug(e.getCause());
              e.printStackTrace();
         }catch(Exception e){
              logger.debug(e.getCause());
              e.printStackTrace();
    Basically, I moved what I had earlier in getter method I have it now in the fillSelectItems()
    Butthen, I get a NullPointerException.

  • Convert weblogic.properties

    All,
    I'm trying to convert an existing 5.1 installation to 6.0 and am having a bit of difficulty with creating a new config.xml based on an existing weblogic.properties. Has anyone gone through this process yet? The documentation seems vague and incomplete (references things like "<insert-ref>").
    Also, the conversion html page/applets also seem very confusing. They present 2 list boxes that were created from your existing weblogic.properties file. These list boxes are labeled "server weblogic.properies" and "cluster weblogic.properies". Instead of containing discernable properties, they contain lists of directories. Selecting any of these directories will generally cause a conversion failure. Is this thing just not there yet, and should I be building up my own weblogic.properties/config.xml from scratch?
    I'd be interested in anyone else's experiences with these issues. TIA.
    JohnH

    Hi John,
    I'm trying to do conversion from WL 5.1 and as you just described it doesn't seem to work.
    Have you solved your problem? If yes, how did you do it?
    Thanks!
    "John Hogan" <[email protected]> wrote:
    >
    All,
    I'm trying to convert an existing 5.1 installation to 6.0 and am having a bit of difficulty with creating a new config.xml based on an existing weblogic.properties. Has anyone gone through this process yet? The documentation seems vague and incomplete (references things like "<insert-ref>").
    Also, the conversion html page/applets also seem very confusing. They present 2 list boxes that were created from your existing weblogic.properties file. These list boxes are labeled "server weblogic.properies" and "cluster weblogic.properies". Instead of containing discernable properties, they contain lists of directories. Selecting any of these directories will generally cause a conversion failure. Is this thing just not there yet, and should I be building up my own weblogic.properties/config.xml
    from scratch?
    I'd be interested in anyone else's experiences with these issues. TIA.
    JohnH

  • Conversion error, from character set 4102 to character set 4103

    Hi,
    We've developed a JCO server(in Java) with an ABAP report the function provided by the JCO server.
    MetaData:
         static {
              repository = new Repository("SMSRepository");
              fmeta = new JCO.MetaData("ZSMSSEND");
              fmeta.addInfo("TO", JCO.TYPE_CHAR, 255,   0,  0, JCO.IMPORT_PARAMETER, null);
              fmeta.addInfo("CONTENT", JCO.TYPE_CHAR, 255,   0,  0, JCO.IMPORT_PARAMETER, null);
              fmeta.addInfo("RETN", JCO.TYPE_CHAR, 255,   0,  0, JCO.EXPORT_PARAMETER, null);
              repository.addFunctionInterfaceToCache(fmeta);     
    Server parameters:
           Properties prop = new Properties();
           prop.put("jco.server.gwhost","shaw2k07");
           prop.put("jco.server.gwserv","sapgw01");
           prop.put("jco.server.progid","JCOSERVER01");
           prop.put("jco.server.unicode","1");
           srv = new SMSServer(prop,repository);
    If we run JCO server in both my client machine(from developer studio) and in the WAS machine(stand alone Java program), everything is ok. In the Abap side, the SM59 unicode test return the destination is an unicode system, and the ABAP report call the function can run smoothly.
    But we package this JCO server to a web application and deploy to WAS, problem occured. The SM59 unicode test still say the destination is an unicode system. But the ABAP report runs with an ABAP DUMP:
    Conversion error between two character set
    RFC_CONVERSION_FIELD
    Conversion error "RETN" from character set 4102 to character set 4103
    A conversion error occurred during the execution of a Remote Function
    Call. This happened either when the data was received or when it was
    sent. The latter case can only occur if the data is sent from a Unicode
    system to a non-Unicode system.
    I read the jrfc.trc log, it shows it receives data in unicode 4103(that's ok), but send data in unicode 4102(that's the problem).4102 is UTF-16 Big Endian and 4103  UTF-16 Little Endian. Our system is windows on intel 32 aritechture, so based on Note 552464, it should be 4103.
    Why it sends data (Java JCO server send output parameter to ABAP) in 4102?????
    What's the problem??? Thank you very much!!
    Best Regards,
    Xiaoming Yang
    Message was edited by:
            Xiaoming Yang

    Hello Experts,
    Any replies on this?
    I am also getting a similar kind of error.
    Do you have any idea on this?
    Thanks and Best Regards,
    Suresh

  • Problem overriding default JSF conversion error messages

    Hello !
    I have a problem to override default JSF conversation error message. I have an inputText which is binded to BigDecimal attribute, so when I enter a character in that field I get this error message: "- Conversion failed."
    I think I need to register the message bundle in my faces config, and put the key of this error message to my properties file.. am I right ?
    Can somebody help me with this ? Which key I need to put into the properties file ?
    Miljan

    Get [Sun's Java EE tutorial |https://www.sun.com/offers/details/JavaEETutorial.xml?cid=20090723ZA_TACO_JVEE_0004] and read the relevant section so you don't have to guess what you need to do.

  • Conversion Error of SelectManyCheckBox

    Hi @ all,
    I need your help urgently!
    I want to realize two SelectManyCheckBox, each of them has a valueChangeListener. When user change the current state of the check boxes, some actions are performed.
    The problem now is when one check box is clicked(a valueChangeListener is called), then a conversion error message is shown out, which says there is a conversion error occured at the other SelectManyCheckBox component.
    I tried several times and found, only if the presious state of the check box component is empty, such conversion error occurs.
    The codes are like following:
                           <TD>
                                 <h:selectManyCheckbox value="#{admin.filterSelection1}" id="filter1" immediate="true"
                                      valueChangeListener="#{admin.firstFilter}" onchange="submit()">
                                     <f:selectItems value="#{admin.filters1}"/>                                 
                                </h:selectManyCheckbox>
                           </TD>
                            <TD>
                                 <h:selectManyCheckbox value="#{admin.filterSelection2}" id="filter2" immediate="true"
                                      valueChangeListener="#{admin.secondFilter}" onchange="submit()">
                                     <f:selectItems value="#{admin.filters2}"/>                           
                                </h:selectManyCheckbox>
                           </TD>..............
    and the corresponding properties in the backing bean are:
         private ArrayList filterSelection1;
         private ArrayList filterSelection2;
         private SelectItem[] filters1;
         private SelectItem[] filters2;in the constructor of the backing bean, i initialized filters1, filters2 also filterSelection1 and filterSelection2. And their set , get methods are generated by eclipse automatically.
    Waiting for your answers......
    Finally I wish the person, who replied, a happier Christmas, and the person who does not replied, a happy Christmas. :-)
    db

    thanks for your reply, but i think my problem is not what you meant.
    I changed my code a little bit, the conversion error remains......
                           <TD>
                             <h:selectOneRadio value="#{admin.filterSelection1}" id="filter1" layout="pageDirection"
                                            valueChangeListener="#{admin.firstFilter}" immediate="true" onchange="submit()">
                                       <f:selectItem itemValue="studenten" itemLabel="Nur Studenten" />
                                       <f:selectItem itemValue="mitarbeiter" itemLabel="Nur Mitarbeiter" />
                                       <f:selectItem itemValue="alle" itemLabel="Alle" />
                                       <f:selectItem itemValue="selectAll" itemLabel="Alle an/aus" />
                             </h:selectOneRadio>
                           </TD>
                            <TD>
                             <h:selectOneRadio value="#{admin.filterSelection2}" id="filter2" layout="pageDirection"
                                            valueChangeListener="#{admin.secondFilter}" immediate="true" onchange="submit()">
                                       <f:selectItem itemValue="intern" itemLabel="Nur Intern" />
                                       <f:selectItem itemValue="ausser" itemLabel="Nur Auftr�ge" />
                                       <f:selectItem itemValue="alle" itemLabel="Alle" />
                                       <f:selectItem itemValue="selectAll" itemLabel="Alle an/aus" />
                             </h:selectOneRadio>
                           </TD>........................
         private String filterSelection1;
         private String filterSelection2;Beside that, I can not understand why even I set "immediate" property be "true", the set method is stilled called!!!!

  • Debugging weblogic

    Hello techies,
    Iam using weblogic 7.0 which supports jdk1.3 (by default).
    I want to know how to debug the weblogic server.
    Does i need to change any starting scripts i.e. startWLS.cmd (or) any other script.
    If so how to do it??
    Also i want to know how to change jdk1.3(default in weblogic 7.0) to jdk1.4.
    Can any body tell what is the process to change the jdk??
    What r the jar file that needs to be put in the classpath for running servlet programs??
    Actually iam having jdk5.0 and set classpath and my java programs are working fine.
    when i tried to run the servlets it is showing errors.
    can any body tell me why iam getting errors??
    Thanks(inadvance),
    ramu

    I dont think you have to put anything in the classpath to run a servlet successfully in weblogic
    What are you trying to achieve by trying to debug weblogic server.
    Did you deploy the servlets properly into weblogic.
    Check the weblogic manual for instructions on how to do it . Its very simple, check it out

Maybe you are looking for