Webdynpro java Log File

Hi All,
I want to check appropriate error log and see what went wrong if my Java Webdynpro application deployment fails.
Can anyone help me out in this?
Regards,
Divya

Hi Divya,
Get hold of DefaultTrace.trc on your server. That will give you the detailed exception for your Web Dynpro application.
You can also use NWA to view the errors. Try accessing
http://EPHost:PortNo/nwa
Regards
Nikhil Bansal
xxxxxxxxxxxxxxxxxxxxxxxxx
Edited by: Armin Reichert on Feb 18, 2008 7:21 PM

Similar Messages

  • Java log file is duplicated for each run.

    Hi all,
    I am trying to create a file logger,,Following is part of my coding.
    Now I can see the log file being created. However my problem is that every time I run the process the log is appended to the test.log file correctly. But the problem is that it also create test.log.1, test.log.2.. etc files each time the process is run. It will be great if anyone advise me how to eleminate these extra files being generated each time. I need just one log file to be genereted and all the logs to be appended to it.
    boolean append = true;
    FileHandler handler = new FileHandler(test.log);
    SimpleFormatter simpleFormatter = new SimpleFormatter();
    handler.setFormatter(simpleFormatter);
    logger.addHandler(handler);Thanks in adavance

    could some one please help me out on this.

  • Java.util.logging: write to one log file from many application (classes)

    I have a menuapp to launch many applications, all running in same JVM and i want to add logging information to them, using java.util.logging.
    Intention is to redirect the logginginfo to a specific file within the menuapp. Then i want all logging from all applications written in same file. Finally, if needed (but i don't think it is), i will include code to write logging to specific file per app (class). The latter is probably not neccessary because there are tools to analyse the logging-files and allow to select filters on specific classes only.
    The applications are in their own packages/jars and contain following logging-code:
            // Redirect error output
            try {
                myHandler = new FileHandler("myLogging.xml",1000000,2);
            } catch (IOException e) {
              System.out.println("Could not create file. Using the console handler");
            myLogger.addHandler(myHandler);
            myLogger.info("Our first logging message");
            myLogger.severe("Something terrible happened");
            ...When i launch the menuapplication, it writes info to "myLogging.xml.0"
    but when i launch an application, the app writes info to "myLogging.xml.0.1"
    I already tried to leave out the creation of a new Filehandler (try/catch block in code above) but it doesn't help.
    Is it possible to write loginfo to same specific file?

    You should open/close it somehow at every write from different processes.
    But I personally prefer different file names to your forced merging, though.

  • How to Consume a WSDL file in Webdynpro JAVA Application 7.30

    Hi Experts,
    My requirement is,I have a wsdl file(Provided by the SAP PI) which i need to consume in Webdynpro Java 7.3(NWDS 7.30).
    I has been tried in the follwing way
    1.First click on the Model --> Adaptive Web Service Model -->Model Name--Package Name
    2.Choose Remote Location/File System.
    3.After that choose the WSDL file from my project which i added earlier.
    4.After that I get the node in the context menu.But I am uneble to set some data into the node and also uneble to get data data from the node
    After deploying my project I get the following error.
    Error ::
    The initial exception that caused the request to fail, was:
    com.sap.esi.esp.service.server.query.discovery.ExtendedServiceException: Configuration not found for service reference with ID: c73e38ff-a4d8-4e4c-89c2-827fd5cf17ac from application demo.sap.com/mwebsrvc. Either you have not assigned the Service Group to a Provider System or the generation of the configuration has failed. Check the configuration details from SAP NetWeaver Administrator -> Application Communication. --> Details about the Service Reference: {urn://TestSOAPtoRFCSender}SI_TestSOAPtoRFCSender_OB; Service Group: com.tsecl.SITestSOAPtoRFCSender_OB.pidev_nerapdrp_gov_in; Service Group Software Component: demo.sap.com/mwebsrvc; Service Group Application: demo.sap.com/mwebsrvc; Configuration state: Not configured
        at com.sap.esi.esp.service.server.dynamic.DIIServiceRefConfigContextImpl.prepareContext(DIIServiceRefConfigContextImpl.java:275)
        at com.sap.esi.esp.service.server.dynamic.DIIServiceRefConfigContextImpl.<init>(DIIServiceRefConfigContextImpl.java:59)
        at com.sap.esi.esp.service.server.dynamic.DIIContextCreatorImpl.createDIIServiceRefConfigContext(DIIContextCreatorImpl.java:18)
        at com.sap.engine.services.webservices.espbase.client.dynamic.configuration.DIIContextFactory.createDIIConfigurationsContext(DIIContextFactory.java:12)
        at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:368)
        ... 67 more
    Please help me about this.
    Thanks and Regards,
    Amit Basak

    Hi Amit,
    Create provider system in NWA -> SOA management -> System Connections. After ping is successful go to NWA -> Application Communication and select your DC and assign the provide system for your service configuration group.
    I hope it will works fine as we also did the same.
    - Pradeep

  • How to move files from one folder to another folder in webdynpro java for sap portal

    Dear Experts,
    I wan to move files from one folder to another folder in SAP portal 7.3 programmatically in webdynpro java.
    My requirement is in my portal 1000 transport packages is their. Now i want to move 1 to 200 TP's into Archive folder.
    Can you please help me how to do in through portal or wd java ...
    Regards
    Chakri

    Hello,
    Do you know what the difference between copying a file this way :
    ** Fast & simple file copy. */
    public static void copy(File source, File dest) throws IOException {
    FileChannel in = null, out = null;
    try {         
    in = new FileInputStream(source).getChannel();
    out = new FileOutputStream(dest).getChannel();
    long size = in.size();
    MappedByteBuffer buf = in.map(FileChannel.MapMode.READ_ONLY, 0, size);
    out.write(buf);
    } finally {
    if (in != null) in.close();
    if (out != null) out.close();
    ================SECOND WAY============
    AND THIS WAY:
    // Move file (src) to File/directory dest.
    public static synchronized void move(File src, File dest) throws FileNotFoundException, IOException {
    copy(src, dest);
    src.delete();
    // Copy file (src) to File/directory dest.
    public static synchronized void copy(File src, File dest) throws IOException {
    InputStream in = new FileInputStream(src);
    OutputStream out = new FileOutputStream(dest);
    // Transfer bytes from in to out
    byte[] buf = new byte[1024];
    int len;
    while ((len = in.read(buf)) > 0) {
    out.write(buf, 0, len);
    in.close();
    out.close();
    And which is better? I read up on what each kind of does but still a bit unclear as to when it is good to use which.
    Thanks in advance,
    JavaGirl

  • Log File on Desktop From Java HotSpot

    A colleague's PC has a log file on the desktop, created 28th October. Its title: 'hs_err_pid3268.log'
    Initially we were both concerned since Kaspersky had detected some viruses on his machine on it's nightly scan, however, looking at the log file I'm not sure whether to be worried or not! - It looks legitimate, if a bit odd...
    If somebody more knowledgeable could tell me firstly if it's anything sinister and secondly (if not) what may have cause it and whether it's an issue I should investigate on this machine.
    Thanks in advance, below is the contents of the text file. (As you can see I'm brand new to these forums, apologies if this is not the correct section for these kind of questions).
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d5ecb6d, pid=3268, tid=2164
    # Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode windows-x86)
    # Problematic frame:
    # C 0x6d5ecb6d
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x0e2fc400): JavaThread "Headspace mixer frame proc thread" daemon [_thread_in_native, id=2164, stack(0x0e250000,0x0e2a0000)]
    siginfo: ExceptionCode=0xc0000005, reading address 0x6d5ecb6d
    Registers:
    EAX=0x0e19aa10, EBX=0x0e18b8a2, ECX=0x00000080, EDX=0x6d5ecb6d
    ESP=0x0e29f740, EBP=0x0e29f788, ESI=0x00000080, EDI=0x0e18dda8
    EIP=0x6d5ecb6d, EFLAGS=0x00010202
    Top of Stack: (sp=0x0e29f740)
    0x0e29f740: 6d52ac78 0e2fc514 0e18dda8 00000000
    0x0e29f750: 0e2f0000 00000000 00000080 00000000
    0x0e29f760: 0e18dda8 00000000 0001af00 0001af00
    0x0e29f770: 002c6fe0 00000000 0e2f0000 0e100000
    0x0e29f780: 00000000 000021f8 0e2fc514 6d52b745
    0x0e29f790: 0e2fc514 80002d5a 0e2fc514 00000200
    0x0e29f7a0: 002c6fe0 0e29f7c0 00000000 00000010
    0x0e29f7b0: 6d52e6c0 0e2fc514 002c6fe0 00000000
    Instructions: (pc=0x6d5ecb6d)
    0x6d5ecb5d:
    [error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xc0000005]
    Stack: [0x0e250000,0x0e2a0000], sp=0x0e29f740, free space=317k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C 0x6d5ecb6d
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j com.sun.media.sound.MixerThread.runNative(J)V+0
    j com.sun.media.sound.MixerThread.run()V+5
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    =>0x0e2fc400 JavaThread "Headspace mixer frame proc thread" daemon [_thread_in_native, id=2164, stack(0x0e250000,0x0e2a0000)]
    0x0e2fc000 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=1604, stack(0x0e0b0000,0x0e100000)]
    0x0e2fb800 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=3748, stack(0x0dea0000,0x0def0000)]
    0x0c625c00 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=4796, stack(0x0dda0000,0x0ddf0000)]
    0x0c628400 JavaThread "AWT-EventQueue-1" [_thread_blocked, id=5976, stack(0x0dd00000,0x0dd50000)]
    0x0c628000 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=3688, stack(0x0dcb0000,0x0dd00000)]
    0x0c627800 JavaThread "Thread-12" [_thread_blocked, id=5696, stack(0x0dbc0000,0x0dc10000)]
    0x0c627400 JavaThread "Thread-10" [_thread_blocked, id=3600, stack(0x0db70000,0x0dbc0000)]
    0x0c627000 JavaThread "thread applet-vmain.class-4" [_thread_blocked, id=3184, stack(0x0db20000,0x0db70000)]
    0x0c626800 JavaThread "Thread-11" [_thread_blocked, id=3308, stack(0x0dad0000,0x0db20000)]
    0x0c626400 JavaThread "Thread-9" [_thread_blocked, id=888, stack(0x0da80000,0x0dad0000)]
    0x0c625800 JavaThread "thread applet-vmain.class-2" [_thread_blocked, id=3848, stack(0x0df30000,0x0df80000)]
    0x0c624c00 JavaThread "Image Fetcher 3" daemon [_thread_blocked, id=3588, stack(0x0d9e0000,0x0da30000)]
    0x0c624400 JavaThread "AWT-EventQueue-5" [_thread_blocked, id=3932, stack(0x0d990000,0x0d9e0000)]
    0x0c624000 JavaThread "Applet 4 LiveConnect Worker Thread" [_thread_blocked, id=5964, stack(0x0d940000,0x0d990000)]
    0x0c623000 JavaThread "AWT-EventQueue-4" [_thread_blocked, id=824, stack(0x0d8f0000,0x0d940000)]
    0x0c623c00 JavaThread "Applet 3 LiveConnect Worker Thread" [_thread_blocked, id=4600, stack(0x0d850000,0x0d8a0000)]
    0x0c623400 JavaThread "AWT-EventQueue-3" [_thread_blocked, id=3516, stack(0x0d8a0000,0x0d8f0000)]
    0x0c621c00 JavaThread "Applet 2 LiveConnect Worker Thread" [_thread_blocked, id=4528, stack(0x0d7b0000,0x0d800000)]
    0x0c622800 JavaThread "AWT-EventQueue-2" [_thread_blocked, id=5296, stack(0x0d800000,0x0d850000)]
    0x0c622400 JavaThread "Applet 1 LiveConnect Worker Thread" [_thread_blocked, id=3788, stack(0x0d0e0000,0x0d130000)]
    0x0c621800 JavaThread "Browser Side Object Cleanup Thread" [_thread_blocked, id=1152, stack(0x0d760000,0x0d7b0000)]
    0x0c621000 JavaThread "Windows Tray Icon Thread" [_thread_in_native, id=5244, stack(0x0d470000,0x0d4c0000)]
    0x0c620c00 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=5136, stack(0x0d420000,0x0d470000)]
    0x0c618000 JavaThread "CacheMemoryCleanUpThread" daemon [_thread_blocked, id=3540, stack(0x0d3d0000,0x0d420000)]
    0x0c617000 JavaThread "Java Plug-In Heartbeat Thread" [_thread_blocked, id=3532, stack(0x0d380000,0x0d3d0000)]
    0x0c616c00 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=2044, stack(0x0d130000,0x0d180000)]
    0x0c609800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4612, stack(0x0d090000,0x0d0e0000)]
    0x0c606000 JavaThread "AWT-Shutdown" [_thread_blocked, id=5280, stack(0x0cbc0000,0x0cc10000)]
    0x0c605800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5408, stack(0x0ca00000,0x0ca50000)]
    0x022ff800 JavaThread "Java Plug-In Pipe Worker Thread (Client-Side)" [_thread_in_native, id=2340, stack(0x0c9b0000,0x0ca00000)]
    0x022bc000 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=3872, stack(0x0c8d0000,0x0c920000)]
    0x0c5c0400 JavaThread "Timer-0" [_thread_blocked, id=6076, stack(0x0c880000,0x0c8d0000)]
    0x022b4000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2036, stack(0x0c4e0000,0x0c530000)]
    0x022adc00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3908, stack(0x0c490000,0x0c4e0000)]
    0x022ab800 JavaThread "Attach Listener" daemon [_thread_blocked, id=1768, stack(0x0c440000,0x0c490000)]
    0x022a0c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5708, stack(0x0c3f0000,0x0c440000)]
    0x02291000 JavaThread "Finalizer" daemon [_thread_blocked, id=4484, stack(0x0c3a0000,0x0c3f0000)]
    0x0228c800 JavaThread "Reference Handler" daemon [_thread_blocked, id=4220, stack(0x02300000,0x02350000)]
    0x02399800 JavaThread "main" [_thread_blocked, id=3472, stack(0x008c0000,0x00910000)]
    Other Threads:
    0x02287400 VMThread [stack: 0x01a30000,0x01a80000] [id=5028]
    0x022b5400 WatcherThread [stack: 0x0c530000,0x0c580000] [id=5604]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 960K, used 251K [0x043a0000, 0x044a0000, 0x04880000)
    eden space 896K, 20% used [0x043a0000, 0x043cec30, 0x04480000)
    from space 64K, 100% used [0x04480000, 0x04490000, 0x04490000)
    to space 64K, 0% used [0x04490000, 0x04490000, 0x044a0000)
    tenured generation total 4096K, used 1436K [0x04880000, 0x04c80000, 0x083a0000)
    the space 4096K, 35% used [0x04880000, 0x049e7130, 0x049e7200, 0x04c80000)
    compacting perm gen total 12288K, used 10102K [0x083a0000, 0x08fa0000, 0x0c3a0000)
    the space 12288K, 82% used [0x083a0000, 0x08d7da68, 0x08d7dc00, 0x08fa0000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x00424000      C:\Program Files\Java\jre6\bin\java.exe
    0x77190000 - 0x772b7000      C:\Windows\system32\ntdll.dll
    0x75950000 - 0x75a2c000      C:\Windows\system32\kernel32.dll
    0x770c0000 - 0x77186000      C:\Windows\system32\ADVAPI32.dll
    0x761e0000 - 0x762a3000      C:\Windows\system32\RPCRT4.dll
    0x724d0000 - 0x724ee000      C:\Windows\system32\ShimEng.dll
    0x75670000 - 0x7569c000      C:\Windows\system32\apphelp.dll
    0x6acf0000 - 0x6ad78000      C:\Windows\AppPatch\AcLayers.DLL
    0x77350000 - 0x773ed000      C:\Windows\system32\USER32.dll
    0x75d60000 - 0x75dab000      C:\Windows\system32\GDI32.dll
    0x76460000 - 0x76f70000      C:\Windows\system32\SHELL32.dll
    0x762c0000 - 0x7636a000      C:\Windows\system32\msvcrt.dll
    0x758f0000 - 0x75949000      C:\Windows\system32\SHLWAPI.dll
    0x76f70000 - 0x770b5000      C:\Windows\system32\ole32.dll
    0x75ac0000 - 0x75b4d000      C:\Windows\system32\OLEAUT32.dll
    0x756f0000 - 0x7570e000      C:\Windows\system32\USERENV.dll
    0x756d0000 - 0x756e4000      C:\Windows\system32\Secur32.dll
    0x72b00000 - 0x72b42000      C:\Windows\system32\WINSPOOL.DRV
    0x750e0000 - 0x750f4000      C:\Windows\system32\MPR.dll
    0x758d0000 - 0x758ee000      C:\Windows\system32\IMM32.DLL
    0x75db0000 - 0x75e78000      C:\Windows\system32\MSCTF.dll
    0x762b0000 - 0x762b9000      C:\Windows\system32\LPK.DLL
    0x75a30000 - 0x75aad000      C:\Windows\system32\USP10.dll
    0x10000000 - 0x10011000      C:\PROGRA~1\KASPER~1\KASPER~1.0FO\r3hook.dll
    0x75830000 - 0x75837000      C:\Windows\system32\PSAPI.DLL
    0x752d0000 - 0x7546e000      C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18005_none_5cb72f96088b0de0\comctl32.dll
    0x7c340000 - 0x7c396000      C:\Program Files\Java\jre6\bin\msvcr71.dll
    0x6d800000 - 0x6da56000      C:\Program Files\Java\jre6\bin\client\jvm.dll
    0x74200000 - 0x74232000      C:\Windows\system32\WINMM.dll
    0x741c0000 - 0x741f9000      C:\Windows\system32\OLEACC.dll
    0x6d280000 - 0x6d288000      C:\Program Files\Java\jre6\bin\hpi.dll
    0x6d7b0000 - 0x6d7bc000      C:\Program Files\Java\jre6\bin\verify.dll
    0x6d320000 - 0x6d33f000      C:\Program Files\Java\jre6\bin\java.dll
    0x6d7f0000 - 0x6d7ff000      C:\Program Files\Java\jre6\bin\zip.dll
    0x6d430000 - 0x6d436000      C:\Program Files\Java\jre6\bin\jp2native.dll
    0x6d1c0000 - 0x6d1d3000      C:\Program Files\Java\jre6\bin\deploy.dll
    0x74fe0000 - 0x750d2000      C:\Windows\system32\CRYPT32.dll
    0x75140000 - 0x75152000      C:\Windows\system32\MSASN1.dll
    0x76370000 - 0x76456000      C:\Windows\system32\WININET.dll
    0x00950000 - 0x00953000      C:\Windows\system32\Normaliz.dll
    0x75e80000 - 0x75fb3000      C:\Windows\system32\urlmon.dll
    0x75fc0000 - 0x761a8000      C:\Windows\system32\iertutil.dll
    0x6d6b0000 - 0x6d6f2000      C:\Program Files\Java\jre6\bin\regutils.dll
    0x749a0000 - 0x749a8000      C:\Windows\system32\VERSION.dll
    0x6ee30000 - 0x6f057000      C:\Windows\system32\msi.dll
    0x6d610000 - 0x6d623000      C:\Program Files\Java\jre6\bin\net.dll
    0x77320000 - 0x7734d000      C:\Windows\system32\WS2_32.dll
    0x75ab0000 - 0x75ab6000      C:\Windows\system32\NSI.dll
    0x74cc0000 - 0x74cfb000      C:\Windows\system32\mswsock.dll
    0x74d30000 - 0x74d35000      C:\Windows\System32\wship6.dll
    0x6d630000 - 0x6d639000      C:\Program Files\Java\jre6\bin\nio.dll
    0x6d000000 - 0x6d138000      C:\Program Files\Java\jre6\bin\awt.dll
    0x746a0000 - 0x746ac000      C:\Windows\system32\DWMAPI.DLL
    0x746e0000 - 0x7471f000      C:\Windows\system32\uxtheme.dll
    0x6d220000 - 0x6d274000      C:\Program Files\Java\jre6\bin\fontmanager.dll
    0x74980000 - 0x74985000      C:\Windows\System32\wshtcpip.dll
    0x74620000 - 0x7462f000      C:\Windows\system32\NLAapi.dll
    0x74f40000 - 0x74f59000      C:\Windows\system32\IPHLPAPI.DLL
    0x74f00000 - 0x74f35000      C:\Windows\system32\dhcpcsvc.DLL
    0x75220000 - 0x7524c000      C:\Windows\system32\DNSAPI.dll
    0x74ee0000 - 0x74ee7000      C:\Windows\system32\WINNSI.DLL
    0x74eb0000 - 0x74ed2000      C:\Windows\system32\dhcpcsvc6.DLL
    0x736e0000 - 0x736ef000      C:\Windows\system32\napinsp.dll
    0x73150000 - 0x73162000      C:\Windows\system32\pnrpnsp.dll
    0x736d0000 - 0x736d8000      C:\Windows\System32\winrnr.dll
    0x772d0000 - 0x77319000      C:\Windows\system32\WLDAP32.dll
    0x73d20000 - 0x73d26000      C:\Windows\system32\rasadhlp.dll
    0x74a70000 - 0x74aab000      C:\Windows\system32\rsaenh.dll
    0x6d520000 - 0x6d544000      C:\Program Files\Java\jre6\bin\jsound.dll
    0x6d550000 - 0x6d558000      C:\Program Files\Java\jre6\bin\jsoundds.dll
    0x74110000 - 0x74180000      C:\Windows\system32\DSOUND.dll
    0x74a00000 - 0x74a1a000      C:\Windows\system32\POWRPROF.dll
    0x716d0000 - 0x716ff000      C:\Windows\system32\wdmaud.drv
    0x70620000 - 0x70624000      C:\Windows\system32\ksuser.dll
    0x74190000 - 0x741b8000      C:\Windows\system32\MMDevAPI.DLL
    0x74630000 - 0x74637000      C:\Windows\system32\AVRT.dll
    0x75bd0000 - 0x75d5a000      C:\Windows\system32\SETUPAPI.dll
    0x747e0000 - 0x7480d000      C:\Windows\system32\WINTRUST.dll
    0x761b0000 - 0x761d9000      C:\Windows\system32\imagehlp.dll
    0x705f0000 - 0x70611000      C:\Windows\system32\AUDIOSES.DLL
    0x70410000 - 0x70476000      C:\Windows\system32\audioeng.dll
    0x716c0000 - 0x716c9000      C:\Windows\system32\msacm32.drv
    0x71360000 - 0x71374000      C:\Windows\system32\MSACM32.dll
    0x71460000 - 0x71467000      C:\Windows\system32\midimap.dll
    0x75840000 - 0x758c4000      C:\Windows\system32\CLBCatQ.DLL
    VM Arguments:
    jvm_args: -D__jvm_launched=614157692976 -Xbootclasspath/a:C:\\PROGRA~1\\Java\\jre6\\lib\\deploy.jar;C:\\PROGRA~1\\Java\\jre6\\lib\\javaws.jar;C:\\PROGRA~1\\Java\\jre6\\lib\\plugin.jar -Dsun.plugin2.jvm.args=-D__jvm_launched=614157692976 "-Xbootclasspath/a:C:\\\\PROGRA~1\\\\Java\\\\jre6\\\\lib\\\\deploy.jar;C:\\\\PROGRA~1\\\\Java\\\\jre6\\\\lib\\\\javaws.jar;C:\\\\PROGRA~1\\\\Java\\\\jre6\\\\lib\\\\plugin.jar" "-Djava.class.path=C:\\\\PROGRA~1\\\\Java\\\\jre6\\\\classes" --
    java_command: sun.plugin2.main.client.PluginMain write_pipe_name=jpi2_pid568_pipe9,read_pipe_name=jpi2_pid568_pipe8
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=C:\Program Files\Internet Explorer;;C:\Program Files\Microsoft Office\Office12\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Windows\System32\WindowsPowerShell\v1.0\
    USERNAME=xxxxxx
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows Vista Build 6002 Service Pack 2
    CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 7 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 2097151k(1436212k free), swap 4194303k(4194303k free)
    vm_info: Java HotSpot(TM) Client VM (11.0-b16) for windows-x86 JRE (1.6.0_11-b03), built on Nov 10 2008 02:15:12 by "java_re" with MS VC++ 7.1
    time: Thu Oct 28 12:01:14 2010
    elapsed time: 1 seconds

    Rob~R wrote:
    A colleague's PC has a log file on the desktop, created 28th October. Its title: 'hs_err_pid3268.log'
    Initially we were both concerned since Kaspersky had detected some viruses on his machine on it's nightly scan, however, looking at the log file I'm not sure whether to be worried or not! - It looks legitimate, if a bit odd...
    If somebody more knowledgeable could tell me firstly if it's anything sinister and secondly (if not) what may have cause it and whether it's an issue I should investigate on this machine.
    Thanks in advance, below is the contents of the text file. (As you can see I'm brand new to these forums, apologies if this is not the correct section for these kind of questions). It is a crash file from the Sun/Oracle VM.
    It either got on the desktop because a user manually moved it there or because something is probably misconfigured (at least to me) in the environment.
    If you are creating java applications (programming in the java language) then you would need to figure out why the app crashed.
    If you are using java applications then you need to tell the vendor that it crashed. And you would not do that here.

  • How to output java logging only to a log file except stderr?

    I create a file logging and noticed that java logging output a log file and stderr simultanously. How to output the logging message only to the log file?
    Thanks.

    HarishDv wrote:
    I dont have indesign  installed on my system. I only have the binary , which needs modification and i have to save back to the DB as indd.
    Can't be done, for a realistic assessment of "can". InDesigns documents cannot reliably be created or modified without InDesign itself. (*)
    If you need to do this on native InDesign documents, you have to buy and install it.
    * "Not true, there is always IDML". But that's not a 'binary'; and you cannot (**) "convert" a binary INDD to IDML and back again without InDesign.
    ** Again, for a remotely realistic value of "can".

  • Inserting data into a file in Webdynpro java

    hi,
    My requirement is, i am using html code in my webdynpro application. i want to send the html code to a file(.txt file) .can any body help me how to send the data to file in webdynpro java.
    thans,
    kishore

    Hi,
    For export file in format XML, TXT, ...
    continue steps
    1) create node with name  FileResource and type binary
    2) create view and add control filedownload and properties control set data binding node FileResource
    3) create following code
      //@@begin javadoc:wdDoInit()
        /** Hook method called to initialize controller. */
      //@@end
      public void wdDoInit()
        //@@begin wdDoInit()
            IWDAttributeInfo attInfo = wdContext.getNodeInfo().getAttribute(IPrivateExportListView.IContextElement.FILE_RESOURCE);
            IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType) attInfo.getModifiableSimpleType();  
            binaryType.setFileName(ExportListView.FILE_NAME);
            binaryType.setMimeType(WDWebResourceType.TXT);
            try {
                String resourcePath = WDURLGenerator.getResourcePath(wdComponentAPI.getDeployableObjectPart(), ExportListView.FILE_NAME);
                wdContext.currentContextElement().setFileResource(this.getByteArrayFromResourcePath(resourcePath));
            } catch (WDAliasResolvingException e) {
                wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), true);
            } catch (Exception e) {
                throw new WDRuntimeException(e);
        //@@end
    and add following code
      //@@begin others
        private byte[] getByteArrayFromResourcePath(String resourcePath) throws FileNotFoundException, IOException {
            FileInputStream in = new FileInputStream(new File(resourcePath));
            ByteArrayOutputStream out = new ByteArrayOutputStream();
            int length;
            String Prueba = "hola esto es una prueba" + new Date().getSeconds();
            //byte[] part = new byte[10 * 1024];
            byte[] part = Prueba.getBytes();
            while ((length = in.read(part)) != -1) {
                out.write(part, 0, length);
            out.write(Prueba.getBytes());
            in.close();
            return out.toByteArray();
        // store image file name in constant FILE_NAME
        private static final String FILE_NAME = "doc.txt";
      //@@end
    4)Create file ext(txt,xml,...) in following dir of the project
    ...\_comp\src\mimes\Components\com.prueba.ReporteComp
    regards from colombia-medellín

  • LOG File in JAVA

    How to Create a LOG File in JAVA as we Create in VB.
    It is Like whenever a Exception Occured in any Class Just i Want to Write into Single Log File in Whole Project.
    Thanks in Advance
    D S S Sampath Kumar

    Hi!
    Here is one method, I have done for that purpose
    public synchronized void writeToLog(String message, String levelMsg){
            Locale locale = new Locale("en", "US");
            DateFormat format = DateFormat.getDateTimeInstance(
                DateFormat.SHORT, DateFormat.SHORT, locale);
            Date date = new Date();
            String dateToPrint = format.format(date) + "  ";
            try{
                FileOutputStream fo = new FileOutputStream("logfile.log",true);
                PrintWriter pw = new PrintWriter(fo);
                message = dateToPrint + levelMsg + message;
                pw.println(message);
                pw.flush();
                pw.close();
                fo.close();
            }catch (IOException ioe){
                ioe.printStackTrace();
        }and you can call it like thiswriteToLog("Exception in my apps", " [ERROR] ");-Raine-

  • Export to excel in a webdynpro java app to store a excel file on the server

    Hi Experts,
    We have a requirement wherein we need to implement the export to excel functionality in a webdynpro java application.
    The excel file created in this way should be stored in the server location.
    I've implmented the export to excel functionality before but the file used to get stored on to my local desktop. But this time, I want the file to get stored on some portal server location.
    Can anyone guide me with the steps for the same?
    It would be really great if you can tell me what to change in my code for this new functionality as I've already implemented this functionality to store the file on my local desktop before.
    Regards,
    Anurag

    Not Required anymore.

  • Java.io.IOException: Failed to rename log file on attempt to rotate logs

    Hello.
    I'm currently using Weblogic 5.1 SP6 on WinNT Server 4.0 SP6.
    I set the weblogic.properties file like this so that the "access.log" will
    be rotated every day at midnight.
    -- weblogic.properties --
    weblogic.httpd.enableLogFile=true
    weblogic.httpd.logFileName=D:/WLSlog/access.log
    weblogic.httpd.logFileFlushSecs=60
    weblogic.httpd.logRotationType=date
    weblogic.httpd.logRotationPeriodMins=1440
    weblogic.httpd.logRotationBeginTime=11-01-2000-00:00:00
    -- weblogic.properties <end>--
    The rotation has been working well, but one day when I checked my
    weblogic.log, I was getting some errors.
    I found out that my "access.log" wasn't being rotated (nor being written,
    flushed) after this error came out.
    After rebooting WebLogic, this problem went away.
    Has anyone clues about why WebLogic failed to "rename log file?"
    -- weblogic.log --
    ? 2 04 00:00:00 JST 2001:<E> <HTTP> Exception flushing HTTP log file
    java.io.IOException: Failed to rename log file on attempt to rotate logs
    at weblogic.t3.srvr.httplog.LogManagerHttp.rotateLog(LogManagerHttp.java,
    Compiled Code)
    at java.lang.Exception.<init>(Exception.java, Compiled Code)
    at java.io.IOException.<init>(IOException.java, Compiled Code)
    at weblogic.t3.srvr.httplog.LogManagerHttp.rotateLog(LogManagerHttp.java,
    Compiled Code)
    at
    weblogic.t3.srvr.httplog.LogManagerHttp.access$2(LogManagerHttp.java:271)
    at
    weblogic.t3.srvr.httplog.LogManagerHttp$RotateLogTrigger.trigger(LogManagerH
    ttp.java:539)
    at
    weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigg
    er.java, Compiled Code)
    at
    weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java
    , Compiled Code)
    at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    ? 2 04 00:00:25 JST 2001:<E> <HTTP> Exception flushing HTTP log file
    java.io.IOException: Bad file descriptor
    at java.io.FileOutputStream.writeBytes(Native Method)
    at java.io.FileOutputStream.write(FileOutputStream.java, Compiled Code)
    at
    weblogic.utils.io.DoubleBufferedOutputStream.flushBuffer(DoubleBufferedOutpu
    tStream.java, Compiled Code)
    at
    weblogic.utils.io.DoubleBufferedOutputStream.flush(DoubleBufferedOutputStrea
    m.java, Compiled Code)
    at
    weblogic.t3.srvr.httplog.LogManagerHttp$FlushLogStreamTrigger.trigger(LogMan
    agerHttp.java, Compiled Code)
    at
    weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigg
    er.java, Compiled Code)
    at
    weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java
    , Compiled Code)
    at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    -- weblogic.log <end> --
    note:
    ? 2 04 00:00:25 JST 2001:<E> <HTTP> Exception flushing HTTP log file
    java.io.IOException: Bad file descriptor
    keeps coming out every minute after on.
    I suppose this is because I have set the HTTP log to be flushed every one
    minute.
    Thanks in advance.
    Ryotaro

    I'm also getting this error on Weblogic 6.1.1.
    It only occurs if you set the format to "extended".
    Is there any fix or workaround for this?

  • Can't create log file with java.util.logging

    Hi,
    I have created a class to create a log file with java.util.logging
    This class works correctly as standalone (without jdev/weblogic)
    import java.io.IOException;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.logging.*;
    public class LogDemo
         private static final Logger logger = Logger.getLogger( "Logging" );
         public static void main( String[] args ) throws IOException
             Date date = new Date();
             DateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
             String dateStr = dateFormat.format(date);
             String logFileName = dateStr + "SEC" + ".log";
             Handler fh;          
             try
               fh = new FileHandler(logFileName);
               //fh.setFormatter(new XMLFormatter());
               fh.setFormatter(new SimpleFormatter());
               logger.addHandler(fh);
               logger.setLevel(Level.ALL);
               logger.log(Level.INFO, "Initialization log");
               // force a bug
               ((Object)null).toString();
             catch (IOException e)
                  logger.log( Level.WARNING, e.getMessage(), e );
             catch (Exception e)
                  logger.log( Level.WARNING, "Exception", e);
    }But when I use this class...
    import java.io.File;
    import java.io.IOException;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.logging.FileHandler;
    import java.util.logging.Handler;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import java.util.logging.XMLFormatter;
    public class TraceUtils
      public static Logger logger = Logger.getLogger("log");
      public static void initLogger(String ApplicationName) {
        Date date = new Date();
        DateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
        String dateStr = dateFormat.format(date);
        String logFileName = dateStr + ApplicationName + ".log";
        Handler fh;
        try
          fh = new FileHandler(logFileName);
          fh.setFormatter(new XMLFormatter());
          logger.addHandler(fh);
          logger.setLevel(Level.ALL);
          logger.log(Level.INFO, "Initialization log");
        catch (IOException e)
          System.out.println(e.getMessage());
    }and I call it in a backingBean, I have the message in console but the log file is not created.
    TraceUtils.initLogger("SEC");why?
    Thanks for your help.

    I have uncommented this line in logging.properties and it works.
    # To also add the FileHandler, use the following line instead.
    handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandlerBut I have another problem:
    jdev ignore the parameters of the FileHandler method .
    And it creates a general log file with anothers log files created each time I call the method logp.
    So I play with these parameters
    fh = new FileHandler(logFileName,true);
    fh = new FileHandler(logFileName,0,1,true);
    fh = new FileHandler(logFileName,10000000,1,true);without succes.
    I want only one log file, how to do that?

  • How to Save a file uploaded in WebDynpro Java to Windows server

    Hi Guys,
    I need to save a file uploaded in WebDynpro Java to a location on one of my companys many internal Window servers but I cannot get it to work.  I do not get any errors with the following code, but NOTHING happens...  And when I check the folder it is still emply...  Please advise.  I am particularly not sure about specifying the Path syntax.  Also, I do have permission to write to this server.  Is it even possible to save to a Windows server from WebDynpro??
    //uploaded document already in context...
    byte[] file = element.getFileResource();
                //    get the size of the uploaded file  
                element.setFileSize(this.getFileSize(file));
                wdContext.currentContextElement().setFSize(this.getFSize(file)); 
                //    get the extension of the uploaded file       
                element.setFileExtension(binaryType.getMimeType().getFileExtension());
                String fName = wdContext.currentContextElement().getFName();
                String fExt = wdContext.currentContextElement().getFileExtension();
                String foName1 = "
    server01.w9\Files\P
    HRP_Attachments\" + fName + ".pdf";
                File f1 = new File(foName1);
                DataOutputStream dos1;
                dos1 = new DataOutputStream(new FileOutputStream(f1));
                dos1.write(file);
                dos1.flush();
                dos1.close();
    Edited by: christiaanp on Sep 30, 2011 8:07 AM

    Hi Christiaan,
    When specifying the path, make sure you escape the slashes
    So, when you would normally use something like
    \\server\path\file.txt
    in your code you must use it in the form:
    String fileName = "\\\\server\\path\\file.txt";
    Hope this helps!
    Robin van het Hof

  • Uploading and downloading files in webdynpro java

    how to upload and download xl files in webdynpro java application .

    Hi ,
    Refer these links they maybe helpful to you
    You can check this sampple example from SDN
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40db4a53-41a9-2910-d4a2-9c28283f6658
    Uploading and Downloading Files In Web Dynpro Java
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/202a850a-58e0-2910-eeb3-bfc3e081257f
    http://help.sap.com/saphelp_nw04/helpdata/en/43/85b27dc9af2679e10000000a1553f7/content.htm
    Uploading and Downloading Files In Web Dynpro Tables
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0e10426-77ca-2910-7eb5-d7d8982cb83f
    Some more links regarding Uploading and DownLoading Files
    Uploading and downloading files
    Upload and Download file through RFC called by java
    Regards,
    Saleem

  • Java.util.logging - different log files for different loggers

    I'm having trouble configuring Java logging to use different log files for different loggers.
    In log4j, I would do this by configuring multiple loggers each with a different appender. But how can I do this with Java (java.util.logging) logging?
    This is the basic idea of what I'd like to do:
    com.mycompany.app1.level = FINEST
    com.mycompany.app1.<log file> = logfile1.log
    com.mycompany.app2.level = ALL
    com.mycompany.app2.<log file> = logfile2.log
    Any suggestions?

    This kind of thing?
    import java.io.IOException;
    import java.util.logging.FileHandler;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import java.util.logging.SimpleFormatter;
    public class LogTest {
        private Logger app1;
        private Logger app2;
        public LogTest() {
            // setup loggers
            try {
                // first logger
                app1 = Logger.getLogger("com.mycompany.app1");
                FileHandler filehandler = new FileHandler( "logfile1.log" );
                filehandler.setFormatter(new SimpleFormatter());
                app1.addHandler(filehandler);  
                // second logger       
                app2 = Logger.getLogger("com.mycompany.app2");
                filehandler = new FileHandler( "logfile2.log" );
                filehandler.setFormatter(new SimpleFormatter());
                app2.addHandler(filehandler);  
            } catch(IOException ioex) {
                ioex.printStackTrace();
        private void logStuff() {
            app1.log(Level.SEVERE, "a message for log 1");
            app2.log(Level.SEVERE, "a message for log 2");
            app2.log(Level.WARNING, "another message for log 2");
         * @param args
        public static void main(String[] args) {
            new LogTest().logStuff();
    }

Maybe you are looking for

  • ERP EIC IC Webclient Page Application Area Blank

    Hi All Can anyone guide me on this issue? When I execute HREIC transation code the IC Webclient Application area is blank, I can see only the top tool bar with only scratch pad, accept, reject, dialpad,transfer. Rest of the page is blank.. Tried by i

  • How do you add video effects-slow motion

    Not real happy with 08 over previous versions but I would like to gain back some of the functionality that I regularly used. How do I add special effects, such as slow motion to a video clip or a portion of a video clip.

  • Setting in-and-out points  -- is this possible?

    I set in-and-out points in the preview window by dragging the blue triangles. I would like to sample various parts of a clip, though there are only 2 triangles. 1. Is there a way to take one segment of video and establish in-and-out points for maybe

  • Problems for ora9i administrator

    hey could you see this administration problems, and tell me how to solve it the problem is : At the end of the day one Monday, DB administrator tried to run an application working against Oracle 9i database, he got following error message: ORA-01115:

  • Change price with MR21

    HI, HOW TO CHANGE THE PRICE OF MATERIALS IN MR21? WHAT CRITERIA REQUIRED FOR PERTICULAR MATERIAL TO CHANGE PRICE WITH MR21?