Sitemap

Amicuk Programming Answers

Parsing sendmail log file in a Java application

-0001-11-30   Views:0

Advertisement

Are there any good parsing libraries for sendmail log files? I already found these libraries but I'm not sure if they do what I need: http://www.opennms.org/documentation/java-apidocs-stable/org/opennms/netmgt/syslogd/package-summary.html http://code

Are there any good parsing libraries for sendmail log files?
I already found these libraries but I'm not sure if they do what I need:
http://www.opennms.org/documentation/java-apidocs-stable/org/opennms/netmgt/syslogd/package-summary.html
http://code.google.com/p/jsyslogd/

The replay answer
Advertisement
>
I've written a simple text editor, and this editor saves files with a particular extension. It can both open and save files. I've put the text editor program in a JAR. What I'd like to do, if possible, is associate the file extension with the text editor program. That is, I'd like to, when I click on a file with the extension, have the text editor come up with the file opened in it.
Can anyone give me ideas on how to do this, please? >If the editor is launched using webstart, the launch file can suggest a file association.
Note that an application that accesses the local file system needs to be digitally signed before it can break out of the applet like 'sandbox' in which it runs, unless it uses the JNLP API to access the files. The JNLP API is available to any app. launched using webstart.
There is an example of both claiming a file extension, and accessing files using the JNLP API, in this [File Service Demo|http://pscode.org/jws/api.html#fs]. The complete source and a build file can be downloaded from the filetest.zip just near the launch buttons.
I suggest you try the sandboxed version first - if you think that will suit your user, go with that.
As an aside, for best chance of a solution, I recommend folks add [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] to match the importance of the task.

Go to See the other 9 answers

Parsing sendmail log file in a Java application

Category:DefaultRelease time:-0001-11-30Views:130

Are there any good parsing libraries for sendmail log files? I already found these libraries but I'm not sure if they do what I need: http://www.opennms.org/documentation/java-apidocs-stable/org/opennms/netmgt/syslogd/package-summary.html http://code[More]

Parsing a log file on Weblogic

Category:DefaultRelease time:2015-10-11Views:130

Hi! I'd like to know how to get started on parsing a log file present in the default directory of Weblogic (ver 6.1 to be precise). I thought of using regular expressions, and use java.util.regex , but that is supported from JDK1.5 onwards, whereas W[More]

How to create a .exe file for a java application

Category:DefaultRelease time:2015-10-11Views:130

Hi, I want to create a .exe file for a java application I am developing so that I can schedule it to run at a particular time using Windows Scheduler on WinNT. Is there any way to accomplish this? Or is there any other way in which a Java application[More]

Can we run the batch file using simple java application

Category:DefaultRelease time:-0001-11-30Views:130

Hello sir, we want to run the batch file using simple java application. i tried with some example, we run the exe files but not batch file. Runtime r = Runtime.getRuntime(); r.exec("D:\\jboss\\bin\\run.bat"); My application is server will run wh[More]

How to see the log file on the Reports Application server?

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am new to this Reports, please correct me if i am wrong or in the wrong forum, we have a java based front-end application which calls oracle reports to display requested reports. We are using oracle reports (9i/10g). I need work on a report, It[More]

Parse XMLFormatter log files back into LogRecords

Category:DefaultRelease time:-0001-11-30Views:130

My app uses a java.util.logging.FileHandler and XMLFormatter to generate XML log files, which is great. Now I want to display those logs in my app's web admin console. I assumed that there would be an easy way to read my XML logs files back into a Li[More]

How to implement logging functonolity in my java application

Category:DefaultRelease time:2015-10-11Views:130

Hi. I want to add logging functionality in my java project.Iam using jdk1.5.I have written following log4j.properties.This property file i need to keep it in com.format.src.property folder .All java files are there in com.format.src folder. log4j.roo[More]

Creating an xdp file from flex/java application

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have an application in Flex 4  and As 3.When I click a button in flex application I have to generate a file in java with extension xdp.When I try this locally(Run as java application) the file is generating  correctly.When i compile the applic[More]

How to exit batch file after launching java application

Category:DefaultRelease time:2015-10-11Views:130

hello, I have created a simple java application and a batch file to launch the application. but when execute the batch file the application execute but the batch file still appear. I want to launch the application and immediately close the batch file[More]

How to create a exe file from a Java application

Category:DefaultRelease time:-0001-11-30Views:130

hi, i have developed an application in java,now i want to distribute it to my client, for this i need to build a .exe file out of this application. i already have a jar file ,now can i convert a jar file to a exe file. im trying this out with JSmooth[More]

Parse robocopy Log File - new value

Category:DefaultRelease time:-0001-11-30Views:130

Hello, I have found a script, that parse the robocopy log file, which looks like this:    ROBOCOPY     ::     Robust File Copy for Windows                                Started : Thu Aug 07 09:30:18 2014    Source : e:\testfolder\      Dest : w:\tes[More]

Hot
Actually, I wanted to let my son use my old iphone 3g as an ipod now that I upgraded to the iphone 4. But it has continued to shut down and say that needed to restore it.  The last time I did it, it's now saying that I need to have a SIM card in orde [More]
Hi there, Thanks to all who read this. I have developed an J2EE application that allows people to watch video and can see the application using mobile devices such as the iPhone. Videos for the iPhone are currently encoded in MP4 format and have been [More]
When a user submits an image on my website, the upload script currently creates thumbnails in three different sizes (120px, 90px, and 20px). Different thumbnail sizes are used in different areas of the site. Is there a more storage-efficient way to d [More]
We have a large number of links in our documents that are created using structured Framemaker 8.0 in a Windows XP environment. The xrefs work fine in FM, but once they have been PDF'd all of the links are broken. Since these are large documents, it c [More]
Hai all, we have a 11g database installed in solaris sparc.now the requirement is to install oracle workflow (comes with companion CD of oracle 10g) in this 11g, Can I instal 10g companion CD on 11g database.. workflow is obsolete in 11g.. please adv [More]
Hi all, I currently have a few sites that are hosted on mobileme, and I used the DynDNS services to 1) register a domain name (15$) and 2) create a webhop (CNAME) from the domain to the mobileme site (30$). So that's 45$ per year per site. Is there a [More]
hi , Im having a adf read only table and an adf form on separate jsf fragments on a same jspx file. I am setting a partial target on the selection listener on read only table such that i will get the values in form on selection of row in the table. B [More]
Hi Experts, I'm no technical expert in SRM but know a little on how it works. We're currently implementing an Extended Classic Scenario (SANDBOX) and done several pre-configuration to make everything works (simple SC creation) Current system we have [More]
Hi,   The    RV_INVOICE_DOCUMENT_ADD,  is a FM : use in T. code VF01, VF02, VF03 etc.  in this in our system we have added Enhancement point as ENHANCEMENT 266  ZACCOUNTING_FILE_SAVE2.    "active version   CALL TRANSACTION 'ZACCOUNTING'. ENDENHANCEME [More]
I'm having a dickens of a time trying to load Flash Player 10. My error message says that it can't because Chrome is running. But nothing else is running. I've tried all the troubleshooting suggestions. Anyone else ever have this problem ? Please hel [More]