Posted by Saba Ansari on July 16, 2010
On 7/16/10 1:06 PM, abhishek jain wrote:
One common error that will appear to result in this behavior are images without a specified src, resulting in the base url being fetched an additional time.
-Dale
Posted by Saba Ansari on July 13, 2010
Why aren’t you checking the project out in Eclipse?
BTW. I suggest using the STS version of Eclipse since all your plug-ins come preinstalled except for Subversion which is mostly included.
On 13/07/2010 11:31 AM, Bahadýr Konu wrote:
on
Posted by Saba Ansari on July 4, 2010
Eric Covener wrote: ~snip~
There is one as well, ssl for the virtual hosts will have to be a shared certificate if ssl is going to be enabled, since it is ip based unlike the name based vhosts. [ figure lets save headaches forthe op by mentioning that limitation
]
Posted by Saba Ansari on July 4, 2010
On Sun, Jul 4, 2010 at 2:14 AM, Zachary Uram wrote:
There’s no “as well” if you have one IP. You just want name-based vhosts where apache will pick the right virtualhost based on the host requested:
http://httpd.apache.org/docs/2.2/vhosts/name-based.html
Posted by Saba Ansari on June 24, 2010
Hi,
I remembered I tested earlier lucene 1.4 and 2.4, and found the following:
# it is OK for multiple searchers to search the same collection.
# it is OK for one IndexerWriter to edit and multiple searchers to search at the same time.
# it is generally NOT OK for multiple IndexerWriter to change same collection at the same time.
Could you confirm briefly if above are true and give me Yes/No answer whether in latest lucene 3x above conclusions are still OK?
Thanks very much for helps, Lisheng
Posted by Saba Ansari on June 20, 2010
I have a single webapp. But this has to be accessed from multiple contexts
for example : http://localhost:8080/abc http://localhost:8080/cde http://localhost:8080/xyz
I did this using having multiple context tags in the tag similar to the following
The problem with this is, it is duplicating all the resources in the webapp and starting up all the path by loading all resources. As a reason, I am getting MemoryOutOfErrors. I want this to be done with single resource.
Any help??
- Kishore
Posted by Saba Ansari on June 15, 2010
In RUNNING.txt it says you can have a single copy of Tomcat binary shared among multiple users on the same server by setting the “environment variable” $CATALINA_BASE to the directory that contains the files for each personal Tomcat instance.
As simple as that reads, I don’t understand it. I don’t understand how this is different than a virtual host with different appBase’s. Is it saying that whoever has a user login on the server can have their own Tomcat playground even though there is just one Tomcat installed?
So, if on Windows, you set a User environment variable of CATALINA_BASE to something like C:TomcatDevUser1 … that’s it? Tomcat figures out the CATALINA_BASE variable depending on who is logged in? Does C:TomcatDevUser1 need a ROOT directory for their default webapp?
Leo
Posted by Saba Ansari on June 15, 2010
I am trying to setup Apache with JkMount to tomcat to dynamically handle different contexts in Apache, but always use the same context in Tomcat.
e.g.
http://apachefrontenddomain.com.au/a/customer-1.com -> jk ajp to -> http://tomcatserver:8009/webapp http://apachefrontenddomain.com.au/a/customer-2.com -> jk ajp to -> http://tomcatserver:8009/webapp http://apachefrontenddomain.com.au/a/customer-3.com -> jk ajp to -> http://tomcatserver:8019/webapp2 http://apachefrontenddomain.com.au/a/customer-4.com -> jk ajp to -> http://tomcatserver:8039/webapp4
Doe anyone know how to do this? Do I need to use Aliasing or Rewriting?
I am using Apache 2.2 and Tomcat 6
Cheers Andrew
Posted by Saba Ansari on June 8, 2010
Hi Upasana, if You are using struts1 You may look here: http://struts.apache.org/1.x/struts-taglib/indexedprops.html
Best greetings, Paweł Wielgus.
2010/6/8 Upasana Sharma :
Posted by Saba Ansari on June 7, 2010
On Sun, Jun 6, 2010 at 8:04 PM, Jeff Shearer wrote:
What you are missing is, amongst others, that the message you get is a “Warming (“[warn]“) not an error. There are two situations which can trigger this warning: – A NameVirtualHost without any blocks. – A second NameVirtualHost statement identical to an existing one.
The warning serves the purpose of warning you that you might have overlooked something, but it is not an error. Having a duplicate NameVirtualHost statement does not cause any malfunctioning. It’s just a bit untidy.
Krist