All the Interesting ThingsThis is a personal web log. All information posted here does not represent my employer. I do not speak for my employer. |
|
Saturday Sep 10, 2005
NetBeans Workaround When I was delveoping a web application using NetBeans 4.1, I used the bundled JES App Server 8.1 PE version. I create the resources(like JDBC connection pool, etc) in the project and deloy the application to the bundled the App Server. In theory, NetBeans should be able to register/create the server resources in the App Server. Sometimes it failes without any reasons. So I suggest you create the resources mannually in the App Server's admin console. Another "got you" is the JNDI look up for server resources. For a JDBC data source, the document says it is like "java:comp/env/jdbc/something", but if you use this in your lookup java code, you will get an exception. The correct way is use only "jdbc/something". I don't know why, but it works at JES App Server PE 8.1 version.
Posted at 09:32AM Sep 10, 2005 by morningstar in Java | Comments:
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||