09 2012 档案

摘要:web.xml中数据库连接配置:<?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"xsi:schemaLocation=&qu 阅读全文
posted @ 2012-09-29 13:34 但用此心 阅读(11687) 评论(0) 推荐(0)
摘要:安照说明文档,我访问创建用户的url 如下http://127.0.0.1:9090/plugins/userservice/userservice?type=add&secret=bigsecret&username=kafka&password=drowssap&name=franz&email=franz@kafka.com提示如下错误。<error>UserServiceDisabled</error> server = XMPPServer.getInstance(); userManager = server.getU 阅读全文
posted @ 2012-09-14 10:48 但用此心 阅读(3664) 评论(0) 推荐(0)
摘要:http://nodex.iteye.com/blog/1213869 阅读全文
posted @ 2012-09-12 18:31 但用此心 阅读(268) 评论(0) 推荐(0)
摘要:原文地址:http://yjl49.iteye.com/blog/1452597 阅读全文
posted @ 2012-09-11 15:16 但用此心 阅读(368) 评论(0) 推荐(0)
摘要:如题, 一直做c#, 最近做openfire 开发,所以我选择 agsxmpp 做测试的客户端,以下是遇到的问题及解决方法1. openfire发送数据流是通过 PLAIN 的 , 而 agsxmpp 是默认是 通过DIGEST-MD5 发送2. openfire 发送iq节不接收 to属性集体解决方案1. 修改 agsxmpp 里的Mechanism.cs 里//case "DIGEST-MD5": //我加的 注释掉case "DIGEST-MD5": 使plain 变为默认设置//return MechanismType.DIGEST_MD5;注释 阅读全文
posted @ 2012-09-11 14:20 但用此心 阅读(8181) 评论(3) 推荐(0)
摘要:原文地址:http://yjl49.iteye.com/blog/1452564 阅读全文
posted @ 2012-09-11 14:12 但用此心 阅读(263) 评论(0) 推荐(0)
摘要:原文地址:http://yjl49.iteye.com/blog/1452569发送给其它服务器的消息由@domain 部分区分,在进入到服务器路由后在RoutingTableImpl.routePacket(Packet packet) 中与发送给本地服务器的消息分离。Java代码publicvoidroutePacket(JIDjid,......){booleanrouted=false;if(serverName.equals(jid.getDomain())){routed=routeToLocalDomain(jid,packet,fromServer);}elseif(jid.g 阅读全文
posted @ 2012-09-11 13:58 但用此心 阅读(1813) 评论(0) 推荐(0)
摘要:openfire 阅读全文
posted @ 2012-09-11 13:55 但用此心 阅读(1782) 评论(0) 推荐(0)
摘要:我用的是eclipse 3.3 已经集成了ant 的功能。 不用写ant 的build.xml 文件,eclipse 工具帮你搞定一切。如下: 选中你的项目-> 右键->export-> 在打开的窗口中选 general -> ant buildfiles , 点击next , 选中你的项目, 点击finish.' 完成上面的步骤后,可以看见在thinkinjava 项目下生成了一个build.xml文件在 window -> show view ,打开ant 窗口。在ant 窗口中添加 thinkinjava 文件,点击运行,编译成功。导出jar 包选中 阅读全文
posted @ 2012-09-07 11:06 但用此心 阅读(8398) 评论(0) 推荐(0)
摘要:<%@ page language="java" import="你需要的带包名的类" pageEncoding="gb2312"%>。然后具体的jar文件要放在WebRoot下的WEB-INF里的lib中 阅读全文
posted @ 2012-09-06 13:43 但用此心 阅读(12736) 评论(0) 推荐(0)
摘要:eclipse 编译openfire,openfire 的配置文件在openfire\target\openfire\conf\openfire.xml 中, <?xml version="1.0" encoding="UTF-8" ?> - <!-- This file stores bootstrap properties needed by Openfire. Property names must be in the format: "prop.name.is.blah=value" That will be 阅读全文
posted @ 2012-09-04 18:09 但用此心 阅读(6132) 评论(0) 推荐(0)
摘要:1.代码自动提示:http://www.cnblogs.com/taofh/archive/2011/11/29/2266999.html2.eclipse + openfire 编译:http://www.cnblogs.com/heezee/archive/2011/12/28/openfire.html如下错误的解决BUILD FAILED/home/guus/eclipse-workspaces/Indigo-SR1/IgniteRealtime/Openfire/build/build.xml:241: Must use JDK 1.5.x or higher to build Op 阅读全文
posted @ 2012-09-03 19:02 但用此心 阅读(526) 评论(0) 推荐(1)