File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes log4j:ERROR Could not open [null/WEB-INF/log4j.xml] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "log4j:ERROR Could not open [null/WEB-INF/log4j.xml]" Watch "log4j:ERROR Could not open [null/WEB-INF/log4j.xml]" New topic
Author

log4j:ERROR Could not open [null/WEB-INF/log4j.xml]

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I'm working on an installation of jforum on linux via pelsk. When I restarted Tomcat the forum stopped working and I see the following error on catalina.out.

log4j:ERROR Could not open [null/WEB-INF/log4j.xml].
java.io.FileNotFoundException: null/WEB-INF/log4j.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:583)
at org.apache.log4j.xml.DOMConfigurator.configure (DOMConfigurator.java:687)
at net.jforum.JForumCommonServlet.init(JForumCommonServlet.java:91)
at net.jforum.JForum.init(JForum.java:89)
at org.apache.catalina.core.StandardWrapper.loadServlet (Unknown Source)

Tomcat version is 4.1. Any help would be greatly appreciated.
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
If you run it outside plesk, it works?

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi,
ist there a solution tu run jforum on Plesk?
I have the same Problem "/etc/init.d/null/WEB-INF/log4j.xml" installing jforum via Plesk 8.1.0

help would be greatly appreciated

Cheers
Dieter
[originally posted on jforum.net by netdieter]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Don't know. It appears to be some problem related to war files.

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Tanx for your answer.
Well, you are right.
After deploying jforum as an exploded warfile, it worked.

Are there any plans to integrate a jarfileclassloader?

This would make it more easier for insatlation for exampel on plesk and others.

cheers
Dieter
[originally posted on jforum.net by netdieter]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Please register this bug at http://www.jforum.net/jira

Thank you

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: log4j:ERROR Could not open [null/WEB-INF/log4j.xml]