You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Manu T George (JIRA)" <de...@geronimo.apache.org> on 2006/08/11 09:12:14 UTC

[jira] Created: (GERONIMO-2318) Database path validation not present

Database path validation not present 
-------------------------------------

                 Key: GERONIMO-2318
                 URL: http://issues.apache.org/jira/browse/GERONIMO-2318
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: console
    Affects Versions: 1.1.x
         Environment: All Supported Platforms
            Reporter: Manu T George


On deploying pools referring to derby databases. Deployment is shown to be sucessful but the pool does not start.

Steps are given below

(1)Logged into Administrative Console.

(2)Clicked "Database Pools".

(3) Next, clicked "Create a new database pool: Using the Geronimo database
pool wizard".

(4)Entered Name of Database Pool: CPRO and Database Type: Derby Embedded.
Then clicked Next.

(5)Thereafter entered the following:-
JDBC Driver Class: org.apache.derby.jdbc.EmbeddedDriver
Driver JAR: org.apache.derby/derby/10.1.2.ibm/jar
DB Username: cpro
DB Password: cpro
Database: c:\cprodb\cprodb_COSMO\csdb
Then clicked Next.

(5)The next screen showed:-
JDBC Connection URL: jdbc:derby:c:cprodbcprodb_COSMOcsdb (This being
incorrect, it was changed to jdbc:derby:c:\cprodb\cprodb_COSMO\csdb).

(6)Driver Status: Loaded successfully

(7)Now clicked "Test Connection". This showed:-
Test Result: Connected to Apache Derby 10.1.2.4

(8)Finally clicked "Deploy" It appears that this step was successful
because:-
(i)The DOS window showed "Deployment completed successfully!"

Even though this happens when we refer to this DB Pool in an application
error occurs.

Thus there is no handling of '\' character in these two fields

Giving '/' instead of '\' solves this issue

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (GERONIMO-2318) Database path validation not present

Posted by "Donald Woods (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2318?page=all ]

Donald Woods updated GERONIMO-2318:
-----------------------------------

        Fix Version/s: 1.1.2
                           (was: 1.1.x)
    Affects Version/s: 1.1.2
                       1.2

> Database path validation not present
> ------------------------------------
>
>                 Key: GERONIMO-2318
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2318
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 1.2, 1.1, 1.1.1, 1.1.2
>         Environment: All Supported Platforms
>            Reporter: Manu T George
>         Assigned To: Donald Woods
>             Fix For: 1.2, 1.1.2
>
>
> On deploying pools referring to derby databases. Deployment is shown to be sucessful but the pool does not start.
> Steps are given below
> (1)Logged into Administrative Console.
> (2)Clicked "Database Pools".
> (3) Next, clicked "Create a new database pool: Using the Geronimo database
> pool wizard".
> (4)Entered Name of Database Pool: CPRO and Database Type: Derby Embedded.
> Then clicked Next.
> (5)Thereafter entered the following:-
> JDBC Driver Class: org.apache.derby.jdbc.EmbeddedDriver
> Driver JAR: org.apache.derby/derby/10.1.2.ibm/jar
> DB Username: cpro
> DB Password: cpro
> Database: c:\cprodb\cprodb_COSMO\csdb
> Then clicked Next.
> (5)The next screen showed:-
> JDBC Connection URL: jdbc:derby:c:cprodbcprodb_COSMOcsdb (This being
> incorrect, it was changed to jdbc:derby:c:\cprodb\cprodb_COSMO\csdb).
> (6)Driver Status: Loaded successfully
> (7)Now clicked "Test Connection". This showed:-
> Test Result: Connected to Apache Derby 10.1.2.4
> (8)Finally clicked "Deploy" It appears that this step was successful
> because:-
> (i)The DOS window showed "Deployment completed successfully!"
> Even though this happens when we refer to this DB Pool in an application
> error occurs.
> Thus there is no handling of '\' character in these two fields
> Giving '/' instead of '\' solves this issue

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (GERONIMO-2318) Database path validation not present

Posted by "Vamsavardhana Reddy (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-2318?page=comments#action_12447760 ] 
            
Vamsavardhana Reddy commented on GERONIMO-2318:
-----------------------------------------------

java.util.regex.Matcher.replaceAll() documentation says the following:

