• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Test email from 2.1.5 admin interface

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I clicked on "Send Test mail" from the admin interface, it popped up a message saying "Ajax interface not working properly". I went to: http://www.jforum.net/confluence/display/configuration/ajax and found I have dwr settings correctly in the web.xml. I'm using JRun4. I checked JRun documentation and confirmed that I have the servlet mapping in right place. Any help is appreciated.

When I checked my logs, I see it like this. Does this mean, I need add DWR jar files manually to my class-path?

02/18 23:26:13 error Requested resource '/forums/adminConfig/${contextPath}/templates/${templateName}/images/star_on.gif' (%2fforums%2fadminConfig%2f%24%7bco
ntextPath%7d%2ftemplates%2f%24%7btemplateName%7d%2fimages%2fstar_on.gif) not found
02/18 23:26:13 error Requested resource '/forums/adminConfig/${contextPath}/templates/${templateName}/images/star_off.gif' (%2fforums%2fadminConfig%2f%24%7bc
ontextPath%7d%2ftemplates%2f%24%7btemplateName%7d%2fimages%2fstar_off.gif) not found
02/18 23:26:13 error No class by name: AjaxUtils
java.lang.SecurityException: No class by name: AjaxUtils
at uk.ltd.getahead.dwr.impl.DefaultCreatorManager.getCreator(DefaultCreatorManager.java:171)
at uk.ltd.getahead.dwr.impl.DefaultProcessor.doInterface(DefaultProcessor.java:418)
at uk.ltd.getahead.dwr.impl.DefaultProcessor.handle(DefaultProcessor.java:84)
at uk.ltd.getahead.dwr.DWRServlet.doPost(DWRServlet.java:178)
at uk.ltd.getahead.dwr.DWRServlet.doGet(DWRServlet.java:165)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)


[originally posted on jforum.net by balakiran]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
SecurityException, huh? Looks like there are some policy blocking access to the jar, or something like.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What I realized is: I get this error whenever I go to the admin interface. HOw can I prevent this error? I'm using JRun4.

This is what the URL could not find: /forums/dwr/interface/AjaxUtils.js?1140573605022

I searched in the entire JForum folder, I could not find this javascript. Please advise.
[originally posted on jforum.net by balakiran]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a dynamic Javascript. There is a servlet named dwr-invoker declared in the web.xml file, which is responsible for this.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Been there. Done that. Went back for more. But this time, I took this tiny ad with me:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic