Win a copy of Rust Web Development this week in the Other Languages forum!

alain martin

Ranch Hand
+ Follow
since Apr 11, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by alain martin

I have the same problem. Did you solve it?

Thanks
5 years ago


I have a java program, which send jobs to a thermal printer. It prints ok, but it auto cut the paper just after the last image o text without a margin.

How can I set a bottom margin? I have tried printing empty strings or space characters but it it doesn't print it cuts before.

I'm using java.awt.print.

Thanks

 
5 years ago
yes I'm using axis.

Your proposal doesn't like me very much, I would like doing it more clean...

how could I read the web.xml file directly from the thread?

thanks
I have a Tomcat application, I read the parameters of the web.xml file with this lines:



But when I throw a new Thread the thread can't read it. How can I set thread to read the context of the tomcat application?

Thanks in advance
Are you sure? I think I saw websites with http and https in same port (80). And a friend tell me he did in apache server...
13 years ago
I have configurated my tomcat server.xml file to serve http in 8080 port and https in 8443 port.

I would like to server both in the same port (8080) is it possible in tomcat?

Thanks
13 years ago
I want log all acceses to Tomcat in order to detect a problem with certificates.

I configurated logging.properties file with "ALL" in all lines. In the log folder it create log files but all are empty.... What is wrong?

Thanks

PS: My tomcat is on windows xp
14 years ago
Hi,

I enabled https in my website on a Tomcat server.

I created with openSSL the CA, I singed my web certificate and I added the certifie of my CA in IE and Firefox. With IE 6 and 7 it run successfull securely, but with firefox and netscape it shows this error acceder perfectamente a la web de forma segura, pero con firefox y netscape me muestra este error: " cannot establish encrypted connection to the web server because the certificate is invalid or corrupted: Error Code -8101 "

Do you know what is the problem?

Thanks

PS: I Did this steps:
http://www.adictosaltrabajo.com/tutoriales/tutoriales.php?pagina=securitySSLKeytool
14 years ago
Thanks, but I hope tomcat had native support of it
14 years ago
I have the server application
14 years ago
I have to send a lot of data in a GPRS line...

Any one can confirm it isn't possible?
14 years ago
I have tomcat configurate to send responses compresed with gzip if the cliente send me the Accept-encoding:gzip http header.

But how allow tomcat to accept compressed request with Content-encoding: gzip header?

Thanks
14 years ago
Hi,

I have an apache tomcat 5.5.17. In my server.xml file I have put

<Connector port="8080" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true"
compression="on"
*compressionMinSize="2048000" *
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml,text/plain,application/dime"
/>

It run sucessfull with normal html tomcat pages. But when I ask to axis 1.4
webservices it always compress the response althought it be less than 1kb.
Why axis don't respect compressionMinSize parameter?
Thanks
15 years ago
I only need manage hours and minutes, but millisecons are not problem.

What is more common to use?
15 years ago