anbuashokcs / jforum2

Automatically exported from code.google.com/p/jforum2
Other
0 stars 0 forks source link

JForum: given folder is not classpath #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Deploy Jforum 2.3.5
2. See error message in Log

What is the expected output? What do you see instead?

No error message on deployment. Error message on deployment.

What version of the product are you using? On what operating system,
database, and application server/servlet container?
* Product: JForum 2.3.5
* OS: Windows 7 64bit
* DB: HSQLDB
* AP: Tomcat 7.0.52
* JDK: 1.7.51, 64bit

Please provide any additional information below.

When deploying JForum the first time, the following error is logged:

JForum: given folder is not classpath:

--cut here--
Information: Deploying web application archive 
E:\Downloads\tomcat\webapps\jforum.war
JForum: given folder is not classpath: 
"E:\Downloads\tomcat\webapps\jforum/WEB-INF/classes"
java.lang.Exception: given folder is not classpath: 
"E:\Downloads\tomcat\webapps\jforum/WEB-INF/classes"
        at net.jforum.util.log.LoggerHelper.checkClasspathDir(LoggerHelper.java:198)
        at net.jforum.util.log.LoggerHelper.provideJForumLogConfig(LoggerHelper.java:132)
        at net.jforum.util.log.LoggerHelper.checkLoggerInitialization(LoggerHelper.java:101)
        at net.jforum.ContextListener.contextInitialized(ContextListener.java:74)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)

JForum: Going to initialize logger with 
E:\Downloads\tomcat\webapps\jforum\WEB-INF\log4j_template.xml
--cut here--

Although the installation works ok. Any ideas?

Original issue reported on code.google.com by veit.g...@googlemail.com on 8 Mar 2014 at 11:27

GoogleCodeExporter commented 9 years ago
Please help to check it.

Original comment by andow...@gmail.com on 10 Mar 2014 at 6:04

GoogleCodeExporter commented 9 years ago

Original comment by andow...@gmail.com on 27 Jun 2014 at 5:21

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I am also getting the same error in the same version of jforum 2.3.5.

Kindly let me know the fix.

Regards,
Sachin Kumar
drop2sachin@gmail.com

Original comment by drop2sac...@gmail.com on 2 Jan 2015 at 3:15

GoogleCodeExporter commented 9 years ago
This is fixed in r324 and will be released in JForum 2.3.6(Currently under 
development for fixing CSRF issue). You can checkout the source code from SVN 
and build it with maven.

Original comment by andow...@gmail.com on 3 Jan 2015 at 4:26