Document

2004-08-25 Thread mmanders
--  Virus Warning Message (on uusnwa0p)  --

Found virus WORM_NETSKY.Z in file Important.txt
   
  .exe (in Important.zip)
The uncleanable file is deleted.

-
Important document!


--  Virus Warning Message (on uusnwa0p)  --

Important.zip is removed from here because it contains a virus.

-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Problems deploying an example application

2004-08-25 Thread Davide Bruzzone
Greetings all...

I'm trying to deploy OJB's example servlet to test
end-to-end connectivity between the browser and the
database via OJB. I successfully built ojb-servlet.war
(BTW, I'm using OJB 1.0 RC 7) but am having trouble
running it on Tomcat 5.0.27...

I've configured Tomcat as follows:

- I dropped ojb-servlet.war into Tomcat's webapps
directory. When Tomcat starts up, it explodes the WAR
into webapps/ojb-servlet.
- I added the following context to Tomcat's server.xml



- I added the following to Tomcat's web.xml (For some
reason, there's no web.xml in ojb-servlet/WEB_INF):


  ojb-servlet
 
org.apache.ojb.servlet.TestServlet
  1


...


  ojb-servlet
  *.tst


When I fire Tomcat up and enter
http://localhost:8080/foo.tst into my browser, I get
the following exception:

java.io.IOException: Can't read repository file
'/Users/davide/Desktop/jakarta-tomcat-5.0.27/webapps/ojb-servlet/WEB-INF/classes/repository.xml'

org.apache.ojb.servlet.TestServlet.getTableIterator(Unknown
Source)
org.apache.ojb.servlet.TestServlet.doGet(Unknown
Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

I've attached Tomcat's log file to this message...

My OJB.properties and repository.xml files (both of
which are required for OJB's runtime configuration)
are in
the ojb-servlet/WEB-INF/classes directory. I've tried
using either a relative or absolute path to
repository.xml in the OJB.properties file. No luck...

However, Tomcat's log file seems to be indicating that
Tomcat can't even find the test servlet. I presume
that this is having a knock-on effect that's
preventing the Web app's context, classpath, etc. from
being set up properly...

Any suggestions/ideas would be greatly appreciated at
this point as I've run out of ideas...

Cheers...

Dave Bruzzone



___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush2004-08-23 20:01:59 StandardContext[/manager]Marking servlet ojb-servlet as unavailable
2004-08-23 20:01:59 StandardContext[/manager]Error loading WebappClassLoader
  delegate: false
  repositories:
--> Parent Classloader:
StandardClassLoader
  delegate: true
  repositories:
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/classes/
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/catalina-ant.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/catalina-cluster.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/catalina-i18n-es.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/catalina-i18n-fr.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/catalina-i18n-ja.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/catalina-optional.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/catalina.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/commons-beanutils.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/commons-digester.jar

file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/commons-fileupload-1.0.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/commons-modeler.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/jakarta-regexp-1.3.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/jkconfig.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/jkshm.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/servlets-common.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/servlets-default.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/servlets-invoker.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/servlets-webdav.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/tomcat-coyote.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/tomcat-http11.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/tomcat-jk.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/tomcat-jk2.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/tomcat-jni.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/server/lib/tomcat-util.jar
--> Parent Classloader:
StandardClassLoader
  delegate: true
  repositories:
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/common/classes/
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/common/endorsed/xercesImpl.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/common/endorsed/xml-apis.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/common/lib/ant-launcher.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/common/lib/ant.jar

file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/common/lib/commons-collections-2.1.1.jar
file:/Users/davide/Desktop/jakarta-tomcat-5.0.27/common/lib/commons-db

Michel Durlin est absent(e)

2004-08-25 Thread Michel . Durlin
Je serai absent(e) du  23/08/2004 au 13/09/2004.






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Access JBoss from Tomcat

2004-08-25 Thread Robert F. Hall
What, you don't like web services ;-)
Robert
Filip Hanik (lists) wrote:
just access the EJBs the same way its been done since the spec started.
Lookup the EJB through JNDI, then invoke its method.
Filip
-Original Message-
From: Robert F. Hall [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 5:50 PM
To: Tomcat Users List
Subject: Re: Access JBoss from Tomcat
Howdy,
You could access your JBoss hosted EJBs as web services.  It's been
awhile since I did it,
but as I recall it was pretty straight forward to present an EJB as a
web service using JBoss/Axis.
You won't need to secure your web services since the host is on your
internal network and
can be prottected from external access.
You'll need WSDL definitions and then can use
org.apache.axis.wsdl.WSDL2Java to generate
Java client code.  JBoss provides some assistance for presenting an EJB
as a web service,
see org.jboss.net.axis.server.EJBProvider.
Direct access to the EJBs would also be possible, with the client code
residing in your
perimeter Tomcat server.
HTH,
Robert
Darryl L. Pierce wrote:
 

I have a Tomcat server running on the perimeter of my network. I am trying
   

to
 

add some EJBs to the architecture to handle some authentication tasks for
users. I need this work to be done within the network, so don't want to put
JBoss on the perimeter. I want to access my JBoss server from my Tomcat
server.
How do I configure Tomcat to talk to JBoss? All links I find online talk
   

about
 

JBoss with Tomcat within it, and I've not found any information on
configuring a standalone Tomcat to talk to JBoss. My Tomcat server is
   

4.1.30
 

and my JBoss server is 3.2.5.
Any help is appreciated.
   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat causes Apache to hang. Any ideas?

2004-08-25 Thread Brad McEvoy

I had a similar problem on RH EL just a couple of weeks ago. Might not be
the same as yours, though, because in my case apache wasnt hung, just
tomcat. but that might just be a difference in versions, so i'll share it
anyway.

Here's what i did..

I used kill -QUIT on the tomcat process after it had hung to find a stack
trace of the tomcat threads. This showed that every thread was blocked on a
synchronized statement in program code. I investigated it (thoroughly!) and
concluded that there is a bug in the JVM on this OS related to synchronized
statements, only manifesting itself occasionally and under certain
conditions. I refactored my code slightly around this and it appears to have
fixed the problem.

I'd be interested in hearing how it works out for you.

-Original Message-
From: Sean Finkel [mailto:[EMAIL PROTECTED]
Sent: Thursday, 26 August 2004 2:07 AM
To: Tomcat User
Subject: Tomcat causes Apache to hang. Any ideas?


Hello,
First a brief background on the setup:
We are running Apache 1.3.31 utilizing mod_jk (not jk2). We are running 
two instances of Tomcat. Previously, both were version 4. Currently, we 
have one shared instance running the latest 5.x release (just compiled 
yesterday). We have one customer running a private 4.x instance.

With that said, we just moved to a new server (Dual Xeon, RHEL 3.0) and 
now the problem we are having is the customer who has this private 
instance has jsp pages that "hang". But, it does not hang all the time. 
What's weird, is most of the time, I can stop the shared instance and 
the customer's pages will stop hanging. I would like to fix the hanging 
completely, obviously.

Today though, the only thing that kept his pages from hanging was a full 
reboot. I am wondering if this is related to swap space usage. I don't 
know what else it would be, as I stopped/started his tomcat and apache 
numerous times. I tried using a different connector (AJP instead of Coyote).

Could this last problem be due to running tomcat5 *and* tomcat 4? I 
would say no, as that makes no sense this would be the case, especially 
when it (still)occurred after stopping the Tomcat 5 instance.

Essentially what happens is, Apache receives the request for the page, 
hands it off to Tomcat, tomcat returns half of the page (header/left 
menu) and just sits there. Hitting "stop" on the browser stops the 
transfer, however Tomcat never releases the Apache process. So we end up 
with dozens, sometimes hundreds of Apache processes that are "hung" by 
tomcat. This results in memory usages exceeding 2gb!

Has anyone experienced similar problems or have any suggestions?

-Sean Finkel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Access JBoss from Tomcat

2004-08-25 Thread Filip Hanik \(lists\)
just access the EJBs the same way its been done since the spec started.
Lookup the EJB through JNDI, then invoke its method.

Filip

-Original Message-
From: Robert F. Hall [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 5:50 PM
To: Tomcat Users List
Subject: Re: Access JBoss from Tomcat


Howdy,

You could access your JBoss hosted EJBs as web services.  It's been
awhile since I did it,
but as I recall it was pretty straight forward to present an EJB as a
web service using JBoss/Axis.
You won't need to secure your web services since the host is on your
internal network and
can be prottected from external access.

You'll need WSDL definitions and then can use
org.apache.axis.wsdl.WSDL2Java to generate
Java client code.  JBoss provides some assistance for presenting an EJB
as a web service,
see org.jboss.net.axis.server.EJBProvider.

Direct access to the EJBs would also be possible, with the client code
residing in your
perimeter Tomcat server.

HTH,
Robert

Darryl L. Pierce wrote:

>I have a Tomcat server running on the perimeter of my network. I am trying
to
>add some EJBs to the architecture to handle some authentication tasks for
>users. I need this work to be done within the network, so don't want to put
>JBoss on the perimeter. I want to access my JBoss server from my Tomcat
>server.
>
>How do I configure Tomcat to talk to JBoss? All links I find online talk
about
>JBoss with Tomcat within it, and I've not found any information on
>configuring a standalone Tomcat to talk to JBoss. My Tomcat server is
4.1.30
>and my JBoss server is 3.2.5.
>
>Any help is appreciated.
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Access JBoss from Tomcat

2004-08-25 Thread Robert F. Hall
Howdy,
You could access your JBoss hosted EJBs as web services.  It's been 
awhile since I did it,
but as I recall it was pretty straight forward to present an EJB as a 
web service using JBoss/Axis.
You won't need to secure your web services since the host is on your 
internal network and
can be prottected from external access.

You'll need WSDL definitions and then can use 
org.apache.axis.wsdl.WSDL2Java to generate
Java client code.  JBoss provides some assistance for presenting an EJB 
as a web service,
see org.jboss.net.axis.server.EJBProvider.

Direct access to the EJBs would also be possible, with the client code 
residing in your
perimeter Tomcat server.

HTH,
Robert
Darryl L. Pierce wrote:
I have a Tomcat server running on the perimeter of my network. I am trying to 
add some EJBs to the architecture to handle some authentication tasks for 
users. I need this work to be done within the network, so don't want to put 
JBoss on the perimeter. I want to access my JBoss server from my Tomcat 
server.

How do I configure Tomcat to talk to JBoss? All links I find online talk about 
JBoss with Tomcat within it, and I've not found any information on 
configuring a standalone Tomcat to talk to JBoss. My Tomcat server is 4.1.30 
and my JBoss server is 3.2.5.

Any help is appreciated.
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Request parameters in catalina.out

2004-08-25 Thread Mike Curwen
Thanks Benjamin!

There was no debug info proceeding the dump, but by changing my log4j config
to:

log4j.category.org.apache.jk=WARN, filer
log4j.additivity.org.apache.jk=false
 
, it has shut off the request dumping.



> -Original Message-
> From: Benjamin Armintor [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 25, 2004 3:16 PM
> To: Tomcat Users List
> Subject: RE: Request parameters in catalina.out
> 
> 
> I wouldn't say "mis-configured".  When I changed from a 
> similar configuration to a logger for all the jk stuff (e.g. 
> log4j.category.org.apache.jk=WARN,filer), the request dumps 
> went away. I think the issue was that the commons logging 
> wrapper for a non-existent logger had a level of 0, which 
> registered as "trace enabled", which meant some classes in 
> the jk package dumped the whole request.  For me, it was file 
> uploads, so catalina.out was very large indeed.  I also had a 
> clue in that the catalina.out entry was prefixed by some 
> debugging information from the jk classes.  Is there anything 
> preceding the dump of the request body in your logs?  Like 
> "Data: ..."?
> 
> Benjamin J. Armintor
> Operations Systems Specialist
> ITS-Systems: Mainframe Group
> University of Texas - Austin
> tele: (512) 232-6562
> email: [EMAIL PROTECTED]
>  
> 
> 
> -Original Message-
> From: Mike Curwen [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 24, 2004 7:18 PM
> To: 'Tomcat Users List'
> Subject: RE: Request parameters in catalina.out
> 
> 
> Just a "me too".
>  
> Slackware 9.1
> Apache 2 (sorry, can't find minor version)
> Tomcat 4.1.30
> JK 1.2
> 
> 
> I get the same sort of thing in my catalina.out, and only on 
> POST submissions.  If I switch my form temporarily to GET, 
> the dump goes away.
> 
> 
> Here's my server.xml (which has been trimed from the 'out of the box'
> one):
> 
> 
> 
>className="org.apache.catalina.mbeans.ServerLifecycleListener"
> debug="0"/>
>className="org.apache.catalina.mbeans.GlobalResourcesLifecycle
> Listener"
> debug="0"/>
> 
>   
>   
> 
> 
> port="8080" minProcessors="5" maxProcessors="75"
>enableLookups="true" redirectPort="8443"
>acceptCount="100" debug="0" connectionTimeout="2"
>useURIValidationHack="false" 
> disableUploadTimeout="true" />
> 
>  
> port="11009" 
>minProcessors="5" 
>maxProcessors="150"
>enableLookups="true" 
>redirectPort="8443"
>acceptCount="10" 
>debug="0" 
>connectionTimeout="2"
>useURIValidationHack="false"
>  
> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"
>  />
> 
> 
> 
> 
>   
>  prefix="hosts_log." suffix=".txt"
>   timestamp="true"/>
> 
> debug="0" resourceName="UserDatabase"/>
> 
>  
>   
>  debug="0" 
>   appBase="webapps" 
>   unpackWARs="true" 
>   autoDeploy="true">
> 
>className="org.apache.catalina.logger.FileLogger"
>directory="logs"
> prefix="localhost_log."
> suffix=".txt"
>   timestamp="true" />
> 
> 
>   
>   
>   
>   
> 
>   docBase="/home/data3/me20/"
>defaultSessionTimeOut="60"
>reloadable="true" >
>
>type="javax.mail.Session"/>
>   
>   
>   mail.smtp.host
>   
> mail.globallyboundless.com
>   
>   
> 
>   
> 
> 
> 
> 
> 
>   
> 
> 
> 
>  
> Where's my dumper?
> 
> 
> 
> As for log4j, I've got a log4j file at 
> $CATALINA_HOME/common/classes that
> contains: 
> log4j.category.org.apache.jk.common.ChannelSocket=WARN, filer 
> log4j.additivity.org.apache.jk.common.ChannelSocket=false
> log4j.category.org.apache.jk.server.JkCoyoteHandler=WARN, 
> filer log4j.additivity.org.apache.jk.server.JkCoyoteHandler=false
> 
> 
> log4j.appender.filer=org.apache.log4j.RollingFileAppender
> log4j.appender.filer.layout=org.apache.log4j.PatternLayout
> log4j.appender.filer.layout.ConversionPattern=%-5p %c - [%m] 
> %d{ISO8601}%n 
> log4j.appender.filer.File=/usr/local/applications/tomcat-4.1.3
> 0-1/logs/d
> ebug
> .catalina
> log4j.appender.filer.MaxFileSize=100KB
> log4j.appender.filer.MaxBackupIndex=4
>  
> This was an attempt (so far successful) to shut off messages 
> like: [Thread-14] INFO common.ChannelSocket  - connection 
> timeout reached and [Thread-121] INFO server.JkCoyoteHandler  - RESET
>  
> Is it mis-configured?
> 
> Thanks,
> 
> 
> MC
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL P

Re: Tomcat deployment issue

2004-08-25 Thread David Chang
Great suggestion.  I'll try to create a new context to put the data in.

DC

- Original Message - 
From: "QM" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, August 24, 2004 7:30 PM
Subject: Re: Tomcat deployment issue


> : I'm new to tomcat and trying to figure out how to deploy a WAR file
without deleting all the contents of the old application.
> : [snip]
> : The reason I want to do this is because my data and program files are
all under the same hierarchy.  I want to replace my programs, but not my
data.  I tried using a symbolic link for my data directory, but tomcat
followed the symbolic link and deleted everything in there when expanding
the new WAR file.
>
> You'll benefit, in the long run, from an application redesign.  Java
> webapps are meant to be somewhat self-contained bundles, which is why
> you have the option of deploying in a neat WAR file.  (I may be
> mistaken,  but I recall the spec says it's optional for a container to
> support the exploded-dir format.)
>
> Questions to consider:
>
> - What if your app grows, and needs to be spread amongst 2+ clustered
>   servers?  Where would the data go then?
>
> - How do you migrate from dev -> testing -> production?
>
> etc
>
> Find another place outside of the webapp to put your data, such as
> another directory (specified as a context param or in a properties
> file).
>
> -QM
>
> -- 
>
> software  -- http://www.brandxdev.net
> tech news -- http://www.RoarNetworX.com
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



client authentification to my web service

2004-08-25 Thread Daniel Sánchez Gómez
I'am using Tomcat 5.0 + Axis 1.1

How can I configure my Tomcat 5.0 to request client authentification.

My server.xml is:

 
 
 But I don't know if is it correct and which are the next steps.

 Thank you,
Dani

 ---
  mailto:[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Request parameters in catalina.out

2004-08-25 Thread Benjamin Armintor
I wouldn't say "mis-configured".  When I changed from a similar
configuration to a logger for all the jk stuff (e.g.
log4j.category.org.apache.jk=WARN,filer), the request dumps went away.
I think the issue was that the commons logging wrapper for a
non-existent logger had a level of 0, which registered as "trace
enabled", which meant some classes in the jk package dumped the whole
request.  For me, it was file uploads, so catalina.out was very large
indeed.  I also had a clue in that the catalina.out entry was prefixed
by some debugging information from the jk classes.  Is there anything
preceding the dump of the request body in your logs?  Like "Data: ..."?

Benjamin J. Armintor
Operations Systems Specialist
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]
 


-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 24, 2004 7:18 PM
To: 'Tomcat Users List'
Subject: RE: Request parameters in catalina.out


Just a "me too".
 
Slackware 9.1
Apache 2 (sorry, can't find minor version)
Tomcat 4.1.30
JK 1.2


I get the same sort of thing in my catalina.out, and only on POST
submissions.  If I switch my form temporarily to GET, the dump goes
away.


Here's my server.xml (which has been trimed from the 'out of the box'
one):



  
  

  
  




 





  
  

  

 












 



mail.smtp.host

mail.globallyboundless.com









  



 
Where's my dumper?



As for log4j, I've got a log4j file at $CATALINA_HOME/common/classes
that
contains: log4j.category.org.apache.jk.common.ChannelSocket=WARN, filer
log4j.additivity.org.apache.jk.common.ChannelSocket=false
log4j.category.org.apache.jk.server.JkCoyoteHandler=WARN, filer
log4j.additivity.org.apache.jk.server.JkCoyoteHandler=false


log4j.appender.filer=org.apache.log4j.RollingFileAppender
log4j.appender.filer.layout=org.apache.log4j.PatternLayout
log4j.appender.filer.layout.ConversionPattern=%-5p %c - [%m]
%d{ISO8601}%n
log4j.appender.filer.File=/usr/local/applications/tomcat-4.1.30-1/logs/d
ebug
.catalina
log4j.appender.filer.MaxFileSize=100KB
log4j.appender.filer.MaxBackupIndex=4
 
This was an attempt (so far successful) to shut off messages like:
[Thread-14] INFO common.ChannelSocket  - connection timeout reached and
[Thread-121] INFO server.JkCoyoteHandler  - RESET
 
Is it mis-configured?

Thanks,


MC


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Setting up Mobius DDRINT V2.x with TOMCAT: who has a working configuration?

2004-08-25 Thread Hensley, Doug
I would like to get in touch with other users of TOMCAT who have configured Mobius's 
Document Direct for the Internet V2.1 to function as a thin client for the MVS Mobius 
regions.

Thanks in advance for any contact.  Feel free to contact me direct as I am on this 
list in the digest mode and will not see responses until tomorrow.

Doug Hensley
(225) 381-6728
[EMAIL PROTECTED]



Disclaimer:
This electronic message, including any attachments, is confidential and intended 
solely for use of the intended recipient(s). This message may contain information that 
is privileged or otherwise protected from disclosure by applicable law. Any 
unauthorized disclosure, dissemination, use or reproduction is strictly prohibited. If 
you have received this message in error, please delete it and notify the sender 
immediately. 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: java.security.AccessControlException: access denied

2004-08-25 Thread Shilpa Nalgonda
i was able to get this fixed by replacing the
permission java.io.FilePermission "C:\\Program Files\\Apache Group\\Tomcat
4.1\\certs\\-", "read";

with
permission java.io.FilePermission "<>", "read";



-Original Message-
From: Benjamin Armintor [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 1:23 PM
To: Shilpa Nalgonda
Subject: RE: java.security.AccessControlException: access denied


That's really curious.  I'd try two things:
1) change the file permission to this:
permission java.io.FilePermission "<>", "read";

If that works, then there's a problem with the path in the file
permission.  If that doesn't work, then...

2) add a java.security.AllPermission permission (for testing only) If
that doesn't work, then this is not the policy file in use.  If it does,
then another permission is missing, and the exception is being
misreported.

Again, I'd also try writing a JSP that creates a java.io.File at the
certs location, and calls File#canRead() in a
try{}catch(SecurityException) block to make sure that we're looking at
the right problem.

Benjamin J. Armintor
Operations Systems Specialist
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]

-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 5:36 PM
To: Tomcat Users List
Subject: RE: java.security.AccessControlException: access denied


I wrote a jsp file to read the cert file from the C:/certs dir.  Initially i
got the same error,
then i changed the catalina.policy file to include file name
  permission java.io.FilePermission "C:/certs/f73e89fd.0", "read";

and it worked.

But for some reason the verisign authentication still shows the same error.

-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 4:50 PM
To: Tomcat Users List
Subject: RE: java.security.AccessControlException: access denied


I am using -security option to run TC.
I am not quite sure about the syntax of the policy file, i should check
that,
but can u suggest me what is the correct syntax ?
and also i will try to read this file using some test.jsp and let you know.
thanks.

-Original Message-
From: Benjamin Armintor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 4:42 PM
To: Tomcat Users List
Subject: RE: java.security.AccessControlException: access denied


You shouldn't need to add it anywhere else: Permissions are cumulative,
so if that file permission is in a grant{} block, all the code running
under the jvm will have it.  You mentioned making the changes to
java.policy as well: This should be unnecessary, as the catalina.policy
file is the only one in effect if you start TC with the -security
option.  The situation as you're describing it sounds right, but since I
know from experience that the security manager works just fine in 4.1.x,
something is getting left out.

Are you using the -security option to get the security manager, or are
you using some parameters in $JAVA_OPTS?
Are you certain about the syntax of your policy file (although that
usually fails more dramatically than this)?
Can you write a test JSP or servlet that reads a file out of that
directory?

Benjamin J. Armintor
Operations Systems Specialist
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]



-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 3:10 PM
To: Tomcat Users List
Subject: RE: java.security.AccessControlException: access denied


No certs is a directory.  shall i add it in other place other than the
general grant block.

-Original Message-
From: Benjamin Armintor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 4:09 PM
To: Tomcat Users List
Subject: RE: java.security.AccessControlException: access denied


If "certs" is a file and not a directory, take off the "\\-" at the end
of the permission url.

Benjamin J. Armintor
Operations Systems Specialist
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]



-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 2:50 PM
To: Tomcat Users List
Subject: RE: java.security.AccessControlException: access denied


I added the below line in the general grant{} block.
permission java.io.FilePermission "C:\\Program Files\\Apache
Group\\Tomcat 4.1\\certs\\-", "read";

I tried placing the certs file in other directory too where there is no
whitespace issue.  But i still have the problem. can you think of
anything else?


-Original Message-
From: Benjamin Armintor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 3:32 PM
To: Tomcat Users List
Subject: RE: java.security.AccessControlException: access denied


Where did you add the permission in the catalina.policy file?  In a
general "grant{}" block? If not, it's possible that your code doe

tomcat4 - 3 of 4 sites work, 4th gives only 404

2004-08-25 Thread Techs
I have tomcat setup and working fine for 3 sites, but the 4th only shows the
apache-tomcat 404 page for every jsp page. I have compared the server.xml
setup for all 4 sites and they are identical, except for the path, which is
correct. I have even tried re ordering the host definitions within
server.xml, but still no go.
 
Any ideas where I can start looking or testing to see why the 4th doesn't
work?
 
---
Ryan Bohn
Sys Admin & Tech Support
CanadaWebHosting.com
 
 


Re: Tomcat deployment issue

2004-08-25 Thread Wade Chandler
David Chang wrote:
Hi,
I'm new to tomcat and trying to figure out how to deploy a WAR file without deleting 
all the contents of the old application.  That is, I want to overwrite the files with 
my new archive but not delete any other files that were already there.
The reason I want to do this is because my data and program files are all under the 
same hierarchy.  I want to replace my programs, but not my data.  I tried using a 
symbolic link for my data directory, but tomcat followed the symbolic link and deleted 
everything in there when expanding the new WAR file.
Any help would be appreciated.
DC
Sure,  but what it sounds like you want to do is just name the context 
differently.  When you deploy the war file if you currently have 
/mywebapp1 then name it /mywebapp2.  You'll now have to versions of your 
webapp deployed on the server in two seperate directories.  You just 
have to access them differently.

It also sounds like you need to come up with a different scheme for your 
data storage.  Maybe place your data store some where else and simply 
have a config file option that tells your app where the data lies? 
Maybe something like that.  Give your app the brains to create it's data 
dir based on that setting and give that dir permissions for the user you 
are running tomcat as.  If you don't want to put the data out yourself 
you app can the first time it is ran and if it is there simply use it. 
Of course you'll have to have a code module for data upgrades or 
something if you ever need to change your data structure...unless you 
keep that basically backward compat some how.

Wade
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Errors Page Personalize

2004-08-25 Thread Robert F. Hall
Howdy,
Your question is pretty vague, but here's something that might be of use.
You can add  elements to your web.xml.  For example, to
display a custom page for a "400" error code:
 
   400
   /error400.jsp
 
Robert
Alessandra Santos wrote:
How to show personalize pages jsp for errors generate tomcat errors?
Thanks
Alessandra Santos
Fortaleza-CE-Brazil

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat causes Apache to hang. Any ideas?

2004-08-25 Thread Sean Finkel

What kernel was running on the old box? 
Better put, what is different between the two machines?
 

7.3 on the old system. 9.0 on an intermediary system, with only the 
private instance installed (which never "hung").

I recall RHEL 3.0 comes with an NPTL-based 2.4, which will require
setting LD_KERNEL_ASSUME=2.4 to disable the NPTL functionality for the
Java process.  That may be it.
I am assuming you mean set this as an environment variable? I will give 
this a try and see what happens! Thank you for the suggestion!

-Sean
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Errors Page Personalize

2004-08-25 Thread Alessandra Santos
How to show personalize pages jsp for errors generate tomcat errors?
Thanks
Alessandra Santos
Fortaleza-CE-Brazil

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


tomcat / java performance consultant required

2004-08-25 Thread pete
Hi,

We have an app running on Tomcat. I would like to see if there are and
people / consultants that are proficient in performance tuning the app for
x users. We are running on Dual Intel Xeon 3GHz HTs, 8GIG RAM, running
RedHat ES3. I want to find out the optimum heap sizes & Tomcat server
thread for this app.
The work will need to be carried out in Cavan, Ireland. We have load
testing methods setup, we just need someone to come in and analyse the
info and tune the servers when load testing. You will need to make
recommendations and proof the results after any work. You need to be
totally proficient in this area. You won't be required to look into the
application code, just the running of it, looking at gc cycles, hprof et
al.
What I am after is who is available, and a guideline cost.

Pete.


==
This email was sent by Ethicalwebsites.co.uk.
   "Ethicalwebsites.co.uk - Internet Solutions for the UK"
http://www.ethicalwebsites.co.uk/



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HTTP/1.0 vs HTTP/1.1?

2004-08-25 Thread QM
On Wed, Aug 25, 2004 at 05:31:41PM +0200, Robert Brown wrote:
: http://certipost.devlounge.be:8080/ WORKS
: http://smb.devlounge.be:8080/ DOES NOT Error 400 bad-request

What happens if you comment out the first vhost ("certipost")?
Does "smb" work then?


: Let me guess I have to download the tomcat src, reconfigure my kernel, add gcc
: option for handling subdomains, re-compile jk_2 and apache, etc...?
: 
: WILL THERE EVER BE A mod_jsp for apache? Why oh evil people of Sun Micro. Why do
: you have to make everything so darn hard non pluggeable OR how come diagnositic
: tools for tomcat to say why something doesn't work the log files show nothing
: usefull.

Keep it technical, please. It's easier to help you when we don't have to
wade through your rants.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat causes Apache to hang. Any ideas?

2004-08-25 Thread QM
On Wed, Aug 25, 2004 at 12:07:29PM -0400, Sean Finkel wrote:
: With that said, we just moved to a new server (Dual Xeon, RHEL 3.0) and 
: now the problem we are having is the customer who has this private 
: instance has jsp pages that "hang". But, it does not hang all the time. 
: What's weird, is most of the time, I can stop the shared instance and 
: the customer's pages will stop hanging. I would like to fix the hanging 
: completely, obviously.

What kernel was running on the old box? 
Better put, what is different between the two machines?

I recall RHEL 3.0 comes with an NPTL-based 2.4, which will require
setting LD_KERNEL_ASSUME=2.4 to disable the NPTL functionality for the
Java process.  That may be it.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Fwd: Re: Custom authorization]

2004-08-25 Thread John Villar
I'm using a filter for the same thing, and i can tell you something
it is blazingly fast, flexible, standard and, in most cases, portable 
(Filters are part of the Servlet spec.). So, your best option for your 
custom authorization/authentication would be the filters. 
besides my authentication filter that uses database tables to grant 
some functionality to the users on my system works like a charm with 55 
lines of code (lots of boilerplate) with the "Modifying servlet" 
approach i'm really stressing on this list how cumbersome, 
unportable and generally unaceptable is modifying tomcat without a good 
reason, because there are so many options out there, and believe me, we 
aren't reinventing the wheel...

In case you're lazy, i'm posting my filter class it isn't great 
but does the work (Everything in spanish :-D)

/ Code Begins Here /
/*
* Creado el 20-may-2004
*
* (c) 2004, Computadores Flor Hard Soft 2058 C.A.
*  Caracas, Venezuela 
*/
package com.florhard.motrum.filtros;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
/**
* @author John Villar
* Filtro para no permitir que el usuario realice acciones en el sistema 
sin haber hecho login
*/
public class FiltroLogin implements Filter {

  public void init(FilterConfig arg0) throws ServletException {
  // nada
  }
  public void doFilter(
  ServletRequest request,
  ServletResponse response,
  FilterChain chain)
  throws IOException, ServletException {
  HttpServletRequest httpr = ((HttpServletRequest) request);
  String sURI = httpr.getServletPath();
  com.florhard.motrum.beans.Sesion sesion =
  (com.florhard.motrum.beans.Sesion) 
httpr.getSession().getAttribute(
  "objeto_sesion");
 
  boolean condicionIndex = sURI.indexOf("/index.jsp")==0;
  boolean condicionVerifica = sURI.indexOf("/verificarClave.jsp")==0;
  boolean condicionRoot = sURI.equals("/");
  boolean condicionSesion = (sesion != null) && (sesion.isLogeado());
 
  if (condicionIndex || condicionVerifica || condicionRoot || 
condicionSesion) {
  chain.doFilter(request, response);
  } else {
  ((HttpServletResponse) response).sendRedirect(
  httpr.getContextPath()+"/errorInicioSesion.html");
  return;
  }
  }

  public void destroy() {
  // nada
  }
}
/ Code Ends Here ///
If anyone does find a vulnerability here, i would be glad to receive 
your observations on john.villar (at) florhard.com

Patrick Herber escribió:
Hi,
I need to implement a custom authorization for a web application, where the
access to the different resources is defined inside a database table with
some sort of rules, also using regular expressions.
I would like to know if the only method to do this is programmatically,
implementing - for example - a "SecurityFilter", which catch every requests
or extending the service() method the default Servlet of the application
with the necessary code or if there is another "more standard" way to do it
(perhaps using a Tomcat Valve or something similar).
Thanks a lot for your precious help.
Best regards
Patrick
Patrick Herber
Zürich (Switzerland)
 


--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Path Problem when Porting Hibernate/Struts App from Tomcat 4 to 5

2004-08-25 Thread QM
On Wed, Aug 25, 2004 at 05:13:17PM +0200, Emmerich, Martin wrote:
: I'm trying to bring an struts and hibernate based application that runs sucessfully 
with tomcat 4 to tomcat 5.
:[snip]
: Time: 11:36:25  Priority: ERROR  Thread: main  NDC: null
: Category: net.sf.hibernate.cfg.Configuration 
: Location: net.sf.hibernate.cfg.Configuration.addJar(Configuration.java:381) 
: Message: Could not configure datastore from jar: ocp-dbmappings.jar
: Throwable:
: java.util.zip.ZipException: No such file or directory

This recently came up on the list, related to a classloader issue.

What about renaming the .jar file with the Hibernate mappings .zip?


:I'm only the admin who tries to get it running, the developer is on vacation.   Thus 
my hibernate know-how is very poor.

You may want to hold off, then, till the developer gets back.  

-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat causes Apache to hang. Any ideas?

2004-08-25 Thread Sean Finkel
Hello,
First a brief background on the setup:
We are running Apache 1.3.31 utilizing mod_jk (not jk2). We are running 
two instances of Tomcat. Previously, both were version 4. Currently, we 
have one shared instance running the latest 5.x release (just compiled 
yesterday). We have one customer running a private 4.x instance.

With that said, we just moved to a new server (Dual Xeon, RHEL 3.0) and 
now the problem we are having is the customer who has this private 
instance has jsp pages that "hang". But, it does not hang all the time. 
What's weird, is most of the time, I can stop the shared instance and 
the customer's pages will stop hanging. I would like to fix the hanging 
completely, obviously.

Today though, the only thing that kept his pages from hanging was a full 
reboot. I am wondering if this is related to swap space usage. I don't 
know what else it would be, as I stopped/started his tomcat and apache 
numerous times. I tried using a different connector (AJP instead of Coyote).

Could this last problem be due to running tomcat5 *and* tomcat 4? I 
would say no, as that makes no sense this would be the case, especially 
when it (still)occurred after stopping the Tomcat 5 instance.

Essentially what happens is, Apache receives the request for the page, 
hands it off to Tomcat, tomcat returns half of the page (header/left 
menu) and just sits there. Hitting "stop" on the browser stops the 
transfer, however Tomcat never releases the Apache process. So we end up 
with dozens, sometimes hundreds of Apache processes that are "hung" by 
tomcat. This results in memory usages exceeding 2gb!

Has anyone experienced similar problems or have any suggestions?
-Sean Finkel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


HTTP/1.0 vs HTTP/1.1?

2004-08-25 Thread Robert Brown
Ok,

In my server.xml file I have multiple hosts defined and for the most part they
work correctly.


http://certipost.devlounge.be:8080/ WORKS

http://smb.devlounge.be:8080/ DOES NOT Error 400 bad-request

They both are in the server.xml as:

  
  
  

  
  
  


Both subdomains have the same dns config, I have reversed the order in
server.xml file, both directories do exist.

Let me guess I have to download the tomcat src, reconfigure my kernel, add gcc
option for handling subdomains, re-compile jk_2 and apache, etc...?

WILL THERE EVER BE A mod_jsp for apache? Why oh evil people of Sun Micro. Why do
you have to make everything so darn hard non pluggeable OR how come diagnositic
tools for tomcat to say why something doesn't work the log files show nothing
usefull.

Rob


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: change mod_jk2.conf without restarting Apache

2004-08-25 Thread Greg Ward
On 23 August 2004, Richard Dyson said:
>  I'm working on a web application (platform details - SuSE 8.2, Apache 2.0.50, 
> mod_jk2 as the connector between Tomcat and Apache). 
>  
>  My intention is to make changes to mod_jk2.conf (add/remove  
> blocks), and have Apache pick them up without my having to restart the server. Is it 
> even possible to do that?

Well, this is really an Apache question, not a Tomcat question.  And I'm
hardly a world-renowned Apache expert, just a bloke who's been using it
and reading its fine manual for many years.  So take the following with
a grain of salt.

Apache never magically re-reads config files.  You have to make it
re-read them.  The clean way to do this is with "apachectl graceful"
which, if I understand it correctly, instructs each child worker to
finish processing its current request and then terminate.  The parent
(controlling process) will re-read its config files (and reopen its log
files), and replace each worker in turn by new ones that have the new
configuration.

See http://httpd.apache.org/docs-2.0/stopping.html for details.

Greg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Path Problem when Porting Hibernate/Struts App from Tomcat 4 to 5

2004-08-25 Thread Emmerich, Martin
Hello,

I'm trying to bring an struts and hibernate based application that runs sucessfully 
with tomcat 4 to tomcat 5.

Shortly after start (with an fresh deployment) it throws the exception

Time: 11:36:25  Priority: ERROR  Thread: main  NDC: null
Category: net.sf.hibernate.cfg.Configuration 
Location: net.sf.hibernate.cfg.Configuration.addJar(Configuration.java:381) 
Message: Could not configure datastore from jar: ocp-dbmappings.jar
Throwable:
java.util.zip.ZipException: No such file or directory
   at java.util.zip.ZipFile.open(Native Method)
   at java.util.zip.ZipFile.(ZipFile.java:204)
   at java.util.jar.JarFile.(JarFile.java:132)
   at java.util.jar.JarFile.(JarFile.java:97)
   at net.sf.hibernate.cfg.Configuration.addJar(Configuration.java:378)
   at de.oew.ocp.hibernate.HibernateAdapter.(HibernateAdapter.java:46)
   at de.oew.ocp.hibernate.DomainStore.findActiveUsersByHost(DomainStore.java:353)
   at de.oew.ocp.user.UserManager.getActiveUsers(UserManager.java:76)
   at de.oew.ocp.user.UserManager.deleteActiveUsers(UserManager.java:107)
   at de.oew.ocp.OCPAppAttrContainer.initialize(OCPAppAttrContainer.java:111)
   at 
de.oew.web.servlet.OEWAppAttrContainerBase.contextInitialized(OEWAppAttrContainerBase.java:76)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3773)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4270)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
   at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320)
   at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:657)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:476)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
   at org.apache.catalina.core.StandardService.start(StandardService.java:519)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:582)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398) 

