分类:实践目标,学习目标
结构:实践目标和学习目标可以互为前提?
个人的目标树?目标之间的关系是单根树?还是可以是网状?
从数据结构和理论定律的高度进行目标的分类和结构的提炼。
月份:2006年2月
java.net.BindException: Address already in use: connect
节摘自:http://blogger.org.cn/blog/more.asp?name=sixsun&id=10349
关于【NESTED BEGIN EXCEPTION】http://forums.mysql.com/read.php?39,34091,34091#msg-34091
java.net.SocketException
MESSAGE: java.net.BindException: Address already in use: connect
MySQL Connectors » JDBC » NESTED BEGIN EXCEPTIOn
NESTED BEGIN EXCEPTIOn
Posted by: Rakesh BK (IP Logged)
Date: July 13, 2005 02:24AM
While connecting to Mysql DB from JBOSS server i am getting the following exception..
Please suggest some solution .
Details of the exception
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: java.net.BindException: Address already in use: connect
STACKTRACE:
java.net.SocketException: java.net.BindException: Address already in use: connect
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:151)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:281)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1696)
at com.mysql.jdbc.Connection.<init>(Connection.java:408)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:270)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
** END NESTED EXCEPTION **
11:22:10,628 ERROR [STDERR] at com.mysql.jdbc.Connection.createNewIO(Connection.java:1
759)
11:22:10,628 ERROR [STDERR] at com.mysql.jdbc.Connection.<init>(Connection.java:408)
11:22:10,628 ERROR [STDERR] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegister
ingDriver.java:270)
Thanks
Rakesh.B.K
Re: NESTED BEGIN EXCEPTIOn
Rakesh,
You're creating more TCP/IP connections than your OS is configured to handle. Are you using a connection pool? Is there some other process which creates many TCP/IP connections on your system?
-Mark
--
Mark Matthews
MySQL AB, Software Development Manager - Client Connectivity
www.mysql.com
David,
You're creating connections faster than your OS can recycle sockets out of TIME_WAIT status. That is why you get the exception you posted.
Connections should be relatively long-lived objects, maybe you should investigate re-using them within your application or via a connection pool?
-Mark
--
Mark Matthews
MySQL AB, Software Development Manager - Client Connectivity
www.mysql.com
Yes Mark, you are right!!! In addition I would like to warn developers using Win XP with SP 2 that SP 2 introduces a new TCP/IP feature: the number of possible TCP connection attempts is limited to 10 per second. I think that’s why getting an exception related with TCP connections it’s so easy.
Thanks for your help and time,
Best regards,
David Benaderet.
LoggerWriter
LoggerWriter用于记录自己的开发日志。
完成LoggerWriter
完成LoggerWriter,作出自己的开发平台。
学习日记rss订阅方案设计(希望得到您的意见或建议)
看了www.43things.com的rss订阅方案和roller的rss方案,结合学习日记的特点,提出学习日记的rss订阅方案。
1、个人的订阅:
1)、我进行中的目标的最新39篇日记;(参数:type=diary.processGoal,userName=tom)
2)、我写作的日记的最新39篇评论;(参数:type=advice.diary,userName=tom)
2、全局的订阅:
目标的订阅:
1)、最近创建的39个目标;(参数:type=goal.last)
2)、加入人数最多的39个目标;(参数:type=goal.mostJoin)
日记的订阅:
1)、最近写作的39篇日记;(参数:type=diary.last)
评论的订阅:
1)、最近提交的39篇评论;(参数:type=advice.last)
3、征对某一个目标的订阅:
1)、这个目标的最新39篇日记;(参数:type=diary.goal,goalID=1)
2)、这个目标的最新39篇评论;(参数:type=advice.goal,goalID=1)
订阅的格式:
1、订阅的目标:
目标题目
×××在什么时候创建了目标×××:
目标内容(www.43things.com中目标的具体内容只有在网上看,它在这个页面有实现这个目标的相关的广告。学习日记可以考虑这种沟通用户的服务提供者的恰当的沟通方式)。
2、订阅的日记:
日记标题
×××在什么时候为×××目标写作了日记×××:
日记内容
3、订阅的评论:
评论标题:
×××在什么时候评论了目标×××(或评论了目标×××下的日记×××):
评论内容
使用rss2.0规范,用rsslibj来生成(实际它可以生成0.92或1.0等规范的,但是没有atom的规范,这个公共库项目在2003年就停止了更新,估计是作者认为这个库已经完全满足它的主要目的了:专门用来生成rss文件),全局订阅单独放在一个页面中;某个目标的订阅分别放在所有目标页面的各个目标的条目中、目标的内容中、目标的日记列表中、目标的日记内容中。
一个好像不错的web2.0相关开发社区http://developer.yahoo.net
来自:http://blog.matrix.org.cn/page/zhenggc?entry=yahoo%E4%B9%9F%E6%90%9Edev 的介绍。
里面有个yahoo ui lib好像是我非常需要的,收藏一下先。
下面是它的首页的介绍:
Innovate.
You bring the skills. We bring the ingredients.
Welcome to the Yahoo! Developer Network. We help software developers integrate their Web sites and applications with Yahoo! using standard technologies such as XML and RSS. Click on a link at left to learn more about our products and how we can help you.
New! - Yahoo! User Interface and Design Patterns Libraries
Everyone talks about Web 2.0. Talk is cheap. How about some real help? Just in time for Valentine's day we're giving you a delicious candy box of tools and guidelines for building cutting-edge dynamic web sites.
First, there's the Yahoo! User Interface Library. The UI Library is a set of JavaScript components that let you quickly add all kinds of really nifty features to your web site, from dynamic UI elements like drag and drop, tree views, and animation; to underlying functionality like custom events and easy-to-use cross-browser XMLHttpRequest connections. Its a small easy-to-use framework for building AJAX applications. And get this: Its free to use and its open source (BSD license). Better than flowers any day.
Code is cool, but howabout some advice, too. We've also got the Yahoo! Design Patterns Library, where our best visual and interaction designers have gotten together and created a set of patterns and guidelines for design in a Web 2.0 world. Here you'll find ideas on the best ways to implement web site elements, along with pointers to examples and the tools within the Yahoo! UI Library that will let you do it. Today's Pattern Library is just the beginning -- expect this part of the site to grow quite a lot over the coming months.
Our Yahoo! UI folks, in addition to the insane amount of work they did to bring you all these cool tools today, have also started a blog over on yuiblog.com to keep you updated on stuff going on in the Yahoo! UI world and to get your feedback on patterns and tools. Drop over and say hi!
Posted: February 13th, 2005
双核处理器
http://tech.sina.com.cn/it/2005-03-08/0022543987.shtml
http://52yy.com/viewthread.php?tid=896
xml学习资源
http://www.jspcn.net/htmlnews/B1106101884500.html
前天,也就是星期六,把孩子接回来了
听说,孩子也想回家了。接她回家的前一天就在念家里人了:婆婆、爷爷、爸爸、妈妈...
实际,孩子接回来入睡前还是要小咳几声,本着尽量少给孩子吃药的原则,我们给她喝止咳合剂,不过心里还是有点发虚,万一严重了咋办?孩子睡觉爱踢被子,回来的第一天晚上就把被子踢个精光。弄得醒了还不停的咳了一阵。不过白天就没事了。
这学期还是打算把她送到就近的幼儿园里。虽然母亲反映老师抱怨说孩子太调皮,好像对孩子不大好的意思。但是,我想,老师向我们反映孩子调皮总是有她的依据。我们可以征对具体问题多与老师沟通,否则,转到哪所幼儿园可能都是一样的。而且,转来转去,对这么小的孩子也增加了重新融入环境的过程,可能对她反而不大好吧。
另外,我想,我们跟老师一无怨,二无愁,她总不可能单独对我们的孩子格外的不好吧。
关键,要多与老师沟通。
今天在matrix的blog中试用blog客户端软件:w.bloggar不成功
今天下载了一个blog离线写作工具-w.bloggar,按步骤设置后,提示: org.apache.xmlrpc.XmlRpcException: You have not enabled Blogger API support for your 可我明明已经在站点设置中设置了开启blogger API?搞不懂是怎么一回事了。
rss客户端软件通过xmlrpc来与blog sever交流,blog sever提供一些约定的rpc方法供rss客户端调用。
例如:在w.bloggar 的Faq中说:
What is w.bloggar?
The w.bloggar is an application that acts as an interface between the user and one or more blog(s); in other words, it is a Post and Template editor, with several features and resources that the browser based blog editors do not offer.
Because w.bloggar runs over the Windows GUI, it allows the user to edit posts without being connected to the Internet. Posts can be saved locally; and anytime the user wants to publish a new text, one click on the w.bloggar icon in the system tray brings up the editor, and one more click will post it to the weblog.
Another great advantage of w.bloggar is that it is compatible with most of the weblog systems available, allowing an advanced user to have only one interface to several accounts hosted on several different sites, using different publishing systems.
To communicate with the weblog, w.bloggar requires that the blog system have implemented an API (Application Programming Interface.) Currently, w.bloggar is compatible with all tools that implements Blogger API, metaWeblog API, MovableType API and b2 API; all based on the XML-RPC definition.