SV: SV: Build a portal

2005-02-15 Thread Roland Carlsson
Hi! Thanks for your answer. An Iframe will create much of the same problems that I have with a regular frameset. I'll guess that I either have to rebuild all my web-apps into one or build a new web-app that forwards requests ala Tiles but without the constraints of context. Isn't this a common

Tomcat 5.5.7 deployer ExceptionInInitializer error

2005-02-15 Thread Richard Mixon (qwest)
When I use the client deployer to compile my web app I am getting this error under SuSE Linux (SLES9). Under Windows XP it deploys fine. It seems sort of puzzling as to why the deployer is running the Struts org.apache.struts.util.MessageResources.getMessageResources during a compile. Here is a

Configure Valve which is called after authentication process???

2005-02-15 Thread Oliver Wulff
Hi Is it possible to configure a valve which is called after the authentication process? I've configured the Valve after the Realm but the Valve is called first. Thanks for your support. Oliver *** BITTE BEACHTEN *** Diese Nachricht (wie auch allfällige

Session Creation with IE

2005-02-15 Thread Mark O'Driscoll
Using 5.0.28 on WIndows 2K. We have three ways of getting at our webapp from the client side: IE Favourites Email link (usually Outlook express) Desktop shortcuts. All clients are running IE6. If the client goes into the app via the browser favourite all is fine. If the first client window is

Re: Session Creation with IE

2005-02-15 Thread Mike Fowler
Hi Mark, I have experienced this problem as well. It appears that when IE is started from a shortcut or from with Outlook/Outlook Express a different cookie store is used from the main IE one. I also noticed that if a new browser window is opened from within the one created by the

Cannot create JDBC driver of class '' for connect URL 'null'

2005-02-15 Thread g k
Hi I have added Oracle resource params to the server.xml file and reference parameters to oracle in the web.xml When i startup tomcat - i get the following error: 11:20:38,385 [ConnectDB.java] [ConnectDB] [getConnectionPoolForOracle:101] - ERR OR - failed to get the connection:

HTTP Status 408 Error when i login

2005-02-15 Thread Bruno Gonçalves
I there! I'm using JAAS on Tomcat 5.0.28 to make a authentication process for my web aplication. When I submit a wrong username/password the server redirects to an error page, that's correct, but when I submit the correct username/password I got a HTTP Status 408 Error! I don't know what's the

[OT] Search in French database in English

2005-02-15 Thread Antony Paul
Hi all, Sorry for OT. Many here will have experience in developing multilingual sites. I have a doubt regarding searching in a database which stores information in English, French and German. The user can type the search keyword(usually it is customer name and address) in English and it has to

RE: FW: Re: Missing application web.xml Tomcat 5.5.7

2005-02-15 Thread Joe Reger, Jr.
Hi, Sorry for the confusion on the variable name. I undeploy the ROOT context that comes stock with Tomcat. I don't believe that this is a conflict with another app being installed at the same context name. Before each attempt to upload the ROOT.war file I manually shut down Tomcat and delete

RE : HTTP Status 408 Error when i login

2005-02-15 Thread LERBSCHER Jean-Pierre
Hi, It's a Request timeout. -Message d'origine- De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 février 2005 12:46 À : tomcat-user@jakarta.apache.org Objet : HTTP Status 408 Error when i login I there! I'm using JAAS on Tomcat 5.0.28 to make a authentication process for

HTTP: 500 Internal Server Error

2005-02-15 Thread Anand Pandey
Hi, I'm getting HTTP:500 Inernal Server Error Problem, while uploading the XML file. The things that is getting strange to me is that uploading is done fine on starting, but system starts throwing this error as files are loaded concurrentlya and Threads seems to be

Re: RE : HTTP Status 408 Error when i login

2005-02-15 Thread Bruno Gonçalves
Yes, I know! But I don't understand where is the problem :( In the web.xml the value of timeout is 30minutes: !-- session timeout -- session-config session-timeout30/session-timeout /session-config I do a quick login, not more than 1minute!!! :( I need some help with this...

RE : RE : HTTP Status 408 Error when i login

