金蝶apusic“处女航”

        将tomcat5下的系统移植到金蝶apusic上。政府就是有钱,偏偏花5万大洋整个apusic。你不相信tomcat,用jboss也可以啊。个人对于国产中间件一向不怎么感冒的。没办法。人家偏要用。只好用了。版本是5.1的。

        项目简单发布,出现问题,错误日志如下:

 

2009-04-14 10:20:14 错误 [apusic.application.qjoa] 启动失败 com.apusic.xml.reader.ScanException: The URL pattern ' /common/FCKeditor/editor/filemanager/browser/default/con nectors/jsp/connector ' cannot contains CR(#xD) or LF(#xA) characters at com.apusic.deploy.runtime.WebModule.validateUrlPattern(Unknown Source ) at com.apusic.deploy.runtime.WebModule$ServletMappingAction.readXml(Unkn own Source) at com.apusic.deploy.runtime.WebModule.readXml(Unknown Source) at com.apusic.deploy.runtime.J2EEModule.loadDeploymentDescriptor(Unknown Source) at com.apusic.deploy.runtime.J2EEModule.load(Unknown Source) at com.apusic.deploy.runtime.WebModule.load(Unknown Source) at com.apusic.deploy.runtime.J2EEApplication.load(Unknown Source) at com.apusic.deploy.runtime.J2EEApplication.startService(Unknown Source ) at com.apusic.service.Service.start(Unknown Source) at com.apusic.deploy.runtime.J2EEDeployer.deploy(Unknown Source) at com.apusic.deploy.runtime.J2EEDeployer.deploy(Unknown Source) at com.apusic.deploy.runtime.J2EEDeployer.deploy(Unknown Source) at com.apusic.deploy.runtime.AutoDeployer.deploy(Unknown Source) at com.apusic.deploy.runtime.AutoDeployer.run(Unknown Source) at java.lang.Thread.run(Thread.java:619)

 

    错误的地方在蓝的 /common/FCKeditor/editor/filemanager/browser/default/connectors/jsp/connector。

    一下就想到了web.xml中配置的fck,找到这段先:

 

   <servlet-mapping>

<servlet-name>Connector</servlet-name>

<url-pattern>

 /common/FCKeditor/editor/filemanager/browser/default/connectors/jsp/connector

</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>SimpleUploader</servlet-name>

<url-pattern>

/common/FCKeditor/editor/filemanager/upload/simpleuploader

</url-pattern>

</servlet-mapping>

 
    这种配置还试servlet 2.3规范中的,2.4规范中,<url-pattern></url-pattern>只能写在一行并排。如下:

  

<url-pattern>/common/FCKeditor/editor/filemanager/browser/default/connectors/jsp/connector</url-pattern>

 

  改之。暂时启用成功。

 

你可能感兴趣的:(tomcat,jsp,servlet,jboss,fckeditor)