i got followwing exception in Sun Java System Application Server (GlassFish)
A potential connection leak detected for connection pool . The stack trace of the thread is provided below :com.sun.enterprise.resource.AbstractResourcePool.startConnectionLeakTracing(AbstractResourcePool.java:310)com.sun.enterprise.resource.AbstractResourcePool.setResourceStateToBusy(AbstractResourcePool.java:301)com.sun.enterprise.resource.AbstractResourcePool.getResourceFromPool(AbstractResourcePool.java:778)com.sun.enterprise.resource.AbstractResourcePool.getUnenlistedResource(AbstractResourcePool.java:652)com.sun.enterprise.resource.AbstractResourcePool.internalGetResource(AbstractResourcePool.java:594)com.sun.enterprise.resource.AbstractResourcePool.getResource(AbstractResourcePool.java:443)com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:248)com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:176)com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:327)com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:235)
i overcome this with by following changes in Connection Pool settings
Sunday, August 30, 2009
Monday, April 20, 2009
Does NetBeans 6.5 have problems with spaces??
John O'Conner's Blog says in his blog in weblogs.java.net:
"It turns out that we have several projects named with spaces. For example, one project is Tag Server, and another is Agent Registry. Why spaces? Well, the original project was developed using Eclipse, and well...no one told the team that they shouldn't use spaces. So they did, Eclipse doesn't mind, and.... that's the current situation.
I was really encouraged when I found out that NetBeans 6.5 has an Eclipse project importer. It slurped in our Eclipse workspace and projects in what appeared to be just an easy, casual task. It looked fine at first glance. I beamed with pride. My NetBeans was doing so well..."
but one of viewer is saying :
"After reading this post I created a test eclipse workspace like "D:\My Test Workspace" and Created a Project named "Test Project" both the names have spaces. I then imported this eclipse workspace project into NetBeans. This project worked fine in my NetBeans IDE 6.5 installation..."
Who is correct? i need your comments..
"It turns out that we have several projects named with spaces. For example, one project is Tag Server, and another is Agent Registry. Why spaces? Well, the original project was developed using Eclipse, and well...no one told the team that they shouldn't use spaces. So they did, Eclipse doesn't mind, and.... that's the current situation.
I was really encouraged when I found out that NetBeans 6.5 has an Eclipse project importer. It slurped in our Eclipse workspace and projects in what appeared to be just an easy, casual task. It looked fine at first glance. I beamed with pride. My NetBeans was doing so well..."
but one of viewer is saying :
"After reading this post I created a test eclipse workspace like "D:\My Test Workspace" and Created a Project named "Test Project" both the names have spaces. I then imported this eclipse workspace project into NetBeans. This project worked fine in my NetBeans IDE 6.5 installation..."
Who is correct? i need your comments..
Thursday, April 16, 2009
Monday, July 7, 2008
Struts 1.2 validator framework tutorial
Hey guys I search for this topic but i couln't find a simple tutorial for this topic.
so i thought to post what i know on this...
i recomend u to practice Struts basics tutorial on before this Netbeans official site.
1. new project>web>web application
2.struts1.2.9
3.new JSP>anyname
i named mine as 'sampleJSP.jsp'
4.add html taglib
5. Add a form tag to JSP using tag lib
< action=" " onsubmit=" ">
< property="name">
< value="OK">
< / html:form> 6.Create New StrutsActionForm
*important: superclass should be org.apache.struts.validator.ValidatorForm
7. Make getters and setters for text field in JSP
(if u create a propety called 'name' you dont need to do this, bcoz
Netbeans defaultly create for String 'name and int 'number'
8. Create New StrutsAction
*important: Action path should be same as JSP forms action
(the Action path you give here can give in JSP)
9.edit validation.xml
so i thought to post what i know on this...
i recomend u to practice Struts basics tutorial on before this Netbeans official site.
1. new project>web>web application
2.struts1.2.9
3.new JSP>anyname
i named mine as 'sampleJSP.jsp'
4.add html taglib
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="h" %>
5. Add a form tag to JSP using tag lib
< property="name">
< value="OK">
< / html:form>
*important: superclass should be org.apache.struts.validator.ValidatorForm
7. Make getters and setters for text field in JSP
(if u create a propety called 'name' you dont need to do this, bcoz
Netbeans defaultly create for String 'name and int 'number'
(the Action path you give here can give in JSP)
Monday, April 7, 2008
"Shared Library" functionality in NetBeans 6.1 beta
In new NetBeans 6.1-beta When creating a project you now get the offer to enable "sharable
libraries".
When enabling this feature you are asked to specify the location where the libraries should be
saved. By default it will suggest ..\libraries, which is a bit strange considering that it is
outside the project folder.
libraries".
When enabling this feature you are asked to specify the location where the libraries should be
saved. By default it will suggest ..\libraries, which is a bit strange considering that it is
outside the project folder.
NetBeans Day 2008
at the CommunityOne Conference
Monday, May 5, 2008
9:30 am - 6:00 pm
Moscone Center,
San Francisco, California
Register now
Monday, May 5, 2008
9:30 am - 6:00 pm
Moscone Center,
San Francisco, California
Register now
Wednesday, April 2, 2008
Little NetBeans IDE 6.1 Beta
The NetBeans IDE is a modular, standards-based, integrated development environment (IDE) written in the Java programming language. The NetBeans project consists of an open source IDE and an application platform, which can be used as a generic framework to build any kind of application.
Noticed Favorite Features....
* JavaScript;
o Semantic Highlighting
o Code Completion and Type Analysis
tutorial on official site
* Performance Enhancements;
o Up to 40% faster startup
* New MySQL Support in Database Explorer
o Register MySQL servers
o View, create, and delete databases
o Easy launch of the administration tool for MySQL
* Java Beans;
o Bean Patterns in Navigator
o Generate Bean Property
o BeanInfo Editor
Subscribe to:
Posts (Atom)