Re: Can't solve SAXParseException: The string -- is not permittedwithin comments

2002-11-04 Thread Jeanfrancois Arcand
Try 2.1.0This is the only version that works properly. -- Jeanfrancois Manuel González Castro wrote: Yep, known issue. Try using the previous version of Xerces-2.x.x. The newest one doesn't seem to play well with Digester. That's what I did: I replaced the original xercesImpl.jar

Re: Can't solve SAXParseException: The string -- is not permittedwithin comments

2002-11-04 Thread Jeanfrancois Arcand
Double check that xercesImpl.jar is deleted. For an obscur reason, Xerces 2.1.0 has been renamed xerces.jar. If you don't delete xercesImpl.jar in common/endorsed, then Xerces 2.2 is still in use. I'm working with the Xerces guys to fix that problem and YES, I'm going to get crazy :-) --

Re: Webapp deploy problems

2002-11-05 Thread Jeanfrancois Arcand
Post your web.xml and server.xml to give more information to all the peoples watching this list :-) -- Jeanfrancois Darin Kuntze wrote: Hi, I'm having trouble getting my servlets, residing in a classes directory, to execute. Tomcat appears to no be able to locate them. I am using the

Re: security manager

2002-11-12 Thread Jeanfrancois Arcand
Which version of Tomcat are you using? -- Jeanfrancois Jose Antonio Martinez wrote: I am using the default security configuration at manager 'catalina.policy' file, but when i try to access files which are under the webapp directory who i am executing i have an exception:

Re: security manager

2002-11-12 Thread Jeanfrancois Arcand
Strange. Can you post you entire log file (to see more exception info)? -- Jeanfrancois Jose Antonio Martinez wrote: tomcat 4.0.5 --- Jeanfrancois Arcand [EMAIL PROTECTED] escribió: Which version of Tomcat are you using? -- Jeanfrancois Jose Antonio Martinez wrote: I am using

Re: security manager

2002-11-12 Thread Jeanfrancois Arcand
) the name of a file and write its content. --- Jeanfrancois Arcand [EMAIL PROTECTED] escribió: Strange. Can you post you entire log file (to see more exception info)? -- Jeanfrancois Jose Antonio Martinez wrote: tomcat 4.0.5 --- Jeanfrancois Arcand [EMAIL PROTECTED] escribió: Which version

Re: Tomcat - Access Connection.

2002-11-12 Thread Jeanfrancois Arcand
The JDBC-ODBC bridge is probably the only solution available. -- Jeanfrancois Andoni wrote: Hello, Where can I get a driver to connect tomcat to MS Access? Do I need a driver like I do with SQLServer? Thanks, Andoni. -- To unsubscribe, e-mail:

Re: [ Tomcat Problems ]

2002-11-13 Thread Jeanfrancois Arcand
Are you using Xerces 2.2? Xerces 2.2 breaks TomcatYou need Xerces 2.1.0 in order to avoid that exception. -- Jeanfrancois Osvâneo A. Ferreira wrote: Hi, I have a problem with tomcat configuration. When Deployed my application this error logged (catalina.out): 2002-11-13 12:02:10

Re: Forte Tomcat

2002-11-13 Thread Jeanfrancois Arcand
The error is produced by the Netbean extension. You should ask the question in the netbean-user forum. My guest is you have a JAXP conflict somewhere. -- Jeanfrancois Shruti Ahuja, Noida wrote: Hi, I am trying to deploy a web applictaion on the Tomcat 4.0.1 server integrated with the Forte

Re: Help in JNI

2002-11-13 Thread Jeanfrancois Arcand
This seems to be a VM craches. Have you try the Hotspot mailling list? That might be a better place to ask the question (faster answer :-) ) -- Jeanfrancois Santosh Kulkarni wrote: Hi, I'm getting this stack trace when I invoke a JNI call. This is happening on solaris only and could not

Re: ParameterMap not found exception

2002-11-13 Thread Jeanfrancois Arcand
Add the following line to your catalina.policy file: // == WEB APPLICATION PERMISSIONS = // These permissions are granted by default to all web applications // In addition, a web application will be given a read FilePermission // and JndiPermission

Re: ParameterMap not found exception

