Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2006

Tip: Looking for answers? Try searching our database.

EJB - analyze xml file

Thread view: 
GG - 23 Dec 2006 17:34 GMT
Hello.

I have to analyze xml log files which
are locate on the server side (jboss).
I would like read file from session bean and analyze using SAX.
What is the best solution in this case ?

thanks in advance
GG
Jhair Tocancipa Triana - 23 Dec 2006 17:29 GMT
> Hello.  I have to analyze xml log files which are locate on the
> server side (jboss).

,----[ http://logging.apache.org/log4j/docs/chainsaw.html ]
| Chainsaw can read log files formatted in Log4j's XMLLayout.
`----

> I would like read file from session bean and analyze using SAX.
> What is the best solution in this case ?

Do your log files use log4j XML layout? If not, why?

Signature

-- Jhair

GG - 23 Dec 2006 20:03 GMT
> Do your log files use log4j XML layout? If not, why?

Yes we are using log4j. But I'm responsible only for
analyze log's depend on client's parameters.
GG - 23 Dec 2006 20:15 GMT
> ,----[ http://logging.apache.org/log4j/docs/chainsaw.html ]
> | Chainsaw can read log files formatted in Log4j's XMLLayout.
> `----

I need library with api which can i use from my own application
or idea how do this from ejb session bean.

thanks for help
Alfred - 24 Dec 2006 06:56 GMT
> Hello.
>
> I have to analyze xml log files which
> are locate on the server side (jboss).
> I would like read file from session bean and analyze using SAX.
> What is the best solution in this case ?

Don't try to access a file from Enterprise Session Bean.
See EJB specification.

Alfred


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.