|
| Re: DataSource Problem while migrating from tomcat to weblogic |
 |
Wed, 26 Mar 2008 05:52:57 -070 |
I would ask in the weblogic.developer.interest.jdbc newsgroup.
<David Herzig> wrote in message news:300015217@newsgroups.bea.com...
Hi all
I am migrating a webapplication (war-file, source code is not available)
from tomcat to weblogic. Now I have just one problem with the datasource. In
the web.xml I currently have:
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/requestITDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
I have successfully created a datasource named requestIT in the web logic
server. If I try now to start I got the following error:
javax.naming.NameNotFoundException: While trying to lookup
'jdbc.requestITDB' didn't find subcontext 'jdbc'. Resolved ''; remaining
name 'jdbc/requestITDB'
The problem probably is the mapping between the datasource in the xml and
the datasrouce defined in the web logic server. Does anybody has an idea how
to solve this problem?
many thanks in advance
regards,
|
| Post Reply
|
|
|
|
|
|
|
|
|
|