Tomcat 6 virtual hosting and log

2008-07-08 Thread Angelo Chen
Hi, I have a virutual host in a tomcat 6 server, example, myHost, now I'd like myHost to have its own logging like catalina.out, etc, not missing with other hosts in the same server, possible? thanks, Angelo -- View this message in context: http://www.nabble.com/Tomcat-6-virtual-hosting-and-lo

Re: tomcat with jcaptcha

2008-07-08 Thread WILLIAMer
Thanks Johnny, and Sammer reply me by e-mail :) I think move the data under eCom to ROOT directory and delete the eCom directory is a way to help me work out this. Likes Johnny says, if i set the eCom default, there are two directories - eCom and ROOT. I think i understand why the session differe

RE: Where is "org.apache.webapp.balancer.rules.RoundRobinRule" ??

2008-07-08 Thread Shepherd, Mathew (IST)
Thankyou! And for your prompt reply. Now to get it working... Cheers Mat -Original Message- From: Konstantin Kolinko [mailto:[EMAIL PROTECTED] Sent: Wednesday, 9 July 2008 11:43 To: Tomcat Users List Subject: Re: Where is "org.apache.webapp.balancer.rules.RoundRobinRule" ?? RoundRobi

Re: Where is "org.apache.webapp.balancer.rules.RoundRobinRule" ??

2008-07-08 Thread Konstantin Kolinko
RoundRobinRule is not part of Apache Tomcat code, but sample code from the article: http://www.onjava.com/pub/a/onjava/2004/04/14/clustering.html?page=2 Download tomcatclustering.zip there. - To start a new topic, e-mail: users@

Re: Tomcat 5.0 rolling stdout

2008-07-08 Thread Puneet C Mathur
Thanks Steve. 'logrotate' did the trick. There is a windows port available at http://www.datori.org/?p=7 . Thanks Nick ! Cheers Puneet On 08/07/2008, Puneet C Mathur <[EMAIL PROTECTED]> wrote: > > Sorry mate, 'due' to > :) > > I wish I could tell the vendor .. > > > Puneet > > > On 0

Re: Tomcat seems to have stopped servicing requests behind Apache

2008-07-08 Thread Clovis Wichoski
Hi Tim, check at your tomcat home if exists a file with the pattern hs_err_pid*.log maybe your JVM was killed, and in that log you will know the reason. regards Clóvis On Tue, Jul 8, 2008 at 6:26 PM, Tim Hunt <[EMAIL PROTECTED]> wrote: > Hi, > > I have a Linux (Centos 4) system running Tomcat

Where is "org.apache.webapp.balancer.rules.RoundRobinRule" ??

2008-07-08 Thread Shepherd, Mathew (IST)
Hi, I am trying to use Tomcats balancer webapp to balance between three instances, although all notes I can find on setting it up point towards using the rule file "org.apache.webapp.balancer.rules.RoundRobinRule" which is supposed to exist inside catalina-balancer.jar, although it doesn't. I have

Re: mod_jk on the loopback?

2008-07-08 Thread David Smith
Nope I do it on my production server and it works like a charm. Just have to add address="127.0.0.1" to your AJP connector in server.xml to force it to bind to the loopback. --David Bill Davidson wrote: Assuming httpd and tomcat are running on the same machine, would it be best to run th

@PersistenceContext injection works on other app server, not Tomcat...

2008-07-08 Thread ericp56
I have the following declaration in my class: @PersistenceContext(unitName = "CallScheduler") EntityManagerFactory emf; If I compile the code in NetBeans/Glassfish, emf is instantiated. If I compile the code in Eclipse/Tomcat, emf is *not* instantiated - no errors, other than a NullPointerExcep

Tomcat seems to have stopped servicing requests behind Apache

2008-07-08 Thread Tim Hunt
Hi, I have a Linux (Centos 4) system running Tomcat (5.5.20) behind Apache(2.0.52) via mod_jk, and Tomcat seems to have stopped working. I don't know what broke it, and I would really appreciate help diagnosing the problem. Here's some more info: I can still server up static HTML files through

mod_jk on the loopback?

2008-07-08 Thread Bill Davidson
Assuming httpd and tomcat are running on the same machine, would it be best to run the mod_jk connection on the loopback rather than the primary ethernet? Any disadvantages to the loopback? It seems like it might be more secure since other machines would not be able to make a direct connection t

Re: RPC Call Exception: Socket read failed on Tomcat 6 with tcnative-1.dll (v 1.1.12)

2008-07-08 Thread Mark Thomas
Radcliffe, William H. wrote: I would like to keep the Tomcat native code if at all possible since it is supposedly more efficient. I can't "upgrade" to 6.0.13 since I'm already at 6.0.16, and I would hate to downgrade if I don't need to. Has anyone run into this problem? Does anyone know what wou

RPC Call Exception: Socket read failed on Tomcat 6 with tcnative-1.dll (v 1.1.12)

2008-07-08 Thread Radcliffe, William H.
We recently upgraded to Tomcat 6.0.16 and Apache 2.2.8. We started receiving intermittent exceptions that we hadn't seen under Tomcat 5.0 and Apache 2.0. They usually occur when we are receiving moderate to heavy traffic, but we have never seen two thrown the same day closer than 15 minutes apart.

RPC Call Exception: Socket read failed on Tomcat 6 with tcnative-1.dll (v 1.1.12)

2008-07-08 Thread Radcliffe, William H.
We recently upgraded to Tomcat 6.0.16 and Apache 2.2.8. We started receiving intermittent exceptions that we hadn't seen under Tomcat 5.0 and Apache 2.0. They usually occur when we are receiving moderate to heavy traffic, but we have never seen two thrown the same day closer than 15 minutes apart.

Tomcat and IIS - I almost have it working, but...

2008-07-08 Thread Michael Dubno
I have (as far as I can tell) an IIS 6.0 server configured to redirect requests to a Tomcat 4.1.24 server. Except it doesn't seem to actually send the forwarded URL to the Tomcat server. The configuration seems to be correct on the IIS server. Here is the isapi.log excerpt - [Tue Jul 08 15:23:

RE: Configuring OpenJPA, need help

2008-07-08 Thread ericp56
It looks like java:comp/env/OpenJPAEMF should have worked, although the extra slash didn't work either. >From reading some articles, it looks like the following should work: I'm no longer using the initial context, or web.xml. context.xml: my class using JPA: @PersistenceUnit(

Re: Problem with Context Parameters

2008-07-08 Thread Jean-François Ménard
Thanks all for your help. It's quite embarrassing, but my problem was that I had ": >> From: Jean-François Ménard [mailto:[EMAIL PROTECTED] >> Subject: Re: Problem with Context Parameters >> >> Context file (conf/Catalina/localhost/app.xml: >> >> >> > > Just a side note: the path attribute is

RE: Tomcat 6.0.16: intermittent "Unable to load class for JSP"

2008-07-08 Thread Caldarale, Charles R
> From: Mike Wertheim [mailto:[EMAIL PROTECTED] > Subject: Tomcat 6.0.16: intermittent "Unable to load class for JSP" > > If I had to make a wild guess, it seems that perhaps Tomcat > has an internal cache of class files, which becomes corrupt. Tomcat's work directory contains the translated and c

Tomcat 6.0.16: intermittent "Unable to load class for JSP"

2008-07-08 Thread Mike Wertheim
I have a webapp running on Tomcat 6.0.16 under Red Hat 4 Linux (version 2.6.22.7). 99% of the time it runs fine. But every once in a while, one of the JSP pages (that was working just fine) will stop working. When I try to access that JSP, Tomcat gets a JasperException, with this root cause except

Re: HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample

2008-07-08 Thread Ljuba Veselinova
> Good luck dealing with ESRI, I have to deal with ArcGIS at my part time job > and ESRI > support isn't exactly helpful. > I have now wasted quite a bit of time with them and feel that I should get this to work. But I completely agree with you -- dealing with their support is quite a challenge.

Re: logging

2008-07-08 Thread Mark H. Wood
On Tue, Jul 08, 2008 at 10:12:15AM -0400, David Crane wrote: > I doubt there is a simple solution for redirecting stdout/stderr over > the network. Perhaps netcat? http://nc110.sourceforge.net/ Or if you have security concerns, perhaps scp can be jiggered to do the job. However, keep in mind

RE: Configuring OpenJPA, need help

2008-07-08 Thread Caldarale, Charles R
> From: ericp56 [mailto:[EMAIL PROTECTED] > Subject: RE: Configuring OpenJPA, need help > > initCtx.lookup("java:comp/env/OpenJPAEMF"); Try "java:/comp/env/OpenJPAEMF". Note the additional slash. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is

Re: HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample

2008-07-08 Thread Steve Ochani
Date sent: Tue, 08 Jul 2008 18:22:21 +0200 From: Ljuba Veselinova <[EMAIL PROTECTED]> Subject:Re: HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample To: Tomcat Users List Send reply to: Tomcat Users List > O

Re: HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample

2008-07-08 Thread Ljuba Veselinova
On Tue, Jul 8, 2008 at 5:47 PM, Steve Ochani <[EMAIL PROTECTED]> wrote: > Date sent: Tue, 08 Jul 2008 17:41:18 +0200 > From: Ljuba Veselinova <[EMAIL PROTECTED]> > Subject:Re: HTTP Status 404 - > /examples/servlets/servlet/HelloWorldExample > To:

RE: Configuring OpenJPA, need help

2008-07-08 Thread ericp56
How true, I was creating a JDBC JNDI for an example, and didn't have it configured properly. That misled me. Thanks! I now have in my META-INF/context.xml file: Now, this code: Context initCtx = new InitialContext(); emf = (OpenJPAEntityManagerFactory) initCtx.lookup("java:c

RE: Problem with Context Parameters

2008-07-08 Thread Caldarale, Charles R
> From: Jean-François Ménard [mailto:[EMAIL PROTECTED] > Subject: Re: Problem with Context Parameters > > Context file (conf/Catalina/localhost/app.xml: > > > Just a side note: the path attribute is not allowed in the above scenario; the name of the .xml file defines the URL path to the weba

Re: HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample

2008-07-08 Thread Steve Ochani
Date sent: Tue, 08 Jul 2008 17:41:18 +0200 From: Ljuba Veselinova <[EMAIL PROTECTED]> Subject:Re: HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample To: Tomcat Users List Send reply to: Tomcat Users List > T

Re: Problem with Context Parameters

2008-07-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jean-François, Jean-François Ménard wrote: | As a side note, if I deploy the app in a standalone Tomcat, the | problem appear, but if I use the app with eclipse wtp, everything is | fine. Hmm... I suspect that you are not using the context.xml file

Re: Running CGI (Perl) => Can't load module DBI

2008-07-08 Thread Alex Mestiashvili
Joris Kimpe wrote: Hi all, don't know if this is the correct place, but here it goes... I've created a cgi script (perl) which need to run in Tomcat 5.5. But when I try to connect to our database, the error I get is: install_driver(DB2) failed: Can't load 'w:/win32/install/core/CO_PERL/site/l

RE: Configuring OpenJPA, need help

2008-07-08 Thread Caldarale, Charles R
> From: ericp56 [mailto:[EMAIL PROTECTED] > Subject: Configuring OpenJPA, need help > > I am not deploying a WAR, but individual files, so I can't use > META-INF/context.xml (I'm led to believe). Not true. Simply create the META-INF directory under your webapp deployment directory and place the

Re: OutOfMemoryError happening in embedded instance of Tomcat 6 (Apache OFBiz project)

2008-07-08 Thread Jacopo Cappellato
Filip, thank you for your help. Your suggestion actually helped to identify the root of our issues: it was not related to Tomcat 6 but instead it was an issue in the version of DBCP we were using (a snapshot of November 2007); we have upgraded it to the HEAD and the errors seem gone away (w

Re: HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample

2008-07-08 Thread Ljuba Veselinova
Thanks for that! Apparently, I am having a redirect problem from Apache. Any ideas on how to correct this? I did a crude search on the documentation but nothing turned up. Thanks again, Ljuba On Tue, Jul 8, 2008 at 5:23 PM, Steve Ochani <[EMAIL PROTECTED]> wrote: > Date sent: Tue,

Re: logging

2008-07-08 Thread Lynn Hollerman
Replogle, Andrew wrote: I would look into using the log4j syslog appender http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/net/SyslogA ppender.html If you have a syslogd on the server in the unix network (very likely) you can have it send the messages there via the syslog protocol.

Re: HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample

2008-07-08 Thread Steve Ochani
Date sent: Tue, 08 Jul 2008 16:45:35 +0200 From: Ljuba Veselinova <[EMAIL PROTECTED]> Subject:HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample To: Tomcat Users List Send reply to: Tomcat Users List > I try

Running CGI (Perl) => Can't load module DBI

2008-07-08 Thread Joris Kimpe
Hi all, don't know if this is the correct place, but here it goes... I've created a cgi script (perl) which need to run in Tomcat 5.5. But when I try to connect to our database, the error I get is: install_driver(DB2) failed: Can't load 'w:/win32/install/core/CO_PERL/site/lib/auto/DBD/DB2/DB2.

AW: logging

2008-07-08 Thread Norbert Hirneisen
Well, you could use nfs to mount a share from the target machine and create a symlink to the logs-directory. That would be a direct approach with the disadvantage that you will get problems when the target machine won´t be available. An other solution is to create a cronjob an move the archived log

Configuring OpenJPA, need help

2008-07-08 Thread ericp56
Hello, I have OpenJPA working on Tomcat 6 using Persistence.createEntityManagerFactory, which is unmanaged. Now I'd like to use the managed environment, but I am having a problem with the JNDI resource. I am not deploying a WAR, but individual files, so I can't use META-INF/context.xml (I'm led

Re: Problem deploying JSPs in TOMCAT 6

2008-07-08 Thread Hassan Schroeder
On Tue, Jul 8, 2008 at 7:19 AM, vasu kanna <[EMAIL PROTECTED]> wrote: > HTTP Status 404 - /Projects/ > Apache Tomcat/6.0.16 I used this command "jar -cvf projects.war Projects != projects -- Hassan Schroeder [EMAIL PROTECTED] --

HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample

2008-07-08 Thread Ljuba Veselinova
I trying to get Tomcat 5.5.17 to work with Apache 2.2.4 on a windows XP machine. The ultimate goal is to install ArcIMS 9.2 on this machien but I am not there yet. For right now, I'm having connectivity issues between Tomcat and Apache. I am following the instructions from http://support.esri.com/

Re: Configuring DataSources using jsp: reload context.xml?

2008-07-08 Thread Konstantin Kolinko
Hi, Jonas Regarding your previous e-mails where you tried to overwrite META-INF\context.xml. Please note, that at deployment time this file is copied to /conf/Catalina/localhost/.xml I think that you should either update the copy of that file and then restart Tomcat. If you update META-INF/conte

Re: Tomcat bottleneck on InternalInputBuffer.parseRequestLine

2008-07-08 Thread Clovis Wichoski
Hi Christophe, if in future you get more stucks, try to increase our open files to 4096, using follow commands: ulimit -Hn 10240 ulimit -Sn 4096 to persist on reboot edit your /etc/security/limits.conf and add follow lines: * softnofile 4096 * hardnofile 10

Problem deploying JSPs in TOMCAT 6

2008-07-08 Thread vasu kanna
Hello everyone Each time i create a war file and place it in the web-apps folder I encounter with this error report HTTP Status 404 - /Projects/ -- *type* Status report *message* */Projects/* *description* *The requested resource (/Projects/) is not available.* ---

Problem deploying JSPs in TOMCAT 6

2008-07-08 Thread vasu kanna
Hello everyone Each time i create a war file and place it in the web-apps folder I encounter with this error report HTTP Status 404 - /Projects/ -- *type* Status report *message* */Projects/* *description* *The requested resource (/Projects/) is not available.* ---

RE: logging

2008-07-08 Thread David Crane
I doubt there is a simple solution for redirecting stdout/stderr over the network. But log4j does have a built-in mechanism to log over the network. I am running the org.apache.log4j.net.SocketServer on a machine called log.donorschoose.org, and the Tomcat on w1.donorschoose.org, etc. logs to tha

Re: Problem with Context Parameters

2008-07-08 Thread Jean-François Ménard
Thanks for your reply! Comments inlined 2008/7/8 Christopher Schultz <[EMAIL PROTECTED]>: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jean-François, > > Jean-François Ménard wrote: > | Using Tomcat 6.0.13, I try to define some context parameters in my > | context file (in conf/Cataline/

Re: Tomcat 5.5.26 Sessions getting replicated but not working via browser

2008-07-08 Thread Mark Thomas
martinjd wrote: Hi, I am using the jsp-examples - book demo that comes with tomcat. I seen somewhere on the web that this can be used to test session replication. I assume that all objects in this app are serializable. Do you think that this is not a proper test? You could just check the code

Re: Upgrade Tomcat 4.1 to 5.5

2008-07-08 Thread Mark Thomas
[EMAIL PROTECTED] wrote: How would I proce= ed to upgrade? Do I need to stop the current version and install it ov= er the current =24Catalina_Home or do I install it to a new directory=2E = I'd install Tomcat to a new directory so it is easy to go back if things don't work. Also would I ne

Re: Valid parameters for executable init parameter for cgi servlet

2008-07-08 Thread Mark Thomas
sridharmnj wrote: Hi, Can anyone please explain me the valid values for excutable init parameter for cgi servlet. When I see the CGIServlet source code, its default value is "perl". What are the other valid values, for other than perl scripts? You can specify any command that would be recognise

RE: logging

2008-07-08 Thread Replogle, Andrew
I would look into using the log4j syslog appender http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/net/SyslogA ppender.html If you have a syslogd on the server in the unix network (very likely) you can have it send the messages there via the syslog protocol. Andrew -Original M

Re: logging

2008-07-08 Thread Jim Cox
Googling for "Tomcat syslog logging" seems to return some useful links, e.g.: http://kbase.redhat.com/faq/FAQ_68_8798.shtm On Tue, Jul 8, 2008 at 9:29 AM, Lynn Hollerman <[EMAIL PROTECTED]> wrote: > I have been asked to see about redirecting the output logs from the various > tomcat instances(a

logging

2008-07-08 Thread Lynn Hollerman
I have been asked to see about redirecting the output logs from the various tomcat instances(all are v5.0 and up) we use. My boss would like the logs to be written to a different machine on our Unix network. How would I go about redirecting stdout and stderr in this case? Thanks! -- Lynn Holl

RE: Duplicate listener definition

2008-07-08 Thread Caldarale, Charles R
> From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED] > Subject: Re: Duplicate listener definition > > > I have simple spring-based webapp with one ContextLoaderListener > > listener defined in web.xml, nothing fancy. Cosmetic bug, fixed in the next release: https://issues.apache.org/bugzilla/show_b

Re: Configuring DataSources using jsp: reload context.xml?

2008-07-08 Thread Len Popp
On Tue, Jul 8, 2008 at 08:53, Jonas Wagner <[EMAIL PROTECTED]> wrote: > Since the application connects to its datasources using the > DriverManager class, I cannot use connection pooling. That's one of the > reasons I tried using JNDI for such a long time :-( I think it's possible to use DBCP conn

Re: Restart TC with cron/sh

2008-07-08 Thread Alex Mestiashvili
Piller Sébastien wrote: Hello, I have my application in production for a month now. I've some problem of memory leak that force me to restart TC each few days. I'm trying to automate this operation with a cron that runs a *.sh file. But I don't know how what to write in it. Actually, I've thi

Re: Duplicate listener definition

2008-07-08 Thread Mikolaj Rydzewski
Mikolaj Rydzewski wrote: I have simple spring-based webapp with one ContextLoaderListener listener defined in web.xml, nothing fancy. I forgot: $ ./version.sh Using CATALINA_BASE: /home/mrydzewski/opt/FET Using CATALINA_HOME: /home/mrydzewski/opt/FET Using CATALINA_TMPDIR: /home/mrydzewski/

Duplicate listener definition

2008-07-08 Thread Mikolaj Rydzewski
Hi, It's not the first time I see this log message, but this time I want to diagnose it ;-) I have simple spring-based webapp with one ContextLoaderListener listener defined in web.xml, nothing fancy. Unfortunately, after deploy, I can see message in the logfile: INFO: The listener "org.s

RE: Configuring DataSources using jsp: reload context.xml?

2008-07-08 Thread Jonas Wagner
Thanks Sameer for your reply! > That may work for new datasources but could create a problem > for existing data sources specifically if they are already > being used and have pooled connections. The existing pooled > connections may be in use by the applications too. Since the application connec

Upgrade Tomcat 4.1 to 5.5

2008-07-08 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=43409 Posted on behalf of a User Hi All, I would like to upgrade Apache Tomcat/4=2E1=2E36-LE-jdk14 = to Apache Tomcat 5=2E5=2E26=2E I currently have the following installa= tion: OS =3D Windows 2003 JDK =3D Version 1=2E5=2E0_11 Build 149023=

Re: Problem with Context Parameters

2008-07-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jean-François, Jean-François Ménard wrote: | Using Tomcat 6.0.13, I try to define some context parameters in my | context file (in conf/Cataline/localhost/.xml) That should be conf/Catalina/localhost/.xml | as described in the documentation | (http

Re: tomcat with jcaptcha

2008-07-08 Thread Johnny Kewl
- Original Message - From: "WILLIAMer" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 08, 2008 9:23 AM Subject: RE: tomcat with jcaptcha Thanks for reply ,Sameer :) for me, webapps | - eCom - Admin - Login.jsp - Account - *.jsp eCom is a webapps and Admin is a direct

Re: Tomcat 5.5.26 Sessions getting replicated but not working via browser

2008-07-08 Thread martinjd
Hi, I am using the jsp-examples - book demo that comes with tomcat. I seen somewhere on the web that this can be used to test session replication. I assume that all objects in this app are serializable. Do you think that this is not a proper test? Martin nch-3 wrote: > > > Make sure all objec

Re: Configuring DataSources using jsp: reload context.xml?

2008-07-08 Thread Sameer Acharya
That may work for new datasources but could create a problem for existing data sources specifically if they are already being used and have pooled connections. The existing pooled connections may be in use by the applications too. Restarting the tomcat after modifying datasource may be a better

Re: Tomcat 5.5.26 Sessions getting replicated but not working via browser

2008-07-08 Thread nch
Make sure all objects you add to a session are serializable. If not, DeltaManager should be logging about it. Cheers. - Original Message From: martinjd <[EMAIL PROTECTED]> To: users@tomcat.apache.org Sent: Tuesday, July 8, 2008 11:35:11 AM Subject: Tomcat 5.5.26 Sessions getting repli

Re: tomcat 6 : why I can't access my site with www.?

2008-07-08 Thread Markus Schönhaber
Angelo Chen wrote: > I have a tomcat 6 running, with following host defined in the server.xml, I > can access my app with : > > http://abc.dyndns.org > > but not: > > http://www.abc.dyndns.org > > the above will always bring out the default apache page, > > any idea? Thanks. > > Angelo

Tomcat 5.5.26 Sessions getting replicated but not working via browser

2008-07-08 Thread martinjd
Hi, I have configured Tomcat 5.5.26 to be clustered across 2 machines with one instance on each. These two machines are behing a BIG-IP loadbalancer which is setup for sticky sessions. The catalina.out states that the member can see each other: Jul 3, 2008 6:33:50 PM org.apache.catalina.clust

tomcat 6 : why I can't access my site with www.?

2008-07-08 Thread Angelo Chen
Hi, I have a tomcat 6 running, with following host defined in the server.xml, I can access my app with : http://abc.dyndns.org but not: http://www.abc.dyndns.org the above will always bring out the default apache page, any idea? Thanks. Angelo www.abc.dyn

Re: Configuring DataSources using jsp: reload context.xml?

2008-07-08 Thread Jonas Wagner
The problem is now solved, though in a somewhat unsatisfying way. I wrote my own configuration file to store information about the data sources, and now I connect to databases using DriverManager. I'm still wondering about more elegant ways to do dynamical configuration of data sources. Would it b

RE: tomcat with jcaptcha

2008-07-08 Thread WILLIAMer
Thanks for reply ,Sameer :) for me, webapps | - eCom - Admin - Login.jsp - Account - *.jsp eCom is a webapps and Admin is a directory under eCom , right? I just strange why i set the eCom default apps(it means root dir/path), the sessions are different between eCom and Admin.