Re: J2EE1.3.1: cannot load JSP files

2002-10-24 Thread psalazar
2002, psalazar wrote: Greetings, I deploy a web application (war) wrapped in a ear file. But I can't map any jsp file in my web context!? (even my welcome index.jsp!). When I enter just the context root it shows a directory archive with no files inside (probably because a security issue

J2EE1.3.1: cannot load JSP files

2002-10-24 Thread psalazar
configurations. I'll appreciate any help! psalazar. CONFIGURATIONS: -- --my web directory: . |-- WEB-INF | | | `-- web.xml |-- errorpage.jsp |-- index.jsp - -- web.xml file [WAR]: web-app display-nameLBSWAR/display-name servlet servlet

J2EE1.3.1: cannot load JSP files

2002-10-24 Thread psalazar
configurations. I'll appreciate any help! psalazar. CONFIGURATIONS: -- --my web directory: . |-- WEB-INF | | | `-- web.xml |-- errorpage.jsp |-- index.jsp - -- web.xml file [WAR]: web-app display-nameLBSWAR/display-name servlet servlet

TOMCAT + J2EE : HOW TO INTEGRATE?

2002-10-23 Thread psalazar
Greetings, I deploy a EJB in J2EE1.3.1. Now, I would like to call it in my JSPs/Servlets inside tomcat 4.x the EJB. How should I integrate both, TOMCAT and J2EE, to make the Context resources of J2EE available to TOMCAT environment? thx, Pedro Salazar -- pedro salazar (pt-inovacao) [EMAIL

Re: TOMCAT + J2EE : HOW TO INTEGRATE?

2002-10-23 Thread psalazar
On Wednesday, October 23, 2002, at 05:06 PM, psalazar wrote: Greetings, I deploy a EJB in J2EE1.3.1. Now, I would like to call it in my JSPs/Servlets inside tomcat 4.x the EJB. How should I integrate both, TOMCAT and J2EE, to make the Context resources of J2EE available to TOMCAT

tomcat+dbcp+restart database=no valid connections!?

2002-10-22 Thread psalazar
Greetings, I have tomcat 4 working with dbcp 1.0. Apparently when I restart my database (postgresql), all the next returned connections throw exceptions (java.net.SocketException: Broken pipe)!! The dbcp hasn't a connection recover or something like that?? thanks, Pedro Salazar. -- pedro

Re: tomcat+dbcp+restart database=no valid connections!?

2002-10-22 Thread psalazar
I got it! I must define a 'validationQuery' or the connections won't be tested. thanks, Pedro Salazar. On Tue, 22 Oct 2002, psalazar wrote: Greetings, I have tomcat 4 working with dbcp 1.0. Apparently when I restart my database (postgresql), all the next returned connections throw

tomcat4+jdk1.4.1+security providers

2002-10-21 Thread psalazar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greetings, I'm trying to use the security packages that are supported in jdk1.4 (no need of JCE now) in tomcat environment. In a test environment running a class test in a shell, I can access a DES algorithm and use cipher/decipher methods. But

Re: tomcat4+jdk1.4.1+security providers

2002-10-21 Thread psalazar
provider!!) in a dynamic way without any hardcoded line adding the provider! It works but only in a shell command line (probably because jre/lib/ext classpath and other security features not defined in tomcat environment). On Mon, 21 Oct 2002, psalazar wrote: Greetings, I'm trying to use

Re: tomcat4+jdk1.4.1+security providers

2002-10-21 Thread psalazar
Salazar. On Mon, 21 Oct 2002, Jean-Francois Arcand wrote: psalazar wrote: I solved my problem: I didn't put the sunjce_provider.jar in ${tomcat.home}/common/lib/ and I must add the SunJCE provider hardcoded before use the DES algorithm. java.security.Security.addProvider(new

ant deploy task - auomatic creation of resourcelink

2002-10-18 Thread psalazar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greetings, I would like to use a database connection in my web application. Since is not possible to define resourceparams in web.xml and I'm using the ant deploy task on development, I'm forced to stop tomcat and add a resourcelink in my web

global declaration of Resource/ResourceParams

2002-10-16 Thread psalazar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greetings, I wonder if is not possible to declare a Resource/ResourceParams in a global context to avoid the definition in my web application context, since I'm using the Catalina's Deploy/Undeploy tasks and when I redeploy a web application it

protect (encrypt) jdbc connection password file

2002-10-14 Thread psalazar
to implement or factory to override? thanks, psalazar. - -- pedro salazar (pt-inovacao) [EMAIL PROTECTED] - -BEGIN PGP PUBLIC KEY BLOCK- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org mQGiBD1AA8URBAD6f+Ttr6Yat6UukbUOl6RYHrdgIFlVXBHnAdJ3eZvWQY6Fx2T0

protect (encrypt) jdbc connection password file

2002-10-14 Thread psalazar
to implement or factory to override? thanks, psalazar. - -- pedro salazar (pt-inovacao) [EMAIL PROTECTED] - -BEGIN PGP PUBLIC KEY BLOCK- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org mQGiBD1AA8URBAD6f+Ttr6Yat6UukbUOl6RYHrdgIFlVXBHnAdJ3eZvWQY6Fx2T0

ServletException: cannot find message associated with key : dispatcher.forwardException

2001-07-23 Thread psalazar
Greetings, I put my application in other machine with the same configuration: -tomcat 3.2.1 -jdk 1.3.0 -linux redhat6.2 My application works just fine, but in the new machine I got an exception when a specific servlet makes a forward to another servlet (to arrive at this point I already made

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

2001-07-18 Thread psalazar
Greetings, I have a servlet that when a request arrives, it makes a profile using the header User-Agent (which contains the type of the client). But, this process was taking too long and I thought it was my ProfileFinder.getProfile() method! But, when I made some logs (I put it below with

receiving lots emails from Petra Horta!!!

2001-06-29 Thread psalazar
I'm receiving lots mails from Petra Horta with the subject always with a prefix AntW: and with the body of the message: Ich bin bis 9.7.2001 auf Urlaub. Bitte wenden Sie sich in dieser Zeit an meine Kollegen im Team EW2 Mit freundlichen Grüßen Petra Hora I don't know why but I'm starting