Problem while loading the log4j.xml in to the classpath

Hi,
I am working with a web application using tomcat5.0.I am using log4j for logging the information in my application.I am keeping log4j.xml out side of the application(Generally we will keep under WEB-INF/classes ).Now I want to load the log4j.xml from outside location in my ContextListner class.I am using the following code.
String cmd="java -cp -Dlog4j.configuration=C:/sample/log4j.xml";
               Runtime runtime = Runtime.getRuntime();
               Process process = null;
               process = runtime.exec(cmd);  but I am getting the following errors.
log4j:WARN File option not set for appender [stdout].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).
log4j:WARN Please initialize the log4j system properly.
log4j:ERROR No output stream or file set for the appender named [stdout].
Feb 26, 2009 7:48:28 PM org.apache.coyote.http11.Http11BaseProtocol startI am not getting where am I doing wrong.
Any Ideas please?
Regards
kondal

My log4j.xml looks like
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
     <appender name="file" class="org.apache.log4j.RollingFileAppender">
          <param name="File" value="C:\\niablogs\\niab3.log"/>
        <param name="MaxFileSize" value="1MB"/>
        <param name="append" value="true"/>
        <param name="MaxBackupIndex" value="5"/>
          <layout class="org.apache.log4j.PatternLayout">
               <param name="ConversionPattern" value="(%-25.25F:%4L) %d{yyyy MM dd HH:mm:ss:SSS} [%-30.30t] %5p - %m %n" />
          </layout>
     </appender>
    <logger name="in.co" additivity="false">
        <level value="all" />
        <appender-ref ref="file" />
    </logger>
</log4j:configuration>It is working fine if I keep log4j.xml under WEB-INF/classes.If I keep my log4j.xml is outside of the application then it is not working.As per ApacheLog4j Specification we need to set the xml file path to the log4j.configuration system property.Even I tried putting like the following in my Listener class System.setProperty("log4j.configuration", "C:/kondal/log4j.xml");.
Any Ideas please?
Thanks
kondal

