JK for AIX

2005-06-29 Thread Arnaud HERITIER
Hi guys,
  I'm trying to install modjk between Tomcat 5.5.7 and Apache 1.3.33 on AIX 
5.2 and I have some build errors.
  I did it some years ago with tomcat 4 on AIX 4.3 and I remember that I 
needed to add some flags to do it on AIX.
  Is there anyone who have some information to build the connector on AIX 
5.2 ?
 Thanks
 Arnaud


RE: Tomcat 5.5.9: NamingException cannot be resolved or is not a type - JNDI, MySQL

2005-06-08 Thread Arnaud HERITIER
You must import the classes you use in your JSP :

%@ page import={package.class | package.*}, ... ...

Arnaud
 

 -Message d'origine-
 De : Greg Brownell [mailto:[EMAIL PROTECTED] 
 Envoyé : mercredi 8 juin 2005 21:34
 À : tomcat-user@jakarta.apache.org
 Objet : Tomcat 5.5.9: NamingException cannot be resolved or 
 is not a type - JNDI, MySQL
 
 I get the error below when trying to compile/execute a jsp 
 that wants to connect to a MySQL db named
 
 testdb.  Here's the code snippet from testdb.jsp:
 
   InitialContext initCtx = null;
   DataSource ds = null;
   Connection conn = null;
   Statement stmt = null;
   ResultSet rset = null;
   try {
   initCtx = new InitialContext();
 
   ds = 
 (DataSource)initCtx.lookup(java:comp/env/jdbc/testdb);
   conn = ds.getConnection();
   
   stmt = conn.createStatement();
   rset = stmt.executeQuery(select * from subscriber);
 
 It fails on the lookup with:
 
 org.apache.jasper.JasperException: Unable to compile class for JSP
 
 An error occurred at line: 52 in the jsp file: /testdb.jsp 
 Generated servlet error:
 NamingException cannot be resolved or is not a type
 
 
   
 org.apache.jasper.compiler.DefaultErrorHandler.javacError(Defa
 ultErrorHandler.java:84)
   
 org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDis
 patcher.java:328)
   
 org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompil
 er.java:397)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
   
 org.apache.jasper.JspCompilationContext.compile(JspCompilation
 Context.java:556)
   
 org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
 Wrapper.java:293)
   
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
 .java:291)
   
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
 I am using MySQL 4.1.12a (Windows nt), Connector/J v 3.1.8 
 Connector/j stuff moved to common/lib
 
 Tomcat: under webapps, app name testdb.
 testdb/WEB-INF/web.xml:
 ?xml version=1.0 encoding=ISO-8859-1? web-app 
 xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee 
 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
version=2.4
 
 display-nametestdb/display-name
description
  db test site
/description
 
 resource-ref
   descriptionTomcat DBCP/description
   res-ref-namejdbc/testdb/res-ref-name
   res-typejavax.sql.DataSource/res-type
   res-authContainer/res-auth
 /resource-ref
 /web-app
 
 conf/Catalina/localhost/testdb.xml:
 ?xml version=1.0 encoding=UTF-8?
 Context
   path=/Search   docBase=Search
   debug=1crossContext=true
reloadable=true
 ResourceLink name=jdbc/testdb type=javax.sql.DataSource 
 global=jdbc/testdb/ /Context
 
 conf/server.xml:
  GlobalNamingResources
Environment
  name=simpleValue
  type=java.lang.Integer
  value=30/
Resource
  auth=Container
  description=User database that can be updated and saved
  name=UserDatabase
  type=org.apache.catalina.UserDatabase
  pathname=conf/tomcat-users.xml
  factory=org.apache.catalina.users.MemoryUserDatabaseFactory/
  Resource
name=jdbc/testdb
auth=Container
type=javax.sql.DataSource
factory=org.apache.commons.dbcp.BasicDataSourceFactory
username=
password=
removeAbandonedTimeout=60
maxActive=4
maxIdle=2
removeAbandoned=true
driverClassName=com.mysql.jdbc.Driver
url=jdbc:mysql://localhost:3306/testdb?autoReconnect=true/
  /GlobalNamingResources
 
 Any ideas why this doesn't work?
 
 By the way, I've tried moving the Resource lines in 
 server.xml to testdb.xml (the context file) and replaced the 
 resource-link.  Same error.
 
 Thanks in advance.
 
 Greg.
 
 
 
 
 -
 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: Blocking access to static content

2004-10-11 Thread Arnaud HERITIER
You can put all your resources (images, jsp, ..) under the WEB-INF directory.

Arnaud.

 -Message d'origine-
 De : Robert Harper [mailto:[EMAIL PROTECTED]
 Envoyé : lundi 11 octobre 2004 21:27
 À : 'Tomcat Users List'
 Objet : RE: Blocking access to static content
 
 I tried filters but my filters were not always called.
 
 Robert S. Harper
 801.265.8800 ex. 255
 
  -Original Message-
  From: QM [mailto:[EMAIL PROTECTED]
  Sent: Monday, October 11, 2004 12:57 PM
  To: Tomcat Users List
  Subject: Re: Blocking access to static content
 
  On Mon, Oct 11, 2004 at 12:39:13PM -0600, Robert Harper wrote:
  : I have turned the listings off in the default servlet. Now how do I keep
  users
  : from directly accessing anything outside of the defined servlets and JSP
  pages
  : even if the user knows the path to the file?
 
  Filters, filters, filters.
 
  -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]
 
 
 
 #== gPopper Menu ===#
 Delete from Gmail inbox:   mailto:del|[EMAIL PROTECTED]
 Mark message as unread:mailto:unr|[EMAIL PROTECTED]
 Mark message as read:  mailto:rea|[EMAIL PROTECTED]



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



RE: Urgent help, please!Best practices using Connection Pool

2003-10-09 Thread Arnaud HERITIER
You should close your pool connection because the pool doesn't close the
real connection.
this doc can help you :
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how
to.html#Random%20Connection%20Closed%20Exceptions

Arnaud

 -Message d'origine-
 De : Jose Euclides da Silva Junior - DATAPREVRJ
 [mailto:[EMAIL PROTECTED]
 Envoyé : jeudi 9 octobre 2003 15:27
 À : '[EMAIL PROTECTED]'
 Objet : Urgent help, please!Best practices using Connection Pool


 Hi gurus, help me please.
 i am using DBCP 1.0 to make connection pool avaiable. My
 question can be
 easy: since DBCP 1.0 doesnt create a singleton object ( just
 a datasource
 object), what should i do whenever my sql queries are done?
 Should i close
 the connection after each sql command is completed? But, if i
 do this, will
 i loose my connection pool facility, so my next sql command
 will spend more
 time since the connection process ( with the database ) would
 be started
 before the sql running. I really need to improve my database
 response time!
 Thanks in advance,
 Euclides.


 -
 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: New to Tomcat

2003-10-08 Thread Arnaud HERITIER
you should read this :
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
It explains how to create your own web app with Tomcat.

Arnaud.

 -Message d'origine-
 De : Khairuddin Md Saad [mailto:[EMAIL PROTECTED]
 Envoye : mercredi 8 octobre 2003 12:17
 A : [EMAIL PROTECTED]
 Objet : New to Tomcat


 Hi,

 I'm very new here. I have 1 question.

 I have downloaded Tomcat 4.1.27 from
 http://mirror.leafbug.org/apache-dist/jakarta/tomcat-4/binarie
 s/jakarta-tomcat-4.1.27.exe. I have downloaded and installed
 j2sdk1.4.2. I have tried to start Tomcat and successfully get
 the http://localhost:8080/index.jsp.
 Unfortunately I cannot find any class folder in my
 TOMCAT_HOME\webapps\ROOT\WEB-INF\ directory. Is it normal??
 Can I simply create my own 'classes' folder under this
 directory or do I need to configure something else when I
 create the 'classes'?
 For your information, I have set the environment variable for
 PATH=C:\j2sdk1.4.2\bin;C:\j2sdk1.4.2 TOMCAT_HOME, JAVA_HOME
 and CATALINA HOME


 -
 Do you Yahoo!?
 The New Yahoo! Shopping - with improved product search


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



RE: easy question

2003-06-24 Thread Arnaud HERITIER
did you add the import statement in the jsp???

 -Message d'origine-
 De : David Zellhoefer [mailto:[EMAIL PROTECTED]
 Envoye : mardi 24 juin 2003 11:29
 A : [EMAIL PROTECTED]
 Objet : easy question
 
 
 Hello!
 
 I have a easy question for you:
 
 1)I have written a class called Test, compiled it and placed it in
 ~/WEB-INF/classes/
 2) Now I want to use objects from Test in a JSP, but if I try to use
 Test Tomcat always tells me that it is not able to resolve the symbol.
 
 What shall I do? Do I need to change the web.xml?
 
 Thanks,
 
 David
 
 PS: I've restarted Tomcat 4.1.12 everytime I changed something in the
 WEB-INF directory.
 
 
 -
 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: 4.1.24 Tag Lib problem

2003-04-04 Thread Arnaud HERITIER
Do you use the release method on your tag ???

If yes, you should know that this method isn't called in Tomcat between two
uses of a tag (a same instance is reused several times).

You should reinit all your internal instance variables in the doStartTag
method.

Arnaud


 -Message d'origine-
 De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Envoye : jeudi 3 avril 2003 18:36
 A : [EMAIL PROTECTED]
 Objet : 4.1.24 Tag Lib problem


 Hello,

 I have looked over the archives, and I looked at my code.

 I am having an issue with only one thing.  I am sending a url
 back to the
 client, but it only makes it to the first entry.  The others
 are blank.
 (The url is dynamic)  If I refresh the page all the links are
 gone.  The
 code works fine in JBoss/Jetty, Was 3.5, WAS 4.0, WAS 5.0,
 Tomcat 4.04,
 etc.  What should I be looking at to fix it?

 Thanks in Advance,

 Paul R. Johnson




 -
 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: Taglib on tomcat 4.1.24

2003-04-01 Thread Arnaud HERITIER
doStartTag ??? 
isn't it doEndTag ??

If you release your properties at the end of the doStartTag, you can't use
them in the body.

But if I use the doEndTag, Shawn says that doEndTag() is not necessarily
called at the end of every invocation (in cases of abnormal termination --
e.g., an exception thrown inside a tag's body or by one of its methods)

I have the same problem than Pierre and didn't understand why.

Now I know and I'll correct my taglibs.

But why the release() method isn't called between two uses of the same tag
??

Is it a performance issue ???


Arnaud.

 -Message d'origine-
 De : Simon MacMullen [mailto:[EMAIL PROTECTED]
 Envoyé : mardi 1 avril 2003 12:00
 À : Tomcat Users List
 Objet : RE: Taglib on tomcat 4.1.24
 
 
  perhaps the new tomcat manager keep to much things in cache... 
 
 Absolutely. Tag instances may be re-used. This means you can 
 only do setup for your tag at the last minute in doStartTag().
 
 See
 
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg
 00846.html
 
 for more info, explained more articulately.
 
 Cheers, Simon
 
 -
 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: Taglib on tomcat 4.1.24

2003-04-01 Thread Arnaud HERITIER


 -Message d'origine-
 De : Simon MacMullen [mailto:[EMAIL PROTECTED]
 Envoyé : mardi 1 avril 2003 15:05
 À : Tomcat Users List
 Objet : RE: Taglib on tomcat 4.1.24
 
 
perhaps the new tomcat manager keep to much things in cache... 
 
   Absolutely. Tag instances may be re-used. This means you can 
   only do setup for your tag at the last minute in doStartTag().
 
  doStartTag ??? 
  isn't it doEndTag ??
 
 Well, I meant get things ready for your tag, not clean up 
 after (as you seem to be implying) and I specifically meant 
 as opposed to in constructors, instance initialisers, 
 property writers, etc.

I'm agree with you but what about properties used by the tag ??
For instances variables I can reset them in the begin of doStartTag.
But for an optional attribute of a tag I can't.
If for example I have a property foo :

String foo = ;

If I use a first time the tag with this property :
mylib:mytag foo=bar/

and a second time without this property
mylib:mytag/

In the second time my property is always setted to bar and not to .
I can't reset it manually in the doStartTag because I will delete the value
is the property is setted.

How can I manage this ???

Have you an idea ??


Cheers Arnaud .

 
  But if I use the doEndTag, Shawn says that doEndTag() is not 
  necessarily
  called at the end of every invocation (in cases of abnormal 
  termination --
  e.g., an exception thrown inside a tag's body or by one of 
  its methods)
 
 If you want to clear up after each invocation, I think you 
 want doFinally() method on the interface TryCatchFinally?
 
  But why the release() method isn't called between two uses of 
  the same tag
  ??
  
  Is it a performance issue ???
 
 Presumably the release() method is intended to release 
 heavyweight objects used by the tag, so yes.
 
 Cheers, Simon
 
 -
 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: Taglib on tomcat 4.1.24

2003-04-01 Thread Arnaud HERITIER
Hi Dick.

I'm agree with you and I will follow your advices.

If I find some problems I'll post a Bug on Bugzilla.

Thx for your explanations.

Cheer

Arnaud

 -Message d'origine-
 De : Dick Zetterberg [mailto:[EMAIL PROTECTED]
 Envoyé : mardi 1 avril 2003 17:42
 À : [EMAIL PROTECTED]
 Objet : Re: Taglib on tomcat 4.1.24


 
  I'm agree with you but what about properties used by the tag ??
  For instances variables I can reset them in the begin of doStartTag.
  But for an optional attribute of a tag I can't.
  If for example I have a property foo :
 
  String foo = ;
 
  If I use a first time the tag with this property :
  mylib:mytag foo=bar/
 
  and a second time without this property
  mylib:mytag/
 
  In the second time my property is always setted to bar
 and not to .
  I can't reset it manually in the doStartTag because I will
 delete the value
  is the property is setted.
 
 Hi,

 I do not think you should do anything in your tag to manage
 or reset that. Since the sets of attributes are different for
 the two invocations they same tag instance should not be used
 for them.
 So you should never try to modify the attributes of your tag
 (with attributes I mean the attributes you have specified in
 your tag library descriptor), from within your tag. The
 container should handle them.
 For example, in Resin, if the same tag is called with the
 same attribute several times Resin does not even call the
 setXXX method for that attribute the second time, since it
 knows that the attribute has not changed.
 Now if your example with mylib:mytag above does not work, and
 you are not messing with the attributes then of course it is
 possible that it is a Tomcat bug. I use Tomcat4.1.12 and have
 similar tags and they work ok though.
 Hope this was of any help.

 Best regards,

 Dick Zetterberg
 [EMAIL PROTECTED]









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



RE: Error : JDBC ODBC

2003-03-20 Thread Arnaud HERITIER
Where did you put your oracle jar ???

 -Message d'origine-
 De : sanjeev/tcpl/[EMAIL PROTECTED]
 [mailto:sanjeev/tcpl/[EMAIL PROTECTED]
 Envoye : jeudi 8 novembre 2001 07:10
 A : [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Objet : Error : JDBC ODBC
 
 
 hi,
 
  i am facing these following errors
 
 if i using thin oracle client
 SQL Excepiton is Cannot load JDBC driver class
 'oracle.jdbc.driver.OracleDriver'
 code of server.xml
 
 Context path=/PO docBase=po debug=0
 Resource name=jdbc/PURC auth=SERVLET
 type=javax.sql.DataSource/
   ResourceParams name=jdbc/PURC
 
 parameternameuser/namevaluescott/value/parameter
 
 parameternamepassword/namevaluetiger/value/parameter
 parameternamedriverClassName/name
   
 valueoracle.jdbc.driver.OracleDriver/value/parameter
 parameternamedriverName/name
   valuejdbc:oracle:thin:
 @192.10.15.68:1521:PURC/value/parameter
   /ResourceParams
 /Context
 --server.xml
 ---
 
 if i using simple jdbc oracle client
 SQL Excepiton is Cannot create JDBC driver of class
 'sun.jdbc.odbc.JdbcOdbcDriver' for connect URL 'null'
 code of server.xml
 
 Context path=/PO docBase=po debug=0
 
   Resource name=jdbc/PO auth=SERVLET
 type=javax.sql.DataSource/
   ResourceParams name=jdbc/PO
 
 parameternameuser/namevaluescott/value/parameter
 
 parameternamepassword/namevaluetiger/value/parameter
 parameternamedriverClassName/name
   valuesun.jdbc.odbc.JdbcOdbcDriver/value/parameter
 parameternamedriverName/name
   valuejdbc:odbc:PURC/value/parameter
   /ResourceParams
 /Context
 --server.xml
 ---
 system configuration
 server windows NT4.0
 Tomcat 4.1
 jdk1.4
 oracle 8i
 
 thanks in advance
 regards
 Sanjeev
 
 
 -
 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: properties files

2003-02-25 Thread Arnaud HERITIER
You need to put your property files in WEB-INF/classes or in a jar in
WEB-INF/lib

Then you can use the getResourceAsStream(..) method of the ServletContext of
your webapp :


properties.load(getServletContext().getResourceAsStream(filePath))

Arnaud


 -Message d'origine-
 De : José Moreira [mailto:[EMAIL PROTECTED]
 Envoyé : mardi 25 février 2003 13:36
 À : Tomcat Users List
 Objet : properties files


 Hello, im using a propeties file to store and retrieve
 application settings
 (like db conection) using this code :

 private Properties properties;

 private String status;

 private boolean NovoConfig;

 /** Creates new ConfigReaderBean */
 public ConfigReaderBean() {

 Properties properties = new  Properties();

 NovoConfig = false;

 try {

 properties.load(new FileInputStream(config.properties));

 } catch (IOException e) {


 System.out.println(Erro ao ler config: +e.getMessage());



 properties.setProperty(database.url,http://localhost/mysql;);

 NovoConfig = true;

 }

 if (NovoConfig) {

 try {

 properties.store(new
 FileOutputStream(newconfig.properties),null);

 System.out.println(Criado: newconfig.properties);

 } catch (IOException e) {

 System.out.println(Erro ao criar novo config:
 +e.getMessage());

 }


 }

 the problem is that it doesnt load the file and saves the
 'newconfig.properties' file under the Netbeans IDE dir,

 how can i load the file located under my webapp WEB-INF dir ?





 ---*--
 José Moreira

 Técnico de Informática | IT Technician

 Vila Nova de Gaia, Portugal

 E-Mail: [EMAIL PROTECTED]

 MSN: [EMAIL PROTECTED]

 ICQ: 136936120

 IRC: ethernal (irc.ptnet.org)



 -
 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: AUTO {ICICICARE#002-040-330}SSL with Tomcat

2003-01-28 Thread Arnaud HERITIER
Is it possible to STOP this auto-reply on the mailing list???

Thanks

Arnaud

 -Message d'origine-
 De : NRI Cell [mailto:[EMAIL PROTECTED]]
 Envoyé : mardi 28 janvier 2003 12:06
 À : Tomcat Users List
 Objet : AUTO {ICICICARE#002-040-330}SSL with Tomcat
 
 
 Dear Sir/Madam,
  
 We have received your e-mail and shall respond to you shortly.
  
 Regards
 ICICI Bank
 NRI Services Centre
  
  
 
 


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




RE: Startup problems

2002-12-17 Thread Arnaud HERITIER
Don't you have a web app with an invalid header in its web.xml ??

 -Message d'origine-
 De : Aleksandr Shneyderman [mailto:[EMAIL PROTECTED]]
 Envoyé : lundi 16 décembre 2002 17:59
 À : Tomcat User List
 Objet : Startup problems



 I get the following error on the startup:

 Starting service Tomcat-Standalone
 Apache Tomcat/4.1.16
 Dec 16, 2002 11:52:56 AM org.apache.commons.digester.Digester
 fatalError
 SEVERE: Parse Fatal Error at line 5 column 7: White spaces
 are required
 between publicId and systemId.
 org.xml.sax.SAXParseException: White spaces are required
 between publicId
 and systemId.
   at
 org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseExcep
 tion(ErrorHand
 lerWrapper.java:232)
   at
 org.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHan
 dlerWrapper.ja
 va:213)
   at
 org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorRe
 porter.java:37
 5)
   at
 org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorRe
 porter.java:30
 5)
   at
 org.apache.xerces.impl.XMLScanner.reportFatalError(XMLScanner.
 java:1269)
   at
 org.apache.xerces.impl.XMLScanner.scanExternalID(XMLScanner.java:953)
   at
 org.apache.xerces.impl.XMLDocumentScannerImpl.scanDoctypeDecl(
 XMLDocumentSca
 nnerImpl.java:486)
   at
 org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher
 .dispatch(XMLD
 ocumentScannerImpl.java:714)
   at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocu
 ment(XMLDocume
 ntFragmentScannerImpl.java:329)
   at
 org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfigurat
 ion.java:525)
   at
 org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfigurat
 ion.java:581)
   at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
   at
 org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXP
 arser.java:117
 5)
   at
 org.apache.commons.digester.Digester.parse(Digester.java:1495)
   at
 org.apache.catalina.startup.ContextConfig.applicationConfig(Co
 ntextConfig.ja
 va:282)
   at
 org.apache.catalina.startup.ContextConfig.start(ContextConfig.
 java:639)
   at
 org.apache.catalina.startup.ContextConfig.lifecycleEvent(Conte
 xtConfig.java:
 243)
   at
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(L
 ifecycleSuppor
 t.java:166)
   at
 org.apache.catalina.core.StandardContext.start(StandardContext
 .java:3567)
   at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
   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.j
 ava: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(NativeMethodAccess
 orImpl.java:39
 )
   at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
 odAccessorImpl
 .java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
 Dec 16, 2002 11:52:57 AM org.apache.coyote.http11.Http11Protocol start

 Does anyone have an idea of what is happening?
 Thanks,
 Alex


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



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




RE: SECOND REPOST: Tomcat 4.1.12 won't start on Windows Me

2002-11-13 Thread Arnaud HERITIER
Don't you have setted a CATALINA_HOME env variable to point to another
Tomcat distro ???

 -Message d'origine-
 De : Sinclair, Alan (CORP, GEAccess)
 [mailto:alan.sinclair;geaccess.com]
 Envoyé : mercredi 13 novembre 2002 00:30
 À : 'Tomcat Users List'
 Objet : RE: SECOND REPOST: Tomcat 4.1.12 won't start on Windows Me


 Are the class files in ..server/lib still present ?  Is there
 a syntax error
 in the server.xml file ?

 -Original Message-
 From: todd thorner [mailto:tthorner;lycos.com]
 Sent: Tuesday, November 12, 2002 4:16 PM
 To: [EMAIL PROTECTED]
 Subject: SECOND REPOST: Tomcat 4.1.12 won't start on Windows Me


 Hi,

 I get the following error output when I try to start Tomcat:


 ERROR reading C:\Utilities\Java\Tomcat 4.1\conf\server.xml At Line
 3 /Server/Listener/

 Catalina.start: java.lang.ClassNotFoundException:
 org.apache.catalina.mbeans.ServerLifecycleListener
 --

 I looked around the archives and found suggestions to comment out
 a couple of lines in my server.xml file.  When I do that, I get
 different error messages, including:


 ERROR reading C:\Utilities\Java\Tomcat 4.1\conf\server.xml At Line
 19 /Server/Service/Connector/

 Catalina.start: java.lang.ClassNotFoundException:
 org.apache.coyote.tomcat4.CoyoteConnector

 --

 Then if I comment out those lines in server.xml, I get another error
 on another line.  Once I comment that out and try to start, I get a
 NullPointerException.

 I know that's not much to go on, but I'm stumped.  I've been using
 4.1.12 successfully for a couple weeks, and suddenly it
 decided to crap out.

 Thanks for any suggestions or guesses.


 __
 Outgrown your current e-mail service? Get 25MB Storage, POP3 Access,
 Advanced Spam protection with LYCOS MAIL PLUS.
 http://login.mail.lycos.com/brandPage.shtml?pageId=plusref=lmtplus

 --
 To unsubscribe, e-mail:
 mailto:tomcat-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:tomcat-user-help;jakarta.apache.org

 --
 To unsubscribe, e-mail:
 mailto:tomcat-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:tomcat-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: mod_jk.so

2002-07-23 Thread Arnaud HERITIER

to install mod_jk you should read this :
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html

 -Message d'origine-
 De : Billingham, Walter 475 [mailto:[EMAIL PROTECTED]]
 Envoye : mardi 23 juillet 2002 15:23
 A : '[EMAIL PROTECTED]'
 Objet : mod_jk.so
 
 
 Ok,
 
   I now have several compiled versions of mod_jk.so 
 thanks to everyone
 for contributing to that.  I am lost again though, what is 
 the next step in
 this process to get Apache and Tomcat connected?  I believe 
 it is using the
 make file or apxs on the .so to get it on board with Apache, 
 so in the Make
 files I have, they all reference /include in JDK and /libexec 
 in apache, I
 know I have asked before to no avail, what are these 
 equivalents in Apache 2
 and Java 1.3 and up?  Thanks. Trask.
 
 
 
 --
 
 CONFIDENTIALITY NOTICE: If you have received this e-mail in 
 error, please immediately notify the sender by e-mail at the 
 address shown.  This e-mail transmission may contain 
 confidential information.  This information is intended only 
 for the use of the individual(s) or entity to whom it is 
 intended even if addressed incorrectly.  Please delete it 
 from your files if you are not the intended recipient.  Thank 
 you for your compliance. Copyright (c) 2002 CIGNA
 
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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




RE: jar_cache files in /var/tmp using Tomcat

2002-07-18 Thread Arnaud HERITIER

let's see :

http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg59531.html

 -Message d'origine-
 De : [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]]De la part
 de Agustin
 Envoye : jeudi 18 juillet 2002 15:01
 A : [EMAIL PROTECTED]
 Objet : jar_cache files in /var/tmp using Tomcat
 
 
 I'm using Tomcat 4.01 on Solaris. There are some 
 jar_cache.tmp files
 in /var/tmp that are getting written by Tomcat. Some of them are
 actually jarfiles. Does anyone know what these files are for?
 
 Thanks for any insight you can provide.
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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




RE: Jar_cache* files bis

2002-07-15 Thread Arnaud HERITIER



 -Message d'origine-
 De : Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
 Envoye : vendredi 12 juillet 2002 18:16
 A : Tomcat Developers List; [EMAIL PROTECTED]
 Cc : [EMAIL PROTECTED]
 Objet : Re: Jar_cache* files bis




 On Fri, 12 Jul 2002, Arnaud HERITIER wrote:

  Date: Fri, 12 Jul 2002 15:05:15 +0200
  From: Arnaud HERITIER [EMAIL PROTECTED]
  Reply-To: Tomcat Developers List [EMAIL PROTECTED],
   [EMAIL PROTECTED]
  To: Tomcat-Dev (E-mail) [EMAIL PROTECTED]
  Subject: Jar_cache* files bis
 
  Hello everybody!
 
  Few days ago, I send a question about jar_cache* files and
 I didn't have
  replies.
 

 I did answer ... must have been buried in your mailbox.

Hi Craig.

I'm very really sorry Craig !!

I always read all your post carrefully and I don't explain how I do to not
see it.

I will castigate myself ;-)


  None of you knows how are used this files by Tomcat ???
 

 Tomcat does not directly acces jar_cache files at all, in any way --
 they are probably an implementation artifact of how your JDK
 deals with
 JAR files.

ooops, it's a problem more annoying than I thought.
it's possible because our customer uses the IBM JDK and not the SUN one.

I will continue to search in this direction.

Thx Craig for your patience.



  I would like to know if it possible to delete this files
 because Tomcat
  (4.0.1 under AIX) don't delete them when it shutdown :-(
 

 Sounds like a bug in your JDK.

  Can I delete this files when TC is running ??
 
  How can I set the temp directory used for this files. It
 might be usefull
  when we have several Tomcat installed on the same machine
 in a production
  environnement.
 
  Thanks
 
  Arnaud
 

 Craig




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




RE: Error - Please Help

2002-07-12 Thread Arnaud HERITIER

Have you setted a JAVA_HOME environment variable to your new SDK
installation directory ??

 -Message d'origine-
 De : Sunit Munjal [mailto:[EMAIL PROTECTED]]
 Envoyé : vendredi 12 juillet 2002 16:07
 À : Tomcat Users List
 Objet : RE: Error - Please Help



 I just installed the SDK for all languages and it still
 doesn't work.  Reynir mentioned something about putting the
 tools.jar into my tomcats classpath.  What does  that mean.
 Just copying and pasting the file in tomcat/common/lib/
 directory or does it involve changing/adding a path somewhere.

 Thanks.


  Message History
 


 From:  Reynir Hübner [EMAIL PROTECTED] on 07/12/2002 01:15 PM GMT

 Please respond to Tomcat Users List [EMAIL PROTECTED]

 To:Tomcat Users List [EMAIL PROTECTED]
 cc:
 Subject:RE: Error - Please Help


 put tools.jar from your jsdk into tomcats classpath (for
 example into tomcat/common/lib/ )
 that should fix it

 -reynir

  -Original Message-
  From: Sunit Munjal [mailto:[EMAIL PROTECTED]]
  Sent: 12. júlí 2002 13:18
  To: [EMAIL PROTECTED]
  Subject: Error - Please Help
 
 
  Hi,
  I just installed Tomcat and setup JDK, but can't see any
  thing.  I always get an error.  I was trying the same thing
  in WebLogic before, but had an error over there.  I can view
  the index.html page fine on my local host, but when I try to
  view a JSP page.  I ge the following error:
  The server encountered an internal error (Internal Server
  Error) that prevented it from fulfilling this request.
  javax.servlet.ServletException: sun/tools/javac/Main
at
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:481)
at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
  er(ApplicationFilterChain.java:247)
at
  org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
  cationFilterChain.java:193)
at
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
  rapperValve.java:243)
at
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
  ipeline.java:566)
at
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
  ine.java:472)
