IT拾记
colky · 共 8 篇文章
JGroup failed sending message to xxx
2011-10-10 10:35:28,722 [OOB-1,Mac--48451] WARN org.jgroups.protocols.pbcast.NAKACK - Mac--48451: dropped message from PC-6179 (not in table [Mac-48451]), view=[Mac-48451|0] [Mac--48451] 2011-10-10 10:35:29,434 [OOB-1,Mac--48451] WARN org.jgroups.protocols.pbcast.NAKACK - Mac--48451: dropped messag…
2011-10-10 10:37 · JAVA · 评论(0)
Ant编译的项目,出现HandlerMethodInvocationException错误
Ant编译项目运行出错: 2011-09-21 09:47:43,485 INFO [STDOUT] 2011-09-21 09:47:43,466 [http-0.0.0.0-18080-9] WARN com.infindo.appcreate.servlet.ExceptionHandler - Handle exception: org.springframework.web.bind.annotation.support.HandlerMethodInvocationException 2011-09-21 09:47:43,489 ERROR [STDERR] org.sprin…
2011-09-21 11:18 · JAVA · 评论(0)
让JBoss的Log直接在浏览器中访问
在项目开发阶段,如果developer想要访问jboss的日志,一般的方法是直接ssh到服务器进行查看,如果developer没有操作服务器的权限,那么就变得比较麻烦。这种情况有2种解决办法,一是使用定时备份或者邮件发送,这种办法比较麻烦而且实时性不强,第二种办法是为在project.war目录中增加软链接,达到用浏览器实时访问的目的,如下: 在war目录中增加一个链接 cd $WAR_PATH ln -s ../../log/ log 用浏览器访问 http://xxxx:portno/project/log/server.log 你会发现得到404错误,现在还无法访问,那么要允许jbos…
2011-09-21 10:36 · JAVA · 评论(0)
Installing Wine on a 64-bit
Suse11.0 AMD64系统下,安装wine时,如果发生如下的问题: winegcc: gcc failed make[2]: *** [winex11.drv.so] Error 2 make[2]: Leaving directory `/home/manish/Desktop/Download/wine-0.9.49/dlls/winex11.drv' make[1]: *** [winex11.drv] Error 2 make[1]: Leaving directory `/home/manish/Desktop/Download/wine-0.9.49/dlls' make:…
2008-09-05 15:20 · Linux · 评论(0)
Hibernate一对多使用非主键关联设置
A <set name="b" lazy="true" cascade="none" fetch="join"> <key column="p_componentpart_id" property-ref="componentpartId" /> <one-to-many class="B" /> </set> B <many-to-one name="a" class="A" column="p_componentpart_id" property-ref="componentpartId" cascade="none" ....../>
2008-07-15 15:24 · JAVA · 评论(0)
在Suse 64位系统下的flash player插件的安装方法
在Suse 64位系统下的flash player插件的安装方法. 1st Open YaST2.(If u do not understand i cant help u) 2nd Check if the gtk2 and tha gtk2-32bit are installed. If they are not install them. 3rd Check if the nspluginwrapper is installed. If it isnt install it. 4th Search for Macromedia Flash Plugin(key word "flash"…
2008-07-09 16:06 · Linux · 评论(0)
Linux64位系统下WTK无法启动的问题解决办法
用的是suse的64位系统,jdk安装的也是64位的,在安装WTK2.5.2后,运行自带的例子死活不能通过,错误提示为: java.lang.UnsatisfiedLinkError: /home/developer/apps_3.3_MyEclipse/WTK2.5.2/bin/sublime.so: /home/developer/apps_3.3_MyEclipse/WTK2.5.2/bin/sublime.so: wrong ELF class: ELFCLASS32 at java.lang.ClassLoader$NativeLibrary.load(Native Method)…
2008-04-11 13:52 · 评论(0)
JBOSS只能用localhost或127.0.0.1访问的解决办法
今天配置了一下新版本的JBOSS,启动后发现只能使用localhost访问了,ip访问不到,查找了一下发现,4.2以上的版本不对所有本机ip进行监听了,解决办法是增加启动参数-b 192.168.x.x或-b 0.0.0.0,或者增加Djboss.bind.address=0.0.0.0参数,或者修改jboss\server\default\deploy\jboss-web.deployer\server.xml里的Connector 下面的address,把变量改成对应的IP或者0.0.0.0。
2008-03-17 10:53 · JAVA · 评论(0)