[Bug 61366] "Unable to find [comp]" when attempting to use JNDI datasource for JDBCStore session store

2017-08-02 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61366

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Mark Thomas  ---
Many thanks.

I added some docs and a change log entry and applied it.

Fixed in:
- trunk for 9.0.0.M26 onwards
- 8.5.x for 8.5.20 onwards
- 8.0.x for 8.0.46 onwards

I didn't back-port to 7.0.x because the back-port was not clean and it seems
unlikely that anyone already using 7.0.x is going to need this option.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 61366] "Unable to find [comp]" when attempting to use JNDI datasource for JDBCStore session store

2017-08-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61366

--- Comment #5 from Jonathan Horowitz  ---
Thanks Mark, the patch and PR have been modified to reflect your
recommendation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 61366] "Unable to find [comp]" when attempting to use JNDI datasource for JDBCStore session store

2017-08-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61366

Jonathan Horowitz  changed:

   What|Removed |Added

  Attachment #35192|0   |1
is obsolete||

--- Comment #4 from Jonathan Horowitz  ---
Created attachment 35194
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35194=edit
Set TCCL to the webapp classloader if localDataSource == true

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 61366] "Unable to find [comp]" when attempting to use JNDI datasource for JDBCStore session store

2017-08-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61366

--- Comment #3 from Mark Thomas  ---
The patch forces a switch from a global DataSource to a local one. That is
going to break configurations for anyone currently using this Store.

I think what is required is something similar to the DataSourceRealm's
localDataSource attribute that allows either to be used.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 61366] "Unable to find [comp]" when attempting to use JNDI datasource for JDBCStore session store

2017-07-31 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61366

Jonathan Horowitz  changed:

   What|Removed |Added

  Attachment #35191|0   |1
is obsolete||

--- Comment #2 from Jonathan Horowitz  ---
Created attachment 35192
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35192=edit
Properly set the TCCL before performing JNDI datasource lookups

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 61366] "Unable to find [comp]" when attempting to use JNDI datasource for JDBCStore session store

2017-07-31 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61366

--- Comment #1 from Jonathan Horowitz  ---
Created PR at https://github.com/apache/tomcat/pull/71

Updating patch to reflect the PR changes, backported to 8.5.x-trunk.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 61366] "Unable to find [comp]" when attempting to use JNDI datasource for JDBCStore session store

2017-07-31 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61366

Jonathan Horowitz  changed:

   What|Removed |Added

 CC||jhorow...@aod-tech.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org