Hello Everyone,
I am using the Java version of FCK Editor as detailed here:
http://java.fckeditor.net
And am deploying under Tomcat. On my local (test) server, I have everything working properly.
I have the following JAR files in my classpath:
fckeditor-java-core-2.4.jar
slf4j-api-1.5.2.jar
slf4j-log4j12-1.5.2.jar
I have the following in my web.xml file:
<servlet> <servlet-name>Connector</servlet-name> <servlet-class>net.fckeditor.connector.ConnectorServlet</servlet-class> <load-on-startup>3</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Connector</servlet-name> <url-pattern>/fckeditor/editor/filemanager/connectors/*</url-pattern> </servlet-mapping>
Re: Java Tomcat Deployment
to answer your first question:
The answer is simply:
Your problem:
Please set the net.fckeditor.* logger hiearchy to log level DEBUG. You should see DEBUG params which the Connector is supplied. Try to check if they really match your invironment. This should help you to surround the problem.
Mike
Re: Java Tomcat Deployment
I encouter the same problem, so I tried to put the log level to DEBUG into log4j.xml :
But it seems to don't give me more informations. I'm pretty begginer at Log4j...
Have you any idea ?
Thanks
Ced
Re: Java Tomcat Deployment
Re: Java Tomcat Deployment
Ced
Re: Java Tomcat Deployment
Well, you made 2 mistakes. It was yes-or-no question and the put it the wrong directory.
I would strongly recommend you to read a tutorial first before doing any webapp development. See www.coreservlets.com
Every lib goes into WEB-INF/lib.