起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

12
返回列表 发新帖
楼主: greenTree

[结贴] 用的attachmentEditor附件上传大文件报错

[复制链接]

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35942
发表于 2017-6-27 09:20:56 | 显示全部楼层
修改doc-server\daisy-2.3\lib\daisy\jars\daisy-emailnotifier-server-impl-2.3.jar中的配置文件:daisy-inf/spring/的xml文件设置为-1
看看
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

109

主题

300

帖子

797

积分

高级会员

Rank: 4

积分
797
QQ
 楼主| 发表于 2017-8-11 15:43:00 | 显示全部楼层
jishuang 发表于 2017-6-27 09:20
修改doc-server\daisy-2.3\lib\daisy\jars\daisy-emailnotifier-server-impl-2.3.jar中的配置文件:daisy-i ...

<?xml version="1.0"?>
<!--
  Copyright 2007 Outerthought bvba and Schaubroeck nv

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<beans              xmlns = "http://www.springframework.org/schema/beans"
                xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
              xmlns:daisy = "http://outerx.org/daisy/1.0#runtime-springext"
               xmlns:conf = "http://outerx.org/daisy/1.0#config-springext"
            xmlns:context = "http://www.springframework.org/schema/context"
       xsi:schemaLocation = "http://www.springframework.org/schema/beans
                             http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
                             http://www.springframework.org/schema/context
                             http://www.springframework.org/s ... ing-context-2.5.xsd
                             http://outerx.org/daisy/1.0#runtime-springext
                             http://daisycms.org/schemas/daisyruntime-springext.xsd
                             http://outerx.org/daisy/1.0#config-springext
                             http://daisycms.org/schemas/config-springext.xsd">

  <context:annotation-config/>

  <daisy:import-service id="configurationManager" service="org.outerj.daisy.configuration.ConfigurationManager"/>
  <daisy:import-service id="dataSource" service="javax.sql.DataSource"/>
  <daisy:import-service id="jmsClient" service="org.outerj.daisy.jms.JmsClient"/>
  <daisy:import-service id="mbeanServer" service="javax.management.MBeanServer"/>
  <daisy:import-service id="repositoryManager" service="org.outerj.daisy.repository.RepositoryManager"/>
  <daisy:import-service id="pluginRegistry" service="org.outerj.daisy.plugin.PluginRegistry"/>


  <bean id="emailSubscriptionManagerProvider"
        class="org.outerj.daisy.emailnotifier.serverimpl.LocalEmailSubscriptionManagerProvider">
    <constructor-arg ref="dataSource"/>
    <constructor-arg ref="pluginRegistry"/>
  </bean>

  <bean id="subscriptionManagerHttpConnector"
        class="org.outerj.daisy.emailnotifier.serverimpl.SubscriptionManagerHttpConnector">
    <constructor-arg ref="pluginRegistry"/>
  </bean>

  <bean name="emailNotifier" class="org.outerj.daisy.emailnotifier.serverimpl.EmailNotifierImpl">
    <constructor-arg>
      <conf:configuration group="extra" name="emailnotifier" source="configurationManager">
        <conf:default xmlns="">
          <jmsTopic>daisy</jmsTopic>
          <jmsSubscriptionName>emailNotifier</jmsSubscriptionName>
          <!-- The email notifier needs a user with administration role. -->
          <repositoryUser password="defaultpwd" user="internal"/>
          <!-- Notification mail subject prefix, this gets prepended before the
               subject of all notification mails. -->
          <emailSubjectPrefix>[DAISY]</emailSubjectPrefix>
          <!-- (other configuration is supported) -->
        </conf:default>
      </conf:configuration>
    </constructor-arg>
    <constructor-arg ref="jmsClient"/>
    <constructor-arg ref="repositoryManager"/>
    <constructor-arg ref="mbeanServer"/>
  </bean>

</beans>

加在哪里
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35942
发表于 2017-8-11 16:47:13 | 显示全部楼层
10楼的jar写错了应该是
daisy-repository-server-impl-2.3.jar\DAISY-INF\spring\applicationContext.xml
file.png
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-5-19 13:37 , Processed in 0.064463 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表