Trouble creating portlets.

Hi.
I�m trying to create a test portlet that need to edit the values in portlet preferences file. This should be pretty easy, but after going through examples several times I still have trouble finding out why this portlet does not work.
I hope you can look at it, and give me some help.
The goal is to print the title from the xml file in the doView more, and be able to edit it in the doEdit mode. I�ve tried to develop the portlet using Sun Studio Enterprise 7, and I�ve tested it in both Tomcat (using the test environment from Java Studo), and deployed it to my sun portal server. The portlet gives me no errors, but the title still looks empty.
Here is the code:
*xml
<?xml version="1.0" encoding="UTF-8"?>
<portlet>
    <portlet-name>prefs</portlet-name>
    <display-name>prefs</display-name>
    <portlet-class>EditPrefs.prefs</portlet-class>
    <expiration-cache>-1</expiration-cache>
    <supports>
        <mime-type>text/html</mime-type>
        <portlet-mode>EDIT</portlet-mode>
        <portlet-mode>HELP</portlet-mode>
    </supports>
    <portlet-info>
        <title>prefs</title>
        <short-title>p</short-title>
        <keywords>keywords test some words</keywords>
    </portlet-info>
    <portlet-preferences>
        <preference>
            <name>testPref</name>
            <value>testing the preference</value>
        </preference>
    </portlet-preferences>