Note that backslashes (\\) and dollar signs ($) in the replacement string may cause the results to be different than if it were being treated as a literal replacement string. Dollar signs may be treated as references to captured subsequences as described above, and backslashes are used to escape literal characters in the replacement string.

So, we need to worry about only  backslashes (\\) and dollar signs ($).


> Database path validation not present
> ------------------------------------
>
>                 Key: GERONIMO-2318
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2318
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 1.2, 1.1, 1.1.1, 1.1.2
>         Environment: All Supported Platforms
>            Reporter: Manu T George
>             Fix For: 1.2, 1.1.2
>
>         Attachments: G2318-1.1.1.patch
>
>
> On deploying pools referring to derby databases. Deployment is shown to be sucessful but the pool does not start.
> Steps are given below
> (1)Logged into Administrative Console.
> (2)Clicked "Database Pools".
> (3) Next, clicked "Create a new database pool: Using the Geronimo database
> pool wizard".
> (4)Entered Name of Database Pool: CPRO and Database Type: Derby Embedded.
> Then clicked Next.
> (5)Thereafter entered the following:-
> JDBC Driver Class: org.apache.derby.jdbc.EmbeddedDriver
> Driver JAR: org.apache.derby/derby/10.1.2.ibm/jar
> DB Username: cpro
> DB Password: cpro
> Database: c:\cprodb\cprodb_COSMO\csdb
> Then clicked Next.
> (5)The next screen showed:-
> JDBC Connection URL: jdbc:derby:c:cprodbcprodb_COSMOcsdb (This being
> incorrect, it was changed to jdbc:derby:c:\cprodb\cprodb_COSMO\csdb).
> (6)Driver Status: Loaded successfully
> (7)Now clicked "Test Connection". This showed:-
> Test Result: Connected to Apache Derby 10.1.2.4
> (8)Finally clicked "Deploy" It appears that this step was successful
> because:-
> (i)The DOS window showed "Deployment completed successfully!"
> Even though this happens when we refer to this DB Pool in an application
> error occurs.
> Thus there is no handling of '\' character in these two fields
> Giving '/' instead of '\' solves this issue

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (GERONIMO-2318) Database path validation not present

Posted by "Donald Woods (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2318?page=all ]

Donald Woods updated GERONIMO-2318:
-----------------------------------

       Patch Info: [Patch Available]
    Fix Version/s: 1.1.1
                       (was: 1.1.2)
         Assignee:     (was: Donald Woods)

Unassigning so a committer can grab it....

> Database path validation not present
> ------------------------------------
>
>                 Key: GERONIMO-2318
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2318
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 1.2, 1.1, 1.1.1, 1.1.2
>         Environment: All Supported Platforms
>            Reporter: Manu T George
>             Fix For: 1.2, 1.1.1
>
>         Attachments: G2318-1.1.1.patch
>
>
> On deploying pools referring to derby databases. Deployment is shown to be sucessful but the pool does not start.
> Steps are given below
> (1)Logged into Administrative Console.
> (2)Clicked "Database Pools".
> (3) Next, clicked "Create a new database pool: Using the Geronimo database
> pool wizard".
> (4)Entered Name of Database Pool: CPRO and Database Type: Derby Embedded.
> Then clicked Next.
> (5)Thereafter entered the following:-
> JDBC Driver Class: org.apache.derby.jdbc.EmbeddedDriver
> Driver JAR: org.apache.derby/derby/10.1.2.ibm/jar
> DB Username: cpro
> DB Password: cpro
> Database: c:\cprodb\cprodb_COSMO\csdb
> Then clicked Next.
> (5)The next screen showed:-
> JDBC Connection URL: jdbc:derby:c:cprodbcprodb_COSMOcsdb (This being
> incorrect, it was changed to jdbc:derby:c:\cprodb\cprodb_COSMO\csdb).
> (6)Driver Status: Loaded successfully
> (7)Now clicked "Test Connection". This showed:-
> Test Result: Connected to Apache Derby 10.1.2.4
> (8)Finally clicked "Deploy" It appears that this step was successful
> because:-
> (i)The DOS window showed "Deployment completed successfully!"
> Even though this happens when we refer to this DB Pool in an application
> error occurs.
> Thus there is no handling of '\' character in these two fields
> Giving '/' instead of '\' solves this issue

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (GERONIMO-2318) Database path validation not present

