BIB-14820 Calling BI Beans JSP deployed to iAS 10g

Hello,
I have deployed a jsp-bi beans application to iAS 10g Release 2.
When I try to access the jsp page I get this error:
javax.servlet.jsp.JspException: BIB-14122: The specified StorageManager could not be created.
BIB-14820 The root path does not exists.
Is there something that needs to be set up so that my xml config file for bi beans connection
can be accessed properly?
This jsp works from jdeveloper.
The .xml file with the bi beans connection configuration has a root path that I am pretty sure
needs to be changed. How do I change that (my application is not based on OLAP and does not contain a BI Designer object) ? And what does it need to be changed to in order to work from my iAS?
Thanks in advance.

There are three scripts provided with BI Beans for managing the catalogue:
AddGroup.sql
AddUser.sql
AddUsertoGroup.sql
Once you have created the catalog owner and installed the catalog then from SQLPlus execute the above commands as required. Each script prompts you for any arguments it requires. This will allow you to authorise users and setup groups to manage privileges within the catalog.
The scripts can be found in $ORACLE_JDEV_HOME/bibeans/bin
You can check the status of the items within the catalog via the Catalog Viewer within the JDev BIBeans project, the option is on the BIDesigner object (I think) which should launch a GUI catalog viewer.
Hope this helps
Keith Laker
Oracle EMEA Consulting
OLAP Blog: http://oracleOLAP.blogspot.com/
OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
DM Blog: http://oracledmt.blogspot.com/
OWB Blog : http://blogs.oracle.com/warehousebuilder/
OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