2002-11-13 Thread Jeanfrancois Arcand
Actually I can remember/find the appropriate bug number. But it is there somewhereThe next 4.1.15 for sure will contains the fixe (I'm not sure for 4.1.13, 14) -- Jeanfrancois David Wall wrote: That's a know bug with Tomcat 4.1.12 + Security Manager (you did not mention it, but I assume

Re: setting syetem property while starting up tomcat

2002-11-20 Thread Jeanfrancois Arcand
Depending on the OS you are running, change CATALINA_OPTS in ${CATALINA_HOME}/bin/catalina.sh (or bat) -- Jeanfrancois Abhijat Thakur wrote: hi, I have integrated a SOAP server with tomcat and i am not able to deploy some soap services because a system property has not been set. I need to

Re: Jbuilder Resource binding problem

2002-11-20 Thread Jeanfrancois Arcand
You should post the question to a JBuilder list. I'm sure peoples using Tomcat and JBuilder can help. It strange that JBuilder does not allow you to change the server.xml file. Depending on the Tomcat version bundled with JBuilder, you can use the admin tool to create your JDBC datasource. --

Re: bean getProperty issue

2002-11-20 Thread Jeanfrancois Arcand
You have the exception because you are not following the JavaBean getter/setter convention. You need to follow the upperCase/lowerCase sensitivity if you want to use getProperty/setProperty. -- Jeanfrancois Mark Walker wrote: I compared your code to something similar on our server. In our

Re: Administration Tool with Tomcat 4.1.12: admin user doesn't work

2002-11-20 Thread Jeanfrancois Arcand
You have 2 problems: (1) you cannot cache you form based login page. The error you are seeiing is because you have probably cached (or bookmarked) the admin login page. You must type http://localhost:8080//admin. (2) As Jeff answered, you need an admin role, not manager -- Jeanfrancois

Re: init parameters acces

2002-11-20 Thread Jeanfrancois Arcand
From you web.xml fragment, seems some element are missing. First, the servlet element is not closed. Are you sure you web.xml file is parsed properly? -- Jeanfrancois Javier Linares wrote: Hi, I'm trying to access my init parameters in my web.xml file located in my

Re: verifyError with tomcat and xerces 2.2.1

2002-11-26 Thread Jeanfrancois Arcand
Have you try with the SUN JDK 1.3.1? Which version of Tomcat are you using? -- Jeanfrancois [EMAIL PROTECTED] wrote: Hi, I created a very small servlet and when I try to run it I got a VerifyError exception (see below). The servlet try to create a instance of JAXP DocumentBuilder. I use

Re: path mapping

2002-11-26 Thread Jeanfrancois Arcand
See section 11 of the Servlet Specification: http://jcp.org/aboutJava/communityprocess/first/jsr154/ -- Jeanfrancois Matthew Hixson wrote: I have a web application that is currently running under Resin. We may need to migrate our app to Tomcat/JBoss. I'm wondering if there is an

Re: Hi all .. compilation with NetBeans ..

2002-11-27 Thread Jeanfrancois Arcand
You have to download the transaction API from java.sun.com: http://java.sun.com/products/jta/ All these dependecy are described in jakarta-tomcat-{version}/BUILDING.txt. I'm currently using Netbean 3.4 and it works fine if you mount all jars that are under ${CATALINA_HOME}/common

Re: Hi all .. compilation with NetBeans ..

2002-11-27 Thread Jeanfrancois Arcand
on this .. I appreciate :) Eriam Jeanfrancois Arcand a écrit: What do you means? Have you mounted all jar files? -- Jeanfrancois Eriam Schaffter wrote: Thanks for your answer .. In fact i've downloaded jta but I cannot set Netbeans to update auto completion as NetBeans just tells me

Re: NullPointerException in Tomcat

2002-12-02 Thread Jeanfrancois Arcand
It's more a Netbeans error than a Tomcat error. I'm sure you will receive a better answer in the Netbeans users mailling list. Sorry :-( -- Jeanfrancois Bradley Ward wrote: I am getting a NullPointerException, and the stack trace says it is down in the bowels of Tomcat somewhere. Can anyone

Re: Access denied... to /tmp !?

2002-12-02 Thread Jeanfrancois Arcand
That's the proper behaviour. By default, a web application is only able to read under the context under which it was deployed. If you want to grant access to the /tmp !*be carefull*!, add the following in your catalina.policy file: grant codeBase file:${catalina.home}/webapps/your context/- {

Re: NullPointerException in Tomcat

2002-12-02 Thread Jeanfrancois Arcand
Bradley Ward wrote: I see that it is in the netbeans level, but I was hoping someone in the Tomcat world would know what is going on. None of my modules are in the call stack; it is all within some internal Tomcat call. Since there is none of my code involved, it would appear that Tomcat is

Re: Access denied... to /tmp !?

2002-12-03 Thread Jeanfrancois Arcand
Simon Brooke wrote: On Monday 02 Dec 2002 5:01 pm, Jeanfrancois Arcand wrote: That's the proper behaviour. By default, a web application is only able to read under the context under which it was deployed. If you want to grant access to the /tmp !*be carefull*!, add the following in your

Re: Tomcat and security manager: unexpected java.security.AccessControlExceptionon sun linux cobalt

2002-12-03 Thread Jeanfrancois Arcand
J.P.Jarolim wrote: Hi! I've been working on this since beginnig last week together with a friend and can't find a clue: My friend owns a sun cobalt with linux, apache and tomcat. The system seems to be ready to use for providers - there is a config utility to add new user sites with a lot of

Re: exception loading sessions from persistent storage?

2002-12-04 Thread Jeanfrancois Arcand
Could you give exactly what you are doing? What are you serializing in your session? Please give more information :-) -- Jeanfrancois Paul Tomsic wrote: When I stop/start tomcat 4.1.12, I'm getting the following error: Exception loading sessions from persistent storage

Re: exception loading sessions from persistent storage?

2002-12-04 Thread Jeanfrancois Arcand
include the full stacktrace of the exception? -- Jeanfrancois Where should I be putting the parameters for these if I can't put them into a context tag? thanks, paul Date: Wed, 04 Dec 2002 11:41:16 -0500 From: Jeanfrancois Arcand [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED

Re: exception loading sessions from persistent storage?

2002-12-04 Thread Jeanfrancois Arcand
Well, to be honest, I have no idea :-( What are you trying to serialize? From the stack trace, seems your persisting something do is not serializable...I guest you will have to list what you are trying to persist -- Jeanfrancois Paul Tomsic wrote: here's the whole stack trace:

Re: JAASRealm docs

2002-12-06 Thread Jeanfrancois Arcand
The answer is no. But if you search the list, I'm sure you will find a lot of interesting discussions. You can also look at the class API documentation org.apache.catalina.realm.JAASRealm. Since this class is a Valve, setting JAAS should not differ that setting JNDIRealmLet me know if you

Re: 4.1.12 dumps VM, any ideas?

2002-12-10 Thread Jeanfrancois Arcand
Seems to be an Hotspot problem. I have the same configuration without having problem. You should have a better answer on java.sun.com...Sorry :-( -- Jeanfrancois Will Hartung wrote: Hi All! We're just porting our app to 4.1.12. After fighting classpath problems, the latest and greatest is

Re: TC 4.1 and VM crash: how to report issue?

2002-12-10 Thread Jeanfrancois Arcand
Aymeric Alibert wrote: We are running a Tomcat 4.0 server in our production environment and I am trying to upgrade to Tomcat 4.1. I ran some load test recently and was horrified to see the server crashing even under moderate load. After more testing, I found that starting the VM with the

Re: TC 4.1 and VM crash: how to report issue?

2002-12-10 Thread Jeanfrancois Arcand
Have you try running your test and verbosing as much as possible information inside the log file (increase the debug level in server.xml)? Try it to see if Tomcat 4.1.x output something useful to trace the problem. Post your result (ot the last couple of lines). Maybe it will help. --

Re: Weird error on Win2k server

2002-12-10 Thread Jeanfrancois Arcand
Are you sure you have JDK 1.4? Do you have only the JRE or the full JDK? If you have only the JRE, then that's the problem. Tomcat needs the full JDK version (that include a file called tools.jar). -- Jeanfrancois Billy Ng wrote: I am testing the installer that installs our java web app, jdk

Re: The future of Tomcat and java.nio

2002-12-11 Thread Jeanfrancois Arcand
The Servlet 2.4 (Tomcat 5) spec clearly say that we have to support JDK 1.3...That's one of the reason why nio is not used. Once 1.4 will be required, then we will evaluate the possibility of using nioGet ready to submit patches at that time :-) -- Jeanfrancois Joe Tomcat wrote: It seems

Re: Weird error on Win2k server

2002-12-11 Thread Jeanfrancois Arcand
Billy Ng wrote: Are you sure you have JDK 1.4? Do you have only the JRE or the full JDK? Yes, we do. The installler will call the jdk installer. If you have only the JRE, then that's the problem. Tomcat needs the full JDK version (that include a file called tools.jar).

Re: learning filters

2002-12-11 Thread Jeanfrancois Arcand
A good start will be to read the specs section 6 where filter are explained. http://jcp.org/aboutJava/communityprocess/first/jsr154/ You will certainly learn the basic of filters. -- Jeanfrancois Price, Erik wrote: I have been learning about servlet programming from Core Servlets. I like

Re: CATALINA_BASE Error ContextConfig.tldScanJar

2002-12-11 Thread Jeanfrancois Arcand
Which version of Xerces are you using? If its 2.2.x, then downgrade to 2.1.0. There is a bug with Xerces 2.2.0, 2.2.1, 2.0.2. If you are not using Xerces, please post the entire stack trace. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282 -- Jeanfrancois ( vive Tomcat francais!)

Re: server.dtd

2002-12-11 Thread Jeanfrancois Arcand
There is no such file. If you look inside server.xml, you will see there is no DOCTYPE element. Tomcat do not validate this file when reading it. -- Jeanfrancois David Rayroud wrote: Has anyone a dtd file for the server.xml file ? I'm using Tomcat4.1.12, running on SME5.7 Linux Server. Thank

Re: TC 4.1 and VM crash: how to report issue?

2002-12-11 Thread Jeanfrancois Arcand
You are right. Nothing helfull...Yoav recommendations are probably the way to explore nowYou should file a bug and try to escalate it on the SUN web site. -- Jeanfrancois Aymeric Alibert wrote: I changed the debug flag to 10 in all elements of my server.xml. Looking at the log file, I

Re: multiple versions of xerces allowed in one tomcat instance?

2002-12-11 Thread Jeanfrancois Arcand
Swanson, Brion wrote: Hello, I have an issue where I'm trying to run Tomcat 4.1.12 with Axis 1.0 and my own webapp. Both Tomcat 4.1.12 and Axis 1.0 prefer Xerces 2 (actually, Axis needs it because it needs the lexical handling that isn't offered by Xerces 1). However, a component in my own

Re: server.dtd

2002-12-11 Thread Jeanfrancois Arcand
-Original Message- From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 12:50 To: Tomcat Users List Subject: Re: server.dtd There is no such file. If you look inside server.xml, you will see there is no DOCTYPE element. Tomcat do not validate this file when

Re: The future of Tomcat and java.nio

2002-12-11 Thread Jeanfrancois Arcand
Joe Tomcat wrote: On Wed, 2002-12-11 at 09:25, Jeanfrancois Arcand wrote: The Servlet 2.4 (Tomcat 5) spec clearly say that we have to support JDK 1.3...That's one of the reason why nio is not used. Once 1.4 will be required, then we will evaluate the possibility of using nioGet ready

Re: Security violation in Tomcat 4.0.6

2002-12-12 Thread Jeanfrancois Arcand
In catalina.properties, can you add: // These permissions are granted by default to all web applications // In addition, a web application will be given a read FilePermission // and JndiPermission for all files and directories in its document root. grant { [.] // Required for sevlets and

Re: Context Mapping

2002-12-12 Thread Jeanfrancois Arcand
This output occurs when Tomcat try to match element defined under servlet-mapping in the web.xml. How have you defined the servlet-mapping element? -- Jeanfrancois Mark Lenz wrote: I have Tomcat installed and have started to write some JSP's. I looked at my logs today and saw this everytime

Re: Configuring Security URLs (realm)

2002-12-12 Thread Jeanfrancois Arcand
No. You cannot (it's against the Servlet spec). If you realy needs it, you can download Tomcat code and customizes o.a.c.authenticator.AuthenticatorBase.invoke in Tomcat 4, and o.a.c.realm.RealmBase.hasResourcePermission in Tomcat 5. -- Jeanfrancois [EMAIL PROTECTED] wrote: Hi, I want to

Re: Tomcat under Forte

2002-12-12 Thread Jeanfrancois Arcand
Seems to be related to the JAXP version Forte is using. Have you install Xerces or do you have it included your classpath? A good place to ask the question is [EMAIL PROTECTED] They will answer faster than us :-) -- Jeanfrancois Shruti Ahuja, Noida wrote: Hi, I am deploying a web application

Re: Security violation in Tomcat 4.0.6

2002-12-13 Thread Jeanfrancois Arcand
The fix was introduced in Tomcat 4.1.13. aps olute wrote: Am curious as to why the double entry of permission java.lang.RuntimePermission accessClassInPackage.org.apache.catalina.util; ? Actually, that's a very good question. It is not supposed to make a difference. I will try to find why

Re: Retrieve User - Realm

2002-12-13 Thread Jeanfrancois Arcand
I think you are wrong. What he is looking for is: HttpServletRequest.getUserPrincipal() that return the java.security.Principal object created within the Realm. -- Jeanfrancois -- Jeanfrancois Tam, Michael wrote: It is in the API. Take a look at

Re: AccessControlException/introspection

2002-12-15 Thread Jeanfrancois Arcand
Hi, even if I'm not an expert with Tomcat 3.2.3, can you post the entire stack trace (so I will be able to locate the problem inside the Tomcat code). -- Jeanfrancois Bertrand Fontaine wrote: Hello, I am getting the following stack trace: java.security.AccessControlException: access denied

Re: how to disable cookies in tomcat ?

2002-12-16 Thread Jeanfrancois Arcand
Cookies are disabled in your browser, not in Tomcat :-) Look under preferences or options menu (based on your browser) -- Jeanfrancois Albrecht Berger wrote: Hello, I read that it is possible to disable cookies. Could someone provide a server.xml or web.xml where cookies are disabled ? The

Re: Tomcat 4.1.18 Admin Page

2003-01-03 Thread Jeanfrancois Arcand
If you click on the link you just provided, read in the middle of the page :-), you will read : NOTE: For security reasons, using the administration webapp is restricted to users with role admin. The manager webapp is restricted to users with role manager. Users are defined in

