Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8976445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T19:08:14+00:00 2026-06-15T19:08:14+00:00

In WSO2 AS 5.0.1 I deploy a webapp which should use a datasource. I

  • 0

In WSO2 AS 5.0.1 I deploy a webapp which should use a datasource.
I can configure the datasource in tomcat-server.xml or any other place in the WAR, but is it possible to use a datasource that is configured in the Carbon Management Console through JNDI?

Steps taken:

  1. Configure datasource in Management Console, export it as JNDI as jdbc/platform

  2. ResourceLink in META-INF/context.xml to link the global resource:

    < ResourceLink name=”jdbc/platform” global=”jdbc/platform” type=”javax.sql.DataSource” />

  3. Reference the resource in web.xml

    < resource-ref>
    < res-ref-name>jdbc/platform
    < res-type>javax.sql.DataSource
    < res-auth>Application

However trying to lookup jdbc/platform or java:comp/env/jdbc/platform does not resolve into an object. The lookup files with messages like: Name [java:jdbc/platform] is not bound in this Context. Unable to find [java:jdbc]. or, when using comp/env as prefix it will complain that ‘comp’ is not available.

Is this kind of configuration supported by WSO2 Carbon?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T19:08:15+00:00Added an answer on June 15, 2026 at 7:08 pm

    Currently this is not supported see https://wso2.org/jira/browse/CARBON-13908.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The WSO2 Identity Server features list XDAS, but I can't find any more information
I would like to deploy wso2 products in aws using beanstalk. Theoretically it should
I have a WSO2 Data server services, which I map through WSO2 ESB. The
I'm working on a wso2 webapp project. And I use spring and saml conf
Anyone have any special issue when using WSO2. I'm still looking forward should I
I have this WSO2 ESB proxy: <?xml version=1.0 encoding=UTF-8?> <proxy xmlns=http://ws.apache.org/ns/synapse name=sid008 transports=http startOnLoad=true
I have started using WSO2 Stratos live and started using WSO2 data services server.
I'm running the latest WSO2 ESB and I was wondering how can I implement
I'm trying to decide how to choose between the WSO2 Gadget Server and WSO2
I am trying to use WSO2' WSF for PHP and I am using a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.