Accessing ApplicationModule in Struts/JSP application using JDev 11g TP3

Hello All,
I am using Oracle JDeveloper 11g Technical Preview 3
I got one "AppModule" created under my (Struts/jsp) project "MODEL" structure.
Now, how can I access that ApplicationModule in my Action Class
BC4JContext bc4jContext = BC4JContext.getContext(request) is not working, returns null everytime,
Can anyone please let me know, how can I achieve this?
Thanks
user625610

Hi don't know your name,
if you get null from BC4JContext.getContext(request) you should check you configuration. Check your web.xml file where you should see something like...  <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
      <param-name>mapping</param-name>
      <param-value>oracle.jbo.html.struts11.BC4JActionMapping</param-value>
    </init-param>
    <init-param>
      <param-name>BC4JDefinition</param-name>
      <param-value>your_model_project_name</param-value>
    </init-param>
...The init parameter BC4JDefinition is used to set up the context in the BC4JRequestProcessor class. My guess is that you don't have this parameter in your web.xml (or are pointing to a wrong name). the value should be the name of the cpx file without the .cpx you have in your viewcontroller project.
If you have migrated your project from JDev 10.1.2 you should check the 10.1.2 web.xml against the 11TP3 web.xml after the migration. The servlet part should be identical.
Timo

