Deploing/Developing Java portlet application

How are you developing java portles?
I'm using IDEA + ANT + NW04 Sneak Preview SP11
But after several redeploing of application I'm always getting errors
1. admin user locked (Only reinstall was helped)
2. dispatcher can't start
Has anybody the same problem? What is your enviroment?
Is your NW installation working stable?

I use Netweaver Developer Studio.

Similar Messages

  • Do you develop Java Desktop Applications based on netbeans RCP?

    do you develop Java Desktop Applications based on netbeans RCP?
    http://nextbridge.net/netbeans/ ,a definitive source for netbeans plugins information

    I don't. For the moment it seems too complicated. I follow the MVC pattern when the application is big and try to look at the code of successful projects.

  • Which is the best and user freindly IDE for developing Java GUI application

    Please advice me if there is any good IDE for developing all kind of Java applications.
    I m confused about which IDE to use.
    I have Searched on Net also. and most of the answers i found was for JBuilder and JBoss.
    But cant confirm until u guys suggest me.
    Because i think this is the best place to ask questions about java.
    Please advice

    If you're developing JSPs and Servlets....
    I've found that using Eclipse (which is free) coupled with the MyEclipse plug-in (an advanced J2EE specific plug-in which costs $29.99USD/year) was the best for me. I've tried several free J2EE Eclipse plug-ins, didn't like them. Wasn't a big fan of NetBeans either, but I liked it tons better than the other Eclipse plug-ins.
    Therefore, IMHO for free I'd go with NetBeans, for a small fee I'd go with Eclipse/MyEclipse plug-in.
    If you are new to J2EE but not to Java, you may want to consider going straight to JSF and Sun's Java Studio Creator. This is not free, but the fee is one-time and development is (mostly) visual using Java Studio Creator.

  • Import weblogic portlet application (JSR168)  into Sharepoint 2007

    simple question ;) is it possible? a how? i have no idea yet...
    thx for your commnents...
    Message was edited by:
    vojtik

    Jeff
    You can develop java portlet (JSR 168) in current IDE .
    You need to have portlet-api-1.0.jar to compile the portlet.Start with few jsp's only & required DAO , BO , VO can be called thro' portlet. You need to have portlet.xml in WEB-INF folder . This developed portal application can be imported to weblogic workshop . But you need to have ConverterTool (which converts Normal Portal Application into weblogic portal application). ConverterTool will have preparePortletsClasses.jar , which does this for you.Then while importing this application in workshop , workshop will add workshop specific files into your portal web application .
    Here normally jsp , DAO , BO , VO will remail as it is .
    Hope this could help you .
    bye
    Ganesh

  • Building a simple java portlet

    Hi:
    i have a java application with some forms, textareas, checkboxes, etc. i need to put this application into a portal page. do i have to rewrite all the code? what is the structure of a java portlet application? i mean, main function, renderBody, etc. Anybody can give the most simple full example of a java application portlet?
    Thx.
    Regards. Urko.

    Hi Erik,
    Thanks for your help. I found the answer. The servlet 2.3 web application version must be used instead of version 2.4 when building the application.
    Thanks Erik

  • Deploying  Jave portlet on Oracle Application Server 10g

    I have installed Oracle 10g Application server, donwloaded and installed JDevleoper 9.0.5.1 and the latest Java Portal Development and as well as the JDeveloper portlet-addin. Now, I followed the instructions from the http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/BUILD.JSR168.PORTLETS.USING.JAVA.PORTLET.WIZARD.9IJDEVELOPER.HTML
    On using JDeveloper addin wizrd to create a java portlet and so far so good. However, I am stuff on the last bit on deployment. It document says "# Now use the URL provided in the log page at the bottom of JDeveloper to get part of your URL (e.g. http://myserver.uk.oracle.com:8888/my-portlet) and complete the URL.
    http://myserver.uk.oracle.com:8888/my-portlet/portlets?WSDL
    Now use this URL to register your portlet with OracleAS Portal.
    But when i deploy my application (just a test thing), from the deployment tab I get:
    ---- Deployment started. ---- 22-Mar-2005 14:11:27
    Target platform is Oracle Application Server 10g (hotseatConnection).
    Wrote WAR file to C:\work\oracle\MyProject\MyPortlet\deploy\hotseat.war
    Wrote EAR file to C:\work\oracle\MyProject\MyPortlet\deploy\hotseat.ear
    Invoking DCM servlet client...
    C:\Java\j2sdk1.4.2_03\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\Java\JDeveloper9.0.5.1\jdev\lib\oc4j_remote_deploy.jar http://194.83.41.114:1811/Oc4jDcmServletAPI/ ias_admin **** redeploy /u01/app/oracle/product/10.1.0/oraMid_904 C:\work\oracle\MyProject\MyPortlet\deploy\hotseat.ear hotseat
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy /u01/app/oracle/product/10.1.0/oraMid_904 C:\work\oracle\MyProject\MyPortlet\deploy\hotseat.ear hotseat UNDEFINED
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = c253297271317c3f930003c405ea91ff598582f0be0
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    DCM command completed successfully.
    Output:
    Exit status of DCM servlet client: 0
    Elapsed time for deployment: 1 minute, 45 seconds
    ---- Deployment finished. ---- 22-Mar-2005 14:13:12
    My question is, HOW DO I ACCESS the deployed application, since it didn't specify the URL where it's deployed????
    Many thanks
    P/S
    I have tried:
    http://{myserver}:8888/{my-portlet}/portlets?WSDL but that doesn't work

    Hi FormsEleven,
    When you say you can do this or you have done for demo then considering following directory structure if I have two forms having common form names how it will be resolved?
    Or how the url to access these forms will be?
    As shown in the following structure consider we have Form1 in sub directory1 as well as in sub-directory2 then how the link to access these forms will be?
    - Hosting Directory (formsweb.cfg entry)
      - Sub Directory1
          - Form1
          - Form2 
      - Sub Directory2
          - Form1
          - Form4
      - Sub Directory3
          - Form5
          - Form6

  • Using oracle personal for developing java application?

    Can I use Oracle 9i Personal Edition for developing Java applications? Does it provide a JDBC Type 4 driver?
    Thanks a lot.
    [email protected]

    SIR I WANT TO UPLOAD MY DEVELOPER FORMS BY USING ORACLE 8I SERVER?
    CAN U TELL ME THE PROCEDURE IN DETAIL?
    I WILL BE THANKFUL TO U
    MY EMAIL ADDRESS IS [email protected]

  • Java Portlet (JSR 168) development with Portal

    Hello,
    We have been trying to dive back into Portal development lately. The release of 9.0.4 with support for standards-based portlets has convinced us to begin looking at 9iAS Portal as a practical portal product. We have a development environment setup with a workin 9.0.4 portal.
    Digging through the available docs on the portal studio site, I have come across a couple documents alluding to the installation of a portlet-container. Now, I have already downloaded the JSR 168 framework files. It seems that a good portion of this 'portlet container' consists of these files.
    The problem is that the documentation that is available is nothing more than a step by step set of instructions for setting up an OC4J instance with this 'portlet container', configuring an Oracle database for portlet customizations, and deploying a sample ear into the OC4J instance.
    This does nothing for me.
    What I want is documentation that indicates the requirements necessary to make a JSR-168 compliant portlet (even a 'hello world') exposed through portal with the least amount of effort, and with no references to proprietary tools. I would like to see instructions that are tailored towards a generic J2EE provider, not an OC4J one. I already have a very functional set of tools that should be able to accomodate a JSR-168 producer. We have had many problems with OC4J leading us to try to avoid it at all costs.
    Any ideas?
    Thanks!
    -Sean

    Hello
    I am probably not clear.
    In the OracleAS Portal architecture Java portlet are remote from the portal middle tier.
    In the non standard world (JPDK Portlet), the Portal Middlet tier use SOAP over HTTP to call the portlets.
    In the Standard world (JSR-168), the Portal Middle Tier will use WSRP (Web Service Remote Portlet) to call the portlets. When you use the Oracle JSR-168 container inside OC4J, these portlets are automatically accessible over remotely using WSRP.
    So, as you can see the Portal Middle Tier needs to support WSRP to be able to use JSR-168 portlet. And OracleAS 10g 904 does not currently support WSRP registration. It is why we have the "OracleAS Portal Verification Service for WSRP", to allow you to test your portlet.
    To be able to use JSR-168 (with WSRP) portlet on you internal Portal you'll have to install the OracleAS Portal Standard Developer Preview that will be available soon.
    Hope that clarify my previous statements.
    Regards
    Tugdual Grall

  • Developing Java Applications for Windows CE

    Hello,
    I hope this sub forum is right. So I must develop a Java Application for Windows CE. I read something about J2ME, but I think this is only for Mobilephone and Windows CE supports AWT. So I tried just some simple forms with J2ME.
    Can anybody tell me how I develop java Applications for Windows CE? Can I use Eclipse or must I use another IDE?
    Realy I developed Swing 5-6 Month but I have no idea how I develop Java Applications for Windows CE.
    Thanks a lot for helping...

    The MIDP for Palm OS 1.0 requires Palm OS v3.5 or higher to run. According to your error message, the emulator is not running v3.5 or higher. Try to get hold of a ROM image with a later version. I've run it with v4.0 of the OS and it works.

  • Is there any possibility to develope java application for IPhones

    Is there any possibility to develope java application for IPhones

    921326 wrote:
    Just look to the next thread!I did that after I replied to the last person to ask this question. I spotted this thread:
    Developing iPhone apps with JavaFX 2 (Demo)
    Not much there, but apparently people are trying to hack it together using JavaFX 2 already. I believe I read an article where Oracle itself had given a presentation about a JavaFX2 app on an iPhone; I believe the gist of it is that they want to make it so you can bundle the Java runtime with your application, which makes it legal to sell a Java application through the appstore.

  • I want develop a small application Like java forums.

    As Sun Developer Java forum,Everybody put their questions and get the replies.I want develop it for my organization.So any body help me to give the design or architecture or any suggestion to develop this project successfully.

    Apache STRUTS or JSF and Hibernate

  • How to create a Portlet application in OPM 10.4

    Hello,
    We would like to create a portlet application. The purpose of creation of such application is to embedded this in the portal.
    Can we get the pointer on this please?

    The actual interview portlet is found in the zip you download for Oracle Policy Automation runtime components for Java (Oracle Policy Automation Downloads on OTN).
    Any basic rulebase will work inside the portlet.  The SocialServicesScreening example rulebase has both portlet and non-portlet projects.  The rules and data model are the same in both projects but these projects contain different summary screens because portlets impose a restriction on the use of relative URLs to reference static resources.  See the explanatory note in the "Change the layout or appearance of interview screens" topic of the OPM User's Guide (http://docs.oracle.com/html/E48373_01/toc.htm#Interviews%20and%20flows/Change_layout_or_app_of_interview_screens.htm?Highlight=Portlet)
    The OPA Developer Guide contains an entire section on the Interview Portlet - see the topic "The Interview Portlet" (http://docs.oracle.com/html/E48376_01/toc.htm#Interviews/The_Interview_Portlet.htm)
    .Brad.

  • Getting Error when trying to deploy Portlet Application on WebLogic Server

    Hi,
    We have a WebLogic server installed on a Windows machine. We created a new Domain, extended it with ADF Runtime and with Web Center Framework. It created three servers for us along with the already existing AdminServer, WLS_Portlet, WLS_Spaces, WLS_Service.
    We created a portlet Application on our development machine using JDeveloper. When we run it from JDeveloper it runs as expected without any errors.
    We created a Deployment profile for the application as an EAR file. Then we copied this EAR file over to the machine on which WebLogic server is installed (deployment machine).
    On the Deployments screen of the WebLogic Server Console, we selected "Install", selected the EAR file we had created above, selected "Install as Application" and then selected the WLS_Portlet server on which to install it. Then we just kept clicking Next and Finish.
    The first time we tried it, we got a NoClassDefFound exception for some class like JAXRPCServer. We did some research and found that to fix this issue we can put the containing .jar files of the classes not found into the public_html\WEB-INF\lib folder. We tried this for the above error by placing "wsserver.jar" file into the lib folder. Then we got anothe NoClassDefFound error. We again searched for the containing .jar file and put it into the lib folder. This continued for around ten to twenty errors and now we are stuck at a point where we are not able to find a way out.
    The current error that we are getting is NoClassDefFound: oracle/security/jps/internal/policystore/GranteeFactory. We searched for the containing jar of this class and found it to be jps-internal.jar which is already present in our lib folder. The stack trace of the exception is:
    <Jul 2, 2010 11:23:13 AM GMT+05:30> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException: oracle/security/jps/internal/policystore/GranteeFactory
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1516)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1269)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    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:164)
    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:69)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NoClassDefFoundError: oracle/security/jps/internal/policystore/GranteeFactory
    at oracle.security.jps.internal.policystore.JavaPolicyProvider.getPermissions(JavaPolicyProvider.java:216)
    at java.security.Policy.initPolicy(Policy.java:299)
    at java.security.Policy.setPolicy(Policy.java:243)
    at oracle.security.jps.internal.jaas.JaasUtil.setPolicyProvider(JaasUtil.java:54)
    at oracle.security.jps.wls.JpsWeblogicFilter.<clinit>(JpsWeblogicFilter.java:47)
    at oracle.security.jps.wls.JpsWlsPlatformFactory.getJpsFilter(JpsWlsPlatformFactory.java:87)
    at oracle.security.jps.ee.http.JpsFilter.<init>(JpsFilter.java:59)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at weblogic.servlet.internal.WebComponentContributor.getNewInstance(WebComponentContributor.java:225)
    at weblogic.servlet.internal.WebComponentContributor.createFilterInstance(WebComponentContributor.java:257)
    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:94)
    at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:59)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1867)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    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:41)
    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:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    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)
    Any help would be appreciated on this since we are stuck at this point and have no idea to get across this hurdle.
    One more thing, this is the first time that we are trying to play with WebLogic or even Java. So, some of our questions or steps performed might seem irrelevant here.
    Thanks,
    Gaurav

    Hi,
    Another update on this issue.
    To remove the error that we were getting (java.lang.LinkageError: Class javax/xml/transform/Source violates loader constraints), we tried some searching around and found out that the way to fix it is to provide correct versions of xalan.jar, xml-apis.jar and xercesImpl.jar. We downloaded the required version from the apache site and added it to our WEB-INF/lib folder in the WAR file.
    Now, we are getting this error:
    XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom
    What else we might be missing in our libs or do we need to check some other configurations?
    Any help on this would be much appreciated.
    Thanks,
    Gaurav

  • Announcing: Developing JSF Portlets with WebLogic Portal Whitepaper

    Just Released: Developing JSF Portlets with WebLogic Portal Whitepaper
    A supplemental developer's guide has been published to help guide WLP 10.x customers that wish to use JSF as the web framework for building portlets on WebLogic Portal. This is a sizable document (150 pages) that covers a large number of topics. It also coaches developers on best practices and common pitfalls.
    Important: It also clarifies the supported configuration of JSF within Portal Web Projects. Workshop for WebLogic by default configures a web project in a configuration that is not supported by WebLogic Portal. The guide explains how to address this:
    * Change from the unsupported MyFaces JSF implementation to the supported Sun Reference Implementation (RI)
    * Change from the unsupported "client" STATE_SAVING_METHOD to the supported "server"
    The guide can be downloaded here:
    http://download.oracle.com/technology/products/weblogic/portal/weblogic-portal-jsf-whitepaper.pdf
    To help internet searches locate this document, the table of contents is reproduced below:
    Introduction
    1.1. Prerequisites...................................................................... 8
    1.2. Applicable Versions............................................................ 8
    1.3. Native Portlet Bridges and Standard Portlet Bridges .......... 8
    1.4. JSF Portlet Support Roadmap ........................................... 9
    1.5. Whitepaper Structure ....................................................... 10
    1.6. Look Before You Leap ..................................................... 10
    1.7. For More Information........................................................ 10
    Part 1: Converting JSF Applications into Portlets
    2. IDE Support for JSF Portlets Chapter ...................................... 12
    2.1. Workshop for WebLogic – WebLogic Portal's Supported IDE 12
    2.2. Workshop Features for JSF Support in WebLogic Portal.. 12
    3. Introduction to JSF Portlets Chapter ........................................ 18
    3.1. Creating Your First JSF Portlet......................................... 18
    3.2. Essentials of JSF Portlet Views........................................ 21
    3.3. WebLogic Portal Artifacts................................................. 22
    4. Configuring JSF within WebLogic Portal Chapter..................... 24
    4.1. JSF Library Modules in WebLogic Server ........................ 24
    4.2. Installing the JSF Libraries into a Portal Web Project ....... 25
    4.3. JSF Configuration Settings............................................... 27
    4.4. Configuring JSF 1.2 ......................................................... 29
    4.5. Building an Unsupported JSF Implementation Library Module 31
    4.6. Faces Configuration is Web Application Scoped.............. 31
    5. Navigation within a JSF Portlet Chapter................................... 33
    5.1. Navigating within a Portlet with the JSF Controller ........... 33
    5.2. Redirects.......................................................................... 34
    6. Namespacing Chapter ............................................................. 35
    6.1. Namespacing Managed Bean Names.............................. 35
    6.2. Client ID Namespacing with the View and Subview Components 35
    6.3. Client ID Namespacing with the WLP NamingContainer .. 36
    7. Logging, Iterative Development, and Debugging Chapter ........ 39
    7.1. Logging............................................................................ 39
    7.2. Iterative Development ...................................................... 39
    7.3. Debugging ....................................................................... 40
    8. Custom JavaScript Chapter ..................................................... 42
    8.1. DOM Manipulation within a JSF ....................................... 42
    8.2. Form Validation within a JSF Portlet ................................ 45
    9. Preparing JSF Portlets for Production Chapter ........................ 46
    9.1. Configuration.................................................................... 46
    9.2. Performance and Scalability............................................. 47
    9.3. Security............................................................................ 49
    9.4. Localization...................................................................... 50
    Part 2: Interacting with the Portal Environment
    10. Native Bridge Architecture Chapter ...................................... 54
    10.1. Container Architecture Overview.................................. 54
    10.2. Container Architecture.................................................. 54
    10.3. Container Interactions .................................................. 55
    11. Interportlet Communication Chapter .................................... 56
    11.1. Using Session and Request Attributes for IPC (Anti-pattern) 56
    11.2. Using the WLP Event Facility for IPC with JSF Portlets 56
    11.3. Notifications ................................................................. 60
    11.4. Comparison of the IPC Approaches ............................. 60
    12. Scopes Chapter ................................................................... 62
    12.1. Conceptual Scopes for Standard JSF Applications ...... 62
    12.2. Conceptual Scopes for Portal Applications................... 63
    12.3. Implementation Patterns for Portal Scopes .................. 63
    13. State Sharing Patterns Chapter ........................................... 66
    13.1. State Sharing Concepts ............................................... 66
    13.2. HttpSession Versus HttpServletRequest ...................... 66
    13.3. Base Code for HttpSession Patterns ............................ 67
    13.4. Single Portlet Pattern ................................................... 68
    13.5. Multiple Portlet Patterns ............................................... 69
    14. Rendering Lifecycles Chapter .............................................. 77
    14.1. WLP and JSF Lifecycles .............................................. 77
    14.2. Invocation Order of WLP and JSF Lifecycle Methods... 77
    14.3. Accessing WLP Context Objects from JSF Managed Beans 78
    15. Portal Navigation Chapter .................................................... 80
    15.1. Programmatically Constructing JSF Portlet URLs ........ 80
    15.2. Changing the Active Portal Page.................................. 80
    15.3. Redirects within a Portal............................................... 83
    16. Ajax Enablement Chapter .................................................... 85
    16.1. Ajax in JSF Portlets...................................................... 85
    16.2. Partial Page Rendering Pattern.................................... 85
    16.3. Stateless API Request Pattern ..................................... 86
    16.4. Portlet Aware API Request Pattern .............................. 87
    16.5. Controlling the WLP Ajax Framework........................... 91
    17. Additional WLP Features Chapter........................................ 93
    17.2. Portlet Container Features ........................................... 93
    17.3. Portal Container Features ............................................ 98
    18. Example: Implementing a Login Portlet Chapter .................. 99
    18.1. Login Portlet Motivation................................................ 99
    18.2. Login Portlet Design..................................................... 99
    18.3. Login Portlet Implementation...................................... 101
    Part 3: Integrating Third Party Libraries
    19. Integration Overview Chapter............................................. 111
    19.1. Types of Libraries....................................................... 111
    19.2. Roadmap for MyFaces Trinidad and ADF Faces Rich Client 111
    20. Using the Facelets View Technology Chapter.................... 113
    20.1. Introduction to Facelets .............................................. 113
    20.2. Configuring Facelets Support ..................................... 113
    21. Using the Apache MyFaces Tomahawk Component Library Chapter 115
    21.1. What is Apache MyFaces Tomahawk? ...................... 115
    21.2. Support for Tomahawk in WLP................................... 115
    21.3. Tomahawk Component List........................................ 116
    21.4. Installing and Configuring Tomahawk......................... 119
    21.5. Resolving the Duplicate ID Issue................................ 120
    21.6. Referring to Resources .............................................. 120
    21.7. forceId Attribute.......................................................... 124
    21.8. File Upload................................................................. 125
    22. Using the Apache Beehive Navigation Controller Chapter . 126
    22.1. Apache Beehive Page Flow ....................................... 126
    22.2. JSF and Page Flows .................................................. 126
    22.3. Configuring the JSF Integration with Page Flows ....... 127
    Appendices
    23. Appendix 1: Consolidated List of Best Practices ................ 130
    24. Appendix 2: Known Issues and Workarounds.................... 132
    24.1. CR383659, CR383662 Inconsistent failures with JSF portlets 132
    24.2. CR342124: IllegalStateException due to duplicate client-id 132
    24.3. CR384916: IllegalStateException due to duplicate client-id when using certain components such as Tomahawk and Trinidad...... 133
    24.4. CR361477 Problems with the integration of JSF portlets with Apache Beehive Page Flows.................................................................. 133
    24.5. CR377945 JSF 1.2 suffers from a memory leak during iterative development .............................................................................. 134
    25. Appendix 3: The JSFPortletHelper Class ........................... 135
    26. Appendix 4: The CleanupPhaseListener Class .................. 147

    Hi Peter!
    First, I wish to thank you for the great work.
    We followed your whitepaper and managed to deploy a JSF portlet on WLS.
    But we are not able to register it (consume it) as remote portlet in Oracle Portal 10.1.4. The error log is as follows:
    An error occurred while trying to refresh the provider. (WWC-43190)
    An error occurred during the call to the WSRP Provider:
    java.rmi.RemoteException: serialization error: serialization error:
    unexpected null value for literal data; nested exception is:
    serialization error: serialization error: unexpected null value for literal data
    com.sun.xml.rpc.encoding.SerializationException: serialization error:
    serialization error: unexpected null value for literal data
    com.sun.xml.rpc.encoding.SerializationException: serialization error:
    unexpected null value for literal data
    Java stack trace from root exception:
    unexpected null value for literal data
    at
    oracle.webdb.wsrp.RegistrationContext_LiteralSerializer.doSerialize(RegistrationContext_LiteralSerializer.java:107)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:119)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:70)
    at
    oracle.webdb.wsrp.GetServiceDescription_LiteralSerializer.doSerialize(GetServiceDescription_LiteralSerializer.java:88)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:119)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:70)
    at
    com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.java:473)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:62)
    at
    oracle.webdb.wsrp.WSRP_v1_ServiceDescription_PortType_Stub.getServiceDescription(WSRP_v1_ServiceDescription_PortType_Stub.java:63)
    at
    oracle.webdb.wsrp.client.design.v1.OraWSRP_v1_ServiceDescription_PortType.getServiceDescription(Unknown
    Source)Do you have any idea why this happens? Or you can provide some useful links to WLP -Oracle Portal federation?
    Thank you and best regards,
    PaKo

  • Why can't I debug my JSF Portlet application after inserting an IFrame

    Hi,
    1) I created a jsf portlet application
    2) I add a button in my jsf portlet application
    3) I can debug my button's action method
    4) Now I open my jsp editor and add an iframe
    <iframe height="500" id="ifWindow" name="ifWindow"/>
    5) I try to debug my button's action method but the debug cursor never reaches it like in step 3
    6) I added a messageGroup but nothing appears there
    7) I monitored "C:\Program Files\Sun\Creator2_1\SunAppServer8\domains\creator\logs\server.log" and nothing appears there
    Is this a bug in Java Studio Creator or is there a problem with iframe in jsf portlet applications?
    Why can't I debug a jsf portlet application if I put an iframe?
    Has anyone got this to work in their jsf portlet application? What can I do to debug this simple application?
    Thanks,
    Marc

    Hi,
    I figured it out. I can debug my jsf application if I placed the iframe outside the <ui:form> element. If it's inside, I cannot debug the application. Are there any books or tutorials that I can read to get rules like this in JSF development?

Maybe you are looking for

  • I was exploring the hard drive, and ended up with an icon picture of the drive on my desktop. How do I get rid of it?

    I was exploring my new iMac, trying to see similarities and differences between it an "ibm" based computers, and somehow I ended up with an icon of my hard drive on my monitor. I tried dragging the icon to the trash can, but it can't seem to be delet

  • Kernel Panic since 10.4.9 instal

    OK. Since I installed 10.4.9 last night I get kernel panic everytime my iMac wakes from sleep. I have the latest firmware version and it doesn't seem to matter what apps I was running. Its a 20" Core 2 Duo Intel. Machine was flawless up until now. An

  • Possible to install CS5 on an external drive?

    Hi all, I'm new to adobe products so I apologize if this is a common question; I tried my best to search the forums for an answer. I recently bought CS5 to use on my 2007 Macbook (snow leopard) for personal use, just to keep my skills current. I woul

  • Demo of SAP B1 Forum

    Hello experts - just a demo to a customer on using SAP B1 Forum... Regards - Zal

  • Applet in webpage help

    I created an applet in eclipse. It works fine. It had 3 classes. 1 class was the applet. The other 2 were classes that the applet used. I put them all in the same directory and when I uploaded it on the web. It shows up all white. Im new to this appl