Java.lang.IllegalAccessException while instaiating bean

          Hi All,
          I am calling a bean from my JSP and the bean classes are in
          prpoper place i.e
          mywar/WEB-INF/classes/package structure
          in the use bean tag of JSP full class name is given.
          but weblogic ( SP8/Windows 2000) is giving the error
          as below:
          <WebAppServletContext-trial> Generated java fil
          e: C:\weblogic\myserver\trialwar\WEB-INF\_tmp_war_trial\jsp_servlet\_jdomhelper.
          java
          Fri Mar 23 15:20:12 CST 2001:<E> <WebAppServletContext-trial> Servlet
          failed with Exception
          java.lang.ClassNotFoundException: class com.netg.helper.UserInterfaceSetting
          : java.lang.IllegalAccessException: com/netg/helper/UserInterfaceSetting
          at java.beans.Beans.instantiate(Beans.java:215)
          at java.beans.Beans.instantiate(Beans.java:55)
          at jsp_servlet._jdomhelper._jspService(_jdomhelper.java:82)
          at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
          at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
          pl.java:106)
          at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
          textImpl.java:907)
          at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
          textImpl.java:851)
          at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
          ContextManager.java:252)
          at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
          a:364)
          at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
          Compiled Code)
          --------------- nested within: ------------------
          weblogic.utils.NestedRuntimeException: cannot instantiate 'com.netg.helper.UserI
          nterfaceSetting' - with nested exception:
          [java.lang.ClassNotFoundException: class com.netg.helper.UserInterfaceSetting
          java.lang.IllegalAccessException: com/netg/helper/UserInterfaceSetting]
          at jsp_servlet._jdomhelper._jspService(_jdomhelper.java:84)
          at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
          at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
          pl.java:106)
          at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
          textImpl.java:907)
          at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
          textImpl.java:851)
          at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
          ContextManager.java:252)
          at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
          a:364)
          at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
          Compiled Code)
          Any idea/suggestions for above will be helpful.
          mesha
          

Hello.
I use de doja libreries for develop c chat in JXME and when I run i have this error:
I have 2 classes, one extends Panel and another extends IApplication and I don't have Middlet becaise the Panel is the Middlet.
The two classes are public but i have this error when i run:
java.lang.IllegalAccessException
at com.sun.midp.midlet.MIDletState.createMIDlet(MIDletState.java:157)
at com.sun.midp.midlet.Selector.run(Selector.java:150)
Thank you

