Please help: Exception when deploying ADF Web app to AS 10.1.3

Hi everyone, I hope someone could help me with this.
I'm using JDeveloper 10.3.2.0.4066. Oracle AS is 10.1.3.
The application works fine on the embedded OC4J, but when deployed to Oracle AS I get the following 500 Internal server error:
oracle.jbo.JboException: JBO-25222: Unable to create application module.     at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:155)     at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)     at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2431)     at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)     at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:258)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)     at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1550)     at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1408)     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)     at oracle.adf.model.BindingContext.get(BindingContext.java:465)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)     at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)     at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)     at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)     at oracle.adf.model.BindingContext.get(BindingContext.java:491)     at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:327)     at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:641)     at oracle.adf.model.servlet.ADFBindingFilter.isPageViewable(ADFBindingFilter.java:532)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:301)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##javax.naming.NamingException [Root exception is java.lang.ClassCastException: com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication]     at oracle.jbo.server.InitialContextImpl.createJboHome(InitialContextImpl.java:59)     at oracle.jbo.common.JboInitialContext.lookup(JboInitialContext.java:77)     at javax.naming.InitialContext.lookup(InitialContext.java:351)     at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:136)     at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)     at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2431)     at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)     at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:258)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)     at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1550)     at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1408)     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)     at oracle.adf.model.BindingContext.get(BindingContext.java:465)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)     at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)     at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)     at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)     at oracle.adf.model.BindingContext.get(BindingContext.java:491)     at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:327)     at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:641)     at oracle.adf.model.servlet.ADFBindingFilter.isPageViewable(ADFBindingFilter.java:532)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:301)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)Caused by: java.lang.ClassCastException: com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication     at oracle.jbo.common.PropertyManager.loadStaticEnvironmentFromProperties(PropertyManager.java:392)     at oracle.jbo.common.PropertyManager.loadProperties(PropertyManager.java:223)     at oracle.jbo.server.SessionImpl.init(SessionImpl.java:136)     at oracle.jbo.server.ApplicationModuleHomeImpl.createSession(ApplicationModuleHomeImpl.java:110)     at oracle.jbo.server.ApplicationModuleHomeImpl.<init>(ApplicationModuleHomeImpl.java:47)     at oracle.jbo.server.InitialContextImpl.createJboHome(InitialContextImpl.java:51)     ... 43 more
I see that I have a ClassCastException but I don't know anything about this class.
I did not find any other thread related to this.
Could someone please help me?
Thank you.

Hi I am afraid I do have similar problem in production now. We just upgrade app server from 10.1.3.0 to 10.1.3.1 plus ADF Runtime libraries 10.1.3.2 plus one-off patch (bug 4398431) for JDBC Driver (fixing deadlock in java threads related to JDBC pooling)
Any hint what might be a issue. I suspect it might be related to jbo.timetolive because first occurence of this message is about 1 hour after restart of application server and we are using default BC configuration jbo.timetolive= 1hour
After that we see folowing error messga in application.log
JBO-30003: The application pool (aacp.wpailin.bc.PailinAppModuleLocal) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-25222: Unable to create application module.
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536)
at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396)
at oracle.adf.model.BindingContext.beginRequest(BindingContext.java:683)
at oracle.adf.model.BindingRequestHandler.invokeBeginRequest(BindingRequestHandler.java:346)
at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:166)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-25222: Unable to create application module.
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536)
at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396)
at oracle.adf.model.BindingContext.beginRequest(BindingContext.java:683)
at oracle.adf.model.BindingRequestHandler.invokeBeginRequest(BindingRequestHandler.java:346)
at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:166)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)

