Re: Classes and lib sub-derectories

2008-03-25 Thread Ch Praveena
Hi, WEB-INF directory will be found under ROOT of CATALINA_HOME/TOMCAT_HOME. And this is a default directory that comes along with the software. You create manulally a folder as Sample(Your application or war file)at TOMCAT_HOME/webapps directory. Now let this Sample contain a WEB-INF and

Cannot redeploy my .war anymore

2008-03-25 Thread Scott Mueller
Hi guys, Any idea why I can't redeploy my Spring/Hibernate application anymore? This started happening when I added code to send an email using the javamail api (through Spring's SimpleMailMessage and MailSender). I included mailapi.jarand smtp.jar in WEB-INF/lib as well. Normally I would copy

Re: best option Load Balancing

2008-03-25 Thread Andrew Miehs
On 25/03/2008, at 6:47 AM, karthikn wrote: Users 500+ ( Traffic increasing day by day ) You mentioned these were WLAN users - This number is irrelevant for your performance info - what was much more important was the 25/ 30 logins per second. O/s Unix 11 JSDK =1.6 TOMCAT 5.5.23

Re: Job Opportunity

2008-03-25 Thread Joly M
could you tell me more about the projects? where is the company located? Joly 2008/3/25, Andrew Hole [EMAIL PROTECTED]: Hello Guys! Anyone interested in joining a Portuguese company to be responsible for installing, managing and configuring Tomcat and Apache Web Server? We currently have

Re: Job Opportunity

2008-03-25 Thread Scott Mueller
My company is located in Palos Verdes, California. The project is a Spring/Hibernate/Tomcat/Mysql project for which we're planning to use Amazon's EC2/S3 or a similar service. On Tue, Mar 25, 2008 at 12:18 AM, Joly M [EMAIL PROTECTED] wrote: could you tell me more about the projects? where is

Re: jk_isapi_plugin.c (1374): error while adding request headers

2008-03-25 Thread Mark Thomas
Jay Rutten wrote: The result is either a 500 or a single line on the page: The parameter is incorrect. (I would love to know what parameter it is referring to!) From the line of code specified in the message, it is clear the AddHeader or SetHeader is failing and the request is not even

Re: Job Opportunity

2008-03-25 Thread Joly M
ok, so the job is more focused on Tomcat administration than on application server programming... Joly 2008/3/25, Scott Mueller [EMAIL PROTECTED]: My company is located in Palos Verdes, California. The project is a Spring/Hibernate/Tomcat/Mysql project for which we're planning to use

Re: jk_isapi_plugin.c (1374): error while adding request headers

2008-03-25 Thread Rainer Jung
Mark Thomas wrote: Jay Rutten wrote: The result is either a 500 or a single line on the page: The parameter is incorrect. (I would love to know what parameter it is referring to!) From the line of code specified in the message, it is clear the AddHeader or SetHeader is failing and the

Deployment options in an application development environment

2008-03-25 Thread Aseem Rastogi
Hi All, Tomcat version: 5.5.25 OS: RHEL 1 Source code location: projects/src Compiled code location: projects/build I am exploring the fastest deployment option when the application is in development stage. I have my source code in directory mentioned above. Then I have written ant script

Tomcat multithread question on external application

2008-03-25 Thread Meir Yanovich
Hello all i like to ask some basic question about the multi thread model of tomcat say i have multiple request coming from internet site that going via apache server tunneling the throw mod_jk to tomcat tomcat is processing the requests and builds java corba objects that invoked external api's

Clustering Tomcat 6.0

2008-03-25 Thread Ch Praveena
Hi all, I am trying to cluster Tomcat 6.0. I am getting many doubts in the link http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html I am not able to identify those attributes for those default values mentioned in the article. Please let me know if anyone have done Tomcat 6.0 clustering.

Re: Job Opportunity

