Re: Re: mod_jk 1.2.26 jk_mount

2008-06-03 Thread Brian Martin
Can you attach your web.xml file... I'm new to this too but I think you need to
have appropriate url filters setup -- I might be using the wrong terminology
here.,.,.


On Tue, Jun 03, 2008 at 05:22:06PM +0300, Niki Diulgerov wrote:
 It's not because of missing or insufficient rights.
 The connector just don't want to accept the rule
 
 JkMount /app/resources/* ajp13
 
 and to redirect the request to tomcat and gives the error
 
 [Tue Jun 03 17:04:23.021 2008] [22353:2934367456] [debug] 
 jk_map_to_storage::mod_jk.c (3211): no match for 
 /app/resources/showPDFLetter found
 
 
 
 maybe the syntax for JkMount is changed in 1.2.26?
 
 
 
 Best regards,
 
 Nikolay Diulgerov
 Network Administrator
 E-mail: [EMAIL PROTECTED]
 Telephone : +33 4 89 87 77 77
 Fax :   +33 4 89 87 77 00
 Web: http://www.codix-france.com
 
 
 
 
 Landon Fabbricino wrote:
 Could it be as simple as not having rights (permissions) to see the 
 /app/resources directory or the showPDFLetter file ?
 
 Landon Fabbricino
 IT Applications
 
 Phone: 403.225.7515
 Fax: 403.225.7604
 [EMAIL PROTECTED]
 
   
 Niki Diulgerov [EMAIL PROTECTED] 6/3/2008 8:04:47 AM 
 
 Hello there,
 I compiled the mod_jk 1.2.26 from the source for Red hat 5.1x64
 The module works as intended except some strance gehaviour
 
 I have in my httpd.conf
 JkMount /app/*.jsp ajp13
 JkMount /app/*.do ajp13
 
 And this works OK
 but my application have a URLs like
 /app/resources/showPDFLetter?format=pdf
 
 Which was not described im JkMount and rejected
 
 I added
 JkMount /app/resources/* ajp13
 but still the same error
 
 [Tue Jun 03 17:04:23.021 2008] [22353:2934367456] [debug] 
 jk_map_to_storage::mod_jk.c (3211): no match for 
 /app/resources/showPDFLetter found
 
 can this be because of the version of mod_jk ?
 
 
   

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: restart tomcat after reboot

2008-05-23 Thread Brian Martin
Use chkconfig, redhats tool for manipulating which scripts/daemons you want
to run at runtime.
The trick with chkconfig is that it relies on certain directives being
present in the header of your script.

So, something like:

#!/bin/bash
#|
# chkconfig: 2345 55 25
# description: Script to start some server

echo Hello World



You also need to copy that script to /etc/init.d
Once this is done, go into the init.d directory and run the command:

chkconfig --add script_name

Don't ask me what the 2345 55 55 stuff means -- Its been a while since i did
this.
Hope this helps.










On Fri, May 23, 2008 at 7:47 AM, sur_1805 [EMAIL PROTECTED] wrote:


 i m using tomcat 6 with jdk 1.6 on linux(RHEL 5) machine . i put the script
 catalina.sh(startup and shutdown tomcat) in init.d directory and also make
 a
 link with the command given below
ln -s /etc/init.d/catalina.sh  S75tomcat

 in the /etc/rc5.d directory . but it does not automatically start the
 tomcat
 after reboot. please give the solution asap.


 --
 View this message in context:
 http://www.nabble.com/restart-tomcat-after-reboot-tp17423966p17423966.html
 Sent from the Tomcat - User mailing list archive at Nabble.com.


 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: SSL encryption with Tomcat

2008-05-20 Thread Brian Martin
Your setup sounds fine. However having apache handle things on a separate 
machine 
might be a nice option if you ever wanted to use it to load balance more than 
1 tomcat server in a clustered environment.  Which could be what you want given
you're user base is growing.

Brian



On Tue, May 20, 2008 at 09:33:21AM -0400, Indudhar Devanath wrote:
 Hi,
 
 We have a production application which handles around 200 to 500 unique 
 sessions at any given time of the day, and its growing.  Thats the only 
 application running on Tomcat 6.0.  All the transactions take place 
 through SSL encryption.  Tomcat runs as stand alone, as a single 
 instance and is configured to handle SSL encryption.  Would it be better 
 if we made tomcat work with Apache HTTP Server?  Would it be better if 
 SSL encryption is handled by tomcat or if it is handled by Apache HTTP 
 Server?
 
 I would really appreciate your opinions on this.
 
 thanks,
 Indu
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Newbie

2008-05-16 Thread Brian Martin
Hi there (just joined too), my two cents would be to check out the Netbeans IDE 
and website. 
The tutorials are great for one. And the software bundles w/ 
IDE/glassfish/tomcat/soa etc are
a great way to get started. And everything is all set to go (integration wise)
through a decent installer. 
Eclipse probably has the same sort of deal but I haven't touched it much in a
few years. 

Brian








On Fri, May 16, 2008 at 11:10:57AM -0700, Evan Siegel wrote:
 Hi. Just joined your list.
 I would like to have a bibliography of sites and books and whatever other 
 resources there are for people interested in using Tomcat for server-side 
 website programming.
 Also: If I want to experiment with actual server-side programming, what host 
 would you recommend. Money is a huge issue. Obviously, at this point, 
 bandwidth isn't.
 Please be gentle.
 
 
 
 Please visit our website at
 http://www.geocities.com/evan_j_siegel
 Thank you.
 


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]