  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | How does ejbs do logging? | How does ejbs do logging? 2003-09-29 - By Katz Guy
Back i actually talked to someone who did encounter this but i cant remember the vendor (probably not one of the main vendors). personally i encountered this when dealing with the Sun's J2EE RI (but thats obvious why). in bith cases the solution was to 'adjust' the server security policy to remove the file IO restriction .
-- --Original Message-- -- From: Rangarajan , Suresh ( Cognizant ) [mailto:rsuresh4@(protected)] Sent: Monday, September 29, 2003 2:32 PM To: J2EEPATTERNS-INTEREST@(protected) Subject: Re: How does ejbs do logging?
Yep. Thatz true. I can not think of a container that actually prevents File I/O from EJBs. Is there any?
-- --Original Message-- -- From: Katz Guy [mailto:Guy_Katz@(protected)] Sent: Monday, September 29, 2003 4:56 PM To: J2EEPATTERNS-INTEREST@(protected) Subject: Re: How does ejbs do logging?
Hi; Actually, the logging server option is the only 'spec complient' way of dealing with logging from EJBs that I know. Due to the fact that you are not supposed to do file IO from EJBs.
Its really weird that sun did not provide a standard way of logging for EJBs. Having a different server doing the pulling from JMS destinations/reading from sockets etc is usually out of the question for most apps and that's why most vendors allows logging to files by default.
Any thoughts?
==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <TITLE>Message</TITLE>
<META content="MSHTML 5.00.3502.5390" name=GENERATOR></HEAD> <BODY> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=240593011-29092003>i actually talked to someone who did encounter this but i cant remember the vendor (probably not one of the main vendors). personally i encountered this when dealing with the Sun's J2EE RI (but thats obvious why).</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=240593011-29092003>in bith cases the solution was to 'adjust' the server security policy to remove the file IO restriction .</SPAN></FONT></DIV> <BLOCKQUOTE style="MARGIN-RIGHT: 0px"> <DIV></DIV> <DIV align=left class=OutlookMessageHeader dir=ltr lang=en-us><FONT face=Tahoma size=2>-- --Original Message-- --<BR><B>From:</B> Rangarajan , Suresh ( Cognizant ) [mailto:rsuresh4@(protected)] <BR><B>Sent:</B> Monday, September 29, 2003 2:32 PM<BR><B>To:</B> J2EEPATTERNS-INTEREST@(protected)<BR><B>Subject:</B> Re: How does ejbs do logging?<BR><BR></FONT></DIV> <DIV><SPAN class=251333811-29092003><FONT color=#0000ff face=Verdana size=2>Yep. Thatz true.</FONT></SPAN></DIV> <DIV><SPAN class=251333811-29092003><FONT color=#0000ff face=Verdana size=2>I can not think of a container that actually prevents File I/O from EJBs.</FONT></SPAN></DIV> <DIV><SPAN class=251333811-29092003><FONT color=#0000ff face=Verdana size=2>Is there any?</FONT></SPAN></DIV> <DIV><SPAN class=251333811-29092003><FONT color=#0000ff face=Verdana size=2></FONT></SPAN> </DIV> <BLOCKQUOTE> <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma size=2>-- --Original Message-- --<BR><B>From:</B> Katz Guy [mailto:Guy_Katz@(protected)]<BR><B>Sent:</B> Monday, September 29, 2003 4:56 PM<BR><B>To:</B> J2EEPATTERNS-INTEREST@(protected)<BR><B>Subject:</B> Re: How does ejbs do logging?<BR><BR></FONT></DIV> <P><FONT size=2>Hi;</FONT> <BR><FONT size=2>Actually, the logging server option is the only 'spec complient' way of dealing with logging from EJBs that I know. Due to the fact that you are not supposed to do file IO from EJBs.</FONT></P> <P><FONT size=2>Its really weird that sun did not provide a standard way of logging for EJBs. Having a different server doing the pulling from JMS destinations/reading from sockets etc is usually out of the question for most apps and that's why most vendors allows logging to files by default.</FONT></P> <P><FONT size=2>Any thoughts?</FONT> </P></BLOCKQUOTE>============================================================ ======== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected) </BLOCKQUOTE></BODY></HTML> ==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
|
|
 |