随笔 - 314  文章 - 0 评论 - 27 阅读 - 92万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

10 2013 档案
TNS:no listener error in Oracle XE after changing computer name
摘要:This morning at work when trying to log on to my computer I noticed not my username on login screen but the "admin". Well network IT guys were doing their job setting up their stuff. I changed login to my name and logged in successfully. All was fine until I tried to connect to my local Or 阅读全文
posted @ 2013-10-31 13:30 七月逆流 阅读(391) 评论(0) 推荐(0) 编辑
login oracle as sysdba
摘要: 阅读全文
posted @ 2013-10-31 13:19 七月逆流 阅读(207) 评论(0) 推荐(0) 编辑
XE: Changing the default http port
摘要:Oracle XE uses the embedded http listener that comes with the XML DB (XDB) to serve http requests. The default port for HTTP access is 8080.It also supports the WebDAV protocol just as well as FTP.You can determine the current configuration using the following commands when you connect to XE as the 阅读全文
posted @ 2013-10-31 10:38 七月逆流 阅读(343) 评论(0) 推荐(0) 编辑
nested exception is java.lang.IllegalStateException: No persistence units parsed from {classpath*:META-INF/persistence.xml}
摘要:Deploying inside Eclipse v3.6 raises the exception. The WEB-INF/classes/ folder in the .war doesn't have the persistence.xml file. Adding it manually and restarting the server doesn't help. 阅读全文
posted @ 2013-10-30 11:38 七月逆流 阅读(1280) 评论(0) 推荐(0) 编辑
Spring 3.1 entityManagerFactory java.lang.NoSuchFieldError: NULL Error
摘要:This means there is a version mismatch--most likely with spring classes. So make sure all your spring jars are 3.1.0. Especially spring-expression. (Also upgrade your JPA provider (hibernate?) if it doesn't work after fixing spring) 阅读全文
posted @ 2013-10-30 11:36 七月逆流 阅读(241) 评论(0) 推荐(0) 编辑
Important
该文被密码保护。
posted @ 2013-10-29 23:15 七月逆流 阅读(3) 评论(0) 推荐(0) 编辑
使用WebLogic时控制台输出中文乱码解决方法
摘要:使用WebLogic时控制台输出中文乱码解决方法1.找到weblogic安装目录,当前项目配置的domain2.找到bin下的setDomainEnv.cmd文件3.打开文件,从文件最后搜索第一个set JAVA_OPTIONS=%JAVA_OPTIONS%(应该是倒数第四行,空行除外),修改为set JAVA_OPTIONS=%JAVA_OPTIONS% -Dfile.encoding=utf-84.保存文件,重新启动服务 阅读全文
posted @ 2013-10-25 22:28 七月逆流 阅读(1028) 评论(0) 推荐(0) 编辑
PL/SQL错误提示 database character set(AL32UTF8) and Client character set(ZHS16GBK) are different
摘要:PL/SQLdatabasecharacterset(AL32UTF8)andClientcharacterset(ZHS16GBK)aredifferent这是由于安装oracle客户端的时候没有设置对字符集造成的,没啥大问题,不影响使用,但是还是收拾好了比较爽一些。解决方法很简单。启动PL/SQLDeveloper报字符编码不一致错误Databasecharacterset(AL32UTF8)andClientcharacterset(ZHS16GBK)aredifferent.Charactersetconversionmaycauseunexpectedresults.Note:you 阅读全文
posted @ 2013-10-25 22:05 七月逆流 阅读(556) 评论(0) 推荐(0) 编辑
Remove “Quick Access” entry in Eclipse Juno
摘要:Here is a quick hack which doesn't require any plugin installation, instead you just need to add a few lines to your current layout's CSS file. Works perfectly for me in v4.2.2Navigate to /plugins/org.eclipse.platform_/css then open up the CSS file of whichever layout you are using, e.g. min 阅读全文
posted @ 2013-10-25 21:59 七月逆流 阅读(772) 评论(0) 推荐(0) 编辑
JSF - Access Managed-Bean in a servlet
摘要:When you have to access your Managed Bean in a servlet, it depends on the scope you set for the Bean. Request-Scope:HttpServletRequest httpRequest =(HttpServletRequest) request;YourBean bean =(YourBean) request.getAttribute("yourBean");Session-Scope:HttpServletRequest httpRequest =(HttpSer 阅读全文
posted @ 2013-10-24 12:54 七月逆流 阅读(298) 评论(0) 推荐(0) 编辑
SC命令安装window服务
摘要:sc create Styler binpath= "D:\Styler\Styler.exe" start= auto displayname= "Styler" 阅读全文
posted @ 2013-10-20 08:43 七月逆流 阅读(537) 评论(0) 推荐(0) 编辑
windows删除服务的命令行语句
摘要:想要删除windows xp里的一个服务,怎么办呢? 系统没有可视化的工具可以用,不过内置了一个cmd命令 sc.exe具体操作方法是:开始--运行--cmd,进入cmd命令行.然后输入: sc delete 服务名这里需要注意的是: 服务名 如果是中文的话,就直接输入中文就好了,不要带任何符号,就算是中文里有空格,也不用管,例如:sc delete serv-u 服务器这样就是删除服务名为 "serv-u 服务器" 的服务了.不要删除系统服务,不然造成什么不良后果那就亏大了.一般不用的服务可以禁用掉,但是有些服务是独占的,比较讨厌,比如我之前就是serv-u服务器独占了服 阅读全文
posted @ 2013-10-20 08:13 七月逆流 阅读(1158) 评论(0) 推荐(0) 编辑
Windows和Linux双系统下完美卸载linux
摘要:装了Windows和linux双系统的朋友,在后期要删除linux是个比较头痛的问题,因为MBR已经被linux接管,本文的目的是如何在windows 和linux双系统下,简单,完美地卸载linux。使用MbrFix.exe卸载Windows双系统Linux不用Windows系统安装盘,不用安装矮人DOS工具箱也可以很简单地实现卸载Linux。双系统卸载Linux的主要问题是当在windows中将 linux 分区直接格式化之后,Grub系统引导程序也会被同时删除,所以导致重启后无法进入Windows 或Linux任何一个系统。因此卸载linux之前,先修复MBR,然后再删除Linux分区就 阅读全文
posted @ 2013-10-16 21:10 七月逆流 阅读(25589) 评论(0) 推荐(0) 编辑
How to Integrate JCaptcha in Spring Security
摘要:The repository for JCaptcha is this one: sourceforge-releases Sourceforge Releases https://oss.sonatype.org/content/repositories/sourceforge-releases com.octo.captcha jcaptcha-integration-simple-servlet 2.0-alpha-1 Here are some configuration I made i... 阅读全文
posted @ 2013-10-11 03:36 七月逆流 阅读(986) 评论(0) 推荐(0) 编辑
web.xml中配置spring.xml的三种方式
摘要:我们知道spring在web.xml中可以有三种方式来配置其xml路径:org.springframework.web.servlet.DispatcherServletorg.springframework.web.context.ContextLoaderListenerorg.springframework.web.context.ContextLoaderServlet当使用第一种方式配置时,spring载入的WebApplicationContext是隶属于此Servlet的(所以spring可以配置多个分别拥有各自环境的DispatcherServlet),因此其他servlet无 阅读全文
posted @ 2013-10-11 03:28 七月逆流 阅读(4430) 评论(0) 推荐(1) 编辑
forbidden Derby database starting with weblogic instance
摘要:Now doing a new project which choose the newest weblogic 12.1.2.0.0 as web container.But found the Derby database also popping out with weblogic start up.below is the solution to enabled Apache Derby Database start or disabled it .- make sure you have the WebLogic samples and the sample DB installed 阅读全文
posted @ 2013-10-11 01:26 七月逆流 阅读(313) 评论(0) 推荐(0) 编辑
Oracle Tip: Choosing an efficient design for Boolean column values
摘要:Takeaway: When designing a database table structure, it's important to choose an efficient strategy for storing a logical Boolean that you can use in many programming environments. Find out how from this Oracle expert.When designing a database table structure, it's important to choose an eff 阅读全文
posted @ 2013-10-10 16:05 七月逆流 阅读(295) 评论(0) 推荐(0) 编辑
How do I list subversion repository's ignore settings
摘要:If it is Windows and you are using TortoiseSVN, then right-click on a folder of the working copy, go to Subversion tab, click on Properties. 阅读全文
posted @ 2013-10-08 10:37 七月逆流 阅读(143) 评论(0) 推荐(0) 编辑
怎么改变Eclipse中项目的运行服务器
摘要:eclipse中-->选定项目-->右键-->弹出 Properties for项目名 -->选择server子项-->选择需要的server即可(Always use the following server when running this project) 阅读全文
posted @ 2013-10-03 13:03 七月逆流 阅读(373) 评论(0) 推荐(0) 编辑
Best free online svn repositories
摘要:Maybe you want to develop in a custom team environment or you usualy work on different machines (that's my case) and don't want to do annoying thinks like constantly sending the files from one PC to the other. What you really need is a code hosting in SVN or CSVto save your work and manage y 阅读全文
posted @ 2013-10-02 01:15 七月逆流 阅读(913) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示