Similar Messages

  • Log4j.xml ----timestamp error-the hour is not correct in the logs. HELP !!!

    I need your help to correct the following issue:
    -timestamp in logs is one hour ahead than the server time.
    I am using jboss-4.0.3SP1 and jdk1.5.0_10
    In order to solve this problem I have tried almost everything that I could find about this on internet:
    1) I have used the tzdupdate()
    tzupdater version 1.3.40-b01
    JRE time zone data version: tzdata2011h
    Embedded time zone data version: tzdata2011h
    2) copied the log4j.properties to WEB-INF/classes
    /opt/jboss-4.0.3SP1/server/mcdp-std/deploy/axis2.war/WEB-INF/classes/log4j.properties
    3) also I've checked to have the same log4j.jar
    The log4j.xml looks like this:
    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
    &lt;!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"&gt;
    &lt;!-- ================================================== --&gt;
    &lt;!-- --&gt;
    &lt;!-- Log4j Configuration --&gt;
    &lt;!-- --&gt;
    &lt;!-- ================================================== --&gt;
    &lt;log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"&gt;
    &lt;!-- Default server.log file containing the error messages for all clients --&gt;
    &lt;appender name="SERVER_LOG" class="org.jboss.logging.appender.RollingFileAppen der"&gt;
    &lt;errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler "/&gt;
    &lt;!-- Change this value before load test --&gt;
    &lt;param name="Threshold" value="DEBUG"/&gt;
    &lt;param name="File" value="${jboss.server.home.dir}/log/server.log"/&gt;
    &lt;param name="Append" value="true"/&gt;
    &lt;param name="MaxFileSize" value="10MB"/&gt;
    &lt;param name="maxBackupIndex" value="5"/&gt;
    &lt;param name="bufferedIO" value="false"/&gt;
    &lt;layout class="org.apache.log4j.PatternLayout"&gt;
    &lt;param name="ConversionPattern" value="%d{MM/dd HH:mm:ss,SSS} %-5p [%c] %t: %m%n"/&gt;
    &lt;/layout&gt;
    &lt;!-- Exclude partition crap logged in cluster.log --&gt;
    &lt;filter class="org.apache.log4j.varia.StringMatchFilter"&gt;
    &lt;param name="StringToMatch" value="org.jboss.ha"/&gt;
    &lt;param name="AcceptOnMatch" value="false"/&gt;
    &lt;/filter&gt;
    &lt;filter class="org.apache.log4j.varia.StringMatchFilter"&gt;
    &lt;param name="StringToMatch" value="org.jgroups"/&gt;
    &lt;param name="AcceptOnMatch" value="false"/&gt;
    &lt;/filter&gt;
    &lt;/appender&gt;
    &lt;!-- Clustering logging --&gt;
    &lt;appender name="CLUSTER" class="org.jboss.logging.appender.RollingFileAppen der"&gt;
    &lt;errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler "/&gt;
    &lt;!-- Change this value before load test --&gt;
    &lt;param name="Threshold" value="INFO"/&gt;
    &lt;param name="File" value="${jboss.server.home.dir}/log/cluster.log"/&gt;
    &lt;param name="Append" value="true"/&gt;
    &lt;param name="MaxFileSize" value="500KB"/&gt;
    &lt;param name="MaxBackupIndex" value="1"/&gt;
    &lt;layout class="org.apache.log4j.PatternLayout"&gt;
    &lt;param name="ConversionPattern" value="%d{MM/dd HH:mm:ss,SSS} (%t) %-5p [%c] %m%n"/&gt;
    &lt;/layout&gt;
    &lt;/appender&gt;
    and log4.properties is like this:
    # Set root category priority to INFO and its only appender to CONSOLE.
    log4j.rootCategory=INFO, CONSOLE
    #log4j.rootCategory=INFO, CONSOLE, LOGFILE
    # Set the enterprise logger priority to FATAL
    log4j.logger.org.apache.axis2.enterprise=FATAL
    log4j.logger.de.hunsicker.jalopy.io=FATAL
    log4j.logger.httpclient.wire.header=FATAL
    log4j.logger.org.apache.commons.httpclient=FATAL
    # CONSOLE is set to be a ConsoleAppender using a PatternLayout.
    log4j.appender.CONSOLE=org.apache.log4j.ConsoleApp ender
    log4j.appender.CONSOLE.layout=org.apache.log4j.Pat ternLayout
    log4j.appender.CONSOLE.layout.ConversionPattern=%p [%d{ISO8601}] %c{2} %x - %m%n
    # LOGFILE is set to be a File appender using a PatternLayout.
    log4j.appender.LOGFILE=org.apache.log4j.FileAppend er
    log4j.appender.LOGFILE.File=axis2.log
    log4j.appender.LOGFILE.Append=true
    log4j.appender.LOGFILE.layout=org.apache.log4j.Pat ternLayout
    log4j.appender.LOGFILE.layout.ConversionPattern=%p [%d{ISO8601}] %c{2} %x - %m%n

    Did you check http://www.oracle.com/technetwork/java/javase/dst-faq-138158.html in particular 27 about Cached instances of timezone data? I suggest to post this issue in the Application Server forum Oracle Application Server - General

  • Problem while loading data from ODS to infoobject

    Hi guys,
    I am facing problem while loading data from <b>ODS to infoobject</b>.
    If I load data via PSA it works fine but
    if I load data without PSA its giving error as Duplicate records.
    Do u have any idea why it is so.
    Thanks in advance
    savio

    Hi,
    when you load the data via the PSA, what did you select? Serial or Paralel?
    If you select serial most likely you don't have duplicates within the same datapackage and your load can go through.
    Loading directly in the IObj will happen thefore if you have the same key in two different packages, the "duplicate records" will be raised; you can perhaps flag your IPack with the option "ignore duplicate records" as suggested...
    hope this helps...
    Olivier.

  • Problem while loading applet in opera- very urgent please

    hi,
    I am having problem while loading applet in opera browser. Showing "Applet loading " continuously. I am trying to use URLConnection to read information from applet's own host. I cant find the exact problem what is happening, Since there is no error message in browser Javaconsole.
    If anybody have idea on this please help me. I am in great hurry.
    Thanks in advance.
    Rao. V

    hi this is rao,
    I inserted a lot of System.out statements throughout applet life cycle. But they are not displaying in java console. I think the problem is in Opera-java settings. Since i am new to the opera environment i cant get right solution.
    Please help me if anybody having clear idea on this aspect.
    thanks in advance

  • Problem while loading security information (users/roles) from repository

    Iview have stopped connecting to our MDM, All repositories, all IViews Very strange
    Here is what I see in the logs.... Any ideas? Please if you have seen this before only
    Marty
    com.sap.mdm.extension.MetadataException: Problem while loading security information (users/roles) from repository 'PORTAL_CUSTOMERS'
    at com.sap.mdm.extension.MetadataManager.loadRoleCache(MetadataManager.java:559)
    at com.sap.mdm.extension.MetadataManager.internalGetRoleSet(MetadataManager.java:502)
    at com.sap.mdm.extension.MetadataManager.getRoleSet(MetadataManager.java:471)
    at com.sap.mdm.extension.MetadataManager.createMetadataKey(MetadataManager.java:464)
    at com.sap.mdm.extension.MetadataManager.getRepositorySchema(MetadataManager.java:197)
    at com.sap.mdm.uwl.MdmUwlConnector.createUserSessionContext(MdmUwlConnector.java:1463)
    at com.sap.mdm.uwl.MdmUwlConnector.new_retrieveItems(MdmUwlConnector.java:546)
    at com.sap.mdm.uwl.MdmUwlConnector.getItems(MdmUwlConnector.java:129)
    Caused by: com.sap.mdm.commands.CommandException: com.sap.mdm.net.ConnectionException: java.io.IOException: Unexpected socket read.  Result is -1.
    at com.sap.mdm.security.commands.GetUserListCommand.execute(GetUserListCommand.java:72)
    at com.sap.mdm.extension.MetadataManager.loadRoleCache(MetadataManager.java:526)
    Caused by: com.sap.mdm.net.ConnectionException: java.io.IOException: Unexpected socket read.  Result is -1.
    at com.sap.mdm.internal.protocol.manual.AbstractProtocolCommand.execute(AbstractProtocolCommand.java:102)
    at com.sap.mdm.security.commands.GetUserListCommand.execute(GetUserListCommand.java:69)
    at com.sap.mdm.internal.net.DataSocket.receiveData(DataSocket.java:62)
    at com.sap.mdm.internal.net.ConnectionImpl.readInt(ConnectionImpl.java:497)
    at com.sap.mdm.internal.net.ConnectionImpl.readInt(ConnectionImpl.java:490)
    at com.sap.mdm.internal.net.ConnectionImpl.nextMessage(ConnectionImpl.java:629)
    at com.sap.mdm.internal.net.ConnectionImpl.receiveMessage(ConnectionImpl.java:572)
    at com.sap.mdm.internal.net.ConnectionImpl.send(ConnectionImpl.java:233)
    at com.sap.mdm.internal.protocol.manual.AbstractProtocolCommand.execute(AbstractProtocolCommand.java:99)
    com.sap.mdm.commands.CommandException: com.sap.mdm.net.ConnectionException: java.net.SocketException: There is no process to read data written to a pipe.

    Early this month we upgraded the MDM server to:
    MDM Server version: 5.5.63.57
    And the portal components:
    MDM 5.5 SP06 Technology Patch 3 (Build 5.5.63.57)
    MDM 5.5 SP06 Application Patch 3 (Build 5.5.63.57)
    MDM 5.5 SP06 Java API Patch 3 (Build 5.5.63.57)
    However the issue just began 2 days ago?
    We started intgrating MDM Workflow with UWL and assigned Roles and Iviews to the Universal Worklist Configuration
    It seems the Iviews work for a while and then after some time everything gives up? Very confounding
    And yes we are using standard Iviews (search, Result and detail)
    Thanks
    Edited by: Marty Monroe on Oct 31, 2008 3:07 PM

  • Facing  problem while loading data into XI

    Hi All,
    I am facing a peculiar problem while loading data into XI when we load small amount of data say 5-10 records these records gets processed, but when we try to load a bit higher volume say 100-500 which comes out to be around 7 record s per second then the record processing gets stalled. That is it gives a message that "recorded for outbound processing".
    So can any body throw some light on it and can tell us why we rare facing such problem and how can we resolve that problem.
    Thanks in Advance.
    Regards
    rahul

    Hi rahul,
    Deregistering and Registering the Queue is a temporary solution.
    The better way to this would be to Tune your Xi system as already mentioned by Vijaya as mentioned in the guide ,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7fdca26e-0601-0010-369d-b3fc87d3a2d9
    Regards,
    Bhavesh

  • [svn:osmf:] 17446: make loading of the configuration xml part of the process.

    Revision: 17446
    Revision: 17446
    Author:   [email protected]
    Date:     2010-08-23 11:58:36 -0700 (Mon, 23 Aug 2010)
    Log Message:
    make loading of the configuration xml part of the process.
    Modified Paths:
        osmf/branches/weiz-neon-sprint3-prototype/apps/samples/framework/DrmOSMFPlayer/DrmOSMFPla yer.mxml
        osmf/branches/weiz-neon-sprint3-prototype/framework/OSMF/.flexLibProperties
        osmf/branches/weiz-neon-sprint3-prototype/framework/OSMF/org/osmf/configuration/Configura tionService.as
    Added Paths:
        osmf/branches/weiz-neon-sprint3-prototype/framework/OSMF/org/osmf/events/ConfigurationEve nt.as

    My log4j.xml looks like
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
         <appender name="file" class="org.apache.log4j.RollingFileAppender">
              <param name="File" value="C:\\niablogs\\niab3.log"/>
            <param name="MaxFileSize" value="1MB"/>
            <param name="append" value="true"/>
            <param name="MaxBackupIndex" value="5"/>
              <layout class="org.apache.log4j.PatternLayout">
                   <param name="ConversionPattern" value="(%-25.25F:%4L) %d{yyyy MM dd HH:mm:ss:SSS} [%-30.30t] %5p - %m %n" />
              </layout>
         </appender>
        <logger name="in.co" additivity="false">
            <level value="all" />
            <appender-ref ref="file" />
        </logger>
    </log4j:configuration>It is working fine if I keep log4j.xml under WEB-INF/classes.If I keep my log4j.xml is outside of the application then it is not working.As per ApacheLog4j Specification we need to set the xml file path to the log4j.configuration system property.Even I tried putting like the following in my Listener class System.setProperty("log4j.configuration", "C:/kondal/log4j.xml");.
    Any Ideas please?
    Thanks
    kondal

  • I am facing a problem while working in Muse... The issue is I cannot delete a page from my plan, when I am trying to delete it showing an error and the application shuts down. I am working on an emergency project which I got to submit it tomorrow I hope y

    I am facing a problem while working in Muse... The issue is I cannot delete a page from my plan, when I am trying to delete it showing an error and the application shuts down. I am working on an emergency project which I got to submit it tomorrow I hope you will find a solution for the same.Help with using Adobe Muse CC

    Thanks,
    I have tried with a new site it's working perfectly.
    See the screenshot of the error.
    Thanks for your support Rohit

  • Importing log4j.xml and viewing the out put .

    hi iam having log4j.xml which i should use to view the output .iam using netbeans IDE .i imported import org.apache.log4j.Logger; then i added log4j.xml in source package .and apache log4j to the libraries .
    *.but how to import this log4j.xml file and view the output?*
    import java.util.logging.Level;
    import org.apache.log4j.Logger;
    static Logger logger = Logger.getLogger( Header.class);the how to use * logger* to view ConsoleAppender and PatternLayout

    Open a text editor. Go to the File menu and select the Open option. Navigate to the directory where the log4j.xml file is located. Select it and it will appear in your text editor, where you will be able to view it.
    That wasn't what you meant, was it? Unfortunately I can't understand what you do mean. You seem to be confusing the act of writing a program which will write output to a file with the act of looking at that file. And you seem to be confusing Java programming operations ("import") with something else that I don't understand.
    Could you rephrase your question and perhaps include something that explains what you want to do? Because you have it backwards. Loggers don't view files, viewing is reading. Loggers write files.

  • Configure the log4j.xml file

    Hello All,
    I am trying to configure the log4j.xml file, so that i can get differnet logging messages based on the level to different log files. for ex: info messages in info.log, debug messages in debug.log and so on...i tried using the below...but, no luck.
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>
    <appender name="UCF_Exception" class="org.apache.log4j.RollingFileAppender">
         <param name="File" value="UCF_Exception.log"/>
         <param name="Append" value="false"/>
         <param name="MaxFileSize" value="1000KB"/>
         <param name="MaxBackupIndex" value="2"/>
         <layout class="org.apache.log4j.xml.XMLLayout">
              <param name="LocationInfo" value="true"/>
         </layout>
    </appender>
    <log4j.logger.UCFExceptionLogger>
         <level value ="debug"/>
         <appender-ref ref="UCF_Exception" />
    </log4j.logger.UCFExceptionLogger>
    </log4j:configuration>
    getting exception
    log4j:WARN No appenders could be found for logger (UCFExceptionLogger).
    log4j:WARN Please initialize the log4j system properly.
    Can someone help me...

    I'm not 100% sure this is possible with log4j, but if it is then you've still got some errors in your log4j.xml file
    Change
    <log4j.logger.UCFExceptionLogger>
       <level value ="debug"/>
       <appender-ref ref="UCF_Exception" />
    </log4j.logger.UCFExceptionLogger>to
    <logger name="UCFExceptionLogger>
       <level value="debug"/>
       <appender-ref ref="UCF_Exception" />
    </logger>
    The log4j jar includes a DTD. You can use the free version of XMLSpy to validate your log4j.xml file against it.
    Steve                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Problem while loading the applet across SSL in IE 5.0 & NS 6.0

    Hi
    Can any one of u guys solve my problem????
    I m trying to load an applet thru https protocol in both the browsers( IE 5.0 and Netscape 6.0). I am having a jar file which contains the applet class files and some helper files for the applet.When i m accessing the image URL (in the html file for the applet) thru https protocol itz working fine on both the browsers. But when i try to access codebase thru https i m getting different errors on both the browsers. Errors r as follows.
    Exception in IE 5.0
    java.net.ConnectException: HTTPS response=404
    at
    sun.plugin.protocol.https.BrowserHttpsInputStream.openStream(Native
    Method)
    at
    sun.plugin.protocol.https.BrowserHttpsInputStream.<init>(Unknown
    Source)
    at
    sun.plugin.protocol.https.BrowserHttpsURLConnection.getInputStream(Unknown
    Source)
    at sun.plugin.cachescheme.PluginURLConnection.downLoadFile(Unknown
    Source)
    at
    sun.plugin.cachescheme.PluginJarCacheHandler.downloadJarFileToCache(Unknown
    Source)
    at
    sun.plugin.cachescheme.PluginJarCacheHandler.cacheHandler(Unknown
    Source)
    at
    sun.plugin.cachescheme.PluginJarCacheHandler.getJarFilesPath(Unknown
    Source)
    at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in Netscape 6.0
    java.lang.ClassFormatError: package1/package2/package3/TiffViewer (Bad
    magic number)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at sun.plugin.security.PluginClassLoader.access$201(Unknown
    Source)
    at sun.plugin.security.PluginClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Plz help me out if any one of u guys have came across such type of problem. Its very very urgent as well as critical. Any help / suggestion will highly be appreciated
    tks in advance
    Soniya

    Hi..
    I m also facing the same problem as described above. I have checked up the path for the class files mentioned in the "code" param in the html file.I also tested with the sample program but could not succed in getting the result.Both the browsers give different error messages as mentioned in the query posted by soniya1.I would be thankful if u can kindly throw some light on this
    if u have some sample code u may kindly drop it to the following mail id
    [email protected]
    hope to hear from u soon
    tx in advance
    R.Lakshmi

  • Error while loading  data into External table from the flat files

    HI ,
    We have a data load in our project which feeds the oracle external tables with the data from the Flat Files(.bcp files) in unix.
    While loading the data, we are encountering the following error.
    Error occured (Error Code : -29913 and Error Message : ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04063: un) while loading data into table_ext
    Please let us know what needs to be done in this case to solve this problem.
    Thanks,
    Kartheek

    Kartheek,
    I used Google (mine still works).... please check those links:
    http://oraclequirks.blogspot.com/2008/07/ora-29400-data-cartridge-error.html
    http://jonathanlewis.wordpress.com/2011/02/15/ora-29913/
    HTH,
    Thierry

  • Problem while loading a jar file into database

    Hi All,
    We are using Oracle 8.1.5 in Solaris. When I try to load a jar file into the database by using loadjava it gives the following error
    Error while processing jar cryptix32.jar
    Exception java.io.IOException: Load Java is unable to handle compressed entries: cryptix/provider/Cryptix.class
    loadjava: 1 errors
    Can anybody suggest anything to overcome this. Thanks in advance.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by John Emmer ([email protected]):
    I presume you've tried creating the jar w/o compressing it? If not, and even if you didn't create the jar, then first unpack the jar into a directory and re-jar it without using compression.<HR></BLOCKQUOTE>
    Hi John,
    Thanks for your help. I unpacked the jar and rhen re-jared it with -0 (uncompress ) option. The above error is gone. But I am getting another problem. I am getting the following error for all the classes except the property files.
    Error while resolving class cryptix/cryptix/provider/cipher/Rijndael
    ORA-04043: object cryptix/cryptix/provider/cipher/Rijndael does not exist
    But the class is there in the jar. I am able to load single individual classes. Can anybody help me in this matter. Thanks in advance.

  • (Class cast Exception)Problem while loading data fro database in java class

    Dear all,
    Please help me...to solve this
    I have a database having two columns of String and Date Types.
    In my java code i was trying to load the data to a UI.
    I am successfull in loading the String type value.
    But while loading date field value,is showing Class cast Exception.
    What i am doing is Getting the values from database to a String[] array.
    So my question is how to
    get the Date field as date field itself,Then convert it to a String..Then put it in to String[] array...
    Any body please help...If any one want more clarification in question i will give......

    Hi,
    I am using GWT to display my data in a Grid.
    So it will accept a Single two dimensional String array....Here i have one as String and other as Date.
    So i was trying to get each row in a sindle dimensional array array[] then store it in a list.
    Iteration goes up to 10 rows.After i am setting it in to a list
    ie list.add(array);
    Now while returning this list i am doing this
    "return (String[][])list.toArray(new String[0][]);"
    When i tried to get the date element to String array it is showing class cast exception. When i tried with toString() method it is showing the same problem.

  • Idoc problem while loading

    Hi Gurus,
    I am getting error "<b>Idocs missing: No end-confirmation arrived in the Warehouse from</b>" while loading data from R3 to BW via process chain.
    Can any one please suggest me how solve this problem.
    Thanks in advance.
    Regards
    Tony

    Hi,
    It may be due to below reasons...
    1. Check whether the Log Table is full in the BW side.
    2. Check Whether the Connection to Source System is fine.
    3. System might be busy , Many jobs running in system.
    Go to SM58 in BW system , find TRFC queue with enteries for each LUW . U can come to know why IDOC is not processed by looking at the error there . Also check whether the job is finished successfully in Source System. U can process the LUW in Sm58 manually from Edit menu entry ....
    Thanks
    DSt

