2009/7/19 Caldarale, Charles R
> > From: Varuna Seneviratna [mailto:varunasenevira...@gmail.com]
> > Subject: Re: Is it not possible to install apache-tomcat-6.0.20 with a
> > J2SE 5 JRE
> >
> > When I run the set up apache-tomcat-6.0.20.exe for WindowsXP I
> > get the message from the Tomcat Set
For what it's worth.
Every now and then tomcat throws that exception again.
I then shut down tomcat, touch the .policy file, start tomcat, and it works.
On Sat, Jul 18, 2009 at 9:29 PM, Lucas Vickers wrote:
> // == WEB APPLICATION PERMISSIONS
> =
>
>
>
Tomcat 6.0.18
Java 1.6.0_14
RedHat 5.2 Server
Oracle 10g
I've got an old web app that was originally spec'd in 1999. Last year, I
got
it migrated from Tomcat 3.2.4 for 6.0.16 and more recently from Java 1.4.2
to 1.6. I'm gradually trying to modernize it. I just converted from using
an old datab
// == WEB APPLICATION PERMISSIONS
=
// These permissions are granted by default to all web applications
// In addition, a web application will be given a read FilePermission
// and JndiPermission for all files and directories in its document root.
grant
> From: Lucas Vickers [mailto:lucasvick...@gmail.com]
> Subject: Re: tomcat 6 database pooling, DataSource returning NULL
> connection
>
> I am doing a static install and restarting my tomcat each time I
> make a file change, so I do not think this is the issue.
Actually, that's exactly the proc
> From: Lucas Vickers [mailto:lucasvick...@gmail.com]
> Subject: Re: Tomcat 6 database pooling causes HttpServlet class not
> found exception
>
> Well I can confirm that adding the classes to catalina.policy
> even when i am not explicitly running with -security , does fix the
> issue
What exactl
the inherent problem with multi-threaded model vs prefork n processes
http://blog.zakame.net/tips/apache2-worker-lowmem
http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Apache/Q_24192924.html
rule seems to be more than 1 CPU go with worker
1 CPU go with MPM
once you set
I am doing a static install and restarting my tomcat each time I make a file
change,
so I do not think this is the issue.
thanks tho
On Sat, Jul 18, 2009 at 8:41 PM, Konstantin Kolinko
wrote:
> See
>
> http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html#A%20word%20on%20Contexts
>
> Tomca
Well I can confirm that adding the classes to catalina.policy
even when i am not explicitly running with -security , does fix the issue
On Sat, Jul 18, 2009 at 8:48 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: David Smith [mailto:d...@cornell.edu]
> > Subject: Re: Tomca
> From: David Smith [mailto:d...@cornell.edu]
> Subject: Re: Tomcat 6 database pooling causes HttpServlet class not
> found exception
>
> and I see it looks like you have the JVM's security manager
> turned on.
What makes you think so? The doPrivileged() calls and SecureClassLoader usage
occur
See
http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html#A%20word%20on%20Contexts
Tomcat makes a copy of your META-INF/context.xml when the application
is deployed, and will not see changes to that file unless you fully
undeploy and redeploy your application.
2009/7/19 Lucas Vickers :
> w
> From: Varuna Seneviratna [mailto:varunasenevira...@gmail.com]
> Subject: Re: Is it not possible to install apache-tomcat-6.0.20 with a
> J2SE 5 JRE
>
> When I run the set up apache-tomcat-6.0.20.exe for WindowsXP I
> get the message from the Tomcat Setup as "Failed to install
> tomcat6 service
woops, email was sent prematurely
anyway, the full email:
META-INF/context.xml :
WEB-INF/web.xml :
TABS DB Connection
jdbc/tabscorp_tabsdb
javax.sql.DataSource
Container
Java Code:
InitialContext cxt = new InitialContext();
I am trying to configure database pooling in tomcat 6.
I have:
/META-INF/context.xml :
Tom,
I tried responding to you off-line, but alaska.gov does not seem to like your
mail address.
Basically, it sounds like you have a permissions problem with the account under
which Tomcat runs. By default, the Tomcat service runs as the Local System
account, so that account needs appropria
Odd,
I did not explicitly enable the security manager, but this makes sense. I
try logging directly from my servlet (by doing a stack trace into a log
file), which seems to be causing this issue.
thanks!
On Sat, Jul 18, 2009 at 6:13 PM, David Smith wrote:
> Oh... and I see it looks like you
32-bit
2009/7/19 Konstantin Kolinko
> Is you Windows 32-bit, or 64-bit one?
>
>
> 2009/7/18 Varuna Seneviratna :
> > Manually you can get it running But it is not possible to install using
> the
> > setup apache-tomcat-6.0.20.exe.
> >
> > Varuna
> >
> > 2009/7/18 Mark Thomas
> >
> >> Varuna Se
Is you Windows 32-bit, or 64-bit one?
2009/7/18 Varuna Seneviratna :
> Manually you can get it running But it is not possible to install using the
> setup apache-tomcat-6.0.20.exe.
>
> Varuna
>
> 2009/7/18 Mark Thomas
>
>> Varuna Seneviratna wrote:
>> > When I run the set up apache-tomcat-6.0.2
Oh... and I see it looks like you have the JVM's security manager turned
on. Have you made any adjustments to conf/catalina.policy? What's in
your logs when your webapp is started?
--David
David Smith wrote:
> I really doubt the database pooling is causing the issue. More likely
> your deploym
>
> there is a way to trace into a log file all the connections (and also every
> connection attempt) made into the "admin" tomcat webapp ? What I need to
> know is:
>
> login timestamp
> user
> src ip
>
It is called AccessLogValve,
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html
--
I really doubt the database pooling is causing the issue. More likely
your deployment is doing something to remove the servlet-api.jar or
duplicating it somewhere. What do you have in tomcat's lib directory
and in your webapp's WEB-INF/lib directory?
--David
Lucas Vickers wrote:
> Hello,
> I am
Hello,
I am trying to configure DB pooling in Tomcat 6. The combination of the
elements below causes the exception:
java.lang.ClassNotFoundException: javax.servlet.http.HttpServlet
I have followed the directions on
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
thorou
2009/7/17 Caldarale, Charles R :
>> From: Matt Sullivan [mailto:mjdsulli...@hotmail.com]
>> Subject: RE: net stop tomcat6 service hangs on Windows 2008 (64-bit)
>>
>> Never heard back from anyone, and I'm left assuming this is a bug,
>> albeit a difficult one to isolate.
>
> Refresh our memories -
Manually you can get it running But it is not possible to install using the
setup apache-tomcat-6.0.20.exe.
Varuna
2009/7/18 Mark Thomas
> Varuna Seneviratna wrote:
> > When I run the set up apache-tomcat-6.0.20.exe for WindowsXP I get the
> > message from the Tomcat Setup as "Failed to install
Please someone tell me about how tomcat uses JMX.I know about jmxproxy,if
someone please tell me how can one get information about a particular war
file like how much time its taking to open a particular class so that i can
know which class file is taking larger time on LOAD condition.
--
View th
Christopher Schultz wrote:
...
Hi Chris.
My 0.02 €.
I have been using both the prefork and worker versions of Apache 2.2,
along with mod_jk.
As far as I can tell, there is no problem in that respect with mod_jk.
However, the threaded (worker) version may give you problems if,
somewhere maybe d
Varuna Seneviratna wrote:
> When I run the set up apache-tomcat-6.0.20.exe for WindowsXP I get the
> message from the Tomcat Setup as "Failed to install tomcat6 service check
> your settings and permissions".I have the permissions.The only thing I think
> that is different from the setup needs is t
When I run the set up apache-tomcat-6.0.20.exe for WindowsXP I get the
message from the Tomcat Setup as "Failed to install tomcat6 service check
your settings and permissions".I have the permissions.The only thing I think
that is different from the setup needs is the JRE version.But the tomcat-
pre
28 matches
Mail list logo