Similar Messages

  • Deployment problems on 10g

    Using Jdev 10g, I created a simple ADF UIX/BC4j web application (excepting all the defaults). Even though it is deployed to iAS 10g, the ear file needs to be self contained, so I included the default libraries in the deployment profile. I received the "NoSuchMethod..." error, so I included some ADF libraries in addition to other lib it 'might' need in the ear. After the second deployment, I received the "sealing violation" Apparently, all the 'required' libraries are not included when using the app wizard. Does anyone know what libraries I should include in a simple default Model and ViewController project.
    **If your answer is 'run the ADF installer' please explain why I should run the installer if my ear is self-contained.
    Thanks in advance,
    Jen

    Jen,
    Your earlier applications should not be affected - existing applications will not be overwritten; and applications developed with older versions of BC4J have been tested against the new runtime. If you change your mind, you can always uninstall the new runtime and go back to the version you were using before.
    UIX does have some extra steps you need to do; see the supported app server document for details: http://otn.oracle.com/products/jdev/collateral/papers/10g/as_supportmatrix.html
    Thanks
    Blaise
    P.S. To stop your username appearing as a number, you can click the Forum Settings link near the top of the page, verify your name and click Save.

  • How to call java bean from jsp

    hi
    How to call a java bean from jsp page..
    Is any other way to call javabean from jsp page apart from this sample code...
    <jsp:useBean id="obj" class="com.devsphere.articles.calltag.TestBean"/>
    thnx in advance

    If you also use servlets, you can attach beans to the request or session and use them directly in your JSP's. So if you do:
    request.setAttribute("name", yourBean);and then forward to a JSP, you can reference the bean like:
    ${requestScope.name}

  • How to call Java Beans from JSP (eg.put them in a WAR or package)

    Can anyone explain to me what are the steps and ways to call java beans from JSP?

    1st, put the javabean classes in the right place:
    the web-inf/classes/your_bean.class directory of corresponding web application
    2nd in your jsp page:
    <jsp:useBean id="obj_var_name" class="your_bean"/>
    <jsp:setProperty name="obj_var_name" property="smthg" value="smthg_calue"/>
    Micheal

  • Calling Session Beans in JSP ?

    Hi Folks,
    I am new to EJB3, I am doing simple applicatuions.
    Can any one please tell me how to call session beans in jsp page.
    for example my case is.. iam entering two diffrent data, lets say user name and password in jsp page and this should go in data base thru JPA (entity beans)
    Iam able to enter data from JPA in data base but if the same i have to fetch from JSP page.. iam not getting..!
    I would really appretiate for your help i need it urgent...!
    thanks in advance.

    abishek1983 wrote:
    Hi Folks,
    I am new to EJB3, I am doing simple applicatuions.
    Can any one please tell me how to call session beans in jsp page.
    Not. You can, technically, but you shouldn't. JSP should be for display purposes only, containing no Java code whatsoever.
    for example my case is.. iam entering two diffrent data,Wrong. You cannot possibly have "2 data", the very concept is impossible.
    You can have "2 data items" which is probably what you intended to say?
    lets say user name and password in jsp page and this should go in data base thru JPA (entity beans)
    Iam able to enter data from JPA in data base but if the same i have to fetch from JSP page.. iam not getting..!
    Same way you insert them. Of course JPA entities are distinctly different from entity beans. The very concept of entity beans no longer exists in the context of JPA, it's solely used to mean EJB 2.1 or earlier entity beans.
    I would really appretiate for your help i need it urgent...!
    It's not urgent.

  • How to call session bean's method in JSP

    Hi All,
    I am working on a JSF web application by using sun studio creator.
    The first page have a button, the onClick javascript is as following, which bring up a alert box showing user login name.
    In JSP file, how can I call session bean's setUserName(String name) function (which I would like to store this UserName). So the following pages can use this information.
    If I can not do it this way, is there any other way to do it?
    Thanks in advance.
    var net = new ActiveXObject("wscript.network");
    alert(net.UserName);
    In managed-beans.xml
    <managed-bean>
    <managed-bean-name>BasicInfo</managed-bean-name>
    <managed-bean-class>treepractice.BasicInfo</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>

    You can find more information/details/examples at their own website.
    On the other hand, do you realize that that ActiveX stuff is IE proprietary? And that it is a browser configuration whether to allow them or not? And that this configuration is in IE7 defaulted to an (annoying) warning box before execution which is just bad for the user experience?
    With other words, forget that ActiveX garbage. Alternatives are Applets (not recommended) or Java Web Start (recommended).

  • Calling managed bean method using ajax on jsp page loading

    Hello,
    I am using jsf1.1 i want to call managed bean method when page gets loaded using ajax.
    Thanks
    K.Ramu

    Use an ajaxical JSF framework, for example Ajax4jsf (part of RichFaces).
    But why don´t you just use the constructor of the bean class to do some stuff prior to page loading?

  • BI Beans application deploy to Weblogic Server Error

    Who can help me to resolve this error?
    I follow the "Deploying Applications to BEA WebLogic ServerVersion 9.0.3" document from OTN web site, but i use the BEA weblogic server 6.1,not weblogic server 7.0.
    When i deploy the BI Beans application to BEA WLS6.1, then happen the follow error message, every consultants can help me,please.
    **************Error Message************
    Fri Mar 07 10:23:30 CST 2003 TRACE: In oracle.dss.connection.server.ConnectionImpl::connect: -ConnectionBean-Server: is going to connect - (DriverType=MDM)
    Fri Mar 07 10:23:30 CST 2003 TRACE: In oracle.dss.connection.server.ConnectionImpl::connect: -ConnectionBean-MDMDriver: Connected Successfully: Time=200ms
    Fri Mar 07 10:23:30 CST 2003 TRACE: In oracle.dss.connection.server.ConnectionImpl::connect: -ConnectionBean-Server: is going to connect - (DriverType=PERSISTENCE)
    Fri Mar 07 10:23:30 CST 2003 TRACE: In oracle.dss.connection.server.drivers.persistence.PersistenceConnectionDriverImpl::connect: -ConnectionBean-PersistenceDriver is going to connect
    Fri Mar 07 10:23:30 CST 2003 TRACE: In
    oracle.dss.connection.server.drivers.persistence.PersistenceConnectionDriverImpl::connect: (ServiceName=null; Prinicipal=Local User; Username=null)
    Fri Mar 07 10:23:30 CST 2003 TRACE: In oracle.dss.persistence.storagemanager.bi.BIFileStorageManagerImpl::init: [Initializing oracle.dss.persistence.storagemanager.bi.BIFileStorageManagerImpl, env:{global_environment={locale_helper=oracle.dss.persistence.LocaleHelper@22e15b, persistence_errorhandler=oracle.dss.util.DefaultErrorHandler@792a41}, Connection Status=2, java.naming.security.principal=Local User, java.naming.factory.url.pkgs=weblogic.jndi.factories, securityDriverManager=oracle.dss.appmodule.server.DSSApplicationModuleImpl@4532ba, path=bidefs/BIBeanPrjBIDesigner2/, am=oracle.dss.appmodule.server.DSSApplicationModuleImpl@4532ba, Driver Type=PERSISTENCE, java.naming.factory.initial=oracle.dss.persistence.persistencemanager.server.InitPersistenceManagerFactory, mm=true, object_name=Connection_1, SET_ON_MID_TIER=NO, sm_driver=oracle.dss.persistence.storagemanager.bi.BIFileStorageManagerImpl}
    Fri Mar 07 10:23:30 CST 2003 TRACE: In oracle.dss.connection.server.ConnectionImpl::disconnect: -ConnectionBean-Server: is going to disconnect
    Fri Mar 07 10:23:30 CST 2003 TRACE: In oracle.dss.connection.server.drivers.mdm._92.MDMConnectionDriverImpl_92::connect: -ConnectionBean-MDMDriver is disconnected from OLAPI
    <2003/3/7 上午10時23分30秒> <Error> <HTTP> <[WebAppServletContext(8339407,Defaul
    tWebApp,/DefaultWebApp)] null
    oracle.dss.persistence.persistencemanager.common.PersistenceManagerRuntimeException: BIB-14122: The specified StorageManager could not be created.
    oracle.dss.bicontext.BICannotProceedException: BIB-14820 根路徑不存在。
    at oracle.dss.persistence.persistencemanager.server.PersistenceManagerSupport.loadStorageAdapterFromXML(PersistenceManagerSupport.java:442)
    at oracle.dss.persistence.persistencemanager.server.PersistenceManagerSupport.<init>(PersistenceManagerSupport.java:145)
    at oracle.dss.persistence.persistencemanager.server.PersistenceManagerImpl.<init>(PersistenceManagerImpl.java:99)
    at oracle.dss.persistence.persistencemanager.server.InitPersistenceManagerFactory.getInitialContext(InitPersistenceManagerFactory.java:29)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:198)
    at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:83)
    at oracle.dss.persistence.persistencemanager.server.InitialPersistenceManager.<init>(InitialPersistenceManager.java:103)
    at oracle.dss.connection.server.drivers.persistence.PersistenceConnectionDriverImpl.connect(PersistenceConnectionDriverImpl.java:147)
    at oracle.dss.connection.server.ConnectionImpl.connect(ConnectionImpl.java:279)
    at oracle.dss.connection.client.Connection.connect(Connection.java:401)
    at oracle.dss.connection.client.Connection.connect(Connection.java:320)
    at oracle.dss.metadataManager.client.MetadataManager.setConnectionObjects(MetadataManager.java:3985)
    at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:852)
    at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:792)
    at oracle.dss.datautil.client.XMLManagerFactory.createQueryManager(XMLManagerFactory.java:187)
    at oracle.dss.datautil.client.ManagerFactoryImpl.lookupQueryManager(ManagerFactoryImpl.java:176)
    at oracle.dss.datautil.client.ManagerFactoryImpl.lookupMetadataManager(ManagerFactoryImpl.java:219)
    at oracle.dss.datautil.client.ManagerFactoryImpl.lookupManager(ManagerFactoryImpl.java:128)
    at biServlet.LoginOperation.initializeMetadataManager(LoginOperation.java:425)
    at biServlet.LoginOperation.run(LoginOperation.java:166)
    at biServlet.DefaultApplicationImpl.login(DefaultApplicationImpl.java:473)
    at biServlet.AbstractControllerImpl.preRequestProcess(AbstractControllerImpl.java:1396)
    at my.BIController1.preRequestProcess(BIController1.java:358)
    at biServlet.AbstractControllerImpl.processRequest(AbstractControllerImpl.java:1498)
    at biServlet.AbstractControllerImpl.doGet(AbstractControllerImpl.java:262)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:263)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2390)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    What can I do with the following exception?
    D:\bea_home\user_projects\mydomain>echo off
    CLASSPATH=D:\bea_home\jdk131_03\lib\tools.jar;D:\bea_home\weblogic700\server\lib
    \weblogic_sp.jar;D:\bea_home\weblogic700\server\lib\weblogic.jar;d:\oraids\jlib\
    bigraphbean.jar;d:\oraids\jlib\LW_PfjBean.jar;d:\oraids\jlib\bigraphbean-nls.zip
    ;D:\jdev\jlib\bigraphbean.jar;D:\jdev\jlib\LW_PfjBean.jar;D:\jdev\jlib\bigraphbe
    an-nls.zip;D:\jdev\jdev\lib\ext\weblogic.jar
    PATH=.;D:\bea_home\weblogic700\server\bin;D:\bea_home\jdk131_03\bin;d:\oraids\bi
    n;d:\oraids\jdk\jre\bin;d:\oraids\jdk\jre\bin\classic;d:\oraids\jdk\jre\bin\clas
    sic;d:\oraids\jlib;d:\oraids\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre
    \1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\W
    INNT\System32\Wbem;d:\notes\;D:\ULTRAE~1
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://[hostname]:[port]/console *
    D:\bea_home\user_projects\mydomain>"D:\bea_home\jdk131_03\bin\java" -server -Xms
    32m -Xmx200m -Dweblogic.security.SSL.trustedCAKeyStore=D:\bea_home\weblogic700\s
    erver\lib\cacerts -Djava.ext.dirs=D:\bea_home\jdk131_03\jre\lib\ext;D:\bea_home\
    weblogic700\samples\server\jdbc -Dweblogic.Name=myserver -Dbea.home="D:\bea_home
    " -Dweblogic.management.username= -Dweblogic.management.password= -Dweblogic.Pro
    ductionModeEnabled= -Djava.security.policy="D:\bea_home\weblogic700\server\lib\w
    eblogic.policy" weblogic.Server
    <2003-9-11 下午06时34分46秒> <Info> <Security> <090065> <Getting boot identity f
    rom user.>
    Enter username to boot WebLogic server:admin
    Enter password to boot WebLogic server:
    Starting WebLogic Server...
    <2003-9-11 下午06时34分58秒> <Notice> <Management> <140005> <Loading configurati
    on D:\bea_home\user_projects\mydomain\.\config.xml>
    <2003-9-11 下午06时35分06秒> <Notice> <Security> <090082> <Security initializing
    using realm myrealm.>
    <2003-9-11 下午06时35分06秒> <Notice> <WebLogicServer> <000327> <Starting WebLog
    ic Admin Server "myserver" for domain "mydomain">
    <2003-9-11 下午06时35分25秒> <Notice> <Management> <141052> <Application Poller
    started for development server.>
    <2003-9-11 下午06时35分28秒> <Notice> <WebLogicServer> <000354> <Thread "SSLList
    enThread.Default" listening on port 7002>
    <2003-9-11 下午06时35分29秒> <Notice> <WebLogicServer> <000354> <Thread "ListenT
    hread.Default" listening on port 7001>
    <2003-9-11 下午06时35分29秒> <Notice> <Management> <141030> <Starting discovery
    of Managed Server... This feature is on by default, you may turn this off by pas
    sing -Dweblogic.management.discover=false>
    <2003-9-11 下午06时35分30秒> <Notice> <WebLogicServer> <000331> <Started WebLogi
    c Admin Server "myserver" for domain "mydomain" running in Development Mode>
    <2003-9-11 下午06时35分30秒> <Notice> <WebLogicServer> <000365> <Server state ch
    anged to RUNNING>
    <2003-9-11 下午06时35分30秒> <Notice> <WebLogicServer> <000360> <Server started
    in RUNNING mode>
    Thu Sep 11 18:38:03 CST 2003 TRACE: In oracle.dss.connection.server.ConnectionIm
    pl::connect: -ConnectionBean-Server: is going to connect - (DriverType=MDM)
    Thu Sep 11 18:38:04 CST 2003 TRACE: In oracle.dss.connection.server.ConnectionIm
    pl::connect: -ConnectionBean-MDMDriver: Connected Successfully: Time=1342ms
    Thu Sep 11 18:38:04 CST 2003 TRACE: In oracle.dss.connection.server.ConnectionIm
    pl::connect: -ConnectionBean-Server: is going to connect - (DriverType=PERSISTEN
    CE)
    Thu Sep 11 18:38:04 CST 2003 TRACE: In oracle.dss.connection.server.drivers.pers
    istence.PersistenceConnectionDriverImpl::connect: -ConnectionBean-PersistenceDri
    ver is going to connect
    Thu Sep 11 18:38:04 CST 2003 TRACE: In oracle.dss.connection.server.drivers.pers
    istence.PersistenceConnectionDriverImpl::connect: (ServiceName=null; Prinicipal
    =Local User; Username=null)
    Thu Sep 11 18:38:04 CST 2003 TRACE: In oracle.dss.persistence.storagemanager.bi.
    BIFileStorageManagerImpl::init: [Initializing oracle.dss.persistence.storagemana
    ger.bi.BIFileStorageManagerImpl, env:{global_environment={locale_helper=oracle.d
    ss.persistence.LocaleHelper@6351a2, persistence_errorhandler=oracle.dss.util.Def
    aultErrorHandler@496f0}, Connection Status=2, java.naming.security.principal=Loc
    al User, java.naming.factory.url.pkgs=weblogic.jndi.factories, securityDriverMan
    ager=oracle.dss.appmodule.server.DSSApplicationModuleImpl@517ead, path=bidefs/we
    blogicBIDesigner1/, am=oracle.dss.appmodule.server.DSSApplicationModuleImpl@517e
    ad, Driver Type=PERSISTENCE, java.naming.factory.initial=oracle.dss.persistence.
    persistencemanager.server.InitPersistenceManagerFactory, mm=true, object_name=Co
    nnection_1, SET_ON_MID_TIER=NO, sm_driver=oracle.dss.persistence.storagemanager.
    bi.BIFileStorageManagerImpl}
    <2003-9-11 下午06时38分04秒> <Error> <HTTP> <101017> <[ServletContext(id=4561108
    ,name=webapp.war,context-path=/weblogic_app)] Root cause of ServletException
    java.lang.NoSuchMethodError
    at oracle.dss.thin.beans.CaboErrorHandler.error(CaboErrorHandler.java:10
    2)
    at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.
    java:191)
    at jsp_servlet.__untitled1._jspService(__untitled1.java:140)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:445)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >
    Thu Sep 11 19:08:26 CST 2003 TRACE: In oracle.dss.connection.server.ConnectionIm
    pl::connect: -ConnectionBean-Server: is going to connect - (DriverType=PERSISTEN
    CE)
    Thu Sep 11 19:08:26 CST 2003 TRACE: In oracle.dss.connection.server.drivers.pers
    istence.PersistenceConnectionDriverImpl::connect: -ConnectionBean-PersistenceDri
    ver is going to connect
    Thu Sep 11 19:08:26 CST 2003 TRACE: In oracle.dss.connection.server.drivers.pers
    istence.PersistenceConnectionDriverImpl::connect: (ServiceName=null; Prinicipal
    =Local User; Username=null)
    Thu Sep 11 19:08:26 CST 2003 TRACE: In oracle.dss.persistence.storagemanager.bi.
    BIFileStorageManagerImpl::init: [Initializing oracle.dss.persistence.storagemana
    ger.bi.BIFileStorageManagerImpl, env:{global_environment={locale_helper=oracle.d
    ss.persistence.LocaleHelper@72d194, persistence_errorhandler=oracle.dss.util.Def
    aultErrorHandler@496f0}, Connection Status=2, java.naming.security.principal=Loc
    al User, java.naming.factory.url.pkgs=weblogic.jndi.factories, securityDriverMan
    ager=oracle.dss.appmodule.server.DSSApplicationModuleImpl@517ead, path=bidefs/we
    blogicBIDesigner1/, am=oracle.dss.appmodule.server.DSSApplicationModuleImpl@517e
    ad, Driver Type=PERSISTENCE, java.naming.factory.initial=oracle.dss.persistence.
    persistencemanager.server.InitPersistenceManagerFactory, mm=true, object_name=Co
    nnection_1, SET_ON_MID_TIER=NO, sm_driver=oracle.dss.persistence.storagemanager.
    bi.BIFileStorageManagerImpl}
    <2003-9-11 下午07时08分26秒> <Error> <HTTP Session> <100025> <Unexpected error i
    n HTTP session timeout callback
    java.lang.NoSuchMethodError
    at oracle.dss.thin.beans.CaboErrorHandler.error(CaboErrorHandler.java:10
    2)
    at oracle.dss.addins.thin.common.BaseThinSession.cleanup(BaseThinSession
    .java:307)
    at oracle.dss.addins.thin.common.BaseThinSession.valueUnbound(BaseThinSe
    ssion.java:159)
    at weblogic.servlet.internal.session.SessionData.removeAttribute(Session
    Data.java:588)
    at weblogic.servlet.internal.session.SessionData.removeAttribute(Session
    Data.java:552)
    at weblogic.servlet.internal.session.SessionData.remove(SessionData.java
    :747)
    at weblogic.servlet.internal.session.MemorySessionContext.invalidateSess
    ion(MemorySessionContext.java:51)
    at weblogic.servlet.internal.session.SessionContext$SessionInvalidator$I
    nvalidationAction.run(SessionContext.java:523)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:744)
    at weblogic.servlet.internal.session.SessionContext$SessionInvalidator.c
    leanupExpiredSessions(SessionContext.java:444)
    at weblogic.servlet.internal.session.SessionContext.deleteInvalidSession
    s(SessionContext.java:81)
    at weblogic.servlet.internal.session.SessionContext$SessionInvalidator.t
    rigger(SessionContext.java:392)
    at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.j
    ava:181)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:744)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(Schedul
    edTrigger.java:167)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigg
    er.java:161)
    at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:3
    8)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

  • How to call a bean method through a javascript function

    I dont discover any problems calling the bean method in this maner:
    <%= helpdesk.data() %>
    But, when I use a Button Onclick= to call the script function and which then is going call my bean method
    an error on the page is reported!
    I have include som code which gives you the idea of what Iam searching for. And is it possible to call
    the bean method without doing from a new jsp page?
    If you have any suggestions to why it doesnt work, please let me know.
    I use Apache Tomcat 4.0
    Best regards Micah.
    <jsp:useBean id='helpdesk' scope='application'
    class='helpdesk.testdb'/>
    <html>
    <head>
    <script language="javascript">
    function broadcast()
    helpdesk.data();
    </script>
    </head>
    <body>
    <input type="button" value="Broadcast" onclick= broadcast()>
    </body>
    </html>

    It's actually quite simple:
    Beans run server-side
    Javascript runs client-side
    So you will never be able to run server-side-code thru the client...

  • How to call a bean method through javascript?

    Hi,
    i want to call a bean method using the javascript.
    thansk in advance.

    hi
    i want to call a backing bean method thought javscript on the button click.
    i am inplementing addition of textbox at runtime.i wrote method and i am calling that on the button click.but the textbox is not created.
    the code is bleow
    public String doAction() {
         tryStuff1();
    return "samplejsf";
    public void tryStuff1()
    System.out.println("Enter the trystuff method");
         FacesContext facesContext = FacesContext.getCurrentInstance();
    UIViewRoot uIViewRoot = facesContext.getViewRoot();
    Application application = facesContext.getApplication();
    UIComponent formComp=uIViewRoot.findComponent("subbody:form1");
    HtmlPanelGrid grid= new HtmlPanelGrid();
    grid.setId("panelgrid2");
    grid.setColumns(2);
    grid.setBorder(2);
    //UIComponent panelGridComp=formComp.findComponent("subbody:panelgrid1");
    //UIComponent panelGroupComp=panelGridComp.findComponent("panelgroup2");
         HtmlOutputText output = new HtmlOutputText();
    output.setValue("dynamic jsf text2");
    System.out.println("hello output text2");
    output.setRendered(true);
    grid.getChildren().add(output);
    HtmlInputText input = new HtmlInputText();
    input.setSize(40);
    input.setValueBinding("value", (ValueBinding) application.createValueBinding("#{sample.text2}"));
    input.setRendered(true);
    grid.getChildren().add(input);
    System.out.println("hello output text1");
    grid.setRendered(true);
    formComp.getChildren().add(grid);
    System.out.println("hello output text3:");
    formComp.getRendersChildren();
    formComp.setRendered(true);
    public boolean getRendersChildren() {
         return true;
    jsp code is
    <h:form id="form1">
    <h:panelGrid columns="2" binding="#{sample.formElements}">
    </h:panelGrid>
    <h:panelGrid id="panelgrid1" columns="1">
    <h:panelGroup id="panelgroup1">
    <h:outputText value="hardcoded jsf text1"/>
    <h:inputText value="#{sample.text1}"/>
    </h:panelGroup>
    </h:panelGrid>
    <h:commandButton id="add" action="#{sample.doAction}" value="add" type="SUBMIT"/>
    </h:form>
    when i click on the button its going into the method and diaplying s.o.p but the text box is not updated to the page.
    why is it so.
    i thought there may be a problem in calling the method directly thru button. i want to try thru javascript calling the bean method.
    why is the page not updated.
    can u help me out
    thanks in advance
    sree

  • Stop or Reload a call to a JSP--what happens to a EJB running in the JSP?

    I am calling repeatedly calling a method of an EJB bean from within a
              while-loop in a JSP. The EJB is handling some database processing.
              Unfortunately, the EJB's processing can take a lot of time within each
              iteration of the while-loop, which prompts some users to hit "Stop" or
              "Reload" from their browser.
              Therefore, the while-loop gets broken.
              My question is: what happens to the thread of execution within the EJB?
              Will an EJB that is called from a JSP continue to completion even if a user
              hits "Stop" or "Reload?"
              Any feedback will be appreciated. It appears to me that the EJB does not
              continue to completion.
              Dave Bine
              Software Engineer
              Flutter.com
              

    What do you mean that the while loop gets broken? Stop just closes the
              socket from the client end, it does not affect threads that are processing
              on the server unless they explicitly check the state of the socket.
              Similarly, the EJB would not stop processing.
              Cameron Purdy
              "dbine" <[email protected]> wrote in message
              news:3978c327$[email protected]..
              > I am calling repeatedly calling a method of an EJB bean from within a
              > while-loop in a JSP. The EJB is handling some database processing.
              >
              > Unfortunately, the EJB's processing can take a lot of time within each
              > iteration of the while-loop, which prompts some users to hit "Stop" or
              > "Reload" from their browser.
              >
              > Therefore, the while-loop gets broken.
              >
              > My question is: what happens to the thread of execution within the EJB?
              > Will an EJB that is called from a JSP continue to completion even if a
              user
              > hits "Stop" or "Reload?"
              >
              > Any feedback will be appreciated. It appears to me that the EJB does not
              > continue to completion.
              >
              > Dave Bine
              > Software Engineer
              > Flutter.com
              >
              >
              

  • Can we call a bean in Weblogic 6.0 from Weblogic 5.1

    Is it possible to call a (stateless session) bean deployed in weblogic 6.0
    from a bean in weblogic 5.1? I have two versions of weblogic running on two
    different hosts and I have to call a bean that is running in 6.0 from 5.1.
    Are there any limitations?
    Appreciate any feedback/suggestions.
    Thanks,
    Madhu

    Cross posted to 'misc' - please follow up on that newsgroup.
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.misc&utag=
    Mike
    "Madhu K" <[email protected]> wrote:
    Is it possible to call a (stateless session) bean deployed in weblogic
    6.0
    from a bean in weblogic 5.1? I have two versions of weblogic running
    on two
    different hosts and I have to call a bean that is running in 6.0 from
    5.1.
    Are there any limitations?
    Appreciate any feedback/suggestions.
    Thanks,
    Madhu

  • Location of java servlet (not jsp) deployed on Java Stack

    Hello,
    Why this forum? this post is related to the way of calling a java servlet deployed on the java stack, so it's related to the structure of the stack than to real java programming.
    Usually, I develop JSP servlets which are easily called either with a mapping or not. I have deployed now a java servlet and added a mapping to it by modifying the xml source itselft in its descriptor, but after deployement I am not able to reach the resource.
    In the windows explorer of the java stack I find in j2ee>cluster>server>apps my application as follows:
    app_ear>servlet_jsp>app>root>WEB-INF>classes>my class files
    app_ear>servlet_jsp>app>root>app.jsp
    This time it's not a jsp that I want to call: app/app.jsp but my java servlet which lies in the classes subdir.
    Could someone help my to achieve this or is it the wrong way, we can only request jsp applications?
    Kind regards,
    Tanguy Mezzano

    Hi Vladimir,
    here's my web.xml code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <display-name>WEB APP</display-name>
         <description>WEB APP description</description>
         <servlet>
              <servlet-name>SSORedirect3.jsp</servlet-name>
              <jsp-file>/SSORedirect3.jsp</jsp-file>
         </servlet>
         <servlet-mapping>
              <servlet-name>AuthenticatorServlet</servlet-name>
              <url-pattern>/SSOredirect3</url-pattern>
         </servlet-mapping>
         <security-constraint>
              <display-name>SecurityConstraint</display-name>
              <web-resource-collection>
                   <web-resource-name>WebResource</web-resource-name>
                   <url-pattern>/*</url-pattern>
                   <http-method>GET</http-method>
                   <http-method>POST</http-method>
              </web-resource-collection>
              <auth-constraint>
                   <role-name>DefaultSecurityRole</role-name>
              </auth-constraint>
         </security-constraint>
         <security-role>
              <role-name>DefaultSecurityRole</role-name>
         </security-role>
    </web-app>
    And in my jsp file, I have a form with this kind of code:
    <form name="xyz" method="GET" action="http://j2eeserver:50000/SSOredirect3/SSOredirect3">
    I get this error in my logs:
    com.sap.engine.services.servlets_jsp.server.exceptions.ServletNotFoundException: Requested resource [SSOredirect3/servlet/AuthenticatorServlet] not found.
    Exception id: [000C299F469E00650001D8E900000CCC000458E27823275B]#
    Best regards,
    Tanguy Mezzano

  • Calling a bean in weblogic 4.5 from a servlet which is in Iplanet webserver4.1

    while Calling a bean in weblogic 4.5 from a servlet which is in Iplanet webserver4.1 sometimes the servlet is not able to call the bean. There is no error logged in webserver. This is happening very rarely and when it happens I have to shut and restart IplanetWS.
    Can anyone tell me some solution or reason
    Regards
    Nitin

    We did receive a 4.5.1 / 5.1 interoperability patch - but it wasn't quite 'seamless'.
    We never tried to use it.
    SOAP? Isn't that around 50 times slower than RMI?
    Mike
    "Gary Mui" <[email protected]> wrote:
    We ran into this issue last fall and got some feedback from weblogic
    support. They originally said that it could be done (as well as different
    versions talking to one another via JMS) but it turned out that they
    were
    incorrect and ended up saying that it is not possible. Before 6.0 went
    GA,
    BEA said that there would be a interoperability patch to do this, but
    I've
    never seen nor heard of anything regarding it. As a workaround, we
    implemented 4.5.1 / 6.0 communication via SOAP.
    Mike Reiche wrote in message <3b1bcaec$[email protected]>...
    I have the same question - and more. Last year we were told that wecould
    not use
    RMI (and ejbs) between 4.5.1 and 5.1. Which seems kinda weird becauseI've
    heard
    of people using WL ejbs from Tomcat. This issue has caused us to avoidusing
    WL ejbs in any future development which has any chance of ever beingused
    by any
    app server (WL included) that is not under the direct control of thedata
    center.
    I've been trying to convince the Architecture team here that we canuse WL
    EJBs
    and we can call them from other app servers - but can't seem to getany
    supporting
    statement from BEA (maybe I haven't tried hard enough).
    Anyway, a response from BEA would be appreciated.
    - Mike
    "Madhu K" <[email protected]> wrote:
    Is it possible to call a (stateless session) bean deployed in weblogic
    6.0
    from a bean in weblogic 5.1? I have two versions of weblogic running
    on two
    different hosts and I have to call a bean that is running in 6.0 from
    5.1.
    Are there any limitations?
    Appreciate any feedback/suggestions.
    Thanks,
    Madhu

  • Is it possible to monitor all calls into all EJBs deployed on a server?

    Is there any way of monitoring all calls into the EJBs deployed in a server?
    I'd like to be able to externally log the calls, and perhaps do some monitoring at the call level, without modifying the EJBs themselves. Something along the lines of servlet filters for servlets, but for EJBs instead..
    JBoss has a nice plugin interface, and one could either extend the Logging plugin, or write another one, that can do this.
    But is there an analog in other J2EE servers (e.g. weblogic and websphere)? Or is that a standard or clever way of intercepting all calls? (I suppose one could use Ethereal, but I was hoping for a higher-level solution).
    Duke dollars available!

    Hi,
    In JBoss they use Log4J to log and intercept the Bean calls and JDBC calls. You can use Log4J to do the same with other servers also, cause I configured OC4J(Oracle 9iAS) Server to use log4J and it worked for me. I think other servers can also be configured to use log4j. I've only tried this with JBoss and OC4J. I don't have much experience with other servers.
    So, my advise is : try LOG4J and try to configure server to use LOG4J
    Hope this works!
    Indy.

Maybe you are looking for

  • Add photo to existing catalog

    I'm sure this has been asked a thousand times, and if you can just link me to the answer, I would appreciate it. I am using LR3. How can I import additional photos to an existing gallery of images, or can't it be done? I want to shoot a football game

  • Java.lang.NullPointerException when extending controller

    Hi, I am working in Oracle Internet expenses module. My requirement is to check 2 values in a page and if any of them is NULL, i need to throw an error message on the page. Code snippet in the extended controller is: (In the method 'processFormReques

  • About Check box Prompt in OBIEE 11g

    Hi All, I really wonder about strange behaviour of check box prompt in OBIEE11g. I have created a check box prompt and associate it with my report. Now when i tried to view result with select any of check box, report run properly, But when i deselect

  • Better reliability on the latest Retina MacBook Pro (GT 750m)?

    Pretty sure the discrete GPU on my late 2012 rMBP (10,1) just bit the dust...again.  I'm expecting to have to shell out a few hundred for a new logic board, but I use this computer to run a small e-commerce business and our youtube channel, and I jus

  • Unable to choose Photoshop CS6 as default app for jpegs, Win7

    Suddenly I'm unable to choose Photoshop CS6 as the default "Open with" app in Win7 when I'm attempting to open jpegs. I updated Adobe Application Manager and it says Photoshop CS6 is installed and I'm able to open Photoshop CS6 without getting the "t