Re: Help with Tomcat on HP-UX 10.20

2003-01-03 Thread Jeanfrancois Arcand
John Clark wrote: I have spent some time looking at the FAQs, archives, etc. but cannot find the information I need, can anyone help. I have an intranet application (using JSP) that currently runs using Oracle 9i (Apache built in) on Linux and using Oracle 8 and Tomcat on NT/2000. I now want

Re: Tomcat Distrobution Bundle

2003-01-06 Thread Jeanfrancois Arcand
What kind of errors are you seeing? There is a defaut parser that comes with JDK 1.4.x (Crimson) and if you want to use Xerces, copy the xercesImpl,.jar under ${catalina_home}/common/endorsed. With which Tomcat version it was working before? -- Jeanfrancois Jared Walker wrote: hi all, I

Re: HELP with catalina.policy

2003-01-07 Thread Jeanfrancois Arcand
Arthur Chan wrote: Hi. I use j2sdk1.4.0 + Apache2 + Tomcat4.0.4 + mod_jk My applets access tomcat servlets to query an Ora9i database. Most of the client W98, NT4 and W-XP can access my applet to query the servlets with the exception of 2. One client uses java 1.3.1_03 and when he tries to use

Re: xerces version

2003-01-07 Thread Jeanfrancois Arcand
This is against the spec. You cannot replace endorsed library within your web app (http://java.sun.com/j2se/1.4/docs/guide/standards/). The Tomcat classloader just ignore the jar file. see : SRV.9.7.2Web Application Classloader in the Servlet 2.4 specification

Re: Tomcat 4.1.18 Admin Page

2003-01-08 Thread Jeanfrancois Arcand
No, only manager and admin role are known by Tomcat. -- Jeanfrancois Peter Lee wrote: Does anyone know the usage of the rolename provider Any special meaning to that? user username=user password=sec roles=admin,manager,provider/ On 3 Jan 2003 at 10:58, Jeanfrancois Arcand wrote

Re: DTD for server.xml??

2003-01-08 Thread Jeanfrancois Arcand
I thin it should be defined like this: !DOCTYPE web-app[ !ENTITY vhost1 SYSTEM /path/to/tomcat/conf/vhost1.xml ] I did not try it but that the way ENTITY works usually. -- Jeanfrancois Turner, John wrote: Sorry, that should be !ENTITY vhost1 SYSTEM /path/to/tomcat/conf/vhost1.xml Typo

Re: DTD for server.xml??

2003-01-08 Thread Jeanfrancois Arcand
Oups (remove the quote) !DOCTYPE web-app[ !ENTITY vhost1 SYSTEM /path/to/tomcat/conf/vhost1.xml ] -- Jeanfrancois Jeanfrancois Arcand wrote: I thin it should be defined like this: !DOCTYPE web-app[ !ENTITY vhost1 SYSTEM /path/to/tomcat/conf/vhost1.xml ] I did not try

Re: Web Deployment Descriptor Realm

2003-01-10 Thread Jeanfrancois Arcand
No since web.xml is servlet specific (and Realm are Tomcat specific). On solution is to create your_app_name.xml that contains a Context element that define your realm, put it under /WED-INF and include an HOW-TO-DEPLOY-THIS-WEB-APP file somewhere in your war file to tell people how to deploy

Re: manager app permissions issue

2003-01-10 Thread Jeanfrancois Arcand
Which Tomcat version are you using (works for me with 4.1/5.0)? From the error you have provided, seems you are trying to get access to class ManagerServlet from one of your class. ManagerServlet class is package protected by Tomcat when running with the security manager (your case). If you

Re: DTD problem starting tomcat 4

2003-01-10 Thread Jeanfrancois Arcand
That should not make any differences since Tomcat (aka the Digester) use local copy of the DTD. So even if the URL is wrong, internally, Tomcat uses the previous one and your app should still deploy. As why the URL change, I guess it is related when java.sun.com where re-designed :-( --

Re: tomcat 4.1.18 can't start on W2K - java.endorsed.dirs is empty?

2003-01-13 Thread Jeanfrancois Arcand
The endorsed dir is used when you want to use another parser that the one included by default with JDK 1.4 (Crimson). The error you have is produced because Tomcat requires the full JDK, not only the JRE (the jsp compiler uses classes from tools.jar, which is only included with the JDK). -

Re: Running standard CGI perl scripts under Apache

2003-01-18 Thread Jeanfrancois Arcand
Yes, you can. See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/cgi-howto.html -- Jeanfrancois Red Hat wrote: Is it possible to run standard cgi perl scripts under tomcat 4.x? Thx, CC Chuck Carson Sr. Systems Engineer Syrrx, Inc. 10410 Science Center Drive San Diego, CA 92121 Work:

Re: Question about tomcat 4.1.19

2003-01-19 Thread Jeanfrancois Arcand
Yes, they were a lot of change between 4.1.18 and 4.1.19. That's why it is considered alpha... -- Jeanfrancois Steve Vanspall wrote: Hi there, I reported a bug, in tomcat 4.1.18, to bugzilla. The reply I got stated that it was fixed in Tomcat 4.1.19, having not found a link to the binary for

Re: username as a variable?

2003-01-24 Thread Jeanfrancois Arcand
You can also use HttpServletRequest.getUserPrincipal() to get the current user. -- Jeanfrancois Barney Hamish wrote: see the j2ee documentation on the request object... There is the method getRemoteUser() -Original Message- From: Shah, Sanjay [mailto:[EMAIL PROTECTED]] Sent:

Re: include for server.xml

2003-02-02 Thread Jeanfrancois Arcand
There is no such concept associated with server.xml.But there is in XML :-) You can define an ENTITY element at the top of your server.xml file and reference it inside the body of the server element. Do something like this: !ENTITY coyoteConnector SYSTEM http://your_configuration.xml; and

Re: kept getting HTTP Status 404 - please help. thanx.

2003-02-02 Thread Jeanfrancois Arcand
Could you post your web.xml file? That will be a good starting point for us to help you :-) -- Jeanfrancois John Qin wrote: Ijust installed tomcat 4.1.18 today. everything seems fine. i can see this page http://localhost:8080/index.jsp. and i run those Servlet Examples, it showed up,