at
 
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
  org.apache.catalina.core.StandardContextValve.invoke(StandardC
  ontextValve.java:190)
at
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
  ipeline.java:566)
at
  org.apache.catalina.valves.CertificatesValve.invoke(Certificat
  esValve.java:246)
at
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
  ipeline.java:564)
at
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
  ine.java:472)
at
 
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
  org.apache.catalina.core.StandardContext.invoke(StandardContex
  t.java:2347)
at
  org.apache.catalina.core.StandardHostValve.invoke(StandardHost
  Valve.java:180)
at
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
  ipeline.java:566)
at
  org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
  spatcherValve.java:170)
at
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
  ipeline.java:564)
at
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
  Valve.java:170)
at
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
  ipeline.java:564)
at
  org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
  e.java:468)
at
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
  ipeline.java:564)
at
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
  ine.java:472)
at
 
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
  org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
  gineValve.java:174)
at
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
  ipeline.java:566)
at
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
  ine.java:472)
at
 
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
  org.apache.catalina.connector.http.HttpProcessor.process(HttpP
  rocessor.java:1027)
at
  org.apache.catalina.connector.http.HttpProcessor.run(HttpProce
  ssor.java:1125)
at java.lang.Thread.run(Unknown Source)
 
 
  root cause
 
  java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
  org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaComp
  iler.java:136)
at
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:272)
at
  org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
at
  

RE: jar_cache files

2002-07-11 Thread Arnaud HERITIER

Nobody has an idea about this.

how are used jar_cache* files in Tomcat ?? 

 -Message d'origine-
 De : Arnaud HERITIER [mailto:[EMAIL PROTECTED]]
 Envoye : mercredi 10 juillet 2002 16:19
 A : 'Tomcat Users List'
 Cc : Tomcat-Dev (E-mail)
 Objet : RE: jar_cache files
 
 
 Under AIX 4.3.3, when I do a rm -rf /tmp/jar_cache* the 
 command don't
 failed.
 
 It is normal ???
 
 This files aren't used after bootstrap of webapps ???
 
 Arnaud
 
  -Message d'origine-
  De : Mark Prins [mailto:[EMAIL PROTECTED]]
  Envoye : mercredi 10 juillet 2002 15:27
  A : 'Tomcat Users List'
  Objet : RE: jar_cache files
 
 
  tomcat keeps a lock on all the current jar_cache files; if
  you write a batch
  file that runs once a day that removes them the directory
  shouldn't clutter
  with outdated cache files.
 
  a batchfile with something like:
 
  cd \temp
  del /F /Q jar_cache*.tmp
 
  this will generate error messages for files that are in use,
  but you don't
  want to delete those anyway..
  Mark
 
 
   -Original Message-
   From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, July 10, 2002 2:07 PM
   To: 'Tomcat Users List'
   Subject: RE: jar_cache files
  
  
   But if there are several tomcat servers on the same server,
  how can I
   recognize which jar_cache file belong to which server ???
  