Similar Messages

  • Throws errors when deploy a web app to OAS 10.1.3.1

    I deployed my web application to OAS 10.1.3.1,but it throws errors as below:
    08/01/22 17:17:30.171 webbusiness: Error preloading servlet
    javax.servlet.ServletException: Error instantiating servlet 'action'. Servlet class org.apache.struts.action.ActionServlet not found in web-application webbusiness
    at com.evermind.server.http.HttpApplication.servletClassNotFound(HttpApplication.java:4866)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4832)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
    at com.evermind.server.Application.getHttpApplication(Application.java:545)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1909)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1606)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:126)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:576)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    but i am sure the struts.jar is already addeded to WEB-INF/lib folder,I don't know
    why throws that exception, any response hoped,thanks a lot

    I deployed my web application to OAS 10.1.3.1,but it throws errors as below:
    08/01/22 17:17:30.171 webbusiness: Error preloading servlet
    javax.servlet.ServletException: Error instantiating servlet 'action'. Servlet class org.apache.struts.action.ActionServlet not found in web-application webbusiness
    at com.evermind.server.http.HttpApplication.servletClassNotFound(HttpApplication.java:4866)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4832)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
    at com.evermind.server.Application.getHttpApplication(Application.java:545)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1909)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1606)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:126)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:576)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    but i am sure the struts.jar is already addeded to WEB-INF/lib folder,I don't know
    why throws that exception, any response hoped,thanks a lot

  • Exception when deploy my "HelloWorld" App  in NWDS 7.1

    can anyone help me , I'm trapped! 
    i have configured a runtime server in the Preferences under "SAP AS Java"(AS 7.1)
    Details: com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'demo.sap.com/mydynpro' is not deployed on the server. Please check the used URL for typos.
         at com.sap.tc.webdynpro.clientserver.task.Task.getDeployableObject(Task.java:364)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.initApplicationDeployableObjectPart(RequestManager.java:539)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.initTask(RequestManager.java:477)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doInitWdEnvironment(RequestManager.java:150)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:205)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
         at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)
         at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
         at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doGet(AbstractDispatcherServlet.java:54)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
         at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create deployable object 'demo.sap.com/mydynpro' since it is not a Web Dynpro object.
         at com.sap.tc.webdynpro.serverimpl.wdc.deployment.DeployableObjectFactory.getDeployableObject(DeployableObjectFactory.java:87)
         at com.sap.tc.webdynpro.services.sal.deployment.core.DeployableObjectInternal.getDeployableObjectInternal(DeployableObjectInternal.java:37)
         at com.sap.tc.webdynpro.clientserver.task.Task.getDeployableObject(Task.java:362)
         ... 43 more
    Caused by: com.sap.tc.webdynpro.spi.WebDynproRuntimeException: No Web Dynpro application (deployable object) with name demo.sap.com/mydynpro exists.
         at com.sap.engine.services.webdynpro.WebDynproRuntimeServiceImpl.getDeployableObject(WebDynproRuntimeServiceImpl.java:254)
         at com.sap.tc.webdynpro.serverimpl.wdc.deployment.DeployableObjectFactory.getDeployableObject(DeployableObjectFactory.java:85)
         ... 45 more

    Hi Sam,
    I really got mixed up with 7.0 and 7.1.
    Windows>Preferences>SAP As Java
    Enter Instance Host and Instance Number (try keeping as zero) and then click on Register SAP Instance. (Make sure you have host file entry to server ip address).
    Careful: Enter Host name in the host instance rather than IP address.
    You will get the System in the drop down list and as entry to table above. Select the added system as default.
    Also goto Windows>Show>Server>Servers and check the status of the server there. If it is running then the connectivity is all fine. Now try deploying. If it doesn't work just restart the studio.
    This DispatcherException always occur when the URL entered i mean the host is not correct or connectivity to the host is missing.
    And, are you able to connect to Portal URL otherwise?--- I mean
    http://<HostName>:<Port Number>/irj/portal
    Regards,
    Tushar Sinha

  • Exception when deploying java web-service to PI 7.1 via JSPM

    Dear Friends,
    While uploading a self created web-service to PI 7.1 via java support package manager, we get an exception during the deployment process - which says: "WebServices Common deployment exception. The reason is: Unable to generate complex types". The JSPM main log for the deployment is attached to this message.
    The complex type that is used is a Java Class with one data member of type String.
    Thanks in advance,
    Udi Dekel.

    Hi Udi,
    There could be a thousand reasons to this problem. Please go through the checklist , one of them is bound to work.
    1) Verify whether the process table on SAP J2EE server and it says that SDM is running.
    2) You have to enter the SDM host as the name of your J2EE server with the port. Go to:
    Window -> Preferences -> SAP J2EE engine -> Here Enter the values of Message Server Host and Message Server Port.
    3) For some reason the SDM wasn't started by the MMC. Since I was not able to start the SDM via MMC, I started it manually via DOS prompt "StartServer". After that the deployment of the application worked fine.
    4) Try updating the hosts file:
    C:\<WINDOWS-version>\system32\drivers\etc
    Append the following line:
    <localhost IP> name of the localhost.
    e.g.10.590.789.10 remotehost
    Reboot your PC, be sure all threads of the J2EE Engine are running and try to deploy again.
    5) You should use port 39xx instead of 36xx (where xx - SCS instance number).
    6)Please check message server settings on
    visual admin tool:server->kernel->cluster manager
    and check ms.host and ms.port values from the table. If you do your J2ee settings according to these values it will probably work fine.
    The reason why you are getting SDM error is ,at the previous versions there was settings for SDM in preferences and you had to set the port number for SDM ( which was 50018 + 100 * <instance number> ). There is no specific settings for SDM in preferences anymore.
    Regards
    joel
    Edited by: joel trinidade on Mar 26, 2009 2:38 PM
    Edited by: joel trinidade on Mar 26, 2009 2:40 PM

  • Problem with fonts in forms when deployed on web

    Hi everybody out there! Please help me out. My problem is:
    I have used developer server to deploy forms on web, but when a
    form is shown on web, it takes some default settings for fonts
    and colors instead of retaining the original colors and fonts
    that i chose during creating forms. I want that forms retain
    their original colors and fonts when deployed on web. How would
    i do that ?? Someone told me to check the Registry.dat file but
    i do not how to change the settings in registry.dat file. So
    help me out and tell me how would i change color and font
    settings for forms being shown on web by web app. server.
    Thanking you in anticipation,
    Cheema
    null

    Hello Neeraj!
    The problem is no resolved:) In the Visual Attribute Group I changed the Font Weight to Bold in the Property Palette.
    Thanks a lot for showing interest for my problem.
    Regards
    Roar

  • [svn] 3779: Continue fix for BLZ-262: null pointer exception on redeploy of web app/servlet.

    Revision: 3779
    Author: [email protected]
    Date: 2008-10-21 10:23:55 -0700 (Tue, 21 Oct 2008)
    Log Message:
    Continue fix for BLZ-262: null pointer exception on redeploy of web app/servlet.
    Remove finally block in servlet init() as the call to destroy() in the catch block will clear ThreadLocals
    if there is an error. Move it to the end of try block instead since the init() thread doesn't need any
    thread locals set.
    Log the startup error before calling destroy() in init() catch clause.
    QA: Yes
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-262
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageBrokerServlet.java

    Hello!
    I had a similar problem under WebLogic 6.1 SP4 after deploying a war-file with
    a bug.
    After deploying the corrected file, it seemed that the old version was deployed
    again.
    Perhaps this behaviour will help you to load the new application/ejb:
    - undeploy
    - remove from targets
    - move to targets
    - deploy
    Claudia
    "Marco" <[email protected]> wrote:
    >
    hi all,
    i have found a werid problem in deploying applications in Solaris 8
    for weblogic
    7.0.
    i have deployed one EJB, and the first time i access it (thru teh web
    app embedded
    in the .ear) it gave me a null pointer exception because i was failing
    to lookup
    one environment variable.
    so, i fix the code, rebuild the ear and redeployed, and the same error
    happened
    again.
    i am sure i did not do any mistakees because i have put some system.err
    statements
    in the bean code to show the workflow, and when i have deployed it on
    Window 2k
    the statemens appeared.
    but in solaris they didnot appear, and i got the same exception that
    i had before..
    it looks like wls is caching teh ejb, because whenever i redeploy it
    (adding more
    and more system.err statements) it always execute the faulty code of
    when deployed
    the very first time.
    anyone can help?
    regards
    marco

  • Estimate ADF web app use size in Weblogic - quick question

    Hi
    1- Is there a good way to estimate or get a better accurate measurement of the amount of memory required/used by a running ADF app within Weblogic Server ?
    Eg How much memory footprint does a deployed ADF app uses (not including those apps that comes with weblogic installs in the deployment section of WLS UI) ?
    2- Because we have ADF as a web app, is there a usually a big increase in memory usages of ADF web app when more people are logged in ?
    Any memory tool as a quick way to get the memory sizes ?
    Thanks

    AFAIK,You need to first calculate the live data size for your application with the help of the GC logs to find out the ideal memory for your app to run :)
    You can enable the GC logs -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:<Filename> to find out the live data size for your application
    Tools to monitor the applications:
    JConsole/VisualVM/JRMC
    http://docs.oracle.com/javase/6/docs/technotes/guides/visualvm/index.html

  • Error auto-deploying a Web App (.WAR file)

    Hello,
    Weblogic 6.1 throws a FileNotFoundException about 10% of the time for me when
    auto-deploying a Web app. Has anyone else run into this? I searched the newsgroups
    but didn't come up with anything, so I thought I'd start here.
    My build/deploy cycle is managed by an Ant build file that creates a WAR file
    of my web application and then drops it into $WL_HOME/config/mydomain/applications.
    Occasionally when I do this, I get the error shown below. Originally I was building
    the WAR file right in the ../applications directory, so I thought that might be
    an issue. So, I started building the WAR file in a staging directory and copying
    it into ../applications. No luck. Next, I tried deleting the original WAR file
    from ../applications, and THEN copying the new one over from the staging directory.
    Still fails occasionally.
    Let's see. This is Weblogic 6.1 on Win2K. The only other thing is that my dev/build/staging
    environment is on a network share, and it's from there that I'm copying the WAR
    file to my local machine (where WL is running).
    If someone has seen and/or knows what is up with this, great. If not, it's not
    a show-stopper.
    Thanks!
    Cheers,
    David
    ========================================================
    <Apr 8, 2002 9:05:00 AM PDT> <Error> <Management> <IOException opening application
    mydomain:Name=private-banking,Type=Application, loading from path .\config\mydomain\applications\private-banking.war
    java.io.FileNotFoundException: error in opening zip file
         at weblogic.management.mbeans.custom.Application.findType(Application.java:1833)
         at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:444)
         at weblogic.management.mbeans.custom.Application.load(Application.java:387)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy8.load(Unknown Source)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:840)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
         at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
         at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1050)

    Michael,
    This is a problem with 6.1 SP2 also -- a very annoying error. Without auto deploy
    working properly, developers are spending alot of time waiting for WebLogic to restart.
    HELP!!! we need this fixed.
    I see the EXACT same stack trace (ERROR).
    Tom Markel
    Sr. Java Engineer
    Michael Young <[email protected]> wrote:
    Hi.
    This may be a known issue that was addressed in sp2. If you are not already
    at that sp level I suggest you upgrade.
    Regards,
    Michael
    David Ventimiglia wrote:
    Hello,
    Weblogic 6.1 throws a FileNotFoundException about 10% of the time forme when
    auto-deploying a Web app. Has anyone else run into this? I searchedthe newsgroups
    but didn't come up with anything, so I thought I'd start here.
    My build/deploy cycle is managed by an Ant build file that creates a WARfile
    of my web application and then drops it into $WL_HOME/config/mydomain/applications.
    Occasionally when I do this, I get the error shown below. OriginallyI was building
    the WAR file right in the ../applications directory, so I thought thatmight be
    an issue. So, I started building the WAR file in a staging directoryand copying
    it into ../applications. No luck. Next, I tried deleting the originalWAR file
    from ../applications, and THEN copying the new one over from the stagingdirectory.
    Still fails occasionally.
    Let's see. This is Weblogic 6.1 on Win2K. The only other thing is thatmy dev/build/staging
    environment is on a network share, and it's from there that I'm copyingthe WAR
    file to my local machine (where WL is running).
    If someone has seen and/or knows what is up with this, great. If not,it's not
    a show-stopper.
    Thanks!
    Cheers,
    David
    ========================================================
    <Apr 8, 2002 9:05:00 AM PDT> <Error> <Management> <IOException openingapplication
    mydomain:Name=private-banking,Type=Application, loading from path .\config\mydomain\applications\private-banking.war
    java.io.FileNotFoundException: error in opening zip file
    at weblogic.management.mbeans.custom.Application.findType(Application.java:1833)
    at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:444)
    at weblogic.management.mbeans.custom.Application.load(Application.java:387)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy8.load(Unknown Source)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:840)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
    at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
    at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1050)--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Estimate ADF web app use size - quick question

    Hi
    1- Is there a good way to estimate or get a better accurate measurement of the amount of memory required/used by a running ADF app with Weblogic Server ?
    Eg How much memory footprint does a deployed ADF app uses (not including those apps that comes with weblogic installs in the deployment section of WLS UI) ?
    2- Because we have ADF as a web app, is there a usually a big increase in memory usages of ADF web app when more people are logged in ?
    Any memory tool as a quick way to get the memory sizes ?
    Thanks

    In short NO. What you have to do is to go through various tunning options at all the layers of ADF to increase performance as well as to have minimum memory consumption. Go through the Fusion Middle ware guide for the same. You can other memory profilers to understand how the memory is used by the application.

  • Exception when deploying a JSR 286 portlet into WebLogic+WebCenter

    I get the following exception when deploying a JSR 286 portlet into WebLogic:
    "<19-ene-2010 13H32' CET> <Error> <oracle.portlet.server.containerimpl.PortletApplicationImpl> <BEA-000000> <Error al procesar el archivo "/WEB-INF/portlet.xml" en la lÝnea 6 columna 68.
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'portlet-app'"
    The error message is in spanish. It means:
    "Error processing the file "/WEB-INF/portlet.xml at line 6 column 68"
    The portlet.xml of my portlet seems to be correct and I've deployed it in other portal servers. So I don't understand the error message.
    This is the portlet.xml of my portlet (eclipse XML validator said it was a valid XML)
    {code}
    <?xml version="1.0" encoding="UTF-8"?>
    <portlet-app version="2.0"
    xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd
    http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
    xmlns:dnd="http://www.denodo.com/widget/portlet/portletjsr286">
    <portlet>
    <description>Test Inter Portlet Communication (JSR286)</description>
    <portlet-name>Test IPC</portlet-name>
    <display-name>Test IPC</display-name>
    <portlet-class>com.denodo.ipc.TestIPCPortlet</portlet-class>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <resource-bundle>PortletMessages</resource-bundle>
    <portlet-info>
    <title>Test IPC</title>
    <short-title>Test IPC</short-title>
    <keywords>Test IPC,Denodo</keywords>
    </portlet-info>
    </portlet>
    </portlet-app>
    {code}
    *How do I deploy my portlet*
    <li> I convert my portlet into to a WSRP portlet by executing
    +java -jar wsrp-predeploy.jar source EAR target EAR+
    as explained in http://download.oracle.com/docs/cd/E12839_01/webcenter.1111/e12405/wcadm_portlet_prod.htm#CHDECJHI)
    </li>
    <li>I try to deploy it into WebLogic with the WebLogic Console and I get this exception.
    </li>
    *My Environment*
    WebCenter Suite (11.1.1.2.0) + WebLogic Server (10.3.2) downloaded from the oracle.com. Default configuration
    S.O: Windows XP SP3
    *Thanks in advance for your time.*

    Hi,
    Are you including the Toplink jars in your EAR?
    -Patrick

  • Change default schemaLocation of wsdl when deploying a web service

    Hi,
    When I deploy a web service, and then view the schemaLocation attribute of the wsdl, it points to a file with the machine name and not the url for my server. I have tried changing in config files all of the instances that point to my machine name instead of my url. This has not changed what gets set for schemaLocation when I deploy the web service. I also tried creating a new virtual server but I am unsure what value to put for the hostName. I tried my url and that did not seem to work. Does anyone have any ideas of to change the value that gets written to schemaLocation attribute when deploying a web service?
    Could anyone point me to documentation for changing a domains' hostName or in other words, the url used to access it? I know when I point my browser to my server's url instead of the machine name for the admin console, things seem to work. But then I run into problems such as above, where certain urls do not get set properly.
    If there is a way to set this when installing Sun ONE AS through the wizard, please let me know because I have not added much to my install and could reinstall the software.
    Thanks,
    Scott

    Hi disgruntled one,
    The same problem has plagued us a few times already, and I've finally found a solution that worked for me.
    Option 1 - requires redeployment of web services.
    1. In the admin console, navigate to Configuration -> HTTP service -> HTTP Listeners.
    2. Select the correct listener. In most cases this would be http-listener-1
    3. In the General Settings section, enter the correct name of your host in the Server Name field. This can be the corresponding name you have in a DNS for the host, or if you don't have a DNS entry, you can hard code it to the machine's IP address.
    4. Redeploy any web services for the changes to take effect. I've tried restarting the server but that doesn't seem to have an effect on the WSDL output.
    Option 2 - modify the generated WSDL file
    1. Look under the {you app server's path}\domains\domain1\generated\xml. You should find the generated WSDL file under this tree in their appropriate sub folders.
    2. Modify as you see fit.
    This method of course, needs to be redone for each time you redeploy the web services.
    Cheers,
    Fred

  • SDM failed when deploying a Web Dynpro application

    SDM failed when deploying a Web Dynpro application - I get the following error message:
    Sep 19, 2006 2:25:34 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : eix-blade-011
    SDM port : 50118
    URL to deploy : file:/D:/DOCUME1/AMRM1.AZI/LOCALS1/Temp/temp43621sap.comwelcome.ear
    Deployment exception : Server eix-blade-011 did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server eix-blade-011 at port 50118: eix-blade-011
    Inner exception was :
    Server eix-blade-011 did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server eix-blade-011 at port 50118: eix-blade-011

    Amr Azim,
    You must have logged in thru a dedicated connection to any server through say VPN before deploying.This way the sdm uses the same login as that of already establised connection.
    So 'sign of'  all connections to any servers before deploying and redeploy your application.Here you will be prompted to supply the sdm password and deployment shall proceed.

  • Is it even possible to dynamically apply view criteria in an ADF Web App?

    This is one of those situations where something that should take an hour ends up taking days.
    * I have a view.
    * The view has Bind Variables associated with it.
    * The view has View Criteria associated with it.
    * Each of the View Criteria use different Bind Variables.
    * I have a search criteria input page that receives from the user what will ultimately be used to set the bind variables.
    * I have a search results page that uses the view to display a table.
    * I have the code that dynamically sets view criteria and parameters. It is based on the following:
    http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcadvvo.htm#BCGFHAGA
    * This code works great, until the iterator associated with the table binding to the view is initialized. At that time, the view is reset to its defaults, and all of my code's doings are discarded. How do I know this? Because I have gone so far as to run my code that sets view criteria and binding variables dynamically in a phase event handler for the search results page in the render response phase. There is no other point at which to dynamically modify the view.
    This is turning into a situation where it seems I will need 5 different views and 5 different pages in order to show a single set of query results. I cannot get dynamically applied view criteria to work in an ADF web app. Has anyone else done it? Can anyone relate to this? Are there any other suggestions before I conclude that it's not possible for this framework to handle this simple scenario?
    Thanks

    There must be a setting or something that I am still missing here. If I write code just like this and make sure it is executed, I still only see the results of my view executed without the view criteria applied using the default bind variable values that I supplied in the view object.
    It's like the fact that I set the bind variables, the view criteria, and executed the view query programmatically is lost on the iterator -- it's like it never happened. What setting is used to ensure that the iterator uses the outcome of what I executed programmatically? There has to be a critical set or setting that I am missing.
    Here is the iterator and search region definitions defined in the page def "executables" section:
      <executables>
         <iterator Binds="CustomSearchView1" RangeSize="25"
                  DataControl="AppModuleDataControl"
                  id="CustomSearchView1Iterator"/>
        <searchRegion Binds="CustomSearchView1Iterator"
                      Customizer="oracle.jbo.uicli.binding.JUSearchBindingCustomizer"
                      id="CustomSearchView1Query"/>
        </executables>Here's the "tree" binding in the page def file:
      <bindings>
       <tree IterBinding="CustomSearchView1Iterator" id="CustomSearchView1">
          <nodeDefinition DefName="Model.CustomSearchView" Name="CustomSearchView10">
            <AttrNames>
              <Item Value="CustomId"/>
              <Item Value="CustomProjectNumber"/>
              <Item Value="CustomName"/>
              <Item Value="CustomStatus"/>
              <Item Value="CustomStatusDate"/>
            </AttrNames>
          </nodeDefinition>
        </tree>
      </bindings>In an effort to take page flow out of this mess, I had modified this to include the search criteria and search results on a single page. So, I now have a "Search" button. When the "Search" button is clicked, the action method does the following:
        public String searchActionListener ()
              // Get search criteria from select one choice and text input controls.
              AppModule appModule =
                    ( AppModule ) Configuration.createRootApplicationModule (
                        "Model.AppModule",
                        "AppModuleLocal");
              appModule.customSearch( searchCriteria1,
                                                   searchCriteria2,
                                                   searchCriteria3 );
        }In my application module this translates to:
        public void customNoticeSearch ( String searchCriteria1, String searchCriteria2, String searchCriteria3)
           CustomSearchViewImpl searchViewImp =
               ( CustomSearchViewImpl ) this.getCustomSearchView1 ();
           searchViewImp.customExecuteQuery ( searchCriteria1, searchCriteria2, searchCriteria3);
        }Finally, in my custom view object implementation code:
        public void customExecuteQuery ( String searchCriteria1, String searchCriteria2, String searchCriteria3 )
            // Set-up the parameters that are part of the core query.
            this.setp_searchCriteria1( searchCriteria1);
            this.setp_searchCriteria2( searchCriteria2);
            if ( searchCriteria3 != null )
                ViewCriteriaManager vcm = this.getViewCriteriaManager();
                ViewCriteria vc = vcm.getViewCriteria ( "WithLastCriteria" );
                this.setp_searchCriteria3( new Number ( searchCriteria3 ) );
                this.applyViewCriteria( vc );
            System.out.println ("This is fun.");
            this.executeQuery();
        }This code executes, but the results table is empty, and I know that there are results, because I can execute use execute with params to execute the base query and get the correct results back.
    Thanks for taking a look at this.

  • Deploying a web app under 9.2

    Hello,
    I am trying to deploy a web app using bea 9.2 console and i am getting error with deployment descriptor (which 8.2 specific). So i tried to use appc and got the same error (listed below). Can anyone tell me what is wrong with my descriptor?
    Thanks
    sl
    javax.xml.stream.XMLStreamException: ';' expected a valid beginning name character
    at weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:78)
    at weblogic.xml.stax.XMLStreamReaderBase.setInput(XMLStreamReaderBase.java:101)
    at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:325)
    at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:49)
    at weblogic.application.descriptor.BasicMunger2.<init>(BasicMunger2.java:107)
    at weblogic.application.descriptor.BasicMunger2.<init>(BasicMunger2.java:125)
    at weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:40)
    at weblogic.servlet.internal.WlsWebAppReader2.<init>(WlsWebAppReader2.java:59)
    at weblogic.servlet.internal.WebAppDescriptor$MyWlsWebAppDescriptor.createXMLStreamReader(WebAppDescriptor.java:291)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:369)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
    at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:148)
    at weblogic.servlet.jsp.JspcInvoker.parseDescriptors(JspcInvoker.java:277)
    at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:187)
    at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:353)
    at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:72)
    at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
    at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    at weblogic.application.compiler.Appc.runBody(Appc.java:163)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.application.compiler.Appc.main(Appc.java:174)
    at weblogic.appc.main(appc.java:14)
    Caused by: Error at line:2 col:61 ';' expected a valid beginning name character
    at weblogic.xml.babel.scanner.Name.read(Name.java:33)
    at weblogic.xml.babel.scanner.Name.read(Name.java:20)
    at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:58)
    at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
    at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
    at weblogic.xml.babel.baseparser.BaseParser.prime(BaseParser.java:268)
    at weblogic.xml.babel.baseparser.BaseParser.initScanner(BaseParser.java:118)
    at weblogic.xml.babel.baseparser.BaseParser.init(BaseParser.java:244)
    at weblogic.xml.babel.baseparser.BaseParser.<init>(BaseParser.java:84)
    at weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:54)
    ... 27 more

    I have created a web application and have a jsp host.
    I have 2 questions:
    1-How do I deploy to the host. please explain. is this host a 3rd party? if so, ask them.
    if the host is tomcat running on a machine that you have control of, create a WAR file and put it in the /webapps directory.
    >
    2-I also want to add a tomcat realm and have been
    told to edit the server.xml file and web.xml file you should not edit the server.xml. just put a WAR file in the /webapps directory. no need to edit server.xml.
    web.xml is part of the standard web app deployment. your app should have one, and it needs to be in the WEB-INF directory.
    are these found on the host??
    please offer a confused guy some helpYou should read "My First Web App" on the Tomcat page.
    %

  • [svn] 3768: Fix BLZ-262: null pointer exception on redeploy of web app/ servlet.

    Revision: 3768
    Author: [email protected]
    Date: 2008-10-21 07:48:14 -0700 (Tue, 21 Oct 2008)
    Log Message:
    Fix BLZ-262: null pointer exception on redeploy of web app/servlet.
    I was too agressive in releasing the ThreadLocal variables when the servlet shut down.
    Leave the nulling out code there, but add a createThreadLocalObjects() API that is called
    on MessageBrokerServlet startup that will re-allocate these static variables if they are null.
    QA: Yes
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-262
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/FlexContext.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageBroker.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageBrokerServlet.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/io/SerializationContext.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/io/TypeMarshallingContext.jav a

    Revision: 3768
    Author: [email protected]
    Date: 2008-10-21 07:48:14 -0700 (Tue, 21 Oct 2008)
    Log Message:
    Fix BLZ-262: null pointer exception on redeploy of web app/servlet.
    I was too agressive in releasing the ThreadLocal variables when the servlet shut down.
    Leave the nulling out code there, but add a createThreadLocalObjects() API that is called
    on MessageBrokerServlet startup that will re-allocate these static variables if they are null.
    QA: Yes
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-262
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/FlexContext.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageBroker.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageBrokerServlet.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/io/SerializationContext.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/io/TypeMarshallingContext.jav a

