Sample Java WebDynPro calling Customer Details BAPI does not work

Hi,
I have created a sample application (referring SAP's tutorials for Java WebDynPro) which invokes the BAPI_BUPA_ADDRESS_GETDETAIL Bapi.( for reading Customer Address details)
I've made only one view which takes in BusinessPartner as the input and a form for the output.
Have created a model for this purpose and a custom controller.
I've mapped the appropriate fields for both the contexts of View and the Custom Controller.
The Application has been built and deployed on the server. The Jco connections have been configured and tested.
However, Nothing happens when the user enters a business partner input and clicks on the related button to bring up the output.
This WebDynPro has been designed the exact same way as the SAP provided tutorial at
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#15 [original link is broken]
Code has been implemented in the implementation tabs of the view and the custom controller the same way too.
Any ideas?
Thanks,
Raman

Implementation tab of Custom Controller
  public void wdDoInit()
    //@@begin wdDoInit()
    Bapi_Bupa_Address_Getdetail_Input input = new Bapi_Bupa_Address_Getdetail_Input();
    wdContext.nodeBapiCall().bind(input);
    input.setBusinesspartner(new String());
    //@@end
  public void executeBapi( )
    //@@begin executeBapi()
    try
         wdContext.currentBapiCallElement().modelObject().execute();
         wdContext.nodeOutput().invalidate();         
    catch (Exception ex)
         ex.printStackTrace();
    //@@end
Custom Controller Binding With Model
Context
  *BapiCall
    *Output
       *Bapiadtel $$$
         *Field A
         *Field B and so on
    *BusinessPartner $$$
Fields marked with $$$ above are mapped to Bapi_Bupa_Address_GetDetail_Input's Bapiadtel and BusinessPartner.
View Binding with Custom Controller
Context
  *BapiStart
    *Output
       *Bapiadtel @@@
         *Field A
         *Field B and so on
    *BusinessPartner @@@
Fields marked with @@@ above are mapped to BapiCall's(Custom Ctrllr) Bapiadtel and BusinessPartner.
Thanks.

Similar Messages

  • HT203712 I have a 2011 tahoe.  My bluetooth functioned properly until I updated my iPhone.  Now the iPhone connects to the Tahoe but when I try to call a number it does not work.  Either it cals the number and has no outgoing or incoming sound or it just

    I have a 2011 tahoe.  My bluetooth functioned properly until I updated my iPhone.  Now the iPhone connects to the Tahoe but when I try to call a number it does not work.  Either it cals the number and has no outgoing or incoming sound or it just says it iis unable to complete the call.

    I would check with the Auto dealer where the vehicle was purchased to check and see when the bluetooth software was last updated on your vehicle. With the vehicle being a 2011 and if the software has not been updated since the dropping of IOS 7 then obviously there will be software incompatibilities.
    Good luck.

  • I called Verizon prior to travelling abroad and asked to turn roaming on. As of today, 4 days later, I have no service. I do not have a landline to call. GlobalServices email does not work... Does anybody know how to reach customer support via email?

    I called Verizon prior to travelling abroad and asked to turn roaming on. As of today, 4 days later, I have no service. I do not have a landline to call support. GlobalServices email does not work... Does anybody know how to reach customer support via email?

        Hi Florence2014
    I'm so sorry your having issues. Unfortunately there isn't an email for global support. The only way way to reach them while traveling is to call them at 908-559-4899.
    JoeL_VZW
    Follow us on Twitter @VZWSupport

  • Change of EBAN-KNTTP - BI or BAPI - does not work!

    Hello,
    I need to develop a program to change the account assignement category (EBAN-KNTTP) of a service purchase requisition from u2018U u2013 Unknownu2019 to another one, for instance, u2018K u2013 Cost Centeru2019.
    Iu2019m getting the following difficulties:
    -     the old transaction ME52 does not allow to do this change (error message ME456 occurs), so I cannot use Batch Input (since SAP does not recommend BI to new  transactions like ME52N);
    -     the new transaction ME52N allows this change, so Iu2019ve tried to use BAPI_REQUISITION_CHANGE, but, accordingly to note 204689, this BAPI does not make this change due to gaps in its design!
    Can anyone suggest an alternative?
    Thanks in advance for your help.
    Best regards,
    Mónica Rodrigues

    1>Close all microsoft office suite products.
    2>Find MSComctlLib.exd inside "C:\Documents and Settings\<YOUR USER NAME>\Application Data\Microsoft\forms
    3>rename to MSComctlLib.exd_bak
    4> Done :)

  • MDT - Custom Reference Image does not work with Task Sequence, normal Windows 7 Enterprise Iso media works fine.

    Hi,
    Our MDT server is acting strange!
    I have previously had this system running without problem - i could both capture and deploy computers as is and no changes have been made to mdt.
    But my latest capture does not work. When i capture my reference maching in my VM environment it completes without errors and i can import the latest wim file.
    When i deploy the tast sequence, it install the custom Wim image, but it ends up with "login" screen as the administrator i have entered for the capture/deploy sequence, but it goes to stop at this point and applications is not installed.
    If i change the ISO in the task sequence under Install OS step, to a clean Win7 install media then the capture completes and install applications.
    I have also tried to:
    Capture reference without password
    Capture reference without Windows updates
    Customsettings.ini, bootstrap, BDD.log and SMSTS.log to be found here: https://onedrive.live.com/redir?resid=ED5029A20300B814!365&authkey=!AALV1b2ubD0laEE&ithint=folder%2cini
    Hope you will be able to assist,
    Regards,
    Anders

    if you have noticed your smsts.log, there is same error multiple - 
    Executing in non SMS standalone mode. Ignoring send a task execution status message request
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    User did not specify local data drive TSManager
    1/23/2015 12:50:37 PM 1656 (0x0678)
    Volume A:\ is not a fixed hard drive TSManager
    1/23/2015 12:50:37 PM 1656 (0x0678)
    Volume D:\ is not a fixed hard drive TSManager
    1/23/2015 12:50:37 PM 1656 (0x0678)
    Volume X:\ is not a fixed hard drive TSManager
    1/23/2015 12:50:37 PM 1656 (0x0678)
    Volume Z:\ is not a fixed hard drive TSManager
    1/23/2015 12:50:37 PM 1656 (0x0678)
    TSM root drive = TSManager
    1/23/2015 12:50:37 PM 1656 (0x0678)
    We do not find an available volume to store the local data path
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Set a global environment variable _SMSTSNextInstructionPointer=1
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Set a TS execution environment variable _SMSTSNextInstructionPointer=1
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Set a global environment variable _SMSTSInstructionStackString=0
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Set a TS execution environment variable _SMSTSInstructionStackString=0
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Save the current environment block TSManager
    1/23/2015 12:50:37 PM 1656 (0x0678)
    pszPath[0] != L'\0', HRESULT=80070057 (c:\qfe\nts_sms_fre\sms\framework\core\ccmcore\path.cpp,58)
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Filesystem::Path::Add(sEnvPath, EnvDataFileName, sEnvPath), HRESULT=80070057 (e:\nts_sms_fre\sms\framework\tscore\environmentlib.cpp,639)
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Failed to save environment to  (80070057)
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    TS::Environment::SharedEnvironment.saveEnvironment(szPath), HRESULT=80070057 (e:\nts_sms_fre\sms\client\tasksequence\executionengine\executionenv.cxx,842)
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Failed to save the current environment block. This is usually caused by a problem with the program. Please check the Microsoft Knowledge Base to determine if this is a known issue or contact Microsoft Support Services for further assistance.
    The parameter is incorrect. (Error: 80070057; Source: Windows)
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    SaveEnvironment(), HRESULT=80070057 (e:\nts_sms_fre\sms\client\tasksequence\executionengine\executionenv.cxx,420)
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Failed to persist execution state. Error 0x(80070057)
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Failed to save execution state and environment to local hard disk
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Start executing an instruciton. Instruction name: Gather local only. Instruction pointer: 1
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Set a global environment variable _SMSTSCurrentActionName=Gather local only
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Set a global environment variable _SMSTSNextInstructionPointer=1
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    what about the mass storage driver in your boot image, is it updated?
    Md.Waseem Please remember to click “Mark as Answer” on the post that helps you. Thank you.

  • Web Service Call with Basic Authentication does not work

    If I try to use Basic Authentication in my Web Service Client with the automatically created methods
    setUsername(inUserName)
    setPassword(inPassword)
    setAddress(inAddress)
    the application does not make a call. Did I forget something?
    Is it possible to use "Test Method" with Basic Authentication?
    Thank you.

    Thank you for your answer.
    But: I already read this article. And it doesn't help me.
    I use the following code:
                getMyServiceClient1().setUsername(inUserName);
                getMyServiceClient1().setPassword(inPassword);With this code I always get a java.lang.NullPointerException.
    The methods setUsername and setPassword are definded as follows:
    public void setUsername(String inUserName) {
            myStub._setProperty(Stub.USERNAME_PROPERTY, inUserName);
      public void setPassword(String inPassword) {
            myStub._setProperty(Stub.PASSWORD_PROPERTY, inPassword);
      }But if I look at the methods which are generated automatically by Sun Java Studio Creator I cannot find _setProperty.
    I also found this thread in your forum:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=54773

  • Calling SAP Web Services does not work

    Hi,
    using this little program, I try to get a simple "Hello World" from a webservice in SAP.
    require 'soap/rpc/driver'
    s = SOAP::RPC::Driver.new('http://server:port/sap/bc/srt/rfc/sap/Z_WS_RUBY/', 'urn:sap-com:document:sap:soap:functions:mc-style')
    s.add_method("Z_WS_RUBY", "StringIn" )
    p s.Z_WS_RUBY("World")
    Unfortunately there is an error:
    in `parse_local': unknown namespace qualifier: xml (XSD::NS::FormatError)
         from D:/rubyy/InstantRails/ruby/lib/ruby/1.8/soap/encodingstyle/soapHandler.rb:532:in `decode_attrs' ETC
    In the WebService Recorder I find that the call is going through with request:
      <?xml version="1.0" encoding="utf-8" ?>
    - <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <env:Body>
    - <n1:Z_WS_RUBY xmlns:n1="urn:sap-com:document:sap:soap:functions:mc-style" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <StringIn xsi:type="xsd:string">World</StringIn>
      </n1:Z_WS_RUBY>
      </env:Body>
      </env:Envelope>
    but response ist like:
    - <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    - <soap-env:Body>
    - <soap-env:Fault>
      <faultcode>soap-env:Client</faultcode>
      <faultstring xml:lang="en">Operation not supported</faultstring>
      </soap-env:Fault>
      </soap-env:Body>
      </soap-env:Envelope>
    What am I mssing here ?
    Any help is appreciated.
    Regards
    Marcus
    Message was edited by:
            Marcus Schiffer

    Hi,
    I am using SAP WAS Rel. 7.0. SAPWAS is of 0.11.
    Couldnt retype your exact example, but I hope it works with my simple program too.
    I activated the trace, here the result:
    ignored element: Feature
    ignored element: useFeature
    Wire dump:
    = Request
    ! CONNECT TO myserver:myport
    ! CONNECTION ESTABLISHED
    POST /sap/bc/srt/rfc/sap/Z_WS_RUBY?sap-client=800&sap-language=EN HTTP/1.1
    SOAPAction: "urn:sap-com:document:sap:rfc:functions"
    Content-Type: text/xml; charset=utf-8
    Authorization: Basic gzhtfzu=
    User-Agent: SOAP4R/1.5.5 (/146, ruby 1.8.6 (2007-03-13) [i386-mswin32])
    Date: Thu, 14 Jun 2007 08:14:05 GMT
    Content-Length: 332
    Host: myserver:myport
    <?xml version="1.0" encoding="utf-8" ?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <env:Body>
        <n1:ZTestWsRuby xmlns:n1="urn:sap-com:document:sap:rfc:functions">
          <STRINGIN>dd</STRINGIN>
        </n1:ZTestWsRuby>
      </env:Body>
    </env:Envelope>
    = Response
    HTTP/1.1 500 Internal Server Error
    set-cookie: sap-usercontext=sap-language=EN&sap-client=800; path=/
    set-cookie: sap-recorder_sid=%2cc%3dID6-95D8115601C54670F9E2221A00000000--1%2co%3jhggz; path=/; domain=mydomain
    content-type: text/xml; charset=utf-8
    content-length: 264
    sap-srt_id: 20070614/101842/v1.00_final_6.40/466FCFE5847D01C50000000095D81156
    server: SAP Web Application Server (1.0;700)
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><soap-env:Fault><faultcode>soap-env:Client</faultcode><faultstring xml:lang="en">Operation not supported</faultstring></soap-env:Fault></soap-env:Body></soap-env:Envelope>
    The call does not ecven go through to the Function Module in SAP.
    Here is the call that worked from my VB  Program:
    <?xml version="1.0" encoding="utf-8" ?>
    - <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <env:Body>
    - <n1:ZTestWsRuby xmlns:n1="urn:sap-com:document:sap:soap:functions:mc-style" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <STRINGIN xsi:type="xsd:string">wert</STRINGIN>
      </n1:ZTestWsRuby>
      </env:Body>
      </env:Envelope>

  • Caller ID on TV does not work.

    This feature has become so unreliable that I have had to make several calls and send emails to Verizon.  The last tech promised me that the problem was resolved for ever, but alas, the problem has returned.  No caller ID on TV.  It works OK on my phone displays, but not on the TV.  Did anybody have any luck resolving this issue permanently?  If so, how?
    This issue was last resolved under ticket{edited for privacy} on Oct. 14, 2011.

    PreciousBella wrote:
    My just changed to the Digital Voice and my caller ID is not appearing on my TV screen either.  I asked the tech and they said to make sure the it was enabled.  I did and it was but I am still not getting caller ID on my screen. If anyone has figured out how to make it work, please share. Thanks 
    Worked for me
    http://forums.verizon.com/t5/Home-Phone-Landline-or-Digital/How-to-get-Caller-ID-on-TV-working-again...

  • Linux script call from PL/SQL does not work?

    We are trying to run a simple Linux command using this PL/SQL 10.2 procedure:
    PROCEDURE run_linux_script_from_oracle IS
        BEGIN
          dbms_scheduler.create_job
              job_name=>'runtop',
              job_type=>'executable',
              job_action=>'/vol0/FileLoadDir/Bank/DATA_FILES/spell_check.sh',
              enabled=>true,
              auto_drop=>true
          DBMS_OUTPUT.PUT_LINE('Successful');
        EXCEPTION
          WHEN OTHERS THEN
            DBMS_OUTPUT.PUT_LINE('Error: ' || SQLERRM);
        END;The .sh file has this command which works fine when we run in Linux.
    spell /vol0/FileLoadDir/Bank/DATA_FILES/ebill2.fmt_form_strings_.txt > /vol0/FileLoadDir/Bank/DATA_FILES/abcd.txtI get a Successful when I run this command in my SQL*Navigator and a PLS-00225: subprogram or cursor 'ABS' reference is out of scope when I run it in the SQL*Nav in another machine???
    Any help would be greatly appreciated.

    Channa wrote:
    We are trying to run a simple Linux command using this PL/SQL 10.2 procedure:NO, posted procedure below RUNS nothing,
    post code simply CREATE JOB, but does NOT invoke it!
    >
    PROCEDURE run_linux_script_from_oracle IS
    BEGIN
    dbms_scheduler.create_job
    job_name=>'runtop',
    job_type=>'executable',
    job_action=>'/vol0/FileLoadDir/Bank/DATA_FILES/spell_check.sh',
    enabled=>true,
    auto_drop=>true
    DBMS_OUTPUT.PUT_LINE('Successful');
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('Error: ' || SQLERRM);
    END;EXCEPTION handler is BUG & should be removed, discarded & 100% eliminated.
    >
    The .sh file has this command which works fine when we run in Linux.
    spell /vol0/FileLoadDir/Bank/DATA_FILES/ebill2.fmt_form_strings_.txt > /vol0/FileLoadDir/Bank/DATA_FILES/abcd.txtI get a Successful when I run this command in my SQL*Navigator and a PLS-00225: subprogram or cursor 'ABS' reference is out of scope when I run it in the SQL*Nav in another machine???What is "ABS" & why/how does it exist in error message?

  • Custom alert sound does not work in Calendar ...

    Hi,
    I created an AIFF file of 30 seconds extracted from one of my MP3 file.  I placed that file in the «Sounds» folder in my Library.  I see and play the sound in the Sound preferences and in my Calendar sound alerts when creating a event.
    When this sound alert is assigned to a particular event, it does not play at the selected time.  Like the other alert files it's an AIFF format, but it uses ±5MB while the other one use only 100KB.  Is the file size the problem ? 
    What is the problem ?
    Regards

    Hi,
    I created an AIFF file of 30 seconds extracted from one of my MP3 file.  I placed that file in the «Sounds» folder in my Library.  I see and play the sound in the Sound preferences and in my Calendar sound alerts when creating a event.
    When this sound alert is assigned to a particular event, it does not play at the selected time.  Like the other alert files it's an AIFF format, but it uses ±5MB while the other one use only 100KB.  Is the file size the problem ? 
    What is the problem ?
    Regards

  • EP5.0 Custom .par File Does Not Work in EP6.0 SP2

    I have a .par file called CustomerSearch.par that is used in EP5.0, and I am now trying to get this .par file to work in EP6.0 SP2.  I noticed the directory structure changes, so my .par structure is this:
    CustomerSearch.par
    -->  portal-inf
    portalapp.xml
    lib
    CustomerSearch.jar
    TableViewExample.class
    pagelet
    TableView.jsp
    I am getting the following error in the portal console logs when I try to access the component after I have uploaded the CustomerSearch.par file.  Does anyone have any suggestions?
    Error Message
    Jan 26, 2005 4:23:50 PM # Client_Thread_34 Fatal Exception ID:04:23_26/01/05_0019
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
    Component : CustomerSearch.TableViewExample
    Component class : TableViewExample
    User : testUser
    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:858)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:389)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:462)
    at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:88)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:226)
    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:109)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:135)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
    at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
    at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
    at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
    at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
    at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1229)
    at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
    at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
    at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: PortalComponentException
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:123)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:224)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:86)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:338)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:817)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:385)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:462)
    at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:88)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:226)
    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:109)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:135)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
    at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
    at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
    at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
    at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
    at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1229)
    at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
    at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
    at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: D:/usr/sap/EPD1/j2ee/j2ee_22/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/CustomerSearch/work/pagelet/_sapportalsjsp_TableView.java:39: cannot resolve symbol
    symbol : class MyBean
    location: package TableViewExample
    TableViewExample.MyBean myBeanName = null;
    ^
    D:/usr/sap/EPD1/j2ee/j2ee_22/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/CustomerSearch/work/pagelet/_sapportalsjsp_TableView.java:41: cannot resolve symbol
    symbol : class MyBean
    location: package TableViewExample
    myBeanName = (TableViewExample.MyBean)pageContext.getAttribute("myBeanName", PageContext.APPLICATION_SCOPE);
    ^
    D:/usr/sap/EPD1/j2ee/j2ee_22/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/CustomerSearch/work/pagelet/_sapportalsjsp_TableView.java:45: cannot resolve symbol
    symbol : class MyBean
    location: package TableViewExample
    myBeanName = (TableViewExample.MyBean) Beans.instantiate(this.getClass().getClassLoader(), "TableViewExample.MyBean");
    ^
    3 errors
    at com.sapportals.portal.prt.servlets_jsp.server.compiler.JavaCompiler.compileExternal(JavaCompiler.java:439)
    at com.sapportals.portal.prt.servlets_jsp.server.compiler.JavaCompiler.compile(JavaCompiler.java:539)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2140)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:76)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:118)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:224)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:86)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:338)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:817)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:385)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:462)
    at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:88)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:226)
    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:109)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:135)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
    at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
    at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
    at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
    at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
    at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1229)
    at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
    at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
    at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    [email protected]7 #
    TableViewExample.java Code
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.ResultSetMetaData;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.Vector;
    import com.sapportals.htmlb.InputField;
    import com.sapportals.htmlb.event.Event;
    import com.sapportals.htmlb.event.TableNavigationEvent;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.htmlb.table.DefaultTableViewModel;
    import com.sapportals.htmlb.table.TableView;
    import com.sapportals.htmlb.table.TableViewModel;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.prt.component.*;
    public class TableViewExample extends PageProcessorComponent
         /* (non-Javadoc)
    @see com.sapportals.portal.htmlb.page.PageProcessorComponent#getPage()
         public DynPage getPage()
              return new MyDynPage();
         public class MyDynPage extends JSPDynPage
              //variables
              private int visibleRow = 1;
              public String search;
              public String state = "0";
              MyBean myBean;
              /* (non-Javadoc)
    @see com.sapportals.htmlb.page.DynPage#doInitialization()
              //Get Context and Initialize Bean
              public void doInitialization() throws PageException
                   IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
                   IPortalComponentContext myContext = request.getComponentContext();
                   IPortalComponentProfile myProfile = myContext.getProfile();
                   IPortalComponentProfile userProfile = request.getComponentContext().getProfile();
                   MyBean myBean = new MyBean();
                   myBean.setText("");
                   myProfile.putValue("myBeanName", myBean);
              /* (non-Javadoc)
    @see com.sapportals.htmlb.page.DynPage#doProcessAfterInput()
               //Called Directly After The Data Was Submitted
              public void doProcessAfterInput() throws PageException
                   //Get the Bean Object
                   IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
                   IPortalComponentContext context = request.getComponentContext();
                   IPortalComponentProfile profile = context.getProfile();
                   //Get the Account Info Input Field
                   InputField myInputField = (InputField) getComponentByName("account_input");
                   if( myInputField != null )
                        search = myInputField.getValueAsDataType().toString();
                   myBean = (MyBean) profile.getValue("myBeanName");
                   myBean.setAccount(search);
                   myBean.MyBeanModel();
                   state = myBean.state;
                   if( state == "1" )
                        //get the selected row / rows
                        //get the tableView by getComponentByName
                        TableView table = (TableView) this.getComponentByName("myTableView");
                        //Get the first visible row
                        int firstVisibleRow = table.getVisibleFirstRow();
                        //Get the last visible row
                        int lastVisibleRow = table.getVisibleLastRow();
                        //which of the visible rows was selected
                        StringBuffer strBuff = new StringBuffer();
                        for( int i = firstVisibleRow; i <= lastVisibleRow; i++ )
                             if( table.isRowSelected(i) )
                                  strBuff.append("Row: " + i + " : ");
              /* (non-Javadoc)
    @see com.sapportals.htmlb.page.DynPage#doProcessBeforeOutput()
              //Called Directly Before Output - Last Called Function
              public void doProcessBeforeOutput() throws PageException
                   //set the jsp to load
                   this.setJspName("TableView.jsp");
              //Called If The Navigation Event Was Send
              //The JSP has set the navigation mode byline so the user can navigate
              //line by line, page up and down, first and last entry
              public void onNavigation(Event event)
                   if( state == "1" )
                        //Navigation - get the event to recover the actual position
                        TableNavigationEvent tne = (TableNavigationEvent) event;
                        //With the event the method getFirstVariableRowAfter() can be used
                        //which gives the acutal position (after the event)
                        this.visibleRow = tne.getFirstVisibleRowAfter();
                        if( myBean != null )
                             //just for the first time, when there is no bean
                             //set the new visibleRow
                             myBean.setVisibleRow(new Integer(this.visibleRow).toString());
              public void onSendButtonClicked(Event event) throws PageException
                   IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
                   IPortalComponentContext context = request.getComponentContext();
                   IPortalComponentProfile myProfile = context.getProfile();
                   IPortalComponentProfile userProfile = request.getComponentContext().getProfile();
                   myBean = (MyBean) myProfile.getValue("myBeanName");
                   state = "1";
                   myBean.setState("1");
                   myProfile.putValue("myBeanName", myBean);
         public class MyBean
              //Properties
              public DefaultTableViewModel model;
              private String visibleRow = "1";
              private String text;
              private String account;
              private String state = "0";
              private String searchType;
              //get/set account
              public void setAccount(String account)
                   this.account = account;
              public String getAccount()
                   return this.account;
              //get/set state
              public void setState(String state)
                   this.state = state;
              public String getState()
                   return this.state;
              //get/set model
              public void setModel(DefaultTableViewModel model)
                   this.model = model;
              public TableViewModel getModel()
                   return this.model;
              //get/set Text for status messages
              public void setText(String text)
                   this.text = text;
              public String getText()
                   return this.text;
              //get/set VisibleRow for tableView
              public void setVisibleRow(String visibleRow)
                   this.visibleRow = visibleRow;
              public String getVisibleRow()
                   return this.visibleRow;
              //get/set SearchType
              public void setSearchType(String searchType)
                   this.searchType = searchType;
              public String getSearchType()
                   return this.searchType;
              //Create Table View Model
              public void MyBeanModel()
                   model = this.createNewTable(model);
                   //Set Table Text
                   if( model.getRowCount() > 0 )
                        this.setText("Customer Information Found For: " + this.getSearchType());
                   else
                        this.setText("No Records Found For Account: " + this.getAccount());
              //Create Data For A DefaultTableViewModel By Using Vector
              private DefaultTableViewModel createNewTable(DefaultTableViewModel model)
                   //Get a vector with a filled up data array
                   Vector data = null;
                   try
                        data = doGet();     
                   catch( ClassNotFoundException e )
                        e.printStackTrace();
                   //Get a new vector for the titles
                   Vector colName = new Vector();
                   colName.addElement("NUMBER");
                   colName.addElement("CUSTOMER NAME");
                   colName.addElement("PHONE");
                   colName.addElement("STREET");
                   colName.addElement("CITY");
                   colName.addElement("STATE");
                   colName.addElement("ZIP");
                   model = new DefaultTableViewModel(data, colName);
                   return model;
              //Method will execute SQL string with search parameter on the database
              public Vector doGet() throws ClassNotFoundException
                   Statement stmt = null;
                   Vector myVector = new Vector();
                   try
                        //Load the sun jdbc-odbc bridge driver
                        DriverManager.registerDriver (new oracle.jdbc.OracleDriver());
                        String dbUrl = "jdbc:oracle:oci8:@testX003";
                        Connection con = DriverManager.getConnection(dbUrl, "test", "test");
                        //Create a statement to submit SQL statements to the driver
                        stmt = con.createStatement();
                        String query = "select PAYER_NUM, PAYER_CUST_NAME, PAYER_PHONE_NUM_1 " +
                                          "PAYER_STR_ADDR, PAYER_CITY_NAME, PAYER_ST_ABBR, PAYER_ZIP_CD " +
                                          "from CUST_PAYER where PAYER_NUM = " + this.getAccount() + "";
                        this.setSearchType("Payer Search");
                        ResultSet rs;
                        rs = stmt.executeQuery(query);
                        ResultSetMetaData rsmd = rs.getMetaData();
                        //Get number of columns
                        int numCols = rsmd.getColumnCount();
                        if( numCols == 0 )
                             query = "select SLDTO_NUM, SLDTO_CUST_NAME, SLDTO_PHONE_NUM_1 " +
                                       "SLDTO_STR_ADDR, SLDTO_CITY_NAME, SLDTO_ST_ABBR, SLDTO_ZIP_CD " +
                                       "from CUST_PAYER where SLDTO_NUM = " + this.getAccount() + "";
                             this.setSearchType("SoldTo Search");
                             rs = stmt.executeQuery(query);
                        myVector = createData(rs);
                        //Close ResultSet
                        rs.close();
                        //Close Statement
                        stmt.close();
                        //Close Connection
                        con.close();
                   catch( SQLException ex)
                        this.account = ex.getMessage();
                   return myVector;
              //This method pulls the database selection results and places them into vectors
              private Vector createData(ResultSet res) throws SQLException
                   //Get the metadata infro
                   ResultSetMetaData rsmd = res.getMetaData();
                   //Get number of columns
                   int numCols = rsmd.getColumnCount();
                   String checkVal;
                   //Loop through the result set and load rows of data into Vector
                   Vector dataVec = new Vector();
                   Vector retVector = new Vector();
                   int k = 0;
                   while( res.next() )
                        k++;
                        for( int i = 1; i

    Hi Bernhard,
    nice to hear that we resolve the problem
    > Karstens answer solved my base problem,
    > Detlevs answer lead into the right direction.
    Not that I've that need for points...
    It's just the question why my answer (if you follow the link, my answer was: delete two lines, from which one is essential to be deleted) only "lead into the right direction"... In fact, it solved the base problem, I would claim for me
    To give the technical background: If your write
    <property name="ComponentType" value="jspnative"/>
    the portal runtime expects a component consisting of a native JSP; the second directive -
    <property name="JSP" value="pagelet/InitialPage.jsp"/>
    - for this case tells where to find this JSP. So if you delete the first line, <i>at least</i> the second line has no sense anymore. To clean up such a portalapp.xml, it just makes sense also to delete the second line.
    Best regards
    Detlev

  • [JAXM] Several call to same servlet does not work

    I have a working jaxm client, which works fine. But for test purpose I wanted to send several requests to my server using the same connection.
    If I do // Send the message
    reply = connection.call(message, endpoint); it works fine.
    But if I try this:// Send the message
    reply = connection.call(message, endpoint);
    // Send it again
    reply = connection.call(message, endpoint);the first call success, but the second one crashes and
    I get the following exception in my client :java.io.FileNotFoundException: http://localhost:7001/SOAPRPCRouterServlet
            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:545)
            at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:230)
            at com.sun.xml.messaging.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:203)
            at com.sun.xml.messaging.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:110)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sun.xml.messaging.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:89)And the following one in my server (weblogic 5.1) :Fri Jan 04 11:13:58 CET 2002:<E> <HTTP> Connection failure
    java.net.SocketException: Connection shutdown: JVM_recv in socket input stream read
            at java.net.SocketInputStream.socketRead(Native Method)
            at java.net.SocketInputStream.read(SocketInputStream.java:86)
            at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:209)
            at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)I tried to build a new message, but the result is exaclty the same.
    Does I do things in the wrong way (maybe connection must be closed and reopen for each message, but I didn't found anything about this in the doc) or is it a bug in JaxM ?

    I have a possible suggestion. The reference implementation sends a SOAP message via the HTTP protocol. The standard HTTP protocol approach is to open a connection, perform the operation, and then close the connection. I have a feeling that once you have used the SOAPConnection object to send and retrieve the message, the underlying HTTP connection is automatically closed.HTTP is a stateless protocol so once the server has delivered the request, it closes the connection and has no memory of the reuqest. Hence you cannot send subsequent requests on the same HTTP connection, any attempts to do so result in the errors that you see. What you will have to do is open up a new SOAPConnection object for each new message sent.
    Hope this helps.

  • Custom weblogic instrumentation does not work for me :(

    Hello.
    First of all excuse me about my english.
    I have developed a simple class, I have compile it, and I have packaged it into a war file.
    The application Works ok when I do a request: http://192.168.1.5:7100/simple/hello
    But when I want to instrumentalize it, it cannot works. I have enabled instrumentation, but it I don't see anything in: Request Performance.
    Can you help me?.
    These are the files:
    simple_temp3
    |
    +- hello.html
    |
    +- WEB-INF
         +- web.xml
         |
    +- META-INF
         +- weblogic-diagnostics.xml
              |
         +- classes
             +- edu
                 +- ucla
                     +- hello.class
    [weblogic@localhost simple_temp3]$ cat hello.html
    <html>
        <head><title>Hello World</title></head>
        <body><h1>Hello World</h1></body>
    </html>
    [weblogic@localhost simple_temp3]$ cat META-INF/weblogic-diagnostics.xml
    <wldf-resource xmlns="http://www.bea.com/ns/weblogic/90/diagnostics"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.bea.com/ns/weblogic/90/diagnostics.xsd">
        <name>Sample WLDF resource</name>
        <instrumentation>
              <enabled>true</enabled>
                  <wldf-instrumentation-monitor>
                      <name>sample</name>
                      <enabled>true</enabled>
                      <action>TraceElapsedTimeAction</action>
                      <location-type>around</location-type>
                  </wldf-instrumentation-monitor>
        </instrumentation>
    </wldf-resource>
    [weblogic@localhost simple_temp3]$ cat WEB-INF/web.xml
    <web-app id="simple" version="2.4">
        <welcome-file-list>
                <welcome-file>hello.html</welcome-file>
        </welcome-file-list>
    <servlet>
        <servlet-name>Hello</servlet-name>
            <servlet-class>Hello</servlet-class>
    </servlet>
    <servlet-mapping>
         <servlet-name>Hello</servlet-name>
             <url-pattern>/hello</url-pattern>
    </servlet-mapping>
    </web-app>
    [weblogic@localhost simple_temp3]$ cat WEB-INF/classes/edu/ucla/Hello.java  (this is the source Class)
    import javax.servlet.Servlet;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import java.io.IOException;
    import java.io.PrintWriter;
    public class Hello extends HttpServlet implements Servlet {
        public Hello() {}
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException
            PrintWriter out = response.getWriter();
            out.println("<HTML>");
            out.println("<HEAD><TITLE>Hello World</TITLE></HEAD>");
            out.println("<BODY>");
            out.println("<H1>Hello World</H1>");
            out.println("Today is: " + (new java.util.Date().toString()) );
            out.println("</BODY></HTML>");
            out.close();

    Can anyone help me?

  • Firfox 17 disabled my Java, and told me to update to Java 7 Update 9 - now it does not work ("The plugin is disabled")

    When I go to the Java test page (http://java.com/en/download/testjava.jsp), it says the Plugin is disabled. The Manage Add-Ons page said it was Disabled after a reboot, but is enabled now. Chrome and IE both agree that I have Java 7 Update 9 installed, and the testjava page works just fine.
    A couple of sites I use frequently have embedded Java apps, so I need to get this resolved.

    That seems to have fixed the problem! Now the javatest page works, as does the web site I need to get to! Thanks.

  • Custom Login Module Does Not  Work

    Hello,
    Can someone give me some suggestions on what I should look at to fix the following error.  I created jaas custom login module.  Within the module I authenticate against an active directory.  I've put many trace statements throughout the login module code.  So I can actually follow everystep of the way through the login process.  The user authenticates correctly and in the commit() method of the login module, the security principal is created and added to the principals and true is returned from the method.  Everything looks like it worked correctly... but the user doesn't actually get into the portal.  The login screen is redisplayed.  This login module is the only login module in the stack being used to authenticate.  According to the tracing, everything should of worked.  Does anyone have any suggestions on what I should look at?
    thanks,
    Keith
    NW04 SP14

    Marcel,
    The reason we are using a custom login is we want to handle different situations when logging in, for example, if a password is expired we re-direct to a change password page that allows the user to update their password.
    In our EP6 sp2 environment, this is working.  I then recoded the login module so it would work in NW04, be we are having no luck.
    Here is the weird thing, it works on some userid's but not on others.  For example, with a userid like "kjanks" it works fine.  But with a userid like "t.portal08" it fails, then your back at the login screen with the userid field displaying the userid, but the password field is empty. You can then click the login button again without doing anything else and then it works and you get in the portal.  So it seems like the "." in the one userid is causing trouble.
    Any Ideas?
    thanks,
    Keith

Maybe you are looking for

  • User Licensing for Approvers in GRC AC 5.3

    Hi all I am looking for some clarification regarding the user licensing. In CUP, we have managers who will need AEApprover role to approve the user requests. In our case, we have SAP EP as the single point of entry to the application (both ECC & GRC

  • Losing my broadband connection

    Well after much faffing about I got to post my query ! I got BT Broadband installed about 9 months ago and it was soooooo nice to use , turned on the Hub.....then my PC and voila...I was surfing the net like a good un'.......same for my laptop so awa

  • I want to know what the legal / correct way to open a band Iphone 4 AT

    I want to know what the legal / correct way to open a band Iphone 4 AT & T I want to use in Colombia!???

  • Trouble showing documents in a browser

    Hi, I am having trouble displaying html documents in a browser. I know that I should use AppletContext.showDocument( url ). the problem is that AppletContext is an interface. I tried create an Applet object: Applet a = new Applet(); and then: a.getAp

  • How do you retrieve what you typed after selecting "Done Signing"

    I completed an Adobe Reader form two nights ago. I clicked on 'Done Signing' and went to bed. When I looked at it yesterday what I typed is gone. Can I retrieve it?