-Message d'origine-
De : Skondras P. [mailto:[EMAIL PROTECTED]]
Envoye : mercredi 10 juillet 2002 13:55
A : Tomcat Users List
Objet : Re: jar_cache files
   
   
You can delete them after stoping tomcat and before
   starting it again
This is at least what i do.
   
Arnaud HERITIER wrote:
   
 Hello.

 For a customer I developped a webapp which will be deployed
under Tomcat
 4.0.1 (Because of the validation cycle which can't allow me
to upgrade the
 release easily).

 When TC starts, it creates in the temp directory several
jar_cache* files. I
 suppose that it represents all jars in all webapps. But
this files are never
 deleted :-(

 The production team ask me if this files can be deleted ??
And if yes, when
 ???

 Are this jars used only at the boot time or during all the
life of TC ??

 Thanks.
   Arnaud HERITIER
   EAI Consulting
   Sopra Group
   T?l. : +33 (0)1 53 33 44 74
   email : [EMAIL PROTECTED]

   Ce message est exclusivement destin? aux personnes dont
le nom figure
 ci-dessus. Il peut contenir des informations
   confidentielles dont la
 divulgation est ? ce titre rigoureusement interdite. Dans
l'hypoth?se o?
 vous avez re?u ce message par erreur, merci de le renvoyer ?
 l'adresse
 e-mail ci-dessus et de d?truire toute copie.

   This message may contain confidential and proprietary
material for the
 sole use of the intended recipient. Any review or
distribution by others is
 strictly prohibited. If you are not the intended recipient,
please contact
 the sender and delete all copies.
   
   
   
   
   
  
  
   --
   To unsubscribe, e-mail:
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
  
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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




RE: Tomcat 4 question

2002-07-11 Thread Arnaud HERITIER

you can use the manager admin

you must define in your tomcat-users.xml a user with the profile manager

Then access to the manager like this :

http://my_url:my_port/manager/reload?path=webapp_context

all the doc is here :

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html

Arnaud

 -Message d'origine-
 De : Laurent Michenaud [mailto:[EMAIL PROTECTED]]
 Envoyé : jeudi 11 juillet 2002 13:58
 À : [EMAIL PROTECTED]
 Objet : Tomcat 4 question
 
 
 Hi,
 
 i was told it was possible to restart one context
 in particular without having to restart Tomcat.
 
 How can i do this ?
 Is it possible to do it with the admin interface ?
 
 
 
 Michenaud Laurent
 - Adeuza -
 [ Développeur Web - Administrateur Réseau ]
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

attachment: winmail.dat
--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


jar_cache files

2002-07-10 Thread Arnaud HERITIER

Hello.

For a customer I developped a webapp which will be deployed under Tomcat
4.0.1 (Because of the validation cycle which can't allow me to upgrade the
release easily).

When TC starts, it creates in the temp directory several jar_cache* files. I
suppose that it represents all jars in all webapps. But this files are never
deleted :-(

The production team ask me if this files can be deleted ?? And if yes, when
???

Are this jars used only at the boot time or during all the life of TC ??

Thanks.
  Arnaud HERITIER
  EAI Consulting
  Sopra Group
  Tél. : +33 (0)1 53 33 44 74
  email : [EMAIL PROTECTED]

  Ce message est exclusivement destiné aux personnes dont le nom figure
ci-dessus. Il peut contenir des informations confidentielles dont la
divulgation est à ce titre rigoureusement interdite. Dans l'hypothèse où
vous avez reçu ce message par erreur, merci de le renvoyer à l'adresse
e-mail ci-dessus et de détruire toute copie.

  This message may contain confidential and proprietary material for the
sole use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact
the sender and delete all copies.




RE: jar_cache files

2002-07-10 Thread Arnaud HERITIER

But if there are several tomcat servers on the same server, how can I
recognize which jar_cache file belong to which server ???

 -Message d'origine-
 De : Skondras P. [mailto:[EMAIL PROTECTED]]
 Envoye : mercredi 10 juillet 2002 13:55
 A : Tomcat Users List
 Objet : Re: jar_cache files


 You can delete them after stoping tomcat and before starting it again
 This is at least what i do.

 Arnaud HERITIER wrote:

  Hello.
 
  For a customer I developped a webapp which will be deployed
 under Tomcat
  4.0.1 (Because of the validation cycle which can't allow me
 to upgrade the
  release easily).
 
  When TC starts, it creates in the temp directory several
 jar_cache* files. I
  suppose that it represents all jars in all webapps. But
 this files are never
  deleted :-(
 
  The production team ask me if this files can be deleted ??
 And if yes, when
  ???
 
  Are this jars used only at the boot time or during all the
 life of TC ??
 
  Thanks.
Arnaud HERITIER
EAI Consulting
Sopra Group
Tl. : +33 (0)1 53 33 44 74
email : [EMAIL PROTECTED]
 
Ce message est exclusivement destin aux personnes dont
 le nom figure
  ci-dessus. Il peut contenir des informations confidentielles dont la
  divulgation est  ce titre rigoureusement interdite. Dans
 l'hypothse o
  vous avez reu ce message par erreur, merci de le renvoyer 
  l'adresse
  e-mail ci-dessus et de dtruire toute copie.
 
This message may contain confidential and proprietary
 material for the
  sole use of the intended recipient. Any review or
 distribution by others is
  strictly prohibited. If you are not the intended recipient,
 please contact
  the sender and delete all copies.







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




RE: jar_cache files

2002-07-10 Thread Arnaud HERITIER

Under AIX 4.3.3, when I do a rm -rf /tmp/jar_cache* the command don't
failed.

It is normal ???

This files aren't used after bootstrap of webapps ???

Arnaud

 -Message d'origine-
 De : Mark Prins [mailto:[EMAIL PROTECTED]]
 Envoye : mercredi 10 juillet 2002 15:27
 A : 'Tomcat Users List'
 Objet : RE: jar_cache files


 tomcat keeps a lock on all the current jar_cache files; if
 you write a batch
 file that runs once a day that removes them the directory
 shouldn't clutter
 with outdated cache files.

 a batchfile with something like:

 cd \temp
 del /F /Q jar_cache*.tmp

 this will generate error messages for files that are in use,
 but you don't
 want to delete those anyway..
 Mark


  -Original Message-
  From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, July 10, 2002 2:07 PM
  To: 'Tomcat Users List'
  Subject: RE: jar_cache files
 
 
  But if there are several tomcat servers on the same server,
 how can I
  recognize which jar_cache file belong to which server ???
 
   -Message d'origine-
   De : Skondras P. [mailto:[EMAIL PROTECTED]]
   Envoye : mercredi 10 juillet 2002 13:55
   A : Tomcat Users List
   Objet : Re: jar_cache files
  
  
   You can delete them after stoping tomcat and before
  starting it again
   This is at least what i do.
  
   Arnaud HERITIER wrote:
  
Hello.
   
For a customer I developped a webapp which will be deployed
   under Tomcat
4.0.1 (Because of the validation cycle which can't allow me
   to upgrade the
release easily).
   
When TC starts, it creates in the temp directory several
   jar_cache* files. I
suppose that it represents all jars in all webapps. But
   this files are never
deleted :-(
   
The production team ask me if this files can be deleted ??
   And if yes, when
???
   
Are this jars used only at the boot time or during all the
   life of TC ??
   
Thanks.
  Arnaud HERITIER
  EAI Consulting
  Sopra Group
  T?l. : +33 (0)1 53 33 44 74
  email : [EMAIL PROTECTED]
   
  Ce message est exclusivement destin? aux personnes dont
   le nom figure
ci-dessus. Il peut contenir des informations
  confidentielles dont la
divulgation est ? ce titre rigoureusement interdite. Dans
   l'hypoth?se o?
vous avez re?u ce message par erreur, merci de le renvoyer ?
l'adresse
e-mail ci-dessus et de d?truire toute copie.
   
  This message may contain confidential and proprietary
   material for the
sole use of the intended recipient. Any review or
   distribution by others is
strictly prohibited. If you are not the intended recipient,
   please contact
the sender and delete all copies.
  
  
  
  
  
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 



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




RE: jar_cache files

2002-07-10 Thread Arnaud HERITIER

Burk !!

If a TC dev can say to me if this files are used after the bootstrap it can
help me.

Otherwise it is possible to generate this files to another directory in
order to have files of each TC in differents dirs ??

 -Message d'origine-
 De : Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
 Envoye : mercredi 10 juillet 2002 16:28
 A : Tomcat Users List
 Objet : AW: jar_cache files
 
 
 Under unix it's legal to delete files that are in use.
 
 If a used file is deleted, the directory entry (i-node)
 is removed but not the file. The file will automagically 
 deleted if the file isn't used any longer. Depending 
 on the architecture of the process that uses the file
 you may get unexpected results as long as the 
 process runs.
 
  -Ursprungliche Nachricht-
  Von: Arnaud HERITIER [mailto:[EMAIL PROTECTED]]
  Gesendet: Mittwoch, 10. Juli 2002 16:19
  An: 'Tomcat Users List'
  Cc: Tomcat-Dev (E-mail)
  Betreff: RE: jar_cache files
  
  
  Under AIX 4.3.3, when I do a rm -rf /tmp/jar_cache* the 
  command don't failed.
  
  It is normal ???
  
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

attachment: winmail.dat
--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


java.lang.IllegalStateException

2002-07-05 Thread Arnaud HERITIER

Hi guys !!

I'm using TC 4.0.1 and receive the following error.

Is someone have an idea on which problem can occurs ???

Thx

Arno.

java.lang.IllegalStateException
at
org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:1
59)
at
org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:166)
at
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:158)
at
org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:205)
at
org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:176)
at
org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFacto
ryImpl.java:198)
at
org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.j
ava:193)
at org.apache.jsp.menu$jsp._jspService(menu$jsp.java:806)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:202)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:679)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:431)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:355)
at
org.apache.struts.action.ActionServlet.processForward(ActionServlet.java:184
8)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1569)
at
com.sopra.unedic.pfe.manager.web.servlet.controller.PFEActionServlet.process
(PFEActionServlet.java:173)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:201)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:371)
at
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:424)
at java.lang.Thread.run(Unknown Source)
  Arnaud HERITIER
  EAI Consulting
  Sopra Group
  Tél. : +33 (0)1 53 33 44 74
  email : [EMAIL PROTECTED]

  Ce message est exclusivement destiné aux personnes dont le nom figure
