IllegalStateException problem...

Hi, I have a problem with a jsp application. I have a form which I use to access to a secured area. To login I send to a servlet the username and the password but the result is this error:
java.lang.IllegalStateException
     org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:435)
     UnicolorController.doGet(UnicolorController.java:119)
     UnicolorController.doPost(UnicolorController.java:127)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
the code responsable of this is the following (a little piece from doGet(HttpServletRequest req, HttpServletResponse res) method)
        else if (action.equals("private") ) {
            HttpSession sessione = req.getSession(true);
            if (sessione.getAttribute("unicolor.utente") != null ) {
                Utente utente = (Utente)sessione.getAttribute("unicolor.utente");
                String p = utente.getPrivilegi();
                if (p.equals("admin")) {
                    res.sendRedirect("../admin_panel.jsp");
                } // else ... qua va inserito il codice nel caso ci siano utenti
                  // non admin ad effettuare l'accesso.
            } else {
                String user = req.getParameter("username");
                String pass = req.getParameter("password");
              //controlli
                if (user == null) user="";
                if (pass == null) pass="";
                String privilegi = null;
                try {
                    if (!DBInterface.driverLoad())
                        res.sendRedirect("../errore.jsp");
                    else {
                        Connection c = DBInterface.connect();
                        Statement s = c.createStatement();
                        ResultSet r = s.executeQuery("SELECT privilegi FROM utenti "+
                              "WHERE user=\'"+DBInterface.codificaApici(user)+
                              "\' AND password=\'"+DBInterface.codificaApici(pass)+"\'");
                        if (r.next())
                            privilegi = r.getString("privilegi");
                        else
                            res.sendRedirect("../privato.jsp");
                        r.close();
                        s.close();
                        c.close();
                } catch (SQLException e) {
                    res.sendRedirect("../errore.jsp");
                if (privilegi != null) {
                    //controllo i privilegi in base ai quali accedo alla sezione
                    Utente u = new Utente(user,pass,privilegi);
                    sessione.setAttribute("unicolor.utente", u);
                    if (privilegi.equals("admin"))
                            res.sendRedirect("admin_panel.jsp");
                    //else... per utenti non admin
                } else  if (user.length() > 0)
                            res.sendRedirect("../login_fallito.jsp");
                        else
                            res.sendRedirect("../privato.jsp");
[...]I overrided the method doPost by calling doGet in it and passing the same parameters...
The code in the JSP page is the following:
                    <form id="access" name="privato" method="post" action="servlet/controller?act=private" >
                        <table align="center">
                          <tr>
                            <td class="stile_form">Username:</td>
                            <td class="stile_form"><input name="username" type="text" size="20" maxlength="20" /></td>
                          </tr>
                          <tr>
                            <td class="stile_form">Password:</td>
                            <td class="stile_form"><input name="password" type="password" size="20" maxlength="20" /></td>
                          </tr>
                        </table>
                        <label>
                            <input type="submit" name="button" id="button" value="Accedi" />
                        </label>
                    </form>Anybody can help me?
thanks in advance

Well you've got a line number to work from. Which one of those is line 119 of the doGet method?
The only way to figure it out I think will be to trace it through.
I have one suggestion that might make it easier to follow though.
Have only ONE sendRedirect in your method.
Replace the other ones with setting a variable, and then use that variable in your redirect at the end of your method.
ie
String nextPageToGoTo == SUCCESS_PAGE;
if (somethingWrong){
  nextPageToGoTo = ERROR_PAGE;
response.sendRedirect(nextPageToGoTo);Its a medium sized change to the code, but it should make it easier to trace, and prevent double redirects.

Similar Messages

  • Problems with OracleAS adapter for Siebel

    Hi,
    I have a problem starting the Java data bean connection from the OracleAS Adapter Application Explorer. When I try to connect to my Siebel Instance I get the following error from the application explorer
    Problem Activating adapter. (null). See logs for details.
    When I look in my logs $ORACLE_HOME/adapters/application/config/siebelconnection/logs I get the following information
    Wed, 11 Oct 2006 16:51:28.0188 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA]
    Found adapter 'IWAF'
    Wed, 11 Oct 2006 16:51:28.0204 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA]
    Found adapter 'Siebel'
    Wed, 11 Oct 2006 16:51:28.0219 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA]
    [storage] Repository URL 'file:///space/oracle/product/10.1.2.0.2/eaidev1/adapte
    rs/application/config/SiebelConnection/repository.xml' resolved to repositoty ty
    pe: file
    Wed, 11 Oct 2006 16:51:28.0220 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA]
    [storage] Getting Repository reference: 'file:///space/oracle/product/10.1.2.0.2
    /eaidev1/adapters/application/config/SiebelConnection/repository.xml&user=null&p
    assword=***'...
    Wed, 11 Oct 2006 16:51:28.0394 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA]
    [storage] Created Repository System storage.
    Wed, 11 Oct 2006 16:51:28.0398 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA]
    [state] State Repository URL 'file:///space/oracle/product/10.1.2.0.2/eaidev1/ad
    apters/application/config/SiebelConnection/st_repository.xml' repositoty type: f
    ile
    Wed, 11 Oct 2006 16:51:28.0399 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA]
    [state] Getting Repository reference: 'file:///space/oracle/product/10.1.2.0.2/e
    aidev1/adapters/application/config/SiebelConnection/st_repository.xml&user=null&
    password=***'...
    "aejca_1160581888102.log" 100 lines, 13137 characters
    Wed, 11 Oct 2006 16:51:28.0188 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] Found adapter 'IWAF'
    Wed, 11 Oct 2006 16:51:28.0204 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] Found adapter 'Siebel'
    Wed, 11 Oct 2006 16:51:28.0219 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [storage] Repository URL 'file:///space/oracl
    e/product/10.1.2.0.2/eaidev1/adapters/application/config/SiebelConnection/repository.xml' resolved to repositoty type: file
    Wed, 11 Oct 2006 16:51:28.0220 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [storage] Getting Repository reference: 'file
    :///space/oracle/product/10.1.2.0.2/eaidev1/adapters/application/config/SiebelConnection/repository.xml&user=null&password=**
    Wed, 11 Oct 2006 16:51:28.0394 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [storage] Created Repository System storage.
    Wed, 11 Oct 2006 16:51:28.0398 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [state] State Repository URL 'file:///space/o
    racle/product/10.1.2.0.2/eaidev1/adapters/application/config/SiebelConnection/st_repository.xml' repositoty type: file
    Wed, 11 Oct 2006 16:51:28.0399 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [state] Getting Repository reference: 'file:/
    //space/oracle/product/10.1.2.0.2/eaidev1/adapters/application/config/SiebelConnection/st_repository.xml&user=null&password=*
    Wed, 11 Oct 2006 16:51:28.0415 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [state] Created State Repository System stora
    ge.
    Wed, 11 Oct 2006 16:51:28.0449 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Creating IWAF Container classload
    er using libdir '/space/oracle/product/10.1.2.0.2/eaidev1/adapters/application/lib'.
    Wed, 11 Oct 2006 16:51:28.0751 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] *********************************
    Wed, 11 Oct 2006 16:51:28.0752 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Building adapters list...
    Wed, 11 Oct 2006 16:51:28.0753 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] *********************************
    Wed, 11 Oct 2006 16:51:28.0754 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] *********************************
    Wed, 11 Oct 2006 16:51:28.0754 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Adapter: Siebel
    Wed, 11 Oct 2006 16:51:28.0755 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] *********************************
    Wed, 11 Oct 2006 16:51:28.0755 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Inspecting adapter 'Siebel' modul
    es.
    Wed, 11 Oct 2006 16:51:28.0770 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Skiping IWAF Container adapter.
    Wed, 11 Oct 2006 16:51:28.0807 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] *********************************
    Wed, 11 Oct 2006 16:51:28.0808 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Building default security manager
    Wed, 11 Oct 2006 16:51:28.0809 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] *********************************
    Wed, 11 Oct 2006 16:51:28.0811 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] iway.home is set to '/space/oracl
    e/product/10.1.2.0.2/eaidev1/adapters/application'.
    Wed, 11 Oct 2006 16:51:28.0812 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] iway.config is set to 'SiebelConn
    ection'.
    Wed, 11 Oct 2006 16:51:28.0813 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Using default: keystore.type=jks
    and keystore.password=iwaysoftware
    Wed, 11 Oct 2006 16:51:28.0814 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Security manager using keystore :
    /space/oracle/product/10.1.2.0.2/eaidev1/adapters/application/config/SiebelConnection/security/keystore.jks
    Wed, 11 Oct 2006 16:51:29.0416 BST - Thread[Thread-5,6,main] [warn ] [IWAF JCA] [container] Security manager will not be avai
    lable due to problem.
    java.lang.IllegalStateException: Problem loading keystore: java.io.EOFException; make sure the password is correct
    at com.iwaysoftware.security.KeyStoreUtil.getKeyStore(KeyStoreUtil.java:39)
    at com.ibi.adapters.util.security.SecurityManagerImpl.<init>(SecurityManagerImpl.java:45)
    at com.iwaysoftware.af.container.IWAFFactory.buildSecurityManager(IWAFFactory.java:209)
    at com.iwaysoftware.af.container.IWAFContainer.start(IWAFContainer.java:169)
    at com.ibi.afjca.spi.IWAFManagedConnectionFactory.getContainer(IWAFManagedConnectionFactory.java:536)
    at com.ibi.afjca.spi.IWAFManagedConnectionFactory.createManagedConnection(IWAFManagedConnectionFactory.java:215)
    at com.ibi.afjca.spi.IWAFConnectionManager.allocateConnection(IWAFConnectionManager.java:35)
    at com.ibi.afjca.cci.IWAFConnectionFactory.getConnection(IWAFConnectionFactory.java:103)
    at com.iwaysoftware.iwae.common.JCATransport.initJCA(JCATransport.java:104)
    at com.iwaysoftware.iwae.common.JCATransport.<init>(JCATransport.java:85)
    at com.iwaysoftware.iwae.common.AdapterClient.<init>(AdapterClient.java:85)
    at com.ibi.bse.ConfigWorker.run(ConfigWorker.java:41)
    at java.lang.Thread.run(Thread.java:595)
    Wed, 11 Oct 2006 16:51:29.0419 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] *********************************
    Wed, 11 Oct 2006 16:51:29.0420 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Starting IWAF container managers.
    Wed, 11 Oct 2006 16:51:29.0420 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] *********************************
    Wed, 11 Oct 2006 16:51:29.0420 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF AdapterManager starting...
    Wed, 11 Oct 2006 16:51:29.0421 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF AdapterManager started.
    Wed, 11 Oct 2006 16:51:29.0421 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF ChannelManager starting...
    Wed, 11 Oct 2006 16:51:29.0421 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF ChannelManager started.
    Wed, 11 Oct 2006 16:51:29.0422 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF ChainManager starting...
    Wed, 11 Oct 2006 16:51:29.0422 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF ChainManager started.
    Wed, 11 Oct 2006 16:51:29.0422 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF PortManager starting...
    Wed, 11 Oct 2006 16:51:29.0422 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF PortManager started.
    Wed, 11 Oct 2006 16:51:29.0423 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:29.0423 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] IWAF AEManager start
    ing...
    Wed, 11 Oct 2006 16:51:29.0423 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:29.0424 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:29.0424 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] Building Target ID l
    ist..
    Wed, 11 Oct 2006 16:51:29.0424 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:29.0826 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] Creating TID for ada
    pter 'Siebel' configuration 'ReutersSiebel'.
    Wed, 11 Oct 2006 16:51:29.0840 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [Siebel.service_ReutersSiebel] Cr
    eated adapter instance for class'class com.ibi.adapter.siebelaf.SiebelAdapter'.
    Wed, 11 Oct 2006 16:51:29.0892 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:29.0893 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] Building Port list..
    Wed, 11 Oct 2006 16:51:29.0893 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:29.0902 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:29.0902 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] Building Channel lis
    t..
    Wed, 11 Oct 2006 16:51:29.0911 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:29.0945 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [Siebel.channel_ReutersSiebelHTTP
    ] Created adapter instance for class'class com.ibi.http.adapter.HTTPListenerAdapter'.
    Wed, 11 Oct 2006 16:51:29.0955 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] Creating channel for
    adapter 'Siebel' configuration 'ReutersSiebelHTTP'.
    Wed, 11 Oct 2006 16:51:29.0992 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] IWAF AEManager start
    ed.
    Wed, 11 Oct 2006 16:51:29.0992 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:30.0008 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF contained started.
    Wed, 11 Oct 2006 16:51:30.0018 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA IAEAdapter] IWAFManagedConnection for IAEAdapt
    er:null has listener registered: com.ibi.afjca.spi.IWAFConnectionManager@cb754f
    Wed, 11 Oct 2006 16:51:31.0282 BST - Thread[AWT-EventQueue-0,6,main] [info ] [IWAF JCA] [container] Loaded and initialized ad
    apter class 'com.ibi.adapter.siebelaf.SiebelAdapter'.
    Wed, 11 Oct 2006 16:51:31.0289 BST - Thread[AWT-EventQueue-0,6,main] [info ] [IWAF JCA] [container] Loaded and initialized ad
    apter class 'com.ibi.http.adapter.HTTPListenerAdapter'.
    Wed, 11 Oct 2006 16:51:31.0303 BST - Thread[AWT-EventQueue-0,6,main] [info ] [IWAF JCA] [container] [com.ibi.mq.MQListenerAda
    pter] init called.
    Wed, 11 Oct 2006 16:51:31.0303 BST - Thread[AWT-EventQueue-0,6,main] [info ] [IWAF JCA] [container] Loaded and initialized ad
    apter class 'com.ibi.mq.MQListenerAdapter'.
    Wed, 11 Oct 2006 16:51:31.0332 BST - Thread[AWT-EventQueue-0,6,main] [info ] [IWAF JCA] [container] [com.ibi.file.FileListene
    rAdapter] init called.
    Wed, 11 Oct 2006 16:51:31.0332 BST - Thread[AWT-EventQueue-0,6,main] [info ] [IWAF JCA] [container] Loaded and initialized ad
    apter class 'com.ibi.file.FileListenerAdapter'.
    Wed, 11 Oct 2006 16:51:58.0450 BST - Thread[Thread-7,6,main] [info ] [IWAF JCA] [container] [Siebel.service_ReutersSiebel] Cr
    eated adapter instance for class'class com.ibi.adapter.siebelaf.SiebelAdapter'.
    Wed, 11 Oct 2006 16:51:58.0811 BST - Thread[Thread-7,6,main] [error] [IWAF JCA] [container] [Siebel.service_ReutersSiebel] Pr
    oblem activating adapter. (null). Check logs for more information
    java.lang.IllegalStateException
    at com.ibi.adapter.siebelaf.SiebelAdapter.activate(SiebelAdapter.java:143)
    at com.iwaysoftware.af.container.adapter.ProxyAdapter.activate(ProxyAdapter.java:104)
    at com.iwaysoftware.af.container.adapter.AdapterConfiguration.activateAdapter(AdapterConfiguration.java:319)
    at com.iwaysoftware.af.container.adapter.AdapterConfiguration.getActivatedAdapter(AdapterConfiguration.java:299)
    at com.iwaysoftware.af.container.AdapterManager.getActivatedAdapter(AdapterManager.java:269)
    at com.iwaysoftware.af.container.IWAFContainer.getActivatedAdapter(IWAFContainer.java:526)
    at com.iwaysoftware.af.container.AEManager.getTargetAdapter(AEManager.java:646)
    at com.iwaysoftware.af.container.ae.AETargetMessage.buildGETTARGET(AETargetMessage.java:255)
    at com.iwaysoftware.af.container.ae.AETargetMessage.build(AETargetMessage.java:84)
    at com.iwaysoftware.af.container.ae.AETargetMessage.<init>(AETargetMessage.java:54)
    at com.iwaysoftware.af.container.AEManager.dispatch(AEManager.java:131)
    at com.iwaysoftware.af.container.IWAFContainer.dispatchAERequest(IWAFContainer.java:612)
    at com.ibi.afjca.cci.IWAFInteraction.execIWAE(IWAFInteraction.java:270)
    at com.ibi.afjca.cci.IWAFInteraction.exec(IWAFInteraction.java:155)
    at com.ibi.afjca.cci.IWAFInteraction.execute(IWAFInteraction.java:93)
    at com.iwaysoftware.iwae.common.JCATransport.execute(JCATransport.java:204)
    at com.iwaysoftware.iwae.common.AdapterClient.getTarget(AdapterClient.java:293)
    at com.ibi.bse.TargetWorker.run(TargetWorker.java:37)
    at java.lang.Thread.run(Thread.java:595)
    My platform is AS 10g (10.1.2.0.2) with Adapters (10.1.2.0.2) on Solaris 10. I am connecting to a Siebel 7.8 instance running on Windows 2000 SP4.
    I would be very grateful of any help you could give.
    Regards,
    Mark.

    Hi,
    There could be couple of possible reasons for this. Please see below:
    1. When you configure a adapter target for Siebel 7.7 or 7.8, do not supply a value for "Siebel Server" field. Please see details related to this in the "Defining a Target to Siebel" section of the Siebel adapter user guide.
    2. If the adapter is installed in the UNIX platform, then necessary encoding should be added to the Application Explorer and the Application Server. Please see the details for this in the "Establishing a Connection (Target) for Siebel" of the Siebel adapter user guide.
    Let me know whether this sorts out the issue or not.
    Regards,
    Kris

  • Java.lang.IllegalStateException

    I am working with typical Model1 JSPs for web interface,Where I am facing 'java.lang.IllegalStateException' problem,In which scenarios it could occur.
    Thanks
    Ashok Kumar

    HI Ashok,
    Can u send some sample of your code or exception so we could have a look.
    thanks,
    Sachin Dere

  • IWAY Adapter(siebel): Error while using Applicaiton Explorer

    Hi,
    I tried configuring iway adapter(Siebel) for XI to connect to Siebel system.
    <b>Steps followed</b>
    Deployed iWay Connector for XI, JCA TestTool and Deployed Application Explorer.
    Configured iWay business service engine (File Repository).
    When I use Application explorer and create a New Siebel target and try to connect, if get the error “Problem activating adapter.” I found the following in Error logs.... IWAY55\config\base\log, i found <b>aejca_XXX.log</b>
    <i>Mon, 14 Aug 2006 11:00:23.0690 PDT - SAPEngine_Application_Thread[impl:3]_31 [info ] [IWAF JCA] [container] Using default: keystore.type=jks and keystore.password=iwaysoftware
    Mon, 14 Aug 2006 11:00:23.0690 PDT - SAPEngine_Application_Thread[impl:3]_31 [info ] [IWAF JCA] [container] Security manager using keystore : /usr/home/xidadm/iWay55/config/base/security/keystore.jks
    Mon, 14 Aug 2006 11:00:23.0695 PDT - SAPEngine_Application_Thread[impl:3]_31 [warn ] [IWAF JCA] [container] <b>Security manager will not be available due to problem.
    java.lang.IllegalStateException: Problem loading keystore: java.io.FileNotFoundException: /usr/home/xidadm/iWay55/config/base/security/keystore.jks (No such file or directory); make sure the password is correct</b>
    at com.iwaysoftware.security.KeyStoreUtil.getKeyStore(KeyStoreUtil.java:39)
    at com.ibi.adapters.util.security.SecurityManagerImpl.<init>(SecurityManagerImpl.java:45)
    at com.iwaysoftware.af.container.IWAFFactory.buildSecurityManager(IWAFFactory.java:209)
    at com.iwaysoftware.af.container.IWAFContainer.start(IWAFContainer.java:169)
    at com.ibi.afjca.spi.IWAFManagedConnectionFactory.getContainer(IWAFManagedConnectionFactory.java:492)
    at com.ibi.afjca.spi.IWAFManagedConnectionFactory.createManagedConnection(IWAFManagedConnectionFactory.java:206)
    at com.ibi.afjca.spi.IWAFConnectionManager.allocateConnection(IWAFConnectionManager.java:31)</i>
    Is a keystore file mandatory..? It dosen't get created during standard installation. do we have to create it manually..?
    Regards,
    siva

    Hi Siva,
    Plz check whether you kept the correct JAR files(drivers) related to siebel in the lib folder of the iWay installation directory.
    And also check whether you have given the iWay root directory path during creating configuration in Application explorer

  • Connection to CRX via RMI and getting WeakReference value..... with an exception!

    Hi there,
    I have the following problem.
    I opened a ticket in Day Care Support system, about CRX users/group membership that got lost while synchronization with our LDAP server.
    Although when the user and the group had been created (and therefore taken from that same LDAP server), the membership was good.... but after some time the membership got lost......
    So what i am trying to do now is a Java program that connects to CRX via RMI.
    And gets the list of all the users from a group (aka membership).
    The idea is to monitor the membership each seconds.
    But when trying to get the property "rep:members" of the group, I have the following exception :
    javax.jcr.ValueFormatException: Unknown value type 10
              at org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(ServerObject.java:13 9)
              at org.apache.jackrabbit.rmi.server.ServerProperty.getValues(ServerProperty.java:71)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
              at java.lang.reflect.Method.invoke(Method.java:611)
              at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)"
    I searched a little bit and found that "10" is the number for type WeakReference.
    That's normal to me because memberships are stored in the group as a list reference to users linked to that group....
    Anyways, what's not normal to me is that when the type is "10" the API does not let me get the Value (cf. ServerProperty.getValues() method)
    Here is the program:
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.Map;
    import javax.imageio.spi.ServiceRegistry;
    import javax.jcr.Node;
    import javax.jcr.NodeIterator;
    import javax.jcr.Property;
    import javax.jcr.PropertyIterator;
    import javax.jcr.Repository;
    import javax.jcr.RepositoryException;
    import javax.jcr.RepositoryFactory;
    import javax.jcr.Session;
    import javax.jcr.SimpleCredentials;
    import javax.jcr.Value;
    public class Test {
              public static void main(String[] args) {
                        String uri = "rmi://sma11c02.............:1234/crx";
                        String username = "admin";
                        char[] password = {....................};
                        String workspace = "crx.default";
                        String nodePath = "/home/groups/a";
                        Repository repository = null;
                        Session session = null;
                        try {
                                  // Connection to repository via RMI
                                            Map<String, String> jcrParameters = new HashMap<String, String>();
                                            jcrParameters.put("org.apache.jackrabbit.repository.uri", uri);
                                            Iterator<RepositoryFactory> iterator = ServiceRegistry.lookupProviders(RepositoryFactory.class);
                                            while (null == repository && iterator.hasNext()) {
                                                      repository = iterator.next().getRepository(jcrParameters);
                                  if (repository == null) {
                                            throw new IllegalStateException("Problem with connection to the repository...");
                                  // Creation of a session to the workspace
                                  session = repository.login(new SimpleCredentials(username, password), workspace);
                                  if (session == null) {
                                            throw new IllegalStateException("Problem with creation of session to the workspace...");
                                  // Get the targetted node
                                  Node node = session.getNode(nodePath);
                                  System.out.println("Node : " + node.getName());
                                  System.out.println();
                                  PropertyIterator properties = node.getProperties();
                                  System.out.println("List of properties for this node :");
                                  while (properties.hasNext()) {
                                            Property property = properties.nextProperty();
                                            System.out.print("\t"+property.getName() + " : ");
                                            if (property.isMultiple()) {
                                                      Value[] values = property.getValues();
                                                      for (int i = 0; i < values.length; i++) {
                                                                System.out.print(values[i]);
                                                                if (i+1 != values.length) {
                                                                          System.out.print(", ");
                                                      System.out.println();
                                            } else {
                                                      Value value = property.getValue();
                                                      System.out.println(value);
                                  System.out.println();
                                  NodeIterator kids = node.getNodes();
                                  System.out.println("List of children nodes for this node :");
                                  while (kids.hasNext()) {
                                            Node kid = kids.nextNode();
                                            System.out.println("\tChild node : "+kid.getName());
                                            PropertyIterator kidProperties = kid.getProperties();
                                            System.out.println("List of properties for this child :");
                                            while (kidProperties.hasNext()) {
                                                      Property property = kidProperties.nextProperty();
                                                      System.out.print("\t"+property.getName() + " : ");
                                                      if (property.isMultiple()) {
                                                                Value[] values = property.getValues();
                                                                for (int i = 0; i < values.length; i++) {
                                                                          System.out.print(values[i]);
                                                                          if (i+1 != values.length) {
                                                                                    System.out.print(", ");
                                                                System.out.println();
                                                      } else {
                                                                Value value = property.getValue();
                                                                System.out.println(value);
                                            System.out.println();
                        } catch (RepositoryException e) {
                                  e.printStackTrace();
                        } finally {
                                  if (session != null) {
                                            session.logout();
    Here is the output of the below program:
    Node : a
    List of properties for this node :
              jcr:createdBy : admin
              jcr:mixinTypes : mix:lockable
              jcr:created : 2011-10-25T16:58:48.140+02:00
              jcr:primaryType : rep:AuthorizableFolder
    List of children nodes for this node :
              Child node : administrators
    List of properties for this child :
              jcr:createdBy : admin
              rep:principalName : administrators
              rep:members : javax.jcr.ValueFormatException: Unknown value type 10
              at org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(ServerObject.java:13 9)
              at org.apache.jackrabbit.rmi.server.ServerProperty.getValues(ServerProperty.java:71)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
              at java.lang.reflect.Method.invoke(Method.java:611)
              at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
              at sun.rmi.transport.Transport$1.run(Transport.java:171)
              at java.security.AccessController.doPrivileged(AccessController.java:284)
              at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
              at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
              at java.lang.Thread.run(Thread.java:736)
              at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
              at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
              at sun.rmi.server.UnicastRef.invoke(Unknown Source)
              at org.apache.jackrabbit.rmi.server.ServerProperty_Stub.getValues(Unknown Source)
              at org.apache.jackrabbit.rmi.client.ClientProperty.getValues(ClientProperty.java:173)
              at Test.main(Test.java:96)
    Here is the list of jar files i'm using with this program:
              2862818581          61388           crx-rmi-2.2.0.jar
              732434195           335603           jackrabbit-jcr-commons-2.4.0.jar
              1107929681           411330           jackrabbit-jcr-rmi-2.4.0.jar
              3096295771           69246           jcr-2.0.jar
              1206850944           367444           log4j-1.2.14.jar
              685167282           25962           slf4j-api-1.6.4.jar
              2025068856           9748           slf4j-log4j12-1.6.4.jar
    Finally, we are using CQ 5.4 (CRX 2.2) with the latest hotfix and under Websphere 7.0
    Best regards,
    Vincent FINET

    Je suis absent(e) du bureau jusqu'au 17/04/2012
    Je suis absent.
    Je répondrai à votre sollicitation à mon retour le 17 avril 2012.
    Cordialement,
    Vincent FINET
    Remarque : ceci est une réponse automatique à votre message  "[CQ5]
    Connection to CRX via RMI and getting WeakReference value..... with an
    exception!" envoyé le 13/4/12 0:32:14.
    C'est la seule notification que vous recevrez pendant l'absence de cette
    personne.
    Le papier est un bien precieux, ne le gaspillez pas. N'imprimez ce document que si vous en avez vraiment besoin !
    Ce message est confidentiel.
    Sous reserve de tout accord conclu par ecrit entre vous et La Banque Postale, son contenu ne represente en aucun cas un engagement de la part de La Banque Postale.
    Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee prealablement.
    Si vous n'etes pas destinataire de ce message, merci d'en avertir immediatement l'expediteur.

  • JDE adapter configuration using Oracle fusion middleware

    Hello
    We are integrating JDE with Siebel using the Oracle fusion middleware technology. We have the adapters for JDE available and are in the process of configuring the same.
    We are able to connect to JDE and able to view the functions available but not able to view the other options.
    The below is the log generated when the application explorer is started and JDE connected.
    [info] [IWAF JCA] Found adapter 'IWAF'
    [info] [IWAF JCA] Found adapter 'JDEdwards'
    [info] [IWAF JCA] Found adapter 'PeopleSoft'
    [info] [IWAF JCA] Found adapter 'SAP'
    [info] [IWAF JCA] Found adapter 'Siebel'
    [info] [IWAF JCA] [storage] Repository URL 'file://../\config\jca_sample\repository.xml' resolved to repositoty type: file
    [info] [IWAF JCA] [storage] Getting Repository reference: 'file://../\config\jca_sample\repository.xml&user=null&password=***'...
    [info] [IWAF JCA] [storage] Created Repository System storage.
    [info] [IWAF JCA] iway.home is set to '../'.
    [info] [IWAF JCA] Creating IWAF Container classloader using libdir 'D:\OraHome_1\adapters\application\tools\..\lib'.
    [info] [IWAF JCA] iway.home is set to '../'.
    [info] [IWAF JCA] Inspecting adapter 'SAP' modules.
    [warn] [IWAF JCA] Adapter 'SAP' class 'com.ibi.sapr3.SapInboundAdapter_AS' failed to load. Problem loading adapter class 'com.ibi.sapr3.SapInboundAdapter_AS'.
    [warn] [IWAF JCA] Adapter 'SAP' will not be available.
    [info] [IWAF JCA] Inspecting adapter 'JDEdwards' modules.
    [info] [IWAF JCA] Inspecting adapter 'Siebel' modules.
    [info] [IWAF JCA] Inspecting adapter 'PeopleSoft' modules.
    [info] [IWAF JCA] Skiping IWAF Container adapter.
    [info] [IWAF JCA] iway.home is set to '../'.
    [info] [IWAF JCA] iway.config is set to 'jca_sample'.
    [info] [IWAF JCA] Using default: keystore.type=jks and keystore.password=iwaysoftware
    [info] [IWAF JCA] Security manager using keystore : D:\OraHome_1\adapters\application\tools\..\config\jca_sample\security\keystore.jks
    [warn] [IWAF JCA] Security manager will not be available due to problem.
    java.lang.IllegalStateException: Problem loading keystore: java.io.FileNotFoundException: D:\OraHome_1\adapters\application\tools\..\config\jca_sample\security\keystore.jks (The system cannot find the file specified); make sure the password is correct
         at com.iwaysoftware.security.KeyStoreUtil.getKeyStore(KeyStoreUtil.java:39)
         at com.ibi.adapters.util.security.SecurityManagerImpl.<init>(SecurityManagerImpl.java:45)
         at com.iwaysoftware.af.container.IWAFFactory.buildSecurityManager(IWAFFactory.java:209)
         at com.iwaysoftware.af.container.IWAFContainer.start(IWAFContainer.java:89)
         at com.ibi.afjca.spi.IWAFManagedConnectionFactory.createManagedConnection(IWAFManagedConnectionFactory.java:186)
         at com.ibi.afjca.spi.IWAFConnectionManager.allocateConnection(IWAFConnectionManager.java:31)
         at com.ibi.afjca.cci.IWAFConnectionFactory.getConnection(IWAFConnectionFactory.java:95)
         at com.iwaysoftware.iwae.common.JCATransport.initJCA(JCATransport.java:81)
         at com.iwaysoftware.iwae.common.JCATransport.<init>(JCATransport.java:62)
         at com.iwaysoftware.iwae.common.AdapterClient.<init>(AdapterClient.java:85)
         at com.ibi.bse.ConfigWorker.run(ConfigWorker.java:41)
         at java.lang.Thread.run(Unknown Source)
    [info] [IWAF JCA] IWAF contained starting...
    [info] [IWAF JCA] IWAF AdapterManager starting...
    [info] [IWAF JCA] IWAF AdapterManager started.
    [info] [IWAF JCA] IWAF ChannelManager starting...
    [info] [IWAF JCA] IWAF ChannelManager started.
    [info] [IWAF JCA] IWAF ChainManager starting...
    [info] [IWAF JCA] IWAF ChainManager started.
    [info] [IWAF JCA] IWAF PortManager starting...
    [info] [IWAF JCA] IWAF PortManager started.
    [info] [IWAF JCA] IWAF AEManager starting...
    [info] [IWAF JCA] Building target id list.
    [info] [IWAF JCA] Creating TID for adapter 'JDEdwards' configuration 'JDE'.
    [info] [IWAF JCA] [JDEdwards.service_JDE] Created adapter instance for class'class com.ibi.jde.AdapterBean'.
    [info] [IWAF JCA] Building port list.
    [info] [IWAF JCA] Building channel list.
    [info] [IWAF JCA] IWAF AEManager started.
    [info] [IWAF JCA] IWAF contained started.
    [info] [IWAF JCA] Loaded and initialized adapter class 'com.ibi.jde.AdapterBean'.
    [info] [IWAF JCA] [com.ibi.tcp.TcpListenerAdapter] init called.
    [info] [IWAF JCA] Loaded and initialized adapter class 'com.ibi.tcp.TcpListenerAdapter'.
    [info] [IWAF JCA] Loaded and initialized adapter class 'com.ibi.jde.AdapterEventBean'.
    [info] [IWAF JCA] [com.ibi.file.FileListenerAdapter] init called.
    [info] [IWAF JCA] Loaded and initialized adapter class 'com.ibi.file.FileListenerAdapter'.
    [info] [IWAF JCA] Adapter class 'com.ibi.adapter.psoft.PeopleSoftAdapter' failed to initialized.
    java.lang.NoClassDefFoundError: psft.pt8.joa.API
         at com.ibi.adapter.psoft.PeopleSoftAdapter.class$(PeopleSoftAdapter.java)
         at com.ibi.adapter.psoft.PeopleSoftAdapter.init(PeopleSoftAdapter.java:104)
         at com.iwaysoftware.af.container.IWAFContainer.getInitializedAdapter(IWAFContainer.java:446)
         at com.iwaysoftware.af.container.AEManager.getInitializedAdapter(AEManager.java:1147)
         at com.iwaysoftware.af.container.AEManager.getDesignAdapterDescriptor(AEManager.java:366)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.addAdapter(AEAdapterMessage.java:127)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.build(AEAdapterMessage.java:105)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.<init>(AEAdapterMessage.java:46)
         at com.iwaysoftware.af.container.AEManager.dispatch(AEManager.java:123)
         at com.iwaysoftware.af.container.IWAFContainer.dispatchAERequest(IWAFContainer.java:434)
         at com.ibi.afjca.cci.IWAFInteraction.execIWAE(IWAFInteraction.java:246)
         at com.ibi.afjca.cci.IWAFInteraction.exec(IWAFInteraction.java:153)
         at com.ibi.afjca.cci.IWAFInteraction.execute(IWAFInteraction.java:93)
         at com.iwaysoftware.iwae.common.JCATransport.execute(JCATransport.java:149)
         at com.iwaysoftware.iwae.common.AdapterClient.getAdapterInfo(AdapterClient.java:225)
         at com.ibi.bse.CategoryNodeData.children(CategoryNodeData.java:139)
         at com.ibi.bse.gui.BseFrame.borTreeValueChanged(BseFrame.java:240)
         at com.ibi.bse.gui.BseFrame.access$4(BseFrame.java:24)
         at com.ibi.bse.gui.BseFrame$3.valueChanged(BseFrame.java:136)
         at javax.swing.JTree.fireValueChanged(Unknown Source)
         at javax.swing.JTree$TreeSelectionRedirector.valueChanged(Unknown Source)
         at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown Source)
         at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown Source)
         at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown Source)
         at javax.swing.JTree.setSelectionPath(Unknown Source)
         at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(Unknown Source)
         at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Unknown Source)
         at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(Unknown Source)
         at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
         at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
         at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
         at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    [info] [IWAF JCA] Adapter class 'com.ibi.adapter.siebelaf.SiebelAdapter' failed to initialized.
    java.lang.IllegalArgumentException: Siebel Libs Not Found
         at com.ibi.adapter.siebelaf.SiebelAdapter.init(SiebelAdapter.java:84)
         at com.iwaysoftware.af.container.IWAFContainer.getInitializedAdapter(IWAFContainer.java:446)
         at com.iwaysoftware.af.container.AEManager.getInitializedAdapter(AEManager.java:1147)
         at com.iwaysoftware.af.container.AEManager.getDesignAdapterDescriptor(AEManager.java:366)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.addAdapter(AEAdapterMessage.java:127)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.build(AEAdapterMessage.java:105)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.<init>(AEAdapterMessage.java:46)
         at com.iwaysoftware.af.container.AEManager.dispatch(AEManager.java:123)
         at com.iwaysoftware.af.container.IWAFContainer.dispatchAERequest(IWAFContainer.java:434)
         at com.ibi.afjca.cci.IWAFInteraction.execIWAE(IWAFInteraction.java:246)
         at com.ibi.afjca.cci.IWAFInteraction.exec(IWAFInteraction.java:153)
         at com.ibi.afjca.cci.IWAFInteraction.execute(IWAFInteraction.java:93)
         at com.iwaysoftware.iwae.common.JCATransport.execute(JCATransport.java:149)
         at com.iwaysoftware.iwae.common.AdapterClient.getAdapterInfo(AdapterClient.java:225)
         at com.ibi.bse.CategoryNodeData.children(CategoryNodeData.java:139)
         at com.ibi.bse.gui.BseFrame.borTreeValueChanged(BseFrame.java:240)
         at com.ibi.bse.gui.BseFrame.access$4(BseFrame.java:24)
         at com.ibi.bse.gui.BseFrame$3.valueChanged(BseFrame.java:136)
         at javax.swing.JTree.fireValueChanged(Unknown Source)
         at javax.swing.JTree$TreeSelectionRedirector.valueChanged(Unknown Source)
         at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown Source)
         at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown Source)
         at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown Source)
         at javax.swing.JTree.setSelectionPath(Unknown Source)
         at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(Unknown Source)
         at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Unknown Source)
         at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(Unknown Source)
         at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
         at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
         at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
         at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    [info] [IWAF JCA] [JDEdwards.service_JDE] Created adapter instance for class'class com.ibi.jde.AdapterBean'.
    [info] [IWAF JCA] created sid '6760450155829188151' for target 'JDEdwards.JDE.EO 8.9'.
    Any inputs are welcome.
    Regards,
    Ravi

    I have created a new JCA configuration in application explorer. I am not able to see any adapters under adapter folder. aejcaxxxxxxxx.log file shows following error. Any help on this greatly appreciated.
    Mon, 18 Dec 2006 13:14:18.0164 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] Found adapter 'IWAF'
    Mon, 18 Dec 2006 13:14:18.0174 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] Found adapter 'JDEdwards'
    Mon, 18 Dec 2006 13:14:18.0174 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] Found adapter 'PeopleSoft'
    Mon, 18 Dec 2006 13:14:18.0174 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] Found adapter 'SAP'
    Mon, 18 Dec 2006 13:14:18.0174 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] Found adapter 'Siebel'
    Mon, 18 Dec 2006 13:14:18.0224 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [storage] Repository URL 'file://D:\OraHome_1\adapters\application\config\myJCAConfig\repository.xml' resolved to repositoty type: file
    Mon, 18 Dec 2006 13:14:18.0224 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [storage] Getting Repository reference: 'file://D:\OraHome_1\adapters\application\config\myJCAConfig\repository.xml&user=null&password=***'...
    Mon, 18 Dec 2006 13:14:18.0565 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [storage] Created Repository System storage.
    Mon, 18 Dec 2006 13:14:18.0565 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [state] State Repository URL 'file://D:\OraHome_1\adapters\application\config\myJCAConfig\st_repository.xml' repositoty type: file
    Mon, 18 Dec 2006 13:14:18.0565 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [state] Getting Repository reference: 'file://D:\OraHome_1\adapters\application\config\myJCAConfig\st_repository.xml&user=null&password=***'...
    Mon, 18 Dec 2006 13:14:18.0575 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [state] Created State Repository System storage.
    Mon, 18 Dec 2006 13:14:18.0585 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Creating IWAF Container classloader using libdir 'D:\OraHome_1\adapters\application\lib'.
    Mon, 18 Dec 2006 13:14:18.0635 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0635 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Building adapters list...
    Mon, 18 Dec 2006 13:14:18.0635 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0635 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0635 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Adapter: SAP
    Mon, 18 Dec 2006 13:14:18.0635 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0635 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Inspecting adapter 'SAP' modules.
    Mon, 18 Dec 2006 13:14:18.0665 PST - Thread[Thread-5,6,main] [warn ] [IWAF JCA] [container] loadClass: com/sap/mw/jco/JCO$Exception
    java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO$Exception
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.iwaysoftware.af.container.IWAFContainer.loadClass(IWAFContainer.java:922)
         at com.iwaysoftware.af.container.IWAFContainer.loadAdapterClass(IWAFContainer.java:905)
         at com.iwaysoftware.af.container.IWAFContainer.buildAdaptersList(IWAFContainer.java:1079)
         at com.iwaysoftware.af.container.IWAFContainer.<init>(IWAFContainer.java:119)
         at com.ibi.afjca.spi.IWAFManagedConnectionFactory.getContainer(IWAFManagedConnectionFactory.java:533)
         at com.ibi.afjca.spi.IWAFManagedConnectionFactory.createManagedConnection(IWAFManagedConnectionFactory.java:215)
         at com.ibi.afjca.spi.IWAFConnectionManager.allocateConnection(IWAFConnectionManager.java:35)
         at com.ibi.afjca.cci.IWAFConnectionFactory.getConnection(IWAFConnectionFactory.java:103)
         at com.iwaysoftware.iwae.common.JCATransport.initJCA(JCATransport.java:104)
         at com.iwaysoftware.iwae.common.JCATransport.<init>(JCATransport.java:85)
         at com.iwaysoftware.iwae.common.AdapterClient.<init>(AdapterClient.java:85)
         at com.ibi.bse.ConfigWorker.run(ConfigWorker.java:41)
         at java.lang.Thread.run(Thread.java:534)
    Mon, 18 Dec 2006 13:14:18.0665 PST - Thread[Thread-5,6,main] [warn ] [IWAF JCA] [container] Adapter 'SAP' class 'com.ibi.sapr3.SapAdapter20' failed to load. Problem loading class 'com.ibi.sapr3.SapAdapter20'.
    Mon, 18 Dec 2006 13:14:18.0665 PST - Thread[Thread-5,6,main] [warn ] [IWAF JCA] [container] Adapter 'SAP' will not be available.
    Mon, 18 Dec 2006 13:14:18.0665 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0665 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Adapter: JDEdwards
    Mon, 18 Dec 2006 13:14:18.0665 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0665 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Inspecting adapter 'JDEdwards' modules.
    Mon, 18 Dec 2006 13:14:18.0695 PST - Thread[Thread-5,6,main] [warn ] [IWAF JCA] [container] loadClass: com/jdedwards/system/lib/JdeEvent
    java.lang.NoClassDefFoundError: com/jdedwards/system/lib/JdeEvent
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.iwaysoftware.af.container.IWAFContainer.loadClass(IWAFContainer.java:922)
         at com.iwaysoftware.af.container.IWAFContainer.loadAdapterClass(IWAFContainer.java:905)
         at com.iwaysoftware.af.container.IWAFContainer.buildAdaptersList(IWAFContainer.java:1079)
         at com.iwaysoftware.af.container.IWAFContainer.<init>(IWAFContainer.java:119)
         at com.ibi.afjca.spi.IWAFManagedConnectionFactory.getContainer(IWAFManagedConnectionFactory.java:533)
         at com.ibi.afjca.spi.IWAFManagedConnectionFactory.createManagedConnection(IWAFManagedConnectionFactory.java:215)
         at com.ibi.afjca.spi.IWAFConnectionManager.allocateConnection(IWAFConnectionManager.java:35)
         at com.ibi.afjca.cci.IWAFConnectionFactory.getConnection(IWAFConnectionFactory.java:103)
         at com.iwaysoftware.iwae.common.JCATransport.initJCA(JCATransport.java:104)
         at com.iwaysoftware.iwae.common.JCATransport.<init>(JCATransport.java:85)
         at com.iwaysoftware.iwae.common.AdapterClient.<init>(AdapterClient.java:85)
         at com.ibi.bse.ConfigWorker.run(ConfigWorker.java:41)
         at java.lang.Thread.run(Thread.java:534)
    Mon, 18 Dec 2006 13:14:18.0695 PST - Thread[Thread-5,6,main] [warn ] [IWAF JCA] [container] Adapter 'JDEdwards' class 'com.ibi.jde.AdapterBean' failed to load. Problem loading class 'com.ibi.jde.AdapterBean'.
    Mon, 18 Dec 2006 13:14:18.0695 PST - Thread[Thread-5,6,main] [warn ] [IWAF JCA] [container] Adapter 'JDEdwards' will not be available.
    Mon, 18 Dec 2006 13:14:18.0695 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0695 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Adapter: Siebel
    Mon, 18 Dec 2006 13:14:18.0695 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0695 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Inspecting adapter 'Siebel' modules.
    Mon, 18 Dec 2006 13:14:18.0715 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0715 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Adapter: PeopleSoft
    Mon, 18 Dec 2006 13:14:18.0715 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0715 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Inspecting adapter 'PeopleSoft' modules.
    Mon, 18 Dec 2006 13:14:18.0745 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Skiping IWAF Container adapter.
    Mon, 18 Dec 2006 13:14:18.0815 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0815 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Building default security manager...
    Mon, 18 Dec 2006 13:14:18.0815 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0815 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] iway.home is set to 'D:\OraHome_1\adapters\application'.
    Mon, 18 Dec 2006 13:14:18.0815 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] iway.config is set to 'myJCAConfig'.
    Mon, 18 Dec 2006 13:14:18.0815 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Using default: keystore.type=jks and keystore.password=iwaysoftware
    Mon, 18 Dec 2006 13:14:18.0815 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Security manager using keystore : D:\OraHome_1\adapters\application\config\myJCAConfig\security\keystore.jks
    Mon, 18 Dec 2006 13:14:18.0895 PST - Thread[Thread-5,6,main] [warn ] [IWAF JCA] [container] Security manager will not be available due to problem.
    java.lang.IllegalStateException: Problem loading keystore: java.io.FileNotFoundException: D:\OraHome_1\adapters\application\config\myJCAConfig\security\keystore.jks (The system cannot find the file specified); make sure the password is correct
         at com.iwaysoftware.security.KeyStoreUtil.getKeyStore(KeyStoreUtil.java:39)
         at com.ibi.adapters.util.security.SecurityManagerImpl.<init>(SecurityManagerImpl.java:45)
         at com.iwaysoftware.af.container.IWAFFactory.buildSecurityManager(IWAFFactory.java:209)
         at com.iwaysoftware.af.container.IWAFContainer.start(IWAFContainer.java:169)
         at com.ibi.afjca.spi.IWAFManagedConnectionFactory.getContainer(IWAFManagedConnectionFactory.java:536)
         at com.ibi.afjca.spi.IWAFManagedConnectionFactory.createManagedConnection(IWAFManagedConnectionFactory.java:215)
         at com.ibi.afjca.spi.IWAFConnectionManager.allocateConnection(IWAFConnectionManager.java:35)
         at com.ibi.afjca.cci.IWAFConnectionFactory.getConnection(IWAFConnectionFactory.java:103)
         at com.iwaysoftware.iwae.common.JCATransport.initJCA(JCATransport.java:104)
         at com.iwaysoftware.iwae.common.JCATransport.<init>(JCATransport.java:85)
         at com.iwaysoftware.iwae.common.AdapterClient.<init>(AdapterClient.java:85)
         at com.ibi.bse.ConfigWorker.run(ConfigWorker.java:41)
         at java.lang.Thread.run(Thread.java:534)
    Mon, 18 Dec 2006 13:14:18.0895 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0895 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Starting IWAF container managers...
    Mon, 18 Dec 2006 13:14:18.0905 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0905 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF AdapterManager starting...
    Mon, 18 Dec 2006 13:14:18.0905 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF AdapterManager started.
    Mon, 18 Dec 2006 13:14:18.0905 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF ChannelManager starting...
    Mon, 18 Dec 2006 13:14:18.0905 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF ChannelManager started.
    Mon, 18 Dec 2006 13:14:18.0905 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF ChainManager starting...
    Mon, 18 Dec 2006 13:14:18.0905 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF ChainManager started.
    Mon, 18 Dec 2006 13:14:18.0905 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF PortManager starting...
    Mon, 18 Dec 2006 13:14:18.0905 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF PortManager started.
    Mon, 18 Dec 2006 13:14:18.0905 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0905 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] IWAF AEManager starting...
    Mon, 18 Dec 2006 13:14:18.0905 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0905 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ******************************************************************************
    Mon, 18 Dec 2006 13:14:18.0905 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] Building Target ID list..
    Mon, 18 Dec 2006 13:14:18.0905 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ******************************************************************************
    Mon, 18 Dec 2006 13:14:19.0146 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ******************************************************************************
    Mon, 18 Dec 2006 13:14:19.0146 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] Building Port list..
    Mon, 18 Dec 2006 13:14:19.0146 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ******************************************************************************
    Mon, 18 Dec 2006 13:14:19.0156 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ******************************************************************************
    Mon, 18 Dec 2006 13:14:19.0156 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] Building Channel list..
    Mon, 18 Dec 2006 13:14:19.0156 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ******************************************************************************
    Mon, 18 Dec 2006 13:14:19.0246 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] IWAF AEManager started.
    Mon, 18 Dec 2006 13:14:19.0246 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ******************************************************************************
    Mon, 18 Dec 2006 13:14:19.0246 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF contained started.
    Mon, 18 Dec 2006 13:14:19.0316 PST - Thread[Thread-5,6,main] [info ] [IWAF JCA IAEAdapter] IWAFManagedConnection for IAEAdapter:null has listener registered: com.ibi.afjca.spi.IWAFConnectionManager@9bc984
    Mon, 18 Dec 2006 13:14:21.0850 PST - Thread[AWT-EventQueue-0,6,main] [info ] [IWAF JCA] [container] [AE manager] Adapter class 'com.ibi.adapter.psoft.PeopleSoftAdapter' failed to initialize.
    java.lang.NoClassDefFoundError
         at com.ibi.adapter.psoft.PeopleSoftAdapter.class(PeopleSoftAdapter.java)
         at com.ibi.adapter.psoft.PeopleSoftAdapter.init(PeopleSoftAdapter.java:104)
         at com.iwaysoftware.af.container.IWAFContainer.getInitializedAdapter(IWAFContainer.java:696)
         at com.iwaysoftware.af.container.IWAFContainer.getInitializedAdapter(IWAFContainer.java:681)
         at com.iwaysoftware.af.container.AEManager.getInitializedAdapter(AEManager.java:1194)
         at com.iwaysoftware.af.container.AEManager.getDesignAdapterDescriptor(AEManager.java:388)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.addAdapter(AEAdapterMessage.java:127)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.build(AEAdapterMessage.java:105)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.<init>(AEAdapterMessage.java:46)
         at com.iwaysoftware.af.container.AEManager.dispatch(AEManager.java:126)
         at com.iwaysoftware.af.container.IWAFContainer.dispatchAERequest(IWAFContainer.java:612)
         at com.ibi.afjca.cci.IWAFInteraction.execIWAE(IWAFInteraction.java:270)
         at com.ibi.afjca.cci.IWAFInteraction.exec(IWAFInteraction.java:155)
         at com.ibi.afjca.cci.IWAFInteraction.execute(IWAFInteraction.java:93)
         at com.iwaysoftware.iwae.common.JCATransport.execute(JCATransport.java:204)
         at com.iwaysoftware.iwae.common.AdapterClient.getEventAdapterInfo(AdapterClient.java:105)
         at com.ibi.bse.CategoryNodeData.children(CategoryNodeData.java:150)
         at com.ibi.bse.gui.BseFrame.borTreeValueChanged(BseFrame.java:240)
         at com.ibi.bse.gui.BseFrame.access$4(BseFrame.java:24)
         at com.ibi.bse.gui.BseFrame$3.valueChanged(BseFrame.java:136)
         at javax.swing.JTree.fireValueChanged(JTree.java:2392)
         at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2763)
         at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
         at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1076)
         at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
         at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:170)
         at javax.swing.JTree.setSelectionPath(JTree.java:1168)
         at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2215)
         at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.handleSelection(BasicTreeUI.java:2863)
         at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.mousePressed(BasicTreeUI.java:2824)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
         at java.awt.Component.processMouseEvent(Component.java:5097)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3195)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Caused by: java.lang.ClassNotFoundException: psft.pt8.joa.API
         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:141)
         ... 53 more
    Mon, 18 Dec 2006 13:14:22.0270 PST - Thread[AWT-EventQueue-0,6,main] [info ] [IWAF JCA] [container] [AE manager] Adapter class 'com.ibi.adapter.siebelaf.SiebelAdapter' failed to initialize.
    java.lang.IllegalArgumentException: Siebel Libs Not Found
         at com.ibi.adapter.siebelaf.SiebelAdapter.init(SiebelAdapter.java:93)
         at com.iwaysoftware.af.container.IWAFContainer.getInitializedAdapter(IWAFContainer.java:696)
         at com.iwaysoftware.af.container.IWAFContainer.getInitializedAdapter(IWAFContainer.java:681)
         at com.iwaysoftware.af.container.AEManager.getInitializedAdapter(AEManager.java:1194)
         at com.iwaysoftware.af.container.AEManager.getDesignAdapterDescriptor(AEManager.java:388)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.addAdapter(AEAdapterMessage.java:127)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.build(AEAdapterMessage.java:105)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.<init>(AEAdapterMessage.java:46)
         at com.iwaysoftware.af.container.AEManager.dispatch(AEManager.java:126)
         at com.iwaysoftware.af.container.IWAFContainer.dispatchAERequest(IWAFContainer.java:612)
         at com.ibi.afjca.cci.IWAFInteraction.execIWAE(IWAFInteraction.java:270)
         at com.ibi.afjca.cci.IWAFInteraction.exec(IWAFInteraction.java:155)
         at com.ibi.afjca.cci.IWAFInteraction.execute(IWAFInteraction.java:93)
         at com.iwaysoftware.iwae.common.JCATransport.execute(JCATransport.java:204)
         at com.iwaysoftware.iwae.common.AdapterClient.getEventAdapterInfo(AdapterClient.java:105)
         at com.ibi.bse.CategoryNodeData.children(CategoryNodeData.java:150)
         at com.ibi.bse.gui.BseFrame.borTreeValueChanged(BseFrame.java:240)
         at com.ibi.bse.gui.BseFrame.access$4(BseFrame.java:24)
         at com.ibi.bse.gui.BseFrame$3.valueChanged(BseFrame.java:136)
         at javax.swing.JTree.fireValueChanged(JTree.java:2392)
         at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2763)
         at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
         at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1076)
         at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
         at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:170)
         at javax.swing.JTree.setSelectionPath(JTree.java:1168)
         at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2215)
         at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.handleSelection(BasicTreeUI.java:2863)
         at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.mousePressed(BasicTreeUI.java:2824)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
         at java.awt.Component.processMouseEvent(Component.java:5097)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3195)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Mon, 18 Dec 2006 13:14:23.0512 PST - Thread[AWT-EventQueue-0,6,main] [info ] [IWAF JCA] [container] [AE manager] Adapter class 'com.ibi.adapter.psoft.PeopleSoftAdapter' failed to initialize.
    java.lang.NoClassDefFoundError
         at com.ibi.adapter.psoft.PeopleSoftAdapter.class(PeopleSoftAdapter.java)
         at com.ibi.adapter.psoft.PeopleSoftAdapter.init(PeopleSoftAdapter.java:104)
         at com.iwaysoftware.af.container.IWAFContainer.getInitializedAdapter(IWAFContainer.java:696)
         at com.iwaysoftware.af.container.IWAFContainer.getInitializedAdapter(IWAFContainer.java:681)
         at com.iwaysoftware.af.container.AEManager.getInitializedAdapter(AEManager.java:1194)
         at com.iwaysoftware.af.container.AEManager.getDesignAdapterDescriptor(AEManager.java:388)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.addAdapter(AEAdapterMessage.java:127)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.build(AEAdapterMessage.java:105)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.<init>(AEAdapterMessage.java:46)
         at com.iwaysoftware.af.container.AEManager.dispatch(AEManager.java:126)
         at com.iwaysoftware.af.container.IWAFContainer.dispatchAERequest(IWAFContainer.java:612)
         at com.ibi.afjca.cci.IWAFInteraction.execIWAE(IWAFInteraction.java:270)
         at com.ibi.afjca.cci.IWAFInteraction.exec(IWAFInteraction.java:155)
         at com.ibi.afjca.cci.IWAFInteraction.execute(IWAFInteraction.java:93)
         at com.iwaysoftware.iwae.common.JCATransport.execute(JCATransport.java:204)
         at com.iwaysoftware.iwae.common.AdapterClient.getAdapterInfo(AdapterClient.java:225)
         at com.ibi.bse.CategoryNodeData.children(CategoryNodeData.java:139)
         at com.ibi.bse.gui.BseFrame.borTreeValueChanged(BseFrame.java:240)
         at com.ibi.bse.gui.BseFrame.access$4(BseFrame.java:24)
         at com.ibi.bse.gui.BseFrame$3.valueChanged(BseFrame.java:136)
         at javax.swing.JTree.fireValueChanged(JTree.java:2392)
         at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2763)
         at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
         at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1076)
         at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
         at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:170)
         at javax.swing.JTree.setSelectionPath(JTree.java:1168)
         at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2215)
         at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.handleSelection(BasicTreeUI.java:2863)
         at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.mousePressed(BasicTreeUI.java:2824)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
         at java.awt.Component.processMouseEvent(Component.java:5097)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3195)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Caused by: java.lang.ClassNotFoundException: psft.pt8.joa.API
         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:141)
         ... 53 more
    Mon, 18 Dec 2006 13:14:23.0512 PST - Thread[AWT-EventQueue-0,6,main] [info ] [IWAF JCA] [container] [AE manager] Adapter class 'com.ibi.adapter.siebelaf.SiebelAdapter' failed to initialize.
    java.lang.IllegalArgumentException: Siebel Libs Not Found
         at com.ibi.adapter.siebelaf.SiebelAdapter.init(SiebelAdapter.java:93)
         at com.iwaysoftware.af.container.IWAFContainer.getInitializedAdapter(IWAFContainer.java:696)
         at com.iwaysoftware.af.container.IWAFContainer.getInitializedAdapter(IWAFContainer.java:681)
         at com.iwaysoftware.af.container.AEManager.getInitializedAdapter(AEManager.java:1194)
         at com.iwaysoftware.af.container.AEManager.getDesignAdapterDescriptor(AEManager.java:388)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.addAdapter(AEAdapterMessage.java:127)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.build(AEAdapterMessage.java:105)
         at com.iwaysoftware.af.container.ae.AEAdapterMessage.<init>(AEAdapterMessage.java:46)
         at com.iwaysoftware.af.container.AEManager.dispatch(AEManager.java:126)
         at com.iwaysoftware.af.container.IWAFContainer.dispatchAERequest(IWAFContainer.java:612)
         at com.ibi.afjca.cci.IWAFInteraction.execIWAE(IWAFInteraction.java:270)
         at com.ibi.afjca.cci.IWAFInteraction.exec(IWAFInteraction.java:155)
         at com.ibi.afjca.cci.IWAFInteraction.execute(IWAFInteraction.java:93)
         at com.iwaysoftware.iwae.common.JCATransport.execute(JCATransport.java:204)
         at com.iwaysoftware.iwae.common.AdapterClient.getAdapterInfo(AdapterClient.java:225)
         at com.ibi.bse.CategoryNodeData.children(CategoryNodeData.java:139)
         at com.ibi.bse.gui.BseFrame.borTreeValueChanged(BseFrame.java:240)
         at com.ibi.bse.gui.BseFrame.access$4(BseFrame.java:24)
         at com.ibi.bse.gui.BseFrame$3.valueChanged(BseFrame.java:136)
         at javax.swing.JTree.fireValueChanged(JTree.java:2392)
         at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2763)
         at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
         at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1076)
         at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
         at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:170)
         at javax.swing.JTree.setSelectionPath(JTree.java:1168)
         at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2215)
         at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.handleSelection(BasicTreeUI.java:2863)
         at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.mousePressed(BasicTreeUI.java:2824)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
         at java.awt.Component.processMouseEvent(Component.java:5097)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3195)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

  • SAP Adapter Issues

    Dear All,
    Facing two issues as below, any help/pointers greatly appreciated.
    1> Where can I download correct Oracle AS Adapter pack which will support SAP ECC 6.0?
    2> Using the Adapter pack for 10.1.3, I am able to connect to SAP using Application Explorer, browse the Business Objects & RFCs. Then I have generated an Outnound JCA service (request-response) using the Adapter application explorer (right click menu option). Next trying to invoke the JCA service from BPEL using a partner link, when it gives following error at runtime. The same RFC when tested from Adapter applicatio explorer, however, runs fine; the problem occurs at BPEL runtime.
    (input_BAPI_COMPANYCODE_GETLIST,output_BAPI_COMPANYCODE_GETLIST) ] - WSIF JCA Execute of operation 'BAPI_COMPANYCODE_GETLIST' failed due to: Adapter Framework unable to create outbound JCA connection.
    http://127.0.0.1:9080/orainfra/wsil/adapters/applications/BAPI_COMPANYCODE_GETLIST_invoke.wsdl?wsdl BAPI_COMPANYCODE_GETLISTPortType::BAPI_COMPANYCODE_GETLIST(input_BAPI_COMPANYCODE_GETLIST,output_BAPI_COMPANYCODE_GETLIST) - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: javax.resource.spi.EISSystemException: IWAFManagedConnectionFactory:Exception javax.resource.ResourceException: Adapter 'SAP' not available. Names are case sensitive.
    ; nested exception is:
    ORABPEL-12511
    Adapter Framework unable to create outbound JCA connection.
    http://127.0.0.1:9080/orainfra/wsil/adapters/applications/BAPI_COMPANYCODE_GETLIST_invoke.wsdl?wsdl BAPI_COMPANYCODE_GETLISTPortType::BAPI_COMPANYCODE_GETLIST(input_BAPI_COMPANYCODE_GETLIST,output_BAPI_COMPANYCODE_GETLIST) - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: javax.resource.spi.EISSystemException: IWAFManagedConnectionFactory:Exception javax.resource.ResourceException: Adapter 'SAP' not available. Names are case sensitive.
    Sincere thanks in advance.
    Regards
    sibendu

    Dear Shiva & Others
    I am still stuck up with J2CA repository config of SAP adapter. I have been able to successfully test JCA outbound service (request-response to SAP BAPI/IDOC) with BSE config only. Below are still problems, with J2CA config, if i create a outbound JCA request-response service, wsdl generation and everything is fine, but runtime when called thru BPEL partner link it gives below error in adapter log (still working on inbound jca service and getitng some problem there too which hopefully can be resolved).
    Mon, 3 Aug 2009 19:41:28.0459 IST - Thread[AJPRequestHandler-HTTPThreadGroup-56,5,HTTPThreadGroup] [debug] [IWAF JCA] [container] ENTER AdapterManager.getActivatedAdapter(String adapter, String config)
    Mon, 3 Aug 2009 19:41:28.0475 IST - Thread[AJPRequestHandler-HTTPThreadGroup-56,5,HTTPThreadGroup] [info ] [IWAF JCA] [container] [SAP.service_Blore] Created adapter instance for class'class com.ibi.sapr3.SapAdapter20'.
    Mon, 3 Aug 2009 19:41:28.0475 IST - Thread[AJPRequestHandler-HTTPThreadGroup-56,5,HTTPThreadGroup] [info ] [IWAF JCA] [container] [SAP.service_Blore] SAP activate() : com.ibi.sapr3.SapAdapter20@568dbc
    Mon, 3 Aug 2009 19:41:28.0475 IST - Thread[AJPRequestHandler-HTTPThreadGroup-56,5,HTTPThreadGroup] [error] [IWAF JCA] [container] [SAP.service_Blore] Problem activating adapter. (null). Check logs for more information
    java.lang.NoClassDefFoundError
         at com.ibi.sap.SapAdapter20.bindToPool(SapAdapter20.java:484)
         at com.ibi.sap.SapAdapter20.activate(SapAdapter20.java:155)
         at com.iwaysoftware.af.container.adapter.ProxyAdapter.activate(ProxyAdapter.java:104)
    Most strange to me is the NoClassDefFoundError, I have seen the code in SapAdapter20 and all dependencies are there in classpath, i have gradually added them to everywhere and now all the jars/dlss are present in system classpath, server classpath, <soahome>/opmn/lib, <soahome>/j2ee/<container>/lib and adapter directories :-)
    I also get another exception at server startup, but assuming this has nothing to do with the above problem (and adapter works without the keystore config, please correct me if wrong), still would be nice to get rid of this as well.
    java.lang.IllegalStateException: Problem loading keystore: java.io.FileNotFoundException: D:\SOASuite\adapters\application\config\base\security\keystore.jks (The system cannot find the file specified); make sure the password is correct
         at com.iwaysoftware.security.KeyStoreUtil.getKeyStore(KeyStoreUtil.java:41)
         at com.ibi.adapters.util.security.SecurityManagerImpl.<init>(SecurityManagerImpl.java:45)
    Any help really greatly appreciated.
    regards, sibendu

  • Connection to siebel adapter

    Hi ,
    I have installed SOA suite 10.1.3.4 siebel adapter 10.1.3.3 and patches related to it and configured as it was given in the installation and configuring Document .When connecting to Siebel 8.0 thru IAexplorer i am getting the following error can someone help
    20090218-14:46:26 ERROR com.ibi.bse.TargetWorker:java.lang.IllegalStateException: Problem activating adapter. (Invalid or incomplete connection string.
    (SBL-JCA-00301)). Check logs for more information
         at com.iwaysoftware.af.container.adapter.AdapterConfiguration.activateAdapter(AdapterConfiguration.java:322)
         at com.iwaysoftware.af.container.adapter.AdapterConfiguration.getActivatedAdapter(AdapterConfiguration.java:299)
         at com.iwaysoftware.af.container.AdapterManager.getActivatedAdapter(AdapterManager.java:269)
         at com.iwaysoftware.af.container.IWAFContainer.getActivatedAdapter(IWAFContainer.java:515)
         at com.iwaysoftware.af.container.AEManager.getTargetAdapter(AEManager.java:644)
         at com.iwaysoftware.af.container.ae.AETargetMessage.buildGETTARGET(AETargetMessage.java:255)
         at com.iwaysoftware.af.container.ae.AETargetMessage.build(AETargetMessage.java:84)
         at com.iwaysoftware.af.container.ae.AETargetMessage.<init>(AETargetMessage.java:54)
         at com.iwaysoftware.af.container.AEManager.dispatch(AEManager.java:129)
         at com.iwaysoftware.af.container.IWAFContainer.dispatchAERequest(IWAFContainer.java:601)
         at com.ibi.afjca.cci.IWAFInteraction.execIWAE(IWAFInteraction.java:273)
         at com.ibi.afjca.cci.IWAFInteraction.exec(IWAFInteraction.java:155)
         at com.ibi.afjca.cci.IWAFInteraction.execute(IWAFInteraction.java:93)
         at com.iwaysoftware.iwae.common.JCATransport.execute(JCATransport.java:205)
         at com.iwaysoftware.iwae.common.AdapterClient.getTarget(AdapterClient.java:293)
         at com.ibi.bse.TargetWorker.run(TargetWorker.java:37)
         at java.lang.Thread.run(Thread.java:595)
    Edited by: [email protected] on Feb 18, 2009 7:49 PM

    Hi,
    Need urgent help in resolving connection to Siebel adapter for 6.3
    We are getting the following error in the logs
    Tue Jul 19 10:48:52 CEST 2011 11 FINEST IWAFManagedConnectionFactory com.ibi.afjca.cci.IWAFConnectionFactory getConnection(107) IWAFConnectionFactory:getConnection called with ConnectionSpec:
    User :AS01
    AdapterName :Siebel
    Config :Target2
    Tue Jul 19 10:48:52 CEST 2011 11 FINEST IWAFManagedConnectionFactory com.ibi.afjca.cci.IWAFConnectionFactory getConnection(113) IWAFConnectionFactory:getConnection called with ConnectionSpec:
    User :AS01
    AdapterName :Siebel
    Config :Target2
    Tue Jul 19 10:48:52 CEST 2011 11 FINEST IWAFManagedConnectionFactory com.ibi.afjca.spi.IWAFManagedConnectionFactory matchManagedConnections(273) IWAFManagedConnectionFactory:matchManagedConnection() entered.
    Tue Jul 19 10:48:52 CEST 2011 11 FINEST IWAFManagedConnectionFactory com.ibi.afjca.Util getPasswordCredential(51) No Subject provided by AS.
    Tue Jul 19 10:48:52 CEST 2011 11 FINEST IWAFManagedConnectionFactory com.ibi.afjca.spi.IWAFManagedConnectionFactory matchManagedConnections(308) com.ibi.afjca.cci.IWAFConnectionSpec:
    User :AS01
    AdapterName :Siebel
    Config :Target2
    Tue Jul 19 10:48:52 CEST 2011 11 FINEST IWAFManagedConnectionFactory com.ibi.afjca.spi.IWAFManagedConnectionFactory matchManagedConnections(346) IWAFManagedConnectionFactory:matchManagedConnection() exited. MC not found.
    Tue Jul 19 10:48:52 CEST 2011 11 FINEST IWAFManagedConnectionFactory com.ibi.afjca.spi.IWAFManagedConnectionFactory createManagedConnection(185) IWAFManagedConnectionFactory:createManagedConnection() entered.
    Tue Jul 19 10:48:52 CEST 2011 11 FINEST IWAFManagedConnectionFactory com.ibi.afjca.Util getPasswordCredential(51) No Subject provided by AS.
    Tue Jul 19 10:48:52 CEST 2011 11 FINEST IWAFManagedConnectionFactory com.ibi.afjca.spi.IWAFManagedConnectionFactory createManagedConnection(229) com.ibi.afjca.cci.IWAFConnectionSpec:
    User :AS01
    AdapterName :Siebel
    Config :Target2
    Tue Jul 19 10:48:52 CEST 2011 11 FINEST IWAFManagedConnectionFactory com.ibi.afjca.spi.IWAFManagedConnectionFactory createManagedConnection(249) IWAFManagedConnectionFactory:createManagedConnection() exited.
    Tue Jul 19 10:48:52 CEST 2011 11 INFO IWAFManagedConnectionFactory com.ibi.afjca.spi.IWAFManagedConnection addConnectionEventListener(242) IWAFManagedConnection for Siebel:Target2 has listener registered: weblogic.connector.transaction.outbound.TxConnectionEventListener@b99468
    Tue Jul 19 10:48:52 CEST 2011 11 FINEST IWAFManagedConnectionFactory com.ibi.afjca.spi.IWAFManagedConnection getLocalTransaction(209) IWAFManagedConnection.getLocalTransaction()
    Tue Jul 19 10:48:52 CEST 2011 11 FINEST IWAFManagedConnectionFactory com.ibi.afjca.spi.IWAFManagedConnection getConnection(140) Creating new CCIConnection
    Tue Jul 19 10:48:52 CEST 2011 11 FINEST IWAFManagedConnectionFactory com.iwaysoftware.af.container.AdapterManager getActivatedAdapter(262) ENTER AdapterManager.getActivatedAdapter(String adapter, String config, String user, String password)
    Tue Jul 19 10:48:52 CEST 2011 11 INFO IWAFManagedConnectionFactory com.iwaysoftware.af.container.adapter.AdapterConfiguration createInstance(198) Created adapter instance for class'class com.ibi.adapter.siebelaf.SiebelAdapter'.
    Tue Jul 19 10:48:53 CEST 2011 11 SEVERE IWAFManagedConnectionFactory com.iwaysoftware.af.container.adapter.AdapterConfiguration activateAdapter(321) Problem activating adapter. (java.lang.NullPointerException). Check logs for more informationTue Jul 19 10:48:53 CEST 2011 11 FINEST IWAFManagedConnectionFactory com.ibi.afjca.spi.IWAFManagedConnection cleanup(187) IWAFManagedConnection.cleanup() for Siebel:Target2 entered.
    Tue Jul 19 10:48:53 CEST 2011 11 FINEST IWAFManagedConnectionFactory com.ibi.afjca.spi.IWAFManagedConnection cleanup(193) IWAFManagedConnection for Siebel:Target2 cleaned.
    logs in ae
    ERROR com.ibi.bse.TargetWorker:java.lang.IllegalStateException: Problem activating adapter. (java.lang.NullPointerException). Check logs for more information
         at com.iwaysoftware.af.container.adapter.AdapterConfiguration.activateAdapter(AdapterConfiguration.java:320)
         at com.iwaysoftware.af.container.adapter.AdapterConfiguration.getActivatedAdapter(AdapterConfiguration.java:297)
         at com.iwaysoftware.af.container.AdapterManager.getActivatedAdapter(AdapterManager.java:279)
         at com.iwaysoftware.af.container.IWAFContainer.getActivatedAdapter(IWAFContainer.java:572)
         at com.iwaysoftware.af.container.AEManager.getTargetAdapter(AEManager.java:645)
         at com.iwaysoftware.af.container.ae.AETargetMessage.buildGETTARGET(AETargetMessage.java:255)
         at com.iwaysoftware.af.container.ae.AETargetMessage.build(AETargetMessage.java:84)
         at com.iwaysoftware.af.container.ae.AETargetMessage.<init>(AETargetMessage.java:54)
         at com.iwaysoftware.af.container.AEManager.dispatch(AEManager.java:129)
         at com.iwaysoftware.af.container.IWAFContainer.dispatchAERequest(IWAFContainer.java:809)
         at com.ibi.afjca.cci.IWAFInteraction.execIWAE(IWAFInteraction.java:279)
         at com.ibi.afjca.cci.IWAFInteraction.exec(IWAFInteraction.java:164)
         at com.ibi.afjca.cci.IWAFInteraction.execute(IWAFInteraction.java:98)
         at com.iwaysoftware.iwae.common.JCATransport.execute(JCATransport.java:166)
         at com.iwaysoftware.iwae.common.AdapterClient.getTarget(AdapterClient.java:293)
         at com.ibi.bse.TargetWorker.run(TargetWorker.java:37)
         at java.lang.Thread.run(Thread.java:619)
    Any help in resolving this would be highly appreciated.
    Edited by: Bhupendra on Jul 20, 2011 12:07 AM

  • Bonjour for embedded system

    Hi,
    I have followed the steps provided in the install file to intilize the bonjour for embedded system . first I generated the shared ib for bonjour source code for my embedded system and then I initilized it by calling mDNS_Init  api.
    Since I just need to browse at my client , I called the browsing fucntion as per dns_sd.h  , but I got the below error .
    mDNS_StartBrowse: mDNSPlatformRawTime went backwards by 1669225997 ticks; setting correction factor to 1669225997
    11-17 00:28:08.481: D/bonjour(1280): mDNS_StartBrowse: mDNS_Unlock: ERROR! m->timenow aready zero
    11-17 00:28:08.481: D/bonjour(1280): DNSServiceBrowse("_appl._tcp.", "local.") failed: mDNS_StartBrowse (-65546)
    11-17 00:28:08.490: I/System.out(1280): DNSService call failed -65546
    11-17 00:32:24.720: E/ThrottleService(161): problem during onPollAlarm: java.lang.IllegalStateException: problem parsing stats:
    I hope apple forum will help for this problem ..

    I am able to fix the above issue , but subtype search on the embedded systems  throws an erros
    ex if type="_book._tcp.,author" throws bad param error but same thing works on the linux pc . Can some tell me how to pass the subtypes in embedded application

  • Java.lang.IllegalStateException: HttpSession is invalid problem

    Hi,
    I get randomly in my application "java.lang.IllegalStateException: HttpSession
    is invalid" exception thrown when I call getAttribute() method on a HttpSession
    instance.
    weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:410)
    Any feedback to avoid this problem is greately appreciated

    Hi Eddy,
    "Eddy Vina" <[email protected]> wrote in message news:3fbc46c2$[email protected]..
    I get randomly in my application "java.lang.IllegalStateException: HttpSession
    is invalid" exception thrown when I call getAttribute() method on a HttpSession
    instance.
    weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:410)
    Any feedback to avoid this problem is greately appreciatedThis happens because getAttribute(...) is called on an invalidated
    session. The session could have timed out or been invalidated
    explicitly by the moment the call was made.
    That may happen if you "cache" session objects.
    Hope this helps.
    Regards,
    Slava Imeshev

  • ArrayList problem ....i can remove my object from my arrayList

    hi all, i am going to remove a object from my array by using arrayList.However, it can`t work properly and did nth for me..i don`t know why...could anyone give me some suggestion and show me what i did wrong on my code ....i stated more detail next to my code...plesae help...
    public class MusicCd
         private String musicCdsTitle;
            private int yearOfRelease;
         public MusicCd()
              musicCdsTitle = "";
              yearOfRelease = 1900;
         public MusicCd(String newMusicCdsTitle)
              musicCdsTitle = newMusicCdsTitle;
              //yearOfRelease = newYearOfRelease;
         public MusicCd(String newMusicCdsTitle, int newYearOfRelease)
              musicCdsTitle = newMusicCdsTitle;
              yearOfRelease = newYearOfRelease;
         public String getTitle()
              return musicCdsTitle;
         public int getYearOfRelease()
              return yearOfRelease;
         public void setTitle(String newMusicCdsTitle)
              musicCdsTitle = newMusicCdsTitle;
         public void setYearOfRelease(int newYearOfRelease)
              yearOfRelease = newYearOfRelease;
         public boolean equalsName(MusicCd otherCd)
              if(otherCd == null)
                   return false;
              else
                   return (musicCdsTitle.equals(otherCd.musicCdsTitle));
         public String toString()
              return("Music Cd`s Title: " + musicCdsTitle + "\t"
                     + "Year of release: " + yearOfRelease + "\t");
    import java.util.ArrayList;
    import java.io.*;
    public class MusicCdStore
       ArrayList<MusicCd> MusicCdList;
       public void insertCd()
            MusicCdList = new ArrayList<MusicCd>( ); 
            readOperation theRo = new readOperation();
            MusicCd theCd;
            int muiseCdsYearOfRelease;
            String muiseCdsTitle;
              while(true)
                    String continueInsertCd = "Y";
                   do
                        muiseCdsTitle = theRo.readString("Please enter your CD`s title : ");
                        muiseCdsYearOfRelease = theRo.readInt("Please enter your CD`s year of release : ");
                        MusicCdList.add(new MusicCd(muiseCdsTitle, muiseCdsYearOfRelease));
                        MusicCdList.trimToSize();
                        continueInsertCd = theRo.readString("Do you have another Cd ? (Y/N) : ");
                   }while(continueInsertCd.equals("Y") || continueInsertCd.equals("y") );
                   if(continueInsertCd.equals("N") || continueInsertCd.equals("n"));
                                                    //MusicCdList.add(new MusicCd(muiseCdsTitle, muiseCdsYearOfRelease));                              
                                  break;
                      //System.out.println("You `ve an invalid input " + continueInsertCd + " Please enter (Y/N) only!!");
       public void displayAllCd()
                    System.out.println("\nOur CD collection is: \n" );
              System.out.println(toString());
       public String toString( )
            String result= " ";
            for( MusicCd tempCd : MusicCdList)
                 result += tempCd.toString() + "\n";
            return result;
       public void searchingMusicCd()
            readOperation theRo = new readOperation();
            String keyword = theRo.readString("Enter a CD `s Title you are going to search : ") ;
            ArrayList<MusicCd> results = searchForTitle(keyword );
              System.out.println("The search results for " + keyword + " are:" );
              for(MusicCd tempCd : results)
                   System.out.println( tempCd.toString() );
       //encapsulate the A
       public void removeCd()
            readOperation theRo = new readOperation();
            String keyword = theRo.readString("Please enter CD `s title you are going to remove : ") ;
            ArrayList<MusicCd> removeMusicCdResult = new ArrayList<MusicCd>();
                  System.out.println("The CD that you just removed  is " + keyword );
              for(MusicCd tempCd : removeMusicCdResult)
                   System.out.println( tempCd.toString() );
       //problem occurs here : i am so confused of how to remove the exactly stuff from my arrayList
       //pls help
       private ArrayList<MusicCd> removeCdForTitle(String removeCdsTitle)
             MusicCd tempMusicCd = new MusicCd();
             tempMusicCd.setTitle(removeCdsTitle);
            // tempMusicCd.setTitle(removeCdsTitle);
            //tempMusicCd.getTitle() = removeCdsTitle;
            ArrayList<MusicCd> removeMusicCdResult = new ArrayList<MusicCd>();
            for(MusicCd currentMusicCd : MusicCdList)
                 if((currentMusicCd.getTitle()).equals(tempMusicCd.getTitle()))
                     // removeMusicCdResult.remove(currentMusicCd);
                         MusicCdList.remove(currentMusicCd);
            removeMusicCdResult.trimToSize();
            return removeMusicCdResult;
       private ArrayList<MusicCd> searchForTitle(String searchString)
            ArrayList<MusicCd> searchResult = new ArrayList<MusicCd>();
            for(MusicCd currentMusicCd : MusicCdList)
                 if((currentMusicCd.getTitle()).indexOf(searchString) != -1)
                      searchResult.add(currentMusicCd);
            searchResult.trimToSize();
            return searchResult;
    import java.util.*;
    public class MusicCdStoreEngine{
         public static void main(String[] args)
              MusicCdStore mcs = new MusicCdStore( );
              mcs.insertCd();
              //display the Cd that you just insert
              mcs.displayAllCd();
              mcs.removeCd();
              mcs.displayAllCd();
              mcs.searchingMusicCd();
    //Acutally result
    //Please enter your CD`s title : ivan
    //Please enter your CD`s year of release : 1992
    //Do you have another Cd ? (Y/N) : y
    //Please enter your CD`s title : hero
    //Please enter your CD`s year of release : 1992
    //Do you have another Cd ? (Y/N) : n
    //Our CD collection is:
    // Music Cd`s Title: ivan     Year of release: 1992
    //Music Cd`s Title: hero     Year of release: 1992     
    //Please enter CD `s title you are going to remove : hero
    //The CD that you just removed  is hero
    //Our CD collection is:
    // Music Cd`s Title: ivan     Year of release: 1992
    //Music Cd`s Title: hero     Year of release: 1992     
    //Enter a CD `s Title you are going to search : hero
    //The search results for hero are:
    //Music Cd`s Title: hero     Year of release: 1992
    //>Exit code: 0
    //Expected result
    //Please enter your CD`s title : ivan
    //Please enter your CD`s year of release : 1992
    //Do you have another Cd ? (Y/N) : y
    //Please enter your CD`s title : hero
    //Please enter your CD`s year of release : 1992
    //Do you have another Cd ? (Y/N) : n
    //Our CD collection is:
    // Music Cd`s Title: ivan     Year of release: 1992
    //Music Cd`s Title: hero     Year of release: 1992     
    //Please enter CD `s title you are going to remove : hero
    //The CD that you just removed  is hero
    //Our CD collection is:
    // Music Cd`s Title: ivan     Year of release: 1992
    //Music Cd`s Title: hero     Year of release: 1992<<-- it is not supposed to display cos i have deleted it from from array     
    //Enter a CD `s Title you are going to search : hero
    //The search results for hero are:
    //Music Cd`s Title: hero     Year of release: 1992<<-- i should have get this reuslt...cos it is already delete from my array
    //>Exit code: 0
    import java.util.*;
    public class readOperation{
         public String readString(String userInstruction)
              String aString = null;
              try
                         Scanner scan = new Scanner(System.in);
                   System.out.print(userInstruction);
                   aString = scan.nextLine();
              catch (NoSuchElementException e)
                   //if no line was found
                   System.out.println("\nNoSuchElementException error occurred (no line was found) " + e);
              catch (IllegalStateException e)
                   // if this scanner is closed
                   System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
              return aString;
         public char readTheFirstChar(String userInstruction)
              char aChar = ' ';
              String strSelection = null;
              try
                   //char charSelection;
                         Scanner scan = new Scanner(System.in);
                   System.out.print(userInstruction);
                   strSelection = scan.next();
                   aChar =  strSelection.charAt(0);
              catch (NoSuchElementException e)
                   //if no line was found
                   System.out.println("\nNoSuchElementException error occurred (no line was found) " + e);
              catch (IllegalStateException e)
                   // if this scanner is closed
                   System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
              return aChar;
         public int readInt(String userInstruction) {
              int aInt = 0;
              try {
                   Scanner scan = new Scanner(System.in);
                   System.out.print(userInstruction);
                   aInt = scan.nextInt();
              } catch (InputMismatchException e) {
                   System.out.println("\nInputMismatchException error occurred (the next token does not match the Integer regular expression, or is out of range) " + e);
              } catch (NoSuchElementException e) {
                   System.out.println("\nNoSuchElementException error occurred (input is exhausted)" + e);
              } catch (IllegalStateException e) {
                   System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
              return aInt;
    }

    //problem occurs hereI'm not sure that the problem does occur within the
    removeCdForTitle() method.
    Your main() method calls removeCd() which obtains the title of
    the CD to be removed (keyword). But remoceCd() never
    calls removeCdForTitle(), so nothing is ever removed.

  • Seam on Weblogic 10.3.2: Possible classloader problem?

    Hi all,
    I have a problem deploying a Seam 2.2.0.GA application on WebLogic 10.3.2. I use JRockit 1.6.0_14, Richfaces 3.2.0.GA and Facelets 1.1.14 and the Server is deployed on Windoes XP 32bit. The application has the following structure:
    application.ear
    |--> APP-INF
    | |--> classes
    | |--> lib (all jar dependencies go here, including the WAR dependencies, EJB module dependencies)
    |-->META_INF
    | |--> application.xml
    | |--> data-sources.xml
    | |--> MANIFEST.MF
    | |--> weblogic.xml
    | |--> weblogic-application.xml
    |--> jboss-seam-2.2.0.GA.jar (is an EJB module)
    |--> myEjbModule1.jar
    |--> myEjbModule2.jar
    |--> myEjbModule3.jar
    |--> myEjbModule4.jar
    |--> myWar.war (NO libraries in WEB-INF/lib, finds everything in EAR/lib)
    JBoss Seam is an EJB module. and is declared as such in application.xml. Everything is OK, since the application loads correctly. The jar contains a faces.config registering the SeamPhaseListener on JSF, so that Seam actually works.
    Problems start when I try to enable the debug page of Seam. In order to do this, one must include in the classpath the jboss-seam-debug.jar (in APP-INF/lib or EAR/lib, here I am using the first). This jar has its own faces.config, which registers the Seam*Debug*PhaseListener on JSF, so that it catches debug requests.
    When deploying WITH jboss-seam-debug.jar, the application does not appear, but ONLY the debug page with the following exception (stacktrace at the end):
    Exception during request processing:
    Caused by java.lang.IllegalStateException with message: "No phase id bound to current thread (*make sure you do not have two SeamPhaseListener instances installed*)"
    This probably signifies a classloader issue. So, I have two questions:
    1. Has anyone deployed JBoss Seam on WenLogic WITH the debug page? If yes, is the structure of my project correct?
    2. Is there a way to debug the classloading of WebLogic? What I would find helpful would be to see what happens that registers the SeamPhaseListener more than one times.
    Note: When "JBoss-izing" the same EAR (remove hibernate jars, which are provided by JBoss, and move all libraries from EAR/lib to EAR root), the application loads correctly. BOTH the application AND the debug page appear correctly.
    Edited by: user6410241 on Mar 24, 2010 8:14 AM
    Edited by: user6410241 on Mar 24, 2010 8:26 AM

    The problem was the name of the Seam EJB module. Changing the jar to jboss-seam.jar, everything worked. This issue does not appear on JBoss 4.2.3.GA, where I also tested.
    Edited by: deadlock_gr on Jun 10, 2010 9:55 AM
    Edited by: deadlock_gr on Jun 10, 2010 9:56 AM

  • Problem with ArrayLists and writing and reading from a .dat file (I think)

    I'm brand new to this forum, but I'm sure hoping someone can help me with a problem I'm having with ArrayLists. This program was originally created with an array of objects that were displayed on a GUI with jtextFields, then cycling thru them via jButtons: First, Next, Previous, Last. Now I need to add the ability to modify, delete and add records. Both iterations of this program needed to write to and read from a .dat file.
    It worked just like it was suppose to when I used just the array, but now I need to use a "dynamic array" that will grow or shrink as needed: i.e. an ArrayList.
    When I aded the ArrayList I had the ArrayList use toArray() to fill my original array so I could continue to use all the methods I'd created for using with my array. Now I'm getting a nullPointerException every time I try to run my program, which means somewhere I'm NOT filling my array ???? But, I'm writing just fine to my .dat file, which is confusing me to no end!
    It's a long program, and I apologize for the length, but here it is. There are also 2 class files, a parent and 1 child below Inventory6. This was written in NetBeans IDE 5.5.1.
    Thank you in advance for any help anyone can give me!
    LabyBC
    package my.Inventory6;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.Insets;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.text.DecimalFormat;
    import javax.swing.JOptionPane;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JTextField;
    import java.io.*;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.lang.IllegalStateException;
    import java.util.NoSuchElementException;
    import java.util.ArrayList;
    import java.text.NumberFormat;
    // Class Inventory6
    public class Inventory6 extends javax.swing.JFrame {
    private static InventoryPlusColor[] inventory;
    private static ArrayList inList;
    // create a tool that insure the specified format for a double number, when displayed
    private DecimalFormat doubleFormat = new DecimalFormat( "0.00" );
    private DecimalFormat singleFormat = new DecimalFormat( "0");
    // the index within the array of products of the current displayed product
    private int currentProductIndex;
    /** Creates new form Inventory6 */
    public Inventory6() {
    initComponents();
    currentProductIndex = 0;
    } // end Inventory6()
    private static InventoryPlusColor[] getInventory() {
    ArrayList<InventoryPlusColor> inList = new ArrayList<InventoryPlusColor>();
    inList.add(new InventoryPlusColor(1, "Couch", 3, 1250.00, "Blue"));
    inList.add(new InventoryPlusColor(2, "Recliner", 10, 525.00, "Green"));
    inList.add(new InventoryPlusColor(3, "Chair", 6, 125.00, "Mahogany"));
    inList.add(new InventoryPlusColor(4, "Pedestal Table", 2, 4598.00, "Oak"));
    inList.add(new InventoryPlusColor(5, "Sleeper Sofa", 4, 850.00, "Yellow"));
    inList.add(new InventoryPlusColor(6, "Rocking Chair", 2, 459.00, "Tweed"));
    inList.add(new InventoryPlusColor(7, "Couch", 4, 990.00, "Red"));
    inList.add(new InventoryPlusColor(8, "Chair", 12, 54.00, "Pine"));
    inList.add(new InventoryPlusColor(9, "Ottoman", 3, 110.00, "Black"));
    inList.add(new InventoryPlusColor(10, "Chest of Drawers", 5, 598.00, "White"));
    for (int j = 0; j < inList.size(); j++)
    System.out.println(inList);
    InventoryPlusColor[] inventory = (InventoryPlusColor[]) inList.toArray
    (new InventoryPlusColor[inList.size()]);
    return inventory;
    } // end getInventory() method
    /** 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();
    IDNumberLbl = new javax.swing.JLabel();
    IDNumberField = new javax.swing.JTextField();
    prodNameLbl = new javax.swing.JLabel();
    prodNameField = new javax.swing.JTextField();
    colorLbl = new javax.swing.JLabel();
    colorField = new javax.swing.JTextField();
    unitsInStockLbl = new javax.swing.JLabel();
    unitsInStockField = new javax.swing.JTextField();
    unitPriceLbl = new javax.swing.JLabel();
    unitPriceField = new javax.swing.JTextField();
    invenValueLbl = new javax.swing.JLabel();
    invenValueField = new javax.swing.JTextField();
    restockingFeeLbl = new javax.swing.JLabel();
    restockingFeeField = new javax.swing.JTextField();
    jbtFirst = new javax.swing.JButton();
    jbtNext = new javax.swing.JButton();
    jbtPrevious = new javax.swing.JButton();
    jbtLast = new javax.swing.JButton();
    jbtAdd = new javax.swing.JButton();
    jbtDelete = new javax.swing.JButton();
    jbtModify = new javax.swing.JButton();
    jbtSave = new javax.swing.JButton();
    jPanel2 = new javax.swing.JPanel();
    searchIDNumLbl = new javax.swing.JLabel();
    searchIDNumbField = new javax.swing.JTextField();
    jbtSearch = new javax.swing.JButton();
    searchResults = new javax.swing.JLabel();
    jbtExit = new javax.swing.JButton();
    jbtExitwoSave = new javax.swing.JButton();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(), "Inventory Program"));
    IDNumberLbl.setText("ID Number");
    IDNumberField.setEditable(false);
    prodNameLbl.setText("Product Name");
    prodNameField.setEditable(false);
    colorLbl.setText("Product Color");
    colorField.setEditable(false);
    colorField.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    colorFieldActionPerformed(evt);
    unitsInStockLbl.setText("Units In Stock");
    unitsInStockField.setEditable(false);
    unitPriceLbl.setText("Unit Price $");
    unitPriceField.setEditable(false);
    invenValueLbl.setText("Inventory Value $");
    invenValueField.setEditable(false);
    restockingFeeLbl.setText("5% Restocking Fee $");
    restockingFeeField.setEditable(false);
    javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
    jPanel1.setLayout(jPanel1Layout);
    jPanel1Layout.setHorizontalGroup(
    jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel1Layout.createSequentialGroup()
    .addContainerGap()
    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
    .addComponent(unitPriceLbl)
    .addComponent(unitsInStockLbl)
    .addComponent(colorLbl)
    .addComponent(prodNameLbl)
    .addComponent(IDNumberLbl)
    .addComponent(restockingFeeLbl)
    .addComponent(invenValueLbl))
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
    .addComponent(IDNumberField, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 176, Short.MAX_VALUE)
    .addComponent(prodNameField, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 176, Short.MAX_VALUE)
    .addComponent(colorField, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 176, Short.MAX_VALUE)
    .addComponent(unitsInStockField, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 176, Short.MAX_VALUE)
    .addComponent(unitPriceField, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 176, Short.MAX_VALUE)
    .addComponent(restockingFeeField, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 176, Short.MAX_VALUE)
    .addComponent(invenValueField, javax.swing.GroupLayout.DEFAULT_SIZE, 176, Short.MAX_VALUE))
    .addContainerGap())
    jPanel1Layout.setVerticalGroup(
    jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel1Layout.createSequentialGroup()
    .addContainerGap()
    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(IDNumberLbl)
    .addComponent(IDNumberField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(prodNameLbl)
    .addComponent(prodNameField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(colorField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(colorLbl))
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(unitsInStockField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(unitsInStockLbl))
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(unitPriceField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(unitPriceLbl))
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(restockingFeeField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(restockingFeeLbl))
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 10, Short.MAX_VALUE)
    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(invenValueField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(invenValueLbl))
    .addContainerGap())
    jbtFirst.setText("First");
    jbtFirst.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jbtFirstActionPerformed(evt);
    jbtNext.setText("Next");
    jbtNext.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jbtNextActionPerformed(evt);
    jbtPrevious.setText("Previous");
    jbtPrevious.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jbtPreviousActionPerformed(evt);
    jbtLast.setText("Last");
    jbtLast.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jbtLastActionPerformed(evt);
    jbtAdd.setText("Add");
    jbtAdd.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jbtAddActionPerformed(evt);
    jbtDelete.setText("Delete");
    jbtModify.setText("Modify");
    jbtModify.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jbtModifyActionPerformed(evt);
    jbtSave.setText("Save");
    jbtSave.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jbtSaveActionPerformed(evt);
    jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(), "Search by:"));
    searchIDNumLbl.setText("Item Number:");
    jbtSearch.setText("Search");
    searchResults.setFont(new java.awt.Font("Tahoma", 1, 12));
    javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
    jPanel2.setLayout(jPanel2Layout);
    jPanel2Layout.setHorizontalGroup(
    jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel2Layout.createSequentialGroup()
    .addContainerGap()
    .addComponent(searchIDNumLbl)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel2Layout.createSequentialGroup()
    .addGap(259, 259, 259)
    .addComponent(searchResults, javax.swing.GroupLayout.PREFERRED_SIZE, 213, javax.swing.GroupLayout.PREFERRED_SIZE))
    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
    .addComponent(jbtSearch, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(searchIDNumbField, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)))
    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    jPanel2Layout.setVerticalGroup(
    jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel2Layout.createSequentialGroup()
    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(searchIDNumLbl)
    .addComponent(searchIDNumbField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel2Layout.createSequentialGroup()
    .addGap(32, 32, 32)
    .addComponent(searchResults, javax.swing.GroupLayout.PREFERRED_SIZE, 17, javax.swing.GroupLayout.PREFERRED_SIZE))
    .addGroup(jPanel2Layout.createSequentialGroup()
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(jbtSearch)))
    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    jbtExit.setText("Save and Exit");
    jbtExit.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jbtExitActionPerformed(evt);
    jbtExitwoSave.setText("Exit");
    jbtExitwoSave.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jbtExitwoSaveActionPerformed(evt);
    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addContainerGap()
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 248, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 44, Short.MAX_VALUE)
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
    .addComponent(jbtExitwoSave, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    .addComponent(jbtExit)))
    .addGroup(layout.createSequentialGroup()
    .addComponent(jbtFirst)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(jbtNext)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(jbtPrevious)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(jbtLast))
    .addGroup(layout.createSequentialGroup()
    .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    .addGap(12, 12, 12)
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
    .addComponent(jbtAdd)
    .addComponent(jbtDelete)
    .addComponent(jbtModify)
    .addComponent(jbtSave))))
    .addContainerGap())
    layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {jbtFirst, jbtLast, jbtNext, jbtPrevious});
    layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {jbtAdd, jbtDelete, jbtModify, jbtSave});
    layout.setVerticalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addGap(21, 21, 21)
    .addComponent(jbtAdd)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(jbtDelete)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(jbtModify)
    .addGap(39, 39, 39)
    .addComponent(jbtSave))
    .addGroup(layout.createSequentialGroup()
    .addContainerGap()
    .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(jbtFirst)
    .addComponent(jbtNext)
    .addComponent(jbtPrevious)
    .addComponent(jbtLast))
    .addGap(15, 15, 15)
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
    .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addGroup(layout.createSequentialGroup()
    .addComponent(jbtExit)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(jbtExitwoSave)))
    .addContainerGap())
    pack();
    }// </editor-fold>
    private void jbtExitwoSaveActionPerformed(java.awt.event.ActionEvent evt) {                                             
    System.exit(0);
    private void jbtSaveActionPerformed(java.awt.event.ActionEvent evt) {                                       
    String prodNameMod, colorMod;
    double unitsInStockMod, unitPriceMod;
    int idNumMod;
    idNumMod = Integer.parseInt(IDNumberField.getText());
    prodNameMod = prodNameField.getText();
    unitsInStockMod = Double.parseDouble(unitsInStockField.getText());
    unitPriceMod = Double.parseDouble(unitPriceField.getText());
    colorMod = colorField.getText();
    if(currentProductIndex == inventory.length) {
    inList.add(new InventoryPlusColor(idNumMod, prodNameMod,
    unitsInStockMod, unitPriceMod, colorMod));
    InventoryPlusColor[] inventory = (InventoryPlusColor[]) inList.toArray
    (new InventoryPlusColor[inList.size()]);
    } else {
    inventory[currentProductIndex].setIDNumber(idNumMod);
    inventory[currentProductIndex].setProdName(prodNameMod);
    inventory[currentProductIndex].setUnitsInStock(unitsInStockMod);
    inventory[currentProductIndex].setUnitPrice(unitPriceMod);
    inventory[currentProductIndex].setColor(colorMod);
    displayProduct(inventory[currentProductIndex]);
    private static void writeInventory(InventoryPlusColor i,
    DataOutputStream out) {
    try {
    out.writeInt(i.getIDNumber());
    out.writeUTF(i.getProdName());
    out.writeDouble(i.getUnitsInStock());
    out.writeDouble(i.getUnitPrice());
    out.writeUTF(i.getColor());
    } catch (IOException e) {
    JOptionPane.showMessageDialog(null, "I/O Exception writing data",
    "", JOptionPane.ERROR_MESSAGE);
    System.exit(0);
    } //end writeInventory()
    private static DataOutputStream openOutputStream(String name) {
    DataOutputStream out = null;
    try {
    File file = new File(name);
    out =
    new DataOutputStream(
    new BufferedOutputStream(
    new FileOutputStream(file)));
    } catch (IOException e) {
    JOptionPane.showMessageDialog(null, "I/O Error", "", JOptionPane.ERROR_MESSAGE);
    System.exit(0);
    return out;
    } // end openOutputStream()
    private static void closeFile(DataOutputStream out) {
    try {
    out.close();
    } catch (IOException e) {
    JOptionPane.showMessageDialog(null, "I/O Exception closing file",
    "", JOptionPane.ERROR_MESSAGE);
    System.exit(0);
    } // end closeFile()
    private static DataInputStream getStream(String name) {
    DataInputStream in = null;
    try {
    File file = new File(name);
    in = new DataInputStream(
    new BufferedInputStream(
    new FileInputStream(file)));
    } catch (FileNotFoundException e) {
    JOptionPane.showMessageDialog(null, "The file doesn't exist",
    "", JOptionPane.ERROR_MESSAGE);
    System.exit(0);
    } catch (IOException e) {
    JOptionPane.showMessageDialog(null, "I/O Error creating file",
    "", JOptionPane.ERROR_MESSAGE);
    System.exit(0);
    return in;
    private static void closeInputFile(DataInputStream in) {
    try {
    in.close();
    } catch (IOException e) {
    JOptionPane.showMessageDialog(null, "I/O Exception closing file",
    "", JOptionPane.ERROR_MESSAGE);
    System.exit(0);
    } // end closeInputFile()
    private double entireInventory() {
    // a temporary double variable that the method will return ...
    // after each product's inventory is added to it
    double entireInventory = 0;
    // loop to control number of products
    for (int index = 0; index < inventory.length; index++) {
    // add each inventory to the entire inventory
    entireInventory += inventory[index].setInventoryValue();
    } // end loop to control number of products
    return entireInventory;
    } // end method entireInventory
    private void jbtLastActionPerformed(java.awt.event.ActionEvent evt) {                                       
    currentProductIndex = inventory.length-1; // move to the last product
    // display the information for the last product
    displayProduct(inventory[currentProductIndex]);
    private void jbtPreviousActionPerformed(java.awt.event.ActionEvent evt) {                                           
    if (currentProductIndex != 0) // it's not the first product displayed
    currentProductIndex -- ; // move to the previous product (decrement the current index)
    } else // the first product is displayed
    currentProductIndex = inventory.length-1; // move to the last product
    // after the current product index is set, display the information for that product
    displayProduct(inventory[currentProductIndex]);
    private void jbtNextActionPerformed(java.awt.event.ActionEvent evt) {                                       
    if (currentProductIndex != inventory.length-1) // it's not the last product displayed
    currentProductIndex ++ ; // move to the next product (increment the current index)
    } else // the last product is displayed
    currentProductIndex = 0; // move to the first product
    // after the current product index is set, display the information for that product
    displayProduct(inventory[currentProductIndex]);
    private void jbtFirstActionPerformed(java.awt.event.ActionEvent evt) {                                        
    currentProductIndex = 0;
    // display the information for the first product
    displayProduct(inventory[currentProductIndex]);
    private void colorFieldActionPerformed(java.awt.event.ActionEvent evt) {                                          
    // TODO add your handling code here:
    private void jbtModifyActionPerformed(java.awt.event.ActionEvent evt) {                                         
    prodNameField.setEditable(true);
    prodNameField.setFocusable(true);
    unitsInStockField.setEditable(true);
    unitPriceField.setEditable(true);
    private void jbtAddActionPerformed(java.awt.event.ActionEvent evt) {                                      
    IDNumberField.setText("");
    IDNumberField.setEditable(true);
    prodNameField.setText("");
    prodNameField.setEditable(true);
    colorField.setText("");
    colorField.setEditable(true);
    unitsInStockField.setText("");
    unitsInStockField.setEditable(true);
    unitPriceField.setText("");
    unitPriceField.setEditable(true);
    restockingFeeField.setText("");
    invenValueField.setText("");
    currentProductIndex = inventory.length;
    private void jbtExitActionPerformed(java.awt.event.ActionEvent evt) {                                       
    DataOutputStream out = openOutputStream("inventory.dat");
    for (InventoryPlusColor i : inventory)
    writeInventory(i, out);
    closeFile(out);
    System.exit(0);
    private static InventoryPlusColor readProduct(DataInputStream in) {
    int idNum = 0;
    String prodName = "";
    double inStock = 0.0;
    double pric

    BalusC -- The line that gives me my NullPointerException is when I call the "DisplayProduct()" method. Its a dumb question, but with NetBeans how do I find out which reference could be null? I'm not very familiar with how NetBeans works with finding out how to debug. Any help you can give me would be greatly appreciated.The IDE is com-plete-ly irrelevant. It's all about the source code.
    Do you understand anyway when and why a NullPointerException is been thrown? It is a subclass of RuntimeException and those kind of exceptions are very trival and generally indicate an design/logic/thinking fault in your code.
    SomeObject someObject = null; // The someObject reference is null.
    someObject.doSomething(); // Invoking a reference which is null would throw NPE.

  • Problem with Application build in JDeveloper 11.1.5 to WLS 10.3.5

    Hi to everyone, I have a problem with a application build in JDeveloper 11.1.5 and deployed to a standalone WLS 10.3.5 ( with the JRF template appliied , to run adf applications )
    When I try access to the page : localhost:7001/myApp , it show me :
    "Error 403 Fordbbiben ".
    but when I put :
    localhost:7001/myApp/index.jspx, it show me :
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    and the log is :
    <May 8, 2012 9:06:22 PM BOT> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <BEA-000000> <
    java.lang.IllegalStateException: The expression "#{bindings.genRegion.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "genRegion_dlg") evaluated to null.
    This is typically due to an error in the configuration of the objects referenced by this expression.
    If it helps, the expression "#{bindings.genRegion}" evaluates to "null".
    If it helps, the expression "#{bindings}" evaluates to "null". Now using an empty RegionModel instead.
    at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:450)
    at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:682)
    at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
    at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
    What can I do to fix the problem ??
    Thanks

    Analyzing the problem, I created a new ADF application with only a web page (index.jspx) , and deploy it to the WLS, and I access to URL of page and it runs !! ( http:localhost:7001/myApp/faces/index.jspx ).
    But, when I ADD A TASK FLOW to the application and deploy to the WLS newly , and try to access to the URL application's ( http:localhost:7001/myApp/faces/index.jspx ) . It show me again :
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    and the log is :
    <May 10, 2012 19:02:57 PM BOT> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <BEA-000000> <
    java.lang.IllegalStateException: The expression "#{bindings.genRegion.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "genRegion_dlg") evaluated to null.
    This is typically due to an error in the configuration of the objects referenced by this expression.
    If it helps, the expression "#{bindings.genRegion}" evaluates to "null".
    If it helps, the expression "#{bindings}" evaluates to "null". Now using an empty RegionModel instead.
    at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:450)
    at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:682)
    at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
    at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
    Why it show me that error when I ADD a Task Flow to the Application ???
    Can Anyone help me please ?? I m varios days with this problem. Thanks

  • Problem with non-container managed entity manager

    i am working on a project, in which i am using entity beans.i use netbeans, glassfish as application server and toplink as persistence provider .
    i created a java class that handles all the operations with the entitys, which means i using non-container managed entity manager.
    in the constructor
    try{
                EntityManagerFactory emf = Persistence.createEntityManagerFactory("voidPU");
                entityManager = emf.createEntityManager();
            catch(Exception ex){
                throw new EJBException(ex.getMessage());
            }then i call a function in this class from a servlet
    the code of the function
    List users = null;
            try {
                ProgLanguages progLanguage = entityManager.find(ProgLanguages.class, languageId);
                users = (List) progLanguage.getUserIdCollection();
            catch(IllegalStateException illegalStateException){
                throw new EJBException(illegalStateException.getMessage());
            catch(IllegalArgumentException illegalArgumentException) {
                throw new EJBException(illegalArgumentException.getMessage());
            }i got an IllegalArgumentException saying Unknown entity bean class: class vanguard.server.entity.ProgLanguages, please verify that this class has been marked with the @Entity annotation
    what confuses me is that sometimes it works and most of the time it does not work, have i made anything wrong?, or there is a problem with any of the tools netbeans, glassfish, or toplink?

    Is it always the same entity that is reported as 'unknown' ? You mention that it works sometimes but is it the same deployment and the same code that works? The first thing I would verify is that the ear is being created as expected by netbeans. Check the persistence.xml file and verify that all of the classes are listed that will be used as entities.
    --Gordon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for