Re: Could not reserve enough space for object heap

2003-02-02 Thread Jeanfrancois Arcand
Seems you JAva VM is not properly installed. If you type java -version, does it works? Are other Java programs work? -- Jeanfrancois Pierre-Philipp Braun wrote: Hi all, now i'm trying the binaries from http://jakarta.apache.org/ but i've got difficulties setting this up even. When i do: #

Re: include for server.xml

2003-02-02 Thread Jeanfrancois Arcand
) 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:1175) ... Any advice? bfn, Ward. On Sun, Feb 02, 2003 at 04:17:13PM -0500, Jeanfrancois Arcand wrote

Re: include for server.xml

2003-02-02 Thread Jeanfrancois Arcand
) 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:1175) ... Any advice? bfn, Ward. On Sun, Feb 02, 2003 at 04:17:13PM -0500, Jeanfrancois Arcand wrote

Re: [offtopic] Opinion - Error messages

2003-02-03 Thread Jeanfrancois Arcand
Jim Henderson wrote: I have been in IT for approximately 25 years Scary ;-) and worked with Cobol, C++, Fortran, PL1, Java, and others on IBM S390, PDPs, AS400s, PCs. No Lisp? That's the problem! I believe Tomcat is a great server environment. It has a lot of strengths and is

Re: Conflicts between 2 lib in Tomcat 4.0.3

