Hi
When i checked my log file i found this error.
java.sql.SQLException: Connection is closed at
org.apache.tomcat.dbcp.dbcp.DelegatingConnection.checkOpen(DelegatingConnection.java:291)
at
org.apache.tomcat.dbcp.dbcp.DelegatingConnection.createStatement(DelegatingConnection.java
Then there must be something messed up with my domain and what it is
pointing to. It has a different IP address than my server. I pointed the
IP address of the domain to the static IP address of my server that I am
already running and serving on Tomcat.
Realistically I should be seeing something
Hi,
We have Tomcat behind a load balancer. The servlet API and tomcat libraries
see the load balancer IP as the client IP.
I tried to write a simple valve which will extract the IP from HTTP header
X-Forwarded-For
and continue the valve chain using this IP as the client IP. This will be
the first
> From: Eric P [mailto:eric.maill...@gmail.com]
> Subject: debugging model classes tied to Tomcat datasources
>
> they do utilize the Tomcat data sources I've set up (via
> an InitialContext data source lookup). So this makes it
> impossible (?) to execute the model classes outside of Tomcat.
T
> From: Josh Gooding [mailto:josh.good...@gmail.com]
> Subject: Re: configuring multiple domain's and forwarding on Tomcat 6
> questions.
>
> I have my Context config's in the META-INF folder of the first .com's
> appBase directory. It's under \appBase\META-INF. Is this wrong?
Probably. In the
Hi,
(Tomcat newb alert)
I've got a simple database servlet application that has a few model classes on
the back end.
I have the model classes pretty well genericized so that they could (almost) be utilized outside of Tomcat by another
app, but they do utilize the Tomcat data sources I've set
Scott,
I have my Context config's in the META-INF folder of the first .com's
appBase directory. It's under \appBase\META-INF. Is this wrong?
There is no httpd involved in the system, only Tomcat (and I'm trying to
find the PECL dll's to get PHP to work ;) )
This should be all I have to add cor
Josh,
The second .com would just be another Host entry in server.xml. Don't
forget to add any Context configs in conf/Catalina/www.domain>.com just like your first domain.
As far as forwarding the .net to the .com, there are two ways of doing
that. If Tomcat is fronted by Apache httpd, you'l
My Tomcat configuration as of right now is set to serve on a .com domain. I
recently bought 2 more domains and want to host a different .com but use the
same installation of tomcat that I am using currently. Is this just another
declaration or would I need another declaration? Also what
about f