ll working fine. (with META-INF/context.xml's and jdbc working
> properly)
>
> In the $CATALINA_HOME/conf/server.xml I have the Listener
>
> directoryName="public_html"
>homeBase="/home"
>
> userClass=&quo
A discussion regarding the use of the element, within
server.xml and $CATALINA_BASE/conf/[enginename]/[hostname]/, grew from
a thread with subject "Problem with JNDI environment entry resources":
http://marc.info/?l=tomcat-user&m=122045686313688&w=2
In that thread the question seemed to boil down
2008/9/3 David Smith <[EMAIL PROTECTED]>:
> There's an implicit association based on the context path. myWebApp.xml in
> conf/Catalina/localhost is implicitly associated with the webapp myWebApp in
> the webapps directory, whether it be as a .war or expanded folder.
Yes, I agree that the docs rea
> I'll have to check the docs again. However, docBase is only legal when the
> webapp is stored outside of the
> appBase directory. Otherwise, you risk ending up with double deployment.
I don't see docBase described that way in the docs - at this moment
I'm referring to
http://tomcat.apache.or
Tim,
The META-INF/context.xml should be placed within your application's
docBase. I suspect that is likely to be ~/public_html/myapp/META-INF,
where ~/public_html/ is the appBase for the localhost (as you've
described it) and ~/public_html/myapp is the docBase of your
application.
Paul.
2008/9/3
Martin,
Thanks for the suggestion, though I think there may have been some
misunderstanding. I'm attempting to access a simple java.lang.String,
not a DataSource. elements are used to place String
resources in an application's environment, not elements,
AFAIK.
Paul.
2008/9/3 Martin Gainty <[EM
within a server.xml file? - given that I'm using only
a slightly changed configuration (the "path" attribute
being the only change). I'm hesitant to raise a bug for fear of being
flamed again!
Thanks,
Paul.
2008/9/3 Caldarale, Charles R <[EMAIL PROTECTED]>:
>>
Tomcat 6.0.18
java version "1.6.0_06" (sun-java6-jdk on Ubuntu 8.04 i386)
I'm attempting to create environment entry resources, of type
java.lang.String, within conf/server.xml and access them from web
applications using JNDI. I've created a bare-bones test web app,
jndistring, with the following