Jump to content

Recommended Posts

Posted

a. infopar

b. infopar.heliohost.org

c. Johnny.

 

I have deployed webCat.war. I try from my servlet to create a log file for my application

 

FileHandler nomeFile = new FileHandler("/home/infopar/webCat/log/webCat.log",true);

 

where /home/infopar is my home as of cPanel. I do not see any error about this in error logs in cPanel, but I get a NullPointerException when the servlet tries to write something in the log file. I think it has not been created, but where should I point to create one? Is path /home/infopar/webCat/ correct?

 

Thanks

Posted

"home/infopar/public_html/webCat/log/webCat.log" is probably what you're looking for.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...