Maybe you are looking for

  • [SOLVED]systemd and make a camera visible GUI-wise in your filemanager

    After reading a lot about systemd in the wiki and in this forum I understand there are different opionons about systemd. Anyway, I have a adapted all the changes to rc.conf leaving out only a few daemons to start there. So why not give systemd a try?

  • ICan I update Lr3 to recognize RAW files from Canon EOS T5?

    I just got a Canon EOS Rebel T5 and now I find out that Lightroom 3 doesn't recognize it's CR2 (RAW) files. The link below states that Lr 5.4 is the minimum Lr version required to read these files. Camera Raw plug-in | Supported cameras My question i

  • How to open transferred IIgs appleworks files on Mac?

    My cousin has many years of Appleworks files authored on a IIgs that she needs to bring into Appleworks on the Mac. We can get them to the Mac, but cannot open them in Appleworks on the Mac. All suggestions are appreciated! TIA

  • SET Sub Transaction type to value IP

    Hi guru's, I want to set the value of field Sub Transaction type to value 'IP' if Excise tax indicator for vendor (J_1IMOVEND-J_1IEXCIVE) is '2'. in migo so please suggest me some User exit or BADI to perform the task. I have used the userexit J_1I7_

  • HP dv4t not detecting hard drive, please help!

    Hello, its been just a little over a year since I've bought my HP dvt, and of course the problems start as soon as my warranty has ended.. It's been working fairly fine most of the year, and then just all of a sudden while not even doing anything of