DataSourceRealm exception (TC4.1.18)

2003-02-26 Thread Pedro Salazar
(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) -- id name=pedro salazar email[EMAIL PROTECTED

REALM, 3 questions...

2003-02-26 Thread Pedro Salazar
authentication? 3)Is it possible that I use a custom REALM (JDBC for example), where I could define my user/password parameters encrypted? thanks, Pedro Salazar -- id name=pedro salazar email[EMAIL PROTECTED]/email pgp-key-id0E129E31D803BC61/pgp-key-id /id signature.asc Description: This is a digitally

migrate from tomcat 4.1.2 - 4.1.17 (JVM1.4.1) : JasperException

2003-01-21 Thread Pedro Salazar
. Could anyone give me a hint here? thanks, Pedro Salazar. org.apache.jasper.JasperException: /start.jsp(41,1) Unterminated %@ include tag at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorH andler.java:94) at org.apache.jasper.compiler.ErrorDispatcher.dispatch

Re: migrate from tomcat 4.1.2 - 4.1.17 (JVM1.4.1) : JasperException

2003-01-21 Thread Pedro Salazar
distribution to better debug these problems (it reminds me how the windows problems are solved... reinstall windows! I'm kidding!). thanks, Pedro Salazar. On Tue, 2003-01-21 at 18:17, Pedro Salazar wrote: Greetings, I created a web application developed and tested on tomcat 4.1.2 (Java Web

configure CoyoteConnector with mod_jk in tomcat 4.1.x

2003-01-16 Thread Pedro Salazar
for apache. My configuration is: -apache2.0.43 + mod_jk -tomcat 4.1.17 -linux redhat 8.0 (2.4.19) thanks, Pedro Salazar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: configure CoyoteConnector with mod_jk in tomcat 4.1.x

2003-01-16 Thread Pedro Salazar
a JkMount context should be handled by Apache in transparent way. It appears that I should have a two web applications, one with a dynamic content and another with the static, but it isn't like that, is it? thanks, Pedro Salazar. On Thu, 2003-01-16 at 17:50, Turner, John wrote: I can't explain those

RE: configure CoyoteConnector with mod_jk in tomcat 4.1.x

2003-01-16 Thread Pedro Salazar
clear OK, I wasn't clear about the workers.properties. I was thinking that it was also used by tomcat. I thought that I could configure several workers by in configuration file that a tomcat would create on initialization. Workers to me were processes: 2 workers for apj13, more 2 for apj14,

Re: Tomcat + commons-logging + log4j

2002-12-10 Thread Pedro Salazar
%x - %m%n I don't know if my context is being really used by my web application since I never could configure a resource element there! The only way I could get a resource to work was put it inside the DefaultContext element!! Could it be? I will appreciate any help you can give. thanks, Pedro

RE: Tomcat + commons-logging + log4j

2002-12-10 Thread Pedro Salazar
to the specific file?? thnaks, Pedro Salazar. -- pedro salazar (pt-inovacao) [EMAIL PROTECTED] key id: D803BC61 signature.asc Description: This is a digitally signed message part

RE: Tomcat + commons-logging + log4j

2002-12-10 Thread Pedro Salazar
=org.apache.log4j.RollingFileAppender log4j.appender.NGIN.File=../logs/ngincare.log log4j.appender.NGIN.MaxFileSize=1024KB log4j.appender.NGIN.layout=org.apache.log4j.PatternLayout log4j.appender.NGIN.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n thanks, Pedro Salazar -- pedro salazar (pt

oracle+tomcat 4.1.x+dbcp = driverClassName is required!

2002-12-09 Thread Pedro Salazar
machine. So, what is the problem here? If need I can supply the exactly configurations (resource, resource-ref, ...). thanks, Pedro Salazar. -- pedro salazar (pt-inovacao) [EMAIL PROTECTED] key id: D803BC61 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail

RE: oracle+tomcat 4.1.x+dbcp = driverClassName is required!

2002-12-09 Thread Pedro Salazar
=javax.sql.DataSource / and I'm doing a lookup in my code for jdbc/ngincaredb: Context initCtx = new InitialContext(); Context envCtx = (Context)initCtx.lookup(java:comp/env); this.ds = (DataSource)envCtx.lookup(/jdbc/ngincaredb); So, what's wrong here? thanks, Pedro Salazar. On Mon, 2002-12-09 at 13

RE: oracle+tomcat 4.1.x+dbcp = driverClassName is required!

2002-12-09 Thread Pedro Salazar
... thanks, Pedro Salazar On Mon, 2002-12-09 at 16:09, Manavendra Gupta wrote: Hi Pedro, Welcome to the club - there are a number of ppl facing the exact same problem, but are unable to find answer. Do let me know what you did if you find a solution. Manav. -Original Message

Re: New Tomcat Linux User - Unable to compile class for JSP

2002-11-18 Thread Pedro Salazar
put it on your servlet container lib directory or put it in jdk's jre's ext directory (by default is on \lib and it isn't in jre\lib\ext) would solve that problem. regards, Pedro Salazar. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

org.apache.jasper.JasperException: Unable to compile class for JSP

2002-11-13 Thread Pedro Salazar
I deployed my web application in JBOSS and I got the exception below when tried to access my root application url mapping. I'm using jdk1.4.1 + JBOSS 3.0.4+tomcat4.1.12LE. (I already deployed in J2EE 1.3.1 R.I. in a EAR and it worked fine). thanks, Pedro Salazar. 2002-11-13 17:38:29,810 ERROR

tomcat 4.0.4, JNDI, Datasource.getConnection() - No suitable driver,[Oracle]

2002-07-05 Thread Pedro Salazar
renaming it to a jar file? What should I change in catalina startup script? thanks, Pedro Salazar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: getSession(true) takes more than 20 seconds????

2001-07-18 Thread pedro salazar
Well, I shouldn't reply just for thanks, but, the relief you gave me here compels me to do it!, since I'm trying to exhibit (and prove) the Java technology (and other good partnerships as linux) to some people here... Thank you very much! :-) pedro salazar [to all: forgive me this useless

creating a instance of a servlet: takes too long!!

2001-07-06 Thread pedro salazar
Greetings, why is that my servlet when the first time is invoked, it takes about 30 seconds or more to start when the servlets that came in tomcat are instantaneous? After the servlet container instantiated and initialized my servlet, all the following requests are very fast. Is there any advice

SERVLET : transform XSL+XML -OUTPUT = blank page

2001-06-27 Thread Pedro Salazar
[but redirecting the output to a file]. I ran it and it works ok... Why my servlet doesn't give nothing to my client?? I put my code below. My servlet runs in the root / of my context. In my servlet, if I put a println of a string, i will saw the string, but just the string... thanks, Pedro Salazar

Re: SERVLET : transform XSL+XML -OUTPUT = blank page

2001-06-27 Thread Pedro Salazar
Pedro Salazar wrote: Greetings, I made a servlet where I try to produce a result to output stream of the response object that came from a transformation of XML + XSL. But, I just get a blank page in output...!? I put the same piece of code that exists in doGet() of my servlet

open xml/xsl files inside classpath

2001-06-26 Thread Pedro Salazar
recommendable way just to solve my problem is use a path in a properties file which I would read in the init() of servlet... but, I wouldn't like to do it! thanks, Pedro Salazar.

web pages in tomcat context not showing gif images through apache

2001-06-25 Thread pedro salazar
Greetings, I put apache working with tomcat [mod_jk] and even in the default web pages that come in tomcat where exists gif images, through apache the images don't appear in web pages... For example, http://localhost:8080/admin - acess directly to tomcat, the images come ok

calling other servlets inside a servlet...

2001-06-25 Thread Pedro Salazar
. This is just a servlet question specification or it depends if I'm working on tomcat or other product? thanks, Pedro Salazar.

Re: WAR file behavior and Tomcat 3.2.x

2001-06-12 Thread pedro salazar
Greetings, I read a document which it tolds that or we put our application already expanded, or by using a WAR file when TOMCAT is started, it will automatically expand the web application archive file into its unpacked form. I didn't know that there was a unpackWARfiles option! Where should I

Re: How to connect Apache and Tomcat?

2001-06-12 Thread pedro salazar
I think you must build apache with support for module_so (Dynamid Shared Object). Please, read INSTALL and it explains how to enable mod_so. I just don't tell you exactly what you should do because I don't know what is the option for sure... probably it may be something like this: ./configure

Re: WAR file behavior and Tomcat 3.2.x

2001-06-12 Thread pedro salazar
Greetings, I read a document which it tolds that or we put our application already expanded, or by using a WAR file when TOMCAT is started, it will automatically expand the web application archive file into its unpacked form. I didn't know that there was a unpackWARfiles option! Where should I

Re: How to connect Apache and Tomcat?

2001-06-12 Thread pedro salazar
I think you must build apache with support for module_so (Dynamid Shared Object). Please, read INSTALL and it explains how to enable mod_so. I just don't tell you exactly what you should do because I don't know what is the option for sure... probably it may be something like this: ./configure

Re: WAR file behavior and Tomcat 3.2.x [problem replying]

2001-06-12 Thread pedro salazar
messages, again... psalazar/ - Original Message - From: pedro salazar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 12, 2001 3:38 PM Subject: Re: WAR file behavior and Tomcat 3.2.x Greetings, I read a document which it tolds that or we put our application already expanded

Re: Tomcat/Apache mapping

2001-06-12 Thread pedro salazar
I think I may have a problem like this one. I have a servlet working fine when I go by using port 8080 [directly to tomcat] that simples write some test to output. When I pick the servlet mapping by apache, it shows me the root of my web directory [the default is show index.html, but there is no

starting in a default servlet

2001-06-12 Thread Pedro Salazar
Greetings, I configured tomcat to when I start my application to run a default servlet [url-pattern is /]: in web.xml: servlet-mapping servlet-name servlet1 /servlet-name url-pattern / /url-pattern /servlet-mapping When I go to http://myserver:8080/myapp/ my servlet

make ajp13 as the default worker

2001-06-06 Thread pedro salazar
Greetings, I installed recently the mod_jk on my tomcat/apache system. I include in my httpd.conf the tomcat/conf/mod_jk.conf-auto that is automatic generated when the tomcat starts. The default JkMount entries in mod_jk.conf-auto use always the ajp12 worker. If I want to use the ajp13 I must

Re: make ajp13 as the default worker [new question]

2001-06-06 Thread Pedro Salazar
Rui M . Silva Seabra wrote: Have you not read my email? DO NOT USE mod_jk.conf-auto Look into it, learn the flags you need to use, and change accordingly. You do not need to change server.xml or web.xml for that. It's a problem with the generation of mod_jk.conf-auto. On another note: