PJC for Forms Timeout

Any body has used the Pluggable Java component for Forms Timeout feature.
I have customised the form to include a Java bean and set it its implementation class.
I have copied the jar file to the OAS java path and added an entry for the jar file to the formsweb.cfg file.
Neither the pluggable java bean functions properly nor it throws an exception.
I did the setup as per the readme document. Please let me know any other settings has to be done.
====
Oracle Forms 9.0.4.2.0
Oracle 9i Database 9.2.0.7.0
Jinit - 1.3.1.18
Plugable Java Component - 9.0.4.2
====
Thanks in advance

This is what I did:
- Downloaded the timeout.jar from the OTN Forms sample code page
- Copied the timeout.jar to my /forms/java folder
- Updated the formsweb.cfg file (added timeout.jat toe the archive and archive_jini tags)
- Opened the timeout.fmb sample (from the Demos)
- Added set_custom_property('PJC.TIMEOUT',1,'ENABLE_DEBUGGING','true'); at the end of the When-New-Form-Instnace trigger
- Run the sample dialog
- Clicked the start timer button
obtained the following in the Java console:
DEBUG MESSAGE TimeoutPJC0: Starting timer ... with1 minute(s) max. inactivity
DEBUG MESSAGE TimeoutPJC0: Start time = 24-oct.-2008, 07:27:55 AM
DEBUG MESSAGE TimeoutPJC0: Current time = 24-oct.-2008, 07:27:55 AM
DEBUG MESSAGE TimeoutPJC0: Last user action = 24-oct.-2008, 07:27:55 AM
DEBUG MESSAGE TimeoutPJC0: Last user action time = 24-oct.-2008, 07:27:55 AM
DEBUG MESSAGE TimeoutPJC0: Max allowed inactivity in Seconds = 60
DEBUG MESSAGE TimeoutPJC0: Timer not expired ...
Francois