2003-02-03 Thread Jeanfrancois Arcand
Or maybehe is using the old Xerces (1.4.4) with the new Xerces(2.x). They have make huge changes between the 2 versions and backward compatibility is no longer supported (Xerces 1.4.4 doesn't fully supports JAXP, Xerces 2.x does). They probably use a public API, but not the JAXP one. You will

Re: Encrypt tomcat-users.xml

2003-02-03 Thread Jeanfrancois Arcand
A better solution is to use a database to store your username/password information and configure the JDBCDatabaseRealm (instead of the default one: MemoryRealm). See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html -- Jeanfrancois A.VERGES wrote: Hi, Do you know any way to

Re: web.xml question

2003-02-03 Thread Jeanfrancois Arcand
Is your Servlet have a package name? If no, it should. example: WEB-INF/classes/my/package/SessionTestServlet and then try something like that servlet-nameSessionTest/servlet-name servlet-classmy.package.SessionTestServlet/servlet-class -- Jeanfrancois Pooleery, Manoj wrote:

Re: JAAS login context propagation to JBoss

2003-02-06 Thread Jeanfrancois Arcand
The feature you want has been implemented in Tomcat 5 (not in Tomcat 4.1.x). You can probably port it if you realy needs it (see http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/security/SecurityUtil.java) or starts using Tomcat 5. -- Jeanfrancois

Re: Tomcat with Security manager

2003-02-06 Thread Jeanfrancois Arcand
Can you post your catalina.policy file? Your file should contains that permission: // These permissions apply to the server startup code grant codeBase file:${catalina.home}/bin/bootstrap.jar { permission java.security.AllPermission; } -- Jeanfrancois Harish Kumar K.K. wrote: Hello All Hope

Re: Tomcat with Security manager

2003-02-07 Thread Jeanfrancois Arcand
; }; ** End of catalina.policy ** - Original Message - From: Jeanfrancois Arcand [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, February 06, 2003 7:34 AM Subject: Re: Tomcat with Security manager Can you post your catalina.policy file

Re: Any particular JDK version required for Tomcat?

2003-02-07 Thread Jeanfrancois Arcand
Tomcat 4.1.1x requires JDK 1.2.x and higher. Tomcat 5 requires 1.3.x and Tomcat 3.x requires 1.1. -- Jeanfrancois Tref Gare wrote: Hi all, A quick question for a friend who needs to install Tomcat 4.1.12 into a JDK 1.2 environment. Are there any limitations or constraints regarding which

Re: Tomcat exploding 1.4.1 JVM

2003-02-07 Thread Jeanfrancois Arcand
Seems to me that you don't have all the Solaris paches required to run the VM. I don't have any problems under Solaris 5.8 but if you think you have all the patches, you may file a bugs against the VM (not Tomcat since it is a VM crash) -- Jeanfrancois Will Hartung wrote: Anyone else getting

Re: The string -- is not permitted within comments

2003-02-12 Thread Jeanfrancois Arcand
Xerces 2.2.1 is broken :-) 2.2.2 also :-) ... with Tomcat. See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282 for the real story. The file that produce the error is struts-config.xml, but you cannot predict on which file it will crach. Xerces 2.3.0 works fine for me. You should give

