Java.lang.NoSuchMethodError JAR problem

Hi
Running on Pocket PC using IBMs j9.
If we build Jar A with a different library Jar B where a method in a class in A refers to a method in a class in B we get java.lang.NoSuchMethodError at runtime. Despite the fact that in jar B the Class and it's methods have not changed.
This is worrying. Anybody got an explanation?
Many thanks
Ged
a copy of any comment to [email protected] would be appreciated

Hi
Both jars are our own libraries. If we compare a calling jar (A) compiled against different called jars (B) then they are different !*@???
I agree that one might expect that it is finding another implementation on the class path that is missing the method but I haven't found anything . The environment is an XDA 2 so it is limited.
To add insult to injury we seem to have found another, different instance of the problem today.
I must admit that I feel that we are missing something (brains ?).
Cheers
Ged

Similar Messages

  • Wsrp problem  weblogic sp3 java.lang.NoSuchMethodError: setDeploymentCallba

    if you get below stack trace while you want to activate wsrp in your sp3 producer the problem is that the JavaPortletLoader class in thewsrp-java-portlet-adapter. jar references to a sp6 class's method setDeploymentCallback which is in portlet-container.jar .
    You have to replace your sp3 portlet-container.jar with the sp6 version..that's all!!
    STACK TRACE:
    javax.servlet.ServletException: setDeploymentCallback
         at com.bea.wsrp.producer.WsrpServer.init()V(WsrpServer.java:113)
         at javax.servlet.GenericServlet.init(Ljavax.servlet.ServletConfig;)V(GenericServlet.java:258)
         at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run()Ljava.lang.Object;(ServletStubImpl.java:1018)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
         at weblogic.servlet.internal.ServletStubImpl.createServlet()Ljavax.servlet.Servlet;(ServletStubImpl.java:894)
         at weblogic.servlet.internal.ServletStubImpl.createInstances()V(ServletStubImpl.java:873)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(Lweblogic.servlet.internal.RequestCallback;)V(ServletStubImpl.java:812)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(Ljava.lang.String;)V(WebAppServletContext.java:3281)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlets(Ljava.util.Vector;)V(WebAppServletContext.java:3238)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlets()V(WebAppServletContext.java:3224)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources()V(WebAppServletContext.java:3207)
         at weblogic.servlet.internal.HttpServer.preloadResources()V(HttpServer.java:694)
         at weblogic.servlet.internal.WebService.preloadResources()V(WebService.java:483)
         at weblogic.servlet.internal.ServletInitService.resume()V(ServletInitService.java:30)
         at weblogic.t3.srvr.SubsystemManager.resume()V(SubsystemManager.java:131)
         at weblogic.t3.srvr.T3Srvr.resume()V(T3Srvr.java:966)
         at weblogic.t3.srvr.T3Srvr.run([Ljava.lang.String;)I(T3Srvr.java:361)
         at weblogic.Server.main([Ljava.lang.String;)V(Server.java:32)
    Caused by: java.lang.NoSuchMethodError: setDeploymentCallback
         at com.bea.wsrp.producer.adapter.javaportlet.JavaPortletLoader.init(Ljavax.servlet.ServletContext;)V(JavaPortletLoader.java:86)
         at com.bea.wsrp.producer.repository.PortletRepository.initLoaders(Ljavax.servlet.ServletContext;)V(PortletRepository.java:150)
         at com.bea.wsrp.producer.repository.PortletRepository.init(Ljavax.servlet.ServletContext;)V(PortletRepository.java:109)
         at com.bea.wsrp.producer.handlers.metadata.ServiceDescriptionServiceHandler.init(Ljavax.servlet.ServletContext;)V(ServiceDescriptionServiceHandler.java:102)
         at com.bea.wsrp.producer.WsrpServer.bootstrapHandlers()V(WsrpServer.java:131)
         at com.bea.wsrp.producer.WsrpServer.init()V(WsrpServer.java:107)
         ... 18 more

    Hi..
    I guess itzz more of the service pack problems.
    Jars built on the later version won't work in the previous version (service packs) of weblogic.
    Try building a jar on the oldest version (service pack) u have and then try deploying it to the later version , i think it won't give u any problems.
    Try it out and let me know if u face any problems

  • Java.lang.NoSuchMethodError: javax/persistence/OneToMany.orphanRemoval()Z

    Hi,
    I have a web application that is built using Spring 3.2.1 and Hibernate 4.2.0 (JPA 2). The application deploys and runs well in Weblogic v 12.1.1. Now we have a change in the requirement from the client regarding the server version. The server needs to be downgraded to a lower version i.e., Weblogic v 10.3.2. Now, when I deploy the application onto this version of the server I get the following exception while deployment.
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains': Cannot resolve reference to bean 'org.springframework.security.web.DefaultSecurityFilterChain#0' while setting bean property 'sourceList' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#0': Cannot resolve reference to bean 'org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0' while setting constructor argument with key [3]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0': Cannot resolve reference to bean 'org.springframework.security.authentication.ProviderManager#0' while setting bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.authentication.ProviderManager#0': Cannot resolve reference to bean 'org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.authenticationManager': Cannot resolve reference to bean 'org.springframework.security.authentication.dao.DaoAuthenticationProvider#0' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.authentication.dao.DaoAuthenticationProvider#0': Cannot resolve reference to bean 'cpmaSecurityService' while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cpmaSecurityService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ncr.cpa.data.dao.UserDao com.ncr.cpa.service.impl.CPMASecurityService.userDAO; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDaoImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.ncr.cpa.data.dao.impl.UserDaoImpl.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContextTxManager.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax/persistence/OneToMany.orphanRemoval()Z
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:154)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1391)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1132)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:608)
      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:933)
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
      at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:390)
      at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)
      at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:113)
      at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1870)
      at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3155)
      at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:487)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
      at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:672)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
      at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
      at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
      at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
      at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
      at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
      at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
      at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
      at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
      at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
      at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
      at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
      at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
      at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    It looks like a problem with the JPA library. I tried few of the solutions after I did some research but were of no use. Below are the solutions that I had tried
    Solution 1:
    1) Copy hibernate-jpa-2.0-api-1.0.1.Final.jar into your weblogic's %DOMAIN_HOME%/lib directory.
    2) Open up your setDomainEnv.cmd (windows) or setDomainEnv sh (unix) script file and set your PRE_CLASSPATH variable to set PRE_CLASSPATH=%DOMAIN_HOME%\lib\hibernate-jpa-2.0-api-1.0.1.Final.jar
    After trying the above solution the exception is still raised while deployment of the application.
    Solution 2:
    Create "weblogic-application.xml" file into META-INF with something like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-application xmlns="http://xmlns.oracle.com/weblogic/weblogic-application">
    <application-param>
      <param-name>webapp.encoding.default</param-name>
      <param-value>UTF-8</param-value>
    </application-param>
    <prefer-application-packages> 
      <package-name>javax.persistence.*</package-name>
    </prefer-application-packages>
    </weblogic-application>
    After trying the above solution the exception is still raised while deployment of the application
    I really appreciate if anyone can suggest me what is causing this exception and how can I fix this?
    Thanks,
    Srikanth

    Hi,
    if you deplyo to Application Server 10.1.3 make sure you install the ADF runtime libraries 10.1.3.1. Shut down the Application Server and use the runtime installer from the JDeveloper tools menu
    Frank

  • Java.lang.NoSuchMethodError: getSocket using JavaMail inside JBoss

    Hi,
    i built a library to easily send emails with JavaMail, via SMTP. When i use my lib in a stand-alone java application, it works fine, but when i need to use it inside my web application, deployed on JBoss AS, i get the following error:
    Servlet.service() for servlet action threw exception
    java.lang.NoSuchMethodError: getSocket
         at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
         at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
         at javax.mail.Service.connect(Service.java:233)
         at it.compit.mail.helper.send.SMTPSender.send(SMTPSender.java:39) where it.compit.mail.helper.send.SMTPSender.send is the method i use to send email in my lib. SMTPSender.java at line 39 is
    SMTPTransport tr = (SMTPTransport) session.getTransport("smtp"); I don't want to use SessionBean to send email from JBoss AS. I did not include mail.jar in server/default/lib dir because JBoss has got a built-in implementation of JavaMail. Using javamail debugging, i've noticed that javamail inside my JBoss is "JavaMail version 1.3.1", while i used version 1.4ea to build my lib.
    So, any ideas to solve my problem?
    Thanks in advance.
    Elisa Distefano a.k.a Etha

    Hi bshannon,
    i looked for other javamail libs in my JBoss dir: found nothing but the only mail.jar located in server/default/lib/ (provided by default installation). I tried to specify the classpath into mail-service.xml without success.
    I also noticed that when JBoss starts, logs print "DEBUG: JavaMail version 1.3.1 " while the MANIFEST.MF inside my mail.jar contains "Implementation-Version: 1.4".
    My JBoss version is 4.0.4 GA. Any idea?!?

  • Java.lang.NoSuchMethodError using BasicHttpContext

    Hello
    I want to write a simple ChatClient.
    package com.inz.chat.client;
    import java.io.IOException;
    import java.io.InputStream;
    import org.apache.http.HttpEntity;
    import org.apache.http.HttpResponse;
    import org.apache.http.client.ClientProtocolException;
    import org.apache.http.client.HttpClient;
    import org.apache.http.client.methods.HttpGet;
    import org.apache.http.impl.client.DefaultHttpClient;
    public class ChatClient
         private HttpClient httpClient;
         private String servletUrl;
         public ChatClient(String urlPrefix)
              this.servletUrl = urlPrefix + "ChatServlet";
              this.httpClient = new DefaultHttpClient();
              connectWithServer();
         private void connectWithServer()
              System.out.println("connect to " + servletUrl);
              HttpGet httpget = new HttpGet(servletUrl);
              try {
                   HttpResponse response = this.httpClient.execute(httpget);
                   HttpEntity entity = response.getEntity();
                   if (entity != null)
                       InputStream instream = entity.getContent();
              } catch (ClientProtocolException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public static void main(String[] args)
              String prefix = "http://127.0.0.1:8080/InzChat/";
              new ChatClient(prefix);
    }But when i start the program i always get:
    Exception in thread "main" java.lang.NoSuchMethodError: org.apache.http.protocol.BasicHttpContext: method <init>()V not found
         at org.apache.http.impl.client.AbstractHttpClient.createHttpContext(AbstractHttpClient.java:273)
         at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:797)
         at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
         at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
         at com.inz.chat.client.ChatClient.connectWithServer(ChatClient.java:30)
         at com.inz.chat.client.ChatClient.<init>(ChatClient.java:22)
         at com.inz.chat.client.ChatClient.main(ChatClient.java:48)I tried to use httpcore-4.0.jar and httpcore-4.1.jar, but the error is always the same. In other projects I used httpcore-4.1.jar to establish http connections without any problems, but here is something wrong...
    Next to the jre1.6 classes and the tomcat 6 classes I have appframework-1.03.jar, commons-codec-1.4.jar, commons-logging-1.1.1.jar, httpclient-4.1.1.jar, httpclient-cache-4.1.1.jar, httpmime-4.1.1.jar set to the classpath, but there seems to be a problem
    I' m using Eclipse for develpoment and I hope someone knows what to do here...
    Kind regards,
    Chang
    Edited by: Chang on 02.09.2011 04:58

    Hello EJP thanks for your answer.
    I put the jar files in the Project Properties->Java Build Path dialog to the project like i did it many times before. Now i added httpcore-4.0.jar and httpcore-4.1.jar to the classpath, but no difference the error is still the same. I don't know which jar files get used at runtime.
    Alternatively i put the jar files in a lib folder under the WEB-INF folder, but the error leaves the same.
    Can you please explain me the solution a little more detailed.
    Kind regards,
    Chang

  • Java.lang.NoSuchMethodError: oracle.forms.handler.IHandler.getApplet()Ljava

    Hello to all
    I hope it is right forum for my question
    I have found for error I get in Directprint this following:
    When you migrate to the latest Forms version (10.1.2.3 or 11) and try using a JavaBean created with an older Forms version, you can get the following error, at runtime, in the Java Console:
    Exception in thread "thread applet-oracle.forms.engine.Main-1" java.lang.NoSuchMethodError: oracle.forms.handler.IHandler.getApplet()Ljava/applet/Applet
    The reason is you try to use a Java Bean compiled with an older Forms JAR file, like f90all.jar.
    So, to correct the issue, you have to change the Java code then re-create the JAR file:
    private Main formsMain = null;
    Replace:
    formsMain = (Main) handler.getApplet();
    by:
    // getting the Forms Main class
    try{
    Method method = handler.getClass()
    .getMethod("getApplet", new Class[0]);
    Object applet = method.invoke(handler, new Object[0]);
    if (applet instanceof Main) {
    formsMain = (Main)applet;
    }catch(Exception ex) {;}
    Then create and deploy the new JAR file to your /forms/Java folder.
    My problem is
    But I am very poor in java code, could you guide me to do what that article said, or pointing me where find instruction how do this following
    So, to correct the issue, you have to change the Java code then re-create the JAR file:Can I create Jar Directprint.jar, with command
    jar cf jar-file input-file(s)
    C:\DevSuiteHome_1\jdk\bin\jar cvf DirectPrint.jar DirectPrint.java
    Because when I open jdeveloper to associate (Creating JAR deployments using JDeveloper ) it got error (jdeveloper with debug
    Thanks for any help

    I hope it is right forum for my questionIt's not {noformat}:){noformat}
    Try {forum:id=82}
    Best,
    john

  • Java Exception: java.lang.NoSuchMethodError -while accessing Job Code Table

    Recently we upgraded tools from 8.51.03 to 8.52.12
    when try to open data from below navigation.
    Set Up HRMS--> Foundation Tables--> Job Attributes---> Job Code Table
    then getting below error. Seriously doubt if a jar file is missing in PS_APP_HOME/class. Any clue?
    Java Exception: java.lang.NoSuchMethodError: PeopleSoft.PeopleCode.Func.CreateSQL(Ljava/lang/String;[Ljava/lang/Object;)LPeopleSoft/PeopleCode/SQL;: during call of com.peoplesoft.hr.hr.cache.MetaCatalog.getObjectCatalog. (2,763) HCMD_CORE.metadata.ObjectCatalog.OnExecute Name:getJavaObject PCPC:1099 Statement:19
    Called from:HCMD_CORE.metadata.ObjectCatalog.OnExecute Name:FindJavaObject Statement:177
    Called from:HCMD_CORE.metadata.ObjectCatalog.OnExecute Name:FindObject Statement:212
    Called from:WCS_SOURCE.Implementation.EmployeeInformationImpl.OnExecute Name:GetRecordField Statement:67
    Called from:WCS_SOURCE.Implementation.EmployeeInformationImpl.OnExecute Name:CreateCache Statement:26
    Called from:WCS_SOURCE.Impleme
    The noted Java error was thrown during a call of the given method.
    Error Codes
    Java Exception: java.lang.NoSuchMethodError: PeopleSoft.PeopleCode.Func.CreateSQL(Ljava/lang/String;[Ljava/lang/Object;)LPeopleSoft/PeopleCode/SQL;: during call of com.peoplesoft.hr.hr.cache.MetaCatalog.getObjectCatalog. (2,763)
    Problem Category/Subcategory                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Not sure about 8.52, but in 8.51, I found the PeopleSoft.PeopleCode.Func class in PS_HOME/appserv/classes/peoplecode.jar, and CLASSPATH gets set to PS_HOME/appserv/classes by psconfig.sh
    Not an answer, but it might give you some ideas on where to look.
    Regards,
    Bob

  • "java.lang.NoSuchMethodError" when migrating from 1.5 to 2.0

    [ Problem ]
    E:\Adobe2.0\Flash Access Reference Server Implementation\migration>java -cp bin;
    libs\*;libs\1.5\*;libs\2.0\* com.adobe.flashaccess.refimpl.migration.V1_5PolicyC
    onverter all
    Exception in thread "main" java.lang.NoSuchMethodError: com.adobe.schema._1_0.pd
    rl.Permission.getConstraint()Ljava/util/List;
            at com.adobe.flashaccess.sdk.policy.PolicyRightHelper.addToPolicy(Policy
    RightHelper.java:272)
            at com.adobe.flashaccess.sdk.policy.PolicyRightHelper.toPDRL(PolicyRight
    Helper.java:233)
            at com.adobe.flashaccess.sdk.policy.PolicyRightHelper.toASN1(PolicyRight
    Helper.java:97)
            at com.adobe.flashaccess.sdk.policy.Policy.serializePolicy(Policy.java:6
    70)
            at com.adobe.flashaccess.sdk.policy.Policy.getBytes(Policy.java:181)
            at com.adobe.flashaccess.refimpl.migration.AbstractPolicyConverter.write
    PolicyToFile(AbstractPolicyConverter.java:100)
            at com.adobe.flashaccess.refimpl.migration.V1_5PolicyConverter.convertPo
    licies(V1_5PolicyConverter.java:140)
            at com.adobe.flashaccess.refimpl.migration.V1_5PolicyConverter.main(V1_5
    PolicyConverter.java:87)
    [ Solution ]
    The class mentioned in the error message is in rm-pdrl.jar, which should be in your libs/2.0 directory.  There may be a conflict between this jar and something in libs/1.5.  Please try moving libs/2.0 before libs/1.5 in your classpath and see if that resolves the issue.

    hi Arie,
    thanks for the tip ;-), I was using application id which was already use in my htmldb installation. I changed the id in the f105.sql to something which was not used and it went through fine.
    We often run htmldb imports through sqlplus because when running it through web site it too often fails with timeout. When import is done through the web site I believe htmldb does the id modification automatically but in sqlplus that obviously won't happen hence we need to do it manually before running the script. If we don't change it import will fail as the workspace with the id mentioned in the sql script does not exist. Like you said might not be supported ....but it still works fine... :-)
    thanks for your help.
    Nina

  • JSTL throwing java.lang.NoSuchMethodError: Exception

    Hai folks,
    I was trying to install JSTL in tomcat's container.
    I've copied all jar files into the webapps\ROOT\WEB-INF\lib directory.TLD files are copied to the webapps\ROOT\WEB-INF directory. I've also rewrited the web.xml with corresponding TLD's uri mappings.
    But i am always getting this exception.
    org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NoSuchMethodError:
    javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
    at org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:568)
    at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:401)
    at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
    at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
    at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
    at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
    at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
    at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
    at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
    at
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:7
    38)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
    at
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    Please help.

    Hai folks,
    I was trying to install JSTL in tomcat's container.
    I've copied all jar files into the
    webapps\ROOT\WEB-INF\lib directory.TLD files are
    copied to the webapps\ROOT\WEB-INF directory. I've
    also rewrited the web.xml with corresponding TLD's
    uri mappings.Delete the TLDs. Remove the taglib changes you made to the web.xml. I am not sure what tutorial tells people to do this, but it is WRONG for installing JSTL (or any Custom Tag Library that is packaged properly).
    All you need is the standard.jar and jstl.jar in your WEB-INF/lib directory (and maybe an XMLParser if you are using the <xml: tags).
    Anyway. That may not be your main problem. Make sure you are using the correct version of JSTL for you server.
    If you are using Tomcat 4, you need JSTL 1.0
    If you are using Tomcat 5, you need JSTL 1.1
    >
    But i am always getting this exception.
    org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw
    exception
    java.lang.NoSuchMethodError:
    javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava
    /lang/String;ZLjava/lang/String;ZZ)V
    at
    t
    org.apache.jasper.compiler.TagLibraryInfoImpl.createAt
    tribute(TagLibraryInfoImpl.java:568)
    at
    t
    org.apache.jasper.compiler.TagLibraryInfoImpl.createTa
    gInfo(TagLibraryInfoImpl.java:401)
    at
    t
    org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD
    (TagLibraryInfoImpl.java:248)
    at
    t
    org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(T
    agLibraryInfoImpl.java:162)
    at
    t
    org.apache.jasper.compiler.Parser.parseTaglibDirective
    (Parser.java:418)
    at
    t
    org.apache.jasper.compiler.Parser.parseDirective(Parse
    r.java:483)
    at
    t
    org.apache.jasper.compiler.Parser.parseElements(Parser
    .java:1539)
    at
    t
    org.apache.jasper.compiler.Parser.parse(Parser.java:12
    6)
    at
    t
    org.apache.jasper.compiler.ParserController.doParse(Pa
    rserController.java:211)
    at
    t
    org.apache.jasper.compiler.ParserController.parse(Pars
    erController.java:100)
    at
    t
    org.apache.jasper.compiler.Compiler.generateJava(Compi
    ler.java:146)
    at
    t
    org.apache.jasper.compiler.Compiler.compile(Compiler.j
    ava:286)
    at
    t
    org.apache.jasper.compiler.Compiler.compile(Compiler.j
    ava:267)
    at
    t
    org.apache.jasper.compiler.Compiler.compile(Compiler.j
    ava:255)
    at
    t
    org.apache.jasper.JspCompilationContext.compile(JspCom
    pilationContext.java:556)
    at
    t
    org.apache.jasper.servlet.JspServletWrapper.service(Js
    pServletWrapper.java:296)
    at
    t
    org.apache.jasper.servlet.JspServlet.serviceJspFile(Js
    pServlet.java:295)
    at
    t
    org.apache.jasper.servlet.JspServlet.service(JspServle
    t.java:245)
    at
    t
    javax.servlet.http.HttpServlet.service(HttpServlet.jav
    a:853)
    at
    t
    org.apache.catalina.core.ApplicationFilterChain.intern
    alDoFilter(ApplicationFilterChain.java:252)
    at
    t
    org.apache.catalina.core.ApplicationFilterChain.doFilt
    er(ApplicationFilterChain.java:173)
    at
    t
    org.apache.catalina.core.StandardWrapperValve.invoke(S
    tandardWrapperValve.java:214)
    at
    t
    org.apache.catalina.core.StandardContextValve.invoke(S
    tandardContextValve.java:178)
    at
    t
    org.apache.catalina.core.StandardHostValve.invoke(Stan
    dardHostValve.java:126)
    at
    t
    org.apache.catalina.valves.ErrorReportValve.invoke(Err
    orReportValve.java:105)
    at
    t
    org.apache.catalina.core.StandardEngineValve.invoke(St
    andardEngineValve.java:107)
    at
    t
    org.apache.catalina.connector.CoyoteAdapter.service(Co
    yoteAdapter.java:148)
    at
    t
    org.apache.coyote.http11.Http11Processor.process(Http1
    1Processor.java:825)
    at
    org.apache.coyote.http11.Http11Protocol$Http11Connecti
    onHandler.processConnection(Http11Protocol.java:7
    38)
    at
    t
    org.apache.tomcat.util.net.PoolTcpEndpoint.processSock
    et(PoolTcpEndpoint.java:526)
    at
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.
    runIt(LeaderFollowerWorkerThread.java:80)
    at
    t
    org.apache.tomcat.util.threads.ThreadPool$ControlRunna
    ble.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    Please help.

  • Java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl

    Hi All,
    I have recently encountered very very unusual problem which am not able to understand. If you could kindly shade some light on that it would be of great help. I have three environment where the application is being deployed. In the first two environment it works fine without any problem. But when I deployed in the third environment it behave very funny. The full stack trace of the error is bellow:
    Exception in EJBTestClient: java.rmi.RemoteException: ; nested exception is:
    weblogic.rmi.ServerError: A RemoteException occurred in the server metho
    d
    - with nested exception:
    [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method findMeth
    The problem occurs when I try to call EJB from client. When I re-build the EJBS on the same environment it works fine. Am not able to understand this unusual behavior. If you could kindly help me understand the problem it would of great help. The environments are as follows.
    ENV-1
    OS - SunOS 5.6 Generic_105181-23 sun4u sparc SUNW,Ultra-Enterprise
    JDK - Solaris VM (build Solaris_JDK_1.2.2_07, native threads, sunwjit)
    Weblogic - 5.1.0 Service Pack 8 12/20/2000 16:34:54 #95137
    Oracle � 8.1.6
    ENV-2
    OS - SunOS 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise
    JDK - Solaris VM (build Solaris_JDK_1.2.2_07, native threads, sunwjit)
    Weblogic - 5.1.0 Service Pack 9 04/06/2001 12:10:43 #105983
    Oracle � 8.1.6
    ENV-3
    OS - SunOS cfesit 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise
    JDK - Solaris VM (build Solaris_JDK_1.2.2_07, native threads, sunwjit)
    Weblogic - 5.1.0 Service Pack 9 04/05/2001 14:59:53 #105983
    Oracle � 8.1.6
    The problem occurs in the 3rd environment.
    Cheers,
    Tapas
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi..
    I guess itzz more of the service pack problems.
    Jars built on the later version won't work in the previous version (service packs) of weblogic.
    Try building a jar on the oldest version (service pack) u have and then try deploying it to the later version , i think it won't give u any problems.
    Try it out and let me know if u face any problems

  • Java.lang.NoSuchMethodError: getEncodedURL when running junits for webservi

    Hi,
    We are getting NosuchMethodError when we are trying to run the junits for the webservice clients through ant script.But when we are executing the same junits through weblogic workshop, junits are running finely.Please let me know, if any one knows the solution
    Exception:
    Caused an ERROR
    getEncodedURL
    java.lang.NoSuchMethodError: getEncodedURL
    at weblogic.wsee.util.is.InputSourceUtil.loadURL(InputSourceUtil.java:44)
    at weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:118)
    at weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:65)
    at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311)
    at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:305)
    at weblogic.wsee.jaxws.framework.jaxrpc.client.ClientEnvironmentFactory.getWsdlDef(ClientEnvironmentFactory.java:156)
    at weblogic.wsee.jaxws.framework.jaxrpc.EnvironmentFactory.getService(EnvironmentFactory.java:393)
    at weblogic.wsee.jaxws.framework.jaxrpc.EnvironmentFactory.buildDeploymentContext(EnvironmentFactory.java:581)
    at weblogic.wsee.jaxws.framework.jaxrpc.EnvironmentFactory.getDeploymentContext(EnvironmentFactory.java:570)
    at weblogic.wsee.jaxws.framework.jaxrpc.TubelineDeploymentListener.createClient(TubelineDeploymentListener.java:48)
    at weblogic.wsee.jaxws.WLSTubelineAssemblerFactory$TubelineAssemblerImpl.createClient(WLSTubelineAssemblerFactory.java:46)
    at com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.java:446)
    at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:639)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:342)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:324)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:306)
    at javax.xml.ws.Service.getPort(Service.java:92)

    Hi,
    This is the problem with the jaxws-rt.jar in my classpath.I have removed the jar from the class path then it started working
    culprit here is ‘com.sun.xml.ws.util. JAXWSUtils’ which is defined in jaxws.rt.<version>.jar. Weblogic 10 uses glassfish.jaxws.rt_2.1.3.jar.
    Could you please check in (ANT) classpath where in any other jaxws.rt.jar being referred which may not have ‘getEncodedURL’ method definition

  • Java.lang.NoSuchMethodError error when ODI sends mesages to Apache activemq

    Hi Team,
    I am struggling with the configuration of ODI and activemq. I really appreciate if someone could suggest me what is missing in my configuration.
    Topology: JMS Queue
    Data Server: JMS_QUEUE_TRACKER
    JNDI:
    JNDI Authentification: Simple
    JNDI USER, PASSWORD and JNDI Protocol are all empty
    JNDI driver: org.apache.activemq.jndi.ActiveMQInitialContextFactory
    JNDI Url: tcp://11.111.1.111:61616
    JNDI Resource: ConnectionFactory
    Tested connection: PASS
    Created physical schema and context and logic schema, saved.
    Model: JMS_QUEUE
    Code: JMS_QUEUE
    Technology: JMS Queue
    Logical Schema JMS_QUEUE_TRACKER
    Datastore: ODI JMS
    Datastore Type: Table
    Resource Name: dynamicQueues/example.A
    Files tab: File Format: fixed
    Record Separator: MS-DOS
    Field Separator: Space
    Columns tab: Add one column DATA string length 50
    Interface: Interface testjms
    use IKM: IKM SQL to JMS Append, migrate one column of oracle table to the queue(Datastore: ODI JMS)
    Copied activemq-all-5.5.0.jar, geronimo-jms_1.1_spec-1.1.1.jar, slf4j-log4j12-1.5.11.jar and log4j-1.2.14.jar to $ODI/oracledi/agent/drivers, restart the standalone agent.
    run interface Interface testjms by standalone agent.
    The error message is:
    ODI-1217: Session INTERFACE TESTJMS (787001) fails with return code 7000.
    ODI-1226: Step INTERFACE TESTJMS fails after 1 attempt(s).
    ODI-1240: Flow INTERFACE TESTJMS fails while performing a Integration operation. This flow loads target table ODI JMS.
    Caused By: java.lang.NoSuchMethodError: org.apache.activemq.ActiveMQMessageProducerSupport.getDestination()Ljavax/jms/Destination;
         at org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:269)
         at com.sunopsis.jdbc.driver.JMSQueueConnection.treatInsertedRow(JMSQueueConnection.java:1102)
         at com.sunopsis.jdbc.driver.FileSnpsTableFix.insertRow(FileSnpsTableFix.java:153)
         at com.sunopsis.jdbc.driver.SnpsDriverPreparedStatement.executeUpdate(SnpsDriverPreparedStatement.java:156)
         at com.sunopsis.jdbc.driver.SnpsDriverPreparedStatement.execute(SnpsDriverPreparedStatement.java:116)
         at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
         at oracle.odi.runtime.agent.execution.sql.BatchSQLCommand.execute(BatchSQLCommand.java:49)
         at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
         at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
    I seems I have put all necessary libs in the path but I am very confused why I still meet this error.
    Thanks so much for your kind help
    Peiran

    Hi
    Hope below URL may helps your problem, because it has similar kind of error message.
    URL: Issue while running a scenario while using TTU in ODI
    Regards,
    Phanikanth

  • Java.lang.NoSuchMethodError: init when running in a Thread

    I have a Java class that calls a C++ function (JNI) and the return of that function is a Java object:
    There�s the problematic C++ code:
    jclass taskDescriptorClass = env->FindClass("a/b/TaskDescriptor");
    if (taskDescriptorClass == NULL) {
         //Class cannot be found
         return NULL;
    jmethodID constructorMID = env->GetMethodID(taskDescriptorClass, "<init>", "void(V)");
    if (constructorMID == NULL) {
         return NULL;
    }This code as always behaved as expected, running in a JUnit test. But now I�m calling the code inside a thread (new Thread(new Runnable() { public void run() { ...NATIVE CALL...), but now I�m getting an exception:
    Exception in thread "thrd1" java.lang.NoSuchMethodError: <init>
         at a.b.JTLs.createTask(Native Method)
         at a.b.GrammarBuilder.build(GrammarBuilder.java:216)
         at a.b.GrammarManager.getModel(GrammarManager.java:230)
         at a.b.GrammarManager.getModel(GrammarManager.java:146)
         at a.b.TestGrammarManager$1.run(TestGrammarManager.java:58)
         at java.lang.Thread.run(Thread.java:595) I�m using J2SE 5 update 06
    Does anyone know why is this happening?
    Thanks

    Hi,
    This is the problem with the jaxws-rt.jar in my classpath.I have removed the jar from the class path then it started working
    culprit here is ‘com.sun.xml.ws.util. JAXWSUtils’ which is defined in jaxws.rt.<version>.jar. Weblogic 10 uses glassfish.jaxws.rt_2.1.3.jar.
    Could you please check in (ANT) classpath where in any other jaxws.rt.jar being referred which may not have ‘getEncodedURL’ method definition

  • Java.lang.NoSuchMethodError implementing stateless session bean

    Hello all,
    I am running Weblogic 5.1 on Windows 2000 using the JDK 1.2.2 and the
    J2SDKEE 1.2.1.
    I have created and successful deployed a state session bean as provided
    by the example given at this url:
    http://www.weblogic.com/docs51/examples/ejb/basic/statelessSession/index.html
    Upon running the client I get the following error:
    Beginning TraderClient...
    user: system
    Creating a trader
    There was an exception while creating and using the Trader.
    This indicates that there was a problem communicating with the server:
    java.rmi.RemoteException: ; nested exception is:
         weblogic.rmi.ServerError: A RemoteException occurred in the server method
    - with nested exception:
    [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method
    findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo; not
    found]
    End statelessSession.Client...
    Here is my classpath for starting the Trader Client:
    java -ms64m -mx128m -classpath
    %WEBLOGIC_HOME%\classes;%WEBLOGIC_HOME%\lib\weblogic510sp11.jar;%WEBLOGIC_HOME%\lib\weblogic510sp11boot.jar;%WEBLOGIC_HOME%\lib\weblogicaux.jar;%WEBLOGIC_HOME%\lib\weblogicbeans.jar;%WEBLOGIC_HOME%\lib\weblogic-tags-510.jar;%WEBLOGIC_HOME%\lib\rmiForMs;%J2SDK_HOME%/lib/j2ee.jar;D:\jdk1.2.2/lib/dt.jar;%PM_ROOT%/lib/hoejbserver.jar;%PM_ROOT%/lib/jcert.jar;%PM_ROOT%/lib/jndi.jar;%PM_ROOT%/lib/jnet.jar;%PM_ROOT%/lib/jsse.jar;%PM_ROOT%/lib/junit.jar;%PM_ROOT%/lib/ldap.jar;%PM_ROOT%/lib/pminput.jar;%PM_ROOT%/lib/pmipdr.jar;%PM_ROOT%/lib/pmopenview.jar;%PM_ROOT%/lib/pmtmn.jar;%PM_ROOT%/lib/pmtools.jar;%PM_ROOT%/lib/pmutil.jar;%PM_ROOT%/lib/pricemaker.jar;%PM_ROOT%/lib/providerutil.jar;%PM_ROOT%/lib/test.jar;%PM_ROOT%/lib/classes12.zip;%PM_ROOT%/lib/hoejbserver.jar;%PM_ROOT%/lib/hoejbclient.jar
    com.rii.pricemaker.ho.ejb.client.trader.TraderClient
    "t3://localhost:7001" "system" "weblogic"
    Here is my startup script for the web logic server:
    java -classpath c:\weblogic\classes\boot
    -Dweblogic.class.path=c:\weblogic\classes;c:\weblogic\license;c:\weblogic\lib\weblogicaux.jar;c:\weblogic\myserver\serverclasses
    -Djava.security.manager
    -Djava.security.policy==c:\weblogic\weblogic.policy
    -Dweblogic.system.home=c:\weblogic weblogic.Server
    Could anyone please give me a clue as to what I might be doing wrong?
    Thanks
    Bediako George

    Thanks alot Matthew, reordering my classpath as follows when starting
    the server did the trick:
    java -classpath
    c:\weblogic\lib\weblogic510sp11boot.jar;c:\weblogic\classes\boot;
    -Dweblogic.class.path=C:\weblogic\lib\weblogic510sp11.jar;c:\weblogic\classes;c:\weblogic\license;c:\weblogic\lib\weblogicaux.jar;c:\weblogic\myserver\serverclasses
    -Djava.security.manager
    -Djava.security.policy==c:\weblogic\weblogic.policy
    -Dweblogic.system.home=c:\weblogic weblogic.Server
    I am placing this here as a benefit to others.
    Thanks again,
    Bediako
    Matthew Shinn wrote:
    Hi,
    You might try running ejbc on the jar file again. Also, if your server has a service pack installed, make sure it is at the head of the classpath when invoking ejbc.
    - Matt
    Bediako George wrote:
    Hello all,
    I am running Weblogic 5.1 on Windows 2000 using the JDK 1.2.2 and the
    J2SDKEE 1.2.1.
    I have created and successful deployed a state session bean as provided
    by the example given at this url:
    http://www.weblogic.com/docs51/examples/ejb/basic/statelessSession/index.html
    Upon running the client I get the following error:
    Beginning TraderClient...
    user: system
    Creating a trader
    There was an exception while creating and using the Trader.
    This indicates that there was a problem communicating with the server:
    java.rmi.RemoteException: ; nested exception is:
    weblogic.rmi.ServerError: A RemoteException occurred in the server method
    - with nested exception:
    [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method
    findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo; not
    found]
    End statelessSession.Client...
    Here is my classpath for starting the Trader Client:
    java -ms64m -mx128m -classpath
    %WEBLOGIC_HOME%\classes;%WEBLOGIC_HOME%\lib\weblogic510sp11.jar;%WEBLOGIC_HOME%\lib\weblogic510sp11boot.jar;%WEBLOGIC_HOME%\lib\weblogicaux.jar;%WEBLOGIC_HOME%\lib\weblogicbeans.jar;%WEBLOGIC_HOME%\lib\weblogic-tags-510.jar;%WEBLOGIC_HOME%\lib\rmiForMs;%J2SDK_HOME%/lib/j2ee.jar;D:\jdk1.2.2/lib/dt.jar;%PM_ROOT%/lib/hoejbserver.jar;%PM_ROOT%/lib/jcert.jar;%PM_ROOT%/lib/jndi.jar;%PM_ROOT%/lib/jnet.jar;%PM_ROOT%/lib/jsse.jar;%PM_ROOT%/lib/junit.jar;%PM_ROOT%/lib/ldap.jar;%PM_ROOT%/lib/pminput.jar;%PM_ROOT%/lib/pmipdr.jar;%PM_ROOT%/lib/pmopenview.jar;%PM_ROOT%/lib/pmtmn.jar;%PM_ROOT%/lib/pmtools.jar;%PM_ROOT%/lib/pmutil.jar;%PM_ROOT%/lib/pricemaker.jar;%PM_ROOT%/lib/providerutil.jar;%PM_ROOT%/lib/test.jar;%PM_ROOT%/lib/classes12.zip;%PM_ROOT%/lib/hoejbserver.jar;%PM_ROOT%/lib/hoejbclient.jar
    com.rii.pricemaker.ho.ejb.client.trader.TraderClient
    "t3://localhost:7001" "system" "weblogic"
    Here is my startup script for the web logic server:
    java -classpath c:\weblogic\classes\boot
    -Dweblogic.class.path=c:\weblogic\classes;c:\weblogic\license;c:\weblogic\lib\weblogicaux.jar;c:\weblogic\myserver\serverclasses
    -Djava.security.manager
    -Djava.security.policy==c:\weblogic\weblogic.policy
    -Dweblogic.system.home=c:\weblogic weblogic.Server
    Could anyone please give me a clue as to what I might be doing wrong?
    Thanks
    Bediako George

  • Java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build

    The following code works fine with JDeveloper 10.1.2 with the xmlparserv2.jar file provided with JDeveloper.
    =====
    XSDBuilder schemaBuilder = new XSDBuilder();
    URL xsdURL = new URL(schemaUrl);
    XMLSchema xmlschema = (XMLSchema) schemaBuilder.build(xsdURL);
    ========
    However when I try to put this in Oracle Application Server 10.1.2.0.2, I get the following error:
    ====
    java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build
    ====
    It seems like the oracle version is different in app server 10.1.2.0.2 that that of JDeveloper 10.1.2.
    When we rename the parser, the application works BUT the Oracle Enterprise Manager does not work properly as it depends on the latest version of the parser.
    Please help.
    Thanks,
    Madhav

    I am able to reproduce this problem. I have a jar file MyLib.jar which contains a class MyXmlUtils with a method called validate. This JAR file was created in JDeveloper 9.0.5.2.
    Now I create a Test class in JDeveloper 10.1.2 and use the method in the JAR file and it crashes in build method. The error says "NoSuchMethod".
    However if I import MyXmlUtils class in to the Test project, everything works fine.
    What is going on here?
    // MyLib.jar (Created in JDeveloper 9.0.5.2)
    public class MyXmlUtils
    public static void validate(String xml, String schemaUrl) throws Exception
    XSDBuilder schemaBuilder = new XSDBuilder();
    URL xsdURL = new URL(schemaUrl);
    XMLSchema xmlschema = (XMLSchema) schemaBuilder.build(xsdURL);
    dp.setValidationMode(XMLParser.SCHEMA_VALIDATION);
    dp.setXMLSchema(xmlschema);
    ====
    // Test project created in JDeveloper 10.1.2
    import MyXmlUtils;
    public class Test
    public static void main(String[] args)
    Test t = new Test();
    try
    String xml = "<Person><Name>John</Name></Person>";
    String xsd = "file:\\c:\\Person.xsd";
    MyXmlUtils.validate(xml, xsd);
    catch (Exception e)
    System.out.println(e.getMessage());
    System.exit(1);
    Thanks,
    Madhav

Maybe you are looking for

  • IPad syncing issues

    Have two issues when syncing my iPad: 1) iTunes thinks my iPhone and iPad are one and the same device, so when I sync my iPad, iTunes adds the new apps that I have on my iPhone. 2) When I sync my iPad my iTunes U programs are erased. This happens whe

  • Fixed div that floats right works fine in IE but floats left in other browsers

    I have a div that I want to float right and have remain in that position as a user strolls down the screen. I set the position to fixed which works fine in IE8 but when I view it in other browsers (chrome, safari, firefox) the div does stay in positi

  • Silhouette feature question

    have an image of a pair of boots... cut out in photoshop on transparent background.  inserted into Illustrator and has a small white line around the image... like it is an uneven cut.  (magic wand in photoshop...tried to short cut) so made a silhouet

  • "Unsupported format" with imported DNGs from Fujifilm E900 RAW files

    When I import a DNG generated by Adobe DNG Converter 5.1 from a Fujifilm E900 RAW file, I get the dreaded "unsupported format" label. I thought Aperture 2.x was supposed to handle DNGs created from unsupported RAW formats. There was lots of hoopla ar

  • Why can't I download the free trial of Premiere Pro?

    I have adobe reader, abobe flash player, adobe air, and adobe shockwave player but I can't download Premiere Pro's free trial. Anyone have any ideas?