2008-03-25 Thread ChrisS
What version of Tomcat Andrew? Chris S - Original Message - From: Andrew Hole [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, March 25, 2008 12:08 AM Subject: Job Opportunity Hello Guys! Anyone interested in joining a Portuguese company to be

RE: Tomcat multithread question on external application

2008-03-25 Thread Peter Crowther
From: Meir Yanovich [mailto:[EMAIL PROTECTED] say i have multiple request coming from internet site that going via apache server tunneling the throw mod_jk to tomcat tomcat is processing the requests and builds java corba objects that invoked external api's that comes from external

Re: RESIDENTIAL MEMORY 100%

2008-03-25 Thread sterling
I am sorry, if this is the wrong list, for submitting questions about apache on linux and router issues. This problem generated from alcatel to zoom x6 router change. Traceroute to webpage reports router address, but webserver is at machine address on the same routed network. Cannot see

Re: RESIDENTIAL MEMORY 100%

2008-03-25 Thread karthikn
Hi is running a 64bit JVM. JDK used is 32 bit probably by running java -version on this Unix 11 server bash-3.2# ./java -version java version 1.6.0.00 Java(TM) SE Runtime Environment (build 1.6.0.00-jinteg_12_nov_2007_21_58-b00) Java HotSpot(TM) Server VM (build 1.6.0.00

Aliases in Tomcat 6.0

2008-03-25 Thread Kannan Kanagaraj
Hello All I am migrating an application running on Apache 1.3.x to Tomcat 6.0. One of the problem I face : In Apache httpd.conf, there is config tag: 'Alias', which I could not find an equivalent tag in Tomcat 6.0. I have searched over the internet but no luck. Example use of Alias in

Re: Aliases in Tomcat 6.0

2008-03-25 Thread karthikn
Hi Tomcat is a mini http server + web container , while Apache 1.3.x is only a http server What application are u running on Apche Tomcat can be plugged to Apache for more request responses exceeding other then Tomcat direct interaction with regards karthik Kannan Kanagaraj wrote:

Re: Aliases in Tomcat 6.0

2008-03-25 Thread Kannan Kanagaraj
Hi I am running Apache 1.3.x with Apache JServ. The migration/upgrade process is to use Tomcat 6.0 for both http and servlet servlet. So that I can get rid off old versions of apache. There are no static pages in my application, all the requests are handled and processed at the servlet container.

Context Descriptor file not created

2008-03-25 Thread Aseem Rastogi
Hi All, I am using tomcat version 5.5.25. I am deploying my application statically i.e.: 1. I untar tomcat tgz file. 2. Copy myapp.war in webapps/ directory. 3. Start tomcat using BootStrap class. I am able to access my application through its URL now BUT there is no Context Descriptor

Re: Aliases in Tomcat 6.0

2008-03-25 Thread karthikn
Hi You seems to be in confusion. First visit TOMCAT website ,download ,work on the example application Redesign u'r site as per requirement and deploy the same in Tomcat env Use Tomcat to plug to Apache 2.x heavy load http traffic Migration from Jserv to Tomcat is little bit difficult as

Re: RESIDENTIAL MEMORY 100%

2008-03-25 Thread Alan Chaney
Firstly, you are only making 350M of your memory available to the application. xmx=350m means 350 megabtyes is reserved for the heap. Secondly, that's probably not the issue! You are correct in that you are running a 32 bit JVM. That's probably not the issue either but it means that most of

Tomcat 6.0 clustering

2008-03-25 Thread Ch Praveena
Hi, Are there anyone who have done with clustering Tomcat 6.0? I have lot many doubts about them. -- Regards, Praveena Chalamcharla, Securview

Re: RESIDENTIAL MEMORY 100%

2008-03-25 Thread Alan Chaney
sterling wrote: I am sorry, if this is the wrong list, for submitting questions about apache on linux and router issues. This problem generated from alcatel to zoom x6 router change. 'Fraid so. What's more you appear to be thread hijacking! This list is for tomcat, the apache java

Re: RESIDENTIAL MEMORY 100%

2008-03-25 Thread karthikn
Hi Sorry for the dely, thx for the prompt reply I was just looking into using Jconsole as u said,but since the UNIX 11 server,does not have GUI,I probably would have to do some remote Jconsole for the same. Can u please tell me or provide me URL on how do i set up mbeans-descriptor.xml so

Re: RESIDENTIAL MEMORY 100%

2008-03-25 Thread Carl
As I recall from one of your early emails, you have the session timeout set to 24 hours. If this is so, you will never get this app to run. Thanks, Carl - Original Message - From: karthikn [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, March 25, 2008

Re: RESIDENTIAL MEMORY 100%

2008-03-25 Thread Alan Chaney
karthikn wrote: Hi Sorry for the dely, thx for the prompt reply I was just looking into using Jconsole as u said,but since the UNIX 11 server,does not have GUI,I probably would have to do some remote Jconsole for the same. Can u please tell me or provide me URL on how do i set up

Re: Aliases in Tomcat 6.0

2008-03-25 Thread Kannan Kanagaraj
Hi Karthik I think I understand what you mean to say. Let me reconfirm it: Use Apache 2.x for HTTP Server and Tomcat 6.0 for servlet container. Use mod_jk to plug in these servers. Hope that is correct ? What I did so far was to use Tomcat as both Web Server and Servlet container. Which is not

another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-25 Thread Tommy Peterson
I had a Xampp Apache setup working fine with Virtual Hosting. Then I needed to installed the Xampp Tomcat addon to move two Java apps to the same server. But I cannot get the Java apps to work. The other apps on the server are still working fine. First Apache would not forward the

RE: Tomcat multithread question on external application

2008-03-25 Thread Caldarale, Charles R
From: Peter Crowther [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat multithread question on external application If I understand you correctly, the only limits are those imposed by your virtual machine and the memory you can allocate to Java. Each thread takes a significant amount of

RE: Context Descriptor file not created

2008-03-25 Thread Caldarale, Charles R
From: Aseem Rastogi [mailto:[EMAIL PROTECTED] Subject: Context Descriptor file not created I am able to access my application through its URL now BUT there is no Context Descriptor created for this. There is, but it's kept only in memory, not written to disk. There are some conditions

RE: Cannot redeploy my .war anymore

2008-03-25 Thread Caldarale, Charles R
From: Scott Mueller [mailto:[EMAIL PROTECTED] Subject: Cannot redeploy my .war anymore Instead it pauses after the last line below: Mar 24, 2008 11:05:31 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive application.war And what does a thread

Re: Job Opportunity

2008-03-25 Thread Andrew Hole
Tomcat 5.5. But we are always looking for future... Regards On Tue, Mar 25, 2008 at 10:11 AM, ChrisS [EMAIL PROTECTED] wrote: What version of Tomcat Andrew? Chris S - Original Message - From: Andrew Hole [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent:

[OT] Smalltalk (was RE: Tomcat multithread question on external application)

2008-03-25 Thread Peter Crowther
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Ah yes, Smalltalk: I have an orientation, therefore everything is an object, or, If it's worth doing, it's worth doing to excess. It's a fascinating language to teach. I could teach the syntax in one 1-hour session. Teaching about the

RE: [OT] Smalltalk (was RE: Tomcat multithread question on externalapplication)

2008-03-25 Thread Caldarale, Charles R
From: Peter Crowther [mailto:[EMAIL PROTECTED] Subject: [OT] Smalltalk (was RE: Tomcat multithread question on externalapplication) Smalltalk is still the fastest prototyping environment for some classes of problem that I've used - but I'd prefer something with a few more safety belts

RE: jk_isapi_plugin.c (1374): error while adding request headers

2008-03-25 Thread Jay Rutten
Logging level is at debug. It appears from the log that everything is ok, but I then I get the header error below. Here are several lines above the error: [Mon Mar 24 21:11:31.013 2008] [920:1608] [debug] jk_worker.c (241): creating worker jkstatus [Mon Mar 24 21:11:31.013 2008] [920:1608]

RE: Aliases in Tomcat 6.0

2008-03-25 Thread Caldarale, Charles R
From: Kannan Kanagaraj [mailto:[EMAIL PROTECTED] Subject: Re: Aliases in Tomcat 6.0 What I did so far was to use Tomcat as both Web Server and Servlet container. Which is not the right way to design. There's nothing wrong with using Tomcat standalone. Performance of a current version of

Re: Tomcat 6.0 clustering

2008-03-25 Thread Filip Hanik - Dev Lists
Ch Praveena wrote: Hi, Are there anyone who have done with clustering Tomcat 6.0? I have lot many doubts about them. what's your question? No virus found in this incoming message. Checked by AVG. Version:

RE: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-25 Thread Caldarale, Charles R
From: Tommy Peterson [mailto:[EMAIL PROTECTED] Subject: another apache/tomcat/mod_jk/virtual hosting question/issue But I cannot get the Java apps to work. Don't suppose you'd care to give anyone a hint about what versions of Tomcat, httpd, mod_jk, etc., you happen to be using? Can you

Re: jk_isapi_plugin.c (1374): error while adding request headers

2008-03-25 Thread Rainer Jung
Jay Rutten wrote: Logging level is at debug. It appears from the log that everything is ok, but I then I get the header error below. Here are several lines above the error: The log snippet doesn't contain the init of the worker runtime1, but I assume, you checked that. ... [Mon Mar 24

Re: [OT] Smalltalk (was RE: Tomcat multithread question on externalapplication)

2008-03-25 Thread David Fisher
From: Peter Crowther [mailto:[EMAIL PROTECTED] Subject: [OT] Smalltalk (was RE: Tomcat multithread question on externalapplication) Smalltalk is still the fastest prototyping environment for some classes of problem that I've used - but I'd prefer something with a few more safety belts for

Re: [OT] Smalltalk (was RE: Tomcat multithread question on externalapplication)

2008-03-25 Thread Jonathan Mast
XML is really SGML ... with a twist. I just finished reading Jared Diamond's Guns, Germs and Steel, tracking the historical movements of people via the similarities in languages is very interesting. And thus the new field of Comparative Historical Programming Language Studies is born ;-)

Re: [OT] Smalltalk (was RE: Tomcat multithread question on externalapplication)

2008-03-25 Thread Ken Bowen
Jonathan Mast wrote: XML is really SGML ... with a twist. I just finished reading Jared Diamond's Guns, Germs and Steel, tracking the historical movements of people via the similarities in languages is very interesting. And thus the new field of Comparative Historical Programming

RE: jk_isapi_plugin.c (1374): error while adding request headers

2008-03-25 Thread Jay Rutten
Here are the init log messages. Nothing stands out as wrong. Could this be a configuration setting/error with IIS 6 running on Windows Server 2003? [Mon Mar 24 21:11:30.997 2008] [920:1608] [debug] jk_util.c (430): Pre-processed log time stamp format is '[%a %b %d %H:%M:%S.000 %Y] ' [Mon Mar 24

Re: interrupting a multipart post request?

2008-03-25 Thread Christian Kindler
Christopher Schultz wrote: Christian Kindler wrote: | Maybe it's a good question for tomcat-dev... Agreed. Post back if you find a solution. The only answer I got on tomcat-dev is the following one. So it really seems to be a protocol problem... Rick Knowles wrote: Christian,

Re: RESIDENTIAL MEMORY 100%

2008-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karthik, karthikn wrote: | JDK used is 32 bit probably by running java -version on this Unix 11 | server [snip] | This version is avaliable from HP Unix site | http://h18012.www1.hp.com/java/ | | As per HP site 64 bit is the version HP is

Re: RESIDENTIAL MEMORY 100%

2008-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carl, Carl wrote: | As I recall from one of your early emails, you have the session timeout | set to 24 hours. If this is so, you will never get this app to run. +1^H^H+5^H^H+10 - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8

Java 1.4.2 to 1.5 upgrade tips

2008-03-25 Thread Jonathan Mast
It looks like we might have to upgrade to Java 1.5 from 1.4.2 and I was wondering if someone could point me to a guide on the pitfalls to watch out for as per Tomcat 5.5. thanks,

Re: jk_isapi_plugin.c (1374): error while adding request headers

2008-03-25 Thread Rainer Jung
Jay Rutten wrote: Here are the init log messages. Nothing stands out as wrong. Could this be a configuration setting/error with IIS 6 running on Windows Server 2003? No precise idea here. At least one of the following returns false: AddHeader(pfc, URI_HEADER_NAME, forwardURI)

Re: Aliases in Tomcat 6.0

2008-03-25 Thread Kannan Kanagaraj
Yeah that was my initial plan. My application doesn't have any static pages at all. I could very well use a standalone Tomcat for this purpose as it has both Http Server and Web Container. What I wasn't sure was the performance. If the standalone is better than having a front end request handler,

Re: Cannot redeploy my .war anymore

2008-03-25 Thread Scott Mueller
How do I display a thread dump at that point? What you suggest sounds correct, this started happening after adding the mailapi.jar and smtp.jarJavaMail libraries and including code to use them... so I'm thinking they don't properly let go of resources for some reason. Is this a common problem

Re: Job Opportunity

2008-03-25 Thread Scott Mueller
I'm sorry Joly! I didn't realize that email went to the Tomcat users group, it was NOT in response to your question about Andrew Hole's job opportunity! On Tue, Mar 25, 2008 at 1:05 AM, Joly M [EMAIL PROTECTED] wrote: ok, so the job is more focused on Tomcat administration than on application

Re: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-25 Thread Tommy Peterson
Sorry about that. Tomcat 6.0.1.4 Apache 2.2.9 What is the command to get a module version number listing? If I am on the server and enter localhost:8080/nisl4 or localhost:8080/nisl3 I get a 500 error saying that something can't be compiled. So i guess technicall I can reach the apps.

Re: Java 1.4.2 to 1.5 upgrade tips

2008-03-25 Thread Len Popp
On Tue, Mar 25, 2008 at 12:27 PM, Jonathan Mast [EMAIL PROTECTED] wrote: It looks like we might have to upgrade to Java 1.5 from 1.4.2 and I was wondering if someone could point me to a guide on the pitfalls to watch out for as per Tomcat 5.5. thanks, Remember to remove the Java 1.4

[OT] RE: Job Opportunity

2008-03-25 Thread Peter Crowther
From: Scott Mueller [mailto:[EMAIL PROTECTED] I'm sorry Joly! I didn't realize that email went to the Tomcat users group, http://www.unicom.com/pw/reply-to-harmful.html - see Principle of Least Damage. I don't expect the Apache list admins to change their policy, but I'm still saddened

RE: Cannot redeploy my .war anymore

2008-03-25 Thread Caldarale, Charles R
From: Scott Mueller [mailto:[EMAIL PROTECTED] Subject: Re: Cannot redeploy my .war anymore How do I display a thread dump at that point? I think the easiest way is with the jstack tool that comes with the JDK. There are other, OS-specific mechanisms, such as kill -9 on Linux or ctrl-break

Deployment options (earlier: Context Descriptor file not created)

2008-03-25 Thread Aseem Rastogi
Hi Again, I tried a few things and some observations that are not documented are as follows: 1. I have exploded directory structure under build/ directory. Now, when I deploy this directly using deploy ant task, I see that tomcat creates a copy of directory structure under its webapps/path

RE: tomcat and active x problem

2008-03-25 Thread Propes, Barry L
I wonder if that is a breach of javascript across domains. Is that possible? -Original Message- From: loredana loredana [mailto:[EMAIL PROTECTED] Sent: Saturday, March 22, 2008 1:01 PM To: users@tomcat.apache.org Subject: tomcat and active x problem Hi, i have an html page that has a

Re: Java 1.4.2 to 1.5 upgrade tips

2008-03-25 Thread David kerber
Jonathan Mast wrote: It looks like we might have to upgrade to Java 1.5 from 1.4.2 and I was wondering if someone could point me to a guide on the pitfalls to watch out for as per Tomcat 5.5. thanks, I don't have a specific reference, but IIRC, there was very little code that would work

Web hosting using Tomcat 6

2008-03-25 Thread Srivastava, Abhay
Hello, I have created a website that is running on Tomcat 6, on Ubuntu 7.1. I also have bought a domain name. I have a static IP address. Now, how do I do the web hosting? Can somebody please help me here with the required configurations ? Thanks

Re: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-25 Thread Tommy Peterson
this is the problem with every jsp page I try to hit. does this mean java can't compile the java beans? I don't get this. I did a search and lot of a ppl seem to have issue but no solutions. type Exception report message description The server encountered an internal error () that prevented

RE: tomcat and active x problem

2008-03-25 Thread Peter Crowther
From: loredana loredana [mailto:[EMAIL PROTECTED] function OpenOutlookDoc() {try{ var outlookApp = new ActiveXObject(Outlook.Application); var nameSpace = outlookApp.getNameSpace(MAPI); mailFolder = nameSpace.getDefaultFolder(6); [...] }catch(e){ alert(e); // act on any error that you get

RE: Cannot redeploy my .war anymore

2008-03-25 Thread Peter Crowther
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] There are other, OS-specific mechanisms, such as kill -9 on Linux or ctrl-break on Windows. I *think* that should be kill -3 (but check!) Kill -9 is definitely another and altogether more unpleasant signal, and your Tomcat process won't

RE: Cannot redeploy my .war anymore

2008-03-25 Thread Caldarale, Charles R
From: Peter Crowther [mailto:[EMAIL PROTECTED] Subject: RE: Cannot redeploy my .war anymore I *think* that should be kill -3 (but check!) Yes, you're right; sorry about the misinformation. Since discovering jstack I don't use the OS-specific ways anymore. - Chuck THIS COMMUNICATION MAY

should I get rid of apache fronting tomcat?

2008-03-25 Thread ahnf
Hi, We started using Tomcat and Apache back around Tomcat 3.x. Tomcat serves everything except small image requests, js and css files. (Such as buttons, small banners etc) Nowadays, in the newer Tomcat 6.x versions, is the extra hassle and configuration of having Apache front Tomcat really

RE: should I get rid of apache fronting tomcat?

2008-03-25 Thread Peter Crowther
From: ahnf [mailto:[EMAIL PROTECTED] We started using Tomcat and Apache back around Tomcat 3.x. Tomcat serves everything except small image requests, js and css files. (Such as buttons, small banners etc) Nowadays, in the newer Tomcat 6.x versions, is the extra hassle and configuration of

RE: Deployment options (earlier: Context Descriptor file not created)

2008-03-25 Thread Caldarale, Charles R
From: Aseem Rastogi [mailto:[EMAIL PROTECTED] Subject: Deployment options (earlier: Context Descriptor file not created) I have exploded directory structure under build/ directory. Now, when I deploy this directly using deploy ant task, I see that tomcat creates a copy of directory

RE: should I get rid of apache fronting tomcat?

2008-03-25 Thread Caldarale, Charles R
From: ahnf [mailto:[EMAIL PROTECTED] Subject: should I get rid of apache fronting tomcat? Nowadays, in the newer Tomcat 6.x versions, is the extra hassle and configuration of having Apache front Tomcat really worth it? Not in my opinion, assuming you're not using httpd for anything other

RE: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-25 Thread Caldarale, Charles R
From: Tommy Peterson [mailto:[EMAIL PROTECTED] Subject: Re: another apache/tomcat/mod_jk/virtual hosting question/issue If I am on the server and enter localhost:8080/nisl4 or localhost:8080/nisl3 I get a 500 error saying that something can't be compiled. So i guess technicall I can

RE: Deployment options (earlier: Context Descriptor file not created)

2008-03-25 Thread Aseem Rastogi
Thanks for your quick reply. Why a local copy would be created when trying to deploy directly and not when trying to deploy through Context Descriptor file is beyond my understanding. Note that I am using deploy task in both cases. In first case I use localWar attribute of deploy task, in 2nd

Re: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-25 Thread Tommy Peterson
The response is the same with httpd or with localhost:8080. This is why I posted here: I don't know how to fix it. The logs show the same error. So, I dropped the Java sample files in one of the original wepp apps directories, thinking I didn't have all the classes or Java set up correctly, and

Re: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-25 Thread David Smith
From experience, this error is usually the result of an earlier error. Look further up your logs to the first error that occurs after you request this page. Fix that and this one should go away. --David Tommy Peterson wrote: this is the problem with every jsp page I try to hit. does this

Configuring linux for Tomcat web hosting

2008-03-25 Thread Srivastava, Abhay
Hi, I have created a website running on Tomcat 6.x and have also purchased a domain. The OS I am using is Ubuntu 7.1 (linux). Can anyone help me with configuring the linux so that my host name can direct to tomcat server. Right I have a static IP address and I can direct my domain name to

Am I the only idiot trying metro/wsit on tomcat 6 ?

2008-03-25 Thread uprooter
Hi. I need to create a secure web service and allow .net clients to consume it. sun/netbeans are only focusing on glassfish. but I couldn't find any official documentation on how to set up this thing on tomcat. I've seend some blog posts from sun developers but nothing that could really make

Re: Configuring linux for Tomcat web hosting

2008-03-25 Thread David Smith
1. Configure tomcat to listen on port 80 and without root privilege. Not sure how you setup tomcat on your Ubuntu box, but most linux distributions will require you start it with something like jsvc from the commons-daemon project to do this. 2. Configure your cable router to forward port 80

RE: Configuring linux for Tomcat web hosting

2008-03-25 Thread Srivastava, Abhay
Thanks David. I appreciate your help. Also, do I need to have a Apache HTTP server sitting before my Tomcat instance ? Right now I don't see any reason for doing so. Abhay Srivastava Reference Architecture Shared Services and Architecture | Smith Barney Technology | CitiGroup GWM (212) 657

Re: Configuring linux for Tomcat web hosting

2008-03-25 Thread David Smith
Only if you are mixing technologies or have other complications. For instance, I find Apache Httpd easier to deal with for PHP, Perl, or CGI stuff in general. In a straight java servlet environment, it just adds latency and complexity you probably won't want. --David Srivastava, Abhay

RE: Configuring linux for Tomcat web hosting

2008-03-25 Thread Srivastava, Abhay
That's correct. Thanks David. Abhay Srivastava Reference Architecture Shared Services and Architecture | Smith Barney Technology | CitiGroup GWM (212) 657 - 4617 -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2008 3:12 PM To: Tomcat Users

Re: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-25 Thread Tommy Peterson
I went all the way to the top of the error log for the first error; there were two, one after the other: [error] jk_ajp_common.c (1004): (ajp13) can't receive the response message from tomcat, tomcat (127.0.0.1:8009) has forced a connection close for socket 4540 [Tue Mar 25 15:02:44.320 2008]

mod_jk connecor settings in server.xml?

2008-03-25 Thread Charl Gerber
Hi, using jdk 1.6_05, Tomcat 6.0.14 and Apache 1.3.39. Tomcat seems to be working fine on its own, as does Apache. I installed the mod_jk connector according to documentation so much so that I eventually get the log message: [Tue Mar 25 21:32:19 2008] [32488:0] [info] jk_init::mod_jk.c (2706):

Re: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-25 Thread David Smith
In that case, there should have been some text after 'org.apache.jasper.JasperException: Unable to compile class for JSP: ' citing the line number and problem with the jsp. Is it really just blank where compile error message should be? Can you try to restart tomcat and see if that clears the

Re: mod_jk connecor settings in server.xml?

2008-03-25 Thread Charl Gerber
OK, my worker.properties: worker.list=worker1 worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8009 and in my server.xml: Connector port=8009 protocol=AJP/1.3 redirectPort=8443 / The latter I did not add, it was there by default after I installed tomcat. In fact, I

Tags not being executed on first request...

2008-03-25 Thread Nathan Wilhelmi
Hello - We are using Tomcat 6.0.14, we have some pages that use some nested tags, such as Page A - Tag A - Tab B, it's not reclusive problem. We are using the JSP.tag files for this. The problem is on the first request, Page A - Tag A works fine, however Tag B never appears to be rendered. Now

Re: mod_jk connecor settings in server.xml?

2008-03-25 Thread Rainer Jung
Hi Charl, Charl Gerber schrieb: OK, my worker.properties: worker.list=worker1 worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8009 OK and in my server.xml: Connector port=8009 protocol=AJP/1.3 redirectPort=8443 / OK The latter I did not add, it was there by

IIS-Tomcat Integration

2008-03-25 Thread Matthew Emerson
Hello, I have recently ported a tomcat-based application from using IIS 5.1 to using IIS 6.0, and I am seeing an interesting change in the IIS configuration that I hoped someone could explain. I have an application where I want a subset of the URLs to go through Basic Authentication and

Re: mod_jk connecor settings in server.xml?

2008-03-25 Thread Charl Gerber
Thanks. I will check into the comments you gave. The Apache server was pre installed and I have no idea how it works. Not even sure if there are virtual hosts. Will have to check up on that. cPanel is used to administer the account. --- Rainer Jung [EMAIL PROTECTED] wrote: Hi Charl, Charl

Re: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-25 Thread Tommy Peterson
When the unable to compile class for JSP error showed up (it isn't anymore) it would mention the jsp file that I was calling. I intentionally called several different jsp files to see if it was the coding, althougth this application works now, and has for years, on a different server just fine (I

When is mod_jk 1.2.27 expected to be stable?

2008-03-25 Thread fredk2
Hi, When is mod_jk 1.2.27 expected to be stable? I just stumbled accross the change log for the jk connector which shows an interesting feature: the ability to configure a reply_timeout not only per worker, but instead per mapping.

Re: mod_jk connecor settings in server.xml?

2008-03-25 Thread Charl Gerber
Anything in the JkLogFile apart from the initialized message? nope, that's the only message I get. What's the URL of the request you are testing with, and what answer do you get exactly? Url: www.mydomain.com/myapp (There's a default index.html configured in it) Reply is: Not Found The

RE: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-25 Thread Caldarale, Charles R
From: Tommy Peterson [mailto:[EMAIL PROTECTED] Subject: Re: another apache/tomcat/mod_jk/virtual hosting question/issue I went all the way to the top of the error log for the first error; there were two, one after the other: [error] jk_ajp_common.c (1004): (ajp13) can't receive the

RE: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-25 Thread Caldarale, Charles R
From: Tommy Peterson [mailto:[EMAIL PROTECTED] Subject: Re: another apache/tomcat/mod_jk/virtual hosting question/issue I don't understand why this has to be this difficult. Because you seem to be trying to solve multiple problems simultaneously, rather than isolating them and taking care

Re: mod_jk connecor settings in server.xml?

2008-03-25 Thread Charl Gerber
If you have any VirtualHost somewhere in your httpd configuration, you need to put the JkMount into the VirtualHost that handles your request. That works now! I mounted it to the virtual host, and it worked! Kinda. I doesn't work with the url domain/myapp I have to type an actual file:

Tomcat 6.0.16 and Listeneres

2008-03-25 Thread Milanez, Marcus
Hi, I've just updated my tomcat version to 6.0.16 (I was using 6.0.14 since then), and it keeps reporting me INFO: The listener myfullpackage.MyListener is already configured for this context. The duplicate definition has been ignored. everytime I deploy my application. I've inspected all files

Re: mod_jk connecor settings in server.xml?

2008-03-25 Thread Rainer Jung
Charl Gerber schrieb: Anything in the JkLogFile apart from the initialized message? nope, that's the only message I get. What's the URL of the request you are testing with, and what answer do you get exactly? Url: www.mydomain.com/myapp (There's a default index.html configured in it)

RE: Tomcat 6.0.16 and Listeneres

2008-03-25 Thread Caldarale, Charles R
From: Milanez, Marcus [mailto:[EMAIL PROTECTED] Subject: Tomcat 6.0.16 and Listeneres I've just updated my tomcat version to 6.0.16 and it keeps reporting me INFO: The listener myfullpackage.MyListener is already configured for this context. The duplicate definition has been ignored.

Re: When is mod_jk 1.2.27 expected to be stable?

2008-03-25 Thread Rainer Jung
Hi Fred, fredk2 schrieb: Hi, When is mod_jk 1.2.27 expected to be stable? I just stumbled accross the change log for the jk connector which shows an interesting feature: the ability to configure a reply_timeout not only per worker, but instead per mapping.

Re: Tomcat 6.0.16 and Listeneres

2008-03-25 Thread Mark Thomas
Milanez, Marcus wrote: Searching over the internet I came accross very few references reporting the same problem, and these referenced explained that this is nothing I should get worried about. Is this a fact? Yes. Have someone had the same message? Yes. See

RES: Tomcat 6.0.16 and Listeneres

2008-03-25 Thread Milanez, Marcus
Everything works really fine, but this message is somehow annoying ... -Mensagem original- De: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 25 de março de 2008 18:20 Para: Tomcat Users List Assunto: RE: Tomcat 6.0.16 and Listeneres From: Milanez, Marcus

RES: Tomcat 6.0.16 and Listeneres

2008-03-25 Thread Milanez, Marcus
Thanks a lot Mark! As everything worked fine, I'm confident to use this version in production. After two weeks of test with our application, this is the only strange behaviour we've noticed. Once again, thanks a lot for your quick responses guys! -Mensagem original- De: Mark Thomas

Re: mod_jk connecor settings in server.xml?

2008-03-25 Thread Rainer Jung
Charl Gerber schrieb: If you have any VirtualHost somewhere in your httpd configuration, you need to put the JkMount into the VirtualHost that handles your request. That works now! I mounted it to the virtual host, and it worked! Kinda. I doesn't work with the url domain/myapp I have to

Re: Tags not being executed on first request...

2008-03-25 Thread david delbecq
It's probably that tag A you use has conditional logic that is false upon first request. Making it skip it's content. Difficult to tell more without knowing the taglibs involved and the associated conditions Nathan Wilhelmi a écrit : Hello - We are using Tomcat 6.0.14, we have some pages that

  1   2   >