RE: Accessing USB drive content from pages served from tomcat6 server

2012-04-06 Thread souvik.datta
Hello Chris, Thanks a lot for responding to my post. [Chris]What do you mean "not able to access its content"? Do you get 404s? 500s? Does the thread hang? Does the JVM crash? [Souvik]: When I am trying to access the content of usb_1, I am getting 404 error. Here are the details: HTTP Status 40

Re: can't find handler for element type

2012-04-06 Thread Konstantin Kolinko
2012/4/7 Fairouz Fakhfakh : > Hello, > I use  Tomcat 5.5 and java 5. > I use: " mmclient-webinterface-bin.war "  version1.2  from the site: > http://www.semwebcentral.org/frs/?group_id=44 > > I have a problem by clicking on a button to access a JSP page. > I get the following error in the log file

can't find handler for element type

2012-04-06 Thread Fairouz Fakhfakh
Hello, I use Tomcat 5.5 and java 5. I use: " mmclient-webinterface-bin.war " version1.2 from the site: http://www.semwebcentral.org/frs/?group_id=44 I have a problem by clicking on a button to access a JSP page. I get the following error in the log file of juddi: [http-8083-Processor25] ERROR

Re: jdbc pool properties

2012-04-06 Thread S Ahmed
I'm using tomcat 7, in a spring mvc application. The properties is in my spring-context.xml file. On Fri, Apr 6, 2012 at 2:09 PM, Christopher Schultz < ch...@christopherschultz.n

Re: jdbc pool properties

2012-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, On 4/4/12 8:46 AM, Daniel Mikusa wrote: > - Original Message - >> My db connections seem to be lost after an extended period of >> inactivity (for a web application). And the only way to get the >> connections to work again is to res

Re: Prevent cleartext keystore/truststore passwords via JMX

2012-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Randy, On 4/6/12 7:41 AM, Randy Gray wrote: > Hi, > > I've been upgrading from Tomcat 6 to Tomcat 7 (7.27) and I've > noticed that the keystore and truststore passwords are exposed via > JMX in cleartext (in the bean JIoEndpoint). This was not the ca

Re: Problem tomcat

2012-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ognjen, On 4/6/12 7:15 AM, Ognjen Blagojevic wrote: > Fairouz, > > On 4.4.2012 17:25, Fairouz Fakhfakh wrote: >> I use Tomcat 6 and java 5. > > Good to know. Send us exact versions for both. OS type and version > could also be informative. > > >>

Re: Accessing USB drive content from pages served from tomcat6 server

2012-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Souvik, On 4/4/12 12:23 AM, souvik.da...@wipro.com wrote: > I have a NPAPI plugin which gets a notification from my middleware > whenever a USB MSD device is connected to the system. The HTML > page which loads the plug-in then plays the Media > (aud

Re: request.login() not persistent

2012-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jerry, On 4/5/12 6:11 PM, Jerry Malcolm wrote: > Konstantin, > > I was using: > > > > I changed it per your comment to: > > <% response.sendRedirect( response.encodeRedirectURL( "/userhome" > )); %> A more minimal change would have been this:

Re: Where can I find slow query log produced by tomcat-jdbc?

2012-04-06 Thread Daniel Mikusa
Just saw this too. https://issues.apache.org/bugzilla/show_bug.cgi?id=51237 You might want to check what version you are using. Dan - Original Message - > Pool works nice, but > I get empty logs/pool.2012-04-06.log > No debug messages, no slow query's. > Configuration below > > ---

Re: Where can I find slow query log produced by tomcat-jdbc?

2012-04-06 Thread Daniel Mikusa
- Original Message - > Pool works nice, but > I get empty logs/pool.2012-04-06.log > No debug messages, no slow query's. > Configuration below Maybe you have really fast queries? I believe if you set "threshold=-1", it should log all queries. Not something you'd want to do in production

Re: Tomcat6 - Context - aliases

2012-04-06 Thread André Warnier
Léa, Léa Massiot wrote: ... Actually I realized that even with the previous mechanism I used (using the "aliases" attribute of the "Context" element of the "w/WEB-INF/context.xml" file), I could directly retrieve a resource by typing its exact URL in a browser and without having to identify in

Where can I find slow query log produced by tomcat-jdbc?

2012-04-06 Thread Vladimir Dymikha
Pool works nice, but I get empty logs/pool.2012-04-06.log No debug messages, no slow query's. Configuration below --- datasource.xml: --- ${catalina.home}/conf/logging.properties: handler

Prevent cleartext keystore/truststore passwords via JMX

2012-04-06 Thread Randy Gray
Hi, I've been upgrading from Tomcat 6 to Tomcat 7 (7.27) and I've noticed that the keystore and truststore passwords are exposed via JMX in cleartext (in the bean JIoEndpoint). This was not the case in Tomcat 6, for example JIoEndpoint bean which was exposed had much fewer attributes. I have speci

Re: SEVERE: Unable to start cluster.

2012-04-06 Thread Dhaval Jaiswal
* Yes we have in web.xml* * Below is the full server.xml for all the tomcats.*

Re: Problem tomcat

2012-04-06 Thread Ognjen Blagojevic
Fairouz, On 4.4.2012 17:25, Fairouz Fakhfakh wrote: I use Tomcat 6 and java 5. Good to know. Send us exact versions for both. OS type and version could also be informative. I have a problem by clicking on a button to access a JSP page. Which button? If the button is on the HTML/JSP pag

Re: Accessing USB drive content from pages served from tomcat6 server

2012-04-06 Thread Léa Massiot
Hello Souvik, BTW, it's not Konstantin who had a problem but me. Try this: 1) Create a "usb_1.xml" file in "/etc/tomcat6/Catalina/localhost/" (the OS being Debian Squeeze) with the following contents: < Context docBase="/media/WCF/usb_1" / > (Think about removing the extra spaces I added above)

Re: Tomcat6 - Context - aliases

2012-04-06 Thread Léa Massiot
Christopher Schultz-2 wrote > Do you really need crossContext="true" here? I guess not since - as I just tested - removing it doesn't change anything... Thank you. So I removed the "crossContext" attribute (and the "path" attribute) and the new contents of "an_alias_1.xml" are: -