Hi,
*Below code is for JNDI look up which is working fine in tomcat 7 and 8 .*
InitialContext initContext = new InitialContext();
DataSource ds = (DataSource)initContext.lookup(initContext.getNameParser(
"" ).parse( "java:/comp/env/jdbc/BFDS" ));
Connection conn = ds.getConnection();
*Same code
Rémy Maucherat 於 2016年11月2日 週三 下午5:28寫道:
> 2016-11-02 5:19 GMT+01:00 Bruce Huang :
>
> > Thanks for your suggestion.
> >
> > I have tested on 8.0.38 release, but it even can't close the comet
> > properly. On 8.0.23, after OutputStream.close(), I have to do
> event.close()
> > to make the END eve
Hello Antonio,
That worked. Thanks.
I added to catalina.properties file.
If I have other API keys and such that I would like to store, should I also
store them there, or does it make more sense to simply create a separate
properties file (since they aren't related to Tomcat)?
Thank you.
On Wed
Violeta,
On 10/20/2016 11:10 PM, Violeta Georgieva wrote:
Here [1] it is described how you can report a bug. Attach the patch to the
bug. When you attaching the file there is a checkbox "patch".
We also accept PRs from GitHub [2].
[1] http://tomcat.apache.org/bugreport.html#Reporting_Apache_Tom
Thank you so much!
Andrew
-Messaggio originale-
Da: Mark Thomas [mailto:ma...@apache.org]
Inviato: mercoledì 2 novembre 2016 16:59
A: Tomcat Users List
Oggetto: Re: SSL digital cert for each context?
On 02/11/2016 15:56, Andrea Galli wrote:
> Hello guys,
>
> I have configured SSL on To
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Mark,
On 11/2/16 11:59 AM, Mark Thomas wrote:
> On 02/11/2016 15:56, Andrea Galli wrote:
>> Hello guys,
>>
>> I have configured SSL on Tomcat following this How-To:
>> https://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Introduction_
to_SSL
>>
On 02/11/2016 15:56, Andrea Galli wrote:
> Hello guys,
>
> I have configured SSL on Tomcat following this How-To:
> https://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Introduction_to_SSL
>
>
>
> Everything works fine but this certificate is applied on all Tomcat context
> that reside on we
Hello guys,
I have configured SSL on Tomcat following this How-To:
https://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Introduction_to_SSL
Everything works fine but this certificate is applied on all Tomcat context
that reside on webapps folder, my aim is implement different digital cert
fo
Chris,
On 11/2/2016 11:05 AM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Carl,
On 11/1/16 6:05 PM, Carl K. wrote:
On 11/1/2016 5:25 PM, Christopher Schultz wrote: Carl,
On 11/1/16 5:11 PM, Carl K. wrote:
Control Scan has returned this as a vulnerability in To
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Ajay,
On 11/2/16 1:29 AM, Ajay Bilotia wrote:
> We are upgrading the tomcat from apache-tomcat-7.0.59 to
> apache-tomcat-8.5.6. We are setting the custom class loader as we
> required for our application and JNDI look up is not working with
> tomca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Carl,
On 11/1/16 6:05 PM, Carl K. wrote:
> On 11/1/2016 5:25 PM, Christopher Schultz wrote: Carl,
>
> On 11/1/16 5:11 PM, Carl K. wrote:
Control Scan has returned this as a vulnerability in Tomcat
8.0.38:
Vulnerable version of
Hello,
I've a developed a simple servlet in Eclipse which is supposed to display a
welcome message stored in /conf/Catalina/localhost/context.xml.
When I run the web application from Eclipse in a local Tomcat instance, I get
the following message:
"javax.naming.NameNotFoundException: The name
Yuval,
Please take alook atthe second paragraph at Tomcat config doc's:
https://tomcat.apache.org/tomcat-8.0-doc/config/
|You can put your properties on the
|
|$CATALINA_BASE/conf/catalina.properties|
and you can do the variable sustitution in yor configuration file usin
${PropertyName}
fo
Tomcat: 8.0.22
Java: jdk1.8.0_05
Hello,
I would like to store credentials that go into the Resource element of my
connection pool, in a properties file. (This is so I can untrack my
properties file when committing to a repo).
How would I go about accessing this properties file in my
META-INF/con
2016-11-02 5:19 GMT+01:00 Bruce Huang :
> Thanks for your suggestion.
>
> I have tested on 8.0.38 release, but it even can't close the comet
> properly. On 8.0.23, after OutputStream.close(), I have to do event.close()
> to make the END event to be fired correctly.
>
> ServletOutputStream servletO
On 02/11/2016 08:51, Thomas Boniface wrote:
> I'm glad this was useful in the end.
>
> Could you send the link to the corresponding issue ? I'd be interesting to
> read the commit for the fix and known the tomcat versions this will be
> pushed to.
There is no issue.
In terms of the commits, look
I'm glad this was useful in the end.
Could you send the link to the corresponding issue ? I'd be interesting to
read the commit for the fix and known the tomcat versions this will be
pushed to.
Thanks
2016-11-01 11:08 GMT+01:00 Mark Thomas :
> On 25/10/2016 09:59, Mark Thomas wrote:
> > Thanks
17 matches
Mail list logo