Login

mvnForum

mvnForum Homepage Welcome Guest
  Search  
  Index  | Recent Threads  | Unanswered Threads  | List Polls  | Public Albums  | Who's Online  | Help


Quick Go »


No member browsing this thread
Thread Status: Active
Total posts in this thread: 15
Posts: 15   Pages: 2   [ 1 2 | Next Page ]
Post new Thread
Author
Previous Thread This topic has been viewed 4029 times and has 14 replies Next Thread
Male erntheburn
Stranger
Member's Avatar

United States
Joined: Jun 13, 2003
Post Count: 15
Status: Offline
Reply to this Post  Reply with Quote 
Activation template URL error

I'm using RC4 and get the following error when trying to do the activation:

The error messsage is:
Template sendactivemailtemplate-subject.ftl not found.

I also get an exception screen when people try to register, with the following root cause:

java.lang.NoClassDefFoundError
at com.mvnforum.auth.OnlineUserImpl.buildNewCaptcha(OnlineUserImpl.java:327)
at com.mvnforum.user.MemberWebHandler.prepareAdd(MemberWebHandler.java:89)
at com.mvnforum.user.UserModuleProcessor.process(UserModuleProcessor.java:198)
at com.mvnforum.user.ForumUserServlet.process(ForumUserServlet.java:182)
at com.mvnforum.user.ForumUserServlet.doGet(ForumUserServlet.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at net.myvietnam.mvncore.servlet.filter.CompressionFilter.doFilter(CompressionFilter.java:234)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:457)
at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:576)
at java.lang.Thread.run(Thread.java:552)

