Problem in setting up JCoonect for SYBASE

Hello to All,
1). I am using first time WebLogic.
2). WebLogic's Documentation is too poor (I have Welogic5.10 licensed version)
3). I a Developer here and working here on Java Technologies.
4). Now moving to EJB's and have to use SYBASE DataBase
Main Problems :
5). How to setup JConnect with WebLogic???
6). Have to make a entity EJB for a User Master Table. (With all the add, delete, search etc. etc. options, I am able to run and see the results of Examples undeled with WebLogic)
7).When I try to connect to SYBASE Server using the DBPING Utility I am getting this Error....
D:\weblogic>java utils.dbping SYBASE sa "" KRSMasterDB@smips005:5000
Error encountered:
java.sql.SQLException: JZ006: Caught IOException: java.net.UnknownHostException:
KRSMasterDB@smips005
at com.sybase.jdbc.ErrorMessage.raiseError(ErrorMessage.java)
at com.sybase.tds.Tds.login(Tds.java)
at com.sybase.jdbc.SybConnection.<init>(SybConnection.java)
at com.sybase.jdbc.SybDriver.connect(SybDriver.java)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at utils.dbping.main(dbping.java:156)
D:\weblogic>
While this is Working fine if I try it with MS SQL :
D:\weblogic>java utils.dbping MSSQLSERVER4 sa "" KRSDB@smips005:1433
Success!!!
URL is write and DB name and port everything is rite there, Then also it is giving eroor...
How to proceed now?????????
Plesae help me.....
With Bbest Regards,
Sanat.

Hi,
SanatKumar Dhir wrote:
Hello to All,
1). I am using first time WebLogic.
2). WebLogic's Documentation is too poor (I have Welogic5.10 licensed version)
3). I a Developer here and working here on Java Technologies.
4). Now moving to EJB's and have to use SYBASE DataBase
Main Problems :
5). How to setup JConnect with WebLogic???First, you need to define a connection pool that would look something like this (NOTE: see the jConnect for JDBC documentation on Sybase's web site for more information about how to
configure jConnect):
weblogic.jdbc.connectionPool.sybasePool=\
url=jdbc:sybase:Tds:host:port,\
driver=com.sybase.jdbc2.jdbc.SybDriver,\
loginDelaySecs=1,\
initialCapacity=4,\
maxCapacity=10,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=15,\
props=user=myusername;password=mypassword
You will need to change the values in bold to those appropriate for your installation. You may also need to specify more jConnect properties (see Table 2-2 in Chapter 2 of Sybase(R)
jConnect for JDBC(TM) Programmer's Reference for more information).
6). Have to make a entity EJB for a User Master Table. (With all the add, delete, search etc. etc. options, I am able to run and see the results of Examples undeled with WebLogic)For more help on how to write an entity bean, please look at the weblogic examples and see one of the books on EJB that are currently on the market. To deploy the entity bean, I would
suggest using the EJB Deployment Wizard as this will make the database mapping much simpler.
7).When I try to connect to SYBASE Server using the DBPING Utility I am getting this Error....
D:\weblogic>java utils.dbping SYBASE sa "" KRSMasterDB@smips005:5000Unfortunately, dbPing was developed to work with only the WebLogic-supplied drivers. WebLogic used to supply a Type 2 Sybase driver that has been discontinued and I do not believe that
dbPing has been updated to reflect the fact that we now ship jConnect with the product.
Hope this helps,
Robert
[att1.html]