Tomcat unpacks the application anyway.

If I go to "${CATALINA_HOME}/work/Catalina/localhost/" and set a symbolic 
link called "loader" to "${CATALINA_HOME}/webapps//WEB-INF/classes" I can 
sucessfully start the application via the tomcat5 manager application.
The jar file in question contains the hibernate mappings (*.hbm.xml) of the 
application.

I'd prefer to avoid the "link hack".

I'm only the admin who tries to get it running, the developer is on vacation. Thus my 
hibernate know-how is very poor.
Versions are Hibernate 2.1.4 and Tomcat 5.0.19 under Linux.

Best Regards,
..
Martin Emmerich
Leitung IT

Oestreicher + Wagner
Medientechnik GmbH
Frankenthaler Straße 20
D-81539 München

Fon   +49 (0)89-68961 0 
Fax   +49 (0)89-68961 200
Web   http://www.oew.de/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Best practice for generating URL's

2004-08-25 Thread Shapira, Yoav

Hi,
Use relative URLs whenever possible, e.g. "../admin" or
"../someapp/admin" or just "admin/index.jsp" (if the admin virtual
directory is on the same level as the current page with the links.  In
the long-term, servers move, addresses can change, new servers come
around, etc, and so absolute links with hard-coded server addresses can
be a pain.  Note that none of this is specific to Tomcat or even to
JSP/servlets: this is basic web design.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Antony Paul [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 25, 2004 10:43 AM
>To: Tomcat Users List
>Subject: Re: Best practice for generating URL's
>
>My scenario is
>Apache running at 192.168.4.10
>Tomcat running on 192.168.4.60
>
>In JSP how I have to create URL
>Home is enough
>OR
>Home
>OR
>Home
>
>I will use some custom tag to generate the server portion.
>
>This application may be deployed with multiple Apache and Tomcat
instances.
>I have no experience in this kind of work.
>
>rgds
>Antony Paul
>
>- Original Message -
>From: "Antony Paul" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, August 24, 2004 2:19 PM
>Subject: Best practice for generating URL's
>
>
>> Hi all,
>> What is the best practice for generating URL's in
JSP/struts-config
>when
>> the application is behind a web server and both are run in different
>> machines. Some pages uses SSL. In one application I saw them using a
>> properties file and using a static method to get the proptocol,server
and
>> context portion. Is that really necessary ?. Or leaving links without
>> protocol,servername and context name.
>> My new scenario is this.
>>
>> Apache on one machine with a domain name.
>> Tomcat in another machine(I think it needs to be because of expected
>heavy
>> traffic)
>> It have some pages which must use SSL.
>> It is using Struts and how to manage links in struts-config.xml.
>>
>> There will be lot of people who worked on this kind of scenario and I
>expect
>> them to help me.
>>
>> rgds
>> Antony Paul
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Change location logs

2004-08-25 Thread sergio ulloa
Go to Tomcat Web Server Administration Tool.  Select the Logger for
catalina.out  and change the property DIRECTORY.  The same thing for
localhost_admin_log.txt. Select Host (localhost) > Context (/admin) > Logger
and change the property DIRECTORY.

Serg
- Original Message - 
From: "Alessandra Santos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 25, 2004 10:12 AM
Subject: Change location logs


> Hi,
>
> How to change directory location logs tomcat?
>
> I liked change location the catalina.out and localhost_admin_log.txt for
> other directory
>
> Thanks
>
> Alessandra Santos
> Fortaleza-CE-Brazil
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Best practice for generating URL's

2004-08-25 Thread Antony Paul
My scenario is
Apache running at 192.168.4.10
Tomcat running on 192.168.4.60

In JSP how I have to create URL
Home is enough
OR
Home
OR
Home

I will use some custom tag to generate the server portion.

This application may be deployed with multiple Apache and Tomcat instances.
I have no experience in this kind of work.

rgds
Antony Paul

- Original Message -
From: "Antony Paul" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 24, 2004 2:19 PM
Subject: Best practice for generating URL's


> Hi all,
> What is the best practice for generating URL's in JSP/struts-config
when
> the application is behind a web server and both are run in different
> machines. Some pages uses SSL. In one application I saw them using a
> properties file and using a static method to get the proptocol,server and
> context portion. Is that really necessary ?. Or leaving links without
> protocol,servername and context name.
> My new scenario is this.
>
> Apache on one machine with a domain name.
> Tomcat in another machine(I think it needs to be because of expected heavy
> traffic)
> It have some pages which must use SSL.
> It is using Struts and how to manage links in struts-config.xml.
>
> There will be lot of people who worked on this kind of scenario and I
expect
> them to help me.
>
> rgds
> Antony Paul
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Change location logs

2004-08-25 Thread Shapira, Yoav

Hi,
See the Logger configuration reference.  It's pretty easy and
self-explanatory ;)  You just modify the directory attribute value.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Alessandra Santos [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 25, 2004 10:12 AM
>To: [EMAIL PROTECTED]
>Subject: Change location logs
>
>Hi,
>
>How to change directory location logs tomcat?
>
>I liked change location the catalina.out and localhost_admin_log.txt
for
>other directory
>
>Thanks
>
>Alessandra Santos
>Fortaleza-CE-Brazil
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Change location logs

2004-08-25 Thread Alessandra Santos
Hi,
How to change directory location logs tomcat?
I liked change location the catalina.out and localhost_admin_log.txt for 
other directory

Thanks
Alessandra Santos
Fortaleza-CE-Brazil

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: java and tomcat books

2004-08-25 Thread Allistair Crossley
Not really, I think TC 5 changed a whole lot from 4. Go with the O'Reilly one.

Allistair Crossley
New Media Group, QAS Ltd
Telephone: 020 7819 5343

> -Original Message-
> From: Didier McGillis [mailto:[EMAIL PROTECTED]
> Sent: 25 August 2004 14:59
> To: [EMAIL PROTECTED]
> Subject: RE: java and tomcat books
> 
> 
> If the Tomcat version I am on is 4.x will that still help?
> 
> 
> >From: "Allistair Crossley" <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >Subject: RE: java and tomcat books
> >Date: Wed, 25 Aug 2004 14:38:43 +0100
> >
> >Professional Tomcat 5 by Wrox Publishing (www.wrox.com) I 
> got it last night 
> >and it's really good.
> >
> >Allistair Crossley
> >
> > > -Original Message-
> > > From: Didier McGillis [mailto:[EMAIL PROTECTED]
> > > Sent: 25 August 2004 14:27
> > > To: [EMAIL PROTECTED]
> > > Subject: java and tomcat books
> > >
> > >
> > > looking for some information on Tomcat administration and 
> some Java
> > > programming books, what would people suggest.
> > >
> > > _
> > > MSN® Calendar keeps you organized and takes the effort out of
> > > scheduling
> > > get-togethers.
> > > http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&;
> > > DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
> > >   Start enjoying all the benefits of MSN® Premium right now
> > > and get the
> > > first two months FREE*.
> > >
> > >
> > > 
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> >---
> >QAS Ltd.
> >Developers of QuickAddress Software
> >http://www.qas.com";>www.qas.com
> >Registered in England: No 2582055
> >Registered in Australia: No 082 851 474
> >---
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> _
> Take advantage of powerful junk e-mail filters built on 
> patented Microsoft® 
> SmartScreen Technology. 
> http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&;
> DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
>   Start enjoying all the benefits of MSN® Premium right now 
> and get the 
> first two months FREE*.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat Virtual Host

2004-08-25 Thread sergio ulloa
Hello Guys,

I'm trying to create a new virtual host. but when I test it I get cannot find server.

If you know how to do it, please help me.  I have spend around two days.

Thanks
Serg


RE: java and tomcat books

2004-08-25 Thread Didier McGillis
If the Tomcat version I am on is 4.x will that still help?

From: "Allistair Crossley" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: RE: java and tomcat books
Date: Wed, 25 Aug 2004 14:38:43 +0100
Professional Tomcat 5 by Wrox Publishing (www.wrox.com) I got it last night 
and it's really good.

Allistair Crossley
> -Original Message-
> From: Didier McGillis [mailto:[EMAIL PROTECTED]
> Sent: 25 August 2004 14:27
> To: [EMAIL PROTECTED]
> Subject: java and tomcat books
>
>
> looking for some information on Tomcat administration and some Java
> programming books, what would people suggest.
>
> _
> MSN® Calendar keeps you organized and takes the effort out of
> scheduling
> get-togethers.
> http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&;
> DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
>   Start enjoying all the benefits of MSN® Premium right now
> and get the
> first two months FREE*.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: java and tomcat books

2004-08-25 Thread QM
On Wed, Aug 25, 2004 at 01:26:39PM +, Didier McGillis wrote:
: looking for some information on Tomcat administration and some Java 
: programming books, what would people suggest.

No need for a Tomcat book.  I've found the docs and list quite useful.
(If you can't learn from your own mistakes, learn from someone else's.)
Know the servlet spec, too.

Most books are obsolete by the time they hit the shelves.  How many
questions do we get from people, following examples in books, expecting
the Invoker Servlet in v5.x??

It's easier to find "timeless" wisdom for a language.  Bruce Eckel's
"Thinking In Java" is introductory-level without being condescending.

The best thing you can do is take Tomcat and Java, play with them, make
mistakes and fix them as you learn.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat catalina.out size limit config

2004-08-25 Thread Shapira, Yoav

Hola,
Or alternatively use an external utility like logrotate.  (Google for it
if you're not familiar).

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Dale, Matt [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 25, 2004 9:39 AM
>To: Tomcat Users List
>Subject: RE: tomcat catalina.out size limit config
>
>
>Nope but you should look at what is going into it and try to redirect
it to
>a more controllable place
>
>-Original Message-
>From: Eyup TEKIN [mailto:[EMAIL PROTECTED]
>Sent: 25 August 2004 14:46
>To: [EMAIL PROTECTED]
>Subject: tomcat catalina.out size limit config
>
>
>hi
>
>is there any option for clearing or backing up catalina.out when it
reaches
>a fixed size ?
>
>
>
>yours sincerely
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JVM GC

2004-08-25 Thread Shakeel Ahmad
Ok, thanks let me work around on your ideas, and let you know in couple of
days, I really appreciate your prompt replies.

-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 6:31 PM
To: Tomcat Users List
Subject: RE: Tomcat JVM GC



You should still look at the articles that I posted my reply. If you really
want to use your own garbage collection then you will have to first fix the
size of the certain areas within the heap. There is no way to turn off the
jvm's own garbage collection, when it cannot allocate space for an object it
will do a garbage collection. If there is still not enough space then it
will expand the pool so that there is space, up until the maximum allowed
for that pool.

If you fix the size of the pools and always do a gc before the pool runs out
of memory then you will be fine. If you've fixed the pools and you run out
of memory then your own gc algorithm must be deficient and the JVM will do a
gc anyway.

I suspect that with the vast array of GC parameters available you should be
able to find some that will work as well as or better than your own but
thats just my opinion.

-Original Message-
From: Shakeel Ahmad [mailto:[EMAIL PROTECTED]
Sent: 25 August 2004 14:17
To: Tomcat Users List
Subject: RE: Tomcat JVM GC


Actually we have our own gc mechanism which has a proven record of doing
things for our application, it never lets our application go out of memory,
but it works at high level, now with this robust design we have only issues
from JVM's original gc work. Our calculations have proven that if JVM's gc
does not work  automatically then our real time nodes can work more
effectively.

-Original Message-
From: Mats Henrikson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 4:46 PM
To: Tomcat Users List
Subject: RE: Tomcat JVM GC


> Its known that JVM schedular runs gc thread depending upon some concrete
> values, now I want to set such parameters, or my heap sizes so that the
JVM
> schedular, ignores gc thread. We have 1.3G Ram on our server and our heap

You are mistaken, you do not want it to ignore the gc thread, as you
would then very fast run out of heap space, you just want to tune the
garbage collector a little.

To do this, read this page until you understand it:

http://java.sun.com/docs/hotspot/gc1.4.2/

Then you can use the GC Portal tool to help you define the optimal GC
configuration for your application:

http://java.sun.com/developer/technicalArticles/Programming/GCPortal/

Of course, it could turn out that in order to improve your performance
you might have to rewrite parts of your application to be less wasteful
with objects.

Regards,
--
Mats Henrikson
Unix Systems Programmer
Systems Development & Support
Oxford University Computing Services


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: connection Pool and realms : how to avoid redundances

2004-08-25 Thread QM
On Wed, Aug 25, 2004 at 03:40:58PM +0200, Philippe Mathieu wrote:
: For me a correct war is a war where you don't have to touch to any pages to
: deploy the application. I think everybody is according to this.

So far, so good.


: - the database/user/password must be defined in the context definition for 
: the
: Pool and also for the Realm (thus 2 times !!).

Idea: DataSourceRealm
(Never used it, but I've seen it in the docs)


: - The pool name is defined in server.xml but also in web.xml and again in 
: my JSP
:  to obtain the connection (thus 3 times !!)

Idea: stop using Model1 architecture, so your JSPs don't have to know
about JDBC pools.


: I am however using the same method than described in the Tomcat doc in the 
: "JDBC
: DataSources" section :-(

Idea: context.xml

These, and most of your other questions could also be answered by a
closer reading of the Tomcat docs and/or changing your build process
such that Ant sets up variable params for you based on templates.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: java and tomcat books

2004-08-25 Thread Mike Fowler
Hi Didier,
Personally I quite like Tomcat: The Definitive Guide from O'Reilly 
(http://www.oreilly.com/catalog/tomcat/index.html), it covers version 4 
but it's still quite relevant for version 5.

As for Java books I'd recommend Java How To Program by Deitel & Deitel 
(http://www.deitel.com/books/jHTP6/) for good general coverage, and for 
detail both Java In A Nutshell 
(http://www.oreilly.com/catalog/javanut4/) and Java Enterprise In A 
Nutshell (http://www.oreilly.com/catalog/jentnut2/).

-Mike Fowler
"I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get 'round to it"
Didier McGillis wrote:
looking for some information on Tomcat administration and some Java 
programming books, what would people suggest.

_
MSN® Calendar keeps you organized and takes the effort out of scheduling 
get-togethers. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


connection Pool and realms : how to avoid redundances

2004-08-25 Thread Philippe Mathieu
Hi,
I am using Tomcat 5.0.xx under Linux Debian with Postgresql 7.xx
For me a correct war is a war where you don't have to touch to any pages to
deploy the application. I think everybody is according to this.
In my application, i'm using the Tomcat connection Pool with a JDBC connector
and a Realm for authentification. All is perfectly working BUT 
- the database/user/password must be defined in the context definition for the
Pool and also for the Realm (thus 2 times !!).
- The pool name is defined in server.xml but also in web.xml and again in my JSP
 to obtain the connection (thus 3 times !!)
I am however using the same method than described in the Tomcat doc in the "JDBC
DataSources" section :-(
How can i make my application to define once and for all, the database url and
the name of the pool ? (we could hope to define all in the server.xml context
application and then using "what is in the context" in the war, whitout any
redundances ?)
How can i make my application to avoid any references to the pool name in the
.war (since all is already defined in the context definition in server.xml) ?
How can i simply tell the Realm to use the database defined by the Pool ?
Thanks a lot for help
--
PM
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: tomcat catalina.out size limit config

2004-08-25 Thread Dale, Matt

Nope but you should look at what is going into it and try to redirect it to a more 
controllable place

-Original Message-
From: Eyup TEKIN [mailto:[EMAIL PROTECTED]
Sent: 25 August 2004 14:46
To: [EMAIL PROTECTED]
Subject: tomcat catalina.out size limit config


hi 

is there any option for clearing or backing up catalina.out when it reaches
a fixed size ?



yours sincerely 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: java and tomcat books

2004-08-25 Thread Allistair Crossley
Professional Tomcat 5 by Wrox Publishing (www.wrox.com) I got it last night and it's 
really good.

Allistair Crossley

> -Original Message-
> From: Didier McGillis [mailto:[EMAIL PROTECTED]
> Sent: 25 August 2004 14:27
> To: [EMAIL PROTECTED]
> Subject: java and tomcat books
> 
> 
> looking for some information on Tomcat administration and some Java 
> programming books, what would people suggest.
> 
> _
> MSN® Calendar keeps you organized and takes the effort out of 
> scheduling 
> get-togethers. 
> http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&;
> DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
>   Start enjoying all the benefits of MSN® Premium right now 
> and get the 
> first two months FREE*.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



tomcat catalina.out size limit config

2004-08-25 Thread Eyup TEKIN
hi 

is there any option for clearing or backing up catalina.out when it reaches
a fixed size ?



yours sincerely 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JVM GC

2004-08-25 Thread Dale, Matt

You should still look at the articles that I posted my reply. If you really want to 
use your own garbage collection then you will have to first fix the size of the 
certain areas within the heap. There is no way to turn off the jvm's own garbage 
collection, when it cannot allocate space for an object it will do a garbage 
collection. If there is still not enough space then it will expand the pool so that 
there is space, up until the maximum allowed for that pool.

If you fix the size of the pools and always do a gc before the pool runs out of memory 
then you will be fine. If you've fixed the pools and you run out of memory then your 
own gc algorithm must be deficient and the JVM will do a gc anyway.

I suspect that with the vast array of GC parameters available you should be able to 
find some that will work as well as or better than your own but thats just my opinion.

-Original Message-
From: Shakeel Ahmad [mailto:[EMAIL PROTECTED]
Sent: 25 August 2004 14:17
To: Tomcat Users List
Subject: RE: Tomcat JVM GC


Actually we have our own gc mechanism which has a proven record of doing
things for our application, it never lets our application go out of memory,
but it works at high level, now with this robust design we have only issues
from JVM's original gc work. Our calculations have proven that if JVM's gc
does not work  automatically then our real time nodes can work more
effectively.

-Original Message-
From: Mats Henrikson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 4:46 PM
To: Tomcat Users List
Subject: RE: Tomcat JVM GC


> Its known that JVM schedular runs gc thread depending upon some concrete
> values, now I want to set such parameters, or my heap sizes so that the
JVM
> schedular, ignores gc thread. We have 1.3G Ram on our server and our heap

You are mistaken, you do not want it to ignore the gc thread, as you
would then very fast run out of heap space, you just want to tune the
garbage collector a little.

To do this, read this page until you understand it:

http://java.sun.com/docs/hotspot/gc1.4.2/

Then you can use the GC Portal tool to help you define the optimal GC
configuration for your application:

http://java.sun.com/developer/technicalArticles/Programming/GCPortal/

Of course, it could turn out that in order to improve your performance
you might have to rewrite parts of your application to be less wasteful
with objects.

Regards,
--
Mats Henrikson
Unix Systems Programmer
Systems Development & Support
Oxford University Computing Services


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

java and tomcat books

2004-08-25 Thread Didier McGillis
looking for some information on Tomcat administration and some Java 
programming books, what would people suggest.

_
MSN® Calendar keeps you organized and takes the effort out of scheduling 
get-togethers. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat 5 JK2 IIS 5

2004-08-25 Thread William L. Thomson Jr.
On Wed, 2004-08-25 at 04:06, Allistair Crossley wrote:

> 
> I notice the name of your redirector is not the name of how it is distributed by the 
> way.

This was my entire problem it looks like. Damn spelling.

-- 
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios, Inc.
http://www.obsidian-studios.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: performance metrics of servlets in Tomcat 4.1.30.

2004-08-25 Thread Remy Maucherat
On Tue, 24 Aug 2004 23:23:06 -0400, Peter Lin <[EMAIL PROTECTED]> wrote:
> oh, I didn't realize the new 4.1.31 includes back port of the new
> status servlet in tc5.
> 
> or am I mis-reading that?

4.1.31 doesn't include any backport of the status servlet. Personally,
I wouldn't recommend using it, it will likely not get the same amount
of testing as the 5.0 branch.
Instead, upgrade to 5.0.x, which is getting the testing and bug fixes.

-- 
x
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
x

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JVM GC

2004-08-25 Thread Shakeel Ahmad
Actually we have our own gc mechanism which has a proven record of doing
things for our application, it never lets our application go out of memory,
but it works at high level, now with this robust design we have only issues
from JVM's original gc work. Our calculations have proven that if JVM's gc
does not work  automatically then our real time nodes can work more
effectively.

-Original Message-
From: Mats Henrikson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 4:46 PM
To: Tomcat Users List
Subject: RE: Tomcat JVM GC


> Its known that JVM schedular runs gc thread depending upon some concrete
> values, now I want to set such parameters, or my heap sizes so that the
JVM
> schedular, ignores gc thread. We have 1.3G Ram on our server and our heap

You are mistaken, you do not want it to ignore the gc thread, as you
would then very fast run out of heap space, you just want to tune the
garbage collector a little.

To do this, read this page until you understand it:

http://java.sun.com/docs/hotspot/gc1.4.2/

Then you can use the GC Portal tool to help you define the optimal GC
configuration for your application:

http://java.sun.com/developer/technicalArticles/Programming/GCPortal/

Of course, it could turn out that in order to improve your performance
you might have to rewrite parts of your application to be less wasteful
with objects.

Regards,
--
Mats Henrikson
Unix Systems Programmer
Systems Development & Support
Oxford University Computing Services


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: performance metrics of servlets in Tomcat 4.1.30.

2004-08-25 Thread Shapira, Yoav

Hola,

>>>Does Tomcat 4.1.30 provide any MBeans for monitoring
>>>the above metrics?
>>
>>No.
>
>Pure FUD.  You need to specify the jsr77Names="true" attribute to the
>ServerLifecyleListener to have TC 4 JMX register the servlets, but
>otherwise
>its much like TC 5.  You might also need updated Connector jars (these
can
>be swapped between any version of Tomcat), especially if you want the
>information for JK requests.

For the specific beans he asked about, I'm pretty sure you need to swap
the connector jars.  The jsr77Names attribute is not documented (and set
to false by default) so one would have to look at the code to know of it
;)  Given those two, you can't get that data with 4.1.30 out of the box,
which is why I said no, and I don't think that's FUD ;)

Yoav



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5 JK2 IIS 5

2004-08-25 Thread William L. Thomson Jr.
I will try your suggestions and get back to you.

I noticed in a log is said worker= was deprecated uses group= instead?

I set up an test env that is now doing the exact same thing as the
production env. I do not have those lines in jk2.properties and really
as far as Tomcat is concerned I see nothing related to jk in the tomcat
logs. Only the system event log generated by the dll.


-- 
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios, Inc.
http://www.obsidian-studios.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JK2: Partition workers2.properties

2004-08-25 Thread Bjoern . Andersen
Hi,

is it possible to partition the workers2.properties for the JK2?

We got JK2 running as a ISAPI-Filter on IIS6.
Now, the new structure of "workers2.properties" is better against
"workers.properties" and "uriworkermap.properties".

But now, that we have loads of webs with many contexts each, which itself
have 2-5 mappings each, the file get's huge (>40kb) and complex.

Is it possible to partition the file, say, with "include={file}" statements?
Or better...

[include:file]
file={file}
ver=1

... this way the the main and subfiles (Mappings, Worker, Channels, ...)
remain clear, and even a reload is faster, because the jk2 only needs to
read the included files which version-numbers have increased.


--
Björn Andersen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JVM GC

2004-08-25 Thread Mats Henrikson
> Its known that JVM schedular runs gc thread depending upon some concrete
> values, now I want to set such parameters, or my heap sizes so that the JVM
> schedular, ignores gc thread. We have 1.3G Ram on our server and our heap

You are mistaken, you do not want it to ignore the gc thread, as you
would then very fast run out of heap space, you just want to tune the
garbage collector a little.

To do this, read this page until you understand it:

http://java.sun.com/docs/hotspot/gc1.4.2/

Then you can use the GC Portal tool to help you define the optimal GC
configuration for your application:

http://java.sun.com/developer/technicalArticles/Programming/GCPortal/

Of course, it could turn out that in order to improve your performance
you might have to rewrite parts of your application to be less wasteful
with objects.

Regards,
-- 
Mats Henrikson
Unix Systems Programmer
Systems Development & Support
Oxford University Computing Services


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JVM GC

2004-08-25 Thread Dale, Matt

The garbage collection is variable depending on your JVM parameters. 

Here are a couple of links to help you understand a bit more about how the Garbage 
Collections work.

http://java.sun.com/developer/technicalArticles/Programming/turbo/

http://java.sun.com/docs/hotspot/gc1.4.2/

I would also recommend downloading jvmstat from sun as visualgc gives you a graphical 
visualation of the heap and garbage collections, allowing you to see exactly where the 
bottle necks are. You first step should probably be have a play with the different 
collectors or Agressive Heap.

Ta
Matt

-Original Message-
From: Shakeel Ahmad [mailto:[EMAIL PROTECTED]
Sent: 25 August 2004 12:44
To: Tomcat Users List
Subject: RE: Tomcat JVM GC


Its known that JVM schedular runs gc thread depending upon some concrete
values, now I want to set such parameters, or my heap sizes so that the JVM
schedular, ignores gc thread. We have 1.3G Ram on our server and our heap
never goes beyond 400-450M, now the gc thread is a hurdle in our system , we
want that it made the gc thread ignored, keep in mind we are running at
1024-1024M on JVM heap.

-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 4:15 PM
To: Tomcat Users List
Subject: RE: Tomcat JVM GC



You can't disable garbage collection or java won't run. Please rephrase your
question.

-Original Message-
From: Shakeel Ahmad [mailto:[EMAIL PROTECTED]
Sent: 25 August 2004 12:08
To: Tomcat Users List
Subject: Tomcat JVM GC


Hi, can I disable GC thread in Tomcat.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat JVM GC

2004-08-25 Thread Shakeel Ahmad
Its known that JVM schedular runs gc thread depending upon some concrete
values, now I want to set such parameters, or my heap sizes so that the JVM
schedular, ignores gc thread. We have 1.3G Ram on our server and our heap
never goes beyond 400-450M, now the gc thread is a hurdle in our system , we
want that it made the gc thread ignored, keep in mind we are running at
1024-1024M on JVM heap.

-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 4:15 PM
To: Tomcat Users List
Subject: RE: Tomcat JVM GC



You can't disable garbage collection or java won't run. Please rephrase your
question.

-Original Message-
From: Shakeel Ahmad [mailto:[EMAIL PROTECTED]
Sent: 25 August 2004 12:08
To: Tomcat Users List
Subject: Tomcat JVM GC


Hi, can I disable GC thread in Tomcat.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat JVM GC

2004-08-25 Thread Dale, Matt

You can't disable garbage collection or java won't run. Please rephrase your question.

-Original Message-
From: Shakeel Ahmad [mailto:[EMAIL PROTECTED]
Sent: 25 August 2004 12:08
To: Tomcat Users List
Subject: Tomcat JVM GC


Hi, can I disable GC thread in Tomcat.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Access JBoss from Tomcat

2004-08-25 Thread Darryl L. Pierce
I have a Tomcat server running on the perimeter of my network. I am trying to 
add some EJBs to the architecture to handle some authentication tasks for 
users. I need this work to be done within the network, so don't want to put 
JBoss on the perimeter. I want to access my JBoss server from my Tomcat 
server.

How do I configure Tomcat to talk to JBoss? All links I find online talk about 
JBoss with Tomcat within it, and I've not found any information on 
configuring a standalone Tomcat to talk to JBoss. My Tomcat server is 4.1.30 
and my JBoss server is 3.2.5.

Any help is appreciated.
-- 
Darryl L. Pierce <[EMAIL PROTECTED]>
Visit the Infobahn Offramp - 
"Lobby, lobby, lobby, lobby, lobby, lobby, lobby, lobby..."

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat JVM GC

2004-08-25 Thread Shakeel Ahmad
Hi, can I disable GC thread in Tomcat.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem with Tomcat 4.1

2004-08-25 Thread Jitesh Sinha
Hello,

I am getting following exception during the startup of my local server which
is Tomcat 4.1.
Any idea why it will come and how to remove it?

2004-08-25 15:46:19 StandardManager[/manager] IOException while loading
persisted sessions: java.io.EOFException
java.io.EOFException
at
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2
150)
at
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.j
ava:2619)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:726)
at java.io.ObjectInputStream.(ObjectInputStream.java:251)
at
org.apache.catalina.util.CustomObjectInputStream.(CustomObjectInputStr
eam.java:103)
at
org.apache.catalina.session.StandardManager.load(StandardManager.java:379)
at
org.apache.catalina.session.StandardManager.start(StandardManager.java:626)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3570)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
21)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.
java:529)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:228)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
at org.apache.commons.digester.Digester.endElement(Digester.java:1036)
at
org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.jav
a:585)
at
org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java
:647)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocu
mentFragmentScannerImpl.java:1008)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.java:329)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:117
5)
at org.apache.commons.digester.Digester.parse(Digester.java:1514)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:335)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:452
)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)


Thanks,
-Jitesh



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem with Tomcat 4.1.29 and german umlaut url-encoding

2004-08-25 Thread Thilo Krawietz
Hi folks,
i actually face some strange phenomenon concerning tomcat and 
URL-encoding of german umlauts. As you may know,
some browsers encode german umlauts for usage in the URL with %xx 
sequences for proper transportation.

The problem i have now is, that i got a web application which allows the 
download of PDF-files, which may contain spaces and german umlauts.
If i request a file like that, for instance "Tür Testzwecke.pdf", this 
request comes to Tomcat as "F%FCr%20Testzwecke.pdf"

Tomcat then decodes the spaces (%20) correctly, but it does not decode 
the "%FC" and looks for a file "F%fcr Testzwecke.pdf", which of course 
does not exist and causes a 404 error.
Since the tomcat is a 4.1.29 out-of-the-box install with no 
customization, i am quite confused about this, since i would expect 
Tomcat to decode spaces and umlauts correctly.

Did anybody face this problem before or does somebody have a clue about 
this?

thanks for your help in advance,
Thilo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat 5 JK2 IIS 5

2004-08-25 Thread Allistair Crossley
OK, I have now done a TC5.0.27-JK2-IIS5 config about 5 times in the past 2 weeks on 
our developer machines so it does work ;) Here are my files:

/conf/jk2.properties
=

only contains the following lines, the rest is commented out. The following lines 
allow IIS to send Windows Integrated Security in the request to Tomcat. The second I 
am not sure about but it used to fix a known bug.

request.tomcatAuthentication=false
request.registerRequests=false

/conf/workers2.properties
==

You do have to have context and worker for URI mappings.

[logger]
level=INFO

[logger.file:0]
level=INFO
file=c:\\jakarta-tomcat-5.0.25\\logs\\jk2.log
 
[workerEnv:]
info=Global server options
timing=1
debug=0
logger=logger.file:0 

[shm]
file=c:\\jakarta-tomcat-5.0.25\\work\\jk2.shm
size=1048576

[channel.socket:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[uri:/*.do]
info=do
context=/
worker=ajp13:localhost:8009

[uri:/*.jsp]
info=jsp
context=/

Registry


I notice the name of your redirector is not the name of how it is distributed by the 
way.

HKEY_LOCAL_MACHINE
  + SOFTWARE
+ Apache Software Foundation
  + Jakarta Isapi Redirector
+ 2.0
  extensionUri = /jakarta/isapi_redirector2.dll
  logLevel = info
  serverRoot = c:\jakarta-tomcat-5.0.27
  workersFile = c:\jakarta-tomcat-5.0.27\conf\workers2.properties

IIS
===

- Ensure you have created a virtual directory and pointed it at the 
isapi_redirector2.dll folder, call it jakarta and make sure execute permission is set.

- Add the ISAPI filter called jakarta and browse to the dll

- ALWAYS make sure you totally restart IIS after a change in the configuration. And I 
don't mean the stop/play buttons, I mean click the server and do Restart IIS.

Hope this helps

Allistair.

> -Original Message-
> From: William L. Thomson Jr. [mailto:[EMAIL PROTECTED]
> Sent: 24 August 2004 21:14
> To: tomcat-user
> Subject: Re: Tomcat 5 JK2 IIS 5
> 
> 
> Also in the workers2.properties file I have seen uri entries 
> with ether
> worker or context. Neither both.
> 
> 
> [uri:/*.jsp]
> Context=/
> 
> [uri:/servlet/*]
> Context=/
> 
> or
> 
> [uri:/*.jsp]
> worker=ajp13:localhost:8009
> 
> [uri:/servlet/*]
> worker=ajp13:localhost:8009
> 
> 
> The log I posted makes me seem to think it's a context issue. But
> everything works perfectly in Tomcat via it's web server 8080. If
> contexts or something else as wrong it should be wrong there as well?
> 
> Do you need to specify contexts or a worker for each uri?
> 
> -- 
> Sincerely,
> William L. Thomson Jr.
> Support Group
> Obsidian-Studios, Inc.
> http://www.obsidian-studios.com
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: approved bill

2004-08-25 Thread hgomez
See the file.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Important

2004-08-25 Thread tomcat-user
--  Virus Warning Message (on uusnwa0p)  --

Found virus WORM_NETSKY.Z in file Details.txt  
   
.exe (in Details.zip)
The uncleanable file is deleted.

-
Important details!


--  Virus Warning Message (on uusnwa0p)  --

Details.zip is removed from here because it contains a virus.

-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]