Apache Tomcat/4.1.29-LE-jdk14
[Feb 8, 2005 2:43:39 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.javachief.org    erniev@mac.com [Link] Report threatening or abusive post: please login first  Go to top 
Male erntheburn
Stranger
Member's Avatar

United States
Joined: Jun 13, 2003
Post Count: 15
Status: Offline
Reply to this Post  Reply with Quote 
Re: Activation template URL error, now Captcha problem

I have resolved the template error. Seems I needed to have the mvnHome external to the webapp. I initially tried putting it in the WEB-INF dir of the webapp, but it didn't work there. Then I noticed another folder appear in my Tomcat webapps directory called mvnforum (my webapp is called over30). It contained the mvnHome folder without the templates and other files, so I copied them to their respective folders and it worked. This is odd, because I never provided any such path for mvnHome, it seems to be either an undocumented feature or a bug.
----

I'm still having problems with Captcha registration. I simply get an exception page when someone clicks the register link. It appears to be either a class path problem or permissions. Is it possible to disable this feature?

BTW, it should be noted that I deployed mvnForum on Mac OS X Server 10.3 with Tomcat 4.x and Apache web server.

-ernie
----------------------------------------
[Edit 3 times, last edit by erntheburn at Feb 8, 2005 12:27:02 PM]
[Feb 8, 2005 12:14:52 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.javachief.org    erniev@mac.com [Link] Report threatening or abusive post: please login first  Go to top 
Male minhnn
mvnForum Developer
Member's Avatar

Vietnam
Joined: Oct 16, 2002
Post Count: 2956
Status: Offline
Reply to this Post  Reply with Quote 
Re: Activation template URL error

The error messsage is:
Template sendactivemailtemplate-subject.ftl not found.

Please copy the *.ftl to folder mvnForumHome/template
java.lang.NoClassDefFoundError
at com.mvnforum.auth.OnlineUserImpl.buildNewCaptcha(OnlineUserImpl.java:327)

Please see http://java.sun.com/products/java-media/2D/forDevelopers/java2dfaq.html#xvfb
or search this forum for word "headless"
----------------------------------------
Minh Nguyen
mvnForum Developer
Want a free, open source Java Jsp/Servlet forum, get mvnForum at http://www.mvnForum.com

http://www.DienDanLinux.org
[Feb 8, 2005 12:23:06 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.MyVietnam.net    minhnn_mvn [Link] Report threatening or abusive post: please login first  Go to top 
Male tkamsker
Stranger



Austria
Joined: Feb 12, 2005
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: Activation template URL error

biggrin Hello
I have the same Problem i have all the *.ftl files in the folder templates under Home

What else can i do ?
I dont need this grafix thing because id like to use it in the intranet ;)-
SO

please help what can i do

best reg
thomas Kamsker
[Feb 12, 2005 3:53:03 PM] Show Printable Version of Post    View Member Profile    Send Private Message    http://www.tkamsker.at [Link] Report threatening or abusive post: please login first  Go to top 
Male minhnn
mvnForum Developer
Member's Avatar

Vietnam
Joined: Oct 16, 2002
Post Count: 2956
Status: Offline
Reply to this Post  Reply with Quote 
Re: Activation template URL error

I have the same Problem i have all the *.ftl files in the folder templates under Home

Please note that the folder name is template, not templates.
If it still cannot found *.ftl, then you might not config mvnForumHome properly.

Hope this helps
----------------------------------------
Minh Nguyen
mvnForum Developer
Want a free, open source Java Jsp/Servlet forum, get mvnForum at http://www.mvnForum.com

http://www.DienDanLinux.org
[Feb 16, 2005 2:26:44 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.MyVietnam.net    minhnn_mvn [Link] Report threatening or abusive post: please login first  Go to top 
Male tkamsker
Stranger



Austria
Joined: Feb 12, 2005
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
smile Re: Activation template URL error

Thank you verry much
It worked.

We will use it as an exchange for the rational Requisite pro. Discussion board at our company.

What i want to say is that the first time i found software where the programmers have done everything like i would have done.

We will use Oracle 9I and then Oracle 10 on an AIX Box.
We will start with an Suse 9.1 Linux and Tomcat on it.

Probably due to company rules we will move then to Wepshere

Are you interested in the results. Should we test something fro you ?

Best reg

thomas Kamsker
[Feb 16, 2005 4:15:18 AM] Show Printable Version of Post    View Member Profile    Send Private Message    http://www.tkamsker.at [Link] Report threatening or abusive post: please login first  Go to top 
Male minhnn
mvnForum Developer
Member's Avatar

Vietnam
Joined: Oct 16, 2002
Post Count: 2956
Status: Offline
Reply to this Post  Reply with Quote 
Re: Activation template URL error

Thanks Thomas Kamsker for your nice help offer, currently I have not tested on Oracle and Websphere, so i am very glad if you post the result after deploying mvnForum on your environment, and any errors or issues that user should be noticed

Thanks,
----------------------------------------
Minh Nguyen
mvnForum Developer
Want a free, open source Java Jsp/Servlet forum, get mvnForum at http://www.mvnForum.com

http://www.DienDanLinux.org
[Feb 17, 2005 12:43:50 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.MyVietnam.net    minhnn_mvn [Link] Report threatening or abusive post: please login first  Go to top 
Male Om4r
Stranger
Member's Avatar


Joined: Jan 12, 2004
Post Count: 17
Status: Offline
Reply to this Post  Reply with Quote 
confused Re: Activation template URL error

I have the same Problem i have all the *.ftl files in the folder templates under Home

Please note that the folder name is template, not templates.
If it still cannot found *.ftl, then you might not config mvnForumHome properly.

Hope this helps


I have the same problem... I need an help in find where I have made a mistake in mvnForum configuration. Can you help me?

here is the log:

java.io.FileNotFoundException: Template sendactivemailtemplate-subject.ftl not found.
at freemarker.template.Configuration.getTemplate(Configuration.java:450)
at freemarker.template.Configuration.getTemplate(Configuration.java:427)
at com.mvnforum.common.SendMailUtil.getActivationCodeEmail(SendMailUtil.java:125)
at com.mvnforum.admin.GeneralAdminTasksWebHandler.sendActivateMailToAll(GeneralAdminTasksWebHandler.jav
a:450)
at com.mvnforum.admin.AdminModuleProcessor.process(AdminModuleProcessor.java:341)
at com.mvnforum.admin.ForumAdminServlet.process(ForumAdminServlet.java:106)
at com.mvnforum.admin.ForumAdminServlet.doGet(ForumAdminServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at net.myvietnam.mvncore.servlet.filter.CompressionFilter.doFilter(CompressionFilter.java:234)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
2005-02-18 15:38:18,290 DEBUG [http-80-Processor23] admin.AdminModuleProcessor (AdminModuleProcessor.java:457) - AdminModuleProcessor : responseURI = /mvnplugin/mvnforum/admin/error.jsp. (41 ms)

----------------------------------------
[Edit 1 times, last edit by Om4r at Feb 18, 2005 9:11:05 PM]
[Feb 18, 2005 9:09:42 PM] Show Printable Version of Post    View Member Profile    Send Private Message    http://www.basketcologno.com [Link] Report threatening or abusive post: please login first  Go to top 
Male minhnn
mvnForum Developer
Member's Avatar

Vietnam
Joined: Oct 16, 2002
Post Count: 2956
Status: Offline
Reply to this Post  Reply with Quote 
Re: Activation template URL error

Please make sure the files is in folder mvnForumHome/template.

For example, if you mvnForumHome is in WEB-INF, please make sure there is this file:
WEB-INF\mvnForumHome\template\sendactivemailtemplate-subject.ftl
----------------------------------------
Minh Nguyen
mvnForum Developer
Want a free, open source Java Jsp/Servlet forum, get mvnForum at http://www.mvnForum.com

http://www.DienDanLinux.org
[Feb 19, 2005 1:22:17 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.MyVietnam.net    minhnn_mvn [Link] Report threatening or abusive post: please login first  Go to top 
Male Om4r
Stranger
Member's Avatar


Joined: Jan 12, 2004
Post Count: 17
Status: Offline
Reply to this Post  Reply with Quote 
Re: Activation template URL error

Please make sure the files is in folder mvnForumHome/template.

For example, if you mvnForumHome is in WEB-INF, please make sure there is this file:
WEB-INF\mvnForumHome\template\sendactivemailtemplate-subject.ftl


I'm sure to have all the files I need...
[Feb 19, 2005 11:01:52 PM] Show Printable Version of Post    View Member Profile    Send Private Message    http://www.basketcologno.com [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 15   Pages: 2   [ 1 2 | Next Page ]
Show Printable Version of Thread  Post new Thread