ci-dessus. Il peut contenir des informations confidentielles dont la
divulgation est à ce titre rigoureusement interdite. Dans l'hypothèse où
vous avez reçu ce message par erreur, merci de

RE: Oracle JDBC Drivers not fully working

2002-06-05 Thread Arnaud Heritier

It is still true.

Did you find another drivers to replace them???

Thanx

Arno.

-Message d'origine-
De: Power-Netz (Schwarz) [SMTP:[EMAIL PROTECTED]]
Date:   mardi 4 juin 2002 10:29
A:  tomcat liste
Objet:  Oracle JDBC Drivers not fully working


Hi,

last time i tried oracle, i found that serveral extremly nice functions
about traversing a
resultset, are not implemented in the oracle drivers. They just throw
SQL-exceptions.

Be prepared for it :-)


 POWER-NETZ?
Full-Service-Provider 

Online-Support:
Support: 0190 - 15 11 15 (EUR 0,62/Min)
http://Support.Power-Netz.de (kostenlos)
http://Support.Power-Netz.com (kostenlos)

Vertrieb Tel:  01805 - 57 35 57 (EUR 0,12/Min.)
Vertrieb Fax: 01805 - 57 45 57 (EUR 0,12/Min.)

Power-Netz
Am Plan 1
37581 Bad Gandersheim

http://www.Power-Netz.de
mailto:[EMAIL PROTECTED]


+=+
--I N F O   C E N T E R--
+ Senden Sie eine leere e-mail an:
+ Providerwechsel: mailto:[EMAIL PROTECTED]
+ Daten/Preise Webspace: mailto:[EMAIL PROTECTED]
+ Reseller-Programm: mailto:[EMAIL PROTECTED]
+ Dedizierte Server: mailto:[EMAIL PROTECTED]
+ Adult/Erotikserver: mailto:[EMAIL PROTECTED]
+ Domainpreise: mailto:[EMAIL PROTECTED]
+ Domain-Nameserver: mailto:[EMAIL PROTECTED]
+ SSL-Zertifikate: mailto:[EMAIL PROTECTED]
+ Geschaeftsbedingungen: mailto:[EMAIL PROTECTED]
+ =+


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


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




RE: Mod_jk log message question (mod_jk is so slow!!!)

2002-04-18 Thread Arnaud Heritier

in the JKMount directive which is present in your mod_jk.conf.auto file 
generated by TC  or in your httpd.conf of Apache if you wrote it yourself, 
you must declare only the servlets and the jsp files.

it should be something like :