</portlet>
*java
package EditPrefs;
import java.io.IOException;
import java.util.ResourceBundle;
import javax.portlet.GenericPortlet;
import javax.portlet.PortletConfig;
import javax.portlet.PortletRequest;
import javax.portlet.ActionRequest;
import javax.portlet.ActionResponse;
import javax.portlet.PortletException;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
import java.io.Writer;
public class prefs extends GenericPortlet {   
     protected void doView(RenderRequest request, RenderResponse response) throws PortletException, java.io.IOException {
        response.setContentType("text/html");
        Writer w = response.getWriter();
        String title = request.getParameter("title");
        if(title == null){  w.write("Hello Portlet");   }
        else {     w.write("Title= " + title);  }
     protected void doEdit(RenderRequest request, RenderResponse response) throws PortletException, java.io.IOException {
         response.setContentType("text/html");
         Writer w = response.getWriter();
         String title = request.getParameter("title");
         w.write("<FORM action='" + response.createActionURL().toString() + "'>\n");
         w.write("<label>title:</label><input type=text value='" + title + "' name=title>\n");
         w.write("<input type=submit>\n");
         w.write("</FORM>");
     public void prosessAction(ActionRequest actionRequest, ActionResponse actionResponse) throws PortletException, java.io.IOException {
         String title = actionRequest.getParameter("title");
         if(title == null) {
             title = "title is still null";
         actionResponse.setRenderParameter("title", title);
     protected String getTitle(RenderRequest render) {
         String title = render.getParameter("title");
         if(title != null) { return title; }
         return "Default title";
}Best regards
Kristian

Try this:
portlet.xml:
<portlet-preferences>
<preference>
<name>title</name>
<value>Some title</value>
</preference>
</portlet-preferences>
Portlet.java:
    public void processAction(ActionRequest request, ActionResponse actionResponse) throws PortletException, java.io.IOException {
        PortletPreferences prefs = request.getPreferences();
        String title = request.getParameter("title");
        if(title == null) {
            title = prefs.getValue("title", "Def. title");
        actionResponse.setRenderParameter("title", title);
    protected void doView(RenderRequest request, RenderResponse response) throws PortletException, java.io.IOException {
        PortletPreferences prefs = request.getPreferences();
        String title = request.getParameter("title");
        if (title == null) {
            title = prefs.getValue("title", "Def. title");
        request.setAttribute("title", title);
}view.jsp:
Title: <%=renderRequest.getAttribute("title")%>
<form method="post" action="<portlet:actionURL/>">
<input type="text" size="20" name="title" value="<%=renderRequest.getAttribute("title")%>">
<input type="submit" name="setTitle" value="Set new title">
</form>
...

Similar Messages

  • I have trouble creating a pdf portfolio from Outlook: the result does not have "From" or "Subject"

    I have trouble creating a pdf portfolio from Outlook: it creates the portfolio, but the result does not have "From" or "Subject" in the index.  Please help!

    Thank you, I am aware of this function.  The fields are present, but blank.  (It seems that the data is not getting exported…)
    Please keep trying to help me!
    -Nancie

  • Trouble creating pie-chart

    Post Author: ujain82
    CA Forum: WebIntelligence Reporting
    Hello,      I am having trouble creating pie chart. I am calculating different count values from different data providers. Now I need to create a pie chart showing the proportion for each count as I can find the percentage of count.
    My scenario(task):I need count on persons depending on searching on complaint text. So for each search I have a data providers. Like this I am searching for 8 criteria. So I have different data providers for each search. I get person counts from each criteria.
    Now I want to show it in a pie chart. But I could not make it done.Does anyone faced a similar problem? How do I solve my problem?
    Any comments?

    Post Author: Chris Chen
    CA Forum: WebIntelligence Reporting
    Hi ujain82,
    Because you have some data provider,so some metric may have no conjunction,i suggest that you creat variables to reuse them.

  • Trouble Creating Forms in Dreamweaver

    Hello,
    I am having trouble creating a form in Dreamweaver for my website.  The form is fairly basic, just some contact/comment input required.
    I created my webpages using Fireworks CS4 and exported them as HTML and Images.  The basic format of my website is to have a rectangular block in the middle of the page, where the form elements are supposed to be entered.  However, it seems that I cannot simply add a textbox or textarea to the middle of my page.  If I try, everything gets shifted around very strangely.
    How can I leave the format of the page intact, but add in the form elements (name, email, comments)?
    You can see the page here: http://www.wafflesnjoe.com/preview/contact.htm
    Thank you

    Thanks Murray, I had a feeling that that's where I'd be headed.
    Is there a more seamless way of transferring webpages from Fireworks to Dreamweaver, such as CSS and Images, that would make it easier for me to work in Dreamweaver?
    Would you recommend building websites in Dreamweaver, and not bother with Fireworks?
    Sorry for all the questions, but I'm a newbie.
    Regards
    Date: Wed, 15 Sep 2010 05:25:31 -0600
    From: [email protected]
    To: [email protected]
    Subject: Trouble Creating Forms in Dreamweaver
    I'm not very familiar with Dreamweaver, so this may be a basic question to ask.
    The trick is to be familiar with HTML, not DW, since HTML underlies everything that DW does, and that you want to do on a web page.
    To add a form to a page without disrupting the layout of the page, you have to a) select a layout design that constitutes good practice, and b) build the layout so that it accommodates the form.  I know that's not a very satisfactory answer.
    First of all, unless you are fairly familiar with HTML, your layout will not be easy to implement because you will need to constrain the form and its elements to fit vertically within that central area.  This is not so easy because you have no way of controlling how large or small I (as a visitor) am displaying my text in my browser.  Thus, that form's content is going to expand or contract vertically causing the boxed area to need to expand or contract accordingly.  This is layout 101 for an experienced developer, but may just push you over the edge if you have no HTML under your belt.  So, I would discourage you from trying to use this design.  Is that possible?
    >

  • Trouble creating a MobileMe Gallery with Aperture

    I'm having trouble creating a MobileMe Gallery from within Aperture. In the past it work flawlessly but now it isn't working at all. This is what happens: I create a gallery from within Aperture by clicking on either "New/MobileMe Album, or "New From Selection/MobileMe Album." The gallery is made and appears in Aperture. However, when I visit the MobileMe site the Gallery doesn't contain any images. When I sync it again the gallery disappears from within Aperture all together.
    Any ideas?

    I resolved my problem by rebuilding the Aperture Library from the Aperture Vault. Apparently, and this makes sense, Aperture can't build a Gallery if the photo version, or photo itself is missing. I think the reason why it appeared visible is because the Preview file was embedded...

  • Trouble creating List of Channels in SunOne Portal

    Hi,
    I am trouble creating new channel withlist of all the channels availbale in the portal. If any body can help in this that will be really great.
    Thank you,

    Here is a set of Portal Server's tutorials:
    http://developers.sun.com/prodtech/portalserver/learning/tutorials/index.html
    And Portal Servers forums are available at:
    http://swforums.sun.com/jive/category.jspa?categoryID=2

  • Trouble Creating Users Via Web Form

    I'm having trouble creating user in a 9i database via web front end.
    I use the following sql to create the user
    strSQL="CREATE USER"""+strUser+"""PROFILE ""DEFAULT"" IDENTIFIED BY ""HELLO"" DEFAULT TABLESPACE ""DATA"" TEMPORARY TABLESPACE ""TEMP"" ACCOUNT UNLOCK"
    I then execute another two sql statments to grant "connect" thus
    strSQL="GRANT ""CONNECT"" TO "+strUser+""""
    strSQL="ALTER USER """ strUser"""DEFAULT ROLE ALL"
    Whenever I try connecting using the new users details, but get an error message that the server had problems accessing the LDAP directory service(ORA-28030).
    I'm happy that the SQL is correect as I created the account that I wanted using Enterprise Console and coppied the SQL it produced. I'm assuming that there's something in the background that is not being triggered when creating the user via the web front end.
    Can anyone tell me where I'm going wrong?
    Thanks
    Jason

    My apologies, I didn't realise HTML DB was a product. I thought it was a forum for questions regarding HTML and databases.
    Doh!!!
    Jason

  • Trouble Creating Padded Images for iMovie

    i am having trouble creating "padded" images to add to iMovie 09.  I followed the directions here (https://discussions.apple.com/message/10699725?messageID=10699725#10699725?messa geID=10699725) which recommend the following:
    Set up an Automator Workflow to
    1. Ask for Photos (You must select one or more photos and hit Select - you can make this easier by putting them in an album beforehand)
    2. Copy Finder Items (give it a folder to copy to- so you can find them easily)
    3. Pad Images. (put a check mark in "scale image before padding" and set for dimensions of your project.
    Hit Run and a dialog box will come up asking you to select photos. When you are finished, press SELECT and the Automator script will keep running.
    However, each time I run the script I get the following error: The action "Pad Images" was not supplied with the required data."
    My files are .jpg and I am running OS X.  Any suggestions on what I might be doing wrong?

    If you want a quick response it might make sense to try and contact user TessB directly. I say that only as that person was the one that proposed the Automater Workflow workaround, and that's not exactly something here can answer (Maybe the folks in another forum related to Autmator might be able to help). Unfortunately some solutions aren't as generic or easy to use for everyone as they are for the person who has written them up. I call it the "Works for Me" problem.

  • Trouble Creating Share Point via 'sharing' Command

    I'm having trouble creating a share point via the command line using the 'sharing' utility. Basically just trying to script the creation of a /WindowsShares/ share via SMB.
    Here is the command:
    <pre class=command>sharing -a /WindowsShares/ -n WindowsShares -s 001 -g 000 -i 00 -o 0 -t 1'</pre>
    It seems like everything works. <pre class=command>sharing -l</pre> shows this:
    <pre class=command>name: WindowsShares
    path: /WindowsShares/
    afp: {
    name: WindowsShares
    shared: 0
    guest access: 0
    inherit perms: 0
    ftp: {
    name: WindowsShares
    shared: 0
    guest access: 0
    smb: {
    name: WindowsShares
    shared: 1
    guest access: 0
    inherit perms: 0
    oplocks: 0
    strict locking: 1
    directory mask: 493
    create mask: 420
    }</pre>
    However, it doesn't seem to write anything to the /etc/smb.conf file... So nothing works.
    If I enter the following in smb.conf the share does work:
    <pre class=command>[WindowsShares]
    oplocks = 0
    map archive = no
    vfs objects = darwin_acls
    path = /WindowsShares
    read only = no
    strict locking = 1
    inherit permissions = 0
    comment = macosx
    create mask = 0644
    guest ok = 0
    directory mask = 0755</pre>
    However, even after entering this information - when I check 'Share Points' within WGM the share IS listed - but the 'Share this item and its contents' is NOT checked and thus, is confusing and can't be modified from WGM.
    Am I missing something when I am creating this share via the CLI?
    I assumed using 'sharing' worked the same way as using WGM and checking 'Share this item and its contents' - that works perfectly.
    I tried this with 10.4.8 and 10.4.9 Server (Universal).
    Any help would be appreciated!

    Hi Gary,
    Thanks for the reply...
    I ran the 'serveradmin' command to discover the SMB settings before and after the change via WGM. I restarted the SMB service as well...
    <pre class=command>S999EDC1:~ root# serveradmin settings smb:\*
    smb:encrypt passwords = yes
    smb:log level = 2
    smb:display charset = "UTF-8-MAC"
    smb:security = "ads"
    smb:deadtime = 5
    smb:hide dot files = "yes"
    smb:guest account = "unknown"
    smb:client ntlmv2 auth = "yes"
    smb:preferred master = no
    smb:defer sharing violations = "no"
    smb:adminCommands:homes = yes
    smb:adminCommands:serverRole = "domainmember"
    smb:adminCommands:ldapRole = "1.1 - hosting a master LDAP directory server\n"
    smb:allow trusted domains = yes
    smb:netbios name = "S999EDC1"
    smb:lanman auth = "YES"
    smb:vfs objects = "darwin_acls"
    smb:wins support = no
    smb:brlm = "yes"
    smb:max smbd processes = 0
    smb:server string = "S999EDC1 OS X Server"
    smb:os level = 8
    smb:domain logons = no
    smb:passdb backend = "opendirectorysam guest"
    smb:dos charset = "CP437"
    smb:realm = "EDU.CBE.AB.CA"
    smb:unix charset = "UTF-8-MAC"
    smb:auth methods = "guest opendirectory"
    smb:local master = no
    smb:domain master = no
    smb:map to guest = "Never"
    smb:use spnego = yes
    smb:printer admin = "@admin, @staff"
    smb:ntlm auth = "YES"
    smb:workgroup = "CBEEDU"</pre>
    The only difference was that smb:workgroup = "CBEEDU" and smb:log level = 2 were reversed. The settings were the same though. Thought that was odd.
    When making the change via 'sharing', there is no change.
    Is there any other documentation on 'sharing' other than the man page and CLI Guide from Apple? I haven't been able to find anything concrete.

  • Having trouble creating a comp card, any suggestions?

    Having trouble creating a comp card, any suggestions?

    What trouble are you having? We need details, or we can't be of any help.
    This question is kind of like calling a mechanic on the phone and saying "I'm having some trouble with my car; any suggestions?"

  • Trouble creating new app

    I am new to Planning and having trouble creating a new app. I'm working w/ the Classic App Wizard in Workspace. I have created a 'hypuser' schema on Oracle 10g and and I use this in the 'configure database' stage of the Planning config. I have created/activated an instance 'inst1', and then in 'data source configuration' I have created a new datasource called 'dsn1' and have configured it as follows. For Relational Storage Config I have:
    Server: TestServer
    Port: 1521
    Product: PLANNING
    Database: xe
    User: hypuser
    Password: password
    For Essbase Server Info, I have:
    Server: TestServer
    User: hypuser
    Password: password
    In the Classic App Wizard, I select 'Create Application' and see that my data source name is pre-populated in the Select tab. I go on to choose a name for my app, description etc. and choose 'Planning' project from the Shared Services Project list. I then choose the instance that I had configured/activated earlier and finally check the Sample application checkbox. I feel I have followed all the correct steps, so I click 'finish', and after 5 minutes I get a totally nondescript error message: *"An error occurred while processing this page. Please check the log for details"*
    Which log is this error msg referring to? I have searched thru my C:\Hyperion\Planning directory and don't see any log files. More importantly, I can't detect where I'm making a mistake in the overall Planning database/datasource config and app creation process? All my other Hyperion apps, Smartview, Financial Studio, Web Analysis etc are working great with my Oracle database, so I can't imagine that it's a database issue. But I don't know what else it can be! I have plenty of cpu/memory resources on my Window 2003 server machine.. (fyi).
    Appreciate any advise on how to diagnose/solve this issue.
    thanks,
    Akshay

    Hi John,
    I've posted the following log (below) from the command window after running "startHyperionPlanning.bat" and going thru the create app process in Workspace. The log seems to point to a few different things that I have underlined.
    1. It keeps referring to problems with JDBC connection. What does this mean in the context of Planning ?install/config?
    2. It says "cannot set catalog name to: xe" Should I have used "+oracle: xe+" during the Repository config stage as the SID? I've used +'xe'+ in other places with no problems.
    3. It also says that 'No object was successfully created...' because of either OLAP server or database not running. I've double-checked and both my essbase server and oracle db are working fine and can be accessed by other apps.
    What does all of this suggest is the root cause of the problem. Should I go into oracle and manually delete all tables from the 'hypuser' schema? I'm a little skeptical about this, because during the database config I always choose the 'drop tables...' option.
    Anyways, appreciate your continued help on this.
    thanks,
    Akshay
    LOG:
    *Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC*
    *Driver][Oracle]ORA-12519 The listener could not find any available service handl*
    ers that are appropriate for the client connection. One possible cause for this
    error is that the server was not configured for the specified server type (share
    d/dedicated).
    Unable to set Planning's Oracle connection numeric character to '.'. java.lang.N
    ullPointerException
    Can not set database catalog name, skipping set of catalog name: xe_
    *Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC*
    *Driver][Oracle]ORA-12519 The listener could not find any available service handl*
    ers that are appropriate for the client connection. One possible cause for this
    error is that the server was not configured for the specified server type (share
    d/dedicated).
    Unable to set Planning's Oracle connection numeric character to '.'. java.lang.N
    ullPointerException
    Can not set database catalog name, skipping set of catalog name: xe*
    *Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC*
    *Driver][Oracle]ORA-12519 The listener could not find any available service handl*
    ers that are appropriate for the client connection_. One possible cause for this
    error is that the server was not configured for the specified server type (share
    d/dedicated).
    Unable to set Planning's Oracle connection numeric character to '.'. java.lang.N
    ullPointerException
    Can not set database catalog name, skipping set of catalog name: xe
    Can not get JDBC connection.
    *java.lang.Exception: No object were successfully created. This can be caused by*
    any of the following: The OLAP Server is not running, The DBMS is not running, t_
    he DBMS is running on a different machine that the one specified, the name and p_
    assword provided were incorrect._
    at com.hyperion.planning.HspPool.getObject(Unknown Source)
    at com.hyperion.planning.sql.HspSQLImpl.getConnection(Unknown Source)
    at com.hyperion.planning.sql.JDBCCacheLoader.loadObjects(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.loadCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getUnfilteredCache(Unknown Sou
    rce)
    at com.hyperion.planning.HspJSImpl.loadSystemCfg(Unknown Source)
    at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.appdeploy.HspManageAppSession.deleteApplication
    *(Unknown Source)*
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    *(Unknown Source)*
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    *0)*
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Unknown Source)
    Attempted to release a null connection
    java.lang.NullPointerException: JDBCCacheLoader.loadObjects(): jdbc connection w
    as null.
    at com.hyperion.planning.sql.JDBCCacheLoader.loadObjects(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.loadCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getUnfilteredCache(Unknown Sou
    rce)
    at com.hyperion.planning.HspJSImpl.loadSystemCfg(Unknown Source)
    at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.appdeploy.HspManageAppSession.deleteApplication
    *(Unknown Source)*
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    *(Unknown Source)*
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    *0)*
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Unknown Source)
    java.lang.RuntimeException: Error loading objects from data source: java.lang.Nu
    llPointerException: JDBCCacheLoader.loadObjects(): jdbc connection was null.
    at com.hyperion.planning.sql.GenericCache.loadCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getUnfilteredCache(Unknown Sou
    rce)
    at com.hyperion.planning.HspJSImpl.loadSystemCfg(Unknown Source)
    at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.appdeploy.HspManageAppSession.deleteApplication
    *(Unknown Source)*
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    *(Unknown Source)*
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    *0)*
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Unknown Source)
    Error cleaning up application after failed creation attempt: java.lang.NullPoint
    erException
    java.lang.NullPointerException: Connection was null
    at com.hyperion.planning.sql.HspSQLImpl.executeQuery(Unknown Source)
    at com.hyperion.planning.sql.HspSQLImpl.executeQuery(Unknown Source)
    at com.hyperion.planning.sql.HspSQLImpl.executeQuery(Unknown Source)
    at com.hyperion.planning.HspManageApplication.addPeriodsToYearTotal(Unkn
    own Source)
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    *(Unknown Source)*
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    *0)*
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Unknown Source)
    Can not get JDBC connection for SYS external changed actions.
    Can not get JDBC connection for SYS external changed actions.

  • Trouble Creating Business rules from EAS

    Hi All,
    I am new to Essbase and Planning. I am facing trouble creating Business rules from EAS. Every time I click on Business rules it shows login failed...

    Hi,
    Welcome! I believe it could be an access issue. Take a look at this: http://download.oracle.com/docs/cd/E12825_01/epm.111/hbr_admin_help/ch03s02s01.html
    I would also check the provisioning. Here are the Business Rules roles: http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security/apas08.html
    Hope it helps.
    Mehmet

  • Documention for creating portlets using pl/sql???

    Hi,
    can anyone help me get links for any kind of documentation about creating portlets using pl/sql for Oracle Application Server Portal 10g
    thanks
    M

    I think this will help out...
    Check out Chapter 8, "Creating PL/SQL Portlets" in the Oracle Portal 10.1.4 Developer's Guide.
    http://download-east.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_pdk_plsql.htm#BJEFHIBH

  • Error when creating portlet provider

    I tried to call Forms Server application from Oracle Portal as
    external application.
    External application works fine if I execute link in External
    application section.
    Problem arrise when I tried to create Portlet Provider for this
    external application.
    Portlet Provider Implementation style is set to WEB. When I
    choose Applay I get error:
    Error: An error occurred when attempting to call the providers
    register function. (WWC-43134)
    An unexpected error occurred: ORA-29532: Java call terminated by
    uncaught Java exception: java.io.IOException: Unexpected EOF.13
    XML-0121 : (Fatal Error) End tag does not match start
    tag 'INPUT'.
    XML-0121 : (Fatal Error) End tag does not match start
    tag 'FORM'.
    XML-0121 : (Fatal Error) End tag does not match start
    tag 'BODY'.
    XML-0210 : (Fatal Error) Unexpected EOF. (WWC-43000)
    An unexpected error occurred: java.io.IOException: Unexpected
    EOF.13
    XML-0121 : (Fatal Error) End tag does not match start
    tag 'INPUT'.
    XML-0121 : (Fatal Error) End tag does not match start
    tag 'FORM'.
    XML-0121 : (Fatal Error) End tag does not match start
    tag 'BODY'.
    XML-0210 : (Fatal Error) Unexpected EOF.
    at oracle.webdb.provider.web.SoapResponseProcessor.getDocument
    (SoapResponseProcessor.java:123)
    at oracle.webdb.provider.web.SoapResponseProcessor.processSOAP
    (SoapResponseProcessor.java:42)
    at oracle.webdb.provider.web.HttpProviderDispatcher.dispatch
    (HttpProviderDispatcher.java:877)
    at
    oracle.webdb.provider.web.HttpProviderDispatcher.registerProvider
    (HttpProviderDispatcher.java:259)
    (WWC-43000)
    An unexpected error occurred: Unexpected EOF.
    at oracle.xml.parser.v2.XMLError.flushErrors(XMLError.java:208)
    at oracle.xml.parser.v2.XMLError.error(XMLError.java:114)
    at oracle.xml.parser.v2.XMLError.error(XMLError.java:152)
    at oracle.xml.parser.v2.XMLReader.popXMLReader
    (XMLReader.java:380)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement
    (NonValidatingParser.java:968)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement
    (NonValidatingParser.java:237)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument
    (NonValidatingParser.java:201)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:169)
    at oracle.webdb.provider.web.SoapResponseProcessor.getDocument
    (SoapResponseProcessor.java:117)
    at oracle.webdb.provider.web.SoapResponseProcessor.processSOAP
    (SoapResponseProcessor.java:42)
    at oracle.webdb.provider.web.HttpProviderDispatcher.dispatch
    (HttpProviderDispatcher.java:877)
    at
    oracle.webdb.provider.web.HttpProviderDispatcher.registerProvider
    (HttpProviderDispatcher.java:259)
    (WWC-43000)
    I found unsolved forum with the same problem on Metalink: Doc
    ID: 57590.996
    How can I solve this problem?
    Is it possible to add external application to portal as a
    portlet without creatin a Portlet Provider?
    Thanks,
    Tomaz Podbersic

    Tom,
    A Connection timeout normally means that it is a valid
    host.domain, but the listener was down or it could not access
    that port.
    You say that you can reach the URL, is it on the same domain?
    Do you need a proxy to contact it. Can the Portal Machine see
    it okay?
    Sue

  • Trouble creating Oracle Text index

    Hey all,
    I am having trouble creating an Oracle Text index. I am receiving the following error when I try to sync the index after inserting numerous rows (@170,000). I have also tried to insert the rows and then create the index afterword. See below.
    ORACLE_TEXT>insert into varchar_test_ot select doc from varchar_test;
    171327 rows created.
    Elapsed: 00:06:40.08
    ORACLE_TEXT>exec ctx_ddl.sync_index('VT_TEST_IDX_OT');
    BEGIN ctx_ddl.sync_index('VT_TEST_IDX_OT'); END;
    ERROR at line 1:
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in drekmap (lob write)
    ORA-22990: LOB locators cannot span transactions
    ORA-06512: at "CTXSYS.DRUE", line 157
    ORA-06512: at "CTXSYS.CTX_DDL", line 1328
    ORA-06512: at line 1
    Elapsed: 00:02:09.07

    CREATE TABLE varchar_test
    (doc VARCHAR2(4000)
    CREATE TABLE varchar_test_ot
    (doc VARCHAR2(4000)
    begin
    ctx_ddl.create_preference('storage_pref','BASIC_STORAGE');
    ctx_ddl.set_attribute('storage_pref', 'I_TABLE_CLAUSE',
    'tablespace ot_test_idx_space storage (initial 1M next 1M)');
    ctx_ddl.set_attribute('storage_pref', 'K_TABLE_CLAUSE',
    'tablespace ot_test_idx_space storage (initial 1M next 1M)');
    ctx_ddl.set_attribute('storage_pref', 'R_TABLE_CLAUSE',
    'tablespace ot_test_idx_space storage (initial 1M next 1M)');
    ctx_ddl.set_attribute('storage_pref', 'N_TABLE_CLAUSE',
    'tablespace ot_test_idx_space storage (initial 1M next 1M)');
    ctx_ddl.set_attribute('storage_pref', 'I_INDEX_CLAUSE',
    'tablespace ot_test_idx_space storage (initial 1M next 1M)');
    ctx_ddl.set_attribute('storage_pref', 'P_TABLE_CLAUSE',
    'tablespace ot_test_idx_space storage (initial 1M next 1M)');
    ctx_ddl.create_section_group('auto','AUTO_SECTION_GROUP');
    ctx_ddl.create_preference('mywordlist', 'BASIC_WORDLIST');
    ctx_ddl.set_attribute('mywordlist','SUBSTRING_INDEX', 'YES');
    end;
    CREATE INDEX vt_test_idx_ot
    ON varchar_test_ot(doc)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS ('datastore ctxsys.default_datastore
    filter ctxsys.null_filter
    wordlist mywordlist
    storage storage_pref
    section group auto
    memory 50M');

Maybe you are looking for

  • Claim Digger

    Hi, I just installed Primavera 6 (P6) on my computer at work. The tool, Claim digger wont work. When I click on it, it seems to load just for a second and nothing happens. I re-installed the program and it still did not work. How can I get to work? T

  • Displaying 0CALMONTH in WAD Chart - Date enclosed with brackets []

    Hi, when I run a chart with 0CALMONTH the Date shows up as [05/2010], [06/2010]...   It displays the date with brackets around it.  Now, I'm supposing this is because 0CALMONTH has no Text configured.  Now I'm sure lot's of people use charts with 0CA

  • Sorting in Template

    Hi, I have to sort by a column which is a text column. for instance, I have column as: Product Code: A 2 B 1 3 I need the out put as : 1 2 3 A B But, I am getting this as A B 1 2 3 I tried sorting in SQL, Excel everywhere, which gives me as 1,2,3,A,B

  • Selecting text under inline graphic

    I need to edit text under an inline graphic. I am not able to select / edit the text. I've tried to "send to back" (the graphic), but it still says above the text. I'm doing this in order to get round corners around a table. If you know how to drill

  • Elements 9 won't stay open!

    When we select the organizer after successfully starting the program, the organizer page opens, but never finishes loading. After 1-2 minutes, the window disappears. We tried reloading the program from our original program CD to no avail. Any ideas?