Posted by "Donald Woods (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2318?page=all ]

Donald Woods updated GERONIMO-2318:
-----------------------------------

        Fix Version/s: 1.1.x
                       1.2
    Affects Version/s: 1.1
                       1.1.1
                           (was: 1.1.x)

> Database path validation not present
> ------------------------------------
>
>                 Key: GERONIMO-2318
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2318
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 1.1, 1.1.1
>         Environment: All Supported Platforms
>            Reporter: Manu T George
>             Fix For: 1.2, 1.1.x
>
>
> On deploying pools referring to derby databases. Deployment is shown to be sucessful but the pool does not start.
> Steps are given below
> (1)Logged into Administrative Console.
> (2)Clicked "Database Pools".
> (3) Next, clicked "Create a new database pool: Using the Geronimo database
> pool wizard".
> (4)Entered Name of Database Pool: CPRO and Database Type: Derby Embedded.
> Then clicked Next.
> (5)Thereafter entered the following:-
> JDBC Driver Class: org.apache.derby.jdbc.EmbeddedDriver
> Driver JAR: org.apache.derby/derby/10.1.2.ibm/jar
> DB Username: cpro
> DB Password: cpro
> Database: c:\cprodb\cprodb_COSMO\csdb
> Then clicked Next.
> (5)The next screen showed:-
> JDBC Connection URL: jdbc:derby:c:cprodbcprodb_COSMOcsdb (This being
> incorrect, it was changed to jdbc:derby:c:\cprodb\cprodb_COSMO\csdb).
> (6)Driver Status: Loaded successfully
> (7)Now clicked "Test Connection". This showed:-
> Test Result: Connected to Apache Derby 10.1.2.4
> (8)Finally clicked "Deploy" It appears that this step was successful
> because:-
> (i)The DOS window showed "Deployment completed successfully!"
> Even though this happens when we refer to this DB Pool in an application
> error occurs.
> Thus there is no handling of '\' character in these two fields
> Giving '/' instead of '\' solves this issue

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (GERONIMO-2318) Database path validation not present

Posted by "Donald Woods (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2318?page=all ]

Donald Woods updated GERONIMO-2318:
-----------------------------------

    Attachment: G2318-1.1.1.patch

Patch created against 1.1.1 branch from the applications directory.

> Database path validation not present
> ------------------------------------
>
>                 Key: GERONIMO-2318
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2318
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 1.2, 1.1, 1.1.1, 1.1.2
>         Environment: All Supported Platforms
>            Reporter: Manu T George
>         Assigned To: Donald Woods
>             Fix For: 1.2, 1.1.1
>
>         Attachments: G2318-1.1.1.patch
>
>
> On deploying pools referring to derby databases. Deployment is shown to be sucessful but the pool does not start.
> Steps are given below
> (1)Logged into Administrative Console.
> (2)Clicked "Database Pools".
> (3) Next, clicked "Create a new database pool: Using the Geronimo database
> pool wizard".
> (4)Entered Name of Database Pool: CPRO and Database Type: Derby Embedded.
> Then clicked Next.
> (5)Thereafter entered the following:-
> JDBC Driver Class: org.apache.derby.jdbc.EmbeddedDriver
> Driver JAR: org.apache.derby/derby/10.1.2.ibm/jar
> DB Username: cpro
> DB Password: cpro
> Database: c:\cprodb\cprodb_COSMO\csdb
> Then clicked Next.
> (5)The next screen showed:-
> JDBC Connection URL: jdbc:derby:c:cprodbcprodb_COSMOcsdb (This being
> incorrect, it was changed to jdbc:derby:c:\cprodb\cprodb_COSMO\csdb).
> (6)Driver Status: Loaded successfully
> (7)Now clicked "Test Connection". This showed:-
> Test Result: Connected to Apache Derby 10.1.2.4
> (8)Finally clicked "Deploy" It appears that this step was successful
> because:-
> (i)The DOS window showed "Deployment completed successfully!"
> Even though this happens when we refer to this DB Pool in an application
> error occurs.
> Thus there is no handling of '\' character in these two fields
> Giving '/' instead of '\' solves this issue

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (GERONIMO-2318) Database path validation not present

Posted by "Donald Woods (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2318?page=all ]

