JPanel not registering resize

Hello, I have several JPanels laid out with BorderLayout. The CENTER panel contains two JPanels with some custom painting in them. These two panels are laid out with GridLayout. When the user clicks on a button a label gets added to the SOUTH panel of the GridLayout causing it to grow larger and the CENTER panel to shrink. When this happens a call is made to resize the custom drawing in the two panels in the CENTER panel. When I call getWidth() and getHeight() it returns the old size of the panels instead of the new smaller size. When I click on the corner of the window like I would if I wanted to resize the whole thing getWidth() and getHeight() return the correct sizes and the custom painting is drawn correctly. Here is the code in question:
from the JFrame (extends ComponentListener)
public void componentResized(ComponentEvent e)
  reSizeGraphs();
public void componentHidden(ComponentEvent e)
public void componentMoved(ComponentEvent e)
public void componentShown(ComponentEvent e)
public void reSizeGraphs() // gets called when the CENTER JPanel is resized
  pop1_graph.reSize();
  pop2_graph.reSize();
}pop1_graph and pop2_graph are the two JPanels in the CENTER JPanel of the BorderLayout.
Here is the code in the pop_graphs:
public void reSize()
  width  = getWidth();
  height = getHeight();
  repaint();

make sure your
public void reSize() {
width = getWidth();
height = getHeight();
repaint();
ask the real panel size, not the JFrame size.
it seems your getWidth and getHeight always get the JFrame size.
try more specific like panel1.getWidth() and panel1.getHeight()
I quickly dvlp a test program, every thing works correctly,
that may not swing problem, there are some bug in your code.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Test extends JFrame {
  JButton b = new JButton("Click to add label");
  JPanel p1 = new JPanel();
  JPanel p2 = new JPanel();
  JPanel center = new JPanel(new GridLayout(1,2));
  JLabel label = new JLabel("Add to change the size");
  boolean added = false;
  public Test() {
    center.add(p1);
    center.add(p2);
    getContentPane().add(b, BorderLayout.WEST);
    getContentPane().add(center, BorderLayout.CENTER);
    p1.add(new JButton("anything"));
    p2.add(new JButton("anything"));
    p1.setBorder(BorderFactory.createLineBorder(Color.red, 2));
    p2.setBorder(BorderFactory.createLineBorder(Color.green, 2));
    //pack();
    setSize(400, 200);
    System.out.println("p1: width=" + getWidth()+ ", height=" + getHeight());  
    System.out.println("p2: width=" + getWidth()+ ", height=" + getHeight());
    p1.addComponentListener(new ComponentAdapter() {
      public void componentResized(ComponentEvent e) {
        System.out.println("p1: width=" + p1.getWidth()+
                           ", height=" + p1.getHeight());
    p2.addComponentListener(new ComponentAdapter() {
      public void componentResized(ComponentEvent e) {
        System.out.println("p2: width=" + p2.getWidth()+
                           ", height=" + p2.getHeight());
    b.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        if (added) { getContentPane().remove(label); }
        else { getContentPane().add(label, BorderLayout.SOUTH); }
        added = !added;
        validate();
  public static void main(String[] args) {
    JFrame f = new Test();
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.setVisible(true);
}

Similar Messages

  • CPIC-CALL Transaction program not registered Error while creating RFC Desti

    Hi All,
    I am trying to create a new RFC Destination.
    Details I have provided are..
    1.RFC Destination Name
    2.Connection Type - TCP/IP
    3.Description
    4. Activation Type - Registered Server Program.
    5.Program Id.
    6. Gateway Host and Gateway Service.
    But When I Test the connection, I am getting the following error.
    <b>" program xyz not registered / CPIC-CALL: 'ThSAPECMINIT'# Transaction program not registered"</b>
    However I was able to create and connect RFC Destinations successfully previously.
    I am not SAP guy. Could someone help resolve this issue.
    Thanks,
    Phani

    hi Sekhar,
    I request you to please help me out in this issue. I am getting similar kind of problem. I am trying to replicate the customer from CRM to R/3 and i get a bdoc message in SMW01 that "RFC connection failed please press the save button again". When the basis team further investigated they came up with the below error..
    User: CRREMOTE (Client: 071)
    Destination: OCR (handle: 1, , )
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1462
    CPIC-CALL: 'ThSAPECMINIT'
    Transaction program not registered
    DEST =OCR
    HOST =%%RFCSERVER%%
    PROG =dpssrfc
    Trace file opened at 20061121 140451 EST SAP-REL 640,0,109 RFC-VER
    3 804778
    resize I/O buffer to 28000 bytes
    >>>> [2] MQ_LINK      : TCP  <ac: 3> K %%RFCSERVER%% >>> OPEN
      {45632F14-288E-0046-0000-0000A888A7AA}-
    ======> CPIC-CALL: 'ThSAPECMINIT'
    can you please tell me where can be probelm. Regarding your message, where can i get the communication channel to assign the program id.
    Awaiting your reply,
    Thanks & Regards,
    Yogesh

  • JTable in JPanel last Column resize clips JTable doesnt repaint JPanel

    I have a JTable in a JPanel, when I drag the last column of the JTableHeader (u can see the column resizing as the text of the Table HeaderColumn moves with the drag) the JTable is outside the JPanel. Only when u click on another component and then click back on the JTableHeader does it repaint.
    I have tried jPanel.revalidate(); in the mouseDragged event of MouseMotionListener on the JTableHeader and all manner or repaints and fireTableStructureChanged. But I dont understand the order of events.
    The last bug to fix!!!
    NB I dont want to use scrollpane as its not necessary and as many tables are synchronized with one table it makes repaints less smooth
    Thanks Paul

    Well, I didn't find an answer but I did find a solution.
    The JPanel is the problem. I use it to help with layout which is not obvious in this example.
    As you can see in the code the JTable is placed in a JScrollPane which is place in a JPanel which is placed in a JTabbedPane.
    If I use Box instead of JPanel the JTable in the JScrollPane in the Box in the TabbedPane in the JFrame resizes correclty.
    So although JPanel is resizable with setSize it does not get resized when it's JFrame gets resized.
    I would still like to know why?
    ////////KBS
    JTabbedPane myTP = new JTabbedPane();
    Box myOne = Box.createHorizontalBox();
    Box myTwo = Box.createHorizontalBox();
    myOne.add(pane);
    myTP.add("One", myOne);
    myTP.add("Two", myTwo);
    ////////KBS

  • JFrame which does not allow resizing (maximizing, minimizng)

    I want to develop a login frame which does not allow resizing (maximizing, minimizing as this does not make sense) and with 2 fields, JTextField and JPasswordField.
    The frame is developed but has the usual resizing handles.
    How to do?
    Many tks for any information.
    John Pashley

    Don't use a JFrame. Also, don't expect code like this again; I did it for fun.
    It requires your modification.
    * Title:        Login Screen<p>
    * Description:  Login Screen<p>
    * Class:        Login ScreenLoginScreen<p>
    * Copyright:    who cares<p>
    * Company:      who cares<p>
    * @author who cares
    * @version who cares
    import java.awt.*;
    import java.awt.event.*;
    import java.net.URL;
    import java.util.Vector;
    import java.io.File;
    import javax.swing.*;
    public class LoginScreen extends JDialog implements ActionListener, FocusListener
       private JTextField      name;
       private JPasswordField  password;
       private JButton         loginButton;
       private JButton         cancelButton;
       private JDialog         thisDialog = this;
       private ImageIcon       splashImage;
       private String          appTitle;
       private int             logCounter;
       public LoginScreen()
          super();
          this.toFront();
          setTitle("Login");
          addWindowListener(new WindowAdapter()
             public void windowClosing(WindowEvent e)
                    System.exit(0);
          getContentPane().setLayout(new BorderLayout());
          splashImage = new ImageIcon( getClass().getResource("images" + File.separator + "image.jpg")) );
          getContentPane().add(new JLabel(splashImage), "North");
          getContentPane().add(makeLoginPanel(), "Center");
          getContentPane().add(makeButtonPanel(), "South");
          pack();
          setResizable(false);
          setLocationRelativeTo(null);
          setVisible(true);
        * make login panel
       private JPanel makeLoginPanel()
          JPanel loginPanel = new JPanel();
          JLabel label;
          loginPanel.setBorder(BorderFactory.createEmptyBorder(20, 20, 0, 20));
          GridBagLayout gbl = new GridBagLayout();
          GridBagConstraints gbc = new GridBagConstraints();
          loginPanel.setLayout(gbl);
          gbc.weightx = 1.0;
          gbc.fill = GridBagConstraints.HORIZONTAL;
          gbc.insets = new Insets(0, 5, 10, 5);
          gbc.gridx = 0;
          gbc.gridy = 0;
          label = new JLabel("Login Name:", SwingConstants.LEFT);
          gbl.setConstraints(label, gbc);
          loginPanel.add(label);
          gbc.gridx = 1;
          name = new JTextField("insider", 10);
          name.addFocusListener(this);
          gbl.setConstraints(name, gbc);
          loginPanel.add(name);
          gbc.gridx = 0;
          gbc.gridy = 1;
          label = new JLabel("Password:", SwingConstants.LEFT);
          gbl.setConstraints(label, gbc);
          loginPanel.add(label);
          gbc.gridx = 1;
          password = new JPasswordField("insider",10);
          password.addFocusListener(this);
          gbl.setConstraints(password, gbc);
          loginPanel.add(password);
          return loginPanel;
        * make button panel
       private JPanel makeButtonPanel()
          JPanel buttonPanel = new JPanel();
          buttonPanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
          //make LogIn button
          loginButton = new JButton("Login");
          loginButton.setActionCommand("Login");
          buttonPanel.add(loginButton);
          rootPane.setDefaultButton(loginButton);
          loginButton.addActionListener(this);
          this.getRootPane().setDefaultButton(loginButton);
          //make Cancel button
          cancelButton = new JButton("Cancel");
          cancelButton.setActionCommand("Cancel");
          buttonPanel.add(cancelButton);
          cancelButton.addActionListener(this);
          this.addKeyListener(new KeyAdapter()
             public void keyReleased(KeyEvent e)
                if(e.getKeyCode() == KeyEvent.VK_ESCAPE)
                   cancelButton.doClick();
             return buttonPanel;
        * Action handler for login and cancel buttons
       public void actionPerformed(ActionEvent e)
          JButton btn = (JButton) e.getSource();
          if (btn.getActionCommand().equals("Login"))
             // Because login() process happens before swing process (above),
             // force it to happen "later"
             SwingUtilities.invokeLater(new Runnable()
                public void run()
                   login(); //create this method, okay?!
          else if (btn.getActionCommand().equals("Cancel"))
             System.exit(0);
        * Focus gained handler for username and password buttons
       public void focusGained(FocusEvent e)
          JTextField tf = (JTextField) e.getSource();
          tf.selectAll();
        * Focus lost handler for username and password buttons
       public void focusLost(FocusEvent e) {}
       private void showErrorMessage(String message, String header)
          JOptionPane.showMessageDialog(getContentPane(),
                                        message, header,
                                        JOptionPane.ERROR_MESSAGE);
        * This method controls the cursor for login window. If isWait is set to
        * true, dialog's cursor is set to Cursor.WAIT_CURSOR. If isWait is set
        * to false, the cursor is set ta Deafult.
        * While the window is in WAIT mode, this method will also disable Login
        * and Cancel buttons to ensure the user does not accidently request
        * a cancel while loging in or launching a second login.
       private void setWaitCursor(boolean isWait)
          /* In order to disable login and cancel buttons while logging in to the
             application, this method will temporarely change action commands and
             reset them when login process failed to give user another chance.
             Note: Disabling the buttons by calling setEnabled(false) did not work
             since login() method is called from an action event handler and the
             process will not be released to AWT until login method is complete.
          if (isWait)
             this.getGlassPane().setCursor(new Cursor(Cursor.WAIT_CURSOR));
             this.getGlassPane().setVisible(true);
             loginButton.setActionCommand("none");
             cancelButton.setActionCommand("none");
          else
             this.getGlassPane().setCursor(Cursor.getDefaultCursor());
             this.getGlassPane().setVisible(false);
             loginButton.setActionCommand("Login");
             cancelButton.setActionCommand("Cancel");
    } //end loginscreen

  • Drawning text/images in a JPanel and then resizing/moving it with the mouse

    Hello ebverybody!
    I need to be able to draw some text objects in a JPanel and then resize/move it with the mouse... How could I do that!? Same for some images loaded from jpg files...
    Should I just paint the text and then repaint when the mouse selects it? How to do this selection?! Or should use something like a jLabel and then change it`s font metrics?!
    I need to keep track of the upper left corner of the text/image, as well as the width/height of it. This will be recorded in a file.
    The text/images need to smoothly move around the panel as the mouse drags when selectin an entity.. not just "click the entity, then click another point and the entity appears there as if by magic...":)
    Please, tell the best way to do that!
    Thanks everybody!
    Message was edited by:
    cassio.marques

    I know what you mean! This happened to me as well!
    And one thing that I found useful is, if you want to directly select a layer without selecting from the layers pallete and without having autoselect enabled, just hold Ctrl and click on in directly in the image. This saved me a lot of time!

  • KABA connection issue - program not registered

    I am trying to troubleshoot a connection error between SAP and KABA.  I have the RFC created in SAP and when I test the connection I get a program not registered.  The KABA "amsproc" service on the KABA side has been restarted, we have occasionally received a password locked message in the SAP system log after restarting the KABA service (I believe this means SAP and KABA are communicating).  We have since reset the password, but we can not successfully test the RFC and when attempting to send IDOC's out we get the program not registered error.  Is there something on the SAP side that needs to be done to register the program or is starting the service on the KABA side going to register the program with SAP?  Any assistance would be appreciated.

    Hi,
    In Central Management Console ie, Admin application of BOE, you need to configure the BW system. Use the below URL,
    http://<serverhostname>:<port>/CmcApp
    After logging in Select the Authentication and SAP as authentication type.  Regarding how to configure, follow the configuration steps mentioned in the below article:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a00ee3b2-5283-2b10-f1bf-8c6413e0898f
    Once you import the roles with the above configuration, the user with which you are validating the RFC connection will be imported in the BOE.
    Now, verify the RFC in the BW system.
    Regards,
    Noor.

  • Help: can not regist application in HP-UX 11.0

    My application work fine in iAS SP3 for Win2000, but when I deployed it to
    HP-UX 11.0, It can not regist the application in HP-UX.
    can any onr help me, thanks
    Lu yanqiang
    the error message is:
    HotSpot VM warning: Setting of property "java.compiler" is ignored
    creating engine class space...
    loading jx2util...
    loading jx2util...done
    Connected to LDAP server on websvr.sh-catcher.com port 389
    com.kivasoft.engine.EngineClassLoaderNonVersionable: EngineClassLoader
    constructer called
    com.kivasoft.engine.EngineClassLoaderNonVersionable: ! NVCL CREATED at:
    com.kivasoft.engine.EngineClassLoaderNonVersionable@1fbe93
    ECS initializing engine class loader instance.
    com.kivasoft.engine.EngineClassLoader: EngineClassLoader constructer called
    initGDSKey: GDSKey_Base
    initGDSKey- just put : com.kivasoft.IGDSKey_Base
    key=com.kivasoft.gds.GDSKey@41cd1f
    initGDSKey: GDSKey_Root
    initGDSKey- just put : com.kivasoft.IGDSKey_Root
    key=com.kivasoft.gds.GDSKey@31f71a
    initGDSKey: GDSKey_Current
    initGDSKey- just put : com.kivasoft.IGDSKey_Current
    key=com.kivasoft.gds.GDSKey@5601ea
    initGDSKey: GDSKey_CurrentEngine
    initGDSKey- just put : com.kivasoft.IGDSKey_CurrentEngine
    key=com.kivasoft.gds.GDSKey@17d257
    context= com.kivasoft.context.Context@6ee36c
    resolve property: GX.path.class GX_CLASSPATH SYSTEM_JAVA null
    resolve value: /opt/iplanet/ias6/ias/APPS
    resolve property: GX.path.class.core GX_CLASSPATH_CORE SYSTEM_JAVA
    java.;com.kivasoft.;gx.
    resolve value:
    java.;com.kivasoft.;gx.;com.netscape.;javax.;netscape.ldap.;netscape.tooluti
    l.
    resolve property: GX.versionable GX_VERSIONABLE SYSTEM_JAVA
    com.kivasoft.engine.IVersionable
    property not in GDS
    resolve value: com.kivasoft.engine.IVersionable
    resolve property: GX.all.versionable GX_ALL_VERSIONABLE SYSTEM_JAVA 0
    property not in GDS
    resolve value: 0
    resolve property: GX.taskmanager.period GX_TASKMANAGER_PERIOD SYSTEM_JAVA 10
    property not in GDS
    resolve value: 10
    resolve property: GX.versionable.if.extends GX_VERSIONABLE_IF_EXTENDS
    SYSTEM_JAVA javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
    property not in GDS
    resolve value: javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
    resolve property: GX.versionable.if.implements GX_VERSIONABLE_IF_IMPLEMENTS
    SYSTEM_JAVA javax.servlet.Servlet
    property not in GDS
    resolve value: javax.servlet.Servlet
    class_dir 4 AppPath: /opt/iplanet/ias6/ias/APPS/compiled_jsp
    loading component...{7ee76a00-a999-11d1-a16f-006097594151}
    getting threadLocal obj
    loading component...{91f29740-16e1-11cf-96c8-0020afed9a65}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.thread.ModuleThread
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.thread.ModuleThread appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.thread.ModuleThread
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.thread.ModuleThread loaded by primordial CL
    registered module... com.kivasoft.IModuleThread
    loading component...{91f29620-16e1-11cf-96c8-0020afed9a65}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderJ
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.bind.BinderJ
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
    loaded by primordial CL
    loading component...{ed049d80-b936-1548-e481-080020721767}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.eb.EJBBinder
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.eb.EJBBinder
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
    loaded by primordial CL
    EJBBinder: binder is GOOD..
    EJBBinder: context set obj for IID_IGXEBBinder
    loading component...{a84f0507-a912-11cf-aa6c-524153480000}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.gds.GDSModule
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.gds.GDSModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
    loaded by primordial CL
    registered module... com.kivasoft.IGDSModule
    loading component...{c70f2c00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderBase
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderBase
    loaded by primordial CL
    loading component...{c70f2d00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
    PCL cache
    loading component...{c70f1a00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.principal.PrincipalModule
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.principal.PrincipalModule appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.principal.PrincipalModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.principal.PrincipalModule loaded by primordial CL
    registered module... com.kivasoft.IPrincipalModule
    loading component...{35069f7a-0a09-1406-8f1a-0800208055c0}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
    PCL cache
    loading component...{e7d37500-23bf-11d1-b6c2-0060082beecf}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
    PCL cache
    loading component...{e7d37540-23bf-11d1-b6c2-0060082beecf}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
    PCL cache
    loading component...{be5cfde0-cd9e-11d1-94aa-0060083a5082}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.eb.EBModule
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModule
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.eb.EBModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModule loaded
    by primordial CL
    registered module... com.kivasoft.IEBModule
    The current input file= testdb.xml
    About to start xml -> descriptor conversion process
    xmlToDescriptor- file name=testdb.xml
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
    1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans 1.0//EN
    to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager 1.0//EN to
    uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
    servlet name = testdb
    !!! parseWebAppFromDOM() just put in setServlet name = testdb
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
    1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans 1.0//EN
    to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager 1.0//EN to
    uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
    !!! handleIASServlet(): Get servlet name= testdb
    AppComponentDescriptor: com.netscape.server.deployment.WebAppDescriptor
    All EnvEntries name:
    All Ejb-refs:
    All Resource-refs:
    WebApp package name = testdb
    Enter setupPluginInfoInGDS()
    creating ServletPatternTrans entry, url= /testdb
    webapp ContextRoot= null
    Enter getAllServlets,registeredServletNames.size= 0
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Enter getAllServlets,registeredServletNames.size= 0
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Enter getAllServlets,registeredServletNames.size= 0
    [01/Nov/2001 16:00:04:5] info: GDS-007: finished a registry load
    --- now put Web-app component descrptor into GDS
    webAppName = testdb
    Enter getAllServlets,registeredServletNames.size= 0
    Enter getAllServlets,registeredServletNames.size= 0
    getClassDefGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@540408
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getClassImpGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Now do some verification step and regenrate the web-app.xml.out file from
    GDS data
    getWebAppGDSKeyByPackageName: name to match= testdb
    got key to webapp= testdb
    enter WebAppCompGDSUtil.getDescriptorFromGDSByKey()
    About to process the <servlet-mapping> element
    GDSvalue name= /System/StaticServlet
    GDSvalue val= StaticServlet
    GDSvalue name= /System/JSPRunnerSticky
    GDSvalue val= JSPRunnerSticky
    GDSvalue name= /System/JSPRunner
    GDSvalue val= JSPRunner
    GDSvalue name= /System/FormAuthServlet
    GDSvalue val= FormAuthServlet
    GDSvalue name= /System/BasicAuthServlet
    GDSvalue val= BasicAuthServlet
    GDSvalue name= /System/CertAuthServlet
    GDSvalue val= CertAuthServlet
    GDSvalue name= /System/SessionInvalidator
    GDSvalue val= SessionInvalidator
    GDSvalue name= /fortune/fortune
    GDSvalue val= FortuneServlet
    GDSvalue name= /web/StaticServlet
    GDSvalue val= StaticServlet
    GDSvalue name= /web/JSPRunnerSticky
    GDSvalue val= JSPRunnerSticky
    GDSvalue name= /web/JSPRunner
    GDSvalue val= JSPRunner
    GDSvalue name= /web/FormAuthServlet
    GDSvalue val= FormAuthServlet
    GDSvalue name= /web/BasicAuthServlet
    GDSvalue val= BasicAuthServlet
    GDSvalue name= /web/CertAuthServlet
    GDSvalue val= CertAuthServlet
    GDSvalue name= /web/SessionInvalidator
    GDSvalue val= SessionInvalidator
    GDSvalue name= /web/AdderAlias
    GDSvalue val= AdderServlet
    GDSvalue name= /testdb/testdb
    GDSvalue val= testdb
    getServletMappingFromGDS: url= /testdb, servlet= testdb
    About to process the context-param
    [01/Nov/2001 16:00:06:7] info: GDS-007: finished a registry load
    About to process the mime-mapping
    About to process the servlets
    GDSvalue name= testdb
    GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    GDSvalue name= testdb.jsp
    GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    The returned hashtable for servlets have: 2 entries
    About to process the servlet name= testdb.jsp
    About to process the servlet name= testdb
    About to process the tld
    The returned vector for taglib have: 0 entries
    Finished getting a wd from gd s!!!
    Now ready to write out WebApp xml file
    descriptorToXml: about to get all servlets
    Enter getAllServlets,registeredServletNames.size= 2
    DescriptorManager.getServletByGuidStr, ctx=
    com.kivasoft.context.Context@6ee36c
    Enter getServletFromGDS
    getClassDefGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@76c74b
    load-on-startup value from GDS= 0
    number-of-singles value from GDS= 10
    DescriptorManager.getServletByGuidStr, ctx=
    com.kivasoft.context.Context@6ee36c
    write Xml to output file: web.xml.out
    Finished writing out j2ee xml file
    Enter getAllServlets,registeredServletNames.size= 2
    write Xml to output file: ias-web.xml.out
    Finished writing out IAS xml file
    Extracting JSPs from testdb.xml to /opt/iplanet/ias6/ias/APPS/
    Processing input WAR 1
    Processing input WARi 21 testdb.xml
    Encountered exception java.util.zip.ZipException processing input file testd

    Hi,
    What is the version of app server on HP UX ? How did you deploy on the app
    server in HP UX using command line deployment or GUI tool ? Where are these
    errors shooting from, are these coming at the time of deployment or thrown at
    runtime ? What is the application type that you are trying to deploy ?, if
    possible send me the kxs and kjs log files please.
    Regards
    Raj
    lu yanqiang wrote:
    My application work fine in iAS SP3 for Win2000, but when I deployed it to
    HP-UX 11.0, It can not regist the application in HP-UX.
    can any onr help me, thanks
    Lu yanqiang
    the error message is:
    HotSpot VM warning: Setting of property "java.compiler" is ignored
    creating engine class space...
    loading jx2util...
    loading jx2util...done
    Connected to LDAP server on websvr.sh-catcher.com port 389
    com.kivasoft.engine.EngineClassLoaderNonVersionable: EngineClassLoader
    constructer called
    com.kivasoft.engine.EngineClassLoaderNonVersionable: ! NVCL CREATED at:
    com.kivasoft.engine.EngineClassLoaderNonVersionable@1fbe93
    ECS initializing engine class loader instance.
    com.kivasoft.engine.EngineClassLoader: EngineClassLoader constructer called
    initGDSKey: GDSKey_Base
    initGDSKey- just put : com.kivasoft.IGDSKey_Base
    key=com.kivasoft.gds.GDSKey@41cd1f
    initGDSKey: GDSKey_Root
    initGDSKey- just put : com.kivasoft.IGDSKey_Root
    key=com.kivasoft.gds.GDSKey@31f71a
    initGDSKey: GDSKey_Current
    initGDSKey- just put : com.kivasoft.IGDSKey_Current
    key=com.kivasoft.gds.GDSKey@5601ea
    initGDSKey: GDSKey_CurrentEngine
    initGDSKey- just put : com.kivasoft.IGDSKey_CurrentEngine
    key=com.kivasoft.gds.GDSKey@17d257
    context= com.kivasoft.context.Context@6ee36c
    resolve property: GX.path.class GX_CLASSPATH SYSTEM_JAVA null
    resolve value: /opt/iplanet/ias6/ias/APPS
    resolve property: GX.path.class.core GX_CLASSPATH_CORE SYSTEM_JAVA
    java.;com.kivasoft.;gx.
    resolve value:
    java.;com.kivasoft.;gx.;com.netscape.;javax.;netscape.ldap.;netscape.tooluti
    l.
    resolve property: GX.versionable GX_VERSIONABLE SYSTEM_JAVA
    com.kivasoft.engine.IVersionable
    property not in GDS
    resolve value: com.kivasoft.engine.IVersionable
    resolve property: GX.all.versionable GX_ALL_VERSIONABLE SYSTEM_JAVA 0
    property not in GDS
    resolve value: 0
    resolve property: GX.taskmanager.period GX_TASKMANAGER_PERIOD SYSTEM_JAVA 10
    property not in GDS
    resolve value: 10
    resolve property: GX.versionable.if.extends GX_VERSIONABLE_IF_EXTENDS
    SYSTEM_JAVA javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
    property not in GDS
    resolve value: javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
    resolve property: GX.versionable.if.implements GX_VERSIONABLE_IF_IMPLEMENTS
    SYSTEM_JAVA javax.servlet.Servlet
    property not in GDS
    resolve value: javax.servlet.Servlet
    class_dir 4 AppPath: /opt/iplanet/ias6/ias/APPS/compiled_jsp
    loading component...{7ee76a00-a999-11d1-a16f-006097594151}
    getting threadLocal obj
    loading component...{91f29740-16e1-11cf-96c8-0020afed9a65}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.thread.ModuleThread
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.thread.ModuleThread appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.thread.ModuleThread
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.thread.ModuleThread loaded by primordial CL
    registered module... com.kivasoft.IModuleThread
    loading component...{91f29620-16e1-11cf-96c8-0020afed9a65}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderJ
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.bind.BinderJ
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
    loaded by primordial CL
    loading component...{ed049d80-b936-1548-e481-080020721767}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.eb.EJBBinder
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.eb.EJBBinder
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
    loaded by primordial CL
    EJBBinder: binder is GOOD..
    EJBBinder: context set obj for IID_IGXEBBinder
    loading component...{a84f0507-a912-11cf-aa6c-524153480000}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.gds.GDSModule
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.gds.GDSModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
    loaded by primordial CL
    registered module... com.kivasoft.IGDSModule
    loading component...{c70f2c00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderBase
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderBase
    loaded by primordial CL
    loading component...{c70f2d00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
    PCL cache
    loading component...{c70f1a00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.principal.PrincipalModule
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.principal.PrincipalModule appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.principal.PrincipalModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.principal.PrincipalModule loaded by primordial CL
    registered module... com.kivasoft.IPrincipalModule
    loading component...{35069f7a-0a09-1406-8f1a-0800208055c0}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
    PCL cache
    loading component...{e7d37500-23bf-11d1-b6c2-0060082beecf}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
    PCL cache
    loading component...{e7d37540-23bf-11d1-b6c2-0060082beecf}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
    PCL cache
    loading component...{be5cfde0-cd9e-11d1-94aa-0060083a5082}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.eb.EBModule
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModule
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.eb.EBModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModule loaded
    by primordial CL
    registered module... com.kivasoft.IEBModule
    The current input file= testdb.xml
    About to start xml -> descriptor conversion process
    xmlToDescriptor- file name=testdb.xml
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
    1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans 1.0//EN
    to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager 1.0//EN to
    uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
    servlet name = testdb
    !!! parseWebAppFromDOM() just put in setServlet name = testdb
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
    1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans 1.0//EN
    to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager 1.0//EN to
    uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
    !!! handleIASServlet(): Get servlet name= testdb
    AppComponentDescriptor: com.netscape.server.deployment.WebAppDescriptor
    All EnvEntries name:
    All Ejb-refs:
    All Resource-refs:
    WebApp package name = testdb
    Enter setupPluginInfoInGDS()
    creating ServletPatternTrans entry, url= /testdb
    webapp ContextRoot= null
    Enter getAllServlets,registeredServletNames.size= 0
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Enter getAllServlets,registeredServletNames.size= 0
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Enter getAllServlets,registeredServletNames.size= 0
    [01/Nov/2001 16:00:04:5] info: GDS-007: finished a registry load
    --- now put Web-app component descrptor into GDS
    webAppName = testdb
    Enter getAllServlets,registeredServletNames.size= 0
    Enter getAllServlets,registeredServletNames.size= 0
    getClassDefGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@540408
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getClassImpGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Now do some verification step and regenrate the web-app.xml.out file from
    GDS data
    getWebAppGDSKeyByPackageName: name to match= testdb
    got key to webapp= testdb
    enter WebAppCompGDSUtil.getDescriptorFromGDSByKey()
    About to process the <servlet-mapping> element
    GDSvalue name= /System/StaticServlet
    GDSvalue val= StaticServlet
    GDSvalue name= /System/JSPRunnerSticky
    GDSvalue val= JSPRunnerSticky
    GDSvalue name= /System/JSPRunner
    GDSvalue val= JSPRunner
    GDSvalue name= /System/FormAuthServlet
    GDSvalue val= FormAuthServlet
    GDSvalue name= /System/BasicAuthServlet
    GDSvalue val= BasicAuthServlet
    GDSvalue name= /System/CertAuthServlet
    GDSvalue val= CertAuthServlet
    GDSvalue name= /System/SessionInvalidator
    GDSvalue val= SessionInvalidator
    GDSvalue name= /fortune/fortune
    GDSvalue val= FortuneServlet
    GDSvalue name= /web/StaticServlet
    GDSvalue val= StaticServlet
    GDSvalue name= /web/JSPRunnerSticky
    GDSvalue val= JSPRunnerSticky
    GDSvalue name= /web/JSPRunner
    GDSvalue val= JSPRunner
    GDSvalue name= /web/FormAuthServlet
    GDSvalue val= FormAuthServlet
    GDSvalue name= /web/BasicAuthServlet
    GDSvalue val= BasicAuthServlet
    GDSvalue name= /web/CertAuthServlet
    GDSvalue val= CertAuthServlet
    GDSvalue name= /web/SessionInvalidator
    GDSvalue val= SessionInvalidator
    GDSvalue name= /web/AdderAlias
    GDSvalue val= AdderServlet
    GDSvalue name= /testdb/testdb
    GDSvalue val= testdb
    getServletMappingFromGDS: url= /testdb, servlet= testdb
    About to process the context-param
    [01/Nov/2001 16:00:06:7] info: GDS-007: finished a registry load
    About to process the mime-mapping
    About to process the servlets
    GDSvalue name= testdb
    GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    GDSvalue name= testdb.jsp
    GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    The returned hashtable for servlets have: 2 entries
    About to process the servlet name= testdb.jsp
    About to process the servlet name= testdb
    About to process the tld
    The returned vector for taglib have: 0 entries
    Finished getting a wd from gd s!!!
    Now ready to write out WebApp xml file
    descriptorToXml: about to get all servlets
    Enter getAllServlets,registeredServletNames.size= 2
    DescriptorManager.getServletByGuidStr, ctx=
    com.kivasoft.context.Context@6ee36c
    Enter getServletFromGDS
    getClassDefGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@76c74b
    load-on-startup value from GDS= 0
    number-of-singles value from GDS= 10
    DescriptorManager.getServletByGuidStr, ctx=
    com.kivasoft.context.Context@6ee36c
    write Xml to output file: web.xml.out
    Finished writing out j2ee xml file
    Enter getAllServlets,registeredServletNames.size= 2
    write Xml to output file: ias-web.xml.out
    Finished writing out IAS xml file
    Extracting JSPs from testdb.xml to /opt/iplanet/ias6/ias/APPS/
    Processing input WAR 1
    Processing input WARi 21 testdb.xml
    Encountered exception java.util.zip.ZipException processing input file testd

  • Gateway error - Program not registered

    Hello,
    We were getting the following error while doing a "Connection test" of a TCP/IP RFC destination:
    LOCATION    SAP-Gateway on host gisrxx / sapgw00
    ERROR       program SBCX not registered
    It's an ECC 6.0 system.
    I found SAP note - - 353597 - Registering a RFC program
    I executed the following command as sidadm
    rfcexec -aSBCX -ggisrxx -xsapgw00
    But the command keeps on running on teh command prompt.
    And for that duration the RFC works.
    But after sometime the command ends and comes back to command prompt and the RFC doesn't work any more.
    Could you tell what needs to be done to resolve this issue?
    Regards,
    Gautam.

    Hi Gautam,
    Please run the program in background (Unix) or as a service (Windows).
    Please go through the following forum post. This should help.
    Run rfcexec as service on windows
    Br,
    Venky

  • RFC : Transaction Program not Registered

    Hi Folks,
    We have registered the server program from the middleware onto SAP R/3 System and is successfully registered as per the logs. As a next step, we have logged into R/3 System, SM59, in the RFC destination (Type TCP/IP) after specifying the registered program, we have tested it(Connectivity test). The test is positive and connectivity is established successfully.
    The solution was working for months and suddenly connectivity is broken.
    To restore the connection, we have repeated the steps, registered the server program, tested and everything is fine.
    But when we have pushed a new message, then onwards the RFC destination shows an error. "TP is not registered", Return Code 679. That is when the first message is pushed, it is de-registering the server program and running into error. All the messages got stuck in SM58 with status 'Error when opening an RFC connection'.
    RFC trace shows
    ERVER> Caller transaction code:  (Caller Program: SAPLQOWK)
    ERVER> Called function module: ARFC_RUN_NOWAIT
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501
    CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
    Transaction program not registered.
    Please let me know for any inputs.
    Thanks, Suraj

    My problem got solved. In the middleware, when TRFC connection is made, it has created a lock entry during the time, system was brought down for maintenance activity. When the system is brought up, then as the connection lock entry is available, then it deregistered the server program and not able to establish further connection.
    To resolve the issue, we have just deleted lock file and registered server program from middleware. This time the connection was established successfully and could able to restore the message flow.
    Thanks, Suraj

  • TREX7.1 - Program not registered

    Hi to all experts,
    I am implementing TREX7.1 revision 36 (latest) which is standalone, but I encountered the error - program not registered while creating the RFC connection in admin tool. Previously the connection was working but it happens when I switched the RFCSERVER to "single thread (all hosts), deleted the old RFC connection and recreate the new one.
    I have tried the following methods:
    1. removed TREX and reinstall it again.
    2. executed rfcexec u2013g<program id> -a<gateway host name> -x<gateway service> (it seems like nothing has been changed) - I registered it in SAP server, am I correct?
    Thanks in advance.
    BR,
    Nancy

    Hi to all experts,
    Problem solved once i restarted the SAP server and recreated the RFC connection in TREX server.
    Another issue now, when i run the "python runInstallationTest.py", error occurs as below:
    --> Check 01: Ping TREX Services
    ++----
    ++----
    ++----
    STEP  ³³ ACTION              ³³ SPECIFICATION                ³³ RESULT
    ++----
    ++----
    ++----
    ++----
    ++----
    ++----
    Traceback (most recent call last):
      File "/usr/sap/TX1/TRX01/exe/python_support/testbase.py", line 709, in run
        ret = self.runHandler(*rest, **self.extractInheritedArgs(keys))
      File "runInstallationTest.py", line 710, in runHandler
        TREX_SHOW_STOPPER, webserver_unreachable, IS_QUEUE_SERVER = ps.ping()
      File "runInstallationTest.py", line 275, in ping
        services = HostPort4Services().getHostPort4Services()
      File "runInstallationTest.py", line 88, in __init__
        self.srvs = Services().getServices()
      File "runInstallationTest.py", line 69, in getServices
        content = Content('TREXDaemon.ini')
      File "runInstallationTest.py", line 33, in __init__
        self.content = self.getContent()
      File "runInstallationTest.py", line 42, in getContent
        raise RETURN_CODE(2, msg=msg)
    RETURN_CODE: RC_NO_SETTINGS
    No SAP_RETRIEVAL_PATH set in environment.
    ---> TEST ABORTED !!!
    Is this test run very important? Any idea what is this problem about?
    Many thanks in advance!
    BR,
    Nancy

  • SAPSLDAPI_UNICODE program not registered

    Hi,
    Iam making RFC unicode connetion in XI3.0 , i gave corect deatils when i test connection system gives error" program not registered".
    But when i execute LCRSAPRFC_UNICODE its success.Not sure why SAPSLDAPI_UNICODE giving error. I have maitained the entrys in visual administrator. Even then same problem
    1.      Execute transaction SM59 in the business system.
           2.      Choose Create.
           3.      Enter at least the following:
    ¡        RFC destination: SAPSLDAPI
    ¡        Connection type: T
    ¡        Description: SAPSLDAPI
            4.      Choose ENTER.
           5.      Choose the Technical settings tab page and do the following:
                                a.      In the Program ID field under Registered Server Program, enter SAPSLDAPI _UNICODE.
    Please suggest for this connection.
    -Cheers

    Also..in the Visual administrator see that the destination details are correct....it doesnot seem as if the program got registered to the sap gateway.....
    From the Visual Administrator for the destination, pls do a Save & Test...
    Thanks,
    Renjith

  • RFC Error: Program not registered

    Hi,
    We are presently facing issue with our GTS (Quality) and Seeburger system RFC connection. While doing the testing we are getting error as below:
    ======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
    Transaction program not registered
    ABAP Programm: RSRFCPIN (Transaction: SM59)
    User: TESTUSER (Client: 202)
    Destination: SEEBURGER_RFC (handle: 2, , )
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501
    CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
    Transaction program not registered
    DEST =SEEBURGER_RFC
    HOST =%%RFCSERVER%%
    PROG =BIS_ABC_202_DEV
    GWHOST =ABC.XYZ.STU.com
    GWSERV =sapgw15
    I have checked RFC connection is fine. Also production systems connection are working fine.
    Can anyone please help me out where to look in GTS or Seeburger to check about this issue and correct it.
    Thanks & Regards,
    Manish

    Hi Sunny,
    Thank you  for your suggestion, actually we have tried registration using rfcexec and it works fine.
    BTW, we have managed to solve this issue by de-activate the IDoc receive & send modules of websap component and activate them again.
    Thanks and Regards,
    Nick

  • IGS - Program Not Registered

    Experts,
    I am unable to get connection to IGS.<SID>. I get the following error - "Program IGS.<SID> Not Registered. Secondly When I try to execute SIGS it prompts me "could not reach IGS".
    I am able to register  with "Rfcexec" successfully, so that i can check via sigw and see that IGS.<SID> is registerd.
    But still, when i try to test the connection via sm59 for IGS_RFC_DEST it prompts me the same error.
    Any valuable suggestions/comments.
    Thanks,
    Shailendra

    it depends on your SAP version. do you see IGS in SAPMMC? if not ,this means that it is standalone and can be shutdown/started with Windows services.

  • Error 'Program not registered' while testing RFC

    Hi
    I have created a RFC with type T. When I am testing the same through SM59, I am getting error:
    Logon     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: program <program name>not registered
    Error Details     LOCATION: SAP-Gateway on host xxxxxx / sapgw01
    Error Details     DETAIL: TP <program name> not registered
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 6268
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 1694
    Error Details     RETURN CODE: 679
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Tue Jan 27 00:56:55 2009
    Error Details     VERSION: 2
    Can anybody help me in this?
    Thanks in advance

    Something helpful related to this
    The program in the above error should be registered in the gateway for this connection test to complete successfully. The server program rfcexec is responsible for its registration on the gateway.
    To register the program login into the OS level as sudo su - <sid>adm and execute the following command.
    rfcexec u2013g<program id> -a<gateway host name> -x<gateway service>
    rfcexec is the server program name, the <program id> can be obtained from SM59, it is case sensitive and should match with the entry in SM59. The <gateway host name> and <gateway service> can be obtained from the transaction SMGW. When this command is executed it goes to a hanging loop.
    The connection will fail once this command is terminated or the user executing this command logs off
    To avoid this, instead of using the above mentioned command an entry should be made in the file saprfc.ini
    To do this, execute the following command
    sudo su - <sid>adm
    rfcexec u2013D<destination name>
    <destination name> is the RFC destination name in SM59
    So now we are done with registering the server program, but how do we check it is registered, once a server program is registered it is displayed in the Logged on clients in SMGW.
    In transaction SMGW choose GOTO-> Logged on clients. There should be an entry for the server program in the screen that is displayed with system type Registered_TP (which indicates that the program is registered)

  • Error 'Program not registered' while testing RFC - SRM to MDM / TCP/IP conn

    Hello All,
    While testing RFC connection in SRM, we are getting this error. This connection between SRM to MDM. Any inputs will be highly appreciated.
    Error Details LOCATION: SAP-Gateway on host <hostname> / sapgw<instance no>
    our server OS : windows 2008 server
    We are getting error while doing connection test in SRM.
    This is sm59 connection (TCP/IP ) connection.
    Connection Type: T / RFC destination Name: MDM_API_CATALOG
    Registered server program: hostname.MDS
    I checked smgw transaction ..Logged on clients...Program id is not showing. Any hint will be helpful.
    I Checked this MDM setup also.
    MDS setup
    In mdm server go to folder F:\usr\sap\DM1\MDS00\config
    Open MDM.ini file in notepad
    Add the below 2 entries.
    SAP RFC Gateways= GWHOST=XXXX.hostnamexxx.xxx GWSERV=sapgw00
    Trusted SAP Systems= XXD
    This will enable gateway connection between SRM and MDM and will enable trusted connection.
    For trusted connections to work, we created a service user called SRM_MDM_API with SAP_ALL in SRM  and also created the same user in MDM with Default role.
    Error message:
    Logon  Connection Error
    Error Details    Error when opening an RFC connection
    Error Details    ERROR: program XXXXXXXXPRD.MDS not registered
    Error Details    LOCATION: SAP-Gateway on host XXXXXXXXprd.xx.xxxxxxhostname.xxx / sapgw00
    Error Details    DETAIL: TP XXXXXXXXPRD.MDS not registered
    Error Details    COMPONENT: SAP-Gateway
    Error Details    COUNTER: 77326
    Error Details    MODULE: gwr3cpic.c
    Error Details    LINE: 1778
    Error Details    RETURN CODE: 679
    Error Details    SUBRC: 0
    Error Details    RELEASE: 700
    Error Details    TIME:
    Error Details    VERSION: 2
    Procedure Tried
    1)  This procedure is for Linux OS - Similarly we tried in Windows OS ( If any procedure is wrong also, Please correct us)
    To register the program login into the OS level as sudo su u2013 <sid>adm and execute the following command.
    rfcexec u2013g<program id> -a<gateway host name> -x<gateway service>
    rfcexec is the server program name, the <program id> can be obtained from SM59, it is case sensitive and should match with the entry in SM59. The <gateway host name> and <gateway service> can be obtained from the transaction SMGW. When this command is executed it goes to a hanging loop.
    The connection will fail once this command is terminated or the user executing this command logs off
    2)
    To avoid this, instead of using the above mentioned command an entry should be made in the file saprfc.ini
    To do this, execute the following command
    sudo su u2013 <sid>adm
    rfcexec u2013D<destination name>
    <destination name> is the RFC destination name in SM59
    In order to do above step 2,  we could not find saprfc.ini in windows 2008 server. Please let us know path where it will be usually?
    3) Already checked the notes sapnote_0000684841
    I know that it is generic error..This is happening to specific one of system only.
    Thanks
    Edited by: saptest2011 on May 20, 2011 5:36 PM

    Hello SM,
    Thanks for your quick reply.
    Thanks for sharing link for document ie Configure the MDM Administration_cockpit. It is helpful. I read that document.
    But still issue remain there.
    The same RFC connection works between SRM sandbox to MDM sandbox.
    Only issue with SRM Prod to MDM Prod (newly built system)
    difference between MDM Prod and MDM sandbox.
    MDM Prod runs: Windows server 2008 OS
    MDM Sandbox runs: Windows server 2003 OS
    Landscape: PI7.1, MDM 7.1 and SRM 5.5, SRM-MDM Catalog 3.0
    Even i did os01 tcode ping test using host name (specific IP address) from SRM prod to MDM prod, it is fine.
    Thanks a lot for your help.
    I checked these notes also
    Note 353597 - Registering a server program
    Note 44844 - No connection to registered RFC program
    Note: in smgw tcode in SRM system, the required program id is not showing in logged on clients
    Thanks
    Edited by: saptest2011 on May 23, 2011 5:00 PM
    Edited by: saptest2011 on May 23, 2011 5:39 PM

Maybe you are looking for

  • Report job is not run at scheduled time

    OS:WindowsServer2008R2 Oracle BI 11g(11.1.1.6.0) CT defined a report job ==== Frequency Daily Start 2013/01/14 AM 06:00:00 End 2020/01/14 PM 11:59:00 timezone [GMT+09:00]Osaka,Tokyo ==== but he found the report is not run at 06:00:00 at 2013/01/16 08

  • Music order in iTunes 9 Library

    Older versions of iTunes automatically omitted "the", "a" and "an" (also "el", "la", "los" and "las" in Spanish) in the order fields when importing music to the Library, so "The Receiving End of Sirens", for example, would appear not under "T" but un

  • Cannot log in to web based app builder

    I have created an app for iOS and would now like to do an Android version, so following the instructions on the Adobe site I try and log into the web based app builder but get the following message 'ERROR This account does not have permission to acce

  • How do we change the USA store to Canada store???

    i dont understand how, ive change to USA,but i dont know how to rechange?

  • Refreshing Jtable data

    Hi: I am also working on a Application where I hav eto update my data (i.e. vector<vector>) for rows. Help is urgent.Since the data updated is overlapping. I have added my Jtable toa panel. and i put>> jtable.refresh(); This idoesn't work. Thanking y