Similar Messages

  • Problem in setting the parameters for an OASingleSelectionBean

    Hi,
    I have created an advanced table, for which I have to allow single selection or mutliple selection according to my requirements ie dynamically. So, for single selection, I have created a OASingleSelectionBean dynamically and add this to my advanced table bean.
    I also want to set Action for the single selection option. I have set the action using
    setPrimaryClientAction() which takes an argument of oracle.cabo.ui.action.FirePartialAction class. Now I also want to pass certain parameters when the single selection event happens.
    For that, I have taken an object of FirePartialAction class and but using the FirePartialAction class .setParameters(oracle.cabo.ui.collection.Parameter[]) function. I am setting the parameters using
    Parameter class object.setKey
    Parameter class object.setValue
    But my problem is that I want the value for the parameters at runtime, for which I intend to use SPEL. But I am not able to use SPEL using the setValue method.
    So it goes like this in short:
    OAAdvancedTableBean.setTableSelection(OASingleSelectionBean)
    OASingleSelectionBean.setPrimaryClientAction(FirePartialAction)
    FirePartialAction.setParameters(Parameter[])
    Parameters.setKey(String)
    Parameters.setValue(String) --- In case of value I want to give SPEL as an argument as I get the value at rutime
    Is that any other way in which I can set the value for the parameters using SPEL?

    Hi,
    I got ur point.
    Although i have never tried.........Can you try using method
    Parameters.setValueBinding(new OADataBoundValueViewObject(<single selectionbean>,<vo attr>))
    In this way without the use of SPEL, you will be able to achieve the functionality!
    Try this and get back to me!
    --Mukul
    Message was edited by:
    Mukul Gupta

  • Problem in setting desired position for JPanel in JScrollPane!!!

    Dear Friends,
    I am having problem to set desired Scrollable(JScrollPane) JPanel position. I have a JPanel in a JFrame which is scrolable with lot of objects. It automatically displays on the top position inside JScrollPane, I want to set scroll position on the middle for the panel.
    I went through the search for the same in this forum, i found some posts related to this but they are linked with JTextArea(setCaretPosition). With JPanel i can't set caret position.
    Could anyone guide me how to set the scroll position on middle.
    Regards..
    Jayshree

    Replace:
    if(view.getValueAt(row,column) instanceof ImageIcon){
            ((Component)view.getColumnModel().getColumn(column).getCellRenderer().
            getTableCellRendererComponent(view,view.getValueAt(row,column),true,true,row,column)).setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
          else
            ((Component)view.getColumnModel().getColumn(column).getCellRenderer().
            getTableCellRendererComponent(view,view.getValueAt(row,column),true,true,row,column)).setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
          }with:
    if(view.getValueAt(row,column) instanceof ImageIcon)
            view.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
          else
           view.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));

  • Problem of setting Priority type for notification category

    Dear Expert,
    I have created a new notification type and number range have been created for that notification. Actuaaly i am facing problem when i craete notification for that type which is I have created then after entering in IW2, show error message "Priority type not maintained for notification category".
    I also want "Field displaying user status" and "Control box" for My notification of showing fields.
    Please suggest me how solve this error and field displaying.
    Thanks & Regards,
    Deepak

    Hi,
    In addition to above response, also customize the following:
    Define Action Box -> Define Follow-Up Functions
    Notification Types ->Activities ->Dependent Follow-Up Functions ->Define Follow-Up Actions for Tasks-> Define follow-up actions
    Follow-up actions -> Function modules.
    Regards,
    Lucky

  • Facing problem in setting follow up for email

    I am trying to set an email for follow up using the EWS managed api. I followed these links 
    http://social.msdn.microsoft.com/Forums/office/en-US/bce82c8c-a534-4713-a38d-169620c0cffd/ews-set-followup-on-an-email?forum=exchangesvrdevelopment">//social.msdn.microsoft.com/Forums/office/en-US/bce82c8c-a534-4713-a38d-169620c0cffd/ews-set-followup-on-an-email?forum=exchangesvrdevelopment
     and 
    http://social.technet.microsoft.com/Forums/office/en-us/8fccfcf9-e7ea-43b2-821d-2fb611855428/ews-managed-api-setting-followup-flags-consistent-with-outlook?forum=exchangesvrdevelopment">social.technet.microsoft.com/Forums/office/en-us/8fccfcf9-e7ea-43b2-821d-2fb611855428/ews-managed-api-setting-followup-flags-consistent-with-outlook?forum=exchangesvrdevelopment
    for some guidance but it still i am sure i am missing many things here. The xml i send for updating flagstatus is 
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
    <soap:Header>
                  <t:RequestServerVersion Version="Exchange2013"></t:RequestServerVersion>
              </soap:Header>
    <soap:Body>
    <UpdateItem ConflictResolution="AutoResolve" MessageDisposition="SaveOnly">
    <ItemChanges>
    <t:ItemChange>
                                       <t:ItemId Id="AAMkAGEyNzAwYzc3LTkwZTgtNGI2MC05MzVkLTNjMjQzYTgyODc2OQBGAAAAAAA3WMO+ZnF/QrCdez0LEjxsBwB2Nkz9SQDSSozr39zl7KzqAAAAAAENAAB2Nkz9SQDSSozr39zl7KzqAACdlFOTAAA=" ChangeKey="CQAAABYAAAB2Nkz9SQDSSozr39zl7KzqAACdnI3c"></t:ItemId>
    <t:Updates>
    <t:SetItemField>
                                                     <t:FieldURI FieldURI="message:IsRead"></t:FieldURI>
    <t:Message>                                                        
    <t:ExtendedProperty>
                                                                   <ExtendedFieldURI PropertyTag="0x1090" PropertyName="FlagRequest" PropertyId="0" PropertyType="String"></ExtendedFieldURI>
                                                                   <Value>2</Value>
                                                                   <Values></Values>
                                                               </t:ExtendedProperty>
                                                            <t:IsRead>false</t:IsRead>
                                                        </t:Message>
                                                 </t:SetItemField>
                                          </t:Updates>
                                   </t:ItemChange>
                            </ItemChanges>
                     </UpdateItem>
              </soap:Body>
       </soap:Envelope>
    Using this i am getting "The request failed schema validation" as i am sure there a lot many things i
    need to properly while setting the extended property type. 
    I have looked up over google and in msdn forum but am still unclear what needs to be done to achieve it. 
    Can some one please explain, possibly in detail, how this can be done? Whether the way i am updating the item as in xml above is totally wrong or it misses some basic idea.
    Thanks 
    Madhur

    Hi,
      We have also to support exchange 2010 for flagging. Apart from links above i had been looking into this link
    http://social.technet.microsoft.com/Forums/en-US/f949a75d-070b-455e-82b6-01f1674de111/ews-adding-due-date-to-flagged-message?forum=exchangesvrdevelopment
    and sending this request XML for exchange2010 
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
    <soap:Header>
    <t:RequestServerVersion Version="Exchange2010_SP1"></t:RequestServerVersion>
    </soap:Header>
    <soap:Body>
    <UpdateItem ConflictResolution="AutoResolve" MessageDisposition="SaveOnly">
    <ItemChanges>
    <t:ItemChange>
    <t:ItemId Id="AAMkADU4YWJjNjhkLTE4OWYtNGJmNy1iOTIzLTRlNGVjNDFmYTBhNABGAAAAAAA+3eJWXGVyTLYpBc0G1f+2BwCWtgWpIkfLQ4VqkhNzipUqAAAAP4L0AACWtgWpIkfLQ4VqkhNzipUqAAAASbfZAAA=" ChangeKey="CQAAABYAAACWtgWpIkfLQ4VqkhNzipUqAAAATyTc"></t:ItemId>
    <t:Updates>
    <t:SetItemField>
    <t:Message>
    <t:ReminderIsSet>false</t:ReminderIsSet>
    <t:ReminderMinutesBeforeStart>0</t:ReminderMinutesBeforeStart>
    <t:ExtendedProperty>
    <ExtendedFieldURI PropertyTag="0x1090" PropertyName="FlagStatus" PropertyId="0" PropertyType="Integer"></ExtendedFieldURI>
    <Values></Values>
    </t:ExtendedProperty>
    <t:IsRead>false</t:IsRead>
    </t:Message>
    </t:SetItemField>
    </t:Updates>
    </t:ItemChange>
    </ItemChanges>
    </UpdateItem>
    </soap:Body>
    </soap:Envelope>
    But facing some issues with which is surely incorrect. Can someone let me know what should be a proper request xml format for flag status in exchange2010. And also fi possible some other related links which could be helpful in understanding the xml format
    to be send.
    Thanks,
     Madhur Rawat

  • Problem in Setting Background Color for JButton

    Hi,
    I am using Background color for JButton (color is selected from the customized JColorChooser created by us) where it contains the option of transparency. If we choose light color, then the background is set to JButton, but when we mouse-over the JButton, other components inside the container (JPanel) is getting displayed inside the button.
    Can anyone help to sort out this problem.
    Thanks in advance.

    Hi,
    Here is the code.
    DialogWrapper is JDialog and ColorEditorPane is JPanel.
    DialogWrapper     dlg         = new DialogWrapper();
    ColorEditorPane colorPanel = new ColorEditorPane();
    colorPanel.setValue( _data.getTransparentColor());
    dlg.showWrappedDialog( colorPanel, "color_help", "color_dialog" );
    if( dlg.isOK())
    Color chosenColor = (Color) colorPanel.getValue().getContent();
    _data.setTransparentColor( chosenColor );
    _transparentColorDisplay.setBackground( chosenColor );
    _transparentColorDisplay.setOpaque( true );
    this.repaint();
    this.doLayout();
    this.validate();
    }I've several components like JCheckBox, JRadioButton, JTextField in "this".

  • Java.util.logging - Problem with setting different Levels for each Handler

    Hello all,
    I am having issues setting up the java.util.logging system to use multiple handlers.
    I will paste the relevant code below, but basically I have 3 Handlers. One is a custom handler that opens a JOptionPane dialog with the specified error, the others are ConsoleHandler and FileHandler. I want Console and File to display ALL levels, and I want the custom handler to only display SEVERE levels.
    As it is now, all log levels are being displayed in the JOptionPane, and the Console is displaying duplicates.
    Here is the code that sets up the logger:
    logger = Logger.getLogger("lib.srr.applet");
    // I have tried both with and without the following statement          
    logger.setLevel(Level.ALL);
    // Log to file for all levels FINER and up
    FileHandler fh = new FileHandler("mylog.log");
    fh.setFormatter(new SimpleFormatter());
    fh.setLevel(Level.FINER);
    // Log to console for all levels FINER and up
    ConsoleHandler ch = new ConsoleHandler();
    ch.setLevel(Level.FINER);
    // Log SEVERE levels to the User, through a JOptionPane message dialog
    SRRUserAlertHandler uah = new SRRUserAlertHandler();
    uah.setLevel(Level.SEVERE);
    uah.setFormatter(new SRRUserAlertFormatter());
    // Add handlers
    logger.addHandler(fh);
    logger.addHandler(ch);
    logger.addHandler(uah);
    logger.info(fh.getLevel().toString() + " -- " + ch.getLevel().toString() + " -- " + uah.getLevel().toString());
    logger.info("Logger Initialized.");Both of those logger.info() calls displays to the SRRUserAlertHandler, despite the level being set to SEVERE.
    The getLevel calls displays the proper levels: "FINER -- FINER -- SEVERE"
    When I start up the applet, I get the following in the console:
    Apr 28, 2009 12:01:34 PM lib.srr.applet.SRR initLogger
    INFO: FINER -- FINER -- SEVERE
    Apr 28, 2009 12:01:34 PM lib.srr.applet.SRR initLogger
    INFO: FINER -- FINER -- SEVERE
    Apr 28, 2009 12:01:40 PM lib.srr.applet.SRR initLogger
    INFO: Logger Initialized.
    Apr 28, 2009 12:01:40 PM lib.srr.applet.SRR initLogger
    INFO: Logger Initialized.
    Apr 28, 2009 12:01:41 PM lib.srr.applet.SRR init
    INFO: Preparing Helper Files.
    Apr 28, 2009 12:01:41 PM lib.srr.applet.SRR init
    INFO: Preparing Helper Files.
    Apr 28, 2009 12:01:42 PM lib.srr.applet.SRR init
    INFO: Getting PC Name.
    Apr 28, 2009 12:01:42 PM lib.srr.applet.SRR init
    INFO: Getting PC Name.
    Apr 28, 2009 12:01:42 PM lib.srr.applet.SRR init
    INFO: Finished Initialization.
    Apr 28, 2009 12:01:42 PM lib.srr.applet.SRR init
    INFO: Finished Initialization.Notice they all display twice. Each of those are also being displayed to the user through the JOptionPane dialogs.
    Any ideas how I can properly set this up to send ONLY SEVERE to the user, and FINER and up to the File/Console?
    Thanks!
    Edit:
    Just in case, here is the code for my SRRUserAlertHandler:
    public class SRRUserAlertHandler extends Handler {
         public void close() throws SecurityException {
         public void flush() {
         public void publish(LogRecord arg0) {
              JOptionPane.showMessageDialog(null, arg0.getMessage());
    }Edited by: compbry15 on Apr 28, 2009 9:44 AM

    For now I have fixed the issue of setLevel not working by making a Filter class:
    public class SRRUserAlertFilter implements Filter {
         public boolean isLoggable(LogRecord arg0) {
              if (arg0.getLevel().intValue() >= Level.WARNING.intValue()) {
                   System.err.println(arg0.getLevel().intValue() + " -- " + Level.WARNING.intValue());
                   return true;
              return false;
    }My new SRRUserAlertHandler goes like this now:
    public class SRRUserAlertHandler extends Handler {
         public void close() throws SecurityException {
         public void flush() {
         public void publish(LogRecord arg0) {
              Filter theFilter = this.getFilter();
              if (theFilter.isLoggable(arg0))
                   JOptionPane.showMessageDialog(null, arg0.getMessage());
    }This is ugly as sin .. but I cannot be required to change an external config file when this is going in an applet.
    After much searching around, this logging api is quite annoying at times. I have seen numerous other people run into problems with it not logging specific levels, or logging too many levels, etc. A developer should be able to complete configure the system without having to modify external config files.
    Does anyone else have another solution?

  • Problem while setting background color for jsplit pane

    Hi ALL,
    i am using jsplit frame inside jframe.
    i placed jtree inside left jsplit frame.
    I am not able to set background clolr to jsplit frame.
    when i hide(jtree.setvisible(false)) jtree is shows default background color.it is not showing backgroun color which i set.

    In the below code,i am adding jtree inside jscrollpane and i am adding jscrollpane inside jsplitpane.
    whenever i am setting jtree.setvisible(false),it must show background color which is i am setting for jscrollpane .but its showing default background color.
    Please help me.
    * Demo.java
    * Created on August 19, 2008, 1:44 PM
    public class Demo extends javax.swing.JFrame {
    /** Creates new form Demo */
    public Demo() {
    initComponents();
    jTree1.setVisible(false);
    jScrollPane1.setBackground(new java.awt.Color(136, 194, 252));
    jSplitPane1.setBackground(new java.awt.Color(136, 194, 252));    }
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            jPanel1 = new javax.swing.JPanel();
            jSplitPane1 = new javax.swing.JSplitPane();
            jScrollPane1 = new javax.swing.JScrollPane();
            jTree1 = new javax.swing.JTree();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            jScrollPane1.setViewportView(jTree1);
            jSplitPane1.setLeftComponent(jScrollPane1);
            org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
            jPanel1.setLayout(jPanel1Layout);
            jPanel1Layout.setHorizontalGroup(
                jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jSplitPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 440, Short.MAX_VALUE)
            jPanel1Layout.setVerticalGroup(
                jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, jSplitPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 362, Short.MAX_VALUE)
            org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            layout.setVerticalGroup(
                layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            pack();
        }// </editor-fold>
         * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new Demo().setVisible(true);
        // Variables declaration - do not modify
        private javax.swing.JPanel jPanel1;
        private javax.swing.JScrollPane jScrollPane1;
        private javax.swing.JSplitPane jSplitPane1;
        private javax.swing.JTree jTree1;
        // End of variables declaration

  • Problem to set background color for configTable cell

    Hi All,
    I've a configTable displays some status fields, and I need to set yellow color when the status is in processing and green when finished and red when cancelled. I've searched the forum and decided to use iterator with method RENDER_CELL_START. Here are the steps that I've done.
    Step 1: wrote a new class ZCL_ACTSTAT_ITERATOR implements interface IF_HTMLB_TABLEVIEW_ITERATOR.
        this class has a private attribute ORDERS containing the search result internal table data, in the CONSTRUCTOR method I pass the search result to the attribute using the statement ME->ORDERS = ORDERS. Then in the method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START I check the p_column_key for the status fields and then get the status value and set p_style accordingly using the following statement:
    CASE p_column_key.
        WHEN 'PREPAY_STATUS' OR 'DELVPLN_STATUS' OR 'DESIGN_STATUS'.
          READ TABLE me->orders INTO ls_order INDEX p_row_index.
          IF sy-subrc NE 0.
            EXIT.
          ENDIF.
          ASSIGN COMPONENT p_column_key OF STRUCTURE ls_order TO <col>.
          IF sy-subrc = 0.
            wf_text = <col>.
          ENDIF.
          IF wf_text = '00' OR wf_text = 'Initial'.
    *        concatenate '<font color=""red"">'
    *         WF_TEXT '</font>' into html_str.
    *        create object html_bee.
    *        html_bee->add( html = html_str ).
    *        p_replacement_bee = html_bee.        "not work either
            p_style = 'celldesign:STANDARD'.
          ELSEIF wf_text = '10' OR wf_text = 'InProcessing'.
            p_style = 'celldesign:GOODVALUE_MEDIUM'.
          ELSEIF wf_text = '20' OR wf_text = 'Finished'.
            p_style = 'celldesign:GOODVALUE_LIGHT'.
    *        p_style = 'background-color:#92D050'.
          ENDIF.
      ENDCASE.
    Step 2: In the component controller ZL_ZACT_MYO_ORDERS_IMPL, create a public attribute GV_ITERATOR type ref to the class created in step 1 (ZCL_ACTSTAT_ITERATOR), then in the controller's DO_PREPARE_OUTPUT method, get the combined context data and convert them into internal table LT_ORDERS, then create the iterator GV_ITERATOR passing LT_ORDERS, after this step, the result data can be transfered into iterator class and then be used in the RENDER_CELL_START method.
    The DO_PREPARE_OUTPUT method is like bellow:
    lr_pro ?= me->typed_context->order->collection_wrapper->get_first( ).
        WHILE lr_pro is BOUND.
          lr_pro->get_properties( IMPORTING es_attributes = ls_order ).
          if ls_order is not initial.
            append ls_order to lt_order.
          endif.
          lr_pro ?= me->typed_context->order->collection_wrapper->GET_next( ).
        ENDWHILE.
        CREATE OBJECT lc_iterator
          EXPORTING
            orders = lt_order.
        me->GV_iterator = lc_iterator.
    Step 3: in the .htm page, point iterator to controller's iterator
    <chtmlb:configTable  id                    = "Table1"
                        table                 = "//ORDER/Table"
                        iterator              = "<%= controller->GV_ITERATOR %>"
                         />
    Step 4: in the GET method of status attributes in context node ORDER, do the translation to change the status code into status description
    METHOD GET_PREPAY_STATUS
        DATA: OLD_VALUE TYPE ZACT_STATU,
              LS_STATUS TYPE ZACT_STATUS_S.
        OLD_VALUE = VALUE.
        READ TABLE GT_STATUS INTO LS_STATUS WITH KEY STATUS = OLD_VALUE.  
        "Get status description from field domain definition
        IF SY-SUBRC = 0.
          VALUE = LS_STATUS-NAME.           "Show status description
        ENDIF.
    ENDMETHOD.
    I thought I could see the status fields change their styles for different status code. But it still refuse to work, although I can debug to see that p_style really set as I expect, so I think there must have something wrong after RENDER_CELL_START, but what is it?
    Could anyone please help me sort it out or point out what's missing there or guide me the correct steps? Any post is greatly appreciated.
    Thank you!
    Jeff
    Edited by: liu jinghui on Feb 9, 2012 6:37 PM

    Hi, Jeff.
    Just don't want to cross post the same answer all over the forum. So I gave some inputs on the topic in this message: http://forums.sdn.sap.com/thread.jspa?messageID=11127647&#11127647
    Hope this will help you.

  • Problem in setting application server for technical system

    Hi all,
       While I was trying to set the application server and message server for an already existing technical system in the SLD,I dont get the option the option for adding a new application server or changing an existing application server.Any suggestions are welcome.
    Thanks and Regards
    Jishi

    Hi,
    for changing - did you try the "Content Maintenance" on SLD Homepage? It is Subset: Landscape Description and I guess Class "BC Application Server"
    For adding a second application server - go to the technical system, scroll down and press "Add" secondary application server.
    Good luck, Holger

  • Problem in setting TNS_ADMIN variable for REPORTS10g

    Hi,
    I am trying to setup web reports using rwservlet on tomcat server. I have set the required environment variables as in documentation including TNS_ADMIN but the servlet is not picking up the value and using the default tnsnames.ora file instead.
    This is causing problems as i cannot make an entry to the default file and we keep the tnsnames.ora file on a separate location.
    Also, can i place rwservlet.properties file at a different location than $REPORTS_HOME/reports/conf directory?!!!
    The response of : http://loncrmappu1.uk.db.com:7700/demo/rwservlet/showenv/?server=loncrmappu1_10g_server gives me the below values:
    HTTP Environment Variables 10.1.2.0.2
    SERVER_NAME loncrmappu1.uk.db.com
    SERVER_PORT 7700
    SCRIPT_NAME /rwservlet
    SERVER_PROTOCOL HTTP/1.1
    SERVER_SOFTWARE undefined
    GATEWAY_INTERFACE undefined
    SERVER_PORT_SECURE undefined
    ACCEPT */*
    REQUEST_METHOD GET
    REMOTE_HOST 10.129.202.176
    REMOTE_ADDR 10.129.202.176
    REMOTE_USER undefined
    AUTH_TYPE undefined
    PATH_INFO showenv/
    QUERY_STRING server=loncrmappu1_10g_server
    PATH_TRANSLATED /home/partest/users/VishalK/jakarta-tomcat-5.0.30/webapps/demo/showenv
    CONTENT_LENGTH undefined
    CONTENT_TYPE undefined
    AUTHORIZATION undefined
    USER-AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
    REMOTE_IDENT undefined
    REFERER undefined
    OracleAS Reports Services - Servlet Environment Variables Return to Top
    KeyMapFile /u001/oracle/product/reports10g/reports/conf/cgicmd.dat
    DBAUTH /u001/oracle/product/reports10g/reports/templates/rwdbauth.htm
    SYSAUTH /u001/oracle/product/reports10g/reports/templates/rwsysauth.htm
    server undefined
    DIAGNOSTIC yes
    traceopts undefined
    ERRORTEMPLATE /u001/oracle/product/reports10g/reports/templates/rwerror.htm
    SERVER_IN_PROCESS yes
    COOKIEEXPIRE 30
    ENCRYPTIONKEY reports9i
    DIAGHEADTAGS undefined
    DIAGBODYTAGS undefined
    HELPURL undefined
    RELOAD_KEYMAP NO
    IMAGEURL http://loncrmappu1.uk.db.com:7700/reports/rwservlet
    SINGLESIGNON yes
    OracleAS Reports Services - Server and Engine Environment Variables Return to Top
    PATH /u001/oracle/product/reports10g/jdk/bin:/u001/oracle/product/reports10g/bin:/u001/oracle/product/reports10g/jdk/bin:/u001/oracle/product/reports10g/bin:.:/usr/ccs/bin:/home/sentinel1/download/Solaris_JDK_1.2.2_07/bin:.:/usr/ccs/bin:/home/sentinel1/download/Solaris_JDK_1.2.2_07/bin:.:/usr/ccs/bin:/home/sentinel1/download/Solaris_JDK_1.2.2_07/bin:/usr/bin::/etc:/opt/EMCpower/bin/sparcv9:/opt/VRTSvcs/EMC/bin:/etc/emc/bin:/u001/oracle/product/9.2.0.4/bin::/home/sentinel1/WLE5.0/bin:/u001/oracle/product/9.2.0.4/bin:/home/partest/Appbin/bin:/home/partest/Appbin/omgen/bin:/u001/oracle/product/9.2.0.4/bin:/home/partest/.utils:/home/partest/SUNTOOLS:/u001/oracle/product/reports10g/reports/lib32:/usr/bin:/usr/local/bin:/usr/ccs/bin:.:/usr/SUNWspro/bin:/usr/dt/bin:/opt/SUNWspro/bin:/usr/ucb:/usr/openwin/bin:/home/partest/Scripts:/u001/oracle/product/9.2.0.4/bin:/home/sentinel1/WLE5.0/bin:/home/partest/Appbin/bin:/home/partest/Appbin/omgen/bin:/usr/sbin:/usr/proc/bin:/u001/oracle/product/9.2.0.4/lib:/home/Weblogic/bin:/u001/oracle/product/dev6i/bin://home/partest/tdbdata:/home/partest/ADMIN/bin:/u001/oracle/product/reports10g/bin:/u001/oracle/product/reports10g/jdk/bin:/home/partest/dbus_3_0_8_14/scripts:/home/partest/dbus_3_0_8_14/bin/sh:/home/partest/dbus_3_0_8_14/bin/SPARC_5.8:/home/partest/dbus_3_0_8_14/SPARC_5.8/6.0/bin:/u001/oracle/product/9.2.0.4/bin::/home/sentinel1/WLE5.0/bin:/u001/oracle/product/9.2.0.4/bin:/home/partest/Appbin/bin:/home/partest/Appbin/omgen/bin:/u001/oracle/product/9.2.0.4/bin:/home/partest/.utils:/home/partest/SUNTOOLS:/u001/oracle/product/reports10g/reports/lib32:/usr/bin:/usr/local/bin:/usr/ccs/bin:.:/usr/SUNWspro/bin:/usr/dt/bin:/opt/SUNWspro/bin:/usr/ucb:/usr/openwin/bin:/home/partest/Scripts:/u001/oracle/product/9.2.0.4/bin:/home/sentinel1/WLE5.0/bin:/home/partest/Appbin/bin:/home/partest/Appbin/omgen/bin:/usr/sbin:/usr/proc/bin:/u001/oracle/product/9.2.0.4/lib:/home/Weblogic/bin:/u001/oracle/product/dev6i/bin://home/partest/tdbdata:/home/partest/ADMIN/bin:/u001/oracle/product/reports10g/bin:/u001/oracle/product/reports10g/jdk/bin:/u001/oracle/product/9.2.0.4/bin::/home/sentinel1/WLE5.0/bin:/u001/oracle/product/9.2.0.4/bin:/home/partest/Appbin/bin:/home/partest/Appbin/omgen/bin:/u001/oracle/product/9.2.0.4/bin:/home/partest/.utils:/home/partest/SUNTOOLS:/u001/oracle/product/reports10g/reports/lib32:/usr/bin:/usr/local/bin:/usr/ccs/bin:.:/usr/SUNWspro/bin:/usr/dt/bin:/opt/SUNWspro/bin:/usr/ucb:/usr/openwin/bin:/home/partest/Scripts:/u001/oracle/product/9.2.0.4/bin:/home/sentinel1/WLE5.0/bin:/home/partest/Appbin/bin:/home/partest/Appbin/omgen/bin:/usr/sbin:/usr/proc/bin:/u001/oracle/product/9.2.0.4/lib:/home/Weblogic/bin:/u001/oracle/product/dev6i/bin://home/partest/tdbdata:/home/partest/ADMIN/bin:/u001/oracle/product/reports10g/bin:/u001/oracle/product/reports10g/jdk/bin
    DISPLAY
    LD_LIBRARY_PATH /u001/oracle/product/reports10g/jdk/jre/lib/sparc/server:/u001/oracle/product/reports10g/jdk/jre/lib/sparc:/u001/oracle/product/reports10g/jdk/jre/../lib/sparc:/u001/oracle/product/reports10g/jdk/jre/lib/sparc:/u001/oracle/product/reports10g/lib32:/u001/oracle/product/reports10g/jdk/jre/lib/sparc:/u001/oracle/product/reports10g/lib32:/u001/oracle/product/reports10g/lib32:/home/partest/batch/Q1_04/lib:/usr/lib:/home/partest/CORBA/lib:/home/sentinel1/WLE5.0/lib:/u001/oracle/product/9.2.0.4/lib:/u001/oracle/product/dev6i/lib:/home/partest/GENCODE/lib/sparc:/home/partest/Appbin/lib:/home/partest/xerces-c_2_3_0-Sol2.7ForCC/lib:/home/partest/xml-xalan/c/lib:/home/partest/ldap/lib:/home/partest/dbus_3_0_8_14/SPARC_5.8/6.0/lib
    ORACLE_HOME /u001/oracle/product/reports10g
    TNS_ADMIN /u001/oracle/product/reports10g/network/admin
    NLS_LANG AMERICAN_AMERICA.WE8ISO8859P1
    USER_NLS_LANG
    RW /u001/oracle/product/reports10g/reports
    REPORTS_PATH /u001/oracle/product/reports10g/reports/templates:/u001/oracle/product/reports10g/reports/samples/demo:/u001/oracle/product/reports10g/reports/integ:/u001/oracle/product/reports10g/reports/printers:/u001/oracle/product/reports10g/reports/templates:/u001/oracle/product/reports10g/reports/samples/demo:/u001/oracle/product/reports10g/reports/integ:/u001/oracle/product/reports10g/reports/printers:/home/partest/report/rdfs:/u001/oracle/product/reports10g/reports/templates
    REPORTS_TMP /tmp
    REPORTS_TAGLIB_URI /WEB-INF/lib/reports_tld.jar
    java.class.path /u001/oracle/product/reports10g/j2ee/home/lib/ojsp.jar:/u001/oracle/product/reports10g/reports/jlib/rwrun.jar:/u001/oracle/product/reports10g/jlib/zrclient.jar
    sourceDir
    tempDir
    useDataCache
    ignoreDataParameter

    Hi
    I checked the mentioned Patch Levels, everything seems to be fine.
    After I did few changes in JCOs and checked the XCM configuration throughly shopadmin URL (http://<host>:<port>/shopadmin/shopadmin/init.do) has started working.
    Now I have maintained 2 shops and can see the B2B and B2C web portals fine.
    But as soon as I select any material, it is giving error saying error in XCM configuration related to IPC.
    could you pleaase help me out with this?
    Also, as soon as I click on the B2B Login link, it dumps.
    And useradmin URL  http://<host>:<port>/isauseradm/useradmin/init.do   is still giving "Page can not be displayed",
    These problems are related to XCM configuration, but not sure where exactly and which configuration is missing. please can you suggest ? Any XCM configuration related document will also be helpful.
    Regards,
    Neha

  • Problem in setting background colour for jButton.

    Hi,
    I have a jButton in which I want to set the color of the body of the button to gray. But by setting the background color, the color of only the border surrounding the button is changed to red. How can I set the color of the the body of the button to gray?

    Maxideon wrote:
    Geeze. I never though it would be so hard to upload an image. It probably has to do with your location relative to where I uploaded (are you really in India?).Yes.
    Maybe those free hosting sights that show up in my google search are only US based.photobucket was the first result in my search, but I was surprised it isn't blocked ;-)
    I went ahead and created an account with photobucket. I'm assuming all I have to do is make the album public and provide a direct link (hopefully). Otherwise I just simply give up
    [Direct Link|http://i633.photobucket.com/albums/uu51/Maxideon/Button.png]
    [Share Link?|http://s633.photobucket.com/albums/uu51/Maxideon/?action=view&current=Button.png]
    Yup, I see it now. Tends to support what I said about system L&Fs (and you agreed)... I think if I was designing it, I would want to disallow even the red border :P
    Just a nitpick, but the whole purpose of the system L&Fs being to provide a user experience consistent with different OS'es, should one even be trying to change a button background? A splash of color can always be done with an Icon.I'm going to have to agree with you on this one.If the non-system look is absolutely necessary in a Vista L&F, a paintComponent override should be a solution. Or, in case multiple buttons are to be customized, a custom UI delegate inheriting from javax.swing.plaf.basic.BasicButtonUI.
    db

  • JDBC driver configuration for sybase in XI 3.0

    my client vendor upgraded sybase database version 8 to 11, then after we are facing connectivity problem.
    i deployed new JDBC for sybase ver 6.05..  jconn3.jar i am not sure this is the right version to deploy for sybase 11...
    still have the connectivity problem...
    do i need to configure this driver to work.
    if yes please assist me or provide any documentation
    Thanks in Advance
    Edited by: moiz2306 on Jul 18, 2011 8:15 AM

    Hi,
    Remove your old jaer file and deploy correct jar file once again.
    refer below link,it might be usefull
    http://iablog.sybase.com/hinsperg/2009/10/connecting-to-sql-anywhere-using-jdbc/
    Regards.
    Raj

  • Cannot set up certs for trusted CAs  on JDeveloper1013

    Hi Guys,
    When I use Apache HTTPClient to Connect to URL with NTLM Auth,
    I have got this problem:
    "Cannot set up certs for trusted CAs"
    and "java.lang.SecurityException"
    However, my source works fine with JDeveloper1013 on Windows 2000.
    JDK 1.4,2
    When I run it on Windows XP Pro, I got above Exception.
    The same souce code:
    Good enviroment:
    Window 2000, JDK1.4.2_XXX
    JDeveloper 1013
    Bad enviroment:
    WindowsXP Pro, JDK1.4.2_XXX
    JDeveloper1013
    Any idea.
    Thanks in advanced
    Thanks

    I haven't messed with 1.3 versions, but in 1.4.2 and later, the jce jar files have to be in <jre>/lib/security rather than in the classpath.
    HTH,
    John

  • Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,change remotes, no change.Help please.

    Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,changed remotes, no change. Latest software update. This is really annoying.  iPhone remote app works just fine.  Any suggestions?

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

Maybe you are looking for