You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/04/22 19:30:09 UTC

DO NOT REPLY [Bug 34582] New: - ResourceLink in DefaultContext is not working

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34582>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34582

           Summary: ResourceLink in DefaultContext is not working
           Product: Tomcat 5
           Version: 5.5.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: stanislav.minar@oskar.cz


ResourceLink in DefaultContext is not working :(
I know, this is repeated bug, or in version 5.5.9 this feature again not working
properly.

non working example :
<DefaultContext cookies="true" crossContext="true" reloadable="false"
useNaming="true">
		<ResourceLink name="jdbc/InstantInfoSMSDB" global="jdbc/InstantInfoSMSDB"
type="javax.sql.DataSource"/>
		<ResourceLink name="jdbc/InstantInfoMMSDB" global="jdbc/InstantInfoMMSDB"
type="javax.sql.DataSource"/>
		<ResourceLink name="jdbc/smpDevel" global="jdbc/smpDevel"
type="javax.sql.DataSource"/>
		<ResourceLink name="jdbc/smpPreprod" global="jdbc/smpPreprod"
type="javax.sql.DataSource"/>
		<ResourceLink name="OperationalDbDs" global="OperationalDbDs"
type="javax.sql.DataSource"/>
		<ResourceLink name="ExternalDbDs" global="ExternalDbDs"
type="javax.sql.DataSource"/>
		<ResourceLink name="jdbc/OscoRepDB" global="jdbc/OscoRepDB"
type="javax.sql.DataSource"/>
		<ResourceLink name="jdbc/smpPreprod" global="jdbc/smpPreprod"
type="javax.sql.DataSource"/>
	</DefaultContext>


working example
<DefaultContext cookies="true" crossContext="true" reloadable="false"
useNaming="true"/>

	<Context path="/uasn">
		<ResourceLink name="jdbc/InstantInfoSMSDB" global="jdbc/InstantInfoSMSDB"
type="javax.sql.DataSource"/>
		<ResourceLink name="jdbc/InstantInfoMMSDB" global="jdbc/InstantInfoMMSDB"
type="javax.sql.DataSource"/>
		<ResourceLink name="jdbc/smpDevel" global="jdbc/smpDevel"
type="javax.sql.DataSource"/>
	</Context>
	<Context path="/voting">
		<ResourceLink name="jdbc/smpPreprod" global="jdbc/smpPreprod"
type="javax.sql.DataSource"/>
	</Context>
	<Context path="/wolverine">
		<ResourceLink name="OperationalDbDs" global="OperationalDbDs"
type="javax.sql.DataSource"/>
		<ResourceLink name="ExternalDbDs" global="ExternalDbDs"
type="javax.sql.DataSource"/>
	</Context>
	<Context path="/osco-repository">
		<ResourceLink name="jdbc/OscoRepDB" global="jdbc/OscoRepDB"
type="javax.sql.DataSource"/>
	</Context>
	<Context path="/axis">
		<ResourceLink name="jdbc/smpPreprod" global="jdbc/smpPreprod"
type="javax.sql.DataSource"/>
	</Context>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org