Hi all,
Can somebody help me in solving this?
Regards
Binoy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 05 August 2004 16:06
To: [EMAIL PROTECTED]
Subject: RE: Problem with SSL configuration
Hi,
This is how my server.xml looks like
try the following out .. i've not tested it though :p
[logger]
level=INFO
[logger.file:0]
level=INFO
file=d:\\jakarta-tomcat-5.0.25\\logs\\jk2.log
[workerEnv:]
info=Global server options
timing=1
debug=0
logger=logger.file:0
[shm]
file=d:\\jakarta-tomcat-5.0.25\\work\\jk2.shm
size=1048576
##
On 8/6/2004 1:05 AM, [EMAIL PROTECTED] wrote:
maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" debug="0" scheme="https" secure="true">
className="org.apache.coyote.tomcat5.CoyoteConnector"
clientAuth="fals
Yes I tried that, still I get the same error.
Binoy
-Original Message-
From: Dennis Dai [mailto:[EMAIL PROTECTED]
Sent: 06 August 2004 09:12
To: Tomcat Users List
Subject: Re: Problem with SSL configuration
On 8/6/2004 1:05 AM, [EMAIL PROTECTED] wrote:
> maxThreads=
Hi!
Thanks a lot for the reply. We have tried all this and also followed the
tomcat doc but still not able to connect the application to the db2
database.
Regards
Bhaskar
- Original Message -
From: "Pradeep Chauhan" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent:
Hi everyone,
Sorry to bother you, but at the end of the page:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html
There is a broken link to:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/
It is not that I need a so special configuration at the time, but I am lost
Ok then do one thing post your web.xml and server.xml
-Original Message-
From: Bhaskar Jyoti Phukan [mailto:[EMAIL PROTECTED]
Sent: 06.08.2004 15:13
To: Tomcat Users List
Subject: [SPAM_EMAIL] - Database connection - Found word(s) list error in
the Text body.
Hi!
Thanks a lot for the r
HI Thanks a lot. I am sending the server.xml and web.xml files below.
Server.xml
-
-
-
-
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
-
pathname
conf/tomcat-users.xml
-
-
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
Hi Guys,
Our developers use the same log4j configuration file, but have separate instances of
tomcat on the server. At the moment we have to do a search and replace for the File
attribute to make sure the directory is correct per developer instance.
At the moment this works for an instance ...
Hi ,
In GlobalResource you have declared 2 resource
1. EIRPDB1
2. jdbc/db2
In defination section you deifne EIRPDB1 and jdbc/db2
In web.xml you refer 'jdbc/db2'
i guess you are using jdbc/db2 to connect to DB2
but you forget to copy paste the Context of you application where you h
> >loadClass method, and it is not reporting anything, and to the best of
> >my knowledge, an error should terminate the JVM right?
>
> No, it shouldn't. You can catch errors also by catching Throwable
> instead of Exception.
>
Thanks very much for this bit of advice, as it turns out it was th
Hi,
The WAR structure looks good. Try unpacking it and copying the
directory into Tomcat's webapps directory: that is, try deploying an
unpacked webapp as opposed to a packed WAR, and see what happens.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Piotr Galeck
Hi,
You have to include the variable as ${varName} in your File attribute,
e.g. ${user.dir}/logs/myLog. See
http://marc.theaimsgroup.com/?l=log4j-user&m=108609662415067&w=2.
However, I recommend a more robust approach. Maybe this is because I
dislike relying on platform-specific settings like e
Hi,
It's not a bother: thanks for reporting the broken link. I've fixed it in CVS and the
site will be updated during our next release.
For now, use the main JK documentation link ("JK Documentation" from the Reference
section of the Tomcat 5 Docs home), or just bookmark
http://jakarta.apache
Great, that worked, thanks. By the way Yoav, I have added the LogFactory.shutdown() to
the context listeners and will be keeping an eye on whether the ThreadDeath problem
occurs again.
I'll update the bug next week with my findings.
Cheers, Allistair
> -Original Message-
> From: Shapir
My attempts to abate this error are proving quite fruitless. So I was
wondering... what is the preferred method to programatically reload a
class in Tomcat? I've searched the web but I am stuck.
Thanks
Ben
-
To unsubscribe, e-m
Hi,
Good, I hope it works. Have a good weekend,
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Allistair Crossley [mailto:[EMAIL PROTECTED]
>Sent: Friday, August 06, 2004 9:18 AM
>To: Tomcat Users List
>Subject: RE: Cannot get log4j logs into tomcat logs folder
Hi,
You can simply set reloadable="true" for your Context and Tomcat will
monitor your classes and reload the webapp (not just the class) as
needed. You can also programmatically invoke the Manager webapp and use
its reload feature.
Yoav Shapira
Millennium Research Informatics
>-Original M
> You can simply set reloadable="true" for your Context and Tomcat will
> monitor your classes and reload the webapp (not just the class) as
> needed. You can also programmatically invoke the Manager webapp and use
> its reload feature.
What if these classes aren't located in the Tomcat directory
Hi,
Then you have to write your own custom Loader to handle this. But don't
expect much help or support, as you're going outside the Servlet Spec
and most people stop caring as much ;)
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EM
Why must I write a custom Loader, isn't URLClassLoader already suited
for this task? What is it about URLClassLoader that makes it
incompatable with Tomcat?
> Then you have to write your own custom Loader to handle this. But don't
> expect much help or support, as you're going outside the Servle
Hi,
URLClassLoader is not a reloader. Why did you get the idea it is?
There's nothing in it that's incompatible with Tomcat, in fact Tomcat
just extends it and uses its code.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE
I apologize for not being clear the first time. My class loading scheme
works by first loading classes with a URLClassLoader and then when the
program wants to reload them, it creates a new URLClassLoader whose
parent is the first URLClassLoader, thus staying within the delegation
model of class
Since this is a nice active list of plenty of developers and I have no
other idea where I can post theses questions...
My questions are concerning source control in general
1- Is there any good books, articles, web sites tutorials...
2- May I pick the brains of a few of you guys...
Now here is my
Hola, (or perhaps, Kalimera?)
>Since this is a nice active list of plenty of developers and I have no
>other idea where I can post theses questions...
>
>My questions are concerning source control in general
We ask that you prepend [OFF-TOPIC] to the subject line of messages not
related to Tomca
Shapira, Yoav wrote:
Hola, (or perhaps, Kalimera?)
Since this is a nice active list of plenty of developers and I have no
other idea where I can post theses questions...
My questions are concerning source control in general
We ask that you prepend [OFF-TOPIC] to the subject line of messages
Hola,
>But what happens, when both products depend/share functionality on this
>component simultanously.
Product1 depends on version 1 of DB1. Product2 depends on version 2 of
DB1. Substitute "version" in the above sentence with "branch" and this
is supported by all modern source control syste
On Friday 06 August 2004 11:36 am, Anastasios Angelidis wrote:
> >The general approach is to set up a separate "component" in source
> >control for each component of your code that can be depended upon. All
> >modern source control systems allow you to label branches, so you can
> >have a DB1_1.0
I am trying to deploy my prototype shoppingcart application onto linux
environment , i am using apache tomcat4.0.4, and struts 1.1. The same
application was deployed successfully on windows. I have copied
prototype.war into /var/lib/tomcat4/webapps.
restarted tomcat as /etc/init.d/tomcat4 restart
On Friday 06 August 2004 11:52 am, Shilpa Nalgonda wrote:
> I am trying to deploy my prototype shoppingcart application onto linux
> environment , i am using apache tomcat4.0.4, and struts 1.1. The same
> application was deployed successfully on windows. I have copied
Did you by chance make *any
Robert Bateman wrote:
On Friday 06 August 2004 11:36 am, Anastasios Angelidis wrote:
The general approach is to set up a separate "component" in source
control for each component of your code that can be depended upon. All
modern source control systems allow you to label branches, so you can
ha
Hi,
We are using eclipse with tomcat to deploy our web application that uses
oracle data source. Following steps were performed to get connection
pool:
1) Changes in server.xml of tomcat , added these lines
in application context
factory
org.apache.co
Nope i di dnot make any cnages there...
-Original Message-
From: Robert Bateman [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 11:52 AM
To: Tomcat Users List
Subject: Re: application not working on unix.
On Friday 06 August 2004 11:52 am, Shilpa Nalgonda wrote:
> I am trying to
Hi Yoav,
I'm afraid no success using this method;
public void contextDestroyed(ServletContextEvent scE) {
LogManager.shutdown();
LogFactory.releaseAll();
logger.info("Renewals Application Destroyed");
}
The following stack trace oc
Hi,
Did you see this part:
"the eventual following stack trace is caused by an error thrown for
debugging purposes as well as to attempt to terminate the thread which
caused the illegal access, and has no functional impact)"
?
Yoav Shapira
Millennium Research Informatics
>-Original Message
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've been going nuts trying to diagnose two applications I'm working on,
which seem to crash if a user opens 8 (maybe 9) servlets that use
sendRedirect(), in a row.
These do not return anything to the user (to the extent of not
retrieving a PrintWriter
I am trying to deploy my prototype shoppingcart application onto linux
environment , i am using apache tomcat4.0.4, and struts 1.1. The same
application was deployed successfully on windows. I have copied
prototype.war into /var/lib/tomcat4/webapps.
restarted tomcat as /etc/init.d/tomcat4 restart
Hi,
There might be some browser checks for this sort of stuff. I remember
reading about a virus that repeatedly redirected a hidden frame to its
own URL for reading session data (cookies), and subsequently Microsoft
and other vendors putting safeguards in their browsers against this sort
of behav
Hello!
Do I have to map all the servlets that my application uses in web.xml?
I am using Tomcat 5.0 on Windows.
I didn't have to do this on Tomcat 4.1 on Linux.
Thanks.
Deepa
Hi,
http://jakarta.apache.org/tomcat/faq/misc.html#invoker
You should map them all. If you really dislike that, comment the
invoker servlet back in.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Deepa Ramamurthy [mailto:[EMAIL PROTECTED]
>Sent: Friday, August
As the default invoker servlet is now disabled by default you have to
register your servlets in web.xml so in short, yes. If I am not correct
here somebody please correct me so I can also update my knowledge but
this is how I understand it currently.
Deepa Ramamurthy wrote:
Hello!
Do I have to
Server: SunOS 5.9 Generic_112233-07 sun4u sparc SUNW,Ultra-250
Apache: 2.0.47
Tomcat: 4.1.29
Our server is used by divisions in multiple timezones, so the system clock
is set to UTC to simplify log writing etc;
Each system user--including root--has a profile which masks the system
clock to the ap
Use the JAVA_OPTS option on startup to set the timezone property.
-Tim
David Rickard wrote:
Server: SunOS 5.9 Generic_112233-07 sun4u sparc SUNW,Ultra-250
Apache: 2.0.47
Tomcat: 4.1.29
Our server is used by divisions in multiple timezones, so the system
clock is set to UTC to simplify log writing
Hey folks:
I got a stack dump of all threads in tomcat, when tomcat was not
responding, and looks like the
TP Monitor is also blocked. I saw GC ( garbage collector ) also blocked.
"TP-Monitor" daemon prio=1 tid=0x088334f8 nid=0x1fcd in Object.wait()
[a6b8b000..a6b8b87c]
at java.lang.Objec
Here's what I want to do:
After Tomcat has been restarted, I want to recompile all of the JSPs in a
certain directory (and all child directories). I wrote a servlet that does
this and works fine when I run it in command line after Tomcat boots. I
want to precompile so the first visitor to a JS
I am getting this error when i start my Tomcat 4.0.4 insatance, with struts
application.
what exactly is this?
Aug 6, 2004 8:02:11 AM org.apache.commons.digester.Digester getParser
SEVERE: Digester.getParser:
java.security.AccessControlException: access denied
(java.lang.RuntimePermission getClass
this is what you are looking for:
http://cvs.apache.org/~fhanik/precompile.html
Filip
- Original Message -
From: "Dan" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, August 06, 2004 2:54 PM
Subject: RE: Compile all JSPs on startup
Here's what I want to d
and this you can do before tomcat even starts up! imagine that :)
Filip
- Original Message -
From: "Filip Hanik - Dev" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, August 06, 2004 3:20 PM
Subject: Re: Compile all JSPs on startup
this is what you are look
Shilpa Nalgonda wrote:
Nope i di dnot make any cnages there...
-Original Message-
From: Robert Bateman [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 11:52 AM
To: Tomcat Users List
Subject: Re: application not working on unix.
On Friday 06 August 2004 11:52 am, Shilpa Nalgonda wrot
Maybe the more direct question is: Are you running with the Security
Manager on at your desktop? If not, get a copy of the server's policy
file, and refer to the Security Manager How-To to make sure that you're
correctly mimicking the permissions on the server on your desktop. An
AccessControlExc
Hello, list!
I am currently busting my brain over this problem... I have the following class:
package net.olaes;
import java.lang.String;
public class NumAndString {
private static int iNum;
private static String sString;
public NumAndString(int iNum, String sString){
this.iNum = iNu
Your intended instance members are static. That means that all
instances of the class share them. That's not what you want.
Benjamin J. Armintor
Operations Systems Specialist
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]
-Origin
The problem is that your data members are static. That means that for each
instance of the class, they all point to the same data member.
Robert S. Harper
801.265.8800 ex. 255
> -Original Message-
> From: Thomas Joseph Olaes [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 06, 2004 3:05 PM
-> remove the static keyword,
package net.olaes;
import java.lang.String;
public class NumAndString {
private int iNum; //should NOT be static
private String sString;
public NumAndString(int iNum, String sString){
this.iNum = iNum;
this.sString = sString;
}
- Original Mess
Hi!
It seems that setting "Content-Length" header on response commits that
response (which shouldn't happen).
protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
httpServletResponse.setIntHeader("Content-Length", 0);
Hi,
You havent mentioned where the code is deployed.
It might be in ROOT or a webapp of your own; either way this is a case
of not finding the jndi resource.
You ought to insert the resource entry in server.xml inside the Context
which you plan to use the resource.
You can opt to define the resou
I have Single site logon working great with my application, however, I am
having a hard time trying to figure out how to log the user out when they
select log out.
Anyone..please
Keith
Have you ever noticed that the word 'complaint' and 'compliant' are spelled
almost the same except t
I dont think a static member is what you wanted. What you seem to want
to is to store a data object.
That be the case there is no point making them static. remove the static
key word in.
private static int iNum;
private static String sString;
and try.
Gig 'em,
Ciji Isen
ps: If you where to use
Hi,
Well I suppose you are storing something in the session to store
validation flag or you might be persisting a struts form object.
Either way you can just remove that object or just invalidate the session.
session.removeValue("value")
or session.invalidate()
Thats my take on your question.:-)
That was how I did handle it when I rolled my own security model through a
base action. But now that I am using Single Site Logon it sets a Principal
on the HttpServletRequest and I do not know how to invalidate the Principal.
In Tomcat you can actually retrieve the user name and password that was
Thanks alot everyone!
For some reason I thought I had to declare a class variable static so
the different functions inside would be able to access the variable.
-TJ
On Fri, 06 Aug 2004 16:32:40 -0500, Isen,Ciji <[EMAIL PROTECTED]> wrote:
> I dont think a static member is what you wanted. What yo
I don't believe this will work. I need something that runs automatically
when Tomcat is restarted, and I prefer to do it without external scripts or
batch files, etc..
At 04:20 PM 8/6/2004, you wrote:
this is what you are looking for:
http://cvs.apache.org/~fhanik/precompile.html
Filip
- Or
What I ended up doing was to spawn a Thread from my servlet class. This
thread waits for 60 seconds and then fetches the JSP pages. Not the best
solution but it works for now.
At 03:54 PM 8/6/2004, you wrote:
Here's what I want to do:
After Tomcat has been restarted, I want to recompile all of
Got it!
Set all of the cookies max age to 0, and then call invalidate() on the
session. In addition have the Action's success forward with redirect set to
true and walla totally leveraged SSO integrated into your application with
little to no effort.
Keith
-Original Message-
From: Keith
On Fri, Aug 06, 2004 at 02:57:21PM -0700, Thomas Joseph Olaes wrote:
: For some reason I thought I had to declare a class variable static so
: the different functions inside would be able to access the variable.
Only if those methods themselves are static.
static data = class data = used in a sta
:I need something that runs
:automatically when Tomcat is restarted, and I prefer to do it without
:external scripts or batch files, etc..
If you don't mind me asking, what's your end-goal in all of this?
If you treat app deployment/changes as formal migrations (and I realize
some shops do not),
It looks like lots of people are having various kinds of problems
involving pools, and threads, and connections (perhaps to databases),
and starvation, and hanging, and such. (In fact, it was to ask
about just such a problem that I joined this list.) I don't have
all the information yet, but I've
I've tried getting someone from the "magnolia" development to respond
to their
mailing list NO LuCk?
So I'm hoping someone here can help me.
Basically, if you are not already familiar with the Magnolia CMS, it
consists of two Tomcat Instances. Author an Public respectively.
Here is the outp
68 matches
Mail list logo