Trouble with console-extension using struts portlet

hello everyone,
I'm developing a console-extension for wls9.2 but couldn't get is to work despite all the documentation available. The console-ext is a struts portlet which gathers data from custom mbeans via jmx and renders the result with a jsp. What already works is fetching the data from the MBeans in the struts action. What does not work is the display of the results in the admin console. So I removed all the stuff from the jsp to just display "Hello World" which should be displayed on the desktop in the admin console, but even this didn't work (it's just a blank spot). Having a look at the log file I get the following:
e.netui.pageflow.internal.AdapterManager ERROR ServletContainerAdapter manager not initialized correctly.
e.netui.pageflow.internal.AdapterManager INFO No ServletContainerAdapter specified or discovered; using class org.apache.beehive.netui.pageflow.DefaultServletContainerAdapter
tui.util.config.parser.NetUIConfigParser INFO NetUIConfigParser -- load config: /WEB-INF/beehive-netui-config.xml
e.netui.pageflow.internal.AdapterManager INFO No ServletContainerAdapter specified or discovered; using class org.apache.beehive.netui.pageflow.DefaultServletContainerAdapter
netui.pageflow.AutoRegisterActionServlet INFO Dynamically registering module /loggingController, config XML /WEB-INF/struts-auto-config-loggingController.xml
netui.pageflow.AutoRegisterActionServlet INFO Dynamically registering module /loggingController, config XML /WEB-INF/struts-auto-config-loggingController.xml
(...other debug output from my struts action...)
.wls.web.actions.LoggingControllerAction DEBUG Going to /ext_jsp/helloWorld.jsp using module null
flow.scoping.internal.ScopedResponseImpl INFO ScopedResponse error 404:
.netui.pageflow.PageFlowRequestProcessor WARN Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.
.netui.pageflow.PageFlowRequestProcessor INFO Attempting to instantiate SharedFlowControllers for request /console/ChangeManagerAction.do
ive.netui.pageflow.FlowControllerFactory INFO No Global.app was found in /console
Despite the errors it seems to find my struts config (struts-auto-config-loggingController.xm) and execute the action, but then it seems to have trouble findingd/displaying the jsp (helloWorld.jsp). I tried to set various controller-elements in the struts config, like this ([url http://edocs.bea.com/wlp/docs92/portals/integrate.html#wp1005659]source):
<controller inputForward="true" processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor" />
but this didn't work either (and results in other errors). The log from above was created with a config without any controller element (since this is never mentioned in the eDocs for console extensions).
Despite spending several hours trying to figure out what goes wrong here I wasn't able to get one step closer to a solution. Does anyone have a clue what I did wrong (please ask if you need further information)? Thanks a lot!
Btw. Sorry if this is the wrong forum, I could't find another one which matches better. Feel free to move the topic to a more appropriate place. thx.
====================================
Struts config:
<struts-config>
     <form-beans>
          <form-bean name="loggingForm" type="...web.forms.LoggingControllerForm" />
     </form-beans>
     <action-mappings>
          <action path="/LoggingControllerAction"
               type="...web.actions.LoggingControllerAction"
               name="loggingForm"
               scope="request"
               validate="false"
               input="/ext_jsp/helloWorld.jsp">
               <forward name="success" contextRelative="true"
                    path="/ext_jsp/helloWorld.jsp" />
          </action>
     </action-mappings>
</struts-config>

The problem could be solved by adding the "handle" property (of type com.bea.console.handles.Handle) to the form bean.
This is stated on page 7-4 in the "Extending the admin console" guide or [url http://e-docs.bea.com/wls/docs92/console_ext/simpleext.html#wp1083856]here
In addition the following controller element must be used in the struts config: <controller inputForward="true" processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor" />
This is not mentioned anywhere and should definitely be added to the guide.
Hope this helps someone encountering the same problem.

Similar Messages

  • TS1646 I am having a lot of trouble with trying to use my debit card to purchase on itunes it always tells me that my card number is invalid. But i know it isn't because i just got the account the only thing i havent done yet is called my bank to see if i

    I am having a lot of trouble with trying to use my debit card on purchase of itune apps or music. Whenever i put my card information in it tells me that this card is invalid. But there is no way that my card is invalid because i just got it last week. So the only thing i haven't done yet is call my bank to check and see if all my bank statements match but if they do then have no idea what to do to get this to work with my computer, ipad mini, or ipod    HELP! PLEASE!

    I am having this same problem and I have even contacted my bank. The address they have is EXACTLY the way I am typing it.  It does match.  I do not understand.

  • TROUBLE WITH PAYMENT METHOD USED DIFFRENT VISA PAYMENTS STILL WONT WORK

    TROUBLE WITH PAYMENT METHOD USED DIFFRENT VISA PAYMENTS STILL WONT WORK

    This is a case for the iTunes Store Support:
    1. Go to expresslane.apple.com
    2. select 'itunes' and then 'itunes store' on the right
    3. select a topic and a subject
    4. click 'continue' and then 'email'
    5. fill out the form and explain your situation
    6. they will respond within 24 hours usually
    Good luck
    Stijn

  • Having trouble with internet connections using my Apple G5. Updates turn out to be incompatible with my system. What should I do short of trashing the wonderful computer and spending cash I don't have on a new iMac?

    Having trouble with internet connections using my Apple G5 OSX 10.4.11. Attempts to upgrade FireFox or Safari results in being incompatible with with this system. Tried to locate earlier versions to replace upgraded incompatible software only to find that problems have worsened with crashing results. What should I do short of trashing this wonderful G5 and purchasing a new iMac which I really can't afford?
    Chuck's Dilema

    Hi Chuck,
    TenFourFox is the most up to date browser for our PPCs, they even have G4 & G5 optimized versions...
    http://www.floodgap.com/software/tenfourfox/
    I'd avoid vesrion 24 though, as it no longer supports plug-ins like Flash.
    SeaMonkey seems pretty fast also, with many options...
    http://www.seamonkey-project.org/
    http://www.seamonkey-project.org/releases/
    Might also look into iCab & OmniWeb versions.
    Also...
    The last really supported Flash for PPC was 10.1.102.64, but if it's for like Facebook or such, people have been fooling FB to think they have a leter version installed.
    Texas Mac Man's Flash hack/post...
    https://discussions.apple.com/thread/3599648?tstart=0
    Flash player 11.1 hack on PowerPC - https://discussions.apple.com/message/16990862
    Might be later ones around also... saw 11.3 I think.
    (If you are running a PPC Mac with Flash Player 10.1.102.64 and are having problems with watching videos on FaceBook or other sites, contributor Texas Mac Man suggests the following solution which fools the site into thinking that you are running the latest version:)
    Download this http://www.steelbin.com/FPforFBPPC.zip to your desktop, unzip it, and replace the current Flash Player plug-in which is in your main/Library/Internet Plug-Ins folder, (not the user Library). Save the old one just in case this one doesn't work.
    See in each Browser which version of Flash it thinks it has...
    http://kb2.adobe.com/cps/155/tn_15507.html

  • Receiving multiple files with dual extension using file adapter

    Hi,
    The scenario where I am implementing requires multiple files of different names to be picked(ABC.txt) and dropped at destination(ABC.txt.pgp) up by my File Sender and Receiver adapters.  Any idea on about how the configuration for receiving multiple files with dual extension for receiver adapter is to be done?
    Note:- currently, The scenario is working fine without dual extension. i.e Its picking all files which starts with ABC and creating at destination as it is. even I configured as ABC.txt.pgp, but its not creating the second extension.
    Thanks in Advance
    Manmadha

    Hi,
    Try to concatenate '.pgp ' to the source file name to create the target file name for the receiver file adapter, by accessing the Adapter Specific Attributes using Java user defined function. This might work.
    Reference links:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm">SAP Help - Accessing Adapter Specific Attributes</a>
    <a href="/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - XI: The same filename from a sender to a receiver file adapter - SP14</a>
    Regards,
    S.Santhosh Kumar

  • Files with .a extension using ftp transport

    Hi.
    Am using ftp adapter in osb to read .txt files(e.g. abcd.txt) from ftp location, process the body/text() in OSB and then place the incoming file to an outbound folder.
    the flow is like ftp-> Proxy Service->Business Service->outbound ftp
    the service works fine where then is less load or the no. of incoming files is less.
    However,sometimes the outbound folder contains the files with .a extension at the end.(e.g. abcd.txt.a)
    Can someone tell me the rootcause of these .a file creation and the scenarios in which the .a files are created.
    Also,please tell me what are these .a files meant for?
    How,can I eliminate this while configuring the services using ftp transport.
    Thanks in adavance

    I had this recently with a variety of FTP servers, FileZilla, Microsoft etc.
    For me, it happened when the file already exists in the destination and I was expecting the destination file to be overwritten. My application would generate the same filename, say FileA.txt and expect that to be overwritten, but with OSB 10gR3 I would get files with .a stuck on the end.
    This functionality changed between ALSB and OSB and I had a patch developed to restore the ALSB functionality.
    I spent ages looking at it, and debugging FTP commands and going from memory, I'm pretty certain that the FTP adapter doesn't implement the correct FTP spec for the RNFR command according to the RFC in the case where a file already exists - it doesn't handle overwrite.
    Hope that may help.
    Pete

  • How do we create certificate with .pem extension using keytool

    Hai all,
    please tell me the procedure to create certificates using keytool with .pem extension.

    I dont think keytool can do this, try OpenSSL:
    openssl pkcs12 -in test.p12 -out test.pem
    David

  • Macbook Pro Retina trouble with projector after using Thunderbolt display

    I used my macbook Pro Retina with my Thunderbolt to VGA adapter all through the fall, and never had any trouble with it. Just before Christmas I got a Thunderbolt display.
    Since that time, whenever I connect the projector, I get a black screen. I can see and move the mouse, but nothing else. Other computers still work with the projector.
    I'm not certain if the Thunderbolt Display has anything to do with this or not, but it's just the timing that it happened.
    Grateful for anyone that can offer help!

    It might be that the Thunderbolt output is set to the resolution of the Thunderbolt display, which the VGA adapter probably cannot display correctly.  You can toggle between the video display modes using Command-F1... This will toggle the output between Mirroring and Extended Desktop.  Using Command-F2 will allow you to attempt to detect displays.  It might auto reset to the correct resolution using Command-F2.  If you can get the VGA out to display using extending desktop then you can change the resolution to work properly with the VGA projector.

  • Trouble with '.cwk'-extension

    I used AppleWorks last year to create a spread-sheet.  By default, AW saved the file with a '.cwk'-extension.  I now want to do more work on the spreadsheet, but AW tells me that it cannot open a file with that extension.  Any help welcome !

    I don't think it really exists except in name now. Starting over, unless you have a backup copy somewhere, is about all you can do.

  • [SOLVED]Can't save a file with tex extension using vim

    Hello there people,i decided to learn LATEX but vi won't let me save my files with the tex extension.It says:
    "test.tex" E212: Can't open file for writing
    Does anyone know why vim is denying to save it with this extension?Please help!
    Last edited by sepuku (2011-06-04 01:21:44)

    I just noticed that when i'm in /home/sepuku i'm able to save the files normally.But i created a directory specially for latex!
    So when i cd /home/sepuku/latexprojects i can't save anything.I think that this has something to do with the permissions maybe?And how to i make my user able to copy/paste/remove /edit/create files and dirs? :S
    ls -al test.tex returns:
    -rw-r--r-- 1 sepuku users 70 Jun 4 06:01 test.tex

  • Having trouble with global extension installation on Firefox 3.6.3

    I am having trouble installing extensions globally on Firefox 3.6.3. As you know the -install-global-extension switch has been removed and you cannot point to the XPI in the registry any more. What I have done to get the extension ID and confirm it has unpacked successfully is to install the extensions as me into my own profile, which works fine and the extensions launch successfully (PROVING THEY ARE COMPATIBLE), then closing Firefox and cutting the folder from %appdata%\Mozilla\Firefox\Profiles\4sd8sico.default\extensions and pasting into %programfiles%\Mozilla Firefox\extensions. However when I do this the extension fails to launch, and when I go into the Addons manager it always says "Not compatible with Firefox 3.6.3".
    Any ideas please? I have tried this with both Keyscrambler and Public Fox and they both do the same thing.
    Many thanks
    == This happened ==
    Every time Firefox opened

    You'll need to unpack the xpi package and modify the install.rdf file in it. Look for em:maxVersion and change the version number to whatever you have installed to make it work.
    I was having the same issue with the ireader addon. It would install fine in the local profile but kept getting flagged incompatible whenever I moved it to the global extensions directory.
    Unpacking the package and changing the em:maxVersion attribute in install.rdf to 9.0 fixed the issue for me.

  • Trouble with Preview not using embedded fonts in a PDF

    I have a client I'm working with that is generating PDF reports for various organizations in various languages. They are using an Arial Unicode font but are using different encoding for some of the more unique languages. To ensure the report will be viewable regardless of installed fonts, they are embedding the font.
    Most of the languages are showing up fine in preview, but three languages are giving me trouble. Specifically Greek, Russian and Thai which are using encoding EL8MSWIN1253, CP1251, and TH8TISASCII.
    Basically the question is whether there is some toggle that will tell Preview to use the embedded font? Or something we can put into the PDF (the pdf is created using FPDF) that will allow a user to know which font/encoding they'll need to install in order to properly view the document? (I'm actually trying to figure that out myself...which font I need to install to get preview to view the document properly).
    Thanks in advance for any help.

    Actually, I got that example to work... here are the changes
    I made...
    <mx:htmlText>
    <![CDATA[You can vary the <font size='20'>font
    size</font>,<br><font
    color="#0000FF">color</font>,<br><font
    face="Courier New">face</font>, or<br><font
    size="18"color="#FF00FF"face="Times New Roman">any combination
    of the three.</font>]]>
    </mx:htmlText>
    As I said above, I have found errors in the code of the help
    docs... this is yet another one of them. Usually its spaces in the
    wrong place, or no space at all, or missing ) or ], or a case
    sensitivity issue.
    If you got your custom font to display, that should work...
    but then again.. what should work, doesn't always.

  • Trouble with executing RTP using fnd_transaction.synchronous

    Background: We have an existing PL/SQL program executed via a concurrent program that processes RECEIVE type receipts. This program inserts RECEIVE type records into the RCV_TRANSACTIONS_INTERFACE table for further processing by executing the Receiving Transactions Processor in a subsequent concurrent program stage. All receive receipts are currently processed in batch mode with the RTP.
    We are now trying to implement three way match. Part of the process involves handling RETURN TO VENDOR and CORRECT type receipts. Unfortunately, according to 360340.1 on Oracle Support, return to vendor is a two step process (at least for us). I've noted that simultaneously inserting the RETURN TO RECEIVING and RETURN TO VENDOR receipt records into the RCV_TRANSACTIONS_INTERFACE table and having the RTP process both these records in one fell swoop does NOT work. It errors out and I get the following error in PO_INTERFACE_ERRORS:
    The Quantity entered for receipt is greater than the available Quantity. The sum of quantity to be received and already received, 10, is greater than the sum of ordered quantity and over receipt tolerance, 0.
    Interestingly, a return to vendor receipt works if I insert the RETURN TO RECEIVING record first, then run the RTP, then insert the RETURN TO VENDOR record, then run the RTP. Thus, I need separate executions of the RTP in order for this to work. Can someone tell me if I can do this with one execution of the RTP batch mode? Would I have something wrong in the RETURN TO RECEIVING and RETURN TO VENDOR records in the RCV_TRANSACTIONS_INTERFACE table? I know this has to be a two step return process (RETURN TO RECEIVING and RETURN TO VENDOR), but I'm wondering why I can't just execute the RTP once - why do I have to execute it twice?
    If I have to execute the RTP twice, then it leads me to the question addressed in the subject of this message. My current design is I would like to execute the RTP via fnd_transaction.synchronous after each record is inserted into the RCV_TRANACTIONS_INTERFACE table. I've tried executing the RTP via fnd_transaction.synchronous after the insert of RETURN TO RECEIVING and RETURN TO VENDOR, but it does not work for me. In fact, I've tried executing the RTP via fnd_transaction.synchronous after the insert of a receive transaction (RECEIVE) just for testing - and it does not work. I've turned on debugging and I see an ORA-1403 error in the fnd_concurrent_debug_info table:
    ORA-01403: no data found
    I've used some info from the following page:
    http://karthikrajasekaran.blogspot.com/2009/12/receiving-transaction-processor.html
    I've set the apps context, too... So I'm not sure what's going on. Does anyone have an idea?

    Check the below query, I think this might help.
    select okhb.contract_number contract_number
    ,msi.segment1 line_item
    ,msi.description line_item_description
    ,msi_sub.segment1 sub_line_item
    ,msi_sub.description sub_line_item_description
    from
    okc_k_headers_b okhb
    ,okc_k_lines_b oklb
    ,okc_k_items oki
    ,mtl_system_items_b msi
    ,okc_k_lines_b sub_ln
    ,okc_k_items sub_items
    ,csi_item_instances cii
    ,mtl_system_items_b msi_sub
    where
    okhb.contract_number = 'NK20269112'
    and okhb.contract_number_modifier = '1 yr'
    and okhb.id = oklb.chr_id
    and oklb.id = oki.cle_id
    and oki.jtot_object1_code = 'OKX_SERVICE'
    and oki.object1_id1 = msi.inventory_item_id
    and oki.object1_id2 = msi.organization_id
    and oklb.id = sub_ln.cle_id
    and sub_ln.lse_id IN (7, 8, 9, 10, 11, 18, 25, 35)
    and sub_ln.id = sub_items.cle_id
    and sub_items.jtot_object1_code = 'OKX_CUSTPROD'
    and sub_items.object1_id1 = cii.instance_id
    and sub_items.object1_id2 = '#'
    and cii.inventory_item_id = msi_sub.inventory_item_id
    and cii.inv_master_organization_id = msi_sub.organization_id

  • Attachment with no extension using SO_DOCUMENT_SEND_API1

    Hi,
    anyone know if it is possible to create a txt file email attachement with SO_DOCUMENT_SEND_API1 but NOT to have the attachment name with the '.txt' extension?
    I would like the attachment to be 'filename.001' but when it is emailed it being sent as 'filename.001.txt'
    thanks.

    Hi,
    Have you tried like:
    t_packing_list-doc_type = 'RAW'.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data                    = w_doc_data
    *     PUT_IN_OUTBOX                    = ' '
         commit_work                      = 'X'
       IMPORTING
         sent_to_all                      = lv_flag
    *     NEW_OBJECT_ID                    =
        TABLES
          packing_list                     = t_packing_list

  • Scrolling of data with UNSCROLLED header.using struts.Tried a lot my friend

    Got the class file fr.improve.struts.taglib.layout.util.FixedHeaderCollection which will be used to solve the problem.But how to use this in struts-layout.tld & in my application,where I am using layout:collection.

    I am also attaching the portion of that particular JSP page:
    [sample is just a style class]
    <table class="sample">
                        <th width="80">
                             Sl No.
                        </th>
                        <th width="233">
                             Code
                        </th>
                        <th width="150">
                             Name
                        </th>
         </table>     
         <div style="position: relative; left: 0px; overflow: auto; top: 0px; height: 170px; width: 100%; padding: 0em; ">
                        <table class="sample">
                             <logic:present name="searchMst" scope="session">
                                  <logic:iterate name="searchMst" id="searchMst" scope="session">
                                       <tr style="background-color:red;">
                                            <td width="80" height="10">
                                                 <bean:write name="searchMst" property="srlNo" />
                                            </td>
                                            <td width="233" height="10">
                                                 <bean:write name="searchMst" property="accCd" />
                                            </td>
                                            <td width="150" height="10">
                                                 <bean:write name="searchMst" property="accDesc" />
                                            </td>
                                       </tr>
                                  </logic:iterate>
                             </logic:present>
                        </table>
         </div>

Maybe you are looking for