Maybe you are looking for

  • Auto selected G/L Account and COGS Account by CardCode then ItemGroup

    Hello, I am new to the community. I have been working on learning SAP B1 8.8 since the beginning of the year. So far its been a great time   I have been searching for a solution for method of having multiple G/L Accounts and COGS Accounts in Delivery

  • Quality of photos on burned DVD no where near original files

    The quality of the photos in a slideshow I burned to DVD using iDVD 6.0 are NO WHERE near the quality of the un-edited original files. It's so bad I wouldn't even give the DVD to someone. What gives? I chose "High Quality" encoding in iDVD. I was exp

  • Security issue in Beginner's Guide

    In this guide: http://wiki.archlinux.org/index.php/Net - fter_login Regarding this script: $!/bin/sh echo PASSWORD | /usr/bin/pam-keyring-tool --unlock --keyring=default -s It seems awfully insecure to have my password stored in a plaintext file. Is

  • SAP DB installation failed!

    Hi , i am installing content server & cache server on my machine. while installing i am getting the following error: "SAP DB installation failed" i had uninstalled once, and renamed the SAP DB to run the installtion only to find the above mentioned e

  • Mail Alert Configuration

    In productive scope XI the configuration of the alert has been presenting/displaying some problems, I believe that you can be so that in these machines it exists to cluster, because in atmospheres DES and QA this working as it corresponds. The proble