Portlet problem on Oracle Portal Server....

Hi all,
i m using Oracle Portal Server 10.1.2.
Problem is as follows:-
There are two portlets (P1, P2) added on two seperate portal tabs( TB1,TB2) respectively under Portal Builder.
On portlet P1 when i do a action say Save and it saves the data.
now i go to portlet P2 which is on tab TB2 and when i come back on TB1 to go on portlet P1 then in the PortletRenderRequest i still get action value as Save and it saves the previous data once more.
in short....:- even moving on portal tabs the previous action of the last rendered portlet is firing.
how it is persisting the action in request , even after i have done with moving on portal tabs.
even on refreshing the page it is adding the same data again.
But this doesn't happen with IBM Portal Server.(Tested the same code with all the above conditions)
could any one please have some thoughts ???
Always nJoy Work
Neeraj Sidhaye
try_catch_finally @ !
ExtremePortal @ Gmail Dot Com

Hi Guys,
One good thing i found is
When i perform the same operations (as described in the first post of this thread) with JSR168 Portlets then it is working Perfectly.
So i feel , only the problem is with JPDK Porltet and not with Oracle Portal Server.
It's good to see that JSR168 are working fine except
portletURL.setPortletMode(PortletMode.EDIT) ( till now i found this only )
nJoy Work
~Neeraj Sidhaye
ChkOut_ChkIn @ Yahoo Dot Co Dot In
ExtremePortal @ Gmail Dot Com

