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

Similar Messages

  • JAAS Custom Login Modules does not run on JDev/OC4J 10.1.3, pls help...

    Hi all,
    I trying to use Custom Login Modules as described on :
    http://www.oracle.com/technology/products/jdev/howtos/10g/jaassec/index.htm
    I open the DBLMTest.jws in JDeveloper 10.1.3.1, after completing the required steps, I try deploy it into OC4J Stand alone 10.1.3.
    I get ERROR :
    application : foo is in failed state
    Operation failed with error:
    java.lang.InstantiationException
    The cause of the error is the two lines below that I add into orion-application.xml :
    <property name="role.mapping.dynamic" value="true"/>
    <property name="jaas.username.simple" value ="true" />
    If I remove the two lines, it deploys succesfully.
    Please helpp... I have to implement security in our apps very soon....
    Thank you very much,
    xtanto
    The complete trace of deployment error :
    ---- Deployment started. ---- Apr 4, 2007 5:25:19 PM
    Target platform is Standalone OC4J 10g 10.1.3 (oc4j_oracle).
    Wrote WAR file to D:\_JDEV1013.APPs\jaasdatabaseloginmodule\JDeveloper1012Workspaces\DBLMTest\Project\deploy\DBLMTest.war
    Wrote EAR file to D:\_JDEV1013.APPs\jaasdatabaseloginmodule\JDeveloper1012Workspaces\DBLMTest\Project\deploy\DBLMTest.ear
    Uploading file foo.ear ...
    Uploading file foo.ear ...
    Application Deployer for foo STARTS.
    Copy the archive to C:\OC4J\j2ee\home\applications\foo.ear
    Initialize C:\OC4J\j2ee\home\applications\foo.ear begins...
    Unpacking foo.ear
    Done unpacking foo.ear
    Unpacking DBLMTest.war
    Done unpacking DBLMTest.war
    Initialize C:\OC4J\j2ee\home\applications\foo.ear ends...
    Starting application : foo
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    application : foo is in failed state
    Operation failed with error:
    java.lang.InstantiationException
    Deployment failed
    Elapsed time for deployment: 4 seconds

    Hello there again xtanto,
    I blogged about this last year - perhaps you could run over to http://stegemanoracle.blogspot.com and have a look. I'd send you the exact link, but I cannot access blogspot from work.
    John

  • Jaas Login module does not work

    Hello,
    I am developing simple web application wich uses jaas for authentication, but something strange happens, i have written security information in my web.xml:
    <security-constraint>
              <web-resource-collection>
                   <web-resource-name>simple</web-resource-name>
                   <url-pattern>/security/*</url-pattern>
              </web-resource-collection>
              <auth-constraint>
                   <role-name>admin</role-name>
              </auth-constraint>
         </security-constraint>
         <login-config>
              <auth-method>FORM</auth-method>
              <form-login-config>
                   <form-login-page>/login.seam</form-login-page>
                   <form-error-page>/login.seam</form-error-page>
              </form-login-config>
         </login-config>
         <security-role>
              <role-name>admin</role-name>
         </security-role>my login module looks like this:
    package com.auth.security;
    public class SimpleLoginModule implements LoginModule {
         // initial state
         private Subject subject;
         private CallbackHandler callbackHandler;
         private Map sharedState;
         private Map options;
         // the authentication status
         private boolean succeeded = false;
         private boolean commitSucceeded = false;
         // login info
         private static final String[] userNames = { "admin", "guest", "user1", "user2" };
         private static final String[] passwords = { "admin", "sesame", "pass1", "pass2" };
         // current user
         private String username;
         private char[] password;
         // user's principal object
         private SimplePrincipal userPrincipal;
         public void initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options) {
              System.out.println("INITIALIZE");
              this.subject = subject;
              this.callbackHandler = callbackHandler;
              this.sharedState = sharedState;
              this.options = options;
         }// end initialize()
              public boolean login() throws LoginException {
              System.out.println("LOGIN");
              // prompt for a user name and password
              if (callbackHandler == null)
                   throw new LoginException("Error: no CallbackHandler available " + "to garner authentication information from the user");
              Callback[] callbacks = new Callback[2];
              callbacks[0] = new NameCallback("\nuser name: ");
              callbacks[1] = new PasswordCallback("password: ", false);
              try {
                   callbackHandler.handle(callbacks);
                   username = ((NameCallback) callbacks[0]).getName();
                   char[] tmpPassword = ((PasswordCallback) callbacks[1]).getPassword();
                   if (tmpPassword == null) // treat a NULL password as an empty
                        // password
                        tmpPassword = new char[0];
                   password = new char[tmpPassword.length];
                   System.arraycopy(tmpPassword, 0, password, 0, tmpPassword.length);
                   ((PasswordCallback) callbacks[1]).clearPassword();
              } catch (java.io.IOException ioe) {
                   throw new LoginException(ioe.toString());
              } catch (UnsupportedCallbackException uce) {
                   throw new LoginException("Error: " + uce.getCallback().toString() + " not available to authenticate user.");
              boolean usernameCorrect = false;
              boolean passwordCorrect = false;
              String passwordString = new String(password);
              for (int x = 0; x < userNames.length; x++) {
                   if (username.equals(userNames[x]))
                        usernameCorrect = true;
                   if (usernameCorrect && passwordString.equals(passwords[x])) {
                        // authentication succeeded!!!
                        passwordCorrect = true;
                        succeeded = true;
                        break;
                   } else {
                        // authentication failed -- clean out state
                        succeeded = false;
                        usernameCorrect = false;
                   }// end if/else
              }// end for( int x = 0; x < userNames.length; x++ )
              return succeeded;
         }// end login()
         public boolean commit() throws LoginException {
              System.out.println("COMMIT");
              if (!succeeded) {
                   return false;
              } else {
                   // add a Principal (authenticated identity)
                   // to the Subject
                   // assume the user we authenticated is the SimplePrincipal
                   userPrincipal = new SimplePrincipal(username);
                   if (!subject.getPrincipals().contains(userPrincipal))
                        subject.getPrincipals().add(userPrincipal);
                   // in any case, clean out state
                   username = null;
                   password = null;
                   commitSucceeded = true;
                   return true;
              }// end if( succeeded == false )
         }// end commit()
         public boolean abort() throws LoginException {
              System.out.println("ABORT");
              if (succeeded == false) {
                   return false;
              } else if (succeeded == true && commitSucceeded == false) {
                   // login succeeded but overall authentication failed
                   succeeded = false;
                   username = null;
                   if (password != null)
                        password = null;
                   userPrincipal = null;
              } else {
                   // overall authentication succeeded and commit succeeded,
                   // but someone else's commit failed
                   logout();
              }// end if/else
              return true;
         public boolean logout() throws LoginException {
              System.out.println("LOGOUT");
              subject.getPrincipals().remove(userPrincipal);
              succeeded = false;
              succeeded = commitSucceeded;
              username = null;
              if (password != null)
                   password = null;
              userPrincipal = null;
              return true;
    }I am using Jboss-4.2.3.GA and configured login-config.xml like this:
        <application-policy name="simpleLoginModule">
         <authentication>
          <login-module code="com.security.auth.simpleLoginModule" flag="required">
          </login-module>
         </authentication>
        </application-policy>I have jboss-web.xml also correctly configured.
    The problem is that when i type correct username/password happens the error:
    HTTP Status 403 - Access to the requested resource has been denied
    So can anyone help me? What i have to change/modify in my loginmodule java code?

    Hi,
    no need to change the authschemes.xml file when you don't know if your code works (you can perfectly break logon to other applications when doing so).
    Configure your application to use declarative authentication; this is done in the web.xml of the application:
    http://help.sap.com/SAPhelp_nw70/helpdata/en/08/0f0e4d1ffece4d8b9c5b84793aac50/content.htm
    http://help.sap.com/SAPhelp_nw70/helpdata/en/40/97ffdb74939747b402b0200780cab5/content.htm
    http://help.sap.com/SAPhelp_nw70/helpdata/en/b9/9482887ddb3e47bd1a738c3e900195/content.htm
    example:
         <login-config>
              <auth-method>FORM</auth-method>
              <realm-name>REALM</realm-name>
              <form-login-config>
                   <form-login-page>logon.jsp</form-login-page>
                   <form-error-page>error.jsp</form-error-page>
              </form-login-config>
         </login-config>
    With declarative authentication the AS Java will use the logon modules you confired in the VA for the application.
    br,
    Tobias

  • I get unexpectedly logged out from my mail box and and recieve the following message: "The custom error module does not recognize this error."

    I am repeatedly and unexpectedly logged-out from my mail box when working on a document. It frequently happens when I choose Send or Save, but it could happen any time. The file that I worked on disappears completely. Before, the file could be found in the draft box or some other place categorized as Auto Recovery. Now, instead, I get the following message: "The custom error module does not recognize this error." I am working at home, connected to a university server. The same problem appears with both of my computers, which are connected by a router. I have a MacBook Pro and am working with Firefox 6.0.2. I have a wireless broadband connection with Internet. AirPort is connected to Lindstrom and has IP address 192.168.0.198. Router: D-Link Model DIR-635. Modem: ZyXEL Model No. 660H D Triple Play Modem.
    Best wishes,
    Lars Lindström, Professor
    <[email protected]>

    Hi Phil,
    Generally, when a user sends an incoming request to an Exchange 2010 Client Access server using Outlook Web App and the user’s mailbox is on an Exchange 2010 mailbox in a different Active Directory site,
    Exchange 2010 determines whether the Client Access server has the
    ExternalURL property set in that Active Directory site. If it is and the cross-site silent redirection has been enabled, the user will be automatically redirected to the specified URL.
    Thus, please make sure the External URL property is set properly in your environment. And also
    disable the WindowsAuthentication for OWA VD to have a try. If the issue persists, please try the following KB to reset the Outlook Web Access-related virtual directories:
    http://support.microsoft.com/kb/941201
    Thanks,
    Winnie Liang
    TechNet Community Support
    Sorry for the late reply.  Yes, the ExternalURL is set; otherwise, it wouldn't work at all.  98% of the time everything is fine.
    My issue described a problem that appears only during session timeouts.  I've pretty much verified that this is the case; Exchange 2010 does not appropriately handle the timeouts sometimes when using cross-site redirection.

  • Maverick update now my login screen does not work please help.

    Hello hope you can help.  I have a 24 inch Mid 2007 Intel iMac.  It has been great until now.  I recently did the Maverick update and now my login screen does not work.  When I wake the computer up the screen appars with my picture icon.  When I click on it nothing happens.  If I click on it a second or third time the beach ball appears and nothing happens.  I have to shut the unit down with the power button and when the unit powers back up everything works normally.  Are there any suggestions out there?  I have updated the software without resolution. Is this computer too old?   Do I have to buy a new one?
    Thank you

    Your iMac can support Mavericks according to the requirements > OS X Mavericks: System Requirements
    Try a Safe Mode boot. That deletes some system caches that may help.
    Startup your Mac in Safe Mode
    A Safe Mode boot takes much longer than a normal boot so be patient.
    Once you are in Safe Mode, click Restart from the Apple () menu.
    See if there's an improvement for the login screen.

  • 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.

  • After a restore from Time Machine my login password does not work.

    My HD crashed and I replaced the HD.  I then restored from Time Machine.  After it was done restoring it prompted me for my apple ID and password and account info.  Now when I try to login, the password does not work.  After several failed passwords, it says I can reset my password using my apple ID.  How do you do this?  I click on the message and it just disappears.  I can't login!

    Is it your actual Apple ID login password that you're talking about (which is obviously working since you got into this forum) or the password for your user account. If the latter, simply boot to your ML Recovery partition (holding down the Command and R keys while booting) and set a new password via Terminal.
    Boot into your Recovery partition and, from the Utilities menu, open Terminal. In Terminal, type in:
    resetpassword
    ...a small app will run allowing you to select a user and change the password for that use. Enter the new password twice (the second time to verify) and give yourself a password 'hint'. Then reboot and use your new password on your account.
    Clinton

  • FP TC 120 module does not work

    I have a FP-TC-120 module connected to a FP-1600 Ethernet module. But the software FieldPoint Explorer seems not to recognize it. It recognizes my FP-1600 module, and a FP-AI-110 module also connected. The FP-TC-120 power LED keeps flashing frequently, and the Ready LED does not light. What can be happening? I have tried everything, but it does not work at all.

    Actually, technically, the FP-TC-120 module does not have a STATUS LED. Network modules have STATUS LED's that will flash a number of times, pause, and flash again but I/O modules do not. All I/O modules have Power and Ready LED's and some I/O modules have additional LED's.
    The FP-TC-120 has an LED on each channel to indicated Open Thermocouple detection. In an I/O module, a Power LED that is failing to turn on wil typically signify that one or more components in the system is damaged. The most typical example would be bent pins between the terminal bases or between the I/O module and the terminal base. Alternatively, some forms of damage to the I/O module could also conceivably cause this sort of failure mode. In any case, once the faulty component
    is isolated (terminal base or module), it will probably need to be sent to National Instruments for repair.
    Regards,
    Aaron

  • Had to erase hd and reboot from time machine.  Now login password does not work

    Had to erase hd and reboot from time machine.  Now login password does not work

    Stick the OS X 10.6 install disk and reboot the computer holding c down.
    Second screen in is a Utilities menu with Password Reset, try that.

  • Login Dialog does not work

    Hi, there,
    I downloaded the JDeveloper 2.0.184 Beta from the web. However,
    I had problem getting my application work when try to connect to
    the database.
    I chose Sun's JDBC-ODBC bridge to connect to Oracle7 via ODBC
    DSN
    on my NT box. When I am in the design mode, I can view the data
    (single table) with no problem. However, when I tried to run the
    application, the pop-up dialog box that asks for username and
    password does not respond to any input (either key or mouse).
    Furthermore, the background of the dialog box was not draw
    completely. It captures some of the existing screen, e.g.
    part of the DOS console that it covers.
    Any help?
    Thanks
    Yu-Xing
    null

    Hi,
    This is a known bug with the logon prompt which has been fixed
    for production.
    When you define your connection, clear the checkbox 'Prompt User
    for Security Information', then your application should be OK.
    L.
    Yu-Xing Zhou (guest) wrote:
    : Hi, there,
    : I downloaded the JDeveloper 2.0.184 Beta from the web.
    However,
    : I had problem getting my application work when try to connect
    to
    : the database.
    : I chose Sun's JDBC-ODBC bridge to connect to Oracle7 via ODBC
    : DSN
    : on my NT box. When I am in the design mode, I can view the
    data
    : (single table) with no problem. However, when I tried to run
    the
    : application, the pop-up dialog box that asks for username and
    : password does not respond to any input (either key or mouse).
    : Furthermore, the background of the dialog box was not draw
    : completely. It captures some of the existing screen, e.g.
    : part of the DOS console that it covers.
    : Any help?
    : Thanks
    : Yu-Xing
    null

  • 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

  • Satellite M70-164 PSM71E - SD Secure Module does not work

    My laptop was installed in all new
    Currently have Windows XP Professional with SP3
    I can not install the SD Secure Module
    They can help me.
    Thank you

    Hi
    The SD Secure Module version 1.0.2; this software is an *update* for your TOSHIBA Secure Digital-Host controller.
    So you have to install firstly the Cardbus Driver 2.0.0.1.
    Cheers

  • TP8's Ericsson module does not work after update to win10 & two more unknown devices

    So after update I installed: Intel Platform Device Driver, DPR Util, Ericsson driver (just as I did on win8) but have no luck! And I tried to insert working sim but no effect. Please help. http://i.imgur.com/eVgRkks.png?1 (See Device Manager: blue highlighted is possible Ericsson module)

    to correct bad spelling:
    a) What to do to get the imac sending WIFI out again?

  • 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?

Maybe you are looking for