Nat Dickstein

Greenhorn
+ Follow
since Feb 26, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Nat Dickstein

Hello Omar,
it seems that states_ isn't null, maybe you instatiated it and it is empty? Check for (states_!= && states_.size() < 1)
15 years ago
JSF
Hi Austin,

I tried to reproduce your error message and I get the following Message when I delete the RessourceLink-Line of the context.xml-File:

org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

This seems to be the same error message you get so I think the problem is somewhere inside this topic. I checked my IDE (Netbeans 4.0) to find out that the content of the META-INF/context.xml file in each web-application is copied to a xml-File in Tomcats conf-Folder (Maybe there're also differences depending on the tomcat version, I've got Tomcat5). This xml-File's name is always the web-applications name.

For you this would mean that there has to be a file ora.xml in the folder conf/Catalina/localhost/. I'm not able to say if my IDE creates this file or tomcat does. Maybe you can have try.

In your posting you wrote that you put the context.xml-File in a folder called META-INT. I guess this was just a spelling mistake because it has to be in META-INF. It would also be helpfull if you could post the source of context.xml-File.
19 years ago
Hello Austin,

I had a similar problem last week while creating a datasource for mysql I also faced this error.

I found a solution in adding the following line in the meta-inf/context.xml-File:


For you this would mean that your context.xml-File should be looking something similar like this:



I hope this will help you.
19 years ago
If your form is inside a div-Layer you better use

document.divName.formName.submit();

to make it working in all browsers.