Similar Messages

  • Java.lang.IllegalAccessException while starting MIDlet

    Hi.
    I am quite green to J2ME. I have developed and debbugged a large part of a J2ME application first under J2SE, as it was more comfortable. I used only the core CLDC1.1 and MIDP2.0 classes, but now, when I created a MIDlet that initializes the application and tried starting it from under KToolbar, I get smth like:
    java.lang.IllegalAccessException
    at com.sun.midp.midlet.MIDletState.createMIDlet(+19)
    at com.sun.midp.midlet.Scheduler.schedule(+52)
    at com.sun.midp.main.Main.runLocalClass(+28)
    at com.sun.midp.main.Main.main(+116)
    The project contains various packages, but even when I comment out everything and leave only the primary structure of the MIDlet in place, the error still occurs.
    Can anyone help me, please?

    Hello.
    I use de doja libreries for develop c chat in JXME and when I run i have this error:
    I have 2 classes, one extends Panel and another extends IApplication and I don't have Middlet becaise the Panel is the Middlet.
    The two classes are public but i have this error when i run:
    java.lang.IllegalAccessException
    at com.sun.midp.midlet.MIDletState.createMIDlet(MIDletState.java:157)
    at com.sun.midp.midlet.Selector.run(Selector.java:150)
    Thank you

  • Java.lang.NullPointerException while using PGP module in SFTP receiver

    Hi Experts,
    We are trying out newly installed PGP module on SAP PI 711 SP10.
    Scenario     : SFTP to SFTP
    While we are trying to encrypt the message in the SFTP receiver, we get the following error.
    nested exception is: javax.ejb.EJBException: (Failed in component: sap.com/com.sap.aii.af.app, BC-XI-CON-AFW) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.af.app.endpoint.ModuleProcessorExitBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.af.app.endpoint.ModuleProcessorExitBean@6437822b for bean sap.com/com.sap.aii.af.app*xml|com.sap.aii.af.ejb.jar*xml|ModuleProcessorExitBean in application sap.com/com.sap.aii.af.app.; nested exception is: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.Message.getMessageKey() of an object loaded from local variable 'msMessage'

    Thanks Hareesh,
    ya that  "callsapadapter"  was the culprit. It comes by itself, Once I removed that PGP was working fine.

  • Emulator runtime error - java.lang.IllegalAccessException

    Hi
    Im working through some example code, and when i build, everything is fine, with no errors, however when i run in the emulator, even though at this moment the program actually does nothing, its just a skeleton, i get the following error:
    Unable to create MIDlet MyC
    java.lang.IllegalAccessException
    at com.sun.midp.midlet.MIDletState.createMIDlet(MIDletState.java:148)
    at com.sun.midp.midlet.Selector.run(Selector.java:151)
    For hours, i have been pondering over the code, but the answer eludes me as to why i get this error
    Here is the main midlet:
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.lcdui.game.*;
    public class my extends MIDlet implements CommandListener {
    private MyC canvas;
    public void startApp() {
    if (canvas == null) {
    canvas = new MyC(Display.getDisplay(this));
    Command exitCommand = new Command("Exit", Command.EXIT, 0);
    canvas.addCommand(exitCommand);
    canvas.setCommandListener(this);
    // Start up the canvas
    canvas.start();
    public void pauseApp() {}
    public void destroyApp(boolean unconditional) {
    canvas.stop();
    public void commandAction(Command c, Displayable s) {
    if (c.getCommandType() == Command.EXIT) {
    destroyApp(true);
    notifyDestroyed();
    here is the class it uses:
    import javax.microedition.lcdui.*;
    import javax.microedition.lcdui.game.*;
    import java.util.*;
    import java.io.*;
    public class MyC extends GameCanvas implements Runnable
    private Display display;
    private Sprite playerSprite;
    private boolean sleeping;
    private long framedelay;
    public MyC(Display d)
    super(true);
    display = d;
    framedelay = 33;
    public void start()
    display.setCurrent(this);
    try
    playerSprite = new Sprite(Image.createImage("/player.png"),12,12);
    catch (IOException e){}
    sleeping = false;
    Thread t = new Thread(this);
    t.start();
    public void stop()
    public void run()
    Graphics g = getGraphics();
    while (!sleeping)
    update();
    draw(g);
    try
    Thread.sleep(framedelay);
    catch (InterruptedException ie) {}
    private void update()
    return;
    private void draw(Graphics g)
    playerSprite.paint(g);
    flushGraphics();
    }

    im using j2me, and yes, i have gone straight for
    mobile phone midlet programming. That isn't going to be easy.
    When i remove the
    detail at the end of the constructor, the code wont
    exectute at all. By looking at the code i presented
    here, is there anything noticeable as to why i keep
    getting this error?"Won't execute" doesn't tell me anything.
    Removing the parameter means that you need to do other things to the code because there will be undefined items.
    If you are copying code exactly as it appears in a tutorial then you need to be aware that you might be working with different versions of code (java and midlet) and/or there might be mistakes in the tutorial. Of course if you modified the tutorial code then you could be introducing problems as well. You can look for other sources of documentation which might provide more information as to what a minimal set up looks like.

  • Getting error java.lang.NullPointerException while selection LOV

    I am getting error java.lang.NullPointerException while selecting LOV. Please help
    SEVERE: Server Exception during PPR, #1
    javax.servlet.ServletException
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:149)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
         at oracle.adfinternal.view.faces.model.binding.RowDataManager.setRowKey(RowDataManager.java:129)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setRowKey(FacesCtrlHierBinding.java:530)
         at org.apache.myfaces.trinidad.component.UIXCollection.setRowKey(UIXCollection.java:429)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils.decodeSelectedRowKeys(TableRendererUtils.java:470)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.decodeIncompatiblePropertyKey(BaseTableRenderer.java:208)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:203)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1089)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:714)
         at org.apache.myfaces.trinidad.component.UIXTable.decode(UIXTable.java:136)
         at org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:193)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at oracle.adf.view.rich.component.UIXPopup.processDecodes(UIXPopup.java:60)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at oracle.adf.view.rich.component.UIXInputPopup.processDecodes(UIXInputPopup.java:137)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1113)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:722)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:153)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:153)
         at oracle.adf.view.rich.component.fragment.UIXPageTemplate.invokeOnComponent(UIXPageTemplate.java:208)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:664)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:303)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 29 more

    Duplicate: Re: Get null pointer exception while selecting LOV for a parameter form object

  • Java.lang.ClassCastException while creating array descriptor

    ( This post was moved from SQL / PLSQL forum to here )
    Hi everyone, i used to pass string array from java to plsql. I wrote a java source, then i load db with loadjava. And i wrote java spec. Then i run the function but i am getting this error :
    java.lang.ClassCastException
    at oracle.jdbc.driver.PhysicalConnection.putDescriptor(PhysicalConnection.java:4921)
    at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:208)
    at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:175)
    at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:158)
    at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:125)
    at SplitterOracle3.tokens2(SplitterOracle3.java:29)
    My Java Source is :
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.sql.DataSource;
    import oracle.sql.*;
    import oracle.jdbc.driver.OracleConnection;
    import oracle.jdbc.driver.OracleDriver;
    public class SplitterOracle3 {
    public static oracle.sql.ARRAY tokens2(String str,String delim)
    try
    //Class.forName("oracle.jdbc.driver.OracleDriver");
    //DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    //Connection conn = new OracleDriver().defaultConnection( );
    OracleDriver ora = new OracleDriver();
    OracleConnection conn = (OracleConnection) ora.defaultConnection();
    //ArrayDescriptor arrayDesc = ArrayDescriptor.createDescriptor("MY_ARRAY", ((conn).getRealConnection());
    //Connection conn = DriverManager.getConnection("jdbc:default:connection:");
    //Connection conn = ((DelegatingConnection) getDataSource().getConnection()).getInnermostDelegate();
    // get an initial context
    //OracleConnection oracleConnection = (OracleConnection)WSJdbcUtil.getNativeConnection((WSJdbcConnection) wsConn);
    ArrayDescriptor arraydesc =
    ArrayDescriptor.createDescriptor ("ARR_VARCHAR_100", conn);
    String strarr[] = new String[47];
    strarr[0]="ahmet";
    strarr[1]="mehmet";
    int curIndex = 0;
    int nextIndex = 0;
    boolean nextIsLastToken = false;
    int i=0;
    while (true)
    nextIndex = str.indexOf(delim, curIndex);
    if (nextIsLastToken)
    //return false;
    break;
    if (nextIndex == -1)
    nextIsLastToken=true;
    nextIndex = str.length();
    strarr[i] = str.substring(curIndex, nextIndex);
    curIndex = nextIndex + 1;
    i++;
    ARRAY dirArray = new ARRAY(arraydesc, conn, strarr);
    return dirArray;*/
    catch(Exception ex)
    System.err.println(ex.getMessage());
    ex.printStackTrace();
    return null;
    public static void main(String[] args)
    String str="2000,2,123553168,1,10,64895,65535,27662,64860,64895,65535,27662,64860,0,,,,,,0,0,2491039806,,,,,,,,,0,0,1,,2491039106,,,,,,,,,,,,";
    String strarr[] = new String[47];
    long l1,l2;
    int j=0;
    l1 = System.currentTimeMillis();
    for ( int i=0; i<20000000; i++)
    strarr = tokens2(str,",");
    l2 = System.currentTimeMillis();
    System.out.println("Fark :"+ (l2-l1));
    The line has "ArrayDescriptor.createDescriptor ("ARR_VARCHAR_100", conn);" causes this error.
    java.lang.ClassCastException
    at oracle.jdbc.driver.PhysicalConnection.putDescriptor(PhysicalConnection.java:4921)
    at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:208)
    at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:175)
    at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:158)
    at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:125)
    at SplitterOracle3.tokens2(SplitterOracle3.java:29)
    But i could not find the solution. Can you help me?
    Thanks for responses.

    Hi,
    Did you try my suggestion from Re: java.lang.ClassCastException while create array descriptor
    Try replacing
    oracle.jdbc.driver.OracleConnectionwith
    oracle.jdbc.OracleConnectionRegards
    Peter

  • "java.lang.NullPointerException" while assigning Organization

    Hi,
    Recently we have upgraded our IDM environment from version 7 to 7.1.1.6.
    After that we get the "java.lang.NullPointerException" while assigning an Organization during the creation of the user through from Idm Admin
    Interface.
    Is there any file i am missing ? has any one experienced the problem before?
    thx,
    Ttslsab

    Thanks Hareesh,
    ya that  "callsapadapter"  was the culprit. It comes by itself, Once I removed that PGP was working fine.

  • Java.lang.IllegalArgumentException: Cannot invoke beans

    in 1 jsp page
    <logic:iterate id="msgg" name="messages">
    <tr>
    <td>${msgg.messageNumber}</td>
    <td>${msgg.from[0]}</td>
    ** <td><html:link action="msgbody?message=${msgg.message}">${msgg.subject}</html:link> </td>
    <td>${msgg.sentDate}</td>
    </tr>
    </logic:iterate>
    ${msgg.message} which will return javax.mail.Message object
    By clicking in the link(above shown as **) it will go to msgbody action and should set
    message property of bean with javax.mail.Message object
    for msg body action my bean is
    package beans;
    import javax.mail.Message;
    import org.apache.struts.action.ActionForm;
    public class MsgBn extends ActionForm {
    private Message message;
    public Message getMessage() {
    return message;
    public void setMessage(Message message) {
    this.message = message;
    i am getting following exception plz suggest me solutions
    java.lang.IllegalArgumentException: Cannot invoke beans.MsgBn.setMessage - argument type mismatch
    org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1778)
    org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1759)
    org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648)
    org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677)
    org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1022)
    org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:811)
    org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:298)
    org.apache.struts.util.RequestUtils.populate(RequestUtils.java:493)

    Of course it's a String. It's being passed as a request parameter. Request parameters are always Strings.
    It looks like something needs to be held in the session maybe?

  • Java.lang.IllegalAccessException using Reflection and SSL

    Hi all,
    I am getting the java.lang.IllegalAccessException when trying to access the field's value. I'm passing an object that has it's fields set. I'm trying to determine the object passed to my method, get the object's fields, get the field values and store them in an array for later processing. The italic line is where the error occurs. I'm running SSL and my constructors for the objects that I'm passing are all declared "public".
    Can anyone help me fix this problem or suggest a better way?
    Thanks.
    *my method
        public void setHtFields( Object obj ) throws Exception
            setAction( "view" );
            setRecType( obj.getClass().getName() );
            Field flds[] = obj.getClass().getDeclaredFields();
            String fieldList = "";
            String value = "";
            for ( int x=0; x<flds.length ; x++ )
    value = flds[x].get(obj).toString();            htFields.put( flds[x].getName(), value);
                fieldList +=  flds[x].getName() + "::" + value + "~";
            setFieldValue( fieldList );
            insertRecord();
            return;
    * stack trace
    java.lang.IllegalAccessException
         at java.lang.reflect.Field.get(Native Method)
         at com.yoursummit.utils.historyLogging.setHtFields(historyLogging.java:276)
         at org.apache.jsp.edit_emp_jsp._jspService(edit_emp_jsp.java:99)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:479)

    The object your are invoking setHtFields on must be declaring some private or protected fields which you can't access.
    If you try printing the thrown IllegalAccessException message, not just a stack trace, you will see which exacly one.

  • Java.lang.StringIndexOutOfBoundsException while deploying webapp

    Hi all,
    I'm trying to deploy an expanded webapp on WebLogic 6.0sp1. It's a
    migration from 5.1, some hundred JSPs, some servlets and custom tags in
    WEB-INF/classes and a few static pages. I placed the web-application
    folder in the applications folder and the server begins the deployment.
    During deployment I get a StringIndexOutOfBoundsException and the
    deployment stops (see log extract below). By the time when this happens,
    there is a new .ear file and a war file (seem to be the same) containing
    my web application. This is a real show-stopper for me, so I'd be glad
    for any recommendations.
    Thanks,
    Daniel
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(LastModified)
    modified from (0) to (984590891366).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
    Attribute=(Application) modified from (null) to (fbsdomain:Name=f
    utuna,Type=Application).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
    Attribute=(Application) modified from (fbsdomain:Name=futuna,Type
    =Application) to (fbsdomain:Name=futuna,Type=Application).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
    Attribute=(URI) modified from (null) to (futuna).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
    Attribute=(ContextPath) modified from (null) to (futuna).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(LoadError)
    modified from (null) to (null).>
    [java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[HTTP
    fbsserver] Loading web app: futuna>
    [java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[HTTP
    fbsserver] Loading futuna from WAR file:
    c:\dev\fbs\application\config\fbsdomain\applications\.wl_temp_do_not_del
    ete\wl_local_comp19242
    .war>
    [java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[Default
    WebApp] extracting classfiles to
    c:\dev\fbs\application\config\fbsdomain\applications\.wl_temp_do_not_del
    ete\WEB-INF\_tmp_war_fbsser
    ver_fbsserver_futuna:>
    [java] <14.03.2001 18:28:17 GMT+01:00> <Info> <HTTP> <[Default
    WebApp] extracted classfiles successfully...>
    [java] <14.03.2001 18:28:17 GMT+01:00> <Debug> <HTTP> <Exception
    thrown while loading futuna: java.lang.StringIndexOutOfBoundsException:
    String index out of range: -1>
    [java] <14.03.2001 18:28:17 GMT+01:00> <Error> <J2EE> <Error
    deploying application futuna: Could not load futuna>
    [java] <14.03.2001 18:28:17 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(Deployed)
    modified from (true) to (true).>
    [java] <14.03.2001 18:28:36 GMT+01:00> <Error> <HTTP>
    <HttpServer(4062427,null default ctx,fbsserver) found no context for
    "GET /futuna HTTP/1.1". This should not happen unless the default contex
    t failed to deploy.>
    [java] <14.03.2001 18:28:45 GMT+01:00> <Error> <HTTP>
    <HttpServer(4062427,null default ctx,fbsserver) found no context for
    "GET /futuna/ HTTP/1.1". This should not happen unless the default conte
    xt failed to deploy.>
    [java] <14.03.2001 18:30:27 GMT+01:00> <Info> <HTTP>
    <[WebAppServletContext(4114264,console)] *.html: init>
    [java] <14.03.2001 18:30:27 GMT+01:00> <Info> <HTTP>
    <[WebAppServletContext(4114264,console)] *.html: Using standard I/O>

    Hi Kumar,
    thanks for the hint, but that did not solve the problem. I reworked
    web.xml and weblogic.xml (some 5.1 things inside) and now it works.
    Daniel
    -----Ursprüngliche Nachricht-----
    Von: Kumar Allamraju [mailto:[email protected]]
    Bereitgestellt: Mittwoch, 14. März 2001 22:35
    Bereitgestellt in: install
    Unterhaltung: java.lang.StringIndexOutOfBoundsException while deploying
    webapp
    Betreff: Re: java.lang.StringIndexOutOfBoundsException while deploying
    webapp
    It appears your default webapp failed to deploy.
    Add the following entry (red ink) in your config.xml (carefully) and see
    if you are able to deploy default webapp
    <Application
    Deployed="true"
    Name="DefaultWebApp_myserver"
    Path="./config/myserver/applications"
    >
    <WebAppComponent
    Name="DefaultWebApp_myserver"
    Targets="myserver"
    WebServers="myserver"
    URI="DefaultWebApp_myserver"
    />
    </Application>
    Daniel Hoppe wrote:
    Hi all,
    I'm trying to deploy an expanded webapp on WebLogic 6.0sp1. It's a
    migration from 5.1, some hundred JSPs, some servlets and custom tags in
    WEB-INF/classes and a few static pages. I placed the web-application
    folder in the applications folder and the server begins the deployment.
    During deployment I get a StringIndexOutOfBoundsException and the
    deployment stops (see log extract below). By the time when this happens,
    there is a new .ear file and a war file (seem to be the same) containing
    my web application. This is a real show-stopper for me, so I'd be glad
    for any recommendations.
    Thanks,
    Daniel
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(LastModified)
    modified from (0) to (984590891366).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
    Attribute=(Application) modified from (null) to (fbsdomain:Name=f
    utuna,Type=Application).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
    Attribute=(Application) modified from (fbsdomain:Name=futuna,Type
    =Application) to (fbsdomain:Name=futuna,Type=Application).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
    Attribute=(URI) modified from (null) to (futuna).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
    Attribute=(ContextPath) modified from (null) to (futuna).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(LoadError)
    modified from (null) to (null).>
    [java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[HTTP
    fbsserver] Loading web app: futuna>
    [java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[HTTP
    fbsserver] Loading futuna from WAR file:
    c:\dev\fbs\application\config\fbsdomain\applications\.wl_temp_do_not_del
    ete\wl_local_comp19242
    .war>
    [java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[Default
    WebApp] extracting classfiles to
    c:\dev\fbs\application\config\fbsdomain\applications\.wl_temp_do_not_del
    ete\WEB-INF\_tmp_war_fbsser
    ver_fbsserver_futuna:>
    [java] <14.03.2001 18:28:17 GMT+01:00> <Info> <HTTP> <[Default
    WebApp] extracted classfiles successfully...>
    [java] <14.03.2001 18:28:17 GMT+01:00> <Debug> <HTTP> <Exception
    thrown while loading futuna: java.lang.StringIndexOutOfBoundsException:
    String index out of range: -1>
    [java] <14.03.2001 18:28:17 GMT+01:00> <Error> <J2EE> <Error
    deploying application futuna: Could not load futuna>
    [java] <14.03.2001 18:28:17 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(Deployed)
    modified from (true) to (true).>
    [java] <14.03.2001 18:28:36 GMT+01:00> <Error> <HTTP>
    <HttpServer(4062427,null default ctx,fbsserver) found no context for
    "GET /futuna HTTP/1.1". This should not happen unless the default contex
    t failed to deploy.>
    [java] <14.03.2001 18:28:45 GMT+01:00> <Error> <HTTP>
    <HttpServer(4062427,null default ctx,fbsserver) found no context for
    "GET /futuna/ HTTP/1.1". This should not happen unless the default conte
    xt failed to deploy.>
    [java] <14.03.2001 18:30:27 GMT+01:00> <Info> <HTTP>
    <[WebAppServletContext(4114264,console)] *.html: init>
    [java] <14.03.2001 18:30:27 GMT+01:00> <Info> <HTTP>
    <[WebAppServletContext(4114264,console)] *.html: Using standard I/O>

  • Java.lang.ClassCastException in the Bean Class

    Does anybody have any idea about the following exception.
    MessageLoggerBean is the Bean class and I am attaching the java file for further
    reference
    java.lang.ClassCastException: com.wellmanage.Bean.MessageLoggerBean_3p5ifg_HomeImpl
    java.lang.ClassCastException: com.wellmanage.Bean.MessageLoggerBean_3p5ifg_HomeImpl
    at com.wellmanage.Bean.MessageLoggerBean.getConnection(MessageLoggerBean.java:181)
    at com.wellmanage.Bean.MessageLoggerBean.logMessage(MessageLoggerBean.java:77)
    at com.wellmanage.Bean.MessageLoggerBean_3p5ifg_EOImpl.logMessage(MessageLoggerBean_3p5ifg_EOImpl
    java:79)
    Thanks
    Srini
    [MessageLoggerBean.java]

    Please configure the classloader to delegate to the parent loader by specifying the following in WEB-INF/sun-web.xml (the Sun ONE Application Server specific deployment descriptor for web applications)
    <class-loader delegate="true"/>
    More information on this can be found at
    http://docs.sun.com/source/816-7150-10/dwdeploy.html#48102
    Thanks,
    Arvind

  • Java.lang.StackOverflowError while accessing home page

    Why do I get java.lang.StackOverflowError while I try to call the /application url (Home page) after login. Note that before login this url was not giving any problem. Please help me out immediately, as this become crucial for our project. The part of the error stack is provided below:
    <Sep 9, 2004 12:25:03 PM IST> <Error> <HTTP> <101017> <[ServletContext(id=353527
    ,name=btwportal,context-path=/btwportal)] Root cause of ServletException
    java.lang.StackOverflowError
            at weblogic.servlet.internal.session.SessionData.getAttribute(SessionDat
    a.java:427)
            at com.bea.portal.appflow.PortalAppflowFactory.getPortalSession(PortalAp
    pflowFactory.java:148)
            at com.bea.portal.appflow.PortalAppflowFactory.createPortalSession(Porta
    lAppflowFactory.java:132)
            at com.bea.portal.appflow.PortalAppflowFactory.createPortalSession(Porta
    lAppflowFactory.java:114)
            at com.bea.portal.appflow.internal.PortalRequestImpl.getPortalSession(Po
    rtalRequestImpl.java:92)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:213)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com

    Hi Werner.
    Its has a sevirity 2. But since its a weeked nothing will progress until monday.
    Regrading to your commect:"... I think it's related to the data to be upgraded. Because the error occurs right after NLS_LANG checking, possibly there's a relationship to this " .
    The error raised at the beggining of the upgrade. Already in second screen
    where you choose the instance you want to upgrade.
    I dought that in this early steps its already collecting information regarding to actual data.
    Can you suggest from your experience a workaround for this problem ?
    Thanks.

  • Java.lang.IllegalAccessException

    Hi!
              I got the following exception when trying to invoke my First-Try-Servlet
              (HttpServlet derivative).
              the only implemented method is doGet that dumps a micro html-code into the
              result stream.
              compiling and deploymend works without error.
              But when trying to invoke the Servlet the homepage return the following
              error:
              java.lang.IllegalAccessException: de.speech.vsm.SurveyServlet
                   at java.lang.Class.newInstance0(Native Method)
                   at java.lang.Class.newInstance(Unknown Source)
                   at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:820)
                   at
              org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
                   at
              org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
              va:214)
                   at
              org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
              66)
                   at
              org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
                   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
                   at
              org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
              va:201)
                   at
              org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
              66)
                   at
              org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
                   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
                   at
              org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
                   at
              org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
                   at
              org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
              66)
                   at
              org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
              java:170)
                   at
              org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
              64)
                   at
              org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
                   at
              org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
              64)
                   at
              org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
                   at
              org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
              64)
                   at
              org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
                   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
                   at
              org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
              :163)
                   at
              org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
              66)
                   at
              org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
                   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
                   at
              org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
              1011)
                   at
              org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106
                   at java.lang.Thread.run(Unknown Source)
              Do you have an idea?
              Richie
              

    Post this in Tomcat mailing list not in WLS list.
              Kumar.
              Richard Hafner wrote:
              > Hi!
              >
              > I got the following exception when trying to invoke my First-Try-Servlet
              > (HttpServlet derivative).
              >
              > the only implemented method is doGet that dumps a micro html-code into the
              > result stream.
              >
              > compiling and deploymend works without error.
              > But when trying to invoke the Servlet the homepage return the following
              > error:
              >
              > java.lang.IllegalAccessException: de.speech.vsm.SurveyServlet
              >      at java.lang.Class.newInstance0(Native Method)
              >      at java.lang.Class.newInstance(Unknown Source)
              >      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:820)
              >      at
              > org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
              >      at
              > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
              > va:214)
              >      at
              > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
              > 66)
              >      at
              > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
              >      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
              >      at
              > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
              > va:201)
              >      at
              > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
              > 66)
              >      at
              > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
              >      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
              >      at
              > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
              >      at
              > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
              > )
              >      at
              > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
              > 66)
              >      at
              > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
              > java:170)
              >      at
              > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
              > 64)
              >      at
              > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
              > )
              >      at
              > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
              > 64)
              >      at
              > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
              >      at
              > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
              > 64)
              >      at
              > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
              >      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
              >      at
              > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
              > :163)
              >      at
              > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
              > 66)
              >      at
              > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
              >      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
              >      at
              > org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
              > 1011)
              >      at
              > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106
              > )
              >      at java.lang.Thread.run(Unknown Source)
              >
              > Do you have an idea?
              > Richie
              >
              >
              >
              >
              

  • Java.lang.LinkageError while deploying.

    Hello All,
    I am working on an application which runs on jboss and while deploying I come accross the below error.
    09:55:37,607 ERROR [[ehaweb]] Servlet.service() for servlet ehaweb threw exception
    java.lang.LinkageError: loader constraint violation: when resolving interface method "com.eha.service.PageAccessMangementLoca
    l.savePageAccessLog(Lcom/eha/domain/PageAccessLog;)V" the class loader (instance of org/jboss/web/tomcat/service/WebAppClassL
    oader) of the current class, com/eha/web/filter/PageAccessLogFilter, and the class loader (instance of org/jboss/mx/loading/U
    nifiedClassLoader3) for resolved class, com/eha/service/PageAccessMangementLocal, have different Class objects for the type c
    om/eha/domain/PageAccessLog used in the signature
    Please let me know if something else is needed.
    I am deploying an ear file which also has a war file and all required libs and jars in it.
    Thanks in advance.

    First of all thanks for the reply,
    Your reply resolved my issue but now I am facing different error at deployment as given below.
    15:55:05,833 ERROR [ContextLoader] Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchService' defined in ServletCont
    ext resource [WEB-INF/applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.
    PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
    PropertyAccessException 1: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.ope
    nsymphony.oscache.general.GeneralCacheAdministrator] to required type [com.opensymphony.oscache.general.GeneralCacheAdministr
    ator] for property 'generalCacheAdministrator'; nested exception is java.lang.IllegalArgumentException: No matching editors o
    r conversion strategy found
    Caused by:
    org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessException details (1) are:
    PropertyAccessException 1:
    org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.opensymphony.oscache.general.G
    eneralCacheAdministrator] to required type [com.opensymphony.oscache.general.GeneralCacheAdministrator] for property 'general
    CacheAdministrator'; nested exception is java.lang.IllegalArgumentException: No matching editors or conversion strategy found
    Caused by:
    **java.lang.IllegalArgumentException: No matching editors or conversion strategy found**
    at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:212)
    My EAR structure is like this,
    EAR
    -meta inf
    -jar's
    -war
    - web inf
    - classes
    - lib
    The classes in war's "classses" directory needed to access some classes in jar's of ear's root directory.
    since I had first bundled these jars again in lib directory of war's web inf, I deployed it sucessfully but at run time
    It gave me previous errors that was solved by first reply (due to duplicate jars), now since I have deleted those
    duplicate jars, It gives me above error.
    Please help, I have stuck here for a long time now.

  • Java.lang.NoSuchMethodException while using LookupDispatchAction

    hi,
    I am just a novice java developer, developing an application which requires more than one submit button in a single form, for which i have extended LookupDispatchAction class. However i am unable to fix the error with the message java.lang.NoSuchMethodException, which appears whenever i click on the buttons in spite of having the method in the action class. Below is the code snippet. I request if anyone could help me out. Thanks.
    JSP
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix = "html" %>
    <%@ taglib uri = "/WEB-INF/struts-bean.tld" prefix = "bean"%>
    <html><body>
    <html:form action="homeSearch.do">
    <table>
    <tr>
         <td><strong>Search by Email</strong></td>
         <td><html:submit property="dowhat">
              <bean:message key="ldApp.submit.button.eSearch"/>
         </html:submit></td>
    </tr>
    <tr>
         <td><strong>Search by Eid</strong></td>
         <TD><html:submit property="dowhat">
              <bean:message key="ldApp.submit.button.idSearch"/>
         </html:submit> </TD>
    </tr>
    <tr>
         <td><strong>Search by Phone</strong></td>
         <td><html:submit property="dowhat">
              <bean:message key="ldApp.submit.button.pSearch"/>
         </html:submit></td>
    </tr>
    </table>
    </html:form></body></html>
    struts-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd">
    <struts-config>
      <data-sources />
      <form-beans >
            <form-bean name="tmpForm" type="org.apache.struts.action.DynaActionForm" />
      </form-beans>
      <global-exceptions />
      <global-forwards >
                <forward name="email" path="/emailHome.jsp"/>
                <forward name="id" path="/idHome.jsp"/>
                <forward name="phone" path="/PhoneHome.jsp"/>
      </global-forwards>
      <action-mappings>
           <action path="/homeSearch" name="tmpForm" type="com.lookup.struts.myLDAction"
                     parameter="dowhat" scope="request" input="/Home.jsp"
                     >
                <forward name="email" path="/emailHome.jsp"/>
                <forward name="id" path="/idHome.jsp"/>
                <forward name="phone" path="/PhoneHome.jsp"/>
           </action>
      </action-mappings>
      <message-resources parameter="com.lookup.struts.ApplicationResources" />
    </struts-config>
    myLDAction class
    public class myLDAction extends LookupDispatchAction {
         protected Map getKeyMethodMap() {
              // TODO Auto-generated method stub
                   Map mp = new HashMap();
              mp.put("ldApp.submit.button.eSearch", "EmailSearch");
              mp.put("ldApp.submit.button.idSearch", "IDSearch");
              mp.put("ldApp.submit.button.pSearch", "PhoneSearch");     
                   return mp;
         public ActionForward EmailSearch(ActionForm af, ActionMapping am,
                   HttpServletRequest req, HttpServletResponse res) throws Exception{
              DynaActionForm df = (DynaActionForm)af;
              // do search logic
              return am.findForward("email"); // forwards to a jsp page
         public ActionForward IDSearch(ActionForm af, ActionMapping am,
                   HttpServletRequest req, HttpServletResponse res) throws Exception{
         DynaActionForm df = (DynaActionForm)af;
         // do search logic
         return am.findForward("id");  // forwards to a jsp page          
         public ActionForward PhoneSearch(ActionForm af, ActionMapping am,
                   HttpServletRequest req, HttpServletResponse res) throws Exception{     
         DynaActionForm df = (DynaActionForm)af;
         // do search logic
         return am.findForward("phone");  // forwards to a jsp page
    {cod*e}*
    *Error*Jan 13, 2009 1:58:56 PM org.apache.struts.actions.DispatchAction dispatchMethod
    SEVERE: Action[homeSearch] does not contain method named 'EmailSearch'
    java.lang.NoSuchMethodException: com.lookup.struts.myLDAction.EmailSearch(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         at java.lang.Class.getMethod(Class.java:978)
    Edited by: Chinglai on 13 Jan, 2009 1:29 PM
    Edited by: Chinglai on 13 Jan, 2009 2:01 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    First thing is I don't know anything about struts, you should have posted in some other forum like that for JSP or other....
    From the exception, I can say that maybe method signature needs to be:
    public ActionForward EmailSearch( ActionMapping am, ActionForm af, HttpServletRequest req, HttpServletResponse res)instead of:
    public ActionForward EmailSearch(ActionForm af, ActionMapping am, HttpServletRequest req, HttpServletResponse res) throws ExceptionBut don't take my advice to be authentic in any way, thats just a hunch....
    And yes, change other method signatures also, if I'm correct , by any chance.
    Thanks!

Maybe you are looking for

  • Maximum Purchase Order qty

    Hi, Is there any way to control the new PO creation if the purchase ordersi are open for certain qty in the Plant & vendor combination. For e.g if 3 PO's are open in the system in the same plant & vendor combination and the open qty is 10MT, In this

  • Credit management for consignment sale

    Hi, It is well accepted that in Standard SAP , for consignment sale process credit check is done in Consignment issue level as in this phase material stock is logically got diminished from valuated stock. But business dynamics need some solution with

  • Irregular behavior entering sleep + iMac freezes in verify disk

    My iMac (Core 2 Duo, OS X 10.4.10) is having some sleep issues. When iChat is running and I put it to sleep, it makes the iChat disconnect sound several times (and in a very scary way), and only then goes to sleep. When I wake it, a gray screen appea

  • Why dose my computer keep telling me to uninstall and reinstall again

    hi my computer keeps telling me to uninstall itunes  and reinstall it again and it dose not work at all from holly

  • Can't view pictures after update to 08

    I recently updated to Ilife 08. After the holidays I downloaded pictures from my digital canon rebel camera as usual. I can see the new pictures as smaller thumbnails but if I increase the size of the thumbnail, they disappear and I get a gray dashed