Deploying a Portlet into Weblogic

Hi Folks,
I have a basic question about deploying a portlet into weblogic.
I created a simple JSF/ADF application and used the Portlet Bridge to "Portletize" it.
When I run the application using JDev11 everything works fine, but If I try to deploy it into a standalone weblogic I got errors
related with missing libraries.
The question is, Do I need to have Oracle Webcenter installed in this standalone weblogic server, in order to support my application deploy?
TIA,
Luis

Hi Luis,
For a portletized ADF application to be deployed on webcenter, it requires even the OC4J containers to be pre-configured.
Basically, any webcenter application or the Portletized ADF applications require oracle.wsrp library to be present in the container's library.
Please check in your Weblogic container if it is present. If not, check how to Pre-Configure the weblogic container, ideally, oracle should provide an executable or some command to make it pre-configured.
I am aware of these steps to perform on Application Server 10g's Container. Oracle should have its containers pre-configured in 11g, but if they are not, you need to follow the same steps.
As far as JDeveloper iis concerned, both the Embedded OC4J as well as the in built server which is Preconfigured Server are as the name suggests pre-configured. Hence, everything works fine when you run from JDev. But same is not the case with Contianers in server. So, we need to explicitly make them pre-confgired to start running these Portletized ADF Applications.
Hope this answer helps you.
Regards,
Kunal Chheda.