Donald Woods reassigned GERONIMO-2318:
--------------------------------------

    Assignee: Donald Woods

> Database path validation not present
> ------------------------------------
>
>                 Key: GERONIMO-2318
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2318
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 1.2, 1.1, 1.1.1, 1.1.2
>         Environment: All Supported Platforms
>            Reporter: Manu T George
>         Assigned To: Donald Woods
>             Fix For: 1.2, 1.1.2
>
>
> On deploying pools referring to derby databases. Deployment is shown to be sucessful but the pool does not start.
> Steps are given below
> (1)Logged into Administrative Console.
> (2)Clicked "Database Pools".
> (3) Next, clicked "Create a new database pool: Using the Geronimo database
> pool wizard".
> (4)Entered Name of Database Pool: CPRO and Database Type: Derby Embedded.
> Then clicked Next.
> (5)Thereafter entered the following:-
> JDBC Driver Class: org.apache.derby.jdbc.EmbeddedDriver
> Driver JAR: org.apache.derby/derby/10.1.2.ibm/jar
> DB Username: cpro
> DB Password: cpro
> Database: c:\cprodb\cprodb_COSMO\csdb
> Then clicked Next.
> (5)The next screen showed:-
> JDBC Connection URL: jdbc:derby:c:cprodbcprodb_COSMOcsdb (This being
> incorrect, it was changed to jdbc:derby:c:\cprodb\cprodb_COSMO\csdb).
> (6)Driver Status: Loaded successfully
> (7)Now clicked "Test Connection". This showed:-
> Test Result: Connected to Apache Derby 10.1.2.4
> (8)Finally clicked "Deploy" It appears that this step was successful
> because:-
> (i)The DOS window showed "Deployment completed successfully!"
> Even though this happens when we refer to this DB Pool in an application
> error occurs.
> Thus there is no handling of '\' character in these two fields
> Giving '/' instead of '\' solves this issue

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (GERONIMO-2318) Database path validation not present

Posted by "Vamsavardhana Reddy (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2318?page=all ]

Vamsavardhana Reddy reassigned GERONIMO-2318:
---------------------------------------------

    Assignee: Vamsavardhana Reddy

> Database path validation not present
> ------------------------------------
>
>                 Key: GERONIMO-2318
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2318
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 1.2, 1.1, 1.1.1, 1.1.2
>         Environment: All Supported Platforms
>            Reporter: Manu T George
>         Assigned To: Vamsavardhana Reddy
>             Fix For: 1.2, 1.1.2
>
>         Attachments: G2318-1.1.1.patch
>
>
> On deploying pools referring to derby databases. Deployment is shown to be sucessful but the pool does not start.
> Steps are given below
> (1)Logged into Administrative Console.
> (2)Clicked "Database Pools".
> (3) Next, clicked "Create a new database pool: Using the Geronimo database
> pool wizard".
> (4)Entered Name of Database Pool: CPRO and Database Type: Derby Embedded.
> Then clicked Next.
> (5)Thereafter entered the following:-
> JDBC Driver Class: org.apache.derby.jdbc.EmbeddedDriver
> Driver JAR: org.apache.derby/derby/10.1.2.ibm/jar
> DB Username: cpro
> DB Password: cpro
> Database: c:\cprodb\cprodb_COSMO\csdb
> Then clicked Next.
> (5)The next screen showed:-
> JDBC Connection URL: jdbc:derby:c:cprodbcprodb_COSMOcsdb (This being
> incorrect, it was changed to jdbc:derby:c:\cprodb\cprodb_COSMO\csdb).
> (6)Driver Status: Loaded successfully
> (7)Now clicked "Test Connection". This showed:-
> Test Result: Connected to Apache Derby 10.1.2.4
> (8)Finally clicked "Deploy" It appears that this step was successful
> because:-
> (i)The DOS window showed "Deployment completed successfully!"
> Even though this happens when we refer to this DB Pool in an application
> error occurs.
> Thus there is no handling of '\' character in these two fields
> Giving '/' instead of '\' solves this issue

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (GERONIMO-2318) Database path validation not present

Posted by "Vamsavardhana Reddy (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-2318?page=comments#action_12446918 ] 
            
Vamsavardhana Reddy commented on GERONIMO-2318:
-----------------------------------------------