Similar Messages

  • Trouble running adf/jsp application in jdev 11G

    Hello ,
    I have just installed Jdev 11g on Win XP SP 2.
    Everything looks good, but when I try to run *.jspx file I am getting following error message:
    I appreciate any help.
    Thanks
    C:\JDev1111\jdk\bin\javaw.exe -client -classpath O:\OC4J\j2ee\home\oc4j.jar;C:\JDev1111\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config "\\win.desy.de\home\martir\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\embedded-oc4j\config\server.xml"
    [waiting for the server to complete its initialization...]
    Could not canonicalize 'ðˆúwPõwÿÿÿÿ' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
    Could not canonicalize 'ðˆúwPõwÿÿÿÿ' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
    07/08/31 10:26:12 java.io.IOException: The system cannot find the path specified
    07/08/31 10:26:12      at java.io.WinNTFileSystem.createFileExclusively(Native Method)
    07/08/31 10:26:12      at java.io.File.createNewFile(File.java:850)
    07/08/31 10:26:12      at oracle.security.jazn.spi.xml.XMLJAZNProvider.getJAZNDataXMLDoc(XMLJAZNProvider.java:250)
    07/08/31 10:26:12      at oracle.security.jazn.spi.xml.XMLJAZNProvider.parseDataFile(XMLJAZNProvider.java:377)
    07/08/31 10:26:12      at oracle.security.jazn.spi.xml.XMLJAZNProvider.getRealmManager(XMLJAZNProvider.java:480)
    07/08/31 10:26:12      at oracle.security.jazn.spi.GenericProvider.getRealmManager(GenericProvider.java:143)
    07/08/31 10:26:12      at oracle.security.jazn.JAZNConfig.getRealmManager(JAZNConfig.java:997)
    07/08/31 10:26:12      at oracle.security.jazn.oc4j.JAZNUserManager.getUMType(JAZNUserManager.java:5156)
    07/08/31 10:26:12      at oracle.security.jazn.oc4j.JAZNUserManager.getUM(JAZNUserManager.java:5208)
    07/08/31 10:26:12      at oracle.security.jazn.oc4j.JAZNUserManager.<init>(JAZNUserManager.java:5245)
    07/08/31 10:26:12      at com.evermind.server.deployment.UserManagerConfig$JAZN.construct(UserManagerConfig.java:626)
    07/08/31 10:26:12      at com.evermind.server.deployment.UserManagerConfig.delegatee(UserManagerConfig.java:289)
    07/08/31 10:26:12      at com.evermind.server.deployment.UserManagerConfig.ultimate(UserManagerConfig.java:329)
    07/08/31 10:26:12      at com.evermind.server.deployment.EnterpriseArchive.generateDefaultUserManagerSettings(EnterpriseArchive.java:1189)
    07/08/31 10:26:12      at com.evermind.server.deployment.EnterpriseArchive.initDefaultSettings(EnterpriseArchive.java:1284)
    07/08/31 10:26:12      at com.evermind.server.deployment.EnterpriseArchive.<init>(EnterpriseArchive.java:294)
    07/08/31 10:26:12      at com.evermind.server.XMLApplicationServerConfig.parseApplicationConfigReference(XMLApplicationServerConfig.java:2125)
    07/08/31 10:26:12      at com.evermind.server.XMLApplicationServerConfig.sortApplicationConfigReferences(XMLApplicationServerConfig.java:2859)
    07/08/31 10:26:12      at com.evermind.server.XMLApplicationServerConfig.postInitApplications(XMLApplicationServerConfig.java:2877)
    07/08/31 10:26:12      at com.evermind.server.XMLApplicationServerConfig.postInit(XMLApplicationServerConfig.java:290)
    07/08/31 10:26:12      at com.evermind.xml.XMLConfig.init(XMLConfig.java:206)
    07/08/31 10:26:12      at com.evermind.xml.XMLConfig.init(XMLConfig.java:113)
    07/08/31 10:26:12      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:89)
    07/08/31 10:26:12      at java.lang.Thread.run(Thread.java:595)
    Aug 31, 2007 10:26:12 AM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    07/08/31 10:26:12 Error parsing application-server config file: Invalid usermanager configuration.
    07/08/31 10:26:12 oracle.security.jazn.JAZNRuntimeException: Invalid usermanager configuration.
    07/08/31 10:26:12      at oracle.security.jazn.oc4j.DelegateUserManager.checkForParent(JAZNUserManager.java:3255)
    07/08/31 10:26:12      at oracle.security.jazn.oc4j.DelegateUserManager.getAdminUser(JAZNUserManager.java:3279)
    07/08/31 10:26:12      at oracle.security.jazn.oc4j.FilterUserManager.getAdminUser(JAZNUserManager.java:4899)
    07/08/31 10:26:12      at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
    07/08/31 10:26:12      at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
    07/08/31 10:26:12      at com.evermind.server.XMLApplicationServerConfig.setPassword(XMLApplicationServerConfig.java:2981)
    07/08/31 10:26:12      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:95)
    07/08/31 10:26:12      at java.lang.Thread.run(Thread.java:595)
    07/08/31 10:26:12 Fatal error: server exiting
    Process exited with exit code 1.

    Hello Ric,
    Thanks for the response,
    I have tried to set environment vars, but it was unsuccessful.
    I have the old version of Jdev 10.1.3 and it's working with the message "Could not canonicalize ...."
    I have found the following thread in forum:
    Unable to start any application
    The system11.1.1.0.17.45.24 directory is on the network drive:
    H:\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\embedded-oc4j\applications\dms.war
    and not on the:
    H:\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\home\applications\dms.war
    I am not sure, but it seems to be the same problem with the embedded OC4J and dms.war, as discussed in the thread
    mentioned above.
    Thanks.

  • Urgent: Portletizing an struts JSP application

    Hello all,
    I have a struts JSP application. I want to portletize this whole
    application, so that navigation is always within the portal
    framework.
    Using URL Services all I can see is that the first page will be a
    portlet.
    Can anyone suggest the best way to portletize the application?
    This is quite urgent and your help will be greatly appreciated.
    Thanks in advance.
    Faisal.

    Hi all,
    Concerning the message below, does the struts framework affect how normal JSP applications are added to Portal? Or is it as simple as just importing the portal classes and referencing them in the JSP's?
    We would like to use struts for our next web application using JSPs, but need to display them within Portal. I've done this before by just changing the way our hrefs work, but am wondering if using struts will affect any of this.
    Thanks in advance,
    Gillian
    Hello all,
    I have a struts JSP application. I want to portletize this whole
    application, so that navigation is always within the portal
    framework.
    Using URL Services all I can see is that the first page will be a
    portlet.
    Can anyone suggest the best way to portletize the application?
    This is quite urgent and your help will be greatly appreciated.
    Thanks in advance.
    Faisal.

  • How to use debug my jdevloper devloped jsp applications using tomcat 4.0?

    hello,
    how to use debug my jdevloper devloped jsp applications using tomcat 4.0?
    how to run with using tomcat path with browser?
    can any one help?
    thanks
    pullareddy

    Hi Pullareddy,
    Charles' answer will work for Servlets in Tomcat, but debugging JSPs is a bit more complicated than debugging Servlets.
    Here's what you need to do:
    (I don't have Tomcat, so I don't know the details of Tomcat configuration files and I can't guarentee that Tomcat provides the flexibility so that you can configure it for debugging JSPs. Each application server is configured a bit differently. Hopefully you can adjust the following instructions to Tomcat.)
    1. You need to replace Tomcat's JSP engine with OJSP and you need to setup debugging parameters for OJSP.
    This is not specifically in the JDev documentation, but you may be able to apply the information found in the topic "Remote Debugging in OC4J".
    Here are some tips:
    A. You'll probably need to specify the following jars in some Tomcat config file: ojsp.jar, ojsputil.jar, xmlparserv2.jar, ojc.jar, and jdev-rt.jar.
    B. The OJSP class name is oracle.jsp.runtimev2.JspServlet.
    C. The debug parameters are:
    debug_mode = true
    developer_mode = true
    encode_to_java = true
    emit_debuginfo = true
    jspjavacompiler = oracle.jdevimpl.jsp.JspOjcCompiler
    2. You need to make Tomcat start the Java command with debugging options. (This is what Charles was talking about. One of the debug options is -XXdebug). This is in the JDev documentation in the topic "Starting a Java Process in Debug Mode". Please read that documentation help topic.
    3. You need to delete any old .java or .class files which were created in the past for your JSP. If you leave old .java or .class files around, then the debugger may not be able to stop at breakpoints in your JSPs. So, be sure to clean up old files.
    4. Set your project settings for remote debugging. This is on the Debugger - Remote panel in the Project Settings dialog box. You probably want either Attach to OJVM or Attach to JPDA. Which radio button you choose depends on what command line options you specified in step 2.
    -Liz

  • Error deploying web application using JDev 11.1.1.1.4

    I am using JDev 11.1.1.14 and WebLogic 10.3.2
    Whne I try to run a application html page from Jdev I get the foll error :
    weblogic.application.ModuleException: Failed to load webapp: 'avitrust'
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    Truncated. see log file for complete stacktrace
    Caused By: java.io.FileNotFoundException: /u01/JDevApps/system11.1.1.4.37.59.23/DefaultDomain/servers/DefaultServer/tmp/_WL_user/jersey-web-lib/7srmrf/WEB-INF/web.xml (Too many open files)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getInputStream(AbstractDescriptorLoader2.java:367)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:751)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
    Any clue on why this error is getting generated and how this can be resolved ?

    When I try Deploying A WebCenter PS3 Portal Application using JDev 11.1.1.1.4 Integarted WebLogic Server I get the following error :
    [02:21:12 PM] Deploying Application...
    <29/03/2011 2:21:12 PM EST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1301368872572' for task '1'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.sdp.client, exact-match: false].'
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.sdp.client, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    I need some help to triage the issue and resolve the cause. any help in this context appreciated .
    Redg

  • Step by Step Doc to Develop the JSP by using Jdev

    I am a newbie, i am looking for a setp by step doc. to tell how to start and compile the JSP by using JDev.
    chan.

    Hi Chan,
    You can check the 'Deploying Servlets and JSP' viewlet present at
    http://otn.oracle.com/products/jdev/viewlets/viewlet.html
    This viewlet explains how to start writing JSP and how to compile it using JDEV.
    You can even have a look at 'Working with JSP Tag Libraries' viewlet which helps to know how to use JDEV for JSPs. All the viewlets present in the page are very informative.
    Regards,
    Anupama

  • Using Presence Service in JDev 11g TP3

    I am trying to use Presence Service in JDev 11g TP3.
    I have followed Chapter 13 (Integrating Presence) in Fusion Middleware Developer's Guide for Oracle WebCenter to create the page.
    1. Created connection to presence service in Application Resources(ViewController).
    2. Dropped presence and presenceData into JSF page.
    When I ran the page, getting exception(Unable to find a valid RTC connection). Looks like it is not using the connection I have created and would like to know, how to resolve this problem?. Thanks.

    Hi JP,
    The WebCenter TP3 Release Notes spell out what is and what is not available in TP3.
    Let me know if you have more questions.
    Peter

  • JDEV 11G TP3 [BUG]: Diagramming / Use Case & Activity  / open save

    I'm not able to open existing use diagram and couldn't save activity diagram after i created them. So UML is not functional in this preview release.
    Is this knowns bugs ?
    Is some workarounds knows ?
    I need these diagrams very soon and would know if i have to create them in a another tools or it is a way to use JDeveloper for them.
    Thank you

    You can find more details in these threads
    http://forums.oracle.com/forums/thread.jspa?threadID=622107
    JDEV 11G TP3 [BUG]: Diagramming / Use Case & Activity  / open save
    I already sent my project files to Shay. I may sent them to you too if needed.
    I suspect the problem may be due by the fact i'm using two workspaces simultanously, both managed with subversion. I already detected in the same configuration that "Select in Navigator" from pl/sql editor doesn't find an edited file (loaded from the offline database navigator) in the offline database navigator because it was searching the same project but in the wrong workspace.

  • I can not run application in Jdev 11g

    hello,
    I can not run my application in Jdev 11g.
    [Running application mapsEditor on Server Instance IntegratedWebLogicServer...]
    [02:33:39 PM] ---- Deployment started. ----
    [02:33:39 PM] Target platform is (Weblogic 10.3).
    [02:33:40 PM] Retrieving existing application information
    [02:33:40 PM] Running dependency analysis...
    [02:33:40 PM] Deploying 3 profiles...
    [02:33:41 PM] Wrote Web Application Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor\ViewControllerWebApp.war
    [02:33:41 PM] Wrote EJB Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor\ModelEJB.jar
    [02:33:42 PM] Wrote Enterprise Application Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor
    [02:33:42 PM] Deploying Application...
    <01.03.2010 14:33:42 MSK> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1267443222659' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].'
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
         Truncated. see log file for complete stacktrace
    >
    <01.03.2010 14:33:42 MSK> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'mapsEditor [Version=V2.0]'.>
    <01.03.2010 14:33:42 MSK> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
         Truncated. see log file for complete stacktrace
    >
    [02:33:42 PM] #### Deployment incomplete. ####
    [02:33:42 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    What is this?
    Dema.

    Hi,
    what is the content in your application's weblogic-application.xml file that references adf.oracle.domain ? Does it look like this?
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd"
    xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
    <listener>
    <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
    </listener>
    <listener>
    <listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
    </listener>
    <library-ref>
    <library-name>adf.oracle.domain</library-name>
    </library-ref>
    </weblogic-application>
    Frank

  • How to solve the error while  Deploy a BC4J JSP Application using tomcat,

    hello,
    how to avoid the following error?
    i am using jdevloper for devloping jsp applications.
    after that i am calling the jsp page using tomcat4.0 ,i followed the steps according docs by jdev team,
    i am getting the following error how to solve this,
    can one help?
    =============================
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.compiler.CompileException: /AccountView_Browse.jsp(4,0) Unable to load class oracle.jbo.html.jsp.datatags.ApplicationModuleTag
    at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:139)
    at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:829)
    at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:153)
    at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:1039)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:221)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:216)
    at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:852)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:214)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)
    ====================
    thanks
    pullareddy

    I had very similar problems with adding the correct JDeveloper .jar files to Tomcat's lib folder, but did eventually resolve my issues.
    The problem I am having now, however, is the following error message:
    Error Message: oracle.jbo.html.RequestParameters.addParameter(Ljava/lang/String;Ljava/lang/String;)V
    Yes, I have deployed the bc4jhtml.jar file from JDeveloper to Tomcat\common\lib!
    My web-app is a very simple BC4J JSP application. I have one BC4J component in its own project and JAR file, and one JSP referencing that BC4J component - I deploy the BC4J JAR along with the WAR file from the JSP project. Needless to say, the JSP works fine within JDeveloper..!
    I'm using JDev 9.0.3 and Tomcat 4.1.12. Does anyone have any suggestions?
    Thanks,
    S.

  • JDev9i-Beta;How could I run two JSP applications in Jdev enviroment at the same time?

    Hi,
    I have two JSP applications located on different directories. I wanted to run both applications at the same time in Jdev enviroment. But the second one failed.
    More info:
    I successfully ran Application1, then minimized the browser and ran Application2, then again minimized the second browser. After I maximized the first browser(Application1) and tried to go thro pages, I received page not found. Because Jdev sat up the Class Path for the newer application(Application2) and looks for pages there. I believe thats why I could not run both at the same time. How could I get around of this?

    hi,
    can you provide more details on this. Are these jsp files part of the same project or different projects. I can not duplicate this issue. Please provide us more information.
    Thank you

  • Security in an jsp application using BIBeans

    Hi all,
    We are developing a system with BIB to access OLAP 9.2.0.5. We need to implement some access rules at database level, i.e. user 1 can read levels 1, 2 and 3 of a hierarchical dimension, but user 2 can only read level 3. We do not know how to pass this database rules to BI catalog user, or replace this BI user with database connection information, to have more than one different user connection accessing the system. Anyone can help me?
    thanks in advance,
    Alexandre Martins - Commit Consultores - Brazil

    We are developing a jsp application with TAG libraries
    Ex.:
    <orabi:BIThinSession id="BIThinSession1" configuration="/Project1BIConfig1.xml" >
    <orabi:Presentation id="untitled1_Presentation1" location="Presentation1" />
    </orabi:BIThinSession>
    <FORM name="BIForm">
    <!-- Insert your Business Intelligence tags here -->
    <orabi:Render targetId="untitled1_Presentation1" parentForm="BIForm" />
    <%-- The InsertHiddenFields tag adds state fields to the parent form tag --%>
    <orabi:InsertHiddenFields parentForm="BIForm" biThinSessionId="BIThinSession1" />
    </FORM>
    This application hás a login screen, where the user will pass his database username and password, which corresponds equally to a user of same name at the BI Beans catalog.
    Here is the moment that we face the Problem: We can not change the user to switch to the database user. The catalog user is switched by BIUser().
    Workarounds performed:
         1 – We created a ConnectionProvider class to establish the connection with the properties and another class - AuthenticationProvider - to pass parameters to the connection.
              Problem: Could not pass parameters to Application Authentication class. Tried to force application to connect to authentication or vice-versa to pass username that was informed at login screen but this does not work.
         Ex.: trying to set this classes at configuration file (.xml).
         User “ALEX” has database access (OLAP , MOLAP) and catalog access .
    public class AuthenticationProvider implements oracle.dss.security.AuthenticationProvider {
    public void authenticate(Hashtable properties) throws BISecurityException {
    properties.put(“user_name”, “ALEX”);
    properties.put(“password”, “ALEX_1”);
    public class ConnectionProvider implements oracle.dss.security.ConnectionProvider {
    public Object connect(Hashtable properties) throws BISecurityException {
    Connection conn = null;
    try {
    DriverManager.registerDriver(new OracleDriver());
    String sUSER = properties.get("user_name").toString();
    String sPW = properties.get("password").toString();
    String connStr = "";
    if(properties.get("jdbctype").equals("thin")) {
    connStr = "jdbc:oracle:thin:@" +
    properties.get("hostname") + ":" +
    properties.get("port") + ":" +
    properties.get("sid");
    conn = (Connection)DriverManager.getConnection(connStr, sUSER, sPW);
    catch(Throwable t) { throw new BISecurityException("Erro na conexão!", t); }
    return conn;
         2 – Tried to get configuration through session searching all the connections and changing user to desired connection (in this case “thin”, MM.MDM) and reconnecting or disconnecting and reconnecting again.
    At this point, debugged the database connection and could see that username actually changed, but when the program reached the open presentation TAG received an error because TAG could not understand the connection.
         Ex.: This is in between session TAG
    <orabi:BIThinSession id="BIThinSession1" configuration="/Project1BIConfig1.xml" >
    <%
    ManagerFactory mf = BIThinSession1.getManagerFactory();
    MetadataManager mdm = null;
    if (mf != null) {
    mdm = (MetadataManager) mf.lookupManager(
    ManagerFactory.METADATA_MANAGER, null, true);
    if (mdm != null) {
    try {
    int iAttachStatus = mdm.getAttachStatus();
    if ((iAttachStatus != MM.ATTACHED) &&
    (iAttachStatus != MM.ATTACHING))
    mdm.attach();
    Connection[] connectionArray = mdm.getConnections();
    if (connectionArray != null) {
    int count = connectionArray.length;
    for (int index = 0; index < count; index++) {
    String driverType = connectionArray[index].getDriverType();
    if ( (driverType != null) &&
    (driverType.equals(MM.MDM)) &&
    (connectionArray[index].isConnected()) ) {
    if(driverType.equals(MM.MDM)) {
    connectionArray[index].setUsername("ALEX");
    connectionArray[index].setPassword("ALEX_1");
    connectionArray[index].reconnect(connectionArray[index].getPropertyBag());
    catch (Exception ex) {
    ex.printStackTrace(); // just for demo purpose
    %>
    <orabi:Presentation id="untitled1_Presentation1" location="Presentation1" />
    </orabi:BIThinSession>

  • Working with large number of search results in struts/jsp application

    I'm developing a struts/jsp web application that returns upwards of
    30000 results obtained from a very complex schema and multiple queries
    to the database.
    We want the user to be able to paginate through the results, sort by
    several fields, add/drop columns and download in several formats. We
    don't expect heavy traffic but we do want it to be scalable.
    Up to now, I have been storing the results in a session ArrayList
    which can eat up a lot of memory. The queries take long to perform so
    I do not want to repeat them with every request.
    I would like to store in a single mysql temp table but I have read
    that when the connection ends, the table is dropped. I understand that
    creating a database Connection as a session variable is not a good
    practice.
    This is not a unique problem - I was hoping someone else has some
    insight into the best way to proceed.
    Thanks

    glwinsor wrote:
    I'm developing a struts/jsp web application that returns upwards of
    30000 results obtained from a very complex schema and multiple queries
    to the database.Who will want to deal with 30,000 rows? Not me. When Google returns a result to me, I get it in chunks of 10 at a time.
    We want the user to be able to paginate through the results, sort by
    several fields, add/drop columns and download in several formats. We
    don't expect heavy traffic but we do want it to be scalable.That's a separate, complex issue.
    Up to now, I have been storing the results in a session ArrayList
    which can eat up a lot of memory. The queries take long to perform so
    I do not want to repeat them with every request.Maybe your schema has issues. Do you have appropriate indexes? Has your DBA checked EXPLAIN PLAN to be sure that the queries are optimal?
    I would like to store in a single mysql temp table but I have read
    that when the connection ends, the table is dropped. I understand that
    creating a database Connection as a session variable is not a good
    practice.Not scalable.
    This is not a unique problem - I was hoping someone else has some
    insight into the best way to proceed.The paging part has been dealt with by Hibernate and other frameworks. Something like the Flex grid UI component might help. Caching and such can help you out. It's not easy, as you already know, and there isn't a canned solution that is one size fits all.
    %

  • How to access PPC contacts into my application using Flash

    Hi,
    I am new to flash lite anybody help me how to access PPC
    contacts into my application.

    Hi,
    I am new to flash lite anybody help me how to access PPC
    contacts into my application.

  • Deploying 9i Reports JSP file using Jdev

    Hello,
    I have created two JSP reports using 9i Reports Developer. One of them is a Paramater form which calls the other.
    I am able to run them from the OC4J demo instance directory structure.
    How can I create an ear file using JDeveloper so that I can deploy that as a new OC4J instance using OEM?
    Appreciate you help.
    Thanks.

    To create war and ear files thro Jdeveloper please refer to Oracle jDeveloper online Help .you can also create ear and war files using open source tool ant ,please refer to following URL for downloading this tool and documentation - http://jakarta.apache.org/ant/
    Thanks
    Rohit

Maybe you are looking for

  • Adding new column in an existing report which was build using Union

    While working in OBIEE 11g I encounter an issue. My existing report was build using UNION at Criteria Tab in Analysis. Now I have a requirement to add a new column into the same report. For each criteria I have added the new column but when I go back

  • Home entertainment - Audio and video not in s

    I call a Philips LCD 37PFL7403D/0 with [size="">HD Natural Motion technology my own. When I turn on HD Natural Motion feature, audio and video are not in sync anymore. The Philips FAQ recommands to set the audio sync delay to 200 milliseconds (200ms)

  • TEMP SEGMENT ERROR.

    I am getting following error while refreshing the mview. before it was taking only lest than 2 mints. but now it taking hours and after that i am getting error.. i saw the explain plan and i found lot of waiting DIRECT PATH WRITE/READ is happening..

  • Can't install mountain lion from usb

    Hi all, I have a weird problem, i createda USB ML installer, it works fine i boot from it then use disk utility to do a clean install then hit Install. The program starts but then stop and says "Can't download additional components" and the Imac (201

  • Need help on struts configuration with ColdFusion 10 using IIS

    We need help on struts configuration with ColdFusion 10 using IIS. Earlier we were using ColdFusion 8 with IIS 6 for one of our application.  This application internally calls struts. After upgrading to ColdFusion 10 struts calls are not loading. We