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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: [ 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: 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: 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: 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 :-) --

<    1   2