Ljava/lang/String Error

Hi, all
I am developing a simple "Hello World" example in Java RMI. But it turns out with this error:
Exception in thread "main" java.lang.AbstractMethodError: Server_Stub.getMessage()Ljava/lang/String;
at Client.main(Client.java:105)
Any Help?
Thanks in Advanced,
Sohming

Hi,
check whether the java path given is correct in the setJavaEn bat file.
I also got the same abstract lang error cos the java path which was given in the setJavaEn file was wrong.
I corrected the path and started the rmi again and the error disappeared.
Thanks,
Manju

Similar Messages

  • Error:java.lang.Double:method parseDouble(Ljava/lang/String;)D not found.

    Hi ,
    oracle apps version : 11.5.10.2 and database version 11.2.0.2.
    OS version Solaris Sparc 64 Bit.
    We were performing a cloing activity on a new server and now while opening forms we are getting the following error :
    error:java.lang.Double:method parseDouble(Ljava/lang/String;)D not found.Please suggest what has to be done.
    Regards
    Kk

    Hi ,
    D:\Documents and Settings\800045916>java -version
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)We have been struggling with the Solaris server for this. Is something needed from there also or just need to have the latest JRE in the windows client machine.
    Regards
    Kk

  • Array error Ljava.lang.string;@3e25a5

    Hi,
    I have the following code, but it doesn't print anything, except the error "Ljava.lang.string;@3e25a5." The code compiles without any errors.
    class Array {
    public static void main (String[] arg) {
         String[] CharArray = {"I am stuck."};
         System.out.println (CharArray);     
    Thanks, in advance.

    That's not an error message. That's the kind of thing that arrays output when their toString method is called. If you pass an object (like an array) to the println method of PrintStream (that's what System.out is) it calls the object's toString method.
    If you want to print a nicely formatted array, use java.util.Arrays.toString. Like this:
    import java.util.Arrays;
    class Array {
      public static void main (String[] arg) {
        String[] charArray = {"I am stuck."};
        System.out.println (Arrays.toString(charArray));
    }By the way, you should follow Java naming conventions. Local variables, non-constant fields, and method names should start with a lower-case letter.

  • Having problem with UDF, getting unwanted result Ljava.lang.String;@25c560

    Hi,
    This is atually a follow-up to other post in the same forum: <b>Sending XMl message as text (Mail body) by receiver mail adapter</b>
    We are having problem with UDF to get correct output.
    We are getting <b>result of UDF</b> as below:
    [[Ljava.lang.String;@f37573 [Ljava.lang.String;@1a409ed [Ljava.lang.String;@87c011 [Ljava.lang.String;@52a077 [Ljava.lang.String;@a4e8e5<BR>[Ljava.lang.String;@f37573 [Ljava.lang.String;@1a409ed [Ljava.lang.String;@87c011 [Ljava.lang.String;@52a077 [Ljava.lang.String;@a4e8e5<BR>[Ljava.lang.String;@f37573 [Ljava.lang.String;@1a409ed [Ljava.lang.String;@87c011 [Ljava.lang.String;@52a077 [Ljava.lang.String;@a4e8e5<BR>[Ljava.lang.String;@f37573 [Ljava.lang.String;@1a409ed [Ljava.lang.String;@87c011 [Ljava.lang.String;@52a077 [Ljava.lang.String;@a4e8e5<BR>]
    Does any body know what it mean?
    Following are the source ans target XSD's:
    Here is the <b>source xsd:</b>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://NameSpace" targetNamespace="NameSpace">
    <xsd:complexType name="row">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    5e090470385011db9654000e7f22e9d4
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
    <xsd:element name="DeliveryNumber">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a0377b11db91dbf237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="10" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="DeliveryLineItem">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a1377b11db98aaf237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="6" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="OrderNumber">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a2377b11dbc5c4f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="10" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="OrderLineItem">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a3377b11db9d84f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="6" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="BillToID">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a4377b11dbb49bf237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="17" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="BillToName">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a5377b11dbb38ff237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="40" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="ShipToID">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a6377b11db9370f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="17" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="ShipToName">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a7377b11dbb66cf237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="40" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="ProductCode">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a8377b11db8f94f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="18" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="ProductDesc">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a9377b11db929ff237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="40" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="ScheduledLoadDate">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0aa377b11db8d1df237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="8" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="ScheduledLoadTime">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0ab377b11dba57ff237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="6" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="Carrier">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0ac377b11dbcc03f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="40" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="CustomerPO">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0ad377b11dbb5a2f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="35" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="OutYard">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0ae377b11dbcc51f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="16" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="OrderedQty">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0af377b11dbbe6cf237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="15" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="OrderUofM">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0b0377b11db9264f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="3" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="LabConc">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0b1377b11dbb0e7f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="GrossMT">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0b2377b11db99f1f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="4" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="GrossST">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0b3377b11db9b6ff237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="4" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="BilledQty">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0b4377b11db8a9af237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="8" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="Status">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0b5377b11dba39cf237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="10" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="resultset">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    5e044980385011dbb2d3000e7f22e9d4
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
    <xsd:element name="row" type="row" maxOccurs="unbounded">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    c1cb8fd0377b11db912af237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    <b>Target xsd:</b>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/Mail/30" targetNamespace="http://sap.com/xi/XI/Mail/30">
    <xsd:element name="Mail">
    <xsd:annotation>
    <xsd:documentation>
    Mail package for XI - Mail Adapter
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Subject" type="xsd:string" minOccurs="0" />
    <xsd:element name="From" type="xsd:string" minOccurs="0" />
    <xsd:element name="To" type="xsd:string" minOccurs="0" />
    <xsd:element name="Reply_To" type="xsd:string" minOccurs="0" />
    <xsd:element name="Content_Type" type="xsd:string" minOccurs="0" />
    <xsd:element name="Date" type="xsd:dateTime" minOccurs="0" />
    <xsd:element name="Message_ID" type="xsd:string" minOccurs="0" />
    <xsd:element name="X_Mailer" type="xsd:string" minOccurs="0" />
    <xsd:element name="Content" minOccurs="0" maxOccurs="unbounded">
    <xsd:annotation>
    <xsd:documentation>
    any type
    </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="encoding" type="xsd:string" />
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    And <b>following is the UDF we are using</b>:
      =========================================
    String mailBody = new String();
    int inta, intb, intc, intd, inte;
    inta = a.length;
    intb = b.length;
    intc = c.length;
    intd = d.length;
    inte = e.length;
    for(int i = 0;  i < a.length; i++)
      mailBody = mailBody + a + " " + b + " " + c + " " + d + " " + e + "<BR>";
    result.addValue(mailBody);
    ====================================
    <b>Any help to resolve this would be very helpful.</b>
    Thanx
    Sue

    Hi Bhavesh,
    We are getting following error if we use the UDF you given below:
    Check Result for Object test   Source code has syntax error:  D:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapf2026120390a11db9d1f000e7f22e9d4/source/com/sap/xi/tf/_test_.java:75: a is already defined in testUDF$(java.lang.String[],java.lang.String[],java.lang.String[],java.lang.String[],java.lang.String[],com.sap.aii.mappingtool.tf3.rt.ResultList,com.sap.aii.mappingtool.tf3.rt.Container) int a = a.length(); ^ D:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapf2026120390a11db9d1f000e7f22e9d4/source/com/sap/xi/tf/_test_.java:75: int cannot be dereferenced int a = a.length(); ^
    We have no knowledge of java at all.
    We did some modifications to it as below:
    String mailBody = new String();
    int a = a.length();
    int b = b.length();
    int c = c.length();
    int d = d.length();
    int e = e.length();
    for(int i = 0; i < a.length(); i++)
    mailBody = mailBody + a + " " + b + " " + c + " " + d + " " + e + "<BR>";
    result.addValue(mailBody);
    It it didn't work. Think we are missing something. Can please help us to figure it out.
    Thanx
    Sue

  • Java.lang.UnsatisfiedLinkError: CallExe.call(Ljava/lang/String;)V

    hi,
    I am new in JNI,
    I created call.dll using MS Visual C++.
    I want to call JNI call method in Call class.
    I am working on NetBean, If I called same method using jCreater it works but through netBean it throws following error:
    java.rmi.ServerError: Error occurred in server thread; nested exception is:
    java.lang.UnsatisfiedLinkError: sunil.jdata.source.CallExe.call(Ljava/lang/String;)V
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:333)
    at sun.rmi.transport.Transport$1.run(Transport.java:159)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
    Please give me the solution.

    Please give me the solution.Simple - environment problem. Obviously.
    What makes you think this has anything to do with JNI?

  • Javax.servlet.jsp.tagext.TagAttributeInfo. init (Ljava/lang/String;ZLjava/l

    In jDeveloper 10.1.3, using the cue card sample - Build a JSP, Struts, and Orcale TopLink application, I get the following error when trying to run the welcome.jsp page.
    Error: java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
    I am using the default installation and everything every Java topic on Google about this error has to do with Tom Cat which I am not using.

    Here's the error stack.
    java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Lj
    ava/lang/String;ZLjava/lang/String;ZZ)V
    at oracle.jsp.parse.XMLUtil.elemToAttr(XMLUtil.java:1664)
    at oracle.jsp.parse.XMLUtil.elemToTagInfo(XMLUtil.java:1449)
    at oracle.jsp.parse.XMLUtil.domDocToTagLib(XMLUtil.java:1256)
    at oracle.jsp.parse.XMLUtil.scanWebFilesTLD(XMLUtil.java:665)
    at oracle.jsp.parse.XMLUtil.getTagLib(XMLUtil.java:927)
    at oracle.jsp.parse.JspDirectiveTaglib.createAndRegisterTagLib(JspDirect
    iveTaglib.java:156)
    at oracle.jsp.parse.JspDirectiveTaglib.validateAttributes(JspDirectiveTa
    glib.java:335)
    at oracle.jsp.parse.JspParseTagDirective.validateTagAttributes(JspParseT
    agDirective.java:171)
    at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1466)
    at oracle.jsp.parse.JspParseTagDirective.parse(JspParseTagDirective.java
    :383)
    at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:1008)
    at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:243)
    at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:483)
    at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:560)
    at oracle.jdevimpl.webapp.jsp.JspCompiler.translatePage(JspCompiler.java
    :345)
    at oracle.jdevimpl.webapp.jsp.JspCompiler.translate(JspCompiler.java:193
    at oracle.jdevimpl.webapp.jsp.JspTranslator.translate(JspTranslator.java
    :194)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGrap
    h(UnifiedBuildSystem.java:300)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProj
    ectFiles(UnifiedBuildSystem.java:516)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProj
    ect(UnifiedBuildSystem.java:608)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(
    UnifiedBuildSystem.java:665)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(Unifi
    edBuildSystem.java:893)

  • [Ljava.lang.String;@1ba34f2

    class NameList
         private String[] nameList;
         private int numNames;
         public NameList()
              nameList = new String[20];
         public void add(String name)
              for(int k = 0; k < nameList.length; k++)
                   if(name == nameList[k])
                        nameList[k] += name;
                        numNames++;
         public boolean contains(String name)
              boolean check = false;
              for(int k = 0; k < nameList.length; k++)
                   if(name == nameList[k])
                        check = true;
                        k = nameList.length;
                   else
                        check = false;
                   return check;
         public void remove(String name)
              for(int k = 0; k < nameList.length; k++)
                   if(name == nameList[k])
                        nameList[k] = nameList[k+1];
                   else
         public int numNames()
              return numNames;
         public void print()
              System.out.println(nameList);
         public static void main(String[] args)
              NameList nList = new NameList();
              nList.add("John");
              nList.add("Jack");
              nList.add("Jerry");
              nList.add("Tommy");
              nList.add("Ronnie");
              nList.add("Sammy");
              nList.add("Robert");
              nList.add("Bobby");
              nList.add("Susan");
              nList.add("Jennifer");
              nList.add("Jessica");
              nList.print();
              nList.add("Jack");
              nList.remove("Sammy");
              nList.remove("Joseph");
    i keep gettin this error....my thing compiles just fine.....but when i run the program it says this......
    [Ljava.lang.String;@1ba34f2
    any ideas??

    Have no idea. If you're compiling some java code, and looking for an answer, you're in the wrong forum, here. We do Messaging Server, not Java programming, here. . .

  • 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

  • Not sure why my JSP returns this: [Ljava.lang.String;@1417690

    Here is the result when one JSP posts the form to another JSP:
    [Ljava.lang.String;@1417690Here is how I created the list box in the initial form.
    <h:selectManyListbox      id="ACTIONCODE"  required="true"
            value="#{searchCriteraBean.actionCode}">
            <f:selectItems value="#{commonLists.actionCodes}"/>
    </h:selectManyListbox>Here is how I am displaying the results in the target form .
    <h:outputLabel value="Action Code:"></h:outputLabel>
    <h:outputText value="#{searchCriteraBean.actionCode}"/>Backing bean field looks like this and the appropriate getters and setters that use String arrays.
    private String[] actionCode = new String[]{};
         public String[] getActionCode() {
              return actionCode;
         public void setActionCode(String[] actionCode) {
              this.actionCode = actionCode;
         }Can anyone please tell me why it won't just display the selected values? and what changes need to be made to display the selected values.
    Message was edited by:
    joeyjgarcia

    If you have special requirements for what the string should look like, I suggest you build it yourself.
    Something like this:
            private String[] actionCode = new String[0];
         public String[] getActionCode() {
              return actionCode;
         public void setActionCode(String[] actionCode) {
              this.actionCode = actionCode;
            public String getActionCodeString() {
               StringBuffer sb=new StringBuffer();
               for (int i=0; i<actionCode.length; i++) {
                  sb.append(actionCode);
    if (i<actionCode.length-1) {
    sb.append(", ");
    And then you display it in the JSP like this:
    <h:outputText value="#{searchCriteraBean.actionCodeString}"/>Message was edited by:
    johannef

  • Javax.servlet.ServletContext.getContextPath()Ljava/lang/String;

    Hi,
    I was working with tomcat 5.25 ,jdk1.6 ,when i changed tomcat version 5.25 to 6.0 getting exception
    java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
         at com.sun.faces.config.WebConfiguration.getServletContextName(WebConfiguration.java:250)
         at com.sun.faces.config.WebConfiguration.<init>(WebConfiguration.java:100)
         at com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:158)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:124)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

    My_Problems wrote:
    I was working with tomcat 5.25 ,jdk1.6 ,when i changed tomcat version 5.25 to 6.0 getting exception
    java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;[ServletContext#getContextPath()|http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletContext.html#getContextPath()] was introduced in Servlet API 2.5. Tomcat 6.0 by default ships with this API. It look like that you've an older version of the Servlet API somewhere in the classpath which overrides the Tomcat 6.0 Servlet API. Maybe you accidently put it in your /WEB-INF/lib or another classpath paths while it doesn't belong there?

  • Ljava.lang.String?

    I was just running the code below in a jsp I'm building
    Map vals = request.getParameterMap();
    Iterator _i = vals.keySet().iterator();
    while(_i.hasNext()) {
         String key = _i.next().toString();
         String value = (String)vals.get(key);
                          sb.append(key + ":" + value + "\n");
    }When I add the value object to the string I get a memory location
    When I tried just directly casting vals.get(key) to a String, I got a ClassCastException saying that you can't cast an Ljava.lang.String to a java.lang.String
    Can someone explain this to me? What can I do with an Ljava.lang.String?

    Ljava.langString is a String[]. Read the API for getParameterMap(): the values are String[] not String.

  • Java.lang.string error

    I have installed JDEVELOPER and JDK 1.3.1.02 when I compile I get the following error
    Error(11,11): class string not found in class <package name>' despite adding an import line
    import java.lang.String;
    How do you get JDEVELOPER to see the standard libraries???
    Thanks

    Philip -
    The J2SE API contains these packages. You can see the class files in <JDEV_HOME>\jdk\jre\lib\rt.jar
    In fact, when you compile a simple java file, you should see this path in the -classpath command in the console.
    Hope this helps,
    Lynn
    Java Tools Team
    Hey guess what you were right, thank you, I will now go and shoot myself.
    The thing that was confusing me, and still is, is that Iv'e installed JDeveloper and Java SDK but I'm damned if I can find the API class files I was expecting to see like java.lang, java.text and java util, what have you/Sun done with them???
    The imports are working, but where in the filesystem are they importing from.
    Regards, Philip Palij

  • [Ljava.lang.Character; error.

    Hi,
    just noticed this,
    When ever a character is required the tool
    will map it to [Ljava.lang.Character;
    cheers.

    Hi as for
    Re: Deploy Toplink 9.0.3 Entity beans with JDEV9.0.3 and oc4j9.0.3
    I lost interest in toplink.
    Anyway the version I was using is 9.0.3
    and I just was just mapping some tables from an Oracle database to entity beans.

  • PL help GenericServlet: method log(Ljava/lang/String;Ljava/lang/Throwable;)V not found

              When error occurs compiling JSP WLS redirects to error page along with compiler messages. Suddenly
              it started to generate GenericServlet error along with netscape message: "The document contained no data.
              Try again later or contact system administrator." How to debug this problem?
              [Error.txt]
              

    Check you classpath.
              that method is not appeared in earlier version
              of Servlet package.(Servlet2.0 or lower?)
              I think you're using WebLogic 5.1.0 and may cause conflict if you're
              classpath
              contains earlier version of weblogic(4.5.x) or other order servlet packages.
              "Miron" <[email protected]> wrote in message
              news:3a241477$[email protected]..
              >
              > When error occurs compiling JSP WLS redirects to error page along with
              compiler messages. Suddenly
              > it started to generate GenericServlet error along with netscape message:
              "The document contained no data.
              > Try again later or contact system administrator." How to debug this
              problem?
              

  • I cannot log in to which online .when i try to log in my username shows [ljava.lang.string@ and some numbers. I can log in using i.e but not FIREFOX .

    I cannot log in on which web page .I am a member and contacted them ,they said it could be temporary folder issue and to delete them,i have done this and cleared my recent history .I also disabled all plug ins and extensions,finally i restored my laptop to an aerlier time.Apreciate any help.Thanks.

    "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"<br />
    "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"<br />
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

Maybe you are looking for

  • How can I uninstall and reinstall the latest upgrade if that is my problem.

    I can only get Firefox to open when I initially startup my computer. If I open the mail first, I can't get into Firefox. I can use the email while Firefox is open, but if I have closed Firefox I can't open any links in the mail messages. I have to sh

  • Inside Battery Backup Box

    Sorry if this is being posted in the wrong forum.  Does anyone know what the power consumption of the internal battery backup box is?  This is where I am coming from.  I previously had xxx cable (internet, phone, & tv).  When I had a power outage I d

  • Payment engine blocked

    Hello experts, When I launch a a payment wich required LCR file, the payment engine blocked. What should I do to be able to make the payment ? Thanks for your answer. Best regards Sébastien TABORE

  • Need Next Previous Button on List view webpart

    Hi All, 5 items are displaying from the announcement list on the homepage. The client is asking to give next and previous button on the webpart so more than 5 announcements can be seen by the user. What are the various options to implement? Does 2013

  • MS Access download

    I'm trying to download the Access to 7.3.4 Wizard. I tell it to accept the license terms and then get thrown back to the original screen and the downlod process never starts. I tried it with version for Oracle 8 and it worked. Is that file still avai