Re: get User object from tomcat

2003-02-12 Thread Jeanfrancois Arcand
Humm...not clear. I guess you mean the principal. Looks at: HttpServletRequest.getUserPrincipal() that returns the current authenticated user HttpServletRequest.isUserInRole(String role) to see if the current authenticated user is included in the specified logical role. -- Jeanfrancois

Re: The string -- is not permitted within comments

2003-02-12 Thread Jeanfrancois Arcand
with more than 80 characters. Or were you referring to web-app_2_3.dtd that comes with struts.jar? Am I missing something? Jeanfrancois Arcand wrote: Xerces 2.2.1 is broken :-) 2.2.2 also :-) ... with Tomcat. See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282 for the real story

Re: JPDA_ADDRESS default in catalina.sh is 8000, but jdbconnin catalina.bat

2003-02-24 Thread Jeanfrancois Arcand
It depends on which JPDA connection method you use. Under windoses, you can use SharedMemoryAttach (transport dt_shmem) or dt_socket (like UNIX).. See the JPDA documentation for more info :-) -- Jeanfrancois Karr, David wrote: It seems perfectly reasonable to me to default JPDA_ADDRESS to

Re: JPDA_ADDRESS default in catalina.sh is 8000, but jdbconnin catalina.bat

2003-02-25 Thread Jeanfrancois Arcand
I suspect you need to add something like JPDA_Connector=SharedMemoryAttach. I'm using Netbean and that's very easy using the current catalina.bat setting. You maybe want to ask the question to JSwat peoples since they probably know how to to that on win2k. -- Jeanfrancois. Wendy Smoak wrote:

Re: Any Known issues with TomCat and Solaris9?

2004-03-15 Thread Jeanfrancois Arcand
Chris Wilt wrote: Are there any known issues with TomCat running on a Solaris9 OS? I am currently running TomCat v4.1.27 running on Solaris 2.6 and we are in the process of upgrading to Solaris9. Not that I am aware of. Works fine for us. -- Jeanfrancois Thanks in advance for your help.

Re: problem with security manager and manager webapp

2004-03-16 Thread Jeanfrancois Arcand
Jason Keltz wrote: Hi. I've been using the manager webapp, but after enabling the security manager (-security on tomcat startup), the manager doesn't run any longer, giving this error: type Exception report message description The server encountered an internal error () that prevented it

Re: problem with security manager and manager webapp

2004-03-16 Thread Jeanfrancois Arcand
it tonigh or tomorrow. Thanks -- Jeanfrancois Jason. On Tue, 16 Mar 2004, Jeanfrancois Arcand wrote: Jason Keltz wrote: Hi. I've been using the manager webapp, but after enabling the security manager (-security on tomcat startup), the manager doesn't run any longer, giving

Re: Error about ConfigListener.class

2004-04-01 Thread Jeanfrancois Arcand
patrick khadra wrote: When I start tomcat 5, I always get this error. I tried to delete the configListener.class of the jsf-ri.jar that i need for my jsf application, but i still get a similar error about the ConfigListener.class and my webapp can't run. What should I do to make my jsf