The problem is in java.lang.String.replaceAll(regex, value) method.  When there is a back-slash (\) in the value parameter, this method does not work as expected.  One workaround is to first url-encode value parameter and then url-decode the final output as given below:

value= URLEncode.encode(value)
out = out.replaceAll(regex, value);
out = URLDecode.decode(out);

Comments?

> Database path validation not present
> ------------------------------------
>
>                 Key: GERONIMO-2318
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2318
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 1.2, 1.1, 1.1.1, 1.1.2
>         Environment: All Supported Platforms
>            Reporter: Manu T George
>             Fix For: 1.2, 1.1.2
>
>         Attachments: G2318-1.1.1.patch
>
>
> On deploying pools referring to derby databases. Deployment is shown to be sucessful but the pool does not start.
> Steps are given below
> (1)Logged into Administrative Console.
> (2)Clicked "Database Pools".
> (3) Next, clicked "Create a new database pool: Using the Geronimo database
> pool wizard".
> (4)Entered Name of Database Pool: CPRO and Database Type: Derby Embedded.
> Then clicked Next.
> (5)Thereafter entered the following:-
> JDBC Driver Class: org.apache.derby.jdbc.EmbeddedDriver
> Driver JAR: org.apache.derby/derby/10.1.2.ibm/jar
> DB Username: cpro
> DB Password: cpro
> Database: c:\cprodb\cprodb_COSMO\csdb
> Then clicked Next.
> (5)The next screen showed:-
> JDBC Connection URL: jdbc:derby:c:cprodbcprodb_COSMOcsdb (This being
> incorrect, it was changed to jdbc:derby:c:\cprodb\cprodb_COSMO\csdb).
> (6)Driver Status: Loaded successfully
> (7)Now clicked "Test Connection". This showed:-
> Test Result: Connected to Apache Derby 10.1.2.4
> (8)Finally clicked "Deploy" It appears that this step was successful
> because:-
> (i)The DOS window showed "Deployment completed successfully!"
> Even though this happens when we refer to this DB Pool in an application
> error occurs.
> Thus there is no handling of '\' character in these two fields
> Giving '/' instead of '\' solves this issue

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (GERONIMO-2318) Database path validation not present

Posted by "Vamsavardhana Reddy (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2318?page=all ]

Vamsavardhana Reddy closed GERONIMO-2318.
-----------------------------------------

    Resolution: Fixed

Fixed in rev 472214 (trunk).

> Database path validation not present
> ------------------------------------
>
>                 Key: GERONIMO-2318
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2318
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 1.2, 1.1, 1.1.1, 1.1.2
>         Environment: All Supported Platforms
>            Reporter: Manu T George
>         Assigned To: Vamsavardhana Reddy
>             Fix For: 1.1.2, 1.2
>
>         Attachments: G2318-1.1.1.patch
>
>
> On deploying pools referring to derby databases. Deployment is shown to be sucessful but the pool does not start.
> Steps are given below
> (1)Logged into Administrative Console.
> (2)Clicked "Database Pools".
> (3) Next, clicked "Create a new database pool: Using the Geronimo database
> pool wizard".
> (4)Entered Name of Database Pool: CPRO and Database Type: Derby Embedded.
> Then clicked Next.
> (5)Thereafter entered the following:-
> JDBC Driver Class: org.apache.derby.jdbc.EmbeddedDriver
> Driver JAR: org.apache.derby/derby/10.1.2.ibm/jar
> DB Username: cpro
> DB Password: cpro
> Database: c:\cprodb\cprodb_COSMO\csdb
> Then clicked Next.
> (5)The next screen showed:-
> JDBC Connection URL: jdbc:derby:c:cprodbcprodb_COSMOcsdb (This being
> incorrect, it was changed to jdbc:derby:c:\cprodb\cprodb_COSMO\csdb).
> (6)Driver Status: Loaded successfully
> (7)Now clicked "Test Connection". This showed:-
> Test Result: Connected to Apache Derby 10.1.2.4
> (8)Finally clicked "Deploy" It appears that this step was successful
> because:-
> (i)The DOS window showed "Deployment completed successfully!"
> Even though this happens when we refer to this DB Pool in an application
> error occurs.
> Thus there is no handling of '\' character in these two fields
> Giving '/' instead of '\' solves this issue

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (GERONIMO-2318) Database path validation not present

Posted by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2318?page=all ]

Matt Hogstrom updated GERONIMO-2318:
------------------------------------

    Fix Version/s: 1.1.2
                       (was: 1.1.1)

1.1.1 is closed.

> Database path validation not present
> ------------------------------------
>
>                 Key: GERONIMO-2318
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2318
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 1.2, 1.1, 1.1.1, 1.1.2
>         Environment: All Supported Platforms
>            Reporter: Manu T George
>             Fix For: 1.2, 1.1.2
>
>         Attachments: G2318-1.1.1.patch
>
>
> On deploying pools referring to derby databases. Deployment is shown to be sucessful but the pool does not start.
> Steps are given below
> (1)Logged into Administrative Console.
> (2)Clicked "Database Pools".
> (3) Next, clicked "Create a new database pool: Using the Geronimo database
> pool wizard".
> (4)Entered Name of Database Pool: CPRO and Database Type: Derby Embedded.
> Then clicked Next.
> (5)Thereafter entered the following:-
> JDBC Driver Class: org.apache.derby.jdbc.EmbeddedDriver
> Driver JAR: org.apache.derby/derby/10.1.2.ibm/jar
> DB Username: cpro
> DB Password: cpro
> Database: c:\cprodb\cprodb_COSMO\csdb
> Then clicked Next.
> (5)The next screen showed:-
> JDBC Connection URL: jdbc:derby:c:cprodbcprodb_COSMOcsdb (This being
> incorrect, it was changed to jdbc:derby:c:\cprodb\cprodb_COSMO\csdb).
> (6)Driver Status: Loaded successfully
> (7)Now clicked "Test Connection". This showed:-
> Test Result: Connected to Apache Derby 10.1.2.4
> (8)Finally clicked "Deploy" It appears that this step was successful
> because:-
> (i)The DOS window showed "Deployment completed successfully!"
> Even though this happens when we refer to this DB Pool in an application
> error occurs.
> Thus there is no handling of '\' character in these two fields
> Giving '/' instead of '\' solves this issue

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (GERONIMO-2318) Database path validation not present

Posted by "Vamsavardhana Reddy (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-2318?page=comments#action_12447780 ] 
            
Vamsavardhana Reddy commented on GERONIMO-2318:
-----------------------------------------------

Fixed in rev 472080 (branches\1.1).  Verification of fix to trunk is blocked by GERONIMO-2553.

> Database path validation not present
> ------------------------------------
>
>                 Key: GERONIMO-2318
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2318
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 1.2, 1.1, 1.1.1, 1.1.2
>         Environment: All Supported Platforms
>            Reporter: Manu T George
>         Assigned To: Vamsavardhana Reddy
>             Fix For: 1.2, 1.1.2
>
>         Attachments: G2318-1.1.1.patch
>
>
> On deploying pools referring to derby databases. Deployment is shown to be sucessful but the pool does not start.
> Steps are given below
> (1)Logged into Administrative Console.
> (2)Clicked "Database Pools".
> (3) Next, clicked "Create a new database pool: Using the Geronimo database
> pool wizard".
> (4)Entered Name of Database Pool: CPRO and Database Type: Derby Embedded.
> Then clicked Next.
> (5)Thereafter entered the following:-
> JDBC Driver Class: org.apache.derby.jdbc.EmbeddedDriver
> Driver JAR: org.apache.derby/derby/10.1.2.ibm/jar
> DB Username: cpro
> DB Password: cpro
> Database: c:\cprodb\cprodb_COSMO\csdb
> Then clicked Next.
> (5)The next screen showed:-
> JDBC Connection URL: jdbc:derby:c:cprodbcprodb_COSMOcsdb (This being
> incorrect, it was changed to jdbc:derby:c:\cprodb\cprodb_COSMO\csdb).
> (6)Driver Status: Loaded successfully
> (7)Now clicked "Test Connection". This showed:-
> Test Result: Connected to Apache Derby 10.1.2.4
> (8)Finally clicked "Deploy" It appears that this step was successful
> because:-
> (i)The DOS window showed "Deployment completed successfully!"
> Even though this happens when we refer to this DB Pool in an application
> error occurs.
> Thus there is no handling of '\' character in these two fields
> Giving '/' instead of '\' solves this issue

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira