`
VerRan
  • 浏览: 451543 次
  • 性别: Icon_minigender_1
  • 来自: 陕西.西安
社区版块
存档分类
最新评论

James+Claros+intouch2.1配置

    博客分类:
  • JAVA
阅读更多

1. 启动james

2. 将Claros 里的 intouch2.war 包放入tomacat中

3. 修改配置文件

打开 C:\Tomcat-7\webapps\intouch2\WEB-INF\config\config.xml

以下为修改后配置文件:

<?xml version="1.0" encoding="UTF-8"?>
<claros-config>
	<!-- COMMON PARAMETERS -->
	<common-params>
		<charset>utf-8</charset>
		<!-- the timezone is not functional at 2.0 -->
		<server-timezone>Europe/Istanbul</server-timezone>
		<!-- this directory must be writable (e.g. run a chmod 777 on it) -->
		<tmp-dir>C:\temp</tmp-dir>
		<!-- th e following two is in MB's-->
		<max-attachment-size>5</max-attachment-size>
		<max-mail-size>10</max-mail-size>
		<title>Claros inTouch 2.1</title>
		<!-- We recommend running spamassasin. -->
		<spam-check-enabled>false</spam-check-enabled>
		<!-- valid values are: da, de, en, fr, it, pt_br, pl, sk, tr, vi, zh_cn_utf8 -->
		<default-lang>en</default-lang>
		<!-- this is the default rss feed. users can set their own -->
		<rss-feed>http://rss.cnn.com/rss/cnn_topstories.rss</rss-feed>
	</common-params>
	<!-- CHAT SERVER SETUP -->
	<!-- if you have a jabber server with transports running such as 
		the MSN, yahoo, icq, aol transports the following transport 
		domains must be set. If you don't have your own jabber server
		or not running transports omit the following settings.
	-->
	<chat>
		<default-domain>claros.org</default-domain>
		<msn-transport>msn.claros.org</msn-transport>
		<yahoo-transport>yahoo.claros.org</yahoo-transport>
		<icq-transport>icq.claros.org</icq-transport>
		<aol-transport>aol.claros.org</aol-transport>
	</chat>
	<!-- MAIL SERVER SETUP -->
	<servers>
		<server>
			<!-- give any name you desire -->
			<shortname>localhost</shortname>
			<!-- your imap/pop3 server ip/dns -->
			<fetch-server>localhost</fetch-server>
			<!-- port you are running the pop3/imap server -->
			<fetch-server-port>110</fetch-server-port>
			<fetch-protocol>pop3</fetch-protocol>
			<!-- your smtp server's ip/dns -->
			<smtp-server>localhost</smtp-server>
			<!-- port you are running the smtp server -->
			<smtp-server-port>25</smtp-server-port>
			<!-- does your smtp server need authentication? -->
			<smtp-authenticated>false</smtp-authenticated>
			<!-- IMAP only: if you use courier or cyrus you'll need to set the following to "INBOX." (with the dot(.) but omit the quotes) -->
			<folder-namespace/>
		</server>
	</servers>
	<!-- THE DATABASE SETUP -->
	<!-- 
		Please note that DB setup is essential to work. There is a intouch-mysql file in the SQL directory
		of the zip file. Please create a database and dump the sql file to the db. 
		
		mysqladmin -u root -p create intouch
		mysql -u root -p intouch < intouch-mysql.sql
	 -->
	<db-config>
		<db>
			<!-- do not change the term file!!! -->
			<id>file</id>
			<!-- the connection url for the JDBC connection -->
			<database>jdbc:mysql://127.0.0.1:3306/mail?useUnicode=true&amp;characterEncoding=UTF-8</database>
			<!-- the connection class -->
			<driver>com.mysql.jdbc.Driver</driver>
			<!-- the user with read/write/delete/update/select permission to the database  -->
			<login>root</login>
			<password>root</password>
		</db>
	</db-config>
</claros-config>

 4. 为了方便查看问题修改日志级别为debug

 日志文件存储位置:C:\Tomcat-7\webapps\intouch2\WEB-INF\config\log.properties

  5. 重启tomacat 登录地址

http://127.0.0.1:8080/intouch2/index.jsp

 

输入上篇james 中建立的 用户名密码 VerRanLiu 19851015

 

登入界面:

 

分享到:
评论
7 楼 gaodadawei 2015-01-10  
登录失败,请重试
楼主,我目前遇到这样一个错误,claros inTouch 登录报错,系统提示如下错误信息:
3032781 http-8087-3
ERROR
org.claros.commons.exception.ClarosBaseException
Message
An exception is created. System Message: org.claros.commons.mail.exception.ConnectionException at org.claros.commons.auth.MailAuth.authenticate(MailAuth.java:28) at org.claros.intouch.profiling.services.LoginService.doPost(LoginService.java:83) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
6 楼 VerRan 2013-05-05  
qq346448412 写道
请问。你上一节、 用的ORACLE数据库、 这一节又用的是MYSQL   那么登陆的用户是存在哪的呢? 应该是是ORACLE里吧?

好久以前写的东西了很多都记得不清了,上一结的介绍时用oralce数据库做的测试,这一节是用mysql的,所以登陆时候的用户是在mysql中的,希望对你有所帮助。
5 楼 qq346448412 2013-04-24  
请问。你上一节、 用的ORACLE数据库、 这一节又用的是MYSQL   那么登陆的用户是存在哪的呢? 应该是是ORACLE里吧?
4 楼 lygxy12 2012-11-06  
请问,能给163发邮件吗?该怎么配置?我安装上面的操作,发给163邮箱的邮件,163邮箱收不到
3 楼 zwjtthappy 2012-09-18  
你好,我的搭建好后向同域名(自己定义的)可以发送邮件,提示成功,但是却收不到邮件,求解
2 楼 VerRan 2011-03-18  
Vicent_Lee 写道
你好、我整在研究这个mail系统、但是遇到点问题、我用的是mysql数据库、是不是相应的在数据库中建表啊、那都建写什么表呢?我一直没搞明白、而且网上的很多都是转载的、一点不全面啊、谢谢、


需要建立支撑 邮件服务器的表,这些表的sql 在Claros  下载包目录下就有的 有各种数据库版本的。
1 楼 Vicent_Lee 2011-03-10  
你好、我整在研究这个mail系统、但是遇到点问题、我用的是mysql数据库、是不是相应的在数据库中建表啊、那都建写什么表呢?我一直没搞明白、而且网上的很多都是转载的、一点不全面啊、谢谢、

相关推荐

Global site tag (gtag.js) - Google Analytics