JkMount /your_webapp/*.jsp  ajp13
JkMount /your_webapp/servlet/*  ajp13

With this configuration, Apache serves itself all the static ressources 
(HTML, images, ...)


arno#



-Message d'origine-
De: Brandon Cruz [SMTP:[EMAIL PROTECTED]]
Date:   jeudi 18 avril 2002 16:23
A:  Tomcat Users List
Objet:  RE: Mod_jk log message question (mod_jk is so slow!!!)

Does anyone at all know of any way to optimize the speed of sending 
requests
to tomcat from apache?  I have turned off all logging, which has helped a
bunch, is there anything else I can do?  The biggest problem is that all
static resources (.gif, .html, etc.) get sent to Tomcat if they are inside 
a
webapp.

How do you get around this on tomcat 3.2.4?  Can I force apache to serve up
the images even if they are inside a webapp?  Would mod_webapp
solve my problem?

Please Help!

Brandon Cruz



-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 2:38 PM
To: Tomcat Users List
Subject: Mod_jk log message question


Anyone know what this means or what causes it?


[jk_ajp13_worker.c (326)]: Error ajp13_process_callback - write failed

If nobody knows anything about it, do you know what to set my log level to
in httpd.conf so that it doesn't take up so much time for Tomcat to serve 
my
pages when transferring via mod_jk?


Thanks in advance for any advice!


Brandon Cruz


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: someone help me !!!!..urgent...

2002-04-05 Thread Arnaud Heritier

As it is wrote in the servlet specs, only jars are usable in the WEB-INF/lib directory 
of the web apps.
Tomcat 4.0 ( and 3.3 I think) don't use the computer's CLASSPATH

You have 2 solutions (that I tested) :

The dirty one :
rename the classe12.zip in classe12.jar
put it in the WEB-INF/lib dir of your web app

The good one :
Extract the zip
create a jar archive with the content : jar cvf classes12.jar .
and put it in the WEB-INF/lib dir of your web app


Arnaud

 -Message d'origine-
 De:   Raj [SMTP:[EMAIL PROTECTED]]
 Date: vendredi 5 avril 2002 11:36
 A:Tomcat Users List
 Objet:Re: someone help me ..urgent...
 
 Put that zar file in tomcat4\libdirectory.It is working for me.
 Raj
 - Original Message -
 From: Shiva.Devaguptapu [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Friday, April 05, 2002 9:52 AM
 Subject: RE: someone help me ..urgent...
 
 
  set classpath=C:\classe12.zip;%classpath%
 
  -Original Message-
  From: Bala Murali [mailto:[EMAIL PROTECTED]]
  Sent: Friday, April 05, 2002 1:40 PM
  To: [EMAIL PROTECTED]
  Subject: Re: someone help me ..urgent...
 
 
  it that not works, then unzip all the classes files to this
  tomcat_home/classes/
 
  hope it helps.
 
   [EMAIL PROTECTED] 04/05/02 02:24PM 
  rename classes12.zip to classes12.jar and copy into
 $TOMCAT_HOME/common/lib
  directory
  - Original Message -
  From: ajith kondapalli [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Friday, April 05, 2002 09:07
  Subject: someone help me ..urgent...
 
 
   hai,
   I have installed JAKARTA-TOMCAT4.0.3 version on my
   windows machine...its on C:\jakarta-tomcat 4.0.3
   I have installed oracle drivers on C:\classe12.zip...
   Now how do i set the path in this tomcat version so
   that i can access oracle I am in urgent need of
   this set up..so someone please help me... i have just
   started to use tomcat..
 thanks
Ajith
  
   __
   Do You Yahoo!?
   Yahoo! Tax Center - online filing with TurboTax
   http://taxes.yahoo.com/
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
  
  
  
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: someone help me !!!!..urgent...

2002-04-05 Thread Arnaud Heritier

You must copy it in the $TOMCAT_HOME/common/lib dir only if you want to share it to 
all your web apps.
Otherwise you must use the WEB-INF/lib dir of your web app. This is better for the 
versionning of jars

Arno#

 -Message d'origine-
 De:   Galbayar [SMTP:[EMAIL PROTECTED]]
 Date: vendredi 5 avril 2002 11:40
 A:Tomcat Users List
 Objet:Fw: someone help me ..urgent...
 
 
 - Original Message -
 From: Galbayar [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Friday, April 05, 2002 15:24
 Subject: Re: someone help me ..urgent...
 
 
  rename classes12.zip to classes12.jar and copy into
 $TOMCAT_HOME/common/lib
  directory
  - Original Message -
  From: ajith kondapalli [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Friday, April 05, 2002 09:07
  Subject: someone help me ..urgent...
 
 
   hai,
   I have installed JAKARTA-TOMCAT4.0.3 version on my
   windows machine...its on C:\jakarta-tomcat 4.0.3
   I have installed oracle drivers on C:\classe12.zip...
   Now how do i set the path in this tomcat version so
   that i can access oracle I am in urgent need of
   this set up..so someone please help me... i have just
   started to use tomcat..
 thanks
Ajith
  
   __
   Do You Yahoo!?
   Yahoo! Tax Center - online filing with TurboTax
   http://taxes.yahoo.com/
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
  
  
  
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Where is the conf/auto directory in 4.03?

2002-04-05 Thread Arnaud Heritier

This file is generated automatically when you declare in your server.xml :

  Listener className=org.apache.ajp.tomcat4.config.ApacheConfig/

Arnaud

 -Message d'origine-
 De:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
 Date: vendredi 5 avril 2002 16:18
 A:[EMAIL PROTECTED]
 Objet:Where is the conf/auto directory in 4.03?
 
 It mentions in the documentation to use th following line.
 
 Include $CATALINA_HOME/conf/auto/mod_jk.conf
 
 But there is no conf/auto directory in Tomcat 4.03.
 I know this is probably stupid, but what am I doing wrong?
 
 
 
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: jasper tag pool 3.3

2002-03-27 Thread Arnaud Heritier

you'd better post this query on the dev list.

arnaud

 -Message d'origine-
 De:   peter lin [SMTP:[EMAIL PROTECTED]]
 Date: mercredi 27 mars 2002 13:53
 A:Tomcat Users List
 Objet:jasper tag pool 3.3
 
 
 Does anyone know who wrote the tag pool implementation for TC3.3?  I am
 considering port/merging the TC3.3 tag pool code to TC4.0.x jasper.
 
 thanks.
 
 peter
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Tomcat 4 with Apache 1.3

2002-03-21 Thread Arnaud Heritier

Hi robert !

I wrote this e-mail this morning.
It could help you !

good luck.


==


Firstly I think it is better to get tomcat 4.0.1 or higher because the ajp module 
isn't packaged in the 4.0.
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/
After that you need the module mod_jk for apache. You can downlaod the .dll for 
windows or the .so for unixes from the Tomcat 3.3 distrib :
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/bin/

Tomcat configuration :
-edit the conf/server.xml
-uncomment the AJP 1.3 connector :
!-- Define an AJP 1.3 Connector on port 8009 --
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=0/

Apache configuration :
-copy the mod_jk module under the directory modules (for windows) or libexec (for 
unixes)
-copy the workers.properties attached to this mail in the conf directory.
-Edit it and modify the values of : workers.tomcat_home, workers.java_home and ps
-Edit your httpd.cong file.
- Add at the bottom this lines :

#
# The following line instructs Apache to load the jk module
#
LoadModule jk_module modules/mod_jk.dll

JkWorkersFile C:/Programs/Apache1.3.22/conf/workers.properties
JkLogFile C:/Programs/Apache1.3.22/logs/mod_jk.log

#
# Log level to be used by mod_jk
#
JkLogLevel error

###
# SSL configuration   #
# 
# By default mod_jk is configured to collect SSL information from
# the apache environment and send it to the Tomcat workers. The
# problem is that there are many SSL solutions for Apache and as
# a result the environment variable names may change.
#
# The following (commented out) JK related SSL configureation
# can be used to customize mod_jk's SSL behaviour.
# 
# Should mod_jk send SSL information to Tomact (default is On)
# JkExtractSSL Off
# 
# What is the indicator for SSL (default is HTTPS)
# JkHTTPSIndicator HTTPS
# 
# What is the indicator for SSL session (default is SSL_SESSION_ID)
# JkSESSIONIndicator SSL_SESSION_ID
# 
# What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
# JkCIPHERIndicator SSL_CIPHER
# 
# What is the indicator for the client SSL certificated (default is SSL_CLIENT_CERT)
# JkCERTSIndicator SSL_CLIENT_CERT
# 
# #
###

#
# Root context mounts for Tomcat
#
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

#
# Auto configuration for the /examples context starts.
#

#
# The following line makes apache aware of the location of the /examples context
#
Alias /examples C:/Programs/Tomcat4.0.1/webapps/examples
Directory C:/Programs/Tomcat4.0.1/webapps/examples
Options Indexes FollowSymLinks
/Directory

#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /examples/servlet/* ajp13
JkMount /examples/*.jsp ajp13

#
# The following line prohibits users from directly accessing WEB-INF
#
Location /examples/WEB-INF/
AllowOverride None
deny from all
/Location
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
Directory C:/Programs/Tomcat4.0.1/webapps/examples/WEB-INF/
AllowOverride None
deny from all
/Directory

#
# The following line prohibits users from directly accessing META-INF
#
Location /examples/META-INF/
AllowOverride None
deny from all
/Location
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
Directory C:/Programs/Tomcat4.0.1/webapps/examples/META-INF/
AllowOverride None
deny from all
/Directory

###
# Auto configuration for the /examples context ends.
###

#
# Auto configuration for the /admin context starts.
#

#
# The following line makes apache aware of the location of the /admin context
#
Alias /admin C:/Programs/Tomcat4.0.1/webapps/admin
Directory C:/Programs/Tomcat4.0.1/webapps/admin
Options Indexes FollowSymLinks
/Directory

#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /admin/servlet/* ajp13
JkMount /admin/*.jsp ajp13

#
# The following line prohibits users from directly accessing WEB-INF
#
Location /admin/WEB-INF/
AllowOverride None
deny from all
/Location
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
Directory C:/Programs/Tomcat4.0.1/webapps/admin/WEB-INF/
AllowOverride None
deny from all
/Directory

#
# The following line prohibits users from 

RE: Tomcat Memory usage(Urgent!)

2002-03-08 Thread Arnaud Heritier

Are you sure that there's not old processes.
I saw on AIX with TC4.0.1 that when i shutdowned TC, the java process wasn't killed.
So I needed to kill it manually.

Isn't there the same problem.

Do all these processes disappeare when you stop TC ??

Arno

 -Message d'origine-
 De:   David Cassidy [SMTP:[EMAIL PROTECTED]]
 Date: vendredi 8 mars 2002 12:05
 A:Tomcat Users List
 Objet:Re: Tomcat Memory usage(Urgent!)
 
 within your program you might want to check out
 
 Runtime runtime = Runtime.getRuntime;
 runtime.freeMemory() vs
 runtime.totalMemory()
 
 This will let you know what it's really using..
 But as top says it's only 59M then I'd be looking at
 other processes in your ps list
 
 Hope this helps
 
 D
 
 
 
 Boily Sylvain wrote:
 
  hi all ,
 
  Well how is possible to give back memory ? Because after 2 days the
  memory is full.
  thx
 
  Chris Pheby wrote:
 
  Each of these processes correlates to a /thread/. The processes are
  sharing
  memory for the most part - something that ps or top don't make clear.
  
  Chris
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]
  ]
  On Behalf Of Galbayar
  Sent: 08 March 2002 09:24
  To: Tomcat Users List
  Subject: Tomcat Memory usage(Urgent!)
  
  
  Hello all
  
  Here is part of top output. Is it usual that java processes eat all of
  memory? ? At now there are 50 java processes started that running
  tomcat and
  each of them uses 59M memory. There is running apache server with
  tomcat 4
  and mysql. OS is Redhat7.2 x86 . JDK 1.4 is installed.
  
  Thx
  
  106 processes: 105 sleeping, 1 running, 0 zombie, 0 stopped
  CPU states: 0.3% user, 3.4% system, 0.0% nice, 96.1% idle
  Mem: 1028860K av, 1022352K used, 6508K free, 116K shrd, 129004K buff
  Swap: 1020116K av, 0K used, 1020116K free 762320K cached
  
  3201 root 9 0 60692 59M 28164 S 0.0 5.8 0:03 java
  3202 root 8 0 60692 59M 28164 S 0.0 5.8 0:00 java
  3203 root 9 0 60692 59M 28164 S 0.0 5.8 0:35 java
  3204 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
  3205 root 9 0 60692 59M 28164 S 0.0 5.8 0:01 java
  3206 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
  3207 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
  3208 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
  3209 root 9 0 60692 59M 28164 S 0.0 5.8 0:03 java
  .
  .
  .
  
  
  
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
  
 
  --
 
  */Sylvain Boily/*
  /Administrateur Linux/
 
  cid:[EMAIL PROTECTED]
 
  /*Adresse :* 39, bd Anatole France -  93200 St-Denis -  France/
  /*tel :*0148131814/
  /*mail :*[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  *web:*http://www.linkbynet.fr/
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: mod_jk 3.3 on AIX 4.3

2002-03-04 Thread Arnaud Heritier

I don't know but my CFG_LDFLAGS_SHLIB is defined as this :

my $CFG_LDFLAGS_SHLIB = q( -G -bexpall -H512 -T512 -bhalt:4 -bM:SRE 
-bnoentry -bI:/aladin/stock/GUI/APACHE-1.3.22/libexec/httpd.exp -lc -ldl);

I found this configuration in an old old mail posted in the mailing list 
from a someone who had problems to compile mod_jserv on AIX.

#arno

 -Message d'origine-
 De:   Peacock, Alasdair [SMTP:[EMAIL PROTECTED]]
 Date: lundi 4 mars 2002 13:36
 A:'[EMAIL PROTECTED]'
 Objet:RE: mod_jk 3.3 on AIX 4.3

 That started fine. Have you got any idea what I did wrong to compile it?
 What was your CFG_LDFLAGS_SHLIB setting?

 Thanks

 -Original Message-
 From: Arnaud Heritier [mailto:[EMAIL PROTECTED]]
 Sent: 04 March 2002 12:05
 To: 'Peacock, Alasdair'
 Subject: RE: mod_jk 3.3 on AIX 4.3


 hello .

 I never saw this error.

 I send to you my copy of mod_jk.so

 Can you test it and tell me if it produces the same error ??


 arno

  -Message d'origine-
  De: Peacock, Alasdair [SMTP:[EMAIL PROTECTED]]
  Date:   lundi 4 mars 2002 12:40
  A:  '[EMAIL PROTECTED]'
  Objet:  RE: mod_jk 3.3 on AIX 4.3
 
  Hi, I was wondering if you could help me.  I have managed to compile
 mod_jk
  on my machine (AIX 4.3.3, Apache 1.3.22, Tomcat 3.3a), but when I 
attempt
 to
  start up Apache I get the following error:
 
  ./apachectl[71]: 3322 Illegal instruction(coredump)
  ./apachectl start: httpd could not be started
 
  What am I doing wrong?
 
  Thanks,
  Alasdair Peacock Fichier: ATT00018.html



msg47242/bin0.bin
Description: application/ms-tnef

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


RE: mod_jk 3.3 on AIX 4.3

2002-02-26 Thread Arnaud Heritier

try to substitute in the apxs script the line : 

my $CFG_LDFLAGS_SHLIB = .

by :

my $CFG_LDFLAGS_SHLIB = q( -bexpall -bM:SRE -bnoentry 
-bI:/aladin/stock/gui/apache-1.3.22/libexec/httpd.exp -lc -ldl); # 
substitute via Makefile.tmpl

replacing the path to your apache directory.


otherwise I send you directly my mod_jk compiled on AIX 4.3.3 with apache 1.3.22.

arno


 -Message d'origine-
 De:   Sandy Yung [SMTP:[EMAIL PROTECTED]]
 Date: mardi 26 fevrier 2002 04:59
 A:[EMAIL PROTECTED]
 Objet:mod_jk 3.3 on AIX 4.3
 
 Hi,
 
 I'm trying to compile mod_jk 3.3 (source from Tomcat 3.3a) on AIX4.3.
 My apache/apxs (1.3.17) is not compiled by me, but from a binary.
 
 I got the following error when i compile it:
 
 ld -bM:SRE -bnoentry -bI:/usr/local/lib/apache/httpd.exp -lc -o mod_jk.so 
 mod_jk.o jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o jk_pool.o 
 jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o jk_jni_worker.o 
 jk_connect.o jk_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o
 
 ld: 0711-244 ERROR: No csects or exported symbols have been saved.
 apxs:Break: Command failed with rc=8
 
 What's wrong? Anyone who successfully compile it?
 
 
 
 
 
 _
 Send and receive Hotmail on your mobile device: http://mobile.msn.com
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: TomCat's XML parser

2002-02-20 Thread Arnaud Heritier

I'm developping a web app using XML (SAX  DOM) and XSLT.
I'm using xerces 1.4.4 and Xalan 2.1 in my web-app lib directory without any conflict 
with Tomcat.

arno



 -Message d'origine-
 De:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
 Date: mardi 19 fevrier 2002 23:09
 A:Tomcat Users List
 Objet:RE: TomCat's XML parser
 
 
 Tomcat 4.0.2 final release has included the xerces.jar (xerces 1, I think).
 This version does include a SAX parser. And AFAIK, you could copy your own
 xml parser (.jar) in your CATALINA_HOME/common/lib folder. Remember to
 remove xerces.jar when you do this. Or else you might have a conflict.
 Thanks.
 RS
 
 
 
 
 John Wadkin [EMAIL PROTECTED] on 02/19/2002 03:44:57 PM
 
 Please respond to Tomcat Users List [EMAIL PROTECTED]
 
 To:   'Tomcat Users List' [EMAIL PROTECTED]
 cc:
 
 Subject:  RE: TomCat's XML parser
 
 Mehjabin
 
 Never got a reply! Wondering if I might have said something offensive in a
 previous post :)
 
 Would be great if someone would reply...
 
 John
 
  -Original Message-
  From: Kapasi, Mehjabin [mailto:[EMAIL PROTECTED]]
  Sent: 19 February 2002 20:27
  To: 'Tomcat Users List'
  Subject: RE: TomCat's XML parser
 
 
  Hi,
  I have the same issue. I would like to use another parser
  instead of Xerces.
  Did you get a reply to this question? If yes, could you let me know?
  thank you
  -Mehjabin
 
  -Original Message-
  From: John Wadkin [mailto:[EMAIL PROTECTED]]
  Sent: Monday, February 18, 2002 10:15 AM
  To: Tomcat Users List (E-mail)
  Subject: TomCat's XML parser
 
 
  All,
 
  I'm in the process of setting up a (Unix) system ready for a
  servlet. I'm
  told by the person who wrote the servlet that it needs a XML
  parser. He
  recommends Xerces and (apparently) I'll also need SAX.
  I know that TomCat uses Xerces but which version? And does
  that include SAX?
  If so, which version? I've read the doc's and the latest
  version of Xerces
  no longer comes as Xerces.jar - it's now two separate jars -
  but can be made
  into a single jar. This leaves me wondering if TomCat uses the latest
  version or not - i.e. TomCat has xerces.jar in tchome/common.
  Also, would it be possible to have a second parser installed alongside
  Xerces - e.g. Aelfred - without breaking TomCat?
 
  Thanks,
 
  John
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 
 
 
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]