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!

Similar Messages

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

  • Java.lang.UnsupportedClassVersionError while using java mail api

    Hi Everybody ,
    I am new comer to this forum , and would like to be an active member.
    I am getting this error while trying to use the java mail api to send an email using smtp.
    The error is as follows :
    Exception in thread "main" java.lang.UnsupportedClassVersionError: javax/mail/Message (Unsupported major.minor version 48.0)
    Can Anyone please tell where I am wrong.
    I am using the following code
    ==============================================================
    Properties props = new Properties();
    props.put("mail.smtp.host", "smtp.abc.com");
    // create some properties and get the default Session
    Session session = Session.getDefaultInstance(props, null);
    session.setDebug(debug);
    // create a message
    Message msg = new MimeMessage(session);
    // set the from and to address
    InternetAddress addressFrom = new InternetAddress(from);
    msg.setFrom(addressFrom);
    InternetAddress[] addressTo = new InternetAddress[recipients.length];
    for (int i = 0; i < recipients.length; i++)
    addressTo[i] = new InternetAddress(recipients);
    msg.setRecipients(Message.RecipientType.TO, addressTo);
    // Optional : You can also set your custom headers in the Email if you Want
    msg.addHeader("MyHeaderName", "myHeaderValue");
    // Setting the Subject and Content Type
    msg.setSubject(subject);
    msg.setContent(message, "text/plain");
    Transport.send(msg);
    ==============================================================

    Hi Philip ,
    Thanks for the prompt reply , I had installed oracle client services which overid my jdk1.4 installation with jdk1.3 and hence the error. I changed my classpath settings to point to jdk1.4 and it owrked properly.
    Thanks once again.
    regards,
    Rupesh Rajan

  • Java.lang.ExceptionInInitializerError - while using a third party tool

    Hi All,
    I am trying to include truezip into my application. but I get the following stack trace.
    When I tried using the truezip in a standalone java class it orked but I am unable to make it work with appserver.
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
         org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:75)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
    root cause
    java.lang.ExceptionInInitializerError
         de.schlichtherle.io.File.init(File.java:818)
         de.schlichtherle.io.File.(File.java:471)
         de.schlichtherle.io.File.(File.java:452)
         org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.If I refresh the jsp page it shows the foloowing error
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
         org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:75)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
    root cause
    java.lang.NoClassDefFoundError
         de.schlichtherle.io.File.init(File.java:818)
         de.schlichtherle.io.File.(File.java:471)
         de.schlichtherle.io.File.(File.java:452)
         org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.
    --------------------------------------------------------------------------------Can anyone help me on this please
    Thanks,
    R.Ramesh.

    Hi Balusc,
    here is the full stack trace
    java.lang.ExceptionInInitializerError
         at de.schlichtherle.io.File.init(File.java:830)
         at de.schlichtherle.io.File.<init>(File.java:479)
         at de.schlichtherle.io.File.<init>(File.java:458)
         at org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
    Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission shutdownHooks)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.Runtime.addShutdownHook(Runtime.java:188)
         at de.schlichtherle.io.ArchiveControllers.<clinit>(ArchiveControllers.java:67)
         ... 41 moreafter which if I refresh my jsp page I get the foloowing stack trace as in my next post

  • JAVA.LANG.NULLPOINTEREXCEPTION WHILE USING GETCLIENTINFO JAVABEAN IN FORM

    We are using GetClientInfo JavaBean in Oracle 6i Form registered in Oracle Applications. Earlier, when we used Jinitiator, the Form used to open properly. Recently we started using Java Plug-in 1.6.0_12 (JRE version 1.6.0_12 Java HotSpot(TM) Client VM), we get following errors and then entire application closes.
    java.lang.NullPointerException
         at oracle.forms.ui.VBean.isFocusTraversable(Unknown Source)
         at java.awt.Component.isFocusable(Unknown Source)
         at java.awt.Component.isRequestFocusAccepted(Unknown So

    Get Client Information
    http://www.oracle.com/technology/sample_code/products/forms/6idemos.html
    java.lang.NullPointerException
         at oracle.forms.ui.VBean.isFocusTraversable(Unknown Source)
         at java.awt.Component.isFocusable(Unknown Source)
         at java.awt.Component.isRequestFocusAccepted(Unknown Source)
         at java.awt.Component.requestFocusHelper(Unknown Source)
         at java.awt.Component.requestFocusHelper(Unknown Source)
         at java.awt.Component.requestFocus(Unknown Source)
         at oracle.forms.handler.UICommon.updateFocus(Unknown Source)
         at oracle.forms.handler.UICommon.setFVP(Unknown Source)
         at oracle.forms.handler.UICommon.setFVP(Unknown Source)
         at oracle.forms.handler.UICommon.onUpdate(Unknown Source)
         at oracle.forms.handler.ComponentItem.onUpdate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onUpdate(Unknown Source)
         at oracle.forms.handler.UICommon.onUpdate(Unknown Source)
         at oracle.forms.engine.Runform.onUpdateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.sendDeferredMessages(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

  • Java.lang.SecurityException while using RDBMSRealm in 5.1

    Hi,
    We are in the process of migrating our application from Weblogic 4.5.1
    to Weblogic 5.1. When we try to set up RdbmsRealm as the delegate realm
    for the server and start the server, we get the following exception:
    java.lang.SecurityException: User "system" does not have Permission
    "read" based on ACL "weblogic.workspace.system".
    at weblogic.security.acl.Security.logAndThrow(Security.java:372)
    at weblogic.security.acl.Security.checkPermission(Security.java:254)
    at
    weblogic.workspace.server.Workspace.checkPermission(Workspace.java:1169)
    at weblogic.workspace.server.Workspace.checkRead(Workspace.java:1174)
    at weblogic.workspace.server.Workspace.fetch(Workspace.java:208)
    at
    weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:243)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java,
    Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java, Compiled
    Code)
    at
    weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    The database has aclentries that grant read, write and reserve
    permissions on weblogic.workspace.system to everyone. It is not clear
    why the server still complains that user 'system' does not have
    permissions. Is 'system' user not a part of everyone group by default? (
    We are using the same acls we were using with Weblogic 4.5.1 ). Does
    'everyone' group have all the users in it by default? Or has it changed?
    Any suggestions welcome.
    Thanks and Regards
    Suresh B

    Either try setting weblogic.allow.read.weblogic.workspace=system
    Or add the system user to the group 'everyone' in the database you use for
    RDBMSRealm (Hmm, not sure if this will work or not.
    If you are implementing a custom realm then you need to explicitly state
    which members are in the 'everyone' group.
    (I've recently had a similar problem . I actually chose a different
    solution, by overriding the isMember(user) method in RDBMSGroup to always
    return true if the group's name is 'everyone' - I had to override the method
    anyway, for other reasons. If anyone as any input on why this is a really
    bad idea please feel free to tell me)
    terry
    BSuresh <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    weblogic.allow.read.weblogic.workspace=everyone
    weblogic.allow.write.weblogic.workspace=everyone
    weblogic.allow.read.weblogic.workspace.system=everyone
    weblogic.allow.write.weblogic.workspace.system=everyone
    I tried having the above entries in the weblogic.properties file but theserver
    complains that weblogic.workspace acl is defined both in the delegate andbackup
    realm. And the result remains the same - java.lang.SecurityException.User
    "system" does not have Permission "read" based on ACL
    "weblogic.workspace.system".
    Thanks
    Suresh.B
    KNK wrote:
    Try setting the "read" and "write" permissions explicitly in
    weblogic.properties file.
    weblogic.allow.read.weblogic.workspace=everyone
    weblogic.allow.write.weblogic.workspace=everyone
    -- KNK --
    A ten thousand miles journey begins with a single step. That single stephas
    to be taken from where you are, worries are no solution to any problem.
    "BSuresh" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    We are in the process of migrating our application from Weblogic 4.5.1
    to Weblogic 5.1. When we try to set up RdbmsRealm as the delegate
    realm
    for the server and start the server, we get the following exception:
    java.lang.SecurityException: User "system" does not have Permission
    "read" based on ACL "weblogic.workspace.system".
    at weblogic.security.acl.Security.logAndThrow(Security.java:372)
    at weblogic.security.acl.Security.checkPermission(Security.java:254)
    at
    weblogic.workspace.server.Workspace.checkPermission(Workspace.java:1169)
    >>>
    at weblogic.workspace.server.Workspace.checkRead(Workspace.java:1174)
    at weblogic.workspace.server.Workspace.fetch(Workspace.java:208)
    at
    weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:243
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java,
    Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at
    weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java, Compiled
    Code)
    at
    weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    >>>
    The database has aclentries that grant read, write and reserve
    permissions on weblogic.workspace.system to everyone. It is not clear
    why the server still complains that user 'system' does not have
    permissions. Is 'system' user not a part of everyone group by default?(
    We are using the same acls we were using with Weblogic 4.5.1 ). Does
    'everyone' group have all the users in it by default? Or has itchanged?
    >>>
    Any suggestions welcome.
    Thanks and Regards
    Suresh B

  • Java.lang.IndexOutOfBoundsException while using lexicals

    Hi,
    I am trying to use a dynamic where clause with the described mechanism.
    - all report parameters defined as global variables in default package
    - whereclause defined as global variable in default package
    - defaultPackage defined in DataTemplate
    - before Report Trigger defined as function in default package which sets the where clause
    - Trigger executed in datatemplate (this works fine so far unless I try to use the &whereclause in a sqlStatement)
    When I try to use the whereclause variable from the default package in one of my statements in the data template I get an Error like
    " The report cannot be rendered because of an error, please contact the administrator. "
    in the UI and on the console log I get
    [070606_031501966][][EXCEPTION] java.lang.IndexOutOfBoundsException: Index: 0, S
    ize: 0
    at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492
    at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
    at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(Dat
    aTemplateParser.java:1449)
    at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:298
    at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:2
    64)
    at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:251)
    at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:192)
    at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:229)
    at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.ja
    va:336)
    at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.callDataP
    rocessor(AdvancedQueryBoundValue11.java:126)
    at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.getValue(
    AdvancedQueryBoundValue11.java:79)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportC
    ontextImplV11.java:335)
    at oracle.apps.xdo.servlet.XDOProcessor.process(XDOProcessor.java:235)
    at oracle.apps.xdo.servlet.ReportImpl.renderBody(ReportImpl.java:227)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBody(ReportImpl.java:4
    6)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:319)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:223)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:159)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
    hain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilt
    er.java:52)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:629)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
    estHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:451)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
    stHandler.java:218)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:119)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:112)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
    cketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Any Ideas??

    I solved the issue ...
    since I am using the standalone version of XML Publisher with the UIs the declaration of the lexical in the dataTeamplate was the problem.
    If I define
              <sqlStatement name="Unterlagen"><![CDATA[select id,bezeichnung from AJS_UNTERL_CHECKLISTE where ANFORDERER = 1 and [b]&amp;whereclause ]]>
    instead of
              <sqlStatement name="Unterlagen"><![CDATA[select id,bezeichnung from AJS_UNTERL_CHECKLISTE where ANFORDERER = 1 and [b]&whereclause ]]>
    it works fine!
    Regards,
    Lars

  • Error java.lang.NoSuchMethodError while using Lexalytics

    Hello,
    I have a Linux 64bit environment with the complete Endeca Information Discovery 2.4 installed. When I try to use the Text Enrichment component I get the error:
    java.lang.NoSuchMethodError
    I have edited the .bash_profile file with the parameters that are needed to use Lexalytics:
    lxainstall=/home/oracle/Oracle/Endeca/Lexalytics
    export lxainstall
    LD_LIBRARY_PATH=$lxainstall/salience/lib
    export LD_LIBRARY_PATH
    JAVA_HOME=/usr/java/jdk1.6.0_45
    export JAVA_HOME
    JAVA_OPTS="-Djava.library.path=$LD_LIBRARY_PATH"
    export JAVA_OPTS
    PATH=$JAVA_HOME/bin:$PATH:$HOME/bin:$lxainstall
    export PATH
    Also when I try to export the LD_LIBRARY_PATH and reboot my system, my desktop doesn't load and I see no icons on my desktop. I can start programs with the top menu.
    I have installed version 5.1 of Lexalytics.
    Does anybody know why I get this error?
    Thanks!
    Marco

    Hi Marco, I had the same problem. Instead of loading LD_LIBRARY_PATH in .BASH_PROFILE I made a shell script that first load LD_LIBRARY_PATH and then start integrator. Now it is working fine for me.

  • Java.lang.Exception while using applets

    i am compling my following code which gives error in JUnit Test result as
    No runnable methods
    java.lang.Exception: No runnable methods
    import java.awt.BorderLayout;
    import javax.swing.JApplet;
    * @author sakshi
    public class MainJA extends JApplet {
        MyInterface in;
        MyJPanel jp1;
        MyJScrollPane jsp;
         * Initialization method that will be called after the applet is loaded
         * into the browser.
        @Override
        public void init() {
            makeGUI();
        // TODO start asynchronous download of heavy resources
        void makeGUI() {
            setLayout(new BorderLayout());
            jp1 = new MyJPanel();
            in = new MyInterface();
            jsp = new MyJScrollPane(jp1);
            add(jsp, BorderLayout.CENTER);
            add(in, BorderLayout.SOUTH);
        // TODO overwrite start(), stop() and destroy() methods
    import java.awt.FlowLayout;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    * @author sakshi
    public class MyInterface extends JPanel {
        JLabel l_x,l_y;
        JTextField t_x,t_y;
        public MyInterface() {
           l_x=new JLabel("x");
           l_y=new JLabel("y");
           t_x=new JTextField(10);
           t_y=new JTextField(10);
           setLayout(new FlowLayout((int) CENTER_ALIGNMENT));
           add(l_x);add(t_x);
           add(l_y);add(t_y);
    import java.awt.Dimension;
    import javax.swing.JPanel;
    * @author sakshi
    public class MyJPanel extends JPanel {
        public MyJPanel() {
            setPreferredSize(new Dimension(1000,1000));
    import java.awt.Component;
    import java.awt.Dimension;
    import javax.swing.JScrollPane;
    import javax.swing.ScrollPaneConstants;
    * @author sakshi
    public class MyJScrollPane extends JScrollPane {
        public MyJScrollPane(Component v) {
            super(v,ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
            setPreferredSize(new Dimension(500,500));
    }what could be the reason for this error?

    sorry the problem is sought out since the error was on my part as i made the package in test package

  • Error while opening a dwg file :java.lang.NoSuchMethodException: Method

    Hello Experts,
    I tried to integrate WebCenter Content with Autovue ,the integration was good untill i get this error while trying to open a dwg file checked in Content Server using View in Autovue option in Actions :
    java.lang.NoSuchMethodException: Method fileOpen(com.cimmetry.core.SessionID, com.cimmetry.core.DocID, com.cimmetry.core.Authorization, <null>, java.lang.Boolean, <null>) not found in class com.cimmetry.jvueserver.VCETConnection
         at com.cimmetry.jvueserver.ar.a(Unknown Source)
         at com.cimmetry.jvueserver.ar.a(Unknown Source)
         at com.cimmetry.jvueserver.ar.a(Unknown Source)
         at com.cimmetry.jvueserver.ar.d(Unknown Source)
         at com.cimmetry.jvueserver.ar.a(Unknown Source)
         at com.cimmetry.jvueserver.ah.run(Unknown Source)
    Any suggestions would help me,
    Thanks in Advance
    Raj

    Hi Raj,
    The solution to this problem is posted in My Oracle Support:
    Error: "java.lang.NoSuchMethodException: Method fileOpen" when Trying to View Files Using AutoVue Integrated to Oracle Universal Content Management (UCM) (Doc ID 1341644.1).
    It has all the details, step by step.
    Jeff

  • Java.lang.NoSuchMethodException Using Method.invoke(...)

    I try to use Method.invoke() to invoke a method from a class. The method
    has parameters with type JTextArea and JMyFrame, but I got the error
    messages java.lang.NoSuchMethodException . Any ideas???
    If I remove parameter "JFrame mainFrame" in start() method and it is working fine. Not sure why JMyFrame will throw this exception, as JMyFrame is derived from JFrame class
    public class MyFrame extends JFrame
         try
    ClassLoader loader
    = new MyClassLoader(Integer.parseInt("3"));
    Class c = loader.loadClass("NewMenuPackage.NewMenu");
    Class[] params = { JTextArea.class, JMyFrame.class };
         Method m = c.getMethod("start", params);
         Object obj = c.newInstance();
    m.invoke(obj,
         new Object[] {
              textArea,
              JMyFrame.this
    catch (Throwable e)
    JOptionPane.showMessageDialog(this, e);
    package NewMenuPackage;
    import javax.swing.*;
    public class NewMenu
         private static JMenuItem menuItem = new JMenuItem("New Menu");
         public static JMenuItem getJMenuItem()
              return menuItem;
         public static void start(JTextArea textArea, JFrame mainFrame)
              System.out.println("NewMenu->start()...");
    }

    Your "params" Class array has to specify the exact classes of the method, not subclasses. The line that is causing the NoSuchObjectException to be thrown is "c.getMethod("start", params);".
    You have to write your own reflection utility methods to find a method that matches on parameter subclasses.

  • Java.lang.NoSuchMethodException encountered when using jar file

    Hi Friends
    I am getting this peculiar exception for some time now and not able to figure out why i get it.
    I searched the net but seem to not find any proper solution.
    Here is what i am trying to do. I am using Eclipse(Latest version) and jdk 1.6.
    I have a Java project in my workspace which was previously using Java code to perform DAO look up.
    Now i have got an executable .jar file which has this DAO look up code bundled in it and i just need to include it in my project ClassPath. I have done this now and my code compiles properly. Even Eclipse is able to recognize this code.
    When i try to run the code i am getting this java.lang.NoSuchMethodException: DAOClass.getValue(java.lang.string)L
    The getValue() is present in the DAOClass in the jar file but still i am getting this exception.
    I am not able to figure out what the issue is here.
    Can you please provide your suggestions about this issue. is there something i am missing out.
    Thanks
    vikeng21

    802944 wrote:
    Hi Friends
    I am getting this peculiar exception for some time now and not able to figure out why i get it.
    I searched the net but seem to not find any proper solution.
    Here is what i am trying to do. I am using Eclipse(Latest version) and jdk 1.6.
    I have a Java project in my workspace which was previously using Java code to perform DAO look up.
    Now i have got an executable .jar file which has this DAO look up code bundled in it and i just need to include it in my project ClassPath. Is the DAO code a jar, which you are attempting to put into another jar? Then there are very specific steps that you must take, outside of the code, to accomplish that.
    If the DAO code is not a jar then the following possibilities exist
    - You are not putting the code in the executable jar.
    - You are putting it in the executable jar incorrectly due to a path problem.

  • Java.lang.NoSuchMethodException: com.sun.mail.imap.IMAPStore.

    All:
    I have completed the following:
    1. Downloaded the JavaMail 1.4.2 API.
    2. From this downloaded API I had extracted the mail.jar file (timestamp 2009-02-26 13:28) to my C:\Program Files\Tomcat 6.0\lib directory
    3. Downloaded the jaf-1_0_2-upd2 API
    4. From this downloaded API I had extracted the activation.jar file (timestamped 2005-05-07 21:14) also to my C:\Program Files\Tomcat 6.0\lib directory.
    In Eclipse I have created a simple JSP page that calls a POJO that is to read a particular email box using IMAP. In this POJO I have code to set up the Properties, Session and Store objects as such:
    Line 1 Properties properties = System.getProperties();
    Line 2 properties.put("mail.from", "[email protected]");
    Line 3 properties.put("mail.debug","true");
    Line 4 session = Session.getDefaultInstance(properties, null);
    Line 5 session.setDebug(debug);
    Line 6 printData("About to get store object...");
    Line 7 store = session.getStore("imap");
    In eclispe, I click "Debug on Server" and Tomcat starts, begins to display my JSP and then I am dropped on the line of code in my POJO where I set a breakpoint (Line 1). Now I single step through the code. The code throws the following execption when it executes line 7 of the above code :
    (Line 6 ==>) About to get store object...
    DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc]
    java.lang.NoSuchMethodException: com.sun.mail.imap.IMAPStore.<init>(javax.mail.Session, javax.mail.URLName)
         at java.lang.Class.getConstructor0(Unknown Source)
         at java.lang.Class.getConstructor(Unknown Source)
         at javax.mail.Session.getService(Session.java:782)
         at javax.mail.Session.getStore(Session.java:574)
         at javax.mail.Session.getStore(Session.java:536)
         at javax.mail.Session.getStore(Session.java:515)
         at emailTest.readEmails.processMail(readEmails.java:62)
         at emailTest.readEmails.<init>(readEmails.java:24)
         at org.apache.jsp.emailTest_jsp._jspService(emailTest_jsp.java:94)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)
    There are no jar files defined in my project's classpath. The only jar file found in the project is in the WEB-INF\lib folder wherein I have a jndi.jar (timstamp 5/5/2009 8:10AM) file.
    I put the activation.jar file and the mail.jar file in my Tomcat.6\lib folder according item 4 of the JavaMail Sessions section of the Apache Tomcat JNDI Resources HOW_TO found here: http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html
    Can anybody please tell me what I need to do to get around this error? Do I perhaps have the wrong versions of one or more jar files?
    FYI: I have also put these same two jar files in my projects classpath and still recevied the same exception. Because I am invoking a POJO from a JSP should these jar files be in my projects classpath in addition to the tomcat\lib directory, or should they only be in the projects' classpath?
    Thanks to all for your time in responding.
    Gary

    bshannon:
    Thank you for your resonse. Your response got me to thinking that my instance of Ecliplse that I had had running yesterday was behaving a little strangely so this morning I closed everything I had running on my workstation and closed down the machine and rebooted. When I finally opend up Eclipse again and ran my JSP program calling my POJO, the code no longer threw the exception. Apparently Eclipse can have its tempermental moments.
    Also, let it be known that while everything is working for me now, I performed a small experiment. I moved the activiation.jar and mail.jar from my project\WEB-INF\lib folder and put them in the the C:\Program Files\Tomcat 6.0\lib directory. Then, when I ran my program I once again recieved the java.lang.NoSuchMethodException error. When I moved these jar files back from the Tomcat diretory to my project\WEB-INF\lib directory, the program worked just fine.
    Thanks again
    Gary

  • WebLogic 10gR3 Portal Remote EJB gives java.lang.NoSuchMethodException

    We are migrating from WebLogic 11g to WebLogic 10gR3 Portal. The application we have currently works with 11g. Since migrating to 10gR3 we are now recieving the following error while calling a remote EJB.
    java.lang.NoSuchMethodException: com.xyz.SomeService_um3hps_SomeServiceRemoteImpl_1030_WLStub.login(java.lang.String, java.lang.String, com.xyz.User, com.xyz.Journal)
    at java.lang.Class.getMethod(Class.java:1605)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.getTargetMethod(RemoteBusinessIntfProxy.java:162)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:53)
    at $Proxy161.login(Unknown Source)
    at com.xyz.SomeServlet.service(PortalLoginServlet.java:109)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    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 com.xyz.presentation.jsf.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:114)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3502)
    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:2186)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2092)
    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)
    Version: WebLogic 10gR3 Portal
    The call is being made from one cluster to another in the same domain.
    There are two separate ear files that make up the application. One EAR contains the application, the other contains services. The services ear is deployed to one cluster, and the application to another cluster. Remote EJB calls are made from the application to the services. If these ears are in separate clusters, the calls fail with the error above. If the EARs are deployed within the same cluster, the calls work correctly.
    Thanks
    Edited by: user7719024 on Feb 17, 2010 2:40 PM

    Hi,
    As u are migrating from WebLogic 11g to WebLogic 10gR3 Portal so it will be best if you can generate the Artifacts like Stubs...etc using APPC compiler of WebLogic 10gR3 Portal.
    Then deploy the EAR/WAR on WebLogic 10gR3 Portal Server. http://jaysensharma.wordpress.com/2010/02/08/weblogic-specific-appc-ant-task/
    Thanks
    Jay SenSharma

  • Java.lang.NoSuchMethodException

    Hi,
    I'm a beginner in learning CMP EJB. I've encountered the below error, when I tried to create a CMP EJB using a servlet.
    I am using pointbase as my database.
    INFO: CORE3276: Installing a new configuration
    INFO: CORE3280: A new configuration was successfully installed
    INFO: WEB4004: Closing web application environment for virtual server [server1]
    INFO: LDR5010: All ejb(s) of [StorageDeviceApp] loaded successfully!
    WARNING: CORE3229: Quality of service (QOS) is disabled in the HTTP service. Un
    able to turn on QOS features.
    INFO: CORE3276: Installing a new configuration
    INFO: WEB0100: Loading web module [StorageDeviceApp:servlet.war] in virtual serv
    er [server1] at [defaultContext]
    INFO: WEB0116: Using alternate deployment descriptor [C:\Sun\AppServer7\domains\
    domain1\server1\applications\j2ee-apps\StorageDeviceApp_1\servlet_war/../servlet
    .xml] for web module [StorageDeviceApp:servlet.war]
    INFO: CORE3282: stdout: looking up java:comp/env/ejb/jndiStorageDevice
    INFO: CORE3282: stdout: lookup ok
    INFO: CORE3282: stdout: creating stocker 88
    INFO: CORE3282: stdout: setting entity context
    INFO: CORE3282: stdout: finished setting context
    WARNING: CORE3283: stderr: java.lang.NoSuchMethodException: setdataSourceName
    WARNING: CORE3283: stderr: at com.sun.enterprise.util.Utility.invokeSetMeth
    odCaseInsensitive(Utility.java:373)
    WARNING: CORE3283: stderr: at com.sun.enterprise.repository.JdbcConnectionP
    ool.createDataSource(JdbcConnectionPool.java:238)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.JdbcUrlAllocator.
    createResource(JdbcUrlAllocator.java:80)
    SEVERE: RAR5027:Unexpected exception in resource pooling
    com.sun.enterprise.resource.PoolingException
    at com.sun.enterprise.resource.JdbcUrlAllocator.createResource(JdbcUrlAl
    locator.java:100)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyReso
    urces(IASNonSharedResourcePool.java:856)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonS
    haredResourcePool.java:416)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResou
    rce(IASNonSharedResourcePool.java:625)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASN
    onSharedResourcePool.java:520)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolM
    anagerImpl.java:263)
    at com.sun.enterprise.resource.JdbcXAConnection.<init>(JdbcXAConnection.
    java:74)
    at com.sun.enterprise.resource.SystemJdbc10XaAllocator.createResource(Sy
    stemJdbc10XaAllocator.java:52)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyReso
    urces(IASNonSharedResourcePool.java:856)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonS
    haredResourcePool.java:416)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResou
    rce(IASNonSharedResourcePool.java:625)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASN
    onSharedResourcePool.java:520)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolM
    anagerImpl.java:263)
    at com.sun.enterprise.resource.SystemJdbcDataSource.internalGetConnectio
    n(SystemJdbcDataSource.java:226)
    at com.sun.enterprise.resource.SystemJdbcDataSource.getConnection(System
    JdbcDataSource.java:154)
    at com.sun.jdo.spi.persistence.support.sqlstore.ejb.TransactionHelperImp
    l.getConnection(TransactionHelperImpl.java:171)
    at com.sun.jdo.spi.persistence.support.sqlstore.ejb.EJBHelper.getConnect
    ion(EJBHelper.java:169)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManag
    erFactory.getDBName(SQLPersistenceManagerFactory.java:781)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManag
    erFactory.getFromPool(SQLPersistenceManagerFactory.java:709)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManag
    erFactory.getPersistenceManager(SQLPersistenceManagerFactory.java:598)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerF
    actoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:770)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerF
    actoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:660)
    at device.StorageDeviceBean_826330090_ConcreteImpl.jdoGetPersistenceMana
    ger(StorageDeviceBean_826330090_ConcreteImpl.java:539)
    at device.StorageDeviceBean_826330090_ConcreteImpl.ejbCreate(StorageDevi
    ceBean_826330090_ConcreteImpl.java:255)
    at device.StorageDeviceBean_826330090_ConcreteImpl_RemoteHomeImpl.create
    (StorageDeviceBean_826330090_ConcreteImpl_RemoteHomeImpl.java:27)
    at device._StorageDeviceHome_Stub.create(Unknown Source)
    at StorageDeviceServlet.init(StorageDeviceServlet.java:40)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
    java:921)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:81
    3)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
    t.java:3346)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
    592)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345
    at org.apache.catalina.startup.Embedded.start(Embedded.java:957)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170)
    com.sun.enterprise.repository.J2EEResourceException
    java.lang.NoSuchMethodE
    WARNING: Cannot get database metadata: database product name.
    java.sql.SQLException: com.sun.enterprise.repository.J2EEResourceException
    java.lang.NoSuchMethodException: setdataSourceName
    at com.sun.enterprise.resource.SystemJdbcDataSource.internalGetConnectio
    n(SystemJdbcDataSource.java:252)
    at com.sun.enterprise.resource.SystemJdbcDataSource.getConnection(System
    JdbcDataSource.java:154)
    at com.sun.jdo.spi.persistence.support.sqlstore.ejb.TransactionHelperImp
    l.getConnection(TransactionHelperImpl.java:171)
    at com.sun.jdo.spi.persistence.support.sqlstore.ejb.EJBHelper.getConnect
    ion(EJBHelper.java:169)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManag
    erFactory.getDBName(SQLPersistenceManagerFactory.java:781)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManag
    erFactory.getFromPool(SQLPersistenceManagerFactory.java:709)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManag
    erFactory.getPersistenceManager(SQLPersistenceManagerFactory.java:598)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerF
    actoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:770)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerF
    actoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:660)
    at device.StorageDeviceBean_826330090_ConcreteImpl.jdoGetPersistenceMana
    ger(StorageDeviceBean_826330090_ConcreteImpl.java:539)
    at device.StorageDeviceBean_826330090_ConcreteImpl.ejbCreate(StorageDevi
    ceBean_826330090_ConcreteImpl.java:255)
    at device.StorageDeviceBean_826330090_ConcreteImpl_RemoteHomeImpl.create
    (StorageDeviceBean_826330090_ConcreteImpl_RemoteHomeImpl.java:27)
    at device._StorageDeviceHome_Stub.create(Unknown Source)
    at StorageDeviceServlet.init(StorageDeviceServlet.java:40)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
    java:921)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:81
    3)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
    t.java:3346)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
    592)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345
    at org.apache.catalina.startup.Embedded.start(Embedded.java:957)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170)
    INFO: Bean StorageDevice method ejbCreate: problems during ejbCreate; parameters
    : Stocker88, 88
    com.sun.jdo.api.persistence.support.JDOFatalInternalException: Failed to get the
    vendor type for the data store.
    NestedException: java.sql.SQLException: com.sun.enterprise.repository.J2EEResour
    ceException
    java.lang.NoSuchMethodException: setdataSourceName
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManag
    erFactory.getDBName(SQLPersistenceManagerFactory.java:802)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManag
    erFactory.getFromPool(SQLPersistenceManagerFactory.java:709)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManag
    erFactory.getPersistenceManager(SQLPersistenceManagerFactory.java:598)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerF
    actoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:770)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerF
    actoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:660)
    at device.StorageDeviceBean_826330090_ConcreteImpl.jdoGetPersistenceMana
    ger(StorageDeviceBean_826330090_ConcreteImpl.java:539)
    at device.StorageDeviceBean_826330090_ConcreteImpl.ejbCreate(StorageDevi
    ceBean_826330090_ConcreteImpl.java:255)
    at device.StorageDeviceBean_826330090_ConcreteImpl_RemoteHomeImpl.create
    (StorageDeviceBean_826330090_ConcreteImpl_RemoteHomeImpl.java:27)
    at device._StorageDeviceHome_Stub.create(Unknown Source)
    at StorageDeviceServlet.init(StorageDeviceServlet.java:40)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
    java:921)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:81
    3)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
    t.java:3346)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
    592)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345
    at org.apache.catalina.startup.Embedded.start(Embedded.java:957)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResou
    rcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResou
    rcePool.initPool(IASNonSharedResourcePool.java:416)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResou
    rcePool.internalGetResource(IASNonSharedResourcePool.java:625)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResou
    rcePool.getResource(IASNonSharedResourcePool.java:520)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.PoolManagerImpl.g
    etResourceFromPool(PoolManagerImpl.java:263)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.JdbcXAConnection.
    <init>(JdbcXAConnection.java:74)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.SystemJdbc10XaAll
    ocator.createResource(SystemJdbc10XaAllocator.java:52)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResou
    rcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResou
    rcePool.initPool(IASNonSharedResourcePool.java:416)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResou
    rcePool.internalGetResource(IASNonSharedResourcePool.java:625)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResou
    rcePool.getResource(IASNonSharedResourcePool.java:520)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.PoolManagerImpl.g
    etResourceFromPool(PoolManagerImpl.java:263)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.SystemJdbcDataSou
    rce.internalGetConnection(SystemJdbcDataSource.java:226)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.SystemJdbcDataSou
    rce.getConnection(SystemJdbcDataSource.java:154)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    ejb.TransactionHelperImpl.getConnection(TransactionHelperImpl.java:171)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    ejb.EJBHelper.getConnection(EJBHelper.java:169)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    impl.SQLPersistenceManagerFactory.getDBName(SQLPersistenceManagerFactory.java:78
    1)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    impl.SQLPersistenceManagerFactory.getFromPool(SQLPersistenceManagerFactory.java:
    709)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    impl.SQLPersistenceManagerFactory.getPersistenceManager(SQLPersistenceManagerFac
    tory.java:598)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFacto
    ryImpl.java:770)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFacto
    ryImpl.java:660)
    WARNING: CORE3283: stderr: at device.StorageDeviceBean_826330090_ConcreteIm
    pl.jdoGetPersistenceManager(StorageDeviceBean_826330090_ConcreteImpl.java:539)
    WARNING: CORE3283: stderr: at device.StorageDeviceBean_826330090_ConcreteIm
    pl.ejbCreate(StorageDeviceBean_826330090_ConcreteImpl.java:255)
    WARNING: CORE3283: stderr: at device.StorageDeviceBean_826330090_ConcreteIm
    pl_RemoteHomeImpl.create(StorageDeviceBean_826330090_ConcreteImpl_RemoteHomeImpl
    .java:27)
    WARNING: CORE3283: stderr: at device._StorageDeviceHome_Stub.create(Unknown
    Source)
    WARNING: CORE3283: stderr: at StorageDeviceServlet.init(StorageDeviceServle
    t.java:40)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardWrapper.load
    Servlet(StandardWrapper.java:921)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardWrapper.load
    (StandardWrapper.java:813)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardContext.load
    OnStartup(StandardContext.java:3346)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardContext.star
    t(StandardContext.java:3592)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.ContainerBase.start(
    ContainerBase.java:1123)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardHost.start(S
    tandardHost.java:638)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.ContainerBase.start(
    ContainerBase.java:1123)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardEngine.start
    (StandardEngine.java:345)
    WARNING: CORE3283: stderr: at org.apache.catalina.startup.Embedded.start(Em
    bedded.java:957)
    WARNING: CORE3283: stderr: at com.iplanet.ias.web.WebContainer.start(WebCon
    tainer.java:426)
    WARNING: CORE3283: stderr: at com.iplanet.ias.web.WebContainer.startInstanc
    e(WebContainer.java:514)
    WARNING: CORE3283: stderr: at com.iplanet.ias.server.J2EERunner.confPostIni
    t(J2EERunner.java:170)
    WARNING: CORE3283: stderr: Caught an exception.
    WARNING: CORE3283: stderr: java.rmi.ServerException: RemoteException occurred in
    server thread; nested exception is:
    WARNING: CORE3283: stderr: java.rmi.RemoteException: nested exception is: c
    om.sun.jdo.api.persistence.support.JDOFatalInternalException: Failed to get the
    vendor type for the data store.
    WARNING: CORE3283: stderr: NestedException: java.sql.SQLException: com.sun.enter
    prise.repository.J2EEResourceException
    WARNING: CORE3283: stderr: java.lang.NoSuchMethodException: setdataSourceName; n
    ested exception is:
    WARNING: CORE3283: stderr: com.sun.jdo.api.persistence.support.JDOFatalInte
    rnalException: Failed to get the vendor type for the data store.
    WARNING: CORE3283: stderr: NestedException: java.sql.SQLException: com.sun.enter
    prise.repository.J2EEResourceException
    WARNING: CORE3283: stderr: java.lang.NoSuchMethodException: setdataSourceName
    WARNING: CORE3283: stderr: at com.sun.corba.ee.internal.javax.rmi.CORBA.Uti
    l.wrapException(Util.java:364)
    WARNING: CORE3283: stderr: at javax.rmi.CORBA.Util.wrapException(Util.java:
    277)
    WARNING: CORE3283: stderr: at device._StorageDeviceHome_Stub.create(Unknown
    Source)
    WARNING: CORE3283: stderr: at StorageDeviceServlet.init(StorageDeviceServle
    t.java:40)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardWrapper.load
    Servlet(StandardWrapper.java:921)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardWrapper.load
    (StandardWrapper.java:813)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardContext.load
    OnStartup(StandardContext.java:3346)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardContext.star
    t(StandardContext.java:3592)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.ContainerBase.start(
    ContainerBase.java:1123)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardHost.start(S
    tandardHost.java:638)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.ContainerBase.start(
    ContainerBase.java:1123)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardEngine.start
    (StandardEngine.java:345)
    WARNING: CORE3283: stderr: at org.apache.catalina.startup.Embedded.start(Em
    bedded.java:957)
    WARNING: CORE3283: stderr: at com.iplanet.ias.web.WebContainer.start(WebCon
    tainer.java:426)
    WARNING: CORE3283: stderr: at com.iplanet.ias.web.WebContainer.startInstanc
    e(WebContainer.java:514)
    WARNING: CORE3283: stderr: at com.iplanet.ias.server.J2EERunner.confPostIni
    t(J2EERunner.java:170)
    WARNING: CORE3283: stderr: Caused by: java.rmi.RemoteException: nested exception
    is: com.sun.jdo.api.persistence.support.JDOFatalInternalException: Failed to ge
    t the vendor type for the data store.
    WARNING: CORE3283: stderr: NestedException: java.sql.SQLException: com.sun.enter
    prise.repository.J2EEResourceException
    WARNING: CORE3283: stderr: java.lang.NoSuchMethodException: setdataSourceName; n
    ested exception is:
    WARNING: CORE3283: stderr: com.sun.jdo.api.persistence.support.JDOFatalInte
    rnalException: Failed to get the vendor type for the data store.
    WARNING: CORE3283: stderr: NestedException: java.sql.SQLException: com.sun.enter
    prise.repository.J2EEResourceException
    WARNING: CORE3283: stderr: java.lang.NoSuchMethodException: setdataSourceName
    WARNING: CORE3283: stderr: at com.sun.enterprise.iiop.POAProtocolMgr.mapExc
    eption(POAProtocolMgr.java:451)
    WARNING: CORE3283: stderr: at com.sun.ejb.containers.BaseContainer.postInvo
    ke(BaseContainer.java:545)
    INFO: CORE3280: A new configuration was successfully installed
    INFO: WEB4004: Closing web application environment for virtual server [server1]
    WARNING: CORE3283: stderr: at device.StorageDeviceBean_826330090_ConcreteIm
    pl_RemoteHomeImpl.create(StorageDeviceBean_826330090_ConcreteImpl_RemoteHomeImpl
    .java:33)
    WARNING: CORE3283: stderr: at device._StorageDeviceHome_Stub.create(Unknown
    Source)
    WARNING: CORE3283: stderr: ... 13 more
    WARNING: CORE3283: stderr: Caused by: com.sun.jdo.api.persistence.support.JDOFat
    alInternalException: Failed to get the vendor type for the data store.
    WARNING: CORE3283: stderr: NestedException: java.sql.SQLException: com.sun.enter
    prise.repository.J2EEResourceException
    WARNING: CORE3283: stderr: java.lang.NoSuchMethodException: setdataSourceName
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    impl.SQLPersistenceManagerFactory.getDBName(SQLPersistenceManagerFactory.java:80
    2)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    impl.SQLPersistenceManagerFactory.getFromPool(SQLPersistenceManagerFactory.java:
    709)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    impl.SQLPersistenceManagerFactory.getPersistenceManager(SQLPersistenceManagerFac
    tory.java:598)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFacto
    ryImpl.java:770)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFacto
    ryImpl.java:660)
    WARNING: CORE3283: stderr: at device.StorageDeviceBean_826330090_ConcreteIm
    pl.jdoGetPersistenceManager(StorageDeviceBean_826330090_ConcreteImpl.java:539)
    WARNING: CORE3283: stderr: at device.StorageDeviceBean_826330090_ConcreteIm
    pl.ejbCreate(StorageDeviceBean_826330090_ConcreteImpl.java:255)
    WARNING: CORE3283: stderr: at device.StorageDeviceBean_826330090_ConcreteIm
    pl_RemoteHomeImpl.create(StorageDeviceBean_826330090_ConcreteImpl_RemoteHomeImpl
    .java:27)
    WARNING: CORE3283: stderr: ... 14 more
    INFO: CORE5022: All ejb(s) of [StorageDeviceApp] were unloaded successfully!
    WARNING: CORE3229: Quality of service (QOS) is disabled in the HTTP service. Un
    able to turn on QOS features.
    INFO: CORE3276: Installing a new configuration
    INFO: CORE3280: A new configuration was successfully installed
    INFO: WEB4004: Closing web application environment for virtual server [server1]

    Most probably you have an error in resources setup. Please check the <resources> section of the instance server.xml
    or via the admin ui.
    Regards,
    Marina

Maybe you are looking for

  • BSP Error while selecting "campaign elements" in spanish --- crm 2007

    Hi experts, I´m trying to look for a solution for a problem with an error that occours while selecting in WEB UI --marketing --- campaign elements , in spanish language. Error Business Server Page (BSP) <thtmlb:textView>: (design) The Attribute Value

  • Problem with availability check due to credit block

    Dear Experts, I am facing a problem with availability check for a  sales order which is blocked against credit check Like, i have a open sales order with mulitiple line items around 10 line items, out of which all the 10 line items have unrestricted

  • Not able to display all the componets using GridBagLayout manager

    Hii Javaites I m using GridBagLayout manager to display my components. But there is some problem. I am not able to view the last element of my second Row. Can anybody tell me what is wrong. This is driving me crazy. // code...........................

  • Off-Cycle Posting

    Dears; we are trying to make posting for the off-cycle activities that has been done during the month, but when the users insert the date to be the end of the month the system doesn't give them the whole list of the employees that had an off-cycle ac

  • Drawbacks to the new CS6 Color Picker?

    What do people think about the new color picker in Fireworks CS6? I like the new larger swatches and default palette: a revised "Color Cubes" layout that includes non-web-safe colors and a selection of warm and cool greys/neutrals. I also like the op