Similar Messages

  • File upload functionality in oracle portal server

    I have got a struts portlet on oracle portal server 9.0.4.My functionality is to have a file upload facility. I tried to achieve it , but problem arises when i use any pdk taglibs like
    <pdk-html:link page="/ShowInitialSupportScreen.do?action=initial&levelOfAction=3">
    after uploading when i forward to a result.jsp. and in that file if i use a tag like above, it gives null pointer exception because
    httpservletrequest.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST)
    this returns null when my enctype is multipart/form-data. in the fileupload.jsp
    and the in the internal implementation of the pdk taglib it refers to the PortletRenderRequest from httprequest object.
    The following link says multipart is not supported by the Parallel Page Engine.
    Re: multipart/form-data jsp
    Do you have any idea on this issue. File upload seems to be a basic functionality but doesnt the Oracle portal Server support it?
    With kind regards,
    -Rafeeq

    I got the solution, we cannot achive file upload in portal server cos it does not support Multi-part Data . instead i achieved it by a separate struts application to upload and invoked it from my portal application in an popup window.

  • Error in registering WSRP portlet producer  with Oracle Portal 10.1.4

    Hi all,
    I am using OC4J 10.1.3.4.0 as producer of portlets and Oracle Portal 10.1.4 as consumer. I am encountering error in registering the producer WSDL. Here's the stack trace:
    An error occurred when attempting to call the providers register function. (WWC-43134)
    An error occurred during the call to the WSRP Provider: java.rmi.RemoteException: Runtime exception; nested exception is:
    deserialization error: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
    com.sun.xml.rpc.encoding.DeserializationException: deserialization error: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
    com.sun.xml.rpc.encoding.DeserializationException: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
    com.sun.xml.rpc.streaming.XMLReaderException: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
    Java stack trace from root exception:
    com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
    at com.sun.xml.rpc.sp.Parser2.fatal(Parser2.java:2015)
    at com.sun.xml.rpc.sp.Parser2.fatal(Parser2.java:2000)
    at com.sun.xml.rpc.sp.Parser2.processStartElement(Parser2.java:2794)
    at com.sun.xml.rpc.sp.Parser2.parseContent(Parser2.java:3036)
    at com.sun.xml.rpc.sp.Parser2.parse(Parser2.java:2360)
    at com.sun.xml.rpc.streaming.XMLReaderImpl.next(XMLReaderImpl.java:105)
    at com.sun.xml.rpc.streaming.XMLReaderBase.nextContent(XMLReaderBase.java:23)
    at com.sun.xml.rpc.streaming.XMLReaderBase.nextElementContent(XMLReaderBase.java:41)
    at oracle.webdb.wsrp.PortletDescription_LiteralSerializer.doDeserialize(PortletDescription_LiteralSerializer.java:94)
    at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:174)
    at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:84)
    at oracle.webdb.wsrp.ServiceDescription_LiteralSerializer.doDeserialize(ServiceDescription_LiteralSerializer.java:88)
    at com.sun.xml.rpc.encoding.literal. (WWC-43273)
    Note that when the producer is OC4J 10.1.3.1.1 then it works fine. The OC4J log file is also not throwing any exception. So, i think some problem with Oracle Portal 10.1.4.
    Thanks
    Tarun

    Please follow the instructions given in https://metalink.oracle.com/help/usaeng/Search/search.html#file with document id 341922.1

  • Seamless Integration Between Weblogic and Oracle Portal Server

    Hi,
    Can someone please give me some insight into Seamless integration from Weblogic Portal Server to Oracle Portal Server.
    The Scenario is as:
    A user logs into the Weblogic Portal, this Portal desktop displays some portlets. Links on these portlets navigate the user to the portlets deployed on Oracle Portal.
    Is this feasible, and what version of the 2 servers would support this feature.
    Can someone please snd across online resources which deal with my doubt.
    many Tx.
    Regards,
    Mukta

    You might want to consider using WSRP to aggregate portlets deployed on
    Oracle into WLP. Check edocs and dev2dev for some info on WSRP in WLP.
    You can use 8.1 SP3 or later.
    Check with Oracle to find out which version of their product offers WSRP
    support.
    Subbu
    Mukta Shetye wrote:
    Hi,
    Can someone please give me some insight into Seamless integration from Weblogic Portal Server to Oracle Portal Server.
    The Scenario is as:
    A user logs into the Weblogic Portal, this Portal desktop displays some portlets. Links on these portlets navigate the user to the portlets deployed on Oracle Portal.
    Is this feasible, and what version of the 2 servers would support this feature.
    Can someone please snd across online resources which deal with my doubt.
    many Tx.
    Regards,
    Mukta

  • Logon problem with oracle management server

    I have problem with Oracle Management Server when I connect to the OMS message comes
    The exception (java.lang.NullPointerException) occurred.
    if any body have any idea pls tell us

    Hi,
    Oracle has changed the Enterprise Manager from version 1.5 to 2.0 .
    With the new Oracle8i dataase server another service has been added.
    If you want to user the OEM you have to install The Managment Server.
    The Managment server has its own user and privileges and is recommended when using OEM.

  • Proxy/Provider Portlets on same/multiple Portal Server instances

    Hello All,
    I would like to the Pros and Cons for the following architectural scenarios:
    Proxy Portlets and Provider Portlets on the same Portal Server Instance
    Vs
    Proxy Portlets and Provider Portlets on different Portal Server Instances
    Can some one explain me the same?
    Thanks a ton!
    Ananth

    Hi
    This seems like an architecture question. The best place to post this is @ http://swforum.sun.com/jive/forum.jspa?forumID=80
    Thanks
    Srini

  • Problem in oracle portal Pages:

    Hi All,
    Problem in oracle portal Pages:
    one page containing four tabs
    one of the tab contain parameter form when i submit it ,i get required result
    but the focus go to other tab.
    i check it all possible options but this doesn't resolve.
    Regards

    You're in the wrong forum. Try the WebCenter forum:
    WebCenter Portal
    And I'd suggest narrowing the scope of your question. A fully-fledged portal that... does what? (Again, don't answer here :) )

  • Problem running Oracle Portal to Go (Oracle9i 1.0.2.0.0)

    I have installed Oracle9i Application Server WE 1.0.2.0.0 Standard Edition on Windows2000 Professional Edition. I am getting problems regarding running Portal to Go.
    The installer said that installation was successful. Moreover I have done the configuration tasks mentioned Oracle9i installation guide under post installation steps for Oracle9i.
    But Oracle Portal to Go is not running and returning error message. Are there some other tasks still to perform to configure the Oracle Portal to Go Standard Edition?
    Here it is a brief Description of what I have done with the installations process
    System: Pentium II 500 MHZ with 256 MB RAM and 15 GB Hard Disk so enough space available for installations.
    Windows 2000 professional was freshly installed
    All pre installation tasks are done like paging file size is 896MB
    Important Installation steps and points are as under (Standard Edition of Oracle 9i Application Server 1.0.2.0.0):
    I followed all the steps given in Oracle 9i AS installation guide
    On Windows 2000 Installer never asks for reboot before actually installing the Oracle 9i application server (Chapter 4 of installation guide: preparing system for installation: step5: page 5 of 25). So I manually reboot the system
    During installation when I reached Database Access Descriptor (DAD) for Oracle Portal. In TNS connect string field for Apache listener Configuration I entered the same name (abc) (chapter 4 of installation guide: installing oracle 9i Application server: step2, 3: page 10,11 of 25) as I was going to use for my Global database name later at database Identification steps (chapter 4 of installation guide: installing oracle 9i Application server: step 4: page 12 of 25)
    Note: In an other installation I left the same fields (TNS connect string) blank but of no use.
    (Please let me know if I have made any mistake here)
    When installation of Oracle9i AS reaches 100% installer opens a command prompt and displays
    ORA: 12541 TNS: No Listener
    Enter user name:
    When I enter SYSTEM as a user name it displays
    Password:
    I entered manager as password and then it displays
    ORA 12560: TNSProtocol adaptor error
    And once again it asks for user name and password
    I once again enter system as a user and manager as password.
    (Please let me know if I have made any mistake here)
    After 100% completion of the installation the configuration tools screen appears
    (Chapter 4 of installation guide: installing oracle 9i Application server: step 10: page 17 of 25) and the following tasks are performed
    Net8 configuration Assistant succeeds
    Oracle database configuration assistant succeeds
    When The Oracle portal 3.0 configuration Assistant Starts
    I hold the installation steps for oracle portal for a while and do some database configuration tasks that are necessary (may be some are not) for installation of portal.
    (Please let me know if I have made any mistake here)
    For example
    Increase the table space size of Users (400 MB), and Temp (100MB) table spaces.
    Validated invalid PL/SQL Modules with ULTRP.SQL script
    (Please let me know if I have made any mistake here)
    Installed dbms_job.sql package as it was mentioned in another guide (Oracle portal-to-Go installation Guide- Release1.0.2: Page 1: last line)
    (Please let me know if I have made any mistake here)
    Stopped the database and listener
    And did some changes as was asked in Oracle portal-to-Go installation Guide- Release1.0.2
    Edited the init<SID>.ora file and set the following fields
    aq_tm_processes = 1
    job_queue_processes = 4 (2 were recommended in guide but I left the already set values)
    job_queue_interval = 30
    (Please let me know if I have made any mistake here)
    Also I did the following too (though these are recommended for Internet file system)
    opern_cursors = 300 (in installation guide it is asked 255 but I kept the already set value)
    shared_pool_size = 52438800 (50M was suggested and this is more than that)
    processes = 200
    (Please let me know if I have made any mistake here)
    I started the database and listener
    Proceeded the installation of Oracle Portal as is described in installation guide for Oracle 9i Application guide 1.0.2.0.0
    And successfully completed the installation of Oracle Portal
    There were no errors reported on the installer however when I read the installation log some errors were mentioned at the end of the file
    Please see the attached log file.
    I also completed all the post installation tasks at the end of chapter 4 of Oracle9i Application Server installation guide 1.0.2.0.0 except the configuration of Oracle Internet file system (is it necessary for running Oracle Portal to Go)
    When I run the oracle portal to go the following situation is encountered
    Working: http://localhost/pls/portal30/admin_/dadentries.htm
    Error at: http://localhost/pls/portal30/portal30.home
    Error: The preference path does not exist: Oracle.Portal.Page (WWC-51000)
    (And this is the main source of confusion)
    Working: http://localhost/pls/portal30/admin_/gateway.htm?schema=portal30
    Working: http://et-wks-08:5555/invoke/wm.server.admin/adminPage
    Are there any other guides and post installation steps still to follow to successfully run this Portal to Go or it is sufficient?
    I can also send the installation logs of both Oracle 9i application server (installActions.log and installActions2001-05-28_03-50-56-PM.log) and Oracle portal to Go (install.log).
    If you ask, I can send you the installation guides that I have followed and the screen shoots of the error messages for a detail review.
    Moreover can anyone please tell me if this version of Oracle 9i Application server is ok or I must try some other version?
    Also advise any other if any successful configuration and installation options.
    Is it possible to run this portal to go with any other installation options/arrangements/configurations etc?
    Any help from anyone will be highly appreciated.
    Regards,
    Muhammad Usman,
    Software Engineer
    EssTec Lahore, Pakistan.

    Hi,
    If you use portal 30 instead of OAS, The installation gives you the Apache ready.
    Pablo
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Tarun Singhal ([email protected]):
    Hi,
    I am trying to implement Portal-to-go application .
    For installing Oracle Portal-To-Go 1.0.2 ,I followed oracle
    documectation.Now I want to install Portal-To-Go 1.0.2
    application using
    a) winnt ver. 4.0 (SP3)
    b) Oracle 8i
    c) Oracle Application server release 4.0.8.1
    d) servlet patch set
    e) pl/sql cartridges.
    (Oracle 8i and OAS 4.0.8.1 are installed with different oracle home directories.)
    I have installed winnt , OAS rel.4.0.8.1. both are working fine
    .now I want to install servlet Patch set and
    pl/sql cartridges.I am unable to locate the information and software for this on oracle site.
    can any body tell me why servlet patch set and pl/sql cartridges
    required for this application and
    from where should i download the servlet patch set software and PL/SQL cartriges
    for this version.
    Are the above specified softwares are compatible with each other or something extra
    required for this installation. Is service pack 3 (winnt 4.0) compatible
    with portal-to-go 1.0.2
    Can anybody help me please ?
    Regards
    Preeti Madhukar
    ([email protected])<HR></BLOCKQUOTE>
    null

  • Deploying ADF Portlets into WLServer (Oracle Portal 11g Domain)

    Hello,
    i'm trying to deploy an ADF application (portlets) to be consumed in Oracle Portal 11g as WSRP.
    I try to deploy it from Jdevloper 11g directly to WLServer, but i got the following error in Jdeveloper deployment log.
    [12:17:04 PM] Deploying Application...
    [12:17:19 PM] [Deployer:149191]Operation 'deploy' on application 'AcssADF' is initializing on 'WLS_PORTAL'
    [12:17:21 PM] [Deployer:149193]Operation 'deploy' on application 'AcssADF' has failed on 'WLS_PORTAL'
    [12:17:21 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application AcssADF on cluster_portal.: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false]..
    [12:17:21 PM] Weblogic Server Exception: weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false].
    [12:17:21 PM] See server logs or server console for more details.
    [12:17:21 PM] weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false].
    [12:17:22 PM] #### Deployment incomplete. ####
    [12:17:22 PM] Deployment Failed
    ****************When i check ServerLog i have the following error stack: *****************
    Failure occurred in the execution of deployment request with ID '1257852324678' for task '3'. 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.skin, Specification-Version: 11.1.1, 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.skin, Specification-Version: 11.1.1, exact-match: false]. at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:609) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:185) at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:53) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    *************** The file weblogic-application.xml has the following contents: **************
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <weblogic-application xmlns="http://www.bea.com/ns/weblogic/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">
    <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>
    <implementation-version>11.1.1.1.0</implementation-version>
    </library-ref>
    <library-ref>
    <library-name>
    oracle.webcenter.skin
    </library-name>
    <specification-version>
    11.1.1
    </specification-version>
    </library-ref>
    </weblogic-application>
    Thanks,
    Pedro Ribeiro

    Hi Pedro
    Make sure that the Domain on which you are deploying this application has the module loaded/deployed by name "oracle.webcenter.skin". Within your domain/config/config.xml file you should have this module loaded:
    <library>
    <name>[email protected]</name>
    <target>AdminServer</target>
    <module-type>ear</module-type>
    <source-path>C:\oracleWebCenter11111\jdeveloper/webcenter/modules/oracle.portlet.server_11.1.1/oracle.webcenter.skin.ear</source-path>
    <deployment-order>300</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    </library>
    When you created this WLS Domain, did you checked the right facets in the first couple of screens or did you just created a bare WLS Domain. Looks like mostly you may not have the above module, because the error stack trace does complain about this:
    Unresolved application library references, defined in weblogic-application.xml: Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false
    Incase if this module is deployed, make sure that the version is correct and matches with the one defined in weblogic-application.xml file.
    Another possibility. Is this is CLUSTER Domain...? If YES, then deploy your app only to managed server and not admin server, because by default all modules are deployed only to cluster(managed servers) and not admin server.
    Ravi Jegga

  • Installation Problem about ORACLE HTTP SERVER 10g

    I tried to install oracle http server on windows xp sp2. Everthing was all right until
    it made some recommend tasks while installing. It could'nt start the http server at there. I completed the installation. After then when i connect to the internet and try to start http server it starts. But when i do not connect to the internet it gives an error like apache.exe couldn't start on executing ApacheModuleonsinst.dll. I want to learn what causes to this problem.

    pparkko wrote:
    With this type of behaviour, you always need to find out the real error.
    Try opening a command prompt (cmd) and running the command from the command line.
    Then you can see what is going wrong.I have a question, I just upgraded our test 11i database (9i) to 10g (10.2), as a part of that upgraded forms, reports, graphics to patchset 18. Now planning to install 10giAS on appsTier on which forms, Apache and discoverer running. If I install 10giAS in differnet home, how can I get that in to appsTier?, does it mean adapcctl script no longer be used to start webservices?. I haven’t done this before, if my question is stupid, please ignore :).

  • Deployement problem in Oracle App Serv with hibernate + JPA and Spring

    Dear All,
         I am facing a problem in deployment of a web application in oracle application server 10g. but the same is working fine with Tomcat. The following Exception. Is being thrown.
         Failed to deploy web application "OraTest". Failed to deploy web application OraTest". . Nested exception Resolution:
    Base Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version. deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version     I am using the following technologies
    1.     Spring 2.0.7
    2.     Struts 2.0.9
    3.     Hibernate 3.3
    4.     JPA 1.0
    5.     Oracle App Server 10.1.2.0.2
    Web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <display-name>My Application</display-name>
         <filter>
              <filter-name>struts2</filter-name>
              <filter-class>
                   org.apache.struts2.dispatcher.FilterDispatcher
              </filter-class>
         </filter>
         <filter-mapping>
              <filter-name>struts2</filter-name>
              <url-pattern>/*</url-pattern>
         </filter-mapping>
         <welcome-file-list>
              <welcome-file>/index.jsp</welcome-file>
         </welcome-file-list>
         <servlet>
              <servlet-name>dwr-invoker</servlet-name>
              <servlet-class>
                   org.directwebremoting.servlet.DwrServlet
              </servlet-class>
              <init-param>
                   <param-name>debug</param-name>
                   <param-value>true</param-value>
              </init-param>
         </servlet>
         <servlet-mapping>
              <servlet-name>dwr-invoker</servlet-name>
              <url-pattern>/dwr/*</url-pattern>
         </servlet-mapping>
         <listener>
              <listener-class>
                   org.springframework.web.context.ContextLoaderListener
              </listener-class>
         </listener>
         <context-param>
              <param-name>contextConfigLocation</param-name>
              <param-value>
                   /WEB-INF/conf/spring/datasource-context.xml,
                   /WEB-INF/conf/spring/aop-context.xml          
              </param-value>
         </context-param>
    </web-app>
    /Datasource-context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:aop="http://www.springframework.org/schema/aop"
        xmlns:tx="http://www.springframework.org/schema/tx"
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
         <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" lazy-init="true"/>
         <!--  following code is for using oracle -->
            <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
              <property name="driverClassName">
                   <value>oracle.jdbc.driver.OracleDriver</value>
              </property>
              <property name="url">
                   <value>jdbc:oracle:thin:@//xxx.xxx.xxx.xxx/mydb</value>
              </property>
              <property name="username">
                   <value>admin</value>
              </property>
              <property name="password">
                   <value>admin</value>
              </property>
         </bean>
         <!--  following code is for using mysql -->
         <!--
         <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
              <property name="driverClassName">
                   <value>org.gjt.mm.mysql.Driver</value>
              </property>
              <property name="url">
                   <value>jdbc:mysql://192.168.10.157:3306/tpsadmin</value>
              </property>
              <property name="username">
                   <value>tpsadmin</value>
              </property>
              <property name="password">
                   <value>tpsadmin</value>+
              </property>
         </bean>
         -->
         <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" lazy-init="true">
              <property name="persistenceUnitName" value="mkclsetsPersistenceUnit"/>
              <property name="dataSource" ref="dataSource"/>
              <property name="jpaVendorAdapter">
                   <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter" lazy-init="true">
                        <property name="database" value="ORACLE"/>               
                        <property name="showSql" value="true"/>
                   </bean>
              </property>
         </bean>
         <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager" lazy-init="true">
              <property name="entityManagerFactory" ref="entityManagerFactory"></property>
         </bean>
         <tx:annotation-driven transaction-manager="transactionManager"/>     
    </beans>Aop-context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:aop="http://www.springframework.org/schema/aop"
        xmlns:tx="http://www.springframework.org/schema/tx"
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
    <!--  Bean Definition of all the required Interceptors -->
         <bean id="methodLoggingAdvice" class="com.mkcl.sets.common.interceptor.MehodLogInterceptor"/>
         <!--
         <bean id="appCacheManager" class="net.sf.ehcache.CacheManager">
              <constructor-arg index="0" type="java.net.URL" value="classpath:country-ehcache.xml"/>
         </bean>     
         -->
          <!--bean id="methodCacheInterceptor" -->
         <bean id="methodCachingAdvice"
              class="com.mkcl.sets.common.interceptor.MethodCacheInterceptor">
              <property name="cache">
                   <ref local="methodCache" />
              </property>
         </bean>
         <bean id="cacheManager"
              class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
              <property name="configLocation">
                   <value>WEB-INF/conf/other/ehcache.xml</value>
              </property>
         </bean>     
         <bean id="methodCache"
              class="org.springframework.cache.ehcache.EhCacheFactoryBean">
              <property name="cacheManager">
                   <ref local="cacheManager" />
              </property>
              <property name="cacheName">
                   <value>mkclSetsCache</value>
              </property>
         </bean>      
         <!--
         <bean id="methodCachingAdvice" class="interceptor.MethodCachingInterceptor"/>
          -->
         <aop:config>
              <aop:pointcut id="getCountriesPointCut" expression="execution(* com.mkcl.sets.dao.master.impl.LocationDAOImpl.getCountries())"/>          
              <!-- <aop:pointcut id="methodLogPointCut" expression="execution(* com.mkcl.sets.service.master.impl.CategoryServiceImpl.getAllCategories(..))"/> -->
              <aop:pointcut id="methodLogPointCutDao" expression="execution(* com.mkcl.sets.dao..*.*(..))"/>
              <aop:pointcut id="methodLogPointCutService" expression="execution(* com.mkcl.sets.service..*.*(..))"/>
              <aop:advisor id="methodCachingAdvisor" advice-ref="methodCachingAdvice" pointcut-ref="getCountriesPointCut"/>          
              <aop:advisor id="methodLoggingAdvisorDao" advice-ref="methodLoggingAdvice" pointcut-ref="methodLogPointCutDao"/>
              <aop:advisor id="methodLoggingAdvisorService" advice-ref="methodLoggingAdvice" pointcut-ref="methodLogPointCutService"/>
         </aop:config>
    </beans>Persistence.xml
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
        version="1.0">
         <persistence-unit name="mkclsetsPersistenceUnit" transaction-type="RESOURCE_LOCAL">
              <!-- jta-data-source>mkclDS</jta-data-source-->
              <provider>org.hibernate.ejb.HibernatePersistence</provider>
              <!-- properties>
                   <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>
                   <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.OC4JTransactionManager"/>
              </properties-->
         </persistence-unit>
    </persistence>Do I need to add some other configuration in the existing files or do I need to add some other configuration files ? Please help to deploy my application.
    Thanks a lot in advance.
    With Best Regards,
    Ishaan
    null

    Did you ever find a solution to this Ishaan?
    I imagine you ended up having to upgrade 10gR2 to 10gR3 at least. Correct?

  • Problem in oracle application server 10g

    hi all
    i have problem with application server 10g
    my situation :
    oracle database 10g release 2
    oracle application server 10g ( forms,reports)
    and i installed the database and application server on the same computer , and with windows xp service pack 2 os
    my problem is when i start the computer that connected to a network some services of application server not working , note that no problems with the database
    and i installed node 32 antivirus
    can any one help me plz ?

    Wich processes don't start? do you have this services in Automatic?
    Can you try to pass the to manual, and start the procs suing opmnctl command and check the logs of it?
    Regards

  • JSF problem in JBoss Portal Server 2.6.0-CR2

    In JBoss Portal Server the default page will display all portlets you create by default. The portlet in question, developed using Java Studio Creator, works perfectly on the default page. However, once included in a page on the "dashboard", it no longer functions correctly. Text fields get inexplicably cleared, buttons do not get enabled as they should, and a selection in a drop down list box actually invokes the code for a button click.
    Any help understanding what is going on here would be highly appreciated.
    Nils

    Hi,
    I am finding following error in your log:
    MsSClientHandle: no server provides service ENQ (4), requested from gmsc2_DBM_00 http://msxxserv_mt. 4669
    UPD  0  0  2000  0  0 
    --------++++--
    +
    ENQ  0  0  2000  0  0 
    --------++++--
    +
    BTC  0  0  2000  0  0 
    --------++++--
    +
    SPO  0  0  2000  0  0 
    --------++++--
    +
    UP2  0  0  2000  0  0 
    Please assign no. of work processes to at least 1 for above mentioned type of work process.

  • [XI 3.1] Deployment problems to Oracle Application Server

    Hello everybody.
    I'm new on BO products, and i have problems with installation on Oracle Application Server 10.1.3
    BuildVersion=12.1.0.882.BOE_Mira_RTM
    I have success installed OAS 10.1.3 (with patch 10.1.3.3.0), and when i'm installing BO following documentation, after installation no any BO applications in OAS found. This is first.
    Then i attempt install BO applications (CmcApp, AdminTools, etc...) manualy... I have success installation of CmcApp, but when try it to run, i get error ([logon_error_attach|http://www.sendspace.com/file/u8gyoj]), page with logo BO, but logon form (logon.faces) could't be found... i think *.faces on OAS does not work/support, it must be something like *.jsp, *.jspx, but not *.faces, or i must configure OAS in special way.
    Any suggestions?
    Thanks, Evgeny.
    Spasibo)
    p.s. With Tomcat which comes with BO all works fine.
    from documentation
    To use a Java web application server, select Java Web Application
    Server and choose one of the following options:
    Automatically deploy to a pre-installed Web Application Server.
    This will prompt you to enter the configuration and authentication
    information on the next screen.
    Admin is Secure?: Select this option to use Secure Sockets Layer (SSL) encryption for authentication.
    Note:
    If Admin is Secure? is not selected, you will still have to specify the username and password to access the server.
    u2022 Port: Administration port of the application server (for example u201C6003u201D). This should be the request port of the <notification-server> element in the opmn.xml file.
    u2022 Username: User with administration rights to the application server.
    u2022 Password: Password for account with administration rights to the application server.
    u2022 Server Instance: Name of the Oracle Application Server application server instance (for example u201Chomeu201D).
    u2022 Server Name: Name of the target application server (for example, u201Cmyserver.domain.comu201D).
    u2022 Group Id: Name of the server group to which the target application belongs (for example "Default_group").
    u2022 Application Server Installation Directory: The directory where the web application server is installed
    (for example C:\product\10.1.3\OracleAS_1).

    Thanks, guys for reply.
    To Denis Konovalov: Привет! Есть один срочный вопрос, не мог-ли бы ты мне на него ответить. если есть возможность, напиши, пожалуйста, на evgeny (точка) shekalev (собака) гмэйл.ком (защита стоит - не разрешают общаться ) - p.s. куда приятней общаться на родном) p.p.s. обещаю, сильно мучать не буду ))

  • Problem running Oracle application server

    Hi,
    I have the following problem.
    After installing Oracle Web Server, I can't start it.
    This is the log file:
    Could not create the Java virtual machine.
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    06/10/10 19:13:37 AVVERTENZA: Application.setConfig Application: system is in failed state as initialization failedjava.lang.InstantiationException: Error initializing ejb-modules: Error loading module file:/C:/product/10.1.3/OracleAS_2/j2ee/home/applications/admin_ejb.jar: Syntax error in source or compilation failed in: C:\product\10.1.3\OracleAS_2\j2ee\home\application-deployments\admin_ejb\generated\MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java
    Could not create the Java virtual machine.
    10-ott-2006 19.13.37 com.evermind.server.Application setConfig
    AVVERTENZA: Application: system is in failed state as initialization failedjava.lang.InstantiationException: Error initializing ejb-modules: Error loading module file:/C:/product/10.1.3/OracleAS_2/j2ee/home/applications/admin_ejb.jar: Syntax error in source or compilation failed in: C:\product\10.1.3\OracleAS_2\j2ee\home\application-deployments\admin_ejb\generated\MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java
    Could not create the Java virtual machine.
    06/10/10 19:13:37 Error initializing server: Error initializing ejb-modules: Error loading module file:/C:/product/10.1.3/OracleAS_2/j2ee/home/applications/admin_ejb.jar: Syntax error in source or compilation failed in: C:\product\10.1.3\OracleAS_2\j2ee\home\application-deployments\admin_ejb\generated\MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java
    Could not create the Java virtual machine.
    06/10/10 19:13:37 Fatal error: server exiting
    Can you help me??
    Thanks
    Rocco

    Hi Recco,
    I hope I'm wrong , I think XP is not supported for AS.
    The second thing is U have not enough memory to run AS, that why U will always get problem with Java.
    The third thing is about your Env. I mis jre path
    ex. at your user profile & system profile just put for example
    ORACLE_HOMe just give your oracle software home
    by PATH U need to say for example c:\oracle_HOME/jre/1.4.2/bin
    Hear from U,
    Regards,
    Hamdy

Maybe you are looking for