Similar Messages

  • 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

  • Error deploying ALBPM portlets in WebLogic Portal

    Hi, I have a problem when I try to deploy ALBPM workspace portlets in WebLogic Portal
    <28/01/2009 18h11min47s BRST> <Error> <HTTP> <BEA-101214> <Included resource or file "/workspaceWeb/framework/skeletons/text/flowlayout.jsp" not found from requested resource "/workspaceWeb/BPMPortal.portal".>
    I copied framework folder into web project but the problem persists. I've used the WLP 10.1. This could be a version issue?
    Regards
    Rogerio Cruz

    Hi,
    I see this messages below of ActionsMenu, Worklist and InstanceDetail portlets. The URL generated first is:
    http://localhost:7001/workspaceWeb/BPMPortal.portal?_nfpb=true&_pageLabel=BPMPortal_portal_page_7
    but when I type this URL in browser, is "redirected" to the following:
    http://localhost:7001/workspaceWeb/BPMPortal.portal?_nfpb=true&_pageLabel=BPMPortal_portal_page_7*#wlp_BPMPortal_portal_page_7*
    and the '404' pages are shown
    I'm using BPM Enterprise for WebLogic Server 604 build 94433
    Regards
    Rogerio Cruz

  • Deploy jde portlets into webcenter

    can anyone enlighten us about the way to deploy JDEdwards Portlets (Self service portals) into webcenter server(weblogic),
    share if you have any docs related, it will be really helpful

    You'll have to consult some of the JDE documentation for setting up portlets, but the basic procedure should be this:
    1) Set up your JDEdwards portlets to be served - consult the JDE documentation for making portlets availble.
    2) Register the JDE portlet producer with your WebCenter application. (You'll have to do this for each environment, with a warning that you will likely need to set up secure communications between your WebCenter app / WebLogic install and your JD Edwards environment.)
    3) Once the producer is set up (both JDE and any secure communications), then registered with your WebCenter app you should be able to access the JDE portlets through the resource catalog.
    That's the basics - but there's quite a bit of work to do behind the basics. :-)

  • Getting an error while deploying war file into weblogic serve

    Hi All,
    We have build a sample war file from JDeveloper11.1.1.6.0 tool (which is java based web service).
    And we are trying to deploy into the WebLogic(10.3.6) Server using Ant scripts(apache-ant-1.8.4) from command prompt.
    While doing this getting an bellow error :
    [wldeploy] Task 0 initiated: [Deployer:149026]deploy application ViewController
    on AdminServer.
    [wldeploy] Task 0 failed: [Deployer:149026]deploy application ViewController on
    AdminServer.
    [wldeploy] Target state: deploy failed on Server AdminServer
    [wldeploy] java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
    [wldeploy]
    [wldeploy]
    [wldeploy] Target Assignments:
    [wldeploy] + ViewController AdminServer
    BUILD FAILED
    D:\JDeveloper_Practice\otn\otnapp\ViewController\deploy\build.xml:50: weblogic.D
    eployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException:
    Task 0 failed: [Deployer:149026]deploy application ViewController on AdminServe
    r.
    Target state: deploy failed on Server AdminServer
    java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
    Could you please help me on this, if anyone know the solution.
    Thanks & Regards,
    Ramesh.

    Hi Ramesh,
    Try to include faces jars with in your classpath.
    It talk about the " java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet"
    you check for this blog which help to say about this issue using JDev.
    http://andrejusb.blogspot.in/2009/10/how-to-solve-javalangclassnotfoundexcep.html
    Regards,
    Kal

  • Deploying Enterprise Archive into weblogic 10.3.4.0 application server

    Hi All,
    I am trying to deploy enterprise archive into web-logic application server. This ear contains two modules. web service module and web application module.
    This application was previously running on Apache tomcat server and now i am migrating to web-logic application server.
    I am getting following error when deploying to the web-logic application server. Below exception.
    For web service and web application, I am using Hibernate and Spring frameworks. Following are the dependencies of web service
    [INFO] ------------------------------------------------------------------------
    [INFO] Building WebServiceModule Maven Webapp 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ MavenWebAppModule ---
    [INFO] com.packt.maven:MavenWebAppModule:war:1.0-SNAPSHOT
    [INFO] +- com.packt.maven:BusinessLogicModule:jar:1.0-SNAPSHOT:compile
    [INFO] | +- com.packet.maven:DataPersistanceModule:jar:1.0-SNAPSHOT:compile
    [INFO] | \- com.packt.maven:DataModelModule:jar:1.0-SNAPSHOT:compile
    [INFO] +- com.packt.maven:WebServiceClientModule:jar:1.0-SNAPSHOT:compile
    [INFO] +- org.apache.struts:struts2-core:jar:2.1.8:compile
    [INFO] | +- com.opensymphony:xwork-core:jar:2.1.6:compile
    [INFO] | | \- org.springframework:spring-test:jar:2.5.6:compile
    [INFO] | +- org.freemarker:freemarker:jar:2.3.15:compile
    [INFO] | +- ognl:ognl:jar:2.7.3:compile
    [INFO] | +- commons-fileupload:commons-fileupload:jar:1.2.1:compile
    [INFO] | \- commons-io:commons-io:jar:1.3.2:compile
    [INFO] +- org.apache.struts:struts2-spring-plugin:jar:2.1.8:compile
    [INFO] | +- org.springframework:spring-beans:jar:2.5.6:compile
    [INFO] | +- org.springframework:spring-core:jar:2.5.6:compile
    [INFO] | \- org.springframework:spring-context:jar:2.5.6:compile
    [INFO] | \- aopalliance:aopalliance:jar:1.0:compile
    [INFO] +- xml-apis:xml-apis:jar:1.0.b2:provided (scope not updated to compile)
    [INFO] +- javassist:javassist:jar:3.12.1.GA:compile
    [INFO] +- com.oracle:ojdbc6:jar:11.2.0:compile
    [INFO] +- org.springframework:spring:jar:2.5.6:compile
    [INFO] +- org.springframework:spring-web:jar:2.5.6:compile
    [INFO] +- org.hibernate:hibernate:jar:3.2.7.ga:compile
    [INFO] | +- net.sf.ehcache:ehcache:jar:1.2.3:compile
    [INFO] | +- javax.transaction:jta:jar:1.0.1B:compile
    [INFO] | \- asm:asm-attrs:jar:1.5.3:compile
    [INFO] +- dom4j:dom4j:jar:1.6.1:compile
    [INFO] +- commons-logging:commons-logging:jar:1.1.1:compile
    [INFO] +- commons-collections:commons-collections:jar:3.2.1:compile
    [INFO] +- cglib:cglib:jar:2.2:compile
    [INFO] +- antlr:antlr:jar:2.7.7:compile
    [INFO] +- asm:asm:jar:3.3:compile
    [INFO] +- javax.xml.soap:saaj-api:jar:1.3.3:compile
    [INFO] | \- javax.activation:activation:jar:1.1:compile
    [INFO] +- com.sun.xml.messaging.saaj:saaj-impl:jar:1.3.4:compile
    [INFO] | \- org.jvnet:mimepull:jar:1.4:compile
    [INFO] \- junit:junit:jar:3.8.1:test (scope not updated to compile)
    [INFO]
    Following are the dependencies of maven web app module
    [INFO] ------------------------------------------------------------------------
    [INFO] Building MavenWebAppModule Maven Webapp 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ WebServiceModule ---
    [INFO] com.packt.maven:WebServiceModule:war:1.0-SNAPSHOT
    [INFO] +- org.springframework:spring:jar:2.5.6:compile
    [INFO] +- org.springframework:spring-web:jar:2.5.6:compile
    [INFO] | +- org.springframework:spring-beans:jar:2.5.6:compile
    [INFO] | +- org.springframework:spring-context:jar:2.5.6:compile
    [INFO] | | \- aopalliance:aopalliance:jar:1.0:compile
    [INFO] | \- org.springframework:spring-core:jar:2.5.6:compile
    [INFO] +- xml-apis:xml-apis:jar:1.0.b2:provided (scope not updated to compile)
    [INFO] +- javax:javaee-api:jar:6.0:provided
    [INFO] +- junit:junit:jar:3.8.1:test (scope not updated to compile)
    [INFO] +- com.oracle:ojdbc6:jar:11.2.0:compile
    [INFO] +- org.hibernate:hibernate:jar:3.2.7.ga:compile
    [INFO] | +- net.sf.ehcache:ehcache:jar:1.2.3:compile
    [INFO] | +- javax.transaction:jta:jar:1.0.1B:compile
    [INFO] | \- asm:asm-attrs:jar:1.5.3:compile
    [INFO] +- dom4j:dom4j:jar:1.6.1:compile
    [INFO] +- commons-logging:commons-logging:jar:1.1.1:compile
    [INFO] +- commons-collections:commons-collections:jar:3.2.1:compile
    [INFO] +- cglib:cglib:jar:2.2:compile
    [INFO] +- antlr:antlr:jar:2.7.7:compile
    [INFO] +- com.sun.xml.ws:jaxws-rt:jar:2.2.3:compile
    [INFO] | +- javax.xml.ws:jaxws-api:jar:2.2.3:compile
    [INFO] | | +- javax.xml.bind:jaxb-api:jar:2.2.2:compile
    [INFO] | | \- org.glassfish:javax.annotation:jar:3.1-b35:compile
    [INFO] | +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile
    [INFO] | +- com.sun.xml.messaging.saaj:saaj-impl:jar:1.3.8:compile
    [INFO] | +- com.sun.xml.stream.buffer:streambuffer:jar:1.2:compile
    [INFO] | +- org.codehaus.woodstox:wstx-asl:jar:3.2.1:compile
    [INFO] | | \- stax:stax-api:jar:1.0.1:compile
    [INFO] | +- org.jvnet.staxex:stax-ex:jar:1.4:compile
    [INFO] | | \- javax.xml.stream:stax-api:jar:1.0-2:compile
    [INFO] | +- com.sun.org.apache.xml.internal:resolver:jar:20050927:compile
    [INFO] | +- org.jvnet:mimepull:jar:1.5:compile
    [INFO] | +- com.sun.xml.ws:policy:jar:2.2.2:compile
    [INFO] | | +- com.sun.xml.txw2:txw2:jar:20090102:compile
    [INFO] | | \- com.sun.istack:istack-commons-runtime:jar:2.2.1:compile
    [INFO] | +- org.glassfish.gmbal:gmbal-api-only:jar:3.1.0-b001:compile
    [INFO] | | \- org.glassfish.external:management-api:jar:3.0.0-b012:compile
    [INFO] | \- org.glassfish.ha:ha-api:jar:3.1.8:compile
    [INFO] +- asm:asm:jar:3.3:compile
    [INFO] \- org.jvnet.jax-ws-commons.spring:jaxws-spring:jar:1.8:compile
    [INFO] +- javax.servlet:servlet-api:jar:2.5:compile
    [INFO] +- org.apache.xbean:xbean-spring:jar:2.7:compile
    [INFO] +- javax.jws:jsr181-api:jar:1.0-MR1:compile
    [INFO] +- javax.xml.soap:saaj-api:jar:1.3:compile
    [INFO] +- com.sun.xml.stream:sjsxp:jar:1.0:compile
    [INFO] +- javax.annotation:jsr250-api:jar:1.0:compile
    [INFO] \- javax.activation:activation:jar:1.1:compile
    [INFO]
    In my weblogic application configuration i have provided following configuration to load java from my applications first. Could anybody help me on this issue. Thanks in advance for anyhelp
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-application
         xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-application"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.0/weblogic-application.xsd http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/javaee_5.xsd">
         <!--weblogic-version:10.3.1 -->
         <wls:application-param>
              <wls:param-name>webapp.encoding.default</wls:param-name>
              <wls:param-value>UTF-8</wls:param-value>
         </wls:application-param>
         <wls:prefer-application-packages>
              <wls:package-name>antlr.*</wls:package-name>
         </wls:prefer-application-packages>
    </wls:weblogic-application>
    Exception.......
    SEVERE: Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.sun.xml.ws.transport.http.servlet.SpringBinding#0' defined in ServletContext resourcepring/config/SpringBeans.xml]: Cannot create inner bean '(inner bean)' of type [org.jvnet.jax_ws_commons.spring.SpringService] while setting bean property 'service'; nested exceramework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': FactoryBean threw exception on object creation; nested exception is java.lang.Linkageaint violation: when resolving field "DATETIME" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the referring class, javax/xml/datatype/Datahe class loader (instance of <bootloader>) for the field's resolved type, javax/xml/namespace/QName, have different Class objects for that type
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': FactoryBean threw exception on object creation; nested exceptiogeError: loader constraint violation: when resolving field "DATETIME" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the referring class, jtatypeConstants, and the class loader (instance of <bootloader>) for the field's resolved type, javax/xml/namespace/QName, have different Class objects for that type
    Edited by: user8643895 on Apr 14, 2013 3:42 AM

    This forum is about iAS. For weblogic go to: WebLogic Server - General

  • Deploy jsr168 portlet in weblogic

    Hi,
    I'm developing a jsr168 portlet that I would like to be able to deploy in the Weblogic Portal (among others).
    The problem is, after much searching, that I can't figure out how to do it.
    In Websphere I just deploy the .war file through the portal administration web interface and away I go.
    In jetspeed2 I just drop the .war file in the deploy folder and it gets deployed.
    Is there anything similar for Weblogic?
    I've currently got 8.1 SP4 installed.
    I've seen and even tried the portletPreparer tool but I can't get it to work (dependencies on bea classes that I can't find).
    Any help or tips on how to deploy a portlet in a .war file would be greatly appreciated.
    Cheers,
    Eric

    Hi,
    Generally while creating a jar file for deplyong a EJB on an App Server, create a folder called META-INF and copy all your xml files to this folder
    this command could be part of your build.xml if ur using ant
    mkdir build build\META-INF
    copy *.xml build\META-INF
    Then compile ur java files and then create the required jar or ear file for deployment.
    Rgds,
    Seetesh

  • Deploy auotonomy portlets in weblogic 9.2

    Hi. I would like to deploy autonomy portlets within the sample Groupspace portal in weblogic 9.2.
    I have extracted the autonomy portlets that is shipped with the installation, but I'm not sure where to place these portlets and what changes I have to make in configuration files - if any - to have the portlets available in the console and the Groupspace portal.
    Thanks a lot.
    bill

    Deployment directions for the Autonomy portlets can be found here:
    http://edocs.bea.com/wlp/docs92/search/searchdev.html#wp1026209

  • 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

  • How to deploy a JSR-168 Portlet in Weblogic?

    I am running WLS 8.1 with the advanced JSR-168 support installed (not yet running
    SP2). I have a JSR-168 portlet war that I had been testing in the JSR-168 reference
    implementation (pluto). Can someone please point me to the instructions on how
    to now import my portlet war into Workshop so that I can add it to my Weblogic
    portal?
    Thanks!
    -David

    You cannot simply "deploy" a JSR 168 portlet into Weblogic using a WAR file in
    my experience. This is what I did to achieve deployment of a JSR 168 portlet in
    BEA WLS 8.1SP2:
    * File | New | Portlet | Java Portlet
    * Just type in the name of your view class name when asked for it.
    This creates a "YourAppName.portlet" file, which I believe Bea requires for any
    Portlet in order to make it available for use in their portals.
    * Add your files (*.jar, *.java *.jsp, etc).
    * Modify WEB-INF/portlet.xml to include all required descriptor elements that
    you have in your WAR file (keep in mind that there is only one portlet.xml for
    all portlets in a single web application)
    I was unable to use redirects for some reason, but it worked fine with include.
    "David" <[email protected]> wrote:
    >
    I am running WLS 8.1 with the advanced JSR-168 support installed (not
    yet running
    SP2). I have a JSR-168 portlet war that I had been testing in the JSR-168
    reference
    implementation (pluto). Can someone please point me to the instructions
    on how
    to now import my portlet war into Workshop so that I can add it to my
    Weblogic
    portal?
    Thanks!
    -David

  • Maven scripts for deploying WAR into Weblogic

    Hello Folks,
    I would need some help in deploying EAR/WAR into weblogic server.
    I already have maven scripts for building but not for deploying. your help is appreciated.
    Thanks.

    Hi Ank2cool,
    Please see my findings, I have tested the Same "build.xml" again...My AdminServer
    UserName is weblogic
    and
    password is weblogic
    <project name="webservices-hello_world" default="deploy">
    <property name="wls.username" value="weblogic" />
    <property name="wls.password" value="weblogic" />
    <property name="wls.hostname" value="localhost" />
    <property name="wls.port" value="7001" />
    <property name="wls.server.name" value="AdminServer" />
    <target name="deploy">
    <wldeploy action="deploy" name="PlanDemoEAR" source="PlanDemoEAR" user="${wls.username}"
    password="${wls.password}1" verbose="true" adminurl="t3://${wls.hostname}:${wls.port}" targets="${wls.server.name}" />
    </target>
    </project>
    Now when i run the AANT task ant deploy
    OUTPUT:
    Buildfile: build.xml
    deploy:
    [wldeploy] weblogic.Deployer -verbose -noexit -name PlanDemoEAR -source C:\JavaTest\PlanDemo\PlanDemoEAR -targets Admin
    Server -adminurl t3://localhost:7001 -user weblogic -password ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -verbose -noexit -name PlanDemoEAR -source C:\JavaTest\PlanDemo\Pla
    nDemoEAR -targets AdminServer -adminurl t3://localhost:7001 -user weblogic -deploy
    [wldeploy] <Dec 21, 2009 2:08:33 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for app
    lication, PlanDemoEAR [archive: C:\JavaTest\PlanDemo\PlanDemoEAR], to AdminServer .>
    [wldeploy] Task 1 initiated: [Deployer:149026]deploy application PlanDemoEAR on AdminServer.
    [wldeploy] Task 1 completed: [Deployer:149026]deploy application PlanDemoEAR on AdminServer.
    [wldeploy] Target state: deploy completed on Server AdminServer
    [wldeploy]
    [wldeploy] Target Assignments:
    [wldeploy] + PlanDemoEAR AdminServer
    BUILD SUCCESSFUL
    ========================TO REPRODUCE YOUR ISSUE I JUST CHANGED THE Password from weblogic to "*weblogic1*" or *"weblogic "* (i added a Single Space at the end of password) in the ANT script....But Server's Actual Password is still "weblogic"=======
    OUTPUT:
    [wldeploy] Caused by: java.lang.SecurityException: User: weblogic, failed to be authenticated.
    [wldeploy] at weblogic.common.internal.RMIBootServiceImpl.authenticate(RMIBootServiceImpl.java:116)
    [wldeploy] at weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke(Unknown Source)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    [wldeploy] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    [wldeploy] at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    [wldeploy] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    [wldeploy] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    [wldeploy] at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    BUILD FAILED
    C:\JavaTest\PlanDemo\build.xml:12: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerExcep
    tion: Unable to connect to 't3://localhost:7001': User: weblogic, failed to be authenticated.. Ensure the url represents
    a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
    Total time: 0 seconds
    Above is exactly the same error what u are getting...
    So please recheck the password provideed in the "build.xml" is correct..or any space added before or after the Password.....
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

  • Problem in deploying war file in weblogic application server 10

    Hi
              Thank you for reading my post.
              We are trying to deploy our application into weblogic but problem is that weblogic return an error like following one when we try to deploy the application.
              I should tell you that the following log was shown in a not well formatted way and i format it manually.
                        [HTTP:101216]Servlet: "com.wira.webservices.int.Wsti" failed to preload on startup in Web application: "wira.war". class:
              com.wira.webservices.int.jaxws.RequestResponse could not be found at
              com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272) at
              com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566) at
              com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513) at
              com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358) at
              com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245) at
              com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229) at
              com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161) at
              com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291) at
              com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315) at
              weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125) at
              weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64) at
              javax.servlet.GenericServlet.init(GenericServlet.java:241) at
              weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282) at
              weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at
              weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source) at
              weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63) at
              weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at
              weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at
              weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504) at
              weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830) at
              weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807) at
              weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727) at
              weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890) at
              weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948) at
               weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353) at
              weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at
              weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at
              weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at
              weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at
              weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at
              weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at
              weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
                        I should say you that we do not have a package and class like: com.wira.webservices.bpel.jaxws.RequestResponse and it looks like WLS is mistaken about this.
              Indeed this application works fine on Sun java application server 9 (java ee 5 certified). Can you please tell me why does it happens?
              here is source code of Wsti class
                        @WebService()
              public class Wsti {
                  @WebMethod(operationName="requestResponse")
                  public String requestResponse(@WebParam(name="request") String request) {
                      return ReflectionManager.call(WstiImp.class, request);
                                            for reflection we used standard JDK reflection stuff.
              and that call method call a method identified in request from WstiImp class.
              Thanks

    Following are the steps involved in deploying a WAR file in Oc4j.
    1. Copy the file to D:\oc4j\j2ee\home\applications where d:\oc4j is the location OC4J is installed in.
    copy mywar.war D:\oc4j\j2ee\home\applications
    2. Open the application.xml file in D:\oc4j\j2ee\home\config directory
    and add the following after the <web-module id="defaultWebApp" path="../default-web-app" />
    line:
    <web-module id="mywar" path="../applications/mywar.war" />
    3. Open the default-web-site.xml file in D:\oc4j\j2ee\home\config
    directory and add the following after the <default-web-app application="default" name="defaultWebApp" /> line:
    <web-app application="default" name="mywar" root="/mywar" />
    Hope this helps
    -Debu Panda
    Oracle

  • Error when add portlet into portal page

    Dear all,
    I use:
    + JDeveloper 10.1.3.4.0
    + Oracle Application Server 10g release 2.
    + JDK 1.4
    I installed ADF_Installer and Portlet_Container for OC4J instance in Oracle Application Server ok.
    1. I use JDeveloper, create my simple project with template is WebCenter Application.
    2. In the Portlet project, I added the Portlet Faces Bridge.
    3. I add the JSF (with name is home.jspx) in Web Tier into the Portlet project (select the JSF JSP). And type is .jspx and Do not automatically Expose UI Components in a Managed Bean.
    4. Inside the home.jspx, I add the OutputText only.
    5. Inside the WEB-INF, i created portlet.xml file with content is:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <portlet-app version="1.0"
    xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
    <portlet>
    <portlet-name>MyTestPortlet</portlet-name>
    <display-name>My Test Portlet</display-name>
    <portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet</portlet-class>
    <init-param>
    <name>DefaultPage.view</name>
    <value>/home.jspx</value>
    </init-param>
    <init-param>
    <name>BridgeLifecycleListeners</name>
    <value>
    oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener
    </value>
    </init-param>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
    <title>My Test Portlet</title>
    <short-title>testportlet</short-title>
    </portlet-info>
    </portlet>
    </portlet-app>
    6. Inside the WEB-INF, i edited web.xml by added some contents (and inside this file, I removed line in web-app tag
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"): --> If I did not remove it, I received some error !
    <context-param>
    <param-name>javax.faces.application.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml,/WEB-INF/portlet.xml</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    7. I create the WAR File Deployment Profiles.
    Ok, I deploy this portlet into OC4J instance in Oracle Application Server (10g release 2). -- > Finished.
    From my browser, I use URL Address such as:
    http://mymachine.com:7780/jobs/portlets?WSDL --> ok.
    After that, I log into Oracle AS Portal, and register this provider with style WSRP --> ok, I can see it from Portlet Reposistory. But when I add it into my portal page, I receive following message
    Error:Could not get markup. The cookie or session is invalid or there is a runtime exception.
    I refresh my portal page but it not effect !
    In Oracle Application Server 10g release 2 have support JSF Portlet ? Or I have some misstakes ? Please guide to me to solve this problem.

    I updated Oracle Application Server Portal from 10.1.2 to 10.1.4 ! Please give me some ideas !

  • Receive some error when add portlet into portal page

    Dear all,
    I use:
    + JDeveloper 10.1.3.4.0
    + Oracle AS Portal 10g release 2.
    + Oracle Application Server 10g release 2.
    + JDK 1.4
    I installed ADF_Installer and Portlet_Container for OC4J instance in Oracle Application Server ok.
    1. I use JDeveloper, create my simple project with template is WebCenter Application.
    2. In the Portlet project, I added the Portlet Faces Bridge.
    3. I add the JSF (with name is home.jspx) in Web Tier into the Portlet project (select the JSF JSP). And type is .jspx and Do not automatically Expose UI Components in a Managed Bean.
    4. Inside the home.jspx, I add the OutputText only.
    5. Inside the WEB-INF, i created portlet.xml file with content is:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <portlet-app version="1.0"
    xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
    <portlet>
    <portlet-name>MyTestPortlet</portlet-name>
    <display-name>My Test Portlet</display-name>
    <portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet</portlet-class>
    <init-param>
    <name>DefaultPage.view</name>
    <value>/home.jspx</value>
    </init-param>
    <init-param>
    <name>BridgeLifecycleListeners</name>
    <value>
    oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener
    </value>
    </init-param>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
    <title>My Test Portlet</title>
    <short-title>testportlet</short-title>
    </portlet-info>
    </portlet>
    </portlet-app>
    6. Inside the WEB-INF, i edited web.xml by added some contents (and inside this file, I removed line in web-app tag
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"): --> If I did not remove it, I received some error !
    <context-param>
    <param-name>javax.faces.application.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml,/WEB-INF/portlet.xml</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    7. I create the WAR File Deployment Profiles.
    Ok, I deploy this portlet into OC4J instance in Oracle Application Server (10g release 2). -- > Finished.
    From my browser, I use URL Address such as:
    http://mymachine.com:7780/jobs/portlets?WSDL --> ok.
    After that, I log into Oracle AS Portal, and register this provider with style WSRP --> ok, I can see it from Portlet Reposistory. But when I add it into my portal page, I receive following message
    Error:Could not get markup. The cookie or session is invalid or there is a runtime exception.
    I refresh my portal page but it not effect !
    In Oracle Application Server 10g release 2 have support JSF Portlet ? Or I have some misstakes ? Please guide to me to solve this problem.

    I updated Oracle Application Server Portal from 10.1.2 to 10.1.4 ! Please give me some ideas !

  • Deploy OBIEE 11g into WebCenter

    Can someone give me step by step instruction of how to deploy OBIEE Portlets into WebCenter? I don't need the high level explainations. For example, if I will need to create a .war file please tell me which files need to be included in that war file. Thanks.

    Oracle BI EE 10.1.3.3/2 – Deploying JSR 168 Portlets – Displaying Reports in Web Center Suite using JDeveloper
    Please refer this:
    As you would probably know, BI EE by default comes pre-bundled with JSR-168 portlets that can be deployed in any standard Portal that complies with WSRP and JSR-168 standards. So basically one can access the BI EE reports from any standard compliant portal. Today we shall see how to go about using these compliant portlets to retrieve a sample report into Web Center Suite using JDeveloper. The entire process can be divided into 3 main phases. They are
    1. Deploying WSRP Java Containers in an Oracle Application Server - Phase 1
    2. Deploying BI EE JSR 168 portlets into the above WSRP Java container - Phase 2
    3. Calling BI EE reports from Web Center suite using the above deployed Portlet - Phase 3
    In my case, i have the following list of components.
    1. BI EE running on a standalone OC4J in a laptop (say Machine A)
    2. A standard Oracle Application Server (10.1.2 or above) running on a seperate Machine (say Machine B. This is where we will deploy the Portlets). This Application Server has Portal and Wireless installed.
    3. JDeveloper (10.1.3.2 or above since they get bundled with a Web Center Suite OC4J) on Machine A.
    Phase 1:
    For Phase 1 ie to install the WSRP container, the documentation is very clear and you can get the list of the step by step instructions here
    Phase 2:
    1. Once the WSRP container has been created (in my case i have created a container called wsrp), go to {OracleBI}\web\sdk. There you would find a file called sawjsr168portlets.war. Copy this file to a local folder like D:\Portlets.
    2. Open a command prompt and navigate to D:\Portlets folder( the folder to which we copied the jsr168portlets.war file). Now type in the following command
    jar -xf sawjsr168portlets.war
    What this would do is it would open up the war file and will expose the contents in the same directory. So, you basically can see new directories like WEB-INF that would get created.
    3. Now go to D:\Portlets\WEB-INF and open the Portlets.xml file in a text editor. Search for oracle.bi.presentation.sawserver.URL and in the “value” tag enter the URL of the BI EE presentation services.
    For example
    <preference>
    <name>oracle.bi.presentation.sawserver.URL</name>
    <value>http://10.176.246.99:9704/analytics/saw.dll</value>
    <read-only>false</read-only>
    </preference>
    Search for oracle.bi.presentation.portlets.jsr168.reportui.AdminUserName and enter Administrator in the value tag. For example
    <preference>
    <name>oracle.bi.presentation.portlets.jsr168.reportui.AdminUserName</name>
    <value>Administrator</value>
    <read-only>false</read-only>
    </preference>
    Search for oracle.bi.presentation.portlets.jsr168.reportui.AdminPwd and enter the password for the Administrator user. For example
    <preference>
    <name>oracle.bi.presentation.portlets.jsr168.reportui.AdminPwd</name>
    <value>welcome1</value>
    <read-only>false</read-only>
    </preference>
    Search for oracle.bi.presentation.report.Path and enter a report URL. For example
    <preference>
    <name>oracle.bi.presentation.report.Path</name>
    <value>/shared/paint demo/demo report</value>
    <read-only>false</read-only>
    </preference>
    4. Now open up web.xml in a text editor. Search for com.siebel.analytics.web.SAWServer.Host and enter the machine name/ip where BI EE is hosted. For example,
    <init-param>
    <param-name>com.siebel.analytics.web.SAWServer.Host</param-name>
    <param-value>10.176.246.99</param-value>
    </init-param>
    5. Now go back to D:\portlets via command prompt and enter the following commands.
    jar -uf sawjsr168portlets.war WEB-INF\portlet.xml
    jar -uf sawjsr168portlets.war WEB-INF\web.xml
    This would update the war file with the changes that we made above.
    6. Now go to the Application Server enterprise manager and Deploy this war file inside the WSRP container that was created above. i have used biee and /biee for the application name and its URL. Ensure that you are able to access the WSDL using the URL http://MIDTIERHOST:PORT/biee/portlets?WSDL
    Now our Phase 2 is complete.
    Phase 3:
    1. Open JDeveloper 10.1.3.2 and create a sample application using Webcenter Application as the template.
    2. Now lets register the portlet that we deployed above. Give it some name and enter the WSDL url while doing the registration. After that click on finish (keep everything else default).
    3. Once registered create a simple JSF-JSP page and include this portlet that we registered from the Component Pallette. Ensure that you are exposing the UI components with some sample class names.
    4. Now execute this JSP. You should see the sample report output.
    You can also pass the report path dynamically from within web center suite. You need to bind the parameter to the URL.

Maybe you are looking for

  • Download stops saying it is corrupt

    Hi, Im trying to install/download cs6 production premium I have my serial number, but in the original download it gets about 15 minutes into the download and stops saying something about corrupt. I then thought maybe I have to install the software th

  • How to embed and open PDF files within excel

    I constantly need to embed PDF files onto Excel documents as well as extract/open/view PDF files from Excel documents. I am unable to do so with a macbook, i know that there is a workaround but it's such a tedious process. Is there a software i can b

  • Error while executing DB Insert statement in BPEL process

    Hi Folks, I am facing the below issue while trying to invoke a DB adapter for DB Insert from a BPEL process : +file:/oracle/orasoa/bpel/domains/default/tmp/.bpel_ProvisionOrderASAPReqABCSImpl_1.0_50dd1595129e9bbb00560e31e7c18cef.tmp/DB_INS_ASAPRespon

  • Need help with installation

    I recently received a laptop from school to access my online classes.  When I tried to use Adobe Reader I received the following message:  Adobe Reader 9.1 has encountered a problem and needs to close.  Sorry for the inconvenience.  I tried tech supp

  • Ipad mini with Retina Charger

    Hi Folks, I recently bought an Ipad mini with Retina in US and I want it to use it in India. I got the 10w Power adapter which can be used only in US, for India it would be different. Where can I get an adapter for the same? Do I need to charge it on