Java.lang.NoSuchMethodError: sun.io.ByteToCharBig5.getIndex

When I go on the Internet I get this message on some pages, please help

Where exactly OAF is coming into the picture for this issue? Where is the URL invoke code?
--Shiv                                                                                                                                                                                                       

Similar Messages

  • Java.lang.NoSuchMethodError:sun.applet.AppletPanel.changeFrameAppContext

    What does this mean?
    java.lang.NoSuchMethodError:sun.applet.AppletPanel.changeFrameAppContext(Ljava/awt/Frame;Lsun/awt/AppContext;)V
         at sun.plugin.viewer.IExplorerPluginObject.appletStateChanged(Unknown Source)
         at sun.applet.AppletEventMulticaster.appletStateChanged(AppletEventMulticaster.java:32)
         at sun.applet.AppletPanel.dispatchAppletEvent(AppletPanel.java:233)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:532)
         at sun.applet.AppletPanel.run(AppletPanel.java:293)
         at java.lang.Thread.run(Thread.java:536)
    and where does it occur?
    thanks in advance, ulrich

    I've started seeing this as well since installing 1.4.2. Anyone have any ideas on this?
    What does this mean?
    java.lang.NoSuchMethodError:sun.applet.AppletPanel.chan
    eFrameAppContext(Ljava/awt/Frame;Lsun/awt/AppContext;)V
    at
    sun.plugin.viewer.IExplorerPluginObject.appletStateCha
    ged(Unknown Source)
    at
    sun.applet.AppletEventMulticaster.appletStateChanged(A
    pletEventMulticaster.java:32)
    at
    sun.applet.AppletPanel.dispatchAppletEvent(AppletPanel
    java:233)
    at
    sun.applet.AppletPanel.runLoader(AppletPanel.java:532)
         at sun.applet.AppletPanel.run(AppletPanel.java:293)
         at java.lang.Thread.run(Thread.java:536)
    and where does it occur?
    thanks in advance, ulrich

  • Exception : java.lang.NoSuchMethodError: sun.io.ByteToCharGBK.getIndex1()[S

    Hi,
    We are having webApplication Built using servlets.When invoking a URL ( HTTP GET) we are getting exception and stack trace shows
    JSP Error:
    Request URI:/OA_HTML/OA.jsp
    Exception:
    java.lang.NoSuchMethodError: sun.io.ByteToCharGBK.getIndex1()[S
    Any clue on this , as why this could happen. Is this because of the application is using old JRE / Incompatible JRE?
    Thanks
    Joseph

    Where exactly OAF is coming into the picture for this issue? Where is the URL invoke code?
    --Shiv                                                                                                                                                                                                       

  • Exception in thread "main" java.lang.NoSuchMethodError: com.sun.xml.wss.con

    Hi everyone,
    Just now i tried to run the 'simple' example in an JAXRPC Security part in the JWSDP 1.4 tutorial but got the following error:
    run-sample:
    [echo] Running the simple.TestClient program....
    [java] Service URL=http://localhost:8080/securesimple/Ping
    [java] Exception in thread "main" java.lang.NoSuchMethodError: com.sun.xml.wss.configuration.SecurityConfigurationXmlReader.readJAXRPCSecurityConfigurationString(Ljava/lang/String;Z)Lcom/sun/xml/wss/configuration/JAXRPCSecurityConfiguration;
    [java]      at com.sun.xml.rpc.security.SecurityPluginUtil.<init>(SecurityPluginUtil.java:128)
    [java]      at simple.PingPort_Ping_Stub.<clinit>(PingPort_Ping_Stub.java:40)
    [java]      at simple.PingService_Impl.getPing(PingService_Impl.java:68)
    [java]      at simple.TestClient.main(TestClient.java:27)
    Can anybody give me a clue?

    Vishal, thanks a lot for your reply. I used the App Server 2004Q4 beta and got the problem. When I switch to version 8.0.0_01 the things work well.
    But now I'm trying to understand this example and creating my own simple web app using encryption feature. From the files in the example dicrectory I can figure out the security applied at client by examining client stub files generated by the wscompile in the asant gen-client task. But I wonder when security is added to the server side. Is it when we use wsdeploy with the model part specifiedin jaxrpc-ri.xml? What is the procedure to apply the security to the web service?
    The last thing I want to ask is whether the deploytool bundled inside App Server can do the same things as ant task (eg. wsdeploy with some arguments).

  • Java.lang.NoSuchMethodError: com.sun.mail.util.SocketFetcher.getSocket

    I am recieving the above error in a FileNet Content Manager environment. The full stack trace is:
    Exception in thread "main" java.lang.NoSuchMethodError: com.sun.mail.util.SocketFetcher.getSocket(Ljava/lang/String;ILjava/util/Properties;Ljava/lang/String;Z)Ljava/net/Socket;
    at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1195)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:322)
    at javax.mail.Service.connect(Service.java:233)
    at javax.mail.Service.connect(Service.java:134)
    at javax.mail.Service.connect(Service.java:86)
    at javax.mail.Transport.send0(Transport.java:162)
    at javax.mail.Transport.send(Transport.java:80)
    at com.bearingpoint.utilities.EMail.send(EMail.java:171)
    at com.bearingpoint.utilities.EMail.send(EMail.java:31)
    at email.main(email.java:11)
    I have spent many hours, fiddling with classpaths, ensuring that the mail.jar, mailapi.jar, smtp.jar, activation.jar are all from the same generation of JavaMail. With my classpath set correctly I can run a simple program constructed to just test whether the box can send out email from the command line.
    The code for the program is:
    public class email {
         public email() {
         public static void main (String args[]) {
              try {
              EMail.send("10.132.147.62", "[email protected]", "[email protected]", "test", "test");
              catch (Exception e) {
                   System.err.println(e.toString());
    Where EMail.send() is:
    public static void send(
    String mail_server_host,
    String email_from,
    String email_to,
    String subject,
    String message) throws AddressException, MessagingException, IOException {
    send(mail_server_host,
    (Authenticator)null,
    new InternetAddress[] {new InternetAddress(email_from)},
    new InternetAddress[] {new InternetAddress(email_to)},
    (InternetAddress[])null,
    (InternetAddress[])null,
    subject,
    message,
    null,
    null);
    which calls:
    public static void send(
    String mail_server_host,
    Authenticator authenticator,
    InternetAddress[] addresses_from,
    InternetAddress[] addresses_to,
    InternetAddress[] addresses_cc,
    InternetAddress[] addresses_bcc,
    String subject,
    String message,
    InputStream[] attachments,
    MimeType[] attachmentTypes) throws MessagingException,IOException {
    Properties properties = new Properties();
    properties.put("mail.smtp.host", mail_server_host);
    MimeMessage msg = new MimeMessage(
    Session.getInstance(properties, authenticator));
    msg.addFrom(addresses_from);
    msg.setRecipients(Message.RecipientType.TO, addresses_to);
    msg.setRecipients(Message.RecipientType.CC, addresses_cc);
    msg.setRecipients(Message.RecipientType.BCC, addresses_bcc);
    msg.setSubject(subject);
    BodyPart bpBody = new MimeBodyPart();
    bpBody.setText(message);
    Multipart mpMessageBody = new MimeMultipart();
    if (attachments == null && attachmentTypes == null) {
    mpMessageBody.addBodyPart(bpBody);
    msg.setContent(mpMessageBody);
    else if (attachments == null) {
    bpBody.setContent(message, attachmentTypes[0].toString());
    mpMessageBody.addBodyPart(bpBody);
    msg.setContent(mpMessageBody);
    else {
    mpMessageBody.addBodyPart(bpBody);
    for (int i=0; i<attachments.length;i++) {
    bpBody = new MimeBodyPart();
    DataSource dsAttachment = new ByteArrayDataSource(attachments, attachmentTypes[i].toString());
    bpBody.setDataHandler(new DataHandler(dsAttachment));
    bpBody.setFileName("attachment." + new MimeFileExtensions(attachmentTypes[i].getValue()).toString());
    mpMessageBody.addBodyPart(bpBody);
    msg.setContent(mpMessageBody);
    Transport.send(msg);
    As said before all .jar files are of the same generation, yet when I run FileNet and the underlying content engine, and try to send an email, I recieve this exception. I have run out of ideas, and any help would be appreciated.
    Things I've tried (multiple times):
    - Removing any old versions of the jar files and replace them with JavaMail 1.3.3_01
    - Have the content engine specifically import the JavaMail jar files.
    While I realize some of you may not know what FileNet is, perhaps you have come across this exception before. Any new ideas would be more then appreciated.
    Thank you for your time.

    I haven't seen this error before so I need more detail to reproduce it.
    It looks like you daisy chained calls to various static send() methods from various classes. Could you write a static main() for the class with the send() method actually doing the work? In the main() write the test case and compile it, test it and if it still doesnt work post it. Please include the import statements as it is germain to the solution.
    Its much easier for me to help you if I don't have to recreate "FileNet" to reproduce your error.
    As an alternative....
    The following code I got from: http://javaalmanac.com/egs/javax.mail/SendApp.html?l=new
    its simpler than you're code but gets the job done (without attachments).
    I've tested it and it works with:
    javac -classpath .;c:\sun\appserver\lib\j2ee.jar;c:\sun\appserver\lib\mail.jar SendApp.java
    java -classpath .;c:\sun\appserver\lib\j2ee.jar;c:\sun\appserver\lib\mail.jar SendApp
    Ran on Windows XP, Sun J2EE 1.4/Appserver Bundle
        import java.io.*;
        import javax.mail.*;
        import javax.mail.internet.*;
        import javax.activation.*;
        public class SendApp {
            public static void send(String smtpHost, int smtpPort,
                                    String from, String to,
                                    String subject, String content)
                    throws AddressException, MessagingException {
                // Create a mail session
                java.util.Properties props = new java.util.Properties();
                props.put("mail.smtp.host", smtpHost);
                props.put("mail.smtp.port", ""+smtpPort);
                Session session = Session.getDefaultInstance(props, null);
                // Construct the message
                Message msg = new MimeMessage(session);
                msg.setFrom(new InternetAddress(from));
                msg.setRecipient(Message.RecipientType.TO, new InternetAddress(to));
                msg.setSubject(subject);
                msg.setText(content);
                // Send the message
                Transport.send(msg);
            public static void main(String[] args) throws Exception {
                // Send a test message
                send("10.1.4.105", 25, "[email protected]", "[email protected]",
                     "test", "test message.");
        }

  • "java.lang.NoSuchMethodError: com.sun.tools..apt.Main.process"

    Hi,
    I am a new to Web Services and was following some site for implementing it.
    The link is as below:
    http://www.roseindia.net/webservices/netbeans/Web-Service.shtml
    However while doing the "build and deploy" -- I am getting the following error while doing a ::
    init:
    deps-module-jar:
    deps-ear-jar:
    deps-jar:
    Warning: MANIFEST.MF modified in the future.
    Copying 1 file to D:\WebServices-NB-Practice\webservice1\build\web\META-INF
    Warning: META-INF\context.xml modified in the future.
    Warning: WEB-INF\lib\jaxws-tools-2.1.7.jar modified in the future.
    Warning: WEB-INF\sun-jaxws.xml modified in the future.
    Warning: WEB-INF\web.xml modified in the future.
    Warning: index.jsp modified in the future.
    Warning: modified in the future.
    Warning: META-INF modified in the future.
    Copying 5 files to D:\WebServices-NB-Practice\webservice1\build\web
    library-inclusion-in-archive:
    Copying 1 file to D:\WebServices-NB-Practice\webservice1\build\web\WEB-INF\lib
    Copying 1 file to D:\WebServices-NB-Practice\webservice1\build\web\WEB-INF\lib
    Copying 1 file to D:\WebServices-NB-Practice\webservice1\build\web\WEB-INF\lib
    Copying 1 file to D:\WebServices-NB-Practice\webservice1\build\web\WEB-INF\lib
    Copying 1 file to D:\WebServices-NB-Practice\webservice1\build\web\WEB-INF\lib
    Copying 1 file to D:\WebServices-NB-Practice\webservice1\build\web\WEB-INF\lib
    Copying 1 file to D:\WebServices-NB-Practice\webservice1\build\web\WEB-INF\lib
    Copying 1 file to D:\WebServices-NB-Practice\webservice1\build\web\WEB-INF\lib
    Copying 1 file to D:\WebServices-NB-Practice\webservice1\build\web\WEB-INF\lib
    Copying 1 file to D:\WebServices-NB-Practice\webservice1\build\web\WEB-INF\lib
    Copying 1 file to D:\WebServices-NB-Practice\webservice1\build\web\WEB-INF\lib
    Copying 1 file to D:\WebServices-NB-Practice\webservice1\build\web\WEB-INF\lib
    Copying 1 file to D:\WebServices-NB-Practice\webservice1\build\web\WEB-INF\lib
    Copying 1 file to D:\WebServices-NB-Practice\webservice1\build\web\WEB-INF\lib
    Copying 1 file to D:\WebServices-NB-Practice\webservice1\build\web\WEB-INF\lib
    library-inclusion-in-manifest:
    Warning: modified in the future.
    wsgen-init-nonJSR109:
    wsgen-MyWebService-nonJSR109:
    *java.lang.NoSuchMethodError: com.sun.tools.apt.Main.process(Lcom/sun/mirror/apt/AnnotationProcessorFactory;[Ljava/lang/String;)I*
    BUILD FAILED (total time: 1 second)
    I am using netbeans version 5.5 for this.
    Although from the initial investigation I understand that this error is related to "jaxws-tools.jar".
    However I could not resolve this error.
    Can Somebody provide me with the steps to resolve this error.
    Regards,
    Avinash

    No, I put the 'main' method just to see if it solved the problem

  • Java.lang.NoSuchMethodError: com.sun.xml.ws.util.JAXWSUtils.getEncodedURL(Ljava/lang/String;)Ljava/net/URL;

    java.lang.NoSuchMethodError: com.sun.xml.ws.util.JAXWSUtils.getEncodedURL(Ljava/lang/String;)Ljava/net/URL.
    Gettin exception while trying to execute clientGen from build.xml from eclipse using Oracle weblogic 10.3 server.
    I tried with both jars jaxws-rt-2.1.4 and jaxws-rt-2.1.3
    Regards,
    Manish

    along with wlfullclient.jar please add wseeclient.jar
    Copy the file WL_HOME/server/lib/wseeclient.zip from the computer hosting WebLogic Server to the client computer( where WL_HOME refers to the WebLogic Server installation directory, such as /Oracle/Middleware/wlserver_12.1)
    Unzip the wseeclient.zip file into the appropriate directory. For example, you might unzip the file into a directory that contains other classes used by your client application.
    Add the wseeclient.jar file (unzipped from the wseeclient.zip file) to your CLASSPATH.
    Note:
    Also be sure that your CLASSPATH includes the JAR file that contains the Ant classes (ant.jar). This JAR file is typically located in the lib directory of the Ant distribution.
    http://docs.oracle.com/cd/E24329_01/web.1211/e24967/client.htm#WSRPC214
    Regards,
    Sunil P

  • Java.lang.NoSuchMethodError: setBasename

    Hi All
    I recently migrated to jsf 1.2 while trying to access the login page i get the following error
    Can anyone help me out on this??
    com.sun.faces.lifecycle.LifecycleImpl phase
    WARNING: executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@84a5c3) threw exception
    javax.faces.FacesException: javax.servlet.ServletException: java.lang.NoSuchMethodError: setBasename
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:427)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:454)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:134)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
         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:2140)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: javax.servlet.ServletException: java.lang.NoSuchMethodError: setBasename
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:324)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:525)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:261)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:422)
         ... 25 more
    Caused by: java.lang.NoSuchMethodError: setBasename
         at jsp_servlet.__login._jsp__tag1(__login.java:396)
         at jsp_servlet.__login._jspService(__login.java:179)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:525)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:261)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:422)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:454)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:134)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    Edited by: user11096200 on Jun 24, 2009 5:06 AM

    Thanks for the reply,
    I tried rebuilding the application with JSF 1.2 jars in classpath ,but i get another exception and i'm using weblogic 10.1 MP1 and JSF1.2 that comes with weblogic 10.
    com.sun.faces.lifecycle.LifecycleImpl phase
    WARNING: executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@8b24fa) threw exception
    java.lang.ClassCastException: java.lang.String
         at jsp_servlet.__login._jsp__tag1(__login.java:442)
         at jsp_servlet.__login._jspService(__login.java:180)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:525)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:261)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:422)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:454)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:134)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3392)
         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:2140)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

  • Java.lang.NoSuchMethodError: org.apache.xerces.parsers.SAXParser. init

    java.lang.NoSuchMethodError: org.apache.xerces.parsers.SAXParser.<init>(Lorg/apache/xerces/xni/parser/XMLParserConfiguration;)V
         at com.hp.hpl.jena.rdf.arp.impl.RDFXMLParser$MySAXParser.(RDFXMLParser.java:55)
         at com.hp.hpl.jena.rdf.arp.impl.RDFXMLParser.create(RDFXMLParser.java:82)
         at com.hp.hpl.jena.rdf.arp.JenaReader.(JenaReader.java:77)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at com.hp.hpl.jena.rdf.model.impl.RDFReaderFImpl.getReader(RDFReaderFImpl.java:113)
         at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:225)
         at com.hp.hpl.jena.util.FileManager.readModelWorker(FileManager.java:387)
         at com.hp.hpl.jena.util.FileManager.loadModelWorker(FileManager.java:297)
         at com.hp.hpl.jena.util.FileManager.loadModel(FileManager.java:248)
    Hi all,
    Getting above exception only in Weblogic 9.2
    JDK Version : jdk1.5.0_16
    jena-2.5.6.jar
    xercesImpl-2.6.2.jar
    SAXParser is working fine in JBoss with same jdk and jar version. But it's throwing above exception in webloigc9.2 (Windows ) and more over, if i add -Xbootclasspath and specify the xercesImpl-2.6.2.jar file it works in weblogic 9.2 also..
    Is there any other 'good' solution for this??? I feel , this issue is related to classloader but dont know how :(.
    Regards
    Anand

    Hi,
    try to add your jar to the PRE_CLASSPATH.

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

  • Error invoking 'set_xslt_locale':'java.lang.NoSuchMethodError:

    I need to generate PDF report using xml pub java APIs and RTF template and trying to call in OA Page.
    I am getting this error any idea ?
    52807_053618359][][EXCEPTION] [DEBUG] [FND_JDBC_STMT_CACHE_SIZE]:[200]
    [052807_053618359][][EXCEPTION] [DEBUG] [os.arch]:[x86]
    [052807_053618359][][EXCEPTION] [DEBUG] [java.awt.graphicsenv]:[sun.awt.Win32GraphicsEnvironment]
    [052807_053618359][][EXCEPTION] [DEBUG] [java.ext.dirs]:[C:\Jdeveloper\jdevbin\jdk1.4.2\jre\lib\ext]
    [052807_053618390][][EXCEPTION] [DEBUG] [oc4j.iiop.keyStoreLoc]:[keystore.jks]
    [052807_053618390][][EXCEPTION] [DEBUG] [user.dir]:[C:\Jdeveloper\jdevhome\jdev\system9.0.3.5.1312\oc4j-config]
    [052807_053618390][][EXCEPTION] [DEBUG] [CACHENODBINIT]:[true]
    [052807_053618390][][EXCEPTION] [DEBUG] [line.separator]:[
    [052807_053618390][][EXCEPTION] [DEBUG] [java.vm.name]:[Java HotSpot(TM) Client VM]
    [052807_053618390][][EXCEPTION] [DEBUG] [org.omg.CORBA.ORBClass]:[com.oracle.iiop.server.OC4JORB]
    [052807_053618390][][EXCEPTION] [DEBUG] [file.encoding]:[Cp1252]
    [052807_053618640][][EXCEPTION] [DEBUG] [java.specification.version]:[1.4]
    oracle.xml.parser.v2.XPathException: Extension function error: Error invoking 'set_xslt_locale':'java.lang.NoSuchMethodError: oracle.apps.fnd.i18n.common.text.DateFormatter.setCalendar(Loracle/apps/fnd/i18n/common/util/Calendar;)V'
         at oracle.xml.parser.v2.XSLExtFunctions.callStaticMethod(XSLExtFunctions.java:113)
         at oracle.xml.parser.v2.XPathExtFunction.evaluateMethod(XPathExtFunction.java:199)
         at oracle.xml.parser.v2.XPathExtFunction.getValue(XPathExtFunction.java:131)
         at oracle.xml.parser.v2.XSLVariable.getValue(XSLVariable.java:206)
         at oracle.xml.parser.v2.XSLStylesheet.processVariables(XSLStylesheet.java:591)
         at oracle.xml.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:466)
         at oracle.xml.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:448)
         at oracle.xml.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:246)
         at oracle.xml.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:136)
         at oracle.xml.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:173)
         at oracle.apps.xdo.common.xml.XSLTClassic.transform(XSLTClassic.java:307)
         at oracle.apps.xdo.common.xml.XSLTClassic.transform(XSLTClassic.java:184)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:161)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1015)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:968)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:209)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1561)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:951)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5975)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3555)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3614)
         at oracle.apps.xdo.oa.common.DocumentHelper.getOutputURL(DocumentHelper.java:635)
         at oracle.apps.xdo.oa.common.webui.XDOCommonRnCO.processRequest(XDOCommonRnCO.java:258)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:518)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:244)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:328)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:866)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:833)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:575)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:244)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:328)

    Check Re: Error invoking 'set_xslt_locale':'java.lang.NoSuchMethodError:
    --Shiv                                                                                                                                                                                                           

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

  • Error : java.lang.NoSuchMethodError: oracle.xml.parser.v2.

    Hello,
    We have installed successfully XSQLServlet engine and configured Apache server as per release document.
    When we tried to run xsql/demo/helloworld.xsql we are getting following error.
    Am I missing any classpath in jserv.properties? Any pointers to resolve this issue will be appreciated.
    Thanks,
    Shree
    Actual Error
    [18/02/2000 16:20:00:156 PST] java.lang.NoSuchMethodError: oracle.xml.parser.v2.
    XMLNode: method selectNodes(Ljava/lang/String;)Lorg/w3c/dom/NodeList; not found
    at oracle.xml.xsql.XSQLDocHandler.getDocument(Compiled Code)
    at oracle.xml.xsql.XSQLPageProcessor.process(Compiled Code)
    at oracle.xml.xsql.XSQLServlet.doGet(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at org.apache.jserv.JServConnection.processRequest(Compiled Code)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)

    Steve,
    Thanks for the response. Now we are getting different error. In one of the questions earlier posted, someone (I think Jon) noted that following error (the one we are getting) can be resolved by using JDK 1.1.8, is there any specific JDK pre-req for XML Parser 0.9.8.6?
    Is it possible, to enhance release notes for 0.9.8.6 to include
    a) Tips mentioned in your mail (i.e. putting oracle xml parser 2.0.x before Apache/OJSP xmlparserv2.jar
    b) Dependencies on specific version of JDK
    Once again thanks for the responding to the mail and will appreciate a help to resolve this current error.
    Thanks,
    Shree
    Actual error :
    java.lang.IllegalArgumentException: sun.io.CharToB
    yteUTF-8
    at sun.io.CharToByteConverter.getConverterClass(Compiled Code)
    at sun.io.CharToByteConverter.getConverter(Compiled Code)
    at java.io.OutputStreamWriter.<init>(Compiled Code)
    at org.apache.jserv.JServConnection.getWriter(Compiled Code)
    at oracle.xml.xsql.XSQLServletPageRequest.setupWriter(Compiled Code)
    at oracle.xml.xsql.XSQLServletPageRequest.setContentType(Compiled Code)
    at oracle.xml.xsql.XSQLPageProcessor.process(Compiled Code)
    at oracle.xml.xsql.XSQLServlet.doGet(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at org.apache.jserv.JServConnection.processRequest(Compiled Code)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    null

  • Starting J2EE gives java.lang.NoSuchMethodError

    J2EE 1.3.1
    JDK 1.3
    OS Linux
    I have set the environment variables as per the installation instructions. Please guide.
    Cannot write the seed file for fast startup. The next startup will be slow.
    java.io.IOException: No such file or directory
         at java.io.UnixFileSystem.createFileExclusively(Native Method)
         at java.io.File.createNewFile(File.java:690)
         at com.sun.enterprise.repository.ConfigurationImpl.getServerRepository(C
    onfigurationImpl.java:88)
         at com.sun.enterprise.repository.ConfigurationImpl.<init>(ConfigurationI
    mpl.java:41)
         at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:175)
         at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
    J2EE server listen port: 1050
    Naming service started:1050
    Exception in thread "main" java.lang.NoSuchMethodError
         at com.sun.corba.ee.internal.corba.AnyImpl.createTypeCodeForClass(AnyImpl.java:1256)
         at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.createTypeCode(ShutdownUtilDelegate.java:223)
         at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(ShutdownUtilDelegate.java:178)
         at javax.rmi.CORBA.Util.writeAny(Util.java:80)
         at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.rebind(Unknown Source)
         at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:188)
         at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:202)
         at javax.naming.InitialContext.rebind(InitialContext.java:370)
         at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:192)
         at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:149)
         at com.sun.enterprise.server.J2EEServer.bindObject(J2EEServer.java:718)
         at com.sun.enterprise.server.J2EEServer.createServerObject(J2EEServer.java:473)
         at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:244)
         at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)

    Thanks! That helped to resolve
    java.io.IOException: No such file or directory
    But I still have the problem -
    Exception in thread "main" java.lang.NoSuchMethodError
    at com.sun.corba.ee.internal.corba.AnyImpl.createTypeCodeForClass(AnyImpl.java:1256)
    I will appreciate any pointers on this too.
    Thanks

Maybe you are looking for

  • I have a problem, am i going to lose all my files ?

    Hello, I have a lot of pictures on my Ipod. But since i'm coming back from holidays, my ipod doesn't work anymore ! I still can use it and listen to music, but when i plug it, windows ask me to format it, and itunes doesn't recognize it... I wanted t

  • Index page CS4 doesn't display properly for google chrome users

    index page CS4/ Dreamweaver doesn't display properly for google chrome users, shows as a blue page /  version of Chrome is 17.0.963.56 m. version of flash is 11.1.102.62.  Operating system is Version 6.1 (Build 7601, Service Pack 1).  Javascript vers

  • IPhone 3G randomly plays song list, can't stop it

    My iPhone 3G has recently stopped playing albums or playlists sequentially. It goes into a random shuffle mode, though there isn't any apparent icon that states it's in random mode. How do I stop this so I can listen an album straight through?

  • Attachment on iCloud VS Mail 7

    Why does iCloud online mail shows attachments file (with name, size etc) on top of the email (clicking "More" or clicking the "paper clip" icon) and Mail 7 instead, still, showing you just a paper clip icon and the attachment files all the way down..

  • Wat is repair request

    hi all, plz. explain wat is repair full request and how it is done, when it is done? regards... gan