JavaRanch » Java Forums »
Products »
JBoss
| Author |
NoSuchFieldError for urlDelimiter in datasource configuration
|
Ananth Vasudevan
Ranch Hand
Joined: Sep 30, 2010
Posts: 30
|
|
Hi Jaikiran,
Sorry for the late response. Your suggestion worked and the services started deploying now.
But I'm getting a NestedRuntimeException saying java.lang.NoSuchFieldError: urlDelimiter.
The trace is as below. Any ideas on how to fix this?
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8141
|
|
I've split this into a separate topic since this new error isn't related to the original question here http://www.coderanch.com/t/514653/JBoss/failed-initialize-bean-container-Null
|
[My Blog] [JavaRanch Journal]
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8141
|
|
What does your -ds.xml look like? It seems that you are using an incorrect property name. You should probably be using url-delimeter property.
|
 |
Ananth Vasudevan
Ranch Hand
Joined: Sep 30, 2010
Posts: 30
|
|
Here's the -ds.xml file:
|
 |
Ananth Vasudevan
Ranch Hand
Joined: Sep 30, 2010
Posts: 30
|
|
Upon more investigation, I found that I had a copy of "jboss-common-jdbc-wrapper.jar" in my all/lib directory.
I removed it and the exception is gone.
Jaikiran, Thanks for the pointers.
|
 |
Ananth Vasudevan
Ranch Hand
Joined: Sep 30, 2010
Posts: 30
|
|
|
Forgot to mention in my previous post that the jboss-common-jdbc-wrapper.jar was from an earlier version of JBoss (4.0.x), which has been copied by mistake inside the all/lib directory. This jar file is already present in common/lib.
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8141
|
|
Thanks for posting the solution.
|
 |
 |
|
|
subject: NoSuchFieldError for urlDelimiter in datasource configuration
|
|
|
|