Similar Messages

  • PJC for FORMS 6i using a ScrollPane

    Hi,
    I'm making my first step with pjc for forms 6i application.
    I would like to create a graphical component using a scrollpane where i draw single primitive like line, circle, rect into scrollpane double-buffered.
    Where can i found a piece of code of a pjc using scollpane ?
    Thanks

    This is what I did:
    - Downloaded the timeout.jar from the OTN Forms sample code page
    - Copied the timeout.jar to my /forms/java folder
    - Updated the formsweb.cfg file (added timeout.jat toe the archive and archive_jini tags)
    - Opened the timeout.fmb sample (from the Demos)
    - Added set_custom_property('PJC.TIMEOUT',1,'ENABLE_DEBUGGING','true'); at the end of the When-New-Form-Instnace trigger
    - Run the sample dialog
    - Clicked the start timer button
    obtained the following in the Java console:
    DEBUG MESSAGE TimeoutPJC0: Starting timer ... with1 minute(s) max. inactivity
    DEBUG MESSAGE TimeoutPJC0: Start time = 24-oct.-2008, 07:27:55 AM
    DEBUG MESSAGE TimeoutPJC0: Current time = 24-oct.-2008, 07:27:55 AM
    DEBUG MESSAGE TimeoutPJC0: Last user action = 24-oct.-2008, 07:27:55 AM
    DEBUG MESSAGE TimeoutPJC0: Last user action time = 24-oct.-2008, 07:27:55 AM
    DEBUG MESSAGE TimeoutPJC0: Max allowed inactivity in Seconds = 60
    DEBUG MESSAGE TimeoutPJC0: Timer not expired ...
    Francois

  • From Forms Product Management - Forms Timeout PJC

    We have just launched a new timeout PJC which will timeout a Forms sessiosn depending on user inactivity.
    Its available at http://otn.oracle.com/products/forms and click on the top news item.
    Regards
    Grant Ronald
    Forms Product Management

    More information regrading my previous post....
    I tried to launch the timeout example from Netscape and found that JInitiator console (not the "Start OC4J instance" console in my previous post) has the following:
    Oracle JInitiator: Version 1.3.1.9
    Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\dmeng
    Proxy Configuration: Browser Proxy Configuration
    JAR cache enabled
    Location: C:\Documents and Settings\dmeng\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://localhost:8888/forms90demo/java/f90all_jinit.jar from JAR cache
    java.io.IOException: Could not connect to http://localhost:8888/forms90demos/jars/demo90.jar
         at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)
         at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)
         at oracle.jre.protocol.jar.JarCache.get(Unknown Source)
         at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
         at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
         at sun.misc.URLClassPath$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getResource(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.ewt.util.FocusUtils.<clinit>(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.<clinit>(Unknown Source)
         at oracle.ewt.laf.oracle.OracleLookAndFeel._initCommonFixedDefaults(Unknown Source)
         at oracle.ewt.laf.oracle.OracleLookAndFeel._getCommonDefaults(Unknown Source)
         at oracle.ewt.laf.oracle.OracleLookAndFeel._getIndexedDefaults(Unknown Source)
         at oracle.ewt.laf.oracle.OracleLookAndFeel.getDefaults(Unknown Source)
         at oracle.ewt.lwAWT.BufferedApplet.getUIDefaults(Unknown Source)
         at oracle.ewt.lwAWT.BufferedApplet.<init>(Unknown Source)
         at oracle.ewt.swing.JBufferedApplet.<init>(Unknown Source)
         at oracle.forms.engine.Main.<init>(Unknown Source)
         at java.lang.Class.newInstance0(Native Method)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    WARNING: Unable to cache http://localhost:8888/forms90demos/jars/demo90.jar
    java.io.IOException: Could not connect to http://localhost:8888/forms90demos/jars/timeout.jar
         at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)
         at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)
         at oracle.jre.protocol.jar.JarCache.get(Unknown Source)
         at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
         at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
         at sun.misc.URLClassPath$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getResource(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.ewt.util.FocusUtils.<clinit>(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.<clinit>(Unknown Source)
         at oracle.ewt.laf.oracle.OracleLookAndFeel._initCommonFixedDefaults(Unknown Source)
         at oracle.ewt.laf.oracle.OracleLookAndFeel._getCommonDefaults(Unknown Source)
         at oracle.ewt.laf.oracle.OracleLookAndFeel._getIndexedDefaults(Unknown Source)
         at oracle.ewt.laf.oracle.OracleLookAndFeel.getDefaults(Unknown Source)
         at oracle.ewt.lwAWT.BufferedApplet.getUIDefaults(Unknown Source)
         at oracle.ewt.lwAWT.BufferedApplet.<init>(Unknown Source)
         at oracle.ewt.swing.JBufferedApplet.<init>(Unknown Source)
         at oracle.forms.engine.Main.<init>(Unknown Source)
         at java.lang.Class.newInstance0(Native Method)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    WARNING: Unable to cache http://localhost:8888/forms90demos/jars/timeout.jar
    connectMode=HTTP, native.
    Forms Applet version is : 90290
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.ButtonItem.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.ButtonItem.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Can someone tell me why I would have these exceptions?
    java.io.IOException: Could not connect to http://localhost:8888/forms90demos/jars/demo90.jar
    java.io.IOException: Could not connect to http://localhost:8888/forms90demos/jars/timeout.jar
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
    Thanks.
    De-mei

  • Timeout for Form or Workflow

    Hi guys,
    Given a scenario where a workflow involves manual actions with forms, if a form remains unattended or the user closes the browser, it is known that the workflow remains in the 'suspended' state forever until the admin terminates the task.
    Is there a way to specify a timeout to the form/workflow so that after that amount of time, the workflow goes to the next action in sequence or to the 'end' activity?
    Thanks for your help.
    Adi.

    Hi,
    That is one way of setting the form timeout, in other way you can write customized java code which will return the time in minutes. call this method directly in the manual action of the workflow( timeout field) while assigning the form.
    example:
    <ManualAction id='0' name='getApproval'>
    <Owner>
    <ref>primary</ref>
    </Owner>
    <FormRef>
    <ObjectRef type='UserForm' id='#ID#D80145F73050B0DB:-15B14C06:1080B2DF12F:-7FF0' name='Approval Form'/>
    </FormRef>
    <Timeout>
    <invoke name='TimeOut' class='com.waveset.ResourceUtil'/>
    </Timeout>
    </ManualAction>
    Thanks

  • PJC for Spell Checking

    Dear Experts,
    My forms & database version is
    Forms [32 Bit] Version 10.1.2.3.0 (Production)
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    I need a PJC for Spell Checking.
    I tried to download it from
    http://forms.pjc.bean.over-blog.com/article-a-spell-checker-java-bean-38414462.html
    but the link is not working.
    Help me out, please...
    Thanks in advance..

    Hello,
    The Bean's material was uploaded on MegaUpload, that is closed, now. Unfortunately, I cannot managed to contact the Bean creator, so that it seems that this code is lost :(
    <p>
    As an alternative, here is the way I use (see at the very end of the article), using the MSWord internal spell check option.</p>
    Francois

  • Pjc for client-server mode

    hi,
    i have been using pjc for customized text field and text area and have successfully implemented it on windows and sun solaris. we have used pjc for working in non english character set so that the user can directly type in the required character set without any supporting application to enable new keyboard mapping. but i have a serious problem.
    these customized components work only on the webforms mode.i.e. on browser or applet. they dont work in the normal client server mode. is it possible that i can have them running in the normal runtime also. if yes then how and if not what is the work around for achieving the same without much effort.
    awaiting a prompt reply.
    thanks in advance,
    regards,
    Yousuf.
    Delhi.

    Dear Yousof,
    I want to do the same thing that u'vve already acheived, I want to customize oracle forms texfields and instead of EXTENDING VTextfield I want to extend JTextfield and ofcourse implementing IView interface.
    But I get problems, would u mind be kind enough to instruct me in doing that?
    Best regrds,
    Sasan

  • ClassCastException using PJC in Forms 9.0.4.1.0

    I'm trying to setup a simple PJC in a Forms using Oracle Forms 9.0.4.1.0 but I get a FRM-92100 with a java.lang.ClassCastException: nl.eurotransplant.pjc
    I've create a Form with a simple Java bean and set the implementation class to "nl.eurotransplant.pjc"
    I've also created the class nl.eurotransplant.pjc implementing the IView interface. I've implemented all the abstract methods from IView but none of them are doing anything (yet) other the system.out.println to the console.
    Packaged the nl.eurotransplant.pjc in a JAR file and included that in the archive parameter for Forms.
    From the console I can see the constructor of the PJC is being called and the init method is being called and completes. No more messages after that.
    Does anyone of you have a suggestion as to what I'm doing wrong?

    I searched some more on the Forum and eventually found a whitepaper on PJC's in Forms 6i. That gave me the tip not to implement the IView interface, but just extend the VBean class.
    That's what I just tried and no more classCastException. That seems to fix my issue. No to develop the bean itself...

  • Virtual Mappings For Forms 11

    Hi all,
    I am working with forms 11g and I need to create the virtual mapping for physical folder c:\temp on FMW server (Windows 32 bit)
    e.g. http://<host>:<port>/forms/temp
    I followed all steps explained in the Oracle Support document ID 981095.1 and in Oracle Documentation but the mapping does not work
    I have added the following lines to:
    Weblogic.xml located in $DOMAIN_HOME/servers/WLS_FORMS/tmp/_WL_user/formsapp_11.1.1/<random_string>/war/WEB-INF
    <virtual-directory-mapping>
    <local-path>C:\TEMP</local-path>
    <url-pattern>temp/*</url-pattern>
    </virtual-directory-mapping>
    form.conf located in $ORACLE_INSTANCE/config/OHS/<OHS INSTANCE NAME>/moduleconf.
    # Virtual path for physical directory of temp
    AliasMatch ^/forms/temp/(..*) "C:\TEMP/$1"
    WLExcludePathOrMimeType /forms/temp/
    http://dc1fmw51:9001/forms/temp/1.txt  --> physically located in c:\temp folder
    Error 404--Not Found ….
    Does anybody have the same problem?
    Any help will be appreciated.
    Thanks,
    Alex

    Thanks for your reply!
    http://dc1fmw61:9001/temp/test.html is giving the same error message.
    http://dc1fmw61:8888/forms - in portlist.ini OHS_LISTEN_PORT is it correctone ?
    Failure of server APACHE bridge:
    No backend server available
    If found this in Oracle Doc forms 11g services deployment guide:
    The virtual path definition in the weblogic.xml file for /forms/java allowsthe applet code to be loaded from the Web server.
    But in the weblogic.xml on my server I didn't find any mapping for /forms/Java . There are no mappings at all
    So where it could be defined?
    Here is my weblogic.xml file:
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <virtual-directory-mapping>
    <local-path>C:\TEMP</local-path>
    <url-pattern>temp/*</url-pattern>
    </virtual-directory-mapping>
    <session-descriptor>
    <timeout-secs>7200</timeout-secs>
    <invalidation-interval-secs>120</invalidation-interval-secs>
    <debug-enabled>false</debug-enabled>
    <id-length>52</id-length>
    <tracking-enabled>true</tracking-enabled>
    <cache-size>1024</cache-size>
    <max-in-memory-sessions>-1</max-in-memory-sessions>
    <cookies-enabled>false</cookies-enabled>
    </session-descriptor>
    <!--logical roles defined in web.xml are mapped to the real users below -->
    <security-role-assignment>
    <role-name>formsadmin</role-name>
    <principal-name>Administrators</principal-name>
    </security-role-assignment>
    </weblogic-web-app>
    Regards

  • STRUTS - Cannot retrieve definition for form bean null -aaaarrrrgh

    Hi Folks,
    my head hurts and i become crazy... i know that a lot of people asked this question before, but i did not found any suitable solution.
    I have simple a jsp page, containing a form which should be handled by struts. I tried everything, but i did not found my mistake.
    Can anyone help me please?
    JSP:
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html:html locale="true">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Anmeldung f?r GOLEM Quickplayout</title>
    </head>
    <body>
    <html:errors/>
    <html:form action="checkLogin.do">
      <table cellspacing="3" cellpadding="2" border="0" width="100%" align="left">
        <tr>
          <td>
            <bean:message key="prompt.username"/>
          </td>
          <td>
            <html:text property="username"/>
          </td>
        </tr>
        <tr>
          <td>
            <bean:message key="prompt.password"/>
          </td>
          <td>
            <html:text property="password"/>
          </td>
        </tr>
      </table>
    </html:form>i tryed a lot for the FORM -Tag, for instance:
    <html:form action="checkLogin.do"> or
    <html:form action="/checkLogin.do"> or
    <html:form action="/checkLogin"> but all throws the same exception. :(
    struts-config.xml
      <form-beans>
        <form-bean name="loginForm" type="de.orb.quick.view.LoginForm"/>
      </form-beans>
      <action-mappings>
      <action path="/login" type="de.orb.quick.view.LoginAction" name="loginForm" input="/login.jsp" scope="session" unknown="true">
        <forward name="success" path="/showData.jsp"/>
      </action>
        <action path="/checkLogin" type="de.orb.quick.view.CheckLogonAction" unknown="false" input="/login.jsp">
          <forward name="success" path="/storeRequestData.do"/>
          <forward name="failure" path="/login.do"/>
        </action>
    Exception:
    javax.servlet.jsp.JspException: Cannot retrieve definition for form bean null
         at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:831)
         at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
         at _login._jspService(login.jsp:11)     [/login.jsp]
    LoginAction:
      public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
        return mapping.findForward("success");
    LoginForm:
    public class LoginForm extends ActionForm  {
      private String password = "";
      private String username = "";
      public void reset(ActionMapping mapping, HttpServletRequest request) {
        super.reset(mapping, request);
      public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
        return super.validate(mapping, request);
      public String getPassword() {
        return password;
      public void setPassword(String password) {
        this.password = password;
      public String getUsername() {
        return username;
      public void setUsername(String username) {
        this.username = username;
      }Sorry for this stupid question, but how can i avoid this exception while using struts TagLibs?
    I tried to face the jsp with another action, but this does not change anything.
    Thank you in advance
    Mirko

    javax.servlet.jsp.JspException: Cannot retrieve definition for form bean myfrom
         at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:831)
         at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
         at jsp_servlet.__index._jspService(__index.java:155)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)

  • Cannot retrieve definition for form bean null

    Hi,
              I have a page jsp which contains a form. This form contains an action
              towards (page.do ).
              I configured struts-config.xml file in whom I put a configuration of
              action ( type=xxx.pageAction ) but not form because I have not need of
              it.
              During the execution it show that it tries to instantiate a bean of form
              corresponding to a configuration of action and post this error message
              " Root causes of ServletException javax.servlet.jsp. JspException:
              Cannot retrieve definition for form bean null "
              Could you indicate to me where is the problem ?
              Here is my configuration :
              < html:form action = " page.do " method = " post " >
              </html:form >
              <action path="/page"
              type="xxx.pageAction">
              <forward name="show" path="/page.jsp"/>
              </action>
              Thanks in advance
              Rachid.
              

    There's little reason to use Struts infrastructure to set this up since you have no model, and the controller aspect is well-defined (just go to "NewProject"!). You're basically providing a link from one page to another, akin to doing an <a href>, and you wouldn't use Struts to do a simple link :).
    I would just just use standard HTML.
    If you're okay with using Javascript, this is the simplest:
    <input type="button" onClick="document.location='NewProject'">
    Or you can use a standard HTML form, as you've basically done already:
    <form action="NewProject" method="get">
    <input type="submit" value="Create">
    </form>

  • CVP Opsconsole: Patterns for RNA timeout on outbound SIP calls - Dialed Number (DN) text box does not take any input

    Hi there,
    I'm having problems modifying the 'Dialed Number (DN)' text box under 'Advanced Configuration->Patterns for RNA timeout on outbound SIP calls' of the SIP tab in the Cisco Unified Customer Voice Portal 8.5(1) opsconsole. In a nut shell, I need to change the RNA timeout but some reason when typing into the Dialed Number text box, the input is not taken. The reason I want to change this settings is because my ICM Rona is not working with CVP:
    https://supportforums.cisco.com/thread/2031366
    Thanks in advance for any help.
    Carlos A Trivino
    [email protected]

    Hello Dale,
    CVP doesn't allow you to exceed the RNA more than 60  Seconds. If you want to configure the timer for DN Patterns you should  do it via OPS console, It would update the sip.properties files in  correct way, the above way is incorrect.
    Regards,
    Senthil

  • How to configure Oracle SSO for forms and apex

    Hi All,
    I am trying to configure oracle SSO for forms and apex using third party external authentication. Please help me how to configure. I a have tried all possible things
    from web but I am not able to do it. Is there any doc or links are much appreciated.
    Info: Some reason my oiddas web link is not working it used to work fine before and also the from /pls/orasso/ link I am not able to login may be because of my oiddas issue
    Thanks

    Hi Andreas,
    Thanks you for your help. I am trying to implement third party external LDAP authentication for APEX and Forms.
    So I started with OID and SSO setup to create external Partner Applications. Some reason my oid and sso web login links are not working. I didn't find any errors. I need some help in finding the problem and direction, I already read docs on web but no proper direction. I appreciate your help.
    Thanks

  • Error message TD427 (A text element is not defined for form J_1IEWT_CERT)

    Hello,
    Q> I assign the SAP script form J_1IEWT_CERT to 'SPRO=>Withholding Tax Certificates for Vendor and Customers' and was trying to see the print preveiw. But once I press printpreview button error comes "ELEMENT TITLEDET WINDOW TITLEDET IS NOT DEFINED FOR FORM J_1IEWT_CERT" and i can't see the printprview.
    Same thing I tried with the copy of J_1IEWT_CERT from 000 client to ZJ_1IEWT_CERT; but same error is coming.
    If i try the printpreview through SE71 it shows without error.
    Thank You.

    "test printing" via SE71 only prints what exists in the form. Here your form is missing TITLEDET window and element.
    The print program tries to print TITLEDET but it does not exist. Could you check SAP notes to get correct versions of print program and sapscript form.

  • New posting period for former fiscal year

    Hello All!
    For a customer we set up a database with posting periods for 2011 and 2012 (monthly periods). The database went live in 2011.
    Now the requirement came up to post the opening balances for 2011 per end of 2010 (to have the postings not in fiscal year 2011).
    My question is: is it a problem to add now a fiscal year 2010 (yearly basis)?
    Thanks and regards
    Peter Ganserer

    Hi Peter,
    Although it is your 2nd posting, I would add welcome message because I had not do so 1st time.
    For your question, it is not possible to add new posting period for former fiscal year. You best solution is to post those OB as the first date of the first period.
    Thanks,
    Gordon

  • Getting error while trying to set text for form value field in oaf

    Hi ALL,
    When i am trying to set text for a form value type field it is giving null pointer exception, please help me out.
    I tried below way.
    OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item11");
                containlineid.setText(pageContext,"test");
    Thanks

    HI Keerthi,
    I am able to set and get the value now, i am able to see the data in my log window, but in my page it is erroring out, giving null pointer exception.
    after commenting the two lines setting and getting value page is running fine, so any clue on this, please check the below code.
    public class XXDPECONTAINLINESCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
          OARawTextBean startDIVTagRawBean =
          (OARawTextBean) webBean.findChildRecursive("DivStart");
          System.out.println("debhorizontal"+ startDIVTagRawBean);
    // addScrollBarsToTable(pageContext, webBean,"DivStart", "DivEnd", true , "400",true,"400");
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
         String preplenish = pageContext.getParameter("item1");
          String pworkorder = pageContext.getParameter("item2");
          String pdmr = pageContext.getParameter("item4");
          String punloading = pageContext.getParameter("item6");
          String prrnum=pageContext.getParameter("item16");
          String pworknum=pageContext.getParameter("item14");
          String pdtr=pageContext.getParameter("item13");  
          Serializable param[] = {preplenish,pworkorder,pdmr,punloading,prrnum,pworknum,pdtr};
          OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
          if(pageContext.getParameter("item11")!=null)
            if(am !=null)
              am.invokeMethod("getSearchData",param);
          if (pageContext.getParameter("item30") != null) {
            String recout = (String)am.invokeMethod("getSelectedData");
               System.out.println("deb multi select test"+recout);        
                System.out.println("1111test1"+pageContext.getParameter("item32")); 
                OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item32");
                System.out.println("1111test2"+pageContext.getParameter("item32"));
                //containlineid.setValue(pageContext,recout);
                System.out.println("1111"+pageContext.getParameter("item32"));
              ///  System.out.println("22222"+containlineid.getValue(pageContext));
            containlineid.setValue(pageContext,recout);
            containlineid.getValue(pageContext);                            
               System.out.println("1111test3"+pageContext.getParameter("item32"));
    --------------Error it is giving in the page as----------------
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at _OA._jspService(_OA.java:71) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) ## Detail 0 ## java.lang.NullPointerException at xxdpe.oracle.apps.ak.xxdpecontain.webui.XXDPECONTAINLINESCO.processFormRequest(XXDPECONTAINLINESCO.java:123) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.beans.layout.OAMessageComponentLayoutBean.processFormRequest(Unknown Source
    Thnaks

Maybe you are looking for

  • Search in ical?

    i believe i am supposed to be able to do a search within applications including ical. but i can't find a way to make the search field come up in ical. and, in the system wide search, i only get one or two ical things....any idea?

  • Saving Portal Favorites - Variables Not saved

    Hi We upgraded our BI 7 last week to Support Pack 17. Now, when we Save As to create a Favorite in the Portal, the new Favorite doesn't keep the values entered in the Variable Entry screen such as Profit Centre or Fiscal Period. Changes made within t

  • LIne spacing +css

    What a css setting for eliminating the extra line space that occurs after a </p> If this were in Word, this space would be equivalant to a double space after an enter. Thanks!

  • How to tell which image I edited??

    Have 6 images on screen in iPhoto - they are all the same subject, just slight variations. I edited one, Sharpened and Adjusted Temperature, now a few days later I don't know which one was changed!! In the Get Info window all images have same date an

  • Missing the itunes installation file

    i am missing the itunes installation file and thus can't uninstall old version or install new version - can someone help? thanks in advance