jfromm
Posts: 1
Joined: Thu May 12, 2005 9:44 pm

Logger in Java Service

Hi, i'm evaluating your product for purchase it. I've a question for you:
When i install a java service, it doesn't logs nothing when use log4j. Do you know why? Must i configure anything more?

Thanks

Regards,
JFromm
UdreaMihai
Posts: 90
Joined: Wed Mar 23, 2005 8:13 am

Hi,

Yes, you must include the log4j JAR file into your package and into the Classpath of the service from the "Java Product" page.

Kind regards,
Mihai
Udrea Mihai
Advanced Installer Team
http://www.advancedinstaller.com
danliang
Posts: 8
Joined: Thu Dec 28, 2006 7:31 pm

Re: Logger in Java Service

I have added the log4j library as well as to the classpath of the java product. I am not able to get it create log files. Starting the same java classes from a bat file will create the proper log files.

Any ideas what is wrong?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Logger in Java Service

Hi,

I'm not sure why you are encountering this behavior. Can you please send us the AIP you are using to support at advancedinstaller dot com so we can investigate it? Also, please specify what log4j release you are using.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”