This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes embedded glassfish 3.1 log files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "embedded glassfish 3.1 log files" Watch "embedded glassfish 3.1 log files" New topic
Author

embedded glassfish 3.1 log files

Szymon Pietrzak
Greenhorn

Joined: Apr 27, 2011
Posts: 6
Hi!

I wonder if anyone can help me with locating logs that embedded glassfish produces during deploy in unit tests. I've tried to locate them with no success. Is there any way to force embedded glassfish to produce logs in specified location? I'm trying to write some tests using JUnit and Embedded Glassfish and it crashes during startup and says 'look into the logs' but no log files are present. Any help will be appreciated, this issue is getting critical for me;)
Viggo Navarsete
Ranch Hand

Joined: Feb 02, 2009
Posts: 42
Hi,
did you figure this out? I would also like to get the output from the embedded glassfish server
Szymon Pietrzak
Greenhorn

Joined: Apr 27, 2011
Posts: 6
I did not, unfortunately no one replied to my inquiries. I’ll let you know as soon as I find out how to get it working.
Viggo Navarsete
Ranch Hand

Joined: Feb 02, 2009
Posts: 42
Did you try this? http://stackoverflow.com/questions/4255456/how-to-get-a-server-log-in-embedded-glassfish
Szymon Pietrzak
Greenhorn

Joined: Apr 27, 2011
Posts: 6
no, I did not since I do not use Arquillian, but if I get desperate I shall try this solution
Viggo Navarsete
Ranch Hand

Joined: Feb 02, 2009
Posts: 42
I thought that solution could be used also when you're not using Arquillian (I'm not using it either). I will take a look at it after lunch to see if it makes sense. Will post my finding in 1-2 hours!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: embedded glassfish 3.1 log files
 
Similar Threads
log4j date & time running in embedded oc4j
Tomcat not seeing setenv values in Windows 2003 Server
problem in glassfish
HTTP Status 404 Error
WAS 5 and Windows XP?