Results 1 to 5 of 5

Thread: Unable to database introspect with Oracle

  1. #1

    Default Unable to database introspect with Oracle

    Hi,
    I installed and started OSGI bundles for oracle. When I do a database introspect I get
    Unable to get connection from driver
    My database properties file read
    database.password=am_user
    database.url=jdbc\:oracle\:thin\:@10.40.51.43\:152 1
    database.username=am_user
    database.driverClassName=oracle.jdbc.OracleDriver
    Am using Roo 1.1.1-RELEASE.

    Regards
    Sathya

  2. #2
    Join Date
    Nov 2004
    Posts
    24

    Default

    hi,

    it's not normal to have a space in the port number (152 1)

    bye

  3. #3

    Default Some copy and paste error :)

    The actual properties does not have space in it.

  4. #4
    Join Date
    Dec 2005
    Posts
    929

    Default

    When you execute an osgi ps command in Roo, do you see:

    Code:
    [  74] [Active     ] [    1] Java Transaction API (1.1.0)
    [  75] [Active     ] [    1] Java Resource API (1.5.0)
    [  76] [Active     ] [    1] Oracle JDBC Driver (10.2.0.2)
    (numbers at front are not important)

    Your database.url doesn't have the database name either. I use Oracle XE and it must be appended like this
    Code:
    database.url=jdbc:oracle:thin:@10.22.35.237:1521:XE
    However, I can't advise here if you are not running XE.
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  5. #5

    Default

    Sorry. My bad, I was missing SID. Now it works super.

    Regards
    Sathya

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •