Deployed Captcha Code on webcenter spaces using customized Task Flow

Dears,
i am using Captcha Code, make new Task flow and fragment to be deployed on webcenter spaces, the code working correctly when am execute RUN from JDeveloper 11.1.1.4.0, but when i deploy it on webcenter spaces version 11.1.1.5 and call this Task Flow from webcenter spaces the image not appear(Actually its Servlet code).
as mentioned on Oracle PDF (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html ) -- > How-to use Captcha with ADF Faces and Oracle ADF
add Servlet on web.xml, then make Managed Bean Code (add it into faces-config.xml) , then create new task flow and call the method that execute the Managed Bean from ADF Task Flow Page.
1 - Servlet on web.xml :
<servlet>
<servlet-name>CaptchaServlet</servlet-name>
<servlet-class>nl.captcha.servlet.SimpleCaptchaServlet</servlet-class>
<init-param>
<param-name>width</param-name>
<param-value>250</param-value>
</init-param>
<init-param>
<param-name>height</param-name>
<param-value>75</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>CaptchaServlet</servlet-name>
<url-pattern>/captchaservlet.jpg</url-pattern>
</servlet-mapping>
2 - Managed Bean :
public void callMethod() {
FacesContext fctx = FacesContext.getCurrentInstance();
ExternalContext ectx = fctx.getExternalContext();
HttpServletRequest request = (HttpServletRequest)ectx.getRequest();
Captcha captcha = (Captcha)ectx.getSessionMap().get(Captcha.NAME);
try {
request.setCharacterEncoding("UTF-8");
} catch (UnsupportedEncodingException e) {
//bad luck - but ignore
System.out.println("UTF not supported !");
String answer = (String)ectx.getRequestMap().get("bestGuess");
if (answer != null && captcha.isCorrect(answer)) {
sendMail();
SendMail_ToExternal();
} else {
fctx.addMessage(null,
new FacesMessage(FacesMessage.SEVERITY_ERROR, "Please write the number shown in the Picture",
null));
i am download the Captcha JAR from Oracle : http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html , Download Captcha an using it as Task Flow to deploy it on webcenter spaces, but as i told you when i Run this code from JDeveloper working correctly, but the problem when i deploy it on webcenter spaces the Servlet code with image not appear. i wanna to know if servlet code working with deployed task flows on webcenter spaces or not ?
Please Advise..
Thanks

Dear Bijesh Krishnadas,
I did not add the servlet configuration to webcenter spaces yet, just add the Servlet to web.xml to ADF application, i will try to do the steps you are sent to me ? many thanks Bijesh Krishnadas

Similar Messages

  • Adding a image in webcenter spaces using Image Layout Component

    Hi,
    i was trying to add a image in webcenter spaces using Image Layout Component , The following steps i did
    I placed some images in Webcenter server location .(c:/images)
    put the folder location in Image Source ( Image Layout Component Properties) as file://c:/images/top_image.jpg
    But the image did not display in WC. if i put some web url its working fine, so i just wonder whether we can point to a file location as the image source.
    Please reply me asap.
    Thanks,
    Swagatika

    I use this to add an image that I have saved in the applet folder
    Image image;
    public void init() {
    image = getImage(getDocumentBase(), "auburn.jpg");
    and I get this error when I try to run it in Jbuilder:
    java.lang.NullPointerException
         at java.applet.Applet.getDocumentBase(Applet.java:125)
         at JavaProject.<init>(JavaProject.java:103)
         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:274)
         at java.lang.Class.newInstance0(Class.java:308)
         at java.lang.Class.newInstance(Class.java:261)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
         at sun.applet.AppletPanel.run(AppletPanel.java:298)
         at java.lang.Thread.run(Thread.java:534)
    What could be the problem?

  • The subtle use of task flow "No Controller Transaction" behavior

    I'm trying to tease out some subtle points about the Task Flow transactional behavior option "<No Controller Transaction>".
    OTN members familiar with task flows in JDev 11g and on wards would know that task flows support options for transactions and data control scope. Some scenarios based on these options:
    a) When we pick options such as "Use Existing Transaction" and shared data control scope, the called Bounded Task Flow (BTF) will join the Data Control Frame of its caller. A commit by the child does essentially nothing, a rollback of the child rolls any data changes back to when the child BTF was called (i.e. an implicit save point), while a commit of the parent commits any changes in both the child and parent, and a rollback of a parent loses changes to the child and parent.
    A key point to realize about this scenario is the shared data control scope gives both the caller and called BTF the possibility to share a db connection from the connection pool. However this is dependent on the configuration of the underlying services layer. If ADF BC Application Modules (AMs) are used, and they use separate JNDI datasources this wont happen.
    b) When we pick options such as "Always Begin New Transaction" and isolated data control scope, the called BTF essentially has its own Data Control Frame separate to that of the caller. A commit or rollback in either the parent/caller or child/called BTF are essentially isolated, or in other words separate transactions.
    Similar to the last point but the exact opposite, regardless how the underlying business services are configured, even if ADF BC AMs are used with the same JNDI data source, essentially separate database connections will be taken out assisting the isolated transactional behavior with the database.
    This brings me back to my question, of the subtle behavior of the <No Controller Transaction> option. Section 16.4.1 of the Fusion Guide (http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/taskflows_parameters.htm#CIHIDJBJ) says that when this option is set that "A new data control frame is created without an open transaction." So you could argue this mode is the same as isolated data control scope, and by implication, separate connections will be taken out by the caller/called BTF. Is this correct?
    Doesn't this in turn have implications about database read consistency? If we have one BTF participating in a transaction with the database, reading then writing data, and a separate BTF with the <No Controller Transaction> option set, it's possible it wont see the data of the first BTF unless committed before the No Controller Transaction BTF is called and queries it's own dataset correct?
    An alternative question which takes a different point of view, is why would you ever want this option, don't the other options cover all the scenarios you could possibly want to use a BTF?
    Finally as a separate question based around the same option, presumably an attempt to commit/rollback the Data Control Frame of the associated No Controller Transaction BTF will fail. However what happens if the said BTF attempts to call the Data Control's (not the Data Control Frame's) commit & rollback options? Presumably this will succeed?
    Your thoughts and assistance appreciated.
    Regards,
    CM.

    For other readers this reply is a continuation of this thread and another thread: Re: Clarification?: Frank & Lynn's book - task flow "shared" data control scope
    Hi Frank
    Thanks for your reply. Okay I get the idea that were setting the ADFc options here, that can be overridden by the implementation of data control, and in my specific case that's the ADF BC AM implementation. I've always known that, but the issue became complicated because it didn't make sense what "No Controller Transaction" actually did and when you should use it, and in turn data control frames and their implementation aren't well documented.
    I think a key point from your summation is that "No Controller Transaction" in context of ADF BC, with either data control scope option selected, is effectively (as far as we can tell) already covered by the other options. So if our understanding is correct, the recommendation for ADF BC programmers is I think, don't use this option as future programmers/maintainers wont understand the subtlety.
    However as you say for users of other data controls, such as those using web services, then it makes sense and possibly should be the only option?
    Also regarding your code harvest pg 14 entry on task flow transactions: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/march2011-otn-harvest-351896.pdf
    ....and the following quote in context of setting the transaction option to Begin New Transaction:
    >
    When a bounded task flow creates a new transaction, does it also mean it creates a new database connection? No.
    >
    ....I think you need to be a little more careful in this answer, as again it depends on the underlying data control implementation as you point out in this thread. In considering ADF BC, this is correct if you assume only one root AM. However if the BTFs have separate root AMs, this should result in 2 connections and transactions..... well at least I assume it does, though I wonder what will happen if both AMs share the same JNDI data source.... is the framework smart enough to join the connections/transactions in this case?
    Also in one of your other code harvests (apologies I can't find which one at the moment) you point out sharing data control scopes is only possible if the BTF data controls have the same name. In context of an ADF BC application, with only one root AM used by multiple BTFs, this of course would be the case. Yet, the obvious implication to your summary of transaction outcomes in this thread, if the developers for whatever reason change the DC name across DataBindings.cpx files sourced from ADF Libraries containing the BTFs, then no, it wont.
    Overall the number of variables in this gets really complicated, creating multiple dimensions to the matrix.
    Going to your last point, how can the documentation be improved? I think as you say the documentation is right in context of the options for ADFc, but, as the same documentation is included in the Fusion Dev Guide which assumes ADF BC is being used, then it isn't clear enough and can be misleading. It would seem to me, that depending on the underlying data control technology used, then there needs to be documentation that talks about the effect of ADFc task flow behavior options in the context of each technology. And God knows how you describe a scenario where BTFs use DCs that span technologies.
    From context of ADF BC, one thing that I've found hard in analyzing all of this is there doesn't seem to be an easy way from the middletier to check how many connections are being taken out from a data source. The FMW Control unfortunately when sampling db connections taken out from a JNDI data source pool, doesn't sample quickly enough to see how many were consumed. Are you aware of some easy method to check the number of the db connections opened/closed?
    Finally in considering an Unbounded Task Flow as separate to BTFs, do you have any conclusions about how it participates in the transactions? From what I can determine the UTF lies in it's own data control frame, and is effectively isolated from the BTF transactions, unless, the BTF calls commit/rollback at the ADF BC data control level (as separate to commit/rollback at the data control frame level), and the data control is used both by the UTF and BTF.
    As always thanks for your time and assistance.
    CM.

  • Do some processing before loading jsf fragment created using adf task flow

    Hi,
    I am working on JDev11g.
    I want to create SelectItems of SelectOneChoice dynamically before loading jsf fragment created using adf task flow
    I tried by implementing RegionController class's method RefreshRegion in my backing bean of jsf page fragement to do some processing before loading region
    But it seems to be not feasible approach because it is getting called every time any component on fragement gets partially submitted.
    Is there any method which is called only first time when region is loaded ?
    Or any other solution to achieve this.
    Regards,
    Devang

    Hi,
    don't think so. You would need a phase listener, but I don't see how you get it in. Wha about using a dynamic region and then use the method that is called from the dynamic region first time it is rendered?
    Frank

  • What is the use of Task Flow Call?

    Hi,
    Usually we can call bounded task flow from unbounded task flow.
    What is the use of Task flow call? How is it different from calling in normal way?
    Can anyone please explain me?
    Thank you,
    Srini

    By using Task flow call you can call Bounded task flow from Bounded or Unbounded Task Flow
    check this link http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/taskflows_activities.htm#CHDJDJEF

  • Unable to import space templates in webcenter spaces using default import

    Hi All,
    I am facing a problem in importing space template in webcenter spaces.The steps i followed were:
    1. Logged into webcenter spaces and in space templates,I selected one template.
    2. Then I clicked on 'Export' button and template exported successfully on my local machine.
    3. It was in .ear format so I changed it to .rar and extracted it.
    4.Then I got .mar and I changed extension again to .rar.
    5. In the folder I went to \webcenter_1298368482200\transport\oracle\webcenter\page\scopedMD\sd6290014_14b6_41a1_8ac1_f84d239ebe53\spacetemplate\DiscussionSiteHome.jspx.
    6. I made certain changes in that .jspx file.
    7. then I saved those changes and again changed extension .mar and .ear.
    8. After that I went to webcenter spaces.I selected the template from the list of templates in spaces and clicked on 'Import' button .
    9. It asked for path and I gave the path of .ear
    10. It imported successfully but the changes were not reflected in the template in webcenter spaces.
    Pls help me out as it is very urgent.

    The issue you are having is with Windows, not with the iPhone (you would likely have the same problem with any digital camera that you plugged into the computer). The following instructions from Microsoft may help:
    http://windows.microsoft.com/en-us/windows/get-pictures-camera-computer#1TC=wind ows-7
    The following from Microsoft deals specifically with how to change the settings for what happens when the iPhone or camera connects: http://windows.microsoft.com/en-us/windows7/change-settings-for-importing-pictur es-and-videos

  • Deploying bpm 11g project sar file using ant task

    I am trying to deploy the bpm project using ant task file. The status I get is [deployComposite] ---->Deploying composite success. However when I check the deployments, they are not there. If I try to deploy this using Jdeveloper it works correctly. I need to get this to work for production deployments. Any suggestions?
    C:\Oracle\Middleware\Oracle_SOA1\bin>ant -f ant-sca-deploy.xml -DserverURL=http:
    //10.140.183.71:7001 -DsarLocation=N:\RuleBasedProjectInitiate\deploy\RequestPro
    ject.ear -Doverwrite=true -Duser=weblogic
    Buildfile: C:\Oracle\Middleware\Oracle_SOA1\bin\ant-sca-deploy.xml
    [echo] oracle.home = C:\Oracle\Middleware\Oracle_SOA1\bin/..
    deploy:
    [input] skipping input as property serverURL has already been set.
    [input] skipping input as property sarLocation has already been set.
    [deployComposite] created temp dir =C:\DOCUME~1\azeltov\LOCALS~1\Temp\deploy_cli
    ent_1279894885343
    [deployComposite] Creating HTTP connection to host:10.140.183.71, port:7001
    [deployComposite] Enter username and password for realm 'default' on host 10.140
    .183.71:7001
    [deployComposite] Authentication Scheme: Basic
    [deployComposite] Username:
    weblogic
    [deployComposite] Password:
    [deployComposite] Received HTTP response from the server, response code=200
    [deployComposite] clean up temp dir: C:\DOCUME~1\azeltov\LOCALS~1\Temp\deploy_cl
    ient_1279894885343
    [deployComposite] ---->Deploying composite success.
    BUILD SUCCESSFUL
    Total time: 4 seconds
    C:\Oracle\Middleware\Oracle_SOA1\bin>

    You can always deploy the ADF web apps from the Application (top menu) deploy option. Just make sure you're deploying the EAR profile for the project. Deploying the web projects from the composite deployment wizard can be convenient. But I think it's often the case that you deploy them (the composite and forms) separately (e.g. you make a series of changes to the composite without needed to redeploy the UI projects).
    Bottom line is you don't have to delete the projects to be able to modify/deploy them.

  • How to share the same Database Connection when using several Task Flows ?

    Hi All,
    I’m using JDev 11.1.1.3.0.
    I’m developing ADF Fusion Applications (ABC BC, ADF Faces…)
    These applications are deployed on a Weblogic server.
    Each application has only one Application Module.
    All Application Modules have the same connection type defined: JDBC DataSource : jdbc/GCCDS
    It is working fine.
    I’ve also developed Task Flow Applications for small thinks that are reused in multiple main applications.
    Each Task Flow Application has also one Application Module with the same connections type as main applications.
    All these task flows are deployed to JAR file (ADF Library JAR File) and are reused on my main applications. (drag and drop from the Resource Palette to ADF Regions….).
    There are some parameters passed to Task Flows, so that they can filter data depending on which main applications they are called from.
    Everything is working perfectly.
    All my main applications are using more and more task flows. Which is nice for the reusability etc…?
    Only ONE PROBLEM: DATABASE CONNECTIONS.
    Every Task Flows service made a database connection. So one user may have 10 database connections for the same adf page. And when there are 100 users that are working at the same time, it becomes a problem.
    How to share the same database connections for the main applications and all task flows which are used in the main application?
    Best Regards
    Nicolas

    Hi John,
    When I open a ADF Library JAR file of one of my task flow. (gcc_tf_recentSites.jar)
    I can see TF_RecentSitesService.xml and TF_RecentSitesServiceImpl.class in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service folder
    + bc4j.xcfg in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service\common folder.
    bc4j.xcfg details are
    +<?xml version = '1.0' encoding = 'UTF-8'?>+
    +<BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">+
    +<AppModuleConfigBag ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
    +<AppModuleConfig DeployPlatform="LOCAL" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model" name="TF_RecentSitesServiceLocal" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
    +<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
    +<Custom JDBCDataSource="jdbc/GCCDS"/>+
    +</AppModuleConfig>+
    +<AppModuleConfig name="TF_RecentSitesServiceShared" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService" DeployPlatform="LOCAL" JDBCName="gccdev" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model">+
    +<AM-Pooling jbo.ampool.maxpoolsize="1" jbo.ampool.isuseexclusive="false"/>+
    +<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
    +</AppModuleConfig>+
    +</AppModuleConfigBag>+
    +</BC4JConfig>+
    So, it seems that the Application Module is packaged with the task flow....
    Is it normal ?
    Regards
    Nicolas

  • [ER] show use of task-flow template in task-flow

    Hi,
    while using task-flow templates in my current project I found it annoying that you can't see any hint the a task flow is based on a task-flow template.
    When using a page template the designer show the elements of the template as read only objects. So everybody can see that the page has a template underneath it.
    It would be a great help if we at least could have an icon in the task-flow showing that there is a template underneath this flow. Otherwise the information in the flow template will only be known for a short time and then forgotten. Is something goes wrong (or needs to be changed), it's hard to find out where changes need to be applied.
    Environment:
    JDEV 11.1.1TP4
    JDK1.6_06
    embedded OC4J
    Thanks
    Timo

    Hi,
    I filed an ER
    Frank

  • How to insert values in table using ADF Task flow? I am not able to bind CreateInsert on my first page fragement

    Hi,
    In Jdeveloper 12c I am trying to create a task flow where I have taken 3 pages to insert values in a table. On first page when I put data control of 2 columns as input with label, then on bindings tab I created an action as CreateInsert.
    Now when I am trying to create invoke action in executables then this option is not available.
    How can I create this task flow where values can be inserted in the table on the 3rd page fragment on commit button???
    All 3 pages have data control input boxes to insert values in the table.

    Hi,
    Right click on the task flow page activity, click create page def and add there. If your activity is a page, then you can select the page and generate the pagedef as well.
    Then you can add the executables.
    Thanks.

  • Cannot deploy a shared library from jdeveloper to oracle webcenter spaces

    Hi guys,
    i used oracle jdeveloper 11.1.1.6  with extendwebcenterspaces workspace. I use WebcenterSpacesSharedLibExtension project.
    I have deployed with jdeveloper directly to webcenter by using a connection and deployed as shared library.
    Afther that i used DesignWebcenterSpaces and deployed with ant scripts: clean stage  and deploy as shared lib
    I get an error on deployment:
    Redeploying application webcenter ...
         [exec] <Sep 25, 2013 1:07:10 PM CEST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating redeploy operation for application, webcenter#11.1.1.4.0 [archive: null], to WC_Spaces .>
         [exec] ..Failed to redeploy the application with status failed
         [exec] Current Status of your Deployment:
         [exec] Deployment command type: redeploy
         [exec] Deployment State       : failed
         [exec] Deployment Message     : weblogic.application.ModuleException: Failed to load webapp: '/wcsdocs'
         [exec] No stack trace available.
         [exec] None
         [exec] #########################################################
         [exec] #####     ReDeploy Spaces Failed #########
         [exec] #####     Contact support with Exception Stack #########
         [exec] #########################################################
         [exec]
    Can someone help with some fix for that error?
    I want to override the login page from webcenter spaces using CustomLandingPage project
    Also, i have tried the deployment by using SampleWebcenterSpacesExtensions workspace with WebcenterSpacesSharedLibExtension project and deployed with ant scripts: clean stage  and deploy as shared lib.
    Afther that i used DesignWebcenterSpaces and deployed with ant scripts: clean stage  and deploy as shared lib
    There the deployment succeed but i get an error on browser
    The error is:
    OracleJSP error: oracle.jsp.parse.JavaCodeException: Line # 13, oracle.jsp.parse.JspParseTagScriptlet@1dbc116
    Error: Java code in jsp source files is not allowed in ojsp.next mode.
    Thank you very much for help.

    ####<Sep 27, 2013 9:44:07 AM CEST> <Error> <Deployer> <webcenter-vm> <WC_Spaces> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <11d1def534ea1be0:-3d303652:141559d6da7:-8000-000000000000112a> <1380267847678> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1380267843425' for task '20'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: '/wcsdocs''
    weblogic.application.ModuleException: Failed to load webapp: '/wcsdocs'
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:395)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
        at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
        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.RedeployOperation.createAndPrepareContainer(RedeployOperation.java:104)
        at weblogic.deploy.internal.targetserver.operations.RedeployOperation.doPrepare(RedeployOperation.java:128)
        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:171)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@21596057[app:webcenter module:/wcsdocs path:/wcsdocs spec-version:2.5 version:11.1.1.4.0]", defined in weblogic.xml [Extension-Name: custom.webcenter.spaces, exact-match: false]
        at weblogic.servlet.internal.WebAppServletContext.processWebAppLibraries(WebAppServletContext.java:2750)
        at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:416)
        at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:494)
        at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
        at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:384)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
        at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
        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.RedeployOperation.createAndPrepareContainer(RedeployOperation.java:104)
        at weblogic.deploy.internal.targetserver.operations.RedeployOperation.doPrepare(RedeployOperation.java:128)
        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:171)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >

  • Page Creation using pageservice API in Webcenter Spaces(11.1.1.8)

    Hi,
    I am trying to create portal pages using pageserviceimpl api in webcenter spaces(11.1.1.8) by using the taskflow but i am getting the exception as below while creating the page
    Caused By: oracle.webcenter.page.model.PageServiceRuntimeException: oracle.webcenter.page.model.PageServiceRuntimeException
            at com.cvs.mylife.portal.pagecreate.bean.CreatePageMBean.createPage(CreatePageMBean.java:196)
            at com.cvs.mylife.portal.pagecreate.bean.CreatePageMBean.onDialogEvent(CreatePageMBean.java:347)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    Caused By: oracle.webcenter.page.model.PageServiceRuntimeException
            at oracle.webcenter.page.internal.model.PageServiceImpl.throwNoPrivException(PageServiceImpl.java:12539)
            at oracle.webcenter.page.internal.model.PageServiceImpl.createHierarchyPage(PageServiceImpl.java:4045)
            at com.cvs.mylife.portal.pagecreate.bean.CreatePageMBean.createPage(CreatePageMBean.java:175)
            at com.cvs.mylife.portal.pagecreate.bean.CreatePageMBean.onDialogEvent(CreatePageMBean.java:347)
    Can anyone please tel the value needs to be feed to create the page using the below method
                page =
        pageService.createHierarchyPage(parentPagePath, pageNameFormat, pageTitle,
                                    pageStyle, pageTemplate, createAfterPagePath);
    parentPagePath=?
    pageNameFormat=?
    pageTitle=?
    pageStyle=?
    pageTemplate=?
    createAfterPagePath=?
    This is very much need for one of our customer requirement.
    Regards,
    Santhosh

    Kingsley,
    I used the same ateam code for creating the page  in portal framework, it works fine there, but if i use the same code in webcenter spaces 11.1.1.8 it is not working and in that ateam code they are passing null to the parent page path and i tried all these entries for the parent page path in webcenter spaces but nothing worked.
    parentPagePath="/oracle/webcenter/page/scopedMD/s1df097cd_2859_4e32_bee4_16f81f5b09f3/";
    parentPagePath="/oracle/webcenter/page/scopedMD/s573026b5_4f17_45e0_bdae_986017c24427/pages.xml";
    parentPagePath="/oracle/webcenter/page/scopedMD/s573026b5_4f17_45e0_bdae_986017c24427/Page11.jspx"
    Regards,
    Santhosh

  • How to Programmatically Get Preferences from WebCenter Spaces

    Hi,
    I'm developing a custom task flow to be added to WebCenter Spaces 11.1.1.4.0 (PS3).
    Spaces provides a Preferences link where a logged in user can change his/her preferences such as language, time format, date format, and time zone. I would like my custom task flow code to honor these settings.
    Can someone point me to the right API or tutorial that explains this?
    Thanks.
    Edited by: user706279 on May 6, 2011 1:15 PM

    you can refer the white paper of spaces taskflow customizaton -
    http://www.oracle.com/technetwork/middleware/webcenter/owcs-r11-custom-taskflow-wp-129672.pdf
    http://www.oracle.com/technetwork/middleware/webcenter/owcs-ps1-custom-taskflow-wp-129410.pdf
    for good resources you can use the following links-
    1)http://redstack.wordpress.com/2010/01/15/oracle-webcenter-task-flow-customization-on-your-custom-applications/
    2)http://www.cancerview.ca/webcenterhelp/faces/helppages/main.jspx;jsessionid=dJKmNLpSpnbwh2s1pkCFR1hHH91JzMxRLYSqD67mKg6hNlS8vTy1!1400254721!-365746640?vtTopicFile=wcadm%2Fwcadm_imp_exp066.htm&config=OHW+Servlet&_adf.ctrl-state=7gjirjp0b_4
    3)http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10148/jpsdg_taskflows.htm#BACJEFCE
    4)http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10148/jpsdg_app_tf_guidelines.htm#CHDIABAJ
    already another thread is created at -
    Webcenter spaces task flow customization

  • WebCenter Spaces – Extend User Profile Page

    Hi All,
    We have a requirement to modify the default user profile page in WCS.
    We have to remove most of the fields and add additional fields that are specific for the customer. According to the extending the WCS white paper you can only get / set the data in existing fields based on creating a customProfileattribute.
    Is this possible at the current stage of evolution of WCS?
    Cheers
    Bob

    In my current project, we have similar requirement.
    To Remove existing attributes:-
    You can hide profile fields after customizing User/My Profile Pages from WCS -->Administration --> Pages-->System Pages. See following guides:-
    7.3 Working with System Pages: http://download.oracle.com/docs/cd/E21764_01/webcenter.1111/e10149/admin_pages.htm#CJABBBCE
    30.5 Viewing and Editing Personal Profiles: http://download.oracle.com/docs/cd/E21764_01/webcenter.1111/e10149/profile.htm#CHDDIHJG
    To Add new attributes:
    You can add new fields in profile page of WebCenter Spaces by using SampleWebCenterSpacesExtensions application. You can take instructions from following guide:-
    http://www.oracle.com/technetwork/middleware/webcenter/owcs-ps3-wcs-ext-samples-wp-308576.pdf. There are following two class files in ProfileAttribute project
    a. ExtendedProfileAttributes (You need to add new LDAP attributes in this class)
    b. CustomProfileImpl (You can override existing attribute by using this class)
    Once you done adding new attributes in ExtendedProfileAttributes, deploy this project as a shared-lib. Then you have to follow following guide in order to see your changes in WebCenter Spaces:-
    53 Extending WebCenter Spaces Using JDeveloper: http://download.oracle.com/docs/cd/E21764_01/webcenter.1111/e10148/jpsdg_wcsres.htm#CHDEECCE

  • How to set the title of pages created in Webcenter Spaces?

    Hi
    I need to set the title of the pages created in webcenter spaces. How can i do that? By default when i create the page in webcenter spaces the page name with which i created the page is coming up on the browser tab. But i want the browser title to be different from the page name. Is there a way to do this? I tried with using javascript and setting "document.title" but it works only partially. That is when the page is loading it shows the text that i have set using javascript but it doesnot remain persistent. As soon as the page loads it again resets back to the name of the page :(
    I also tried adding html markup on to the page in edit mode and tried giving in the <title> tag but it is not getting applied, as soon as i click on apply it just refreshes the page and my changes are gone.
    Please i need some help around this asap as it is critical.
    Thanks

    Thanks for the reply Jaap.
    It was really helpful. But i need further help on this.
    I need to change the browser title based on the tab selected. And here the tabs on spaces page is actually coming from a custom task flow. Any idea how can i achieve this? And there is no page refresh involved.
    Some help on this please.
    Thanks

Maybe you are looking for

  • Adding 0's before a number

    Hi all,       I have a text field where if i enter 008 its reading as 8, but I want to read it as what ever number I enter in InfoPath form.I tried with number field didn't work. Any suggestions please. Thanks,

  • What is the BT Infinity installation complaint pho...

    It's in the subject, really. We had BT Infinity installed three days ago and aside from the router having died already (Type A orange power light of death) and a replacement winging its way over, I want to complain about the installation work done. I

  • Can anyone explain in detail the option: "sound enhancer"?

    Can anyone explain in detail the option: "sound enhancer"?

  • Installing HTML DB on the existing AIX oracle 9.2.0.4 database

    Hi, I am new to HTML DB and want to know how to install this on the existing oracle 9i database at AIX 4.3.3 OS. Can anyone please tell me is it possible to install on the same existing oracle home or does it have to be installed in a separate Oracle

  • Can't save as jpg

    Got a CD of images from a photographer. All RGB tiffs (with 2 f's). I resaved as tif and reduced image size to 260 dpi. Client wants me to reduce file size more by resaving as jpgs. I opened a couple of images and not one image gives me the option to