Re: Error about ConfigListener.class

2004-04-01 Thread Jeanfrancois Arcand
with ant-1.6.1 then copied it to the webapps folder of tomcat-5.0.19. I have the j2sdk1.4.2_03 installed on my machine. When i start tomcat i have this error. - Original Message - From: Jeanfrancois Arcand [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, April 01, 2004 5

Re: RPM for Tomcat 4.1.30 ?

2004-04-02 Thread Jeanfrancois Arcand
Philippe Couas wrote: Hi, Anyone know where i can found RPM for Tomcat 4.1.30 ? jpackage has Tomcat 5 (I did look for Tomcat 4.x...maybe it's there) http://www.jpackage.org/rpm.php?id=2571 -- Jeanfrancois Regards Philippe

Re: RPM for Tomcat 4.1.30 ?

2004-04-02 Thread Jeanfrancois Arcand
Jeanfrancois Arcand wrote: Philippe Couas wrote: Hi, Anyone know where i can found RPM for Tomcat 4.1.30 ? Here : http://www.jpackage.org/rpm.php?id=2570 :-) -- Jeanfrancois jpackage has Tomcat 5 (I did look for Tomcat 4.x...maybe it's there) http://www.jpackage.org/rpm.php?id=2571

Re: How to find the Realm of my application?

2004-04-06 Thread Jeanfrancois Arcand
You will need to write a valve in you want to interact with a Realm. See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html The Realm is not available either to the servlet nor filter. -- Jeanfrancois Zsolt Koppany wrote: Hi, how can I find the Realm of my tomcat application

Re: Extending GenericPrincipal/RealmBase: Essentially a classloader question

2004-04-15 Thread Jeanfrancois Arcand
John H wrote: HI all, He have implemented our own realm and principal buy extending org.apache.catalina.realm.RealmBase and GenericPrincipal. (Using TC5.0.19 on Solaris and Windows. Realm defined in Context.) By doing this, however, we've got ourselves into sort of a catch 22 in terms of

Re: Extending GenericPrincipal/RealmBase: Essentially a classloader question

2004-04-16 Thread Jeanfrancois Arcand
Rossen Raykov wrote: Probably you can define interface and use casting while you are accessing your Principle implementation. Frankly, I didnt try it but it seems like usable solution. There is another technique that is quarantined to work though. It is very simple and employs only Javas

Re: security permissions

2004-04-16 Thread Jeanfrancois Arcand
Andrea Powles wrote: Hi Tomcat users, I wish for one of my web apps in Tomcat to execute another program on my computer using the exec method. I know that I cant currently do this due to the security restrictions. I have tried changing the Catalina policy file but Im unsure of exactly what

Re: Extending GenericPrincipal/RealmBase: Essentially a classloader question

2004-04-16 Thread Jeanfrancois Arcand
- From: Jeanfrancois Arcand [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, April 15, 2004 2:55 PM Subject: Re: Extending GenericPrincipal/RealmBase: Essentially a classloader question John H wrote: HI all, He have implemented our own realm and principal buy

Re: javax.security.auth.subject disappears

2004-05-17 Thread Jeanfrancois Arcand
Janne Väänänen wrote: I resolved this. The problem was in SecurityUtil.java execute method. fixed code in execute method: ... if (subject == null){ subject = new Subject(); //I added following two lines if (principal != null) subject.getPrincipals().add(principal); OK I will take a look and

Re: endorsed directory

2003-12-01 Thread Jeanfrancois Arcand
See http://java.sun.com/j2se/1.4.1/docs/guide/standards/ -- Jeanfrancois Basavaraju P. Banakar [SLK-India] wrote: Hey all, I found from the tomcat users list that xalan.jar has to be placed in the ..\common\endorsed folder. but i could'nt find reason behind that... could someone help in

Re: How to install new version of application (war file)

2003-12-01 Thread Jeanfrancois Arcand
See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html -- Jeanfrancois Rainer Stransky wrote: What is the common way to install a new version of a war file ? My experience is, that I have to stop tomcat, delete the .../webapps/app_dir copy a new app_dir.war to .../webapps and

  1   2   >