CrossEditor Server Guide

Jeus

1. Check the MimeType in the Jeus settings

Add the following two MimeType settings to "$JEUS_HOME/config/'hostname'/'hostname'_servlet_engine1/webcommon.xml" if they do not already exist.

<mime-mapping>

<extension>css</extension>

<mime-type>text/css</mime-type>

</mime-mapping>

<mime-mapping>

<extension>xml</extension>

<mime-type>text/xml</mime-type>

</mime-mapping>

2. Check the MimeType in the server settings

2-1. If you are using WS Engine

Add the following two MimeType settings to the "$JEUS_HOME/config/'hostname'/'hostname'_ws_engine1/WSMain.xml" file if they do not already exist.

<ext>

<name>css</name>

<mimetype>text/css</mimetype>

<svr-type>HTML</svr-type>

</ext>

<ext>

<name>xml</name>

<mimetype>application/xml</mimetype>

<svr-type>HTML</svr-type>

</ext>

2-2. If you are using WebtoB

Add the following two MimeType settings to the "webtob/config/http.m" file if they do not already exist.

*EXT

css     MimeType = "text/css", SVRTYPE = HTML

xml     MimeType = "application/xml", SVRTYPE = HTML

3. Check the upload module

If commons-fileupload.jar or commons-io.jar cannot be found at "$WebApplication_Root/WEB-INF/lib/", you can download them at one of the following sites.

icon_list_03.gifcommons-fileupload.jar : http://commons.apache.org/fileupload/download_fileupload.cgi

icon_list_03.gifcommons-io.jar : http://commons.apache.org/io/download_io.cgi


If file upload does not work or an error occurs when commons-fileupload.jar and commons-io.jar are added to the above path, add the commons-fileupload.jar and commons-io.jar file to "$JEUS_HOME/lib/system/".

4. Restart Jeus

After completing the steps above, restart Jeus.

WebLogic

1. Check the MimeType

Add the following two MimeType settings to the "$WebApplication_Root/WEB-INF/web.xml" file if they do not already exist.

<mime-mapping>

<extension>css</extension>

<mime-type>text/css</mime-type>

</mime-mapping>

<mime-mapping>

<extension>xml</extension>

<mime-type>text/xml</mime-type>

</mime-mapping>

2. Check the upload module

If commons-fileupload.jar or commons-io.jar cannot be found at "$WebApplication_Root/WEB-INF/lib/", you can download them at one of the following sites.

icon_list_03.gifcommons-fileupload.jar : http://commons.apache.org/fileupload/download_fileupload.cgi

icon_list_03.gifcommons-io.jar : http://commons.apache.org/io/download_io.cgi

3. Restart WebLogic

After completing the steps above, restart WebLogic.

WebSphere

1. Check the MimeType

Add the following two MimeType settings in the WebSphere administrator page if they do not already exist.

extension : css

mime-type : text/css


extension : xml

mime-type : text/xml

2. Check the upload module

If commons-fileupload.jar or commons-io.jar cannot be found at "$WebApplication_Root/WEB-INF/lib/", you can download them at one of the following sites.

icon_list_03.gifcommons-fileupload.jar : http://commons.apache.org/fileupload/download_fileupload.cgi

icon_list_03.gifcommons-io.jar : http://commons.apache.org/io/download_io.cgi

3. Restart WebSphere

After completing the steps above, restart WebSphere.

iPlanet

1. Check the MimeType

Add the following two MimeType settings to the "$WebServer Installation Folder/https-xxx/config/mime.conf" file if they do not already exist.

type=text/css     exts=css

type=text/xml     exts=xml

2. Check the upload module

If commons-fileupload.jar or commons-io.jar cannot be found at "$WebApplication_Root/WEB-INF/lib/", you can download them at one of the following sites.

icon_list_03.gifcommons-fileupload.jar : http://commons.apache.org/fileupload/download_fileupload.cgi

icon_list_03.gifcommons-io.jar : http://commons.apache.org/io/download_io.cgi

3. Restart iPlanet

After completing the steps above, restart iPlanet.

Struts

1. Problem

Struts has its own image upload feature, and the Struts filter does multi-part parsing which causes an error in the editor's upload feature.

2. Modification

Open Struts' web.xml and find the following part:

<filter-mapping>

  <filter-name>struts2</filter-name>

  <url-pattern>/*</url-pattern>

</filter-mapping>

Set the above url-pattern to only a pattern that is actually used like "*.action" so that it does not effect CrossEditor's image upload.