2005-02-15 Thread LERBSCHER Jean-Pierre
With session-timeout element you specify a session timeout not a request timeout. See http://www.checkupdown.com/status/E408.html for explanation! -Message d'origine- De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 février 2005 13:36 À : Tomcat Users List Objet : Re: RE

RE: 5.0.28 catalina.properties file

2005-02-15 Thread Benson Margulies
This works: common.loader=${catalina.home}/common/classes,${catalina.home}/common/en dorsed/*.jar,{catalina.home}/common/lib/*.jar,c:/esri/lib/*.jar What didn't work looked like common.loader=${catalina.home}/common/classes,${catalina.home}/common/en

Re: RE : RE : HTTP Status 408 Error when i login

2005-02-15 Thread Bruno Gonçalves
Humm... I see. So what can I do on Tomcat to resolve this problem? There's any config file? This problem it's very strange!! Thanks Pierre! LERBSCHER Jean-Pierre wrote: With session-timeout element you specify a session timeout not a request timeout. See http://www.checkupdown.com/status/E408.html

Re: TC 5.0.28 AdminTool -- nodes under Tomcat Server throwing exceptions

2005-02-15 Thread Robert Hunt
!-- Jakarta-Tomcat DEVELOPMENT Server Configuration File -- Server port=21043 shutdown=shutdown debug=3 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/ Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener debug=0/ Service

Re: Session Creation with IE

2005-02-15 Thread Wouter Boers
IE makes a difference between 'an instance' (active IE with 'handles the link' or the 'crtl-N' or file New...) which inherits the cookiestore from the 'active' browser or a complete new 'start' of the browser. The latter has it own cookie store and therefore has no session on the server. There is

RE : RE : RE : HTTP Status 408 Error when i login

2005-02-15 Thread LERBSCHER Jean-Pierre
Do you have proxy in front of Tomcat ? What's your system configuration ? Enable trace on tomcat, and track http request and response. You can use org.apache.soap.util.net.TcpTunnelGui (it's a little http proxy packaged with axis (?) - I don't remember exactly) to check http request and response.

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2005-02-15 Thread Phillip Qin
Post your jdbc url. -Original Message- From: g k [mailto:[EMAIL PROTECTED] Sent: February 15, 2005 6:44 AM To: tomcat-user@jakarta.apache.org Subject: Cannot create JDBC driver of class '' for connect URL 'null' Hi I have added Oracle resource params to the server.xml file and

Random: Can't find resource for bundle

2005-02-15 Thread Steven Pannell
Hi, I'm using tomcat 5.5.7 under windows (although I had this problem also with 5.0.28). I have a page with locale resources. The page works fine. Refresh it 10 times say and every so often during the refresh I get this error. org.apache.jasper.JasperException: Can't find resource for bundle

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2005-02-15 Thread David Short
Rename the Oracle classes12.zip file to classes12.jar and move to the tomcat\common\lib directory. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 6:39 AM To: 'Tomcat Users List' Subject: RE: Cannot create JDBC driver of class '' for connect

Tomcat configuration

2005-02-15 Thread Curtis Nelson
If I want to host several different web apps in Tomcat, each having it's own user database using FORM authentication, how would I configure Tomcat? I tried putting the jdbcRealm in the /engine/hostname/nnn.xml file, yet when I try to log into one of my pages I get the error: Feb 14, 2005

JDBC Named Pipes to SQL Server

2005-02-15 Thread Charles P. Killmer
What is the recommended way to connect to a Microsoft SQL Server through JDBC? TCP/IP, Named Pipes...? And any recommendations an which driver to use? Thanks Charles Killmer

RE : Tomcat configuration

2005-02-15 Thread LERBSCHER Jean-Pierre
Hi, Do you use JdbcRealm or JaasRealm ? If you use JAASRealm you have to setup your jaas config file (for example using java.security.auth.login.config system property. This file specifies application by application your login module. In your case, it seems that you have to declare Realm in your

HttpServletRequest.getInputStream(), InputStream.read() doesn't work (it blocks) if tomcat uses apache as frontend. Any idea?

2005-02-15 Thread Bojan
Hi, 1) I am trying to send some data (content of a file)from an standalone command line application to the servlet over the (http) stream. It works well. 2) When I am using apache as frontend to the tomcat, servlet blocks. It blocks when I try to read input stream: public void

Re: RE : Tomcat configuration

2005-02-15 Thread Curtis Nelson
Thanks for the reply. I'm not using (to the best of my knowledge) JAASRealm. I just want to use JdbcRealm, but define it at the context level. Curtis [EMAIL PROTECTED] 02/15/05 09:08AM Hi, Do you use JdbcRealm or JaasRealm ? If you use JAASRealm you have to setup your jaas config file (for

Re: RE : RE : RE : HTTP Status 408 Error when i login

2005-02-15 Thread Bruno Gonçalves
No I don't have any proxy! Everything is runing on my local machine. I'm working with Eclipse, using Tomcat 5.0.28 and JAAS. I'm gonna try to track the http request and responde. Thanks one more time! LERBSCHER Jean-Pierre wrote: Do you have proxy in front of Tomcat ? What's your system

Security Constraint

2005-02-15 Thread Xeth Waxman
I have a new servlet which I've created - whenever you try to access this servlet, I get the security certificate dialog box (do you want to accept this certificate). However, this application has no security constraint in its web.xml file - I don't know why it's trying to serve up a certificate.

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2005-02-15 Thread g k
Hi ojdbc14.jar - is in the tomcat/common/lib directory post jdc url? - not to clear on what this is? do i need to create a context.xml? regards Gurpreet From: David Short [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Subject: RE: Cannot create

RE: 5.0.28 catalina.properties file

2005-02-15 Thread Caldarale, Charles R
From: Benson Margulies [mailto:[EMAIL PROTECTED] Subject: RE: 5.0.28 catalina.properties file What didn't work looked like common.loader=${catalina.home}/common/classes,${catalina.home} /common/endorsed/*.jar,{catalina.home}/common/lib/*.jar,c:/esri/lib/btnm.jar Grasping at straws here

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2005-02-15 Thread Phillip Qin
In your context.xml or server.xml, you would define your jdbc resource. Find out that url and post it here. Jdbc driver and location are correct. -Original Message- From: g k [mailto:[EMAIL PROTECTED] Sent: February 15, 2005 11:25 AM To: [EMAIL PROTECTED]; tomcat-user@jakarta.apache.org

RE : RE : Tomcat configuration

2005-02-15 Thread LERBSCHER Jean-Pierre
If I look at this log, it seems that you are using JAAS Realm ! Feb 14, 2005 4:20:39 PM org.apache.catalina.realm.JAASRealm authenticate SEVERE: Unexpected error java.lang.SecurityException: Unable to locate a login configuration -Message d'origine- De : Curtis Nelson [mailto:[EMAIL

Re: RE : RE : Tomcat configuration

2005-02-15 Thread Curtis Nelson
How can I configure Tomcat to not use JAASRealm? Like I said earlier, if my JDBCRealm is associated with the engine or host element of server.xml, the login forms work. It's only when I move it into it's own .xml file or add it as part of the context element that I run into problems. Does

RE : RE : RE : Tomcat configuration

2005-02-15 Thread LERBSCHER Jean-Pierre
JAASRealm is not a default! Could you send us your server.xml? -Message d'origine- De : Curtis Nelson [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 février 2005 17:43 À : tomcat-user@jakarta.apache.org Objet : Re: RE : RE : Tomcat configuration How can I configure Tomcat to not use

Re: RE : RE : RE : Tomcat configuration

2005-02-15 Thread Curtis Nelson
With pleasure. Server port=8005 shutdown=SHUTDOWN Listener className=org.apache.catalina.mbeans.ServerLifecycleListener / Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener / GlobalNamingResources Environment name=simpleValue type=java.lang.Integer

GC Behavior

2005-02-15 Thread sysdba
Could someone with a good understanding of gc in Tomcat 5.0.30 explain what the normal behavior is. It appears that dead sessions are not collected until the allocated heap is totally used up, and then it frees only 20 to 30MB. By my rough estimate, there should be at least 128MB of expired

Re: RE : RE : RE : HTTP Status 408 Error when i login

2005-02-15 Thread Bruno Gonçalves
If I run java org.apache.soap.util.net.TcpTunnelGui 8080 localhost 8082 I get Exception in thread main java.lang.NoClassDefFoundError: org/apache/soap/util/net/TcpTunnelGui humm.. but i think my CLASSPATH is correct! LERBSCHER Jean-Pierre wrote: Do you have proxy in front of Tomcat ? What's

Using tomcat session

2005-02-15 Thread Rodrigo Avila
Hi, When two clients are connected to my server, is possible to an third client use the sessions of the other two users? If it is possible, how I catch the sessions? Thanks! -- Rodrigo de Avila [EMAIL PROTECTED] http://www.avila.eti.br

RE : RE : RE : RE : Tomcat configuration

2005-02-15 Thread LERBSCHER Jean-Pierre
There is no realm describe into it! Have you declared your realm in your META-INF/context.xml directory of your WAR file? Could you send us your context.xml file? -Message d'origine- De : Curtis Nelson [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 février 2005 18:03 À :

RE : RE : RE : RE : HTTP Status 408 Error when i login

2005-02-15 Thread LERBSCHER Jean-Pierre
set CLASSPATH=%CLASSPATH%;your library path/soap.jar -Message d'origine- De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 février 2005 18:03 À : Tomcat Users List Objet : Re: RE : RE : RE : HTTP Status 408 Error when i login If I run java

[TOMCAT 5.5.7][WIN 2K] Help with admin package installation

2005-02-15 Thread Paolo Beccari
Hi there, I just installed Tomcat 5.5.7 and discovered that admin package is no longer installed by default. So, I downloaded it and copied the files. But when trying to access to the admin page tomcat is still saying that Tomcat's administration web application is no longer installed by

Re: RE : RE : RE : RE : Tomcat configuration

2005-02-15 Thread Curtis Nelson
According to the tomcat docs, the preferred method of describing a context realm is to place it in it's own xml file. Here's what I have: !-- Context docBase=${catalina.home}/server/webapps/manager privileged=true antiResourceLocking=false antiJARLocking=false -- Context

SSL Under Tomcat 5.0

2005-02-15 Thread Jeff Gimprich
Hi, I'm new to Tomcat, so forgive my (temporary) naivite. I need to get my ecommerce web site (JSP) up and running, but when I add the connector for SSL to the server.xml Tomcat goes into an infinite loop with the following error message when the server attempts an SSL handshake (repeats

Round Robin Balancer Rule and class implementation

2005-02-15 Thread Jason Zhang
In case someone are interesting, I wrote a Round Robin Balance Rule for Balancer, use this rule with catalina-balancer.jar, you can implement a round robin style balance. You can get the code here: http://zebra-bsd.homeip.net/RoundRobinRule.java and the configuration example is already in java

Reload aplication

2005-02-15 Thread David da Guia Carvalho
Hi, I would like to allow users reload especific aplications with a expecific users and roles. I dont whant to allow access direct to the manager page... (because user could be able to reload and undeploy any aplication!) There is any way to do this... (Sorry by this question but Im new in tomcat

RE : RE : RE : RE : RE : Tomcat configuration

2005-02-15 Thread LERBSCHER Jean-Pierre
Check your configuration with http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html#JDBCRealm (database configuration, driver, url access, user et password access, and log files). Try to setup Memory realm. Try to validate database url connection with simple java class. import

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2005-02-15 Thread g k
Server.xml contains : Resource name=jdbc/myoracle auth=Container type=javax.sql.DataSource/ No context tag is in server.xml Context.xml file contains Context ResourceLink global=jdbc/myoracle name=jdbc/myoracle type=javax.sql.DataSource/ /Context From: Phillip Qin [EMAIL PROTECTED] Reply-To:

Re: RE : RE : RE : RE : RE : Tomcat configuration

2005-02-15 Thread Curtis Nelson
I know the database connection works, because if I include the realm as part of the engine or host, then I can login correctly. As far as reading the realm how-to, I've done that several times. The second .xml file I sent you is named ldsecure.xml (part of the ldsecure webapp), and I placed

Re: TC 5.0.28 AdminTool -- nodes under Tomcat Server throwing exceptions

2005-02-15 Thread sven morales
Hi, You have not modified the admin webapp at all? This is a struts based application. If you click on that Service (Catalina) node, the mapping should be something like: admin/treeControlTest.do?tree=Catalina?type:Service,serviceName=Catalina The define tag is defined at

Re: [TOMCAT 5.5.7][WIN 2K] Help with admin package installation

2005-02-15 Thread Omar Adobati
give more details, where did you copy the files yuo say? On Tue, 15 Feb 2005 18:12:21 +0100, Paolo Beccari [EMAIL PROTECTED] wrote: Hi there, I just installed Tomcat 5.5.7 and discovered that admin package is no longer installed by default. So, I downloaded it and copied the files. But

filters

2005-02-15 Thread Mike Jackson
I'm trying to wite a filter that will process a request after anything else in the chain has finished (ie post process). My goal is to process static content within the web app to update the context name within absolute paths (javascript or css files). I have implemented a response wrapper and

RE : HTTP Status 408 Error when i login

2005-02-15 Thread Bruno Gonçalves
It seems that I can't listen the same port where tomcat is using (8080). java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown

Re: RE : RE : RE : RE : RE : Tomcat configuration

2005-02-15 Thread sven morales
Hi, How are you defining the security-constraint security-role in your ldsecure/WEB-INF/web.xml ? And also how do use this in your servlet or jsp to get authentication? Maybe post your web.xml too? aka_sergio --- Curtis Nelson [EMAIL PROTECTED] wrote: I know the database connection

Re: RE : HTTP Status 408 Error when i login

2005-02-15 Thread Bruno Gonçalves
I used the port 8082 on tomcat! It works! I'm gonna see the trace! Thanks one more time :) Bruno Gonçalves wrote: It seems that I can't listen the same port where tomcat is using (8080). java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native

Re: RE : RE : RE : RE : RE : Tomcat configuration

2005-02-15 Thread Curtis Nelson
Thanks for replying. Here's my web.xml file: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2005-02-15 Thread Phillip Qin
Didn't you define url, password etc. in your server.xml GlobalNamingResources? -Original Message- From: g k [mailto:[EMAIL PROTECTED] Sent: February 15, 2005 12:49 PM To: tomcat-user@jakarta.apache.org Subject: RE: Cannot create JDBC driver of class '' for connect URL 'null' Server.xml

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2005-02-15 Thread karjera
Laba diena. Dkojame, kad mums parate. Js atsista inut isaugota ms duomen bazje. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

HTTP Status 503 - Servlet action is currently unavailable

2005-02-15 Thread Yaroslav Alpizar Zhuravliov
Hi, I'm brand new in Apache-Tomcat configurations. Our site tow months ago was working ok, but we did some new adjustments. In one of them, we used a new version of Struts, we still have Tomcat 4.1.31, working fine with no problems. Now when I try to enter the index page I got this error: HTTP

RE : HTTP Status 408 Error when i login

2005-02-15 Thread Bruno Gonçalves
humm.. the trace don't give me much more information! --- *The POST:* XXX: Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://localhost:8082/jcms/web/jsp/das/j_security_check

Re: RE : RE : RE : RE : RE : Tomcat configuration

2005-02-15 Thread sven morales
Hi, Does your login.jsp have something similar to this: form method=POST action='%= response.encodeURL(j_security_check) %' input type=text name=j_username input type=password name=j_password /form It it does, I can't think of where to look for now. aka_sergio --- Curtis Nelson

Re: [TOMCAT 5.5.7][WIN 2K] Help with admin package installation

2005-02-15 Thread Paolo Beccari
The admin.xml in $TOMCAT_HOME/conf/Catalina/localhost. The admin webapp under $TOMCAT_HOME/server/webapps/admin. I can see that the Admin application seem to be up running from the Manager Console, (http://host:8081/manager/html), but the admin console is still not visible

Re: RE : RE : RE : RE : RE : Tomcat configuration

2005-02-15 Thread Curtis Nelson
It does. Thanks for trying. Curtis [EMAIL PROTECTED] 02/15/05 11:56AM Hi, Does your login.jsp have something similar to this: form method=POST action='%= response.encodeURL(j_security_check) %' input type=text name=j_username input type=password name=j_password /form It it

Re: [TOMCAT 5.5.7][WIN 2K] Help with admin package installation

2005-02-15 Thread sven morales
Hi, When you say you admin is not visible, what do you actually see and if any errors at all? Check your admin.xml and post it please. aka_sergio --- Paolo Beccari [EMAIL PROTECTED] wrote: The admin.xml in $TOMCAT_HOME/conf/Catalina/localhost. The admin webapp under

Re: [TOMCAT 5.5.7][WIN 2K] Help with admin package installation

2005-02-15 Thread Omar Adobati
If you have downloaded the zipped version extract it in your tomcat home and try to NOT move any files from the place they will be. I'm quite sure it will work fine. So, the only think you have to do is place exactelly as u find in the zip files all the files ther are needed to make aviable the

Re: HTTP Status 503 - Servlet action is currently unavailable

2005-02-15 Thread sven morales
Hi, More of curiosity, What do you guys in Cuba uses Apache/Tomcat for? Does it promote information access to all or just a few well to-do people who has access to phones and computers? Can you provide the link for us in the outside see whats over there in Havana ? I hope its not illegal,

Several configuration issues with Tomcat 5.5.7/Apache2 compiling JSPs

2005-02-15 Thread Sam Halicke
Hi all, first time posting to the list. I'm having several problems migrating JSPs and class/jar files to Tomcat 5.5.7 from Tomcat 3. I understand this is a big move, but I'm trying to avoid any rewrite of the JSPs themselves. Documentation for tomcat 5.5.x is rather sparse and terribly cryptic.

Re: Several configuration issues with Tomcat 5.5.7/Apache2 compiling JSPs

2005-02-15 Thread sven morales
Hi, One of the things you have to do is put support classes for jsp in a package. I dont recall when those requirements has changed. aka_sergio --- Sam Halicke [EMAIL PROTECTED] wrote: Hi all, first time posting to the list. I'm having several problems migrating JSPs and class/jar

jk2.properties Query

2005-02-15 Thread Hari Mailvaganam
Hi: I noticed the following on the catalina.out: Feb 15, 2005 9:19:13 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=1/37 config=/local/jakarta-tomcat-5.0.28/conf/jk2.properties Does Tomcat 5.0.28 have mod_jk on by default?

RE: Several configuration issues with Tomcat 5.5.7/Apache2 compiling JSPs

2005-02-15 Thread Sam Halicke
Thank you for your quick reply. Again, putting support classes for jsp in a package is rather cryptic. The test JSPs (jsp-examples) run just fine. Are you saying that for a JSP application all the required classes/jars MUST be in the local webapp's WEB-INF directory? The Classloader Howto seems

Re: Security Constraint

2005-02-15 Thread Mark Thomas
Could be a server.xml problem. Can you post the connector parts of your server.xml? Mark Xeth Waxman wrote: I have a new servlet which I've created - whenever you try to access this servlet, I get the security certificate dialog box (do you want to accept this certificate). However, this

RE: jk2.properties Query

2005-02-15 Thread Caldarale, Charles R
From: Hari Mailvaganam [mailto:[EMAIL PROTECTED] Subject: jk2.properties Query Does Tomcat 5.0.28 have mod_jk on by default? The default server.xml has an AJP13 connector defined on port 8009; it's been that way for a long time. You should comment it out if you don't need it. - Chuck

Re: Several configuration issues with Tomcat 5.5.7/Apache2 compiling JSPs

2005-02-15 Thread David Smith
Forget classpath -- it's ignored in Tomcat 5.5 and as I remember, was being phased out in Tomcat 3 (wow -- have I been reading these mail lists for that long??). If you put your classes and jars in the right places, they will be found. In your case, the classes are being found, but some

RE: Several configuration issues with Tomcat 5.5.7/Apache2 compiling JSPs

2005-02-15 Thread Caldarale, Charles R
From: Sam Halicke [mailto:[EMAIL PROTECTED] Subject: RE: Several configuration issues with Tomcat 5.5.7/Apache2 compiling JSPs Again, putting support classes for jsp in a package is rather cryptic. The term package in this instance refers to the Java language package statement, which

Re: [OT] Search in French database in English

2005-02-15 Thread sven morales
Hi, Please look at the very robust Cocoon project under apache too. See http://cocoon.apache.org download the code via cvs, compile it and there is an Internationalization sample. Am positive you will like cocoon. Im not doing it justice with my very very simple explanation. You have to

Tomcat 5.5.7 deployer ExceptionInInitializer error in Struts getMessageResources

2005-02-15 Thread Richard Mixon (qwest)
Anybody have any ideas? I have googled this list and others and so far no clues Thank you - Richard -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 1:31 AM To: TomcatUsers Subject: Tomcat 5.5.7 deployer ExceptionInInitializer error

Re: Tomcat 5.5.7 deployer ExceptionInInitializer error in Struts getMessageResources

2005-02-15 Thread sven morales
Hi, What do you mean by Under Windows XP it deploys fine. ? I thought your problem is compiling? This deployer (manager webapps) compiles okay in XP and not in SuSE? aka_sergio --- Richard Mixon (qwest) [EMAIL PROTECTED] wrote: Anybody have any ideas? I have googled this list and others

Allow Apache to Serve Static Content

2005-02-15 Thread Dave Morrow
Hi all, I have Apache integrated with Tomcat using mod_jk2 and all is working well with the exception of performance. I would like to direct Apache to serve the static content components of my Java application. How is this done? I presume there must be some type of httpd.conf setting to do

Re: Allow Apache to Serve Static Content

2005-02-15 Thread Charles N. Harvey III
Point the DocumentRoot directory to your webapps directory. Then, in your jk mapping, map only *.jsp and *.servlet to Tomcat. ## WEBSITE ## VirtualHost * ServerAdmin [EMAIL PROTECTED] DocumentRoot /code/www/webapps/website/ROOT ServerName www.website.com CustomLog

Re: Allow Apache to Serve Static Content

2005-02-15 Thread Peter Lin
rather than setup tomcat + jk2 + apache, I would recommend setting up a dedicated image server. If you look at the static file benchmark results I posted recently, tomcat is actually faster for 1k files and equal to apache for larger than 1k files. http://cvs.apache.org/~woolfel/tc_results.html

RE: Tomcat 5.5.7 deployer ExceptionInInitializer error in Struts getMessageResources

2005-02-15 Thread Richard Mixon (qwest)
Sven, Sorry I was unclear. I should have said that under Windows XP it compiles fine. Same version of Tomcat (5.5.7), Ant (1.6.2) and similar versions of Java: XP: c:\EclipseProjects\workspace\starsjava -version java version 1.5.0_01 Java(TM) 2 Runtime Environment, Standard Edition (build

Re: Jakarta Tomcat Connector and IIS; no log being generated.

2005-02-15 Thread John Gordon
Aris, This worked out great. My servlet was not located under the webapps directory as the installer expected To get the choice of being able to have this servlet /example/ be a choice I had to create an empty directory under webapps called example before running the installer. Then

JNDI lookup returns NamingException

2005-02-15 Thread Carl
For various reasons, I need to put a Hashtable as a resource in the Tomcat Context. I have modified the server.xml as follows (note the resource entry of DBHashtable): Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/

RE: Several configuration issues with Tomcat 5.5.7/Apache2 compiling JSPs - Fixed

2005-02-15 Thread Sam Halicke
It ended up being the CLASSPATH environment variable, which i suspected all along. Since our underlying code (some of it poorly written AFAIK, based on Tomcat 3 and the older JSP spec) relies on classes/jars being at a certain path in the directory tree, copying the classes over to the WEB-INF

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2005-02-15 Thread g k
yes have defined that !-- Global JNDI resources -- GlobalNamingResources !-- Test entry for demonstration purposes -- Environment name=simpleValue type=java.lang.Integer value=30/ !-- Editable user database that can also be used by UserDatabaseRealm to authenticate users --

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2005-02-15 Thread Phillip Qin
My url is jdbc:oracle:thin:@ora.mydomain.com:1521:SID -Original Message- From: g k [mailto:[EMAIL PROTECTED] Sent: February 15, 2005 5:15 PM To: tomcat-user@jakarta.apache.org Subject: RE: Cannot create JDBC driver of class '' for connect URL 'null' yes have defined that !-- Global

RE: Tomcat 5.5.7 deployer ExceptionInInitializer error in Struts getMessageResources

2005-02-15 Thread Richard Mixon (qwest)
Oops, great apologies. I just checked my XP configuration. As that is a development machine, we had the jasper2 task commented out. When running jasper we also get an exception, albeit it a slightly different one. ant compile works great on jakarta-tomcat-5.0.28, but will not compile on

Re: Allow Apache to Serve Static Content

2005-02-15 Thread Andre Van Klaveren
This assumes of course that you are running Apache and Tomcat on the same server. The concept is pretty much the same though. You set the DocumentRoot to where your static files reside on Apache and map your JSPs and servlets to your JK worker that redirects the request to your Tomcat instance.

Redirect with slash appended

2005-02-15 Thread Felix Röthenbacher
Hi I have the problem that every time I access a servlet with a URL that is equal to a servlet's directory, Tomcat redirects me to an URL with a slash appended. E.g. I want to access /resources, and Tomcat redirects me to /resources/, which my servlet does not match. It expects to match to

Re: JNDI lookup returns NamingException

2005-02-15 Thread sven morales
Hi, See if having a pair of the sequence of Resource ResourceParams instead of having Resource, Resource ResourceParams, ResourceParams. Also the ResourceLink seems to be misplaced, not that it will much difference for your set-up. aka_sergio --- Carl [EMAIL PROTECTED] wrote: For various

Re: JNDI lookup returns NamingException

2005-02-15 Thread Parsons Technical Services
Did you put ResourceLinks in your Default context or the Apps context? If not, you will not be able to see the resource. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/globalresources.html And the link that is in your server.xml shouldn't be there or anywhere. See above link. Doug -

Re: [OT] Search in French database in English

2005-02-15 Thread Antony Paul
Is that German application you are talking about ?. I dont know languages other than English. rgds Antony Paul On Tue, 15 Feb 2005 11:51:00 -0800 (PST), sven morales [EMAIL PROTECTED] wrote: Hi, Please look at the very robust Cocoon project under apache too. See http://cocoon.apache.org

Session already invalidated

2005-02-15 Thread ssk 2001
When i login to my application i get this error. pls advice. java.lang.IllegalStateException: getAttribute: Session already invalidated at org.apache.catalina.session.StandardSession.getAttribute (StandardSession.java:984) at

Re: Session already invalidated

2005-02-15 Thread Dennis Payne
Please send example of code that is creating or getting the session. Thanks Dennis M. Payne Programmer / Analyst Information Systems Management Training Corp. e-mail: [EMAIL PROTECTED] web: http://www.mtctrains.com work: (801) 693-2635 fax: (801) 693-2900 [EMAIL PROTECTED] 02/15/05 9:59 PM

Re: [OT] Search in French database in English

2005-02-15 Thread sven morales
It is in English. Did you try to visit the link I provided? aka_sergio --- Antony Paul [EMAIL PROTECTED] wrote: Is that German application you are talking about ?. I dont know languages other than English. rgds Antony Paul On Tue, 15 Feb 2005 11:51:00 -0800 (PST), sven morales

Re: [OT] Search in French database in English

2005-02-15 Thread Antony Paul
I checked out CVS head compiled it and run it went to sample application Internationalization (i18n) Localization (l10n) and it is giving error. rgds Antony Paul On Tue, 15 Feb 2005 22:17:56 -0800 (PST), sven morales [EMAIL PROTECTED] wrote: It is in English. Did you try to visit the link

Odd temp file being created: +~JF38289.tmp

2005-02-15 Thread Shey Rab Pawo
I hope that this is a Tomcat question. I am using Tomcat 5.0 and Struts 1.2.6. I am getting a temp file seemingly related to my fonts whenever I dynamically create new image buttons on the fly, which I do on almost all pages, and then cache them. My code to get the fonts, reading from .ttf

Problem with admin webapp

2005-02-15 Thread Markus . Koelzer
Hi Tomcat Users ! I have a problem with the new admin webapp (admin 5.5.7 in tomcat 5.5.7). I downloaded it and installed and the manager shows the webapp as started. But I still get this message by calling http://localhost/admin Tomcat's administration web application is no longer