Socket closing timeout

2002-06-04 Thread Barbara Post
This may be a tiny bit offtopic but let me wondering : I am currently testing webapps onto Tomcat 4, JRun 3.1 and 4. Tomcat never throws a JVM address in use exception (I manually control the service). JRun occasionally does and the root cause it that sockets need "too much time" to my manual serv

Re: tag problem

2002-06-04 Thread Håkon Hansen
On Tue, 4 Jun 2002 09:00:50 -0400 "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > Howdy, > A bit more info would be nice. Specifically, do you get any errors > parsing your web.xml? Is there anything in your context log or the > general tomcat logs regarding not being able to find a class required

RE: How to load properties into tomcat 4.0.3?

2002-06-04 Thread Subir Sengupta
You can do something like this in your web.xml somename someclass param1 somevalue You can then call getServletConfig().getInitParameter("param1") from the init method of the somename servlet. Hope this helps, Subir -Original Message- From: Adam Pfeiffer [mailto:[EMAI

AW: MS Driver (again)

2002-06-04 Thread Ralph Einfeldt
This sounds to me as the pool has reached it maximal count on concurrent connections and the application doesn't give back a connection within the timeout of the request for a new connection. - request the connections as late as possible. (E.G. don't hold a connection in a session or servlet,

tomact not staring

2002-06-04 Thread puneet sachar
hi developers i have installed tomcat 4.0.4 and did everything as mention ... and in autoexec file mention set java_home as c:\jdk1.3 still giving me error out of environment space when changes made to memory of the .bat file .. now saying java_home variable is not defien... this is starn

How to load properties into tomcat 4.0.3?

2002-06-04 Thread Adam Pfeiffer
Hello, I have a bean that uses the Properties Object. Currently, on each jsp that calls that bean I have to do a bean.setPropsDir() which sets the directory where to find the properties file. Is there a way in server.xml, web.xml or some other way that I can put in a variable that will define

Re: AW: how to virtual hosting with apache 13.x, tomcat 4.0.3, mod_webapp

2002-06-04 Thread Nikola Milutinovic
> You only need one WebAppConnection statement - The same connection is > shared by multiple vhosts/webapps. Try it like this: > > WebAppConnection conn warp localhost:8008 > > >DocumentRoot /path/to/website1 >ServerName www.website1.org >WebAppDeploy website1 conn /website

Re: tomcat vs ant vs j2me still problem

2002-06-04 Thread Nikola Milutinovic
> "ant is a java based build tool (a kind of make). > http://jakarta.apache.org/ant/index.html > " All varietes of UNIX have a "make" command, which reads instructions/setup from "Makefile" and builds the requested target of that project. "ant" does the same, only it is Java based and uses

Integration-Issue!!!

2002-06-04 Thread Hanks Mei
Hi, I have configured apache 1.3.22 + tomcat4.0.3. And have been successful, ofcourse with the help of online documentation. The Apache has been configured to serve static pages, whereas tomcat has been configured to serve dynamic pages. I have added a security-constraint for a directory. But

Re: Manager App Question

2002-06-04 Thread Jacob Kjome
At 02:00 AM 6/5/2002 +0200, you wrote: >Hello Adam, > >AP> I just began playing with the manager app and am confused on how it >deploys a new web application. >AP> Here is the lowdown. > >AP> /opt/jakarta-tomcat-4.0.3/webapps/trips-dev in order to set up a >development environment. > >AP> This

Re: Does Tomcat want to stand alone?

2002-06-04 Thread Phillip Morelock
On 6/4/02 8:37 PM, "Gus Heck" <[EMAIL PROTECTED]> wrote: > I don't think it is so hard to do the java part, and I suspect that the > tomcat part isn't that hard either, but I am really criticising the > documentation more than anything else. I am not opposed to extra keystrokes > for benefits of

Re: JSP page is working for intranet not for internet

2002-06-04 Thread Gus Heck
Can't guess about your code without more detail but make sure whatever ports you are talking on are allowed through your firewall. Also if your systems have files listing local machines addresses that they use to get dns numbers without a server lookup, you could be feeding off of those on you net

Re: Does Tomcat want to stand alone?

2002-06-04 Thread Gus Heck
I don't think it is so hard to do the java part, and I suspect that the tomcat part isn't that hard either, but I am really criticising the documentation more than anything else. I am not opposed to extra keystrokes for benefits of java, but I do really dislike reading page after irrelevant page h

Re: Does Tomcat want to stand alone?

2002-06-04 Thread Phillip Morelock
On 6/4/02 7:51 PM, "Eric Hollander" <[EMAIL PROTECTED]> wrote: > On Monday 03 June 2002 18:24, you wrote: >> My impression of Tomcat is that one winds up having to learn ALL of it's >> features at once. It is also very hard to find out answers to simple things >> on their web site... like how do

Re: Does Tomcat want to stand alone?

2002-06-04 Thread Eric Hollander
On Monday 03 June 2002 18:24, you wrote: > My impression of Tomcat is that one winds up having to learn ALL of it's > features at once. It is also very hard to find out answers to simple things > on their web site... like how do you turn off directory indexing in Tomcat? > I can find stuff on secu

Re: Does Tomcat want to stand alone?

2002-06-04 Thread Phillip Morelock
On 6/3/02 9:24 PM, "Gus Heck" <[EMAIL PROTECTED]> wrote: > Your response is helpful, though I can't tell if it will help until I check > out struts, and attempt to create a dispacher like you describe. At least > now I have some more leads... still it seems that there should be a simple > option

JSSE vs MOD_SSL

2002-06-04 Thread Johnny
Hi Tomcat Users, I found out the mod_ssl is disabled after I integrated tomcat 4.0.3 with apache 1.3.20. So I wondering is it possible to run mod_ssl + tomcat + apache in the same time, instead of using JSSE? Regards Johnny. -- To unsubscribe, e-mail: For a

Re: Does Tomcat want to stand alone?

2002-06-04 Thread Gus Heck
Your response is helpful, though I can't tell if it will help until I check out struts, and attempt to create a dispacher like you describe. At least now I have some more leads... still it seems that there should be a simple option that provides the simple functionality. Flexability and power is g

Re: Manager App Question

2002-06-04 Thread Thomas Bierhance
Hello Adam, AP> I just began playing with the manager app and am confused on how it deploys a new web application. AP> Here is the lowdown. AP> /opt/jakarta-tomcat-4.0.3/webapps/trips-dev in order to set up a development environment. AP> This worked, the web app deployed and I can now browse

if you want to help a newbie

2002-06-04 Thread Paul Clifford
Hi, I just joined the list today. I have installed Tomcat-4.0.3 on Redhat Linux-7.3 running Apache-1.3.23. A starting question, J2EE (i'm using 1.3.1) says it includes tomcat, is it bad to have both The stand alone tomcat RPM and J2EE installed. Might they conflict somehow? -- To unsubscribe,

Re: jdbc connection list

2002-06-04 Thread Phillip Morelock
also called the Observer pattern. On 6/4/02 4:07 PM, "Phillip Morelock" <[EMAIL PROTECTED]> wrote: > Use the Listener design pattern. You'll probably write an interface, > implement it, and then register listeners with classes that will inform them > of events. > > The java kit already has so

Re: jdbc connection list

2002-06-04 Thread Phillip Morelock
Use the Listener design pattern. You'll probably write an interface, implement it, and then register listeners with classes that will inform them of events. The java kit already has some of this pattern: HttpSessionBindingListener for example. The pattern is also prevalent throughout Swing and

Re: CrossContext

2002-06-04 Thread Phillip Morelock
>From the servlet api: Returns a ServletContext object that corresponds to a specified URL on the server. This method allows servlets to gain access to the context for various parts of the server, and as needed obtain RequestDispatcher objects from the context. The given path must be beg

Re: jdbc connection list

2002-06-04 Thread Darya Chernikhova
Sorry if this is a copy. I got an error message from my mail server, after I sent this email, so I'm trying again. Darya On Tue, 4 Jun 2002, Darya Chernikhova wrote: > > Hi all, > > I'd like to write a bean that would keep track of all of the jdbc > connections that users make. > > So, say that

RE: auto deploy seems to fail on 4.0.2/win98 and 4.0.1/linux

2002-06-04 Thread Douglas, Rory
tomcat will only auto deploy war's at startup and then only if a directory with the same name as the war file does not already exist in your webapps directory. If you want to update a running web-app, you need to specify a element for it in conf\server.xml and specify the 'reloadable' attribute a

RE: about JavaBeans

2002-06-04 Thread McLane, Bryan
Simply, put the value in an attribute of the bean and access through the getter. See mtemp in the example attached. -Original Message- From: Anibal Constante Brito [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 11:35 PM To: Tomcat Subject: about JavaBeans I'm doing a simple Java

Re: CrossContext

2002-06-04 Thread Phillip Morelock
Are you supposed to have the trailing slash? maybe: getServletContext( ).getContext( "/A" ) I haven't used this feature, just trying to help. fillup On 6/4/02 2:44 PM, "Jonathan Perry" <[EMAIL PROTECTED]> wrote: > Anybody? Please? This is really doing my head in. > > Thanks a lot, > JP >

Differences in XML data received by servlet in Tomcat?

2002-06-04 Thread Bo Min Jiang
Hi, I have a simple Java client that uses HTTP Post to pass an XML string to a servlet on Tomcat. This is done with a HttpURLConnection and writing to a DataOutputSteam. The string looks like the following: xmldocument=test In my servlet, when I call getParameterNames() on the request, I get t

Re: CrossContext

2002-06-04 Thread Jonathan Perry
Anybody? Please? This is really doing my head in. Thanks a lot, JP On 4/6/02 10:51 am, "Jonathan Perry" <[EMAIL PROTECTED]> wrote: > Hi, > I'm running jakarta-tomcat-4.0.3 on Mac OSX. I've got two contexts set > up, "A", and "B". Both have crossContext="true" in their section of > server.

mod_jk slows down apache 1.3.23

2002-06-04 Thread Power-Netz \(Schwarz\)
Hi, I have found that the auto config of tomcat for mod_jk slows down my apache. I guess that i did not configure tomcat correctly. Where should i look for and change things?? mod_jk is working so far, as i can access my apps via normale http urls like http://domain/application but no longer v

Re: prohibit stopping tomcat by generic user

2002-06-04 Thread Dennis Muhlestein
Even if the permissions are set correctly you could just telnet localhost 8005 and type SHUTDOWN. If your worried about users that much, I'd rethink their account on that box. And do make sure port 8005 is not available where someone can send the shutdown command! -Dennis On Mon, 2002-06-03 a

TOMCAT 4.0.3 Servlet.service() for servlet jsp

2002-06-04 Thread Gustavo Mejia
Hello every one! I have a problem, I was using Tomcat 4.0.1 with jdk1.3.2 and worked ok, but I changed it by Tomcat 4.0.3 LE 14, and jdk 1.4 and I got an error like this.. I hope you could help me.. Thanks in advance 2002-06-04 10:09:02 StandardWrapperValve[jsp]: Servlet.service() for

Re: Bypassing user role assignment???

2002-06-04 Thread Ben Walding
Alternatively, Create a view (Access query) to handle roles, then you don't need that superfluous column in your user table and you can modify your view at a later stage to handle additional roles. eg. create a query with the sql SELECT Username, "DEFAULT" from usertable At some later stage

RE: tag problem

2002-06-04 Thread Shapira, Yoav
Howdy, A bit more info would be nice. Specifically, do you get any errors parsing your web.xml? Is there anything in your context log or the general tomcat logs regarding not being able to find a class required by one of the servlets below? Yoav Shapira Millennium ChemInformatics >-Origin

Re: oracle drivers

2002-06-04 Thread Tia Haenni
Drivers are with your Oracle distribution, just search for classes111.zip or classes12.zip. Also, they are available here: http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html You will have to sign up for the Oracle Technology Network if you are not already a member. puneet sachar

Re: ??? Using JSPs to Send Not-Modified-Since Header ???

2002-06-04 Thread Tony LaPaso
Well, simply inserting a "getLastModified()" method into the generated servlet will not work due to the class inheritance involved. With standard (non-JSP generated) servlets, the "service()" method in HttpServlet calls "getLastModified()". With JSP-based servlets, HttpServlet's "service()" metho

Problems accessing xls and ppt files over ajp13

2002-06-04 Thread Lawlor, Frank
I added mime types to conf/web.xml for xls and ppt: application/vnd.ms-excel application/vnd.ms-powerpoint and this works fine when I access tomcat directly, However, when I access tomcat via our IIS server in the firewall (SSL), they are sent as text. Other MS filetypes (doc,

RE: MS Driver (again)

2002-06-04 Thread Sean LeBlanc
Thanks for the help. I saw this before, but after giving it a closer look I realized I needed to add the appropriate jars and use the dbcp factory class. Now that it actually at last connects, what is the best way to use this? I stress-tested a bit, and I started to get errors showing up in the lo

Re: Having a Newbie Delamere here.

2002-06-04 Thread August Detlefsen
Still having this problem? I think in here you need to add rs.next() or rs.first() to move to the first row of the ResultSet before you call rs.getString(): if (bPageExists) { sQuery = "SELECT * FROM tblforms WHERE PageOrder = " + iPage; stmt = conn.createStatement(); rs = stmt.executeQuery

JSP precompilation and including "webinc.xml" in web.xml

2002-06-04 Thread Al Tingley
Hello, We are trying to automate the pre-compilation of our JSP files with JspC and the inclusion of the generated "webinc.xml" file in our application "web.xml" file. We have constructed an application web.xml as shown below. Both "web.xml" and "webinc.xml" are local to the .../webapps//WEB-INF/

Translating Apache .conf command to Tomcat stand-alone

2002-06-04 Thread @Basebeans.com
Subject: Translating Apache .conf command to Tomcat stand-alone From: "Rob Storrs" <[EMAIL PROTECTED]> === I'm trying to fix a problem we're having getting Tomcat to serve out a Flash *.swf over HTTPS to MSIE on Windows. What my research has led me to is trying to have Tomcat modify its response

RE: Help with Tomcat and IIS

2002-06-04 Thread Larry Isaacs
The isapi_redirect[or].dll is both a filter and an extension. The filter portion examines the request to see if it should be forwarded to Tomcat. If so, the request URI is saved in new header entries which are added to the request and the request URI is replaced with the "extension-uri" value. T

Re: ??? Using JSPs to Send Not-Modified-Since Header ???

2002-06-04 Thread Tony LaPaso
Yes, but I'd prefer not to muck w/HttpJspBase -- as you said, it is Tomcat specific. I was hoping ther would be a more "portable", "approved" way...but it looks like the JSP spec does not yet support it. Really too bad -- getLastModified() was a big win. - Original Message - From: "Carl

GlobalNamingResources element required in Tomcat 4.1.2?

2002-06-04 Thread Jonathan Eric Miller
I noticed that you will receive the following error if you do not have a GlobalNamingResources element in your server.xml file for Tomcat 4.1.2. IMHO, this tag shouldn't be required because sometimes you might not having anything to put in that section. i.e. I want to use JNDIRealm, not the UserDa

Re: requestDispatcher.include() custom tag

2002-06-04 Thread Todd Kaplinger
Wouldn't it be easier to just do pageContext.include("someResource.x"); >From: Aurlien Pelletier <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: requestDispatcher.include() custom tag >Date: Tue, 4 Jun 2002 11:15:10 +0200 > > >Hello, > >

Manager App Question

2002-06-04 Thread Adam Pfeiffer
Hello, I just began playing with the manager app and am confused on how it deploys a new web application. Here is the lowdown. I had an existing one at: /opt/jakarta-tomcat-4.0.3/webapps/trips I did a cp -r from /opt/jakarta-tomcat-4.0.3/webapps/trips to /opt/jakarta-tomcat-4.0.3/webapps/trips

Re: Tomcat is the best ?!

2002-06-04 Thread Pascal Forget
Sean LeBlanc wrote: > >I noticed Resin's web site has a link about clustering and such. >Which makes me wonder - how are people doing this in Tomcat, if they are >doing it all? Are there any whitepapers anywhere on the various ways of >accomplishing this? Any experiences to share? > www.ubean

Re: MS SQL Server Datasouerce

2002-06-04 Thread Adam Greene
Make sure that you call the parameter "name" as "username". - Original Message - From: "Anibal Constante Brito" <[EMAIL PROTECTED]> To: "Tomcat" <[EMAIL PROTECTED]> Sent: Thursday, May 30, 2002 9:40 PM Subject: MS SQL Server Datasouerce > A tried to create a datasource with SQL Server, b

RE: AW: How to use setRequestedSessionId

2002-06-04 Thread Subir Sengupta
I'm still unclear about how to do this. Once a request has been associated with a session, how do we associate it with a different session. I'm probably wrong but it seems the only way is to use setRequestedSessionId(). Once I call getSession(), the session gets associated with the request, and

FW: AW: How to use setRequestedSessionId

2002-06-04 Thread Subir Sengupta
I'm still unclear about how to do this. Once a request has been associated with a session, how do we associate it with a different session. I'm probably wrong but it seems the only way is to use setRequestedSessionId(). Once I call getSession(), the session gets associated with the request, an

Re: AW: how to virtual hosting with apache 13.x, tomcat 4.0.3, mod_webapp

2002-06-04 Thread August Detlefsen
You only need one WebAppConnection statement - The same connection is shared by multiple vhosts/webapps. Try it like this: WebAppConnection conn warp localhost:8008 DocumentRoot /path/to/website1 ServerName www.website1.org WebAppDeploy website1 conn /website1 DocumentRoot /pat

Tomcat redirectors

2002-06-04 Thread Sankaranarayanan (Ganesh) Ganapathy
Hi All, Has anyone built and used Tomcat redirectors for apache1.3.24 on HP-UX 11.10 and AIX 4.3.3? Has anyone used these in a production scenario? And why does every tomcat release selectively bundle only a few pre compiled binaries for tomcat redirectors - like for example with tomcat4.2.3

Re: ??? Using JSPs to Send Not-Modified-Since Header ???

2002-06-04 Thread Carlos Ferreira
a not so good solution would be to subclass org.apache.jasper.runtime.HttpJspBase ( or redesign it ) with your required behaviour and extend your jsp pages from this new class. the problem is that HttpJspBase is tomcat specific. perhaps somebody has a better idea. Carlos Ferreira Gilem Informati

RE: Out of Memory Error - plz help

2002-06-04 Thread Jack Li
in setclasspath.bat file set JAVA_OPTS="-ms10M -mx512M" Jack Li -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 4:34 AM To: Tomcat Users List Subject: Re: Out of Memory Error - plz help I'm not sure this answers your question, but hop

jdbc connection list

2002-06-04 Thread Darya Chernikhova
Hi all, I'd like to write a bean that would keep track of all of the jdbc connections that users make. So, say that I have 2 applications registered on tomcat -- appA and appB. And, say that there are 5 servlets or jsp pages per application -- appA/serv1, appA/serv2, ..., appB/serv5 . And, eac

JSP page is working for intranet not for internet

2002-06-04 Thread Rong Li
We have a chat system installed. The jsp is working perfectly from intranet. However, we can not make it run from outside intranet. Anybody has any clue about this? Configuration problem? Thanks, Ron -- To unsubscribe, e-mail: For additional commands, e-mail:

Running Tomcat 4 & Tomcat 3 on IIS 5.0

2002-06-04 Thread Arzhang Saman
I'm trying to get Tomcat 3 running on a Win 2K system that already has Tomcat 4 on it mainly for testing purposes. I have used different port numbers for each version but get the following error when I try to start up Tomcat 3: Unable to locate servlet.jar, check the value of TOMCAT_HOME. I have

Using JSPs to Send NOT-MODIFIED-SINCE Header

2002-06-04 Thread Tony LaPaso
Hi all, In looking at past posts, I'm afraid I know the horrible answer to this issue but I thought I'd ask just in case I missed anything. Let me start by saying I'm using Tomcat v4.0.4 beta 3. As you know, when a client (usually a web browser) has a cached version of a resource (usually a web

tomcat vs ant vs j2me still problem

2002-06-04 Thread puneet sachar
hi everybody and hi ralph what u mean by this "ant is a java based build tool (a kind of make). http://jakarta.apache.org/ant/index.html " what kind of make.. what does this have advantage..i serioulsy don't undersatnd this regards Puneet 4th june 2002

Server name setting in Apache Tomcat 4

2002-06-04 Thread Luca Ventura
Hello everybody! I have installed Apache Tomcat 4 as plug-in of IIS to support jsp pages and servlets, and alla works fine. For test purposes I installed all on the same machine without changing the server-name (localhost) of my Web Server (IIS) and Servlet/JSP Container (Tomcat). I would like t

RE: Help with Tomcat and IIS

2002-06-04 Thread simpson
try changing all references from isapi_redirector.dll to isapi_redirect.dll > -Original Message- > From: Robert A. Rogerson [mailto:[EMAIL PROTECTED]] > Sent: June 3, 2002 19:07 > To: Tomcat Users List > Subject: RE: Help with Tomcat and IIS > > > Hi Larry. I checked my registry (NT4

RE: Bypassing user role assignment???

2002-06-04 Thread Geoff Peters
See THAT is why I subscribe to this list - easy solutions right under my nose, but someone else can think of them quicker! Thanks, that should do the job perfectly, even though it is Access 97 (yuck) Thanks again, Geoff -Original Message- From: Barney Hamish [mailto:[EMAIL PROTECTED]]

RE: Bypassing user role assignment???

2002-06-04 Thread Barney Hamish
Why don't you set the user roles table to be the same as the users table. Have a user_role field in the users table with a default value "default role" or something. That way when you create a new user a role is automatically created for them with the role of "default role". Then you don't have to

RE: Bypassing user role assignment???

2002-06-04 Thread Geoff Peters
So it isn't possible to set a default role for everyone at login with a parameter in the web.xml file? -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: June 4, 2002 8:34 AM To: Tomcat Users List Subject: AW: Bypassing user role assignment??? The only way I see,

AW: Bypassing user role assignment???

2002-06-04 Thread Ralph Einfeldt
The only way I see, is to create your own realm by extending JDBC Realm and overriding the hasRole() method. > -Ursprüngliche Nachricht- > Von: Geoff Peters [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 4. Juni 2002 13:19 > An: [EMAIL PROTECTED] > Betreff: Bypassing user role assignme

AW: tomcat vs ant vs j2me

2002-06-04 Thread Ralph Einfeldt
ant is a java based build tool (a kind of make). http://jakarta.apache.org/ant/index.html > -Ursprüngliche Nachricht- > Von: puneet sachar [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 4. Juni 2002 13:06 > An: Tomcat Users List > Betreff: tomcat vs ant vs j2me > > > tell me what is t

Bypassing user role assignment???

2002-06-04 Thread Geoff Peters
Does anyone know if it is possible to bypass the requirement to have user roles defined within a table in the JDBC Realm? Reason being is that I have an app where all users need to be "standard", and I have scripts and other apps creating the users, therefore bypassing the user role definition

tomcat vs ant vs j2me

2002-06-04 Thread puneet sachar
good morning developers tell me what is this tomcat ant... 1) is it software r extra utility...which added to taomcat and where to install it whatz difference b/w this and tomcat ..and what will added advantages 3) my j2me program don't work with tomcat actullay trying to make a small appl

AW: how to virtual hosting with apache 13.x, tomcat 4.0.3, mod_webapp

2002-06-04 Thread Ralph Einfeldt
Although I'm not using mod_webapp I would suggest: DocumentRoot /path/to/website1 ServerName www.website1.org WebAppConnection conn warp localhost:8008 WebAppDeploy website1 conn /website1 DocumentRoot /path/to/website2 ServerName www.website2.org WebAppConnection conn warp loca

Managing applications with apache/tomcat403/mod_webapp

2002-06-04 Thread pascal GEND
Hello, I installed tomcat403 and mod_webapp. I read in the documentation that it is possible to manage applications (for instance mytomcatapp1 and mytomcatapp2) with: http://www.mywebsite.org:8080/manager/reload?path=mytomcatapp1 It works with tomcat which is running in standalone on port 8080

problem with ressources and/or class loader

2002-06-04 Thread Patrick . Pierra
hello, i use tomcat 4.0.3 with an external API (JDO libelis implementation). If i put the API jar files in the WEB-INF/lib directory of my Web appliaction, the API classes can't open a properties file : javax.jdo.JDOFatalDataStoreException: DataSource initialization error NestedThrowables: javax

how to virtual hosting with apache 13.x, tomcat 4.0.3, mod_webapp

2002-06-04 Thread pascal GEND
Hello, I used apache with mod_jserv (no jsp) and I known how to configure virtual hosting in httpd.conf. DocumentRoot /path/to/website1 ServerName www.website1.org ... DocumentRoot /path/to/website2 ServerName www.website2.org Since I am working with tomcat 4.0.3 with mod_webapp,I do

Out of Memory error - plz help

2002-06-04 Thread # Lalit Nagpal #
hello friends, I get this wierd error "Out of Memory --- No Stack Trace". Actually i have a form that a student fills up attaches his mark statement (scanned image) and photograph. The form is received properly on the server but then the server goes down any time - giving the output as << Out of

Re: ??? Using JSPs to Send Not-Modified-Since Header ???

2002-06-04 Thread Markus Kirsten
Hi Tony, Isn't it possible to put in the method after the jsp file has been rewritten (by Tomcat) to a standard java source code file? Maybe it's quick and dirty but I can't see why it shouldn't work. Best of luck! Markus On Tuesday, June 4, 2002, at 09:28 AM, Tony LaPaso wrote: > Hi all, >

CrossContext

2002-06-04 Thread Jonathan Perry
Hi, I'm running jakarta-tomcat-4.0.3 on Mac OSX. I've got two contexts set up, "A", and "B". Both have crossContext="true" in their section of server.xml. I have a copy of a servlet in each context, which has the following lines of code: ServletContext c = getServletContext( ).getContext(

auto deploy seems to fail on 4.0.2/win98 and 4.0.1/linux

2002-06-04 Thread Ray Tayek
hi, using tomcat 4.0.2 on win98 and 4.0.1 on slak 8.0. trying to work through the examples in Java Tools for Extreme Programming: Mastering Open Source Tools: Including Ant, JUnit, and Cactus" by Richard Hightower, Nicholas Lesiecki. all is well until i copy the hello.wat file to tomat/webapps

requestDispatcher.include() custom tag

2002-06-04 Thread Aurélien Pelletier
Hello, I have the following custom tag public class IncludeTag extends TagSupport { public int doStartTag() throws JspException { try { pageContext.getRequest().getRequestDispatcher ("test.html").include(pageContext.getRequest(),

AW: Session variables?

2002-06-04 Thread Power-Netz \(Schwarz\)
> in JSP or JavaBeans? In JSP with JavaBeans :-) <% int X; yourname.setValue(X); X = yourname.getValueX(); %> public class whatever { private int x = 0; void setValue(int value) { x = value; } int getValueX() {

Oracle JDBC Drivers not fully working

2002-06-04 Thread Power-Netz \(Schwarz\)
Hi, last time i tried oracle, i found that serveral extremly nice functions about traversing a resultset, are not implemented in the oracle drivers. They just throw SQL-exceptions. Be prepared for it :-) >>> POWER-NETZ® Full-Service-Provider <<< Online-Support: Support: 0190 - 15

Re: Out of Memory Error - plz help

2002-06-04 Thread oz
Small correction. In item 2, the path for the config file in linux rpm installation is /etc/tomcat/conf/tomcat4.conf [EMAIL PROTECTED]

AW: Detect Cookie Rejection

2002-06-04 Thread Power-Netz \(Schwarz\)
> Does anyone know of a way to detect when cookies are not accepted > by a browser. My site uses session cookies and I'd like to be > able to redirect people somewhere to tell them that the site > requires cookies and what to do to activate them... An easy way to find out if cookies are enabled

tag problem

2002-06-04 Thread Patrick . Pierra
hello, i try to run 2 servlets on the starting of tomcat 4.0.3. i use this portion of xml code in my web.xml file : OdataJDOinitializer lds.odata.web.servlets.OdataJDOinitializer 1 OdataJDBCinitializer lds.odata.web.servlets.OdataJDBCinitializer 2 i don't understand why but just the ser

Re: Out of Memory Error - plz help

2002-06-04 Thread oz
I'm not sure this answers your question, but hopefully: 1. I can't say what the cause for the out of memory error is, but if you are writing in Java (JSP or servlet), you can try and check the memory status on your computer. This is done by: Runtime rt = Runtime.getRuntime(); long mem = rt.total

??? Using JSPs to Send Not-Modified-Since Header ???

2002-06-04 Thread Tony LaPaso
Hi all, In looking at past posts, I'm afraid I know the horrible answer to this issue but I thought I'd ask just in case I missed anything. Let me start by saying I'm using Tomcat v4.0.4 beta 3. As you know, when a client (usually a web browser) has a cached version of a resource (usually a web

Basic Authentication: Tomcat 4 and IIS 5.0 generates 403 Error

2002-06-04 Thread alastair
We are trying to get basic authentication to work with Tomcat 4 and IIS 5, however it generates a 403 error instead. Can someone point me in the right direction? We managed to get it working in Tomcat 3.3, but now the pop up just isnt appearing -- it goes straight to the forbidden page. Can som