Displaying keyword search results 91 - 100
Created by nogeek on July 30, 2010 23:00:06 Last update: July 30, 2010 23:01:24
It happened on Windows XP with JBoss 5.1.0.GA. This is the stack trace:
2010-07-30 16:39:52,177 ERROR [org.jboss.kernel.pl...According to " (SOLVED) JBAS-7674 solution for JBoss 5.1?? (Windows lock on jnp-service.url) ", the problem seemed to be solved for JBoss 6. In the meanwhile for JBoss 5, disabling Windows Indexing Service seemed to solve the problem. Quote from aforementioned link: It seemed that a file was being locked for some reason, and that file was obviously necessary for JBoss to start. Some further investigation (ok, I admit, I just tried to delete all of JBoss with the faith that it would fail on the locked file), it turns out that file was some file called jnp-service.url in the data directory of the default server. After downloading...
Created by magnum on July 08, 2010 22:24:50 Last update: July 09, 2010 15:47:24
[root@belo ~]# service sshd start Generating SS...Stop:
[root@belo ~]# service sshd stop Stopping sshd:...Or:
[root@belo ~]# /etc/init.d/sshd start Starting ...Start sshd on boot:
[root@belo ~]# chkconfig sshd on
Created by James on June 30, 2010 19:04:45 Last update: July 03, 2010 21:24:33
/** * * AJAX IFRAME METHOD (AIM) * http...The above code only supports HTML responses. In order to support JSON responses, the above...
Created by voodoo on July 01, 2010 16:57:31 Last update: July 01, 2010 16:57:31
Use the pg_ctl command to start/stop/restart the PostgreSQL server:
$ bin/pg_ctl -D /usr/local/pgsql/data -l logs/post...Environment variable PGDATA can be set in lieu of the -D switch.
Created by voodoo on June 25, 2010 16:41:17 Last update: June 25, 2010 16:44:40
rdesktop is the Linux equivalent of mstsc on Widnows. To install rdesktop on Fedora, enter:
yum install rdesktopTo start rdesktop in full screen mode:
rdesktop -f remote_host_nameTo toggle full screen mode, use key combination: Ctrl+Alt+Enter.
Created by James on June 24, 2010 22:04:19 Last update: June 24, 2010 22:04:19
Start with this page:
<!DOCTYPE html> <html> <head> <title>jQu...When you click "Submit", the form submits fine. Now turn the form to a jQuery dialog:
<head> <title>jQuery UI Dialog</title> ...When you click "Submit", the form no longer submits! Why? When you convert the contents of the form into a dialog, the form becomes empty! The "Submit" button is no longer associated with the form. Conclusion: you should always put the form tag inside the element you are converting to a dialog.
Created by Dr. Xi on June 01, 2010 16:44:12 Last update: June 01, 2010 16:45:52
I installed JDK 1.6 under C:\jdk1.6.0_20 and unpacked Eclipse GALILEO in C:\local\eclipse . When I launched Eclipse with eclipse.exe , it simply displayed a splash page and shutdown. Running eclipsec.exe displayed some vague errors:
C:\local\eclipse>eclipsec Error occurred during...Turning on debug:
C:\local\eclipse>eclipsec -debug Start VM: -Dos...The Solution: add -vm option to eclipse.ini :
Created by Fang on April 01, 2010 22:24:58 Last update: April 02, 2010 02:49:38
In this note I'll show you how to create and package a JSP custom tag. The purpose of this tag is to display a random splash image for a home page, among a set of images. We should be able to add or delete candidate splash images from the WAR archive without the need to change the JSP. This is the intended use of the tag:
<%@ taglib uri="http://custom.tag.com/demo" prefix...In the above example you provide a set of images named splash*.png (e.g., splash1.png, spalsh2.png, ...), and the tag will pick a random one to display when the JSP is rendered. Let's get started. I'll use Maven for this purpose. Create the standard Maven directory structure
./pom.xml ./src ./src/main ./src/main/jav...pom.xml
package tagdemo; import java.util.ArrayList......
Created by nogeek on April 01, 2010 18:54:41 Last update: April 01, 2010 18:55:27
Start remote desktop client by clicking Start and Run, then enter mstsc. Click the "Options" button, select the "Local Resources" tab, check "Clipboard" More options are available when you click the "More..." button (share local drives etc.).
Created by Fang on March 22, 2010 02:55:04 Last update: March 22, 2010 03:48:55
If you followed the steps in Start a Java EE application with Maven , you'll arrive at an EAR file that's ready to be deployed. However, if you look carefully, you'll find that the ejb-1.0.jar file is included in the EAR file twice : once as the ejb module of the EAR, another time under the WEB-INF/lib folder of webapp-1.0.war . The second is brought about by specifying the ejb project as a dependency in the webapp POM. Actually, the webapp project is dependent on the ejb project as an EJB client. So we should have been more accurate by specifying the type of dependency as ejb-client , not ejb : Edit webapp/pom.xml , change the ejb dependency to ejb-client :
<project> <modelVersion>4.0.0</modelVersion...Update ejb/pom.xml...