unable to cast stub object to remote interface

2000-12-11 Thread OHIRA, Shinya
Hi, sorry if this is a newbie question. I upgraded tomcat from 3.1 to 3.2 and run into the problem. the error message is java.lang.ClassCastException: TestServer_Stub It seems that tomcat 3.2 can not cast RMI stub object to remote interface - the jar file of these lookup program and remote inter

Error in JSP and bean

2000-12-11 Thread nitin mundada
hi I am getting following error. can any one pls. explain me what is it. I am calling a jsp file which is in .../ROOT/esoft. this jsp file calls a bean which is in .../ROOT/WEB-INF/classes/esoft. it gives follwoing error. when i call this jsp file from .../ROOT, then bean gets called from .../ROO

Re: Question about Linux install of Tomcat 3.2 (is there an RPM yet)

2000-12-11 Thread Filip Hanik
you should be able to build this one using the Apache apxs binary It is more a Apache issue, and can be found in the documentation for mod_jk. Filip - Original Message - From: "John Clark L. Naldoza" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 11, 2000 5:31 PM Sub

RE: Multipart and mod_jk

2000-12-11 Thread Kwan, Kenneth Y
Use mod_jk with AJP12 (not AJP13) will work Kenneth Kwan -Original Message- From: AC [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 12:49 AM To: [EMAIL PROTECTED] Subject:Multipart and mod_jk I've got a servlet

[ANN] Metamata Debug Tomcat Edition

2000-12-11 Thread Louis Tribble
Metamata is pleased to announce Metamata Debug Tomcat Edition. This is a version of Metamata Debug 2.0 that enables several key features from our Enterprise Edition for use with Tomcat: * JSP source level debugging * servlet output stream monitoring * customized servlet API object br

Re: Question about Linux install of Tomcat 3.2 (is there an RPM yet)

2000-12-11 Thread John Clark L. Naldoza
David Thompson wrote: > > What about the mod_jserv.so or whatever that connects Apache to Tomcat? > dt > it's now mod_jk.so..;-) -- /) John Clark Naldoza y Lopez (\ / )Software Design Engineer II ( \ _( (__ Web-Application De

RE: Question about Linux install of Tomcat 3.2 (is there an RPM yet)

2000-12-11 Thread Ed Gomolka
Try here for RPM's: http://rpmized.free.fr > -Original Message- > From: Filip Hanik [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 11, 2000 6:46 PM > To: [EMAIL PROTECTED] > Subject: Re: Question about Linux install of Tomcat 3.2 (is there an RPM > yet) > > > Tomcat is a pure Java ap

Re: Question about Linux install of Tomcat 3.2 (is there an RPM yet)

2000-12-11 Thread Jeff Turner
There's RPMs for Tomcat (and a lot of other Apache stuff) listed at http://rpmized.free.fr/ It's also indexed at http://rpmfind.net. Specifically, you can get tomcat at ftp://ftp.falsehope.com/home/gomez/tomcat/ Once you've installed the RPM, fix and run `/etc/rc.d/init.d/tomcat start`, point y

RE: Question about Linux install of Tomcat 3.2 (is there an RPM yet)

2000-12-11 Thread David Thompson
What about the mod_jserv.so or whatever that connects Apache to Tomcat? dt -Original Message- From: John Clark L. Naldoza [mailto:[EMAIL PROTECTED]] Sent: Monday, December 11, 2000 4:56 PM To: [EMAIL PROTECTED] Subject: Re: Question about Linux install of Tomcat 3.2 (is there an RPM yet)

Solaris 2.8 build of mod_jk "Command failed with rc=16711680"

2000-12-11 Thread Ryan Petty
I am trying to compile mod_jk on Solaris 2.8. I have installed Java, Apache with DSO support etc. I issue the following command per the instructions at: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html # /usr/apache/bin/apxs -o mod_jk.so -DSOLARIS \ -I../jk -I/usr/jav

Re: Question about Linux install of Tomcat 3.2 (is there an RPM yet)

2000-12-11 Thread John Clark L. Naldoza
David Thompson wrote: > > I am a linux newbie so this might be a stupid question but... > I have linux 6.2 installed (using Redhat). > I have Apache 1.3.14 running well. > I have JDK 1.3 installed and working. > Now to get to where I want to be, I want to get Tomcat 3.2 running with > Apache. The

tomcat configuration problem, i guess... HELP ME!!!...

2000-12-11 Thread Ing . José A . Alcázar Willis
Hi, I have troubles with tomcat 3.1 I tried to configure a new path or URL for my application and I think I did something wrong and now tomcat tell me very frecuently: Context log: path="/inscripciones" Error in default service() : There is no proc ess to read data written to a pipe. java

Re: Question about Linux install of Tomcat 3.2 (is there an RPM yet)

2000-12-11 Thread Filip Hanik
Tomcat is a pure Java application. there is a tar on the jakarta.apache.org website. just un-tar it and you are installed. so no need for an RPM since tomcat works of the relative directory structure. Filip - Original Message - From: "David Thompson" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

RE: Servlet Mapping

2000-12-11 Thread Iwan Eising
This is described in the user-document of Tomcat. You set it in one of the .conf files. Iwan :> -Original Message- :> From: Joseph Wong [mailto:[EMAIL PROTECTED]] :> Sent: Monday, December 11, 2000 7:51 AM :> To: [EMAIL PROTECTED] :> Subject: Servlet Mapping :> :> :> I want to use Apache

Question about Linux install of Tomcat 3.2 (is there an RPM yet)

2000-12-11 Thread David Thompson
I am a linux newbie so this might be a stupid question but... I have linux 6.2 installed (using Redhat). I have Apache 1.3.14 running well. I have JDK 1.3 installed and working. Now to get to where I want to be, I want to get Tomcat 3.2 running with Apache. There are no RPM's for it as of last nig

Re: very urgent

2000-12-11 Thread John Clark L. Naldoza
Dave Newton wrote: > > >> You don't have to unjar the file. It works in a zip or jar file just the > same. > > May I inquire as to how? > > You may. Java understands zip files. > > Dave I can digress as much with the Java => JVM... But how about with Tomcat...;-) How can you say i.e. CLASSP

on solaris 2.6 I used -lposix4 for mod_jk

2000-12-11 Thread David Bussenschutt
I don't know if anyone else has encountered this problem before, but going by the number of mod_jk compile problems, it can only help! With: Solaris 2.6/Apache 1.3.14/Tomcat 3.2Final/mod_jk I found that the suggested apxs command for building mod_jk didn't work properly. The compile went per

RE: very urgent

2000-12-11 Thread Dave Newton
>> You don't have to unjar the file. It works in a zip or jar file just the same. > May I inquire as to how? You may. Java understands zip files. Dave

Re: ServletContext.getResourceAsStream() in 3.2?

2000-12-11 Thread Craig R. McClanahan
Sean Dowd wrote: > I'm trying to load a properties file at startup in a servlet by doing a > > ClassLoader loader = Thread.currentThread().getContextClassLoader(); > InputStream is = null; > is = getServletContext().getResourceAsStream( propFileName ); > while(loader != null && is == null) { >

Re: Apache-Tomcat on SOLARIS...

2000-12-11 Thread David Bussenschutt
Here's a simple one, don't be afraid to answer me more than once! (better than not at all) If I want every *.jsp in the entire directory tree to be redirected from apache to tomcat, but still have the jsp files in the apache htdocs area, what would my server.xml look like? (i'm not interested in

Re: very urgent

2000-12-11 Thread John Clark L. Naldoza
Iwan Eising wrote: > > You don't have to unjar the file. It works in a zip or jar file just the > same. > > Iwan > May I inquire as to how? -- /) John Clark Naldoza y Lopez (\ / )Software Design Engineer II ( \ _( (__ Web-Ap

RE: how to execute servlets using tomcat

2000-12-11 Thread Kotturi, Rajendra
hi madhu, I have the web.xml in the WEB-INF directory and i also tried by adding servlet mappings but still I am not able to execute the servlets at all. But if I have my apps in the tomcat/webapps dir the servlets are running fine. Is there anything i have to do in the apache server ? thanks Ra

Re: Environment entries?

2000-12-11 Thread Filip Hanik
I think you may be confusing environment with environment. The env-entry describes an entry for the Java environment. But the LD_LIBRARY_PATH is a Unix environment variable similar to PATH on a windows system. to set this path, you will have to modify the tomcat.sh script. on top of the script ju

RE: very urgent

2000-12-11 Thread Iwan Eising
You don't have to unjar the file. It works in a zip or jar file just the same. Iwan :> -Original Message- :> From: Sam Terburg [mailto:[EMAIL PROTECTED]] :> Sent: Monday, December 11, 2000 5:44 AM :> To: [EMAIL PROTECTED] :> Subject: Re: very urgent :> :> :> The designated location for t

RE: Tomcat Unix autostart

2000-12-11 Thread David Bussenschutt
I tried starting tomcat before apache. I see the startupscript >being executed, but tomcat doesn't start. >Has anybody working Unix startupscripts for Tomcat? >Tomcat should start after Apache during reboot. Also remember to set your >classpath in the startup script. >>I'm trying to start Tomc

RE: path problem

2000-12-11 Thread Dave Newton
> I made some changes on server.xml and tomcat.conf file (Context path, > Alias...etc), but it didn't work. for example, i changed the line in > tomcat.conf file Alias /myApp "/usr/local/jakarta-tomcat-3.2/webapps/myApp" > to Alias / "/usr/local/jakarta-tomcat-3.2/webapps/myApp" Then i got error.

Re: Environment entries?

2000-12-11 Thread John Clark L. Naldoza
Catherine Jung wrote: > > Hi, one of my servlets needs to open a connection to a database, now, if I > were accessing this database in a normal java program I'd need to have set > an environment variable LD_LIBRARY_PATH to point to it's native > librarys. How can I do something similar in a servl

path problem

2000-12-11 Thread Cherie Yoon
Hi, I got apache-tomcat working on linux. now i would like to load jsp page without having to type the parent folder. i.e. (without making change in existing directory structure) localhost/myApp/test.jsp -> localhost/test.jsp I made some changes on server.xml and tomcat.conf file (Context path

problem with non-english characters on solaris

2000-12-11 Thread Jyoti Bansal
Hi all,   I am using some non-english characters in HTTP request POST data. When I post it to the servlet and do a request.getParameter() in the servlet code, I get all the non-English characters replaced by a '?'.   This is happening when the Tomcat is running on Solaris. I have tried usin

ServletContext.getResourceAsStream() in 3.2?

2000-12-11 Thread Sean Dowd
I'm trying to load a properties file at startup in a servlet by doing a ClassLoader loader = Thread.currentThread().getContextClassLoader(); InputStream is = null; is = getServletContext().getResourceAsStream( propFileName ); while(loader != null && is == null) { is = loader.getResourceAsStrea

Tomcat is creating compiled JSP filenames of lenght > 250 characters

2000-12-11 Thread Alex Muc
Hi, Looking through the archives I've only foudn a little discussion about this problem, so hopefully this message isn't something that has been discussed to death already. I'm running with Tomcat 3.1 on Windows 98 for some development work that I'm doing. I am running in cases where the com

RE: How do you compile ?

2000-12-11 Thread Bryan Basham
> I basically want to know if a servlet is using a function in another package > how do you compile that servlet? What tags do I include or how do I > reference the package when I compile. These are the main techniques. * If the "other package" exists as a JAR, then use: javac -classpa

RE: ISAPI_REDIRECT Not Found Error. Just started out of the blue..

2000-12-11 Thread Dave Finch
Did you get this sorted out, i'm having a very similar problem? TIA Dave Finch -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 15, 2000 12:03 PM To: [EMAIL PROTECTED] Subject: ISAPI_REDIRECT Not Found Error. Just started out of the blue..

RE: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk

2000-12-11 Thread Maureen Fisher
it says right in the tomcat docs that windows does not support relative paths. I should have thought of that ;-) At 12:35 PM 12/11/2000 -0800, Hernandez, Rey wrote: >Hi all, > > Well, with the help of the comments I figured out the problem. I >did not wish to use the auto-generated file

RE: How do you compile ?

2000-12-11 Thread Jon Skeet
> I basically want to know if a servlet is using a function in > another package how do you compile that servlet? What tags do > I include or how do I reference the package when I compile. And what I've said, and what I'll repeat, is that you should learn Java *first*. If you knew Java, you'd kn

Isapi redirector

2000-12-11 Thread Dave Finch
Hi, I am using the isapi redirector with IIS4. it is all configured and works fine. the problem is I get a 404 error from IIS on the isapi_redirect.dll when I have more than 3 or 4 concurrent users. if the user hits refresh the jsp/servlet is usually shown fine. is anyone else having this probl

Re: NullPointerException

2000-12-11 Thread Mark Koscak
This sounds to me like your program is attempting to reference an array element that is out of bounds. It would be worth the effort to track the problem down. Mark. - Original Message - From: William Au <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 12, 2000 2:34 AM

Rare problem

2000-12-11 Thread Chris Chen
Title: Rare problem Hi all,  My client is using tomcat3.1 as jsp engine. It looks like that his JSP files are being interpreted into a plain text file(got the jsp source file in broswer), even he gets all the tomcat JSP examples run correctly. Any suggestion is appreciated. Regards,  Chr

Re: Tomcat Unix autostart

2000-12-11 Thread jdunn
Jan, I'm using tomcat & apache on a Linux machine which uses a Unix SysV type init . Here's how I start it at boot time. Created a symlink in /etc/init.d called 'tomcat' that links to the tomcat.sh script wherever you put the tomcat/bin directory. Then in each rcX.d subdirectory (where X is a numb

RE: How do you compile ?

2000-12-11 Thread Adress, David S.
I basically want to know if a servlet is using a function in another package how do you compile that servlet? What tags do I include or how do I reference the package when I compile. Thanks -Original Message- From: Jon Skeet [mailto:[EMAIL PROTECTED]] Sent: Monday, December 11, 2000 3:39

RE: How do you compile ?

2000-12-11 Thread Jon Skeet
> How do I compile this servlet so it should know what & where > that function is? I think you'd be better off learning Java first, *then* going into servlets - trying to learn both at once may well be much trickier than learning one at a time. Jon

RE: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk

2000-12-11 Thread Hernandez, Rey
Hi all, Well, with the help of the comments I figured out the problem. I did not wish to use the auto-generated file because I wanted to change a few things manually. I thought that I had copied enough from the auto-conf to have my manual conf work. The problem was this: I set these t

RE: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk

2000-12-11 Thread guyr
Note that with mod_jk, you have to start Tomcat first, then Apache. If you followed the directions in the howto, you'll see that you include in httpd.conf a file that is not present until Tomcat is running. -Original Message- From: Hernandez, Rey [mailto:[EMAIL PROTECTED]] Sent: Monday,

Tomcat Build Problem on Solaris

2000-12-11 Thread Stephen F. Kispersky
Dear Tomcatters, I tried to update my Apache/JServ installation to Tomcat, and had some problems. Could you please comment?? Thanks, Steve Kispersky Environment: - Solaris 7, SPARC Ultra 5 - Tomcat 3.2 source - Apache 1.3.12 Problems: - In the README, "servletapi" is referenced

RE: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk

2000-12-11 Thread Hernandez, Rey
When I start Apache from the command line it tells me Failed to start the service. I've specifically set the Tomcat standalone to run on port 83 so it won't interfere with the Apache services running on Port 81 and 80 (It is a development machine, I have a few apache instances running). Plus, wh

Re: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk

2000-12-11 Thread mf12
When you start apache from the command line what does it tell you? I am guessing you have Tomcat in standalone pointing to the same port as apache wants to use. Check your tomcat.conf. Quoting "Hernandez, Rey" <[EMAIL PROTECTED]>: > Hi all, > > I know this has probably been addressed befo

Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk

2000-12-11 Thread Hernandez, Rey
Hi all, I know this has probably been addressed before, but I can't find documentation on this anywhere, I checked the list archive, I've looked in the documentation, I've checked the readmes and I've looked at the mod_jk documentation very closely. I can get Tomcat up and running just fine

How do you compile ?

2000-12-11 Thread Adress, David S.
I have a util.java that has a function get_html_header to return " etc..." I would like to call that function from inside another servlet... Other Servlet: Package util; util.get_html_header() How do I compile this servlet so it should know what & where that function is?

Re: Version 3.1 works and 3.2 doesn't

2000-12-11 Thread Craig R. McClanahan
Christian Sell wrote: > This may or may not concern your problem: One change that I have noticed and > that had me wondering for an hour or two was the fact that 3.2 treats paths > and filenames case-sensitive under Windows OSs. With me, a taglib wasn't found > because my META-INF directory was i

Re: Servlet and pathinfo with jsp in Tomcat 3.2

2000-12-11 Thread Craig R. McClanahan
"Lipner, Tomas" wrote: > The below code runs servlet "myservlet" with pathinfo "pages/welcome.jsp". > NORESIZE> > > It functions correctly with Tomcat 3.1, but Tomcat 3.2 returns error message > "The page cannot be found". > Tomcat 3.2 doesn't interpret it as 'myservlet' with path info > 'pages/

Re: 3.X and 4.X Information

2000-12-11 Thread Sean Kroah
I've not seen any design docs on the site anywhere, so I just downloaded www.togetherj.com, the free whiteboard edition and imported the tomcat source. This gave me some useful UML diagrams.  Good luck.   Sean Kroah   Sean wrote: Developers or other users ... I was wondering if anyone knew of a

RE: documentation for jk_nt_service.exe

2000-12-11 Thread Susmitha Vuyyuru
Hi Betty,   Link to jk_nt_service.exe documentation:   http://jakarta.apache.org/cvsweb/index.cgi/jakarta-tomcat/src/doc/NT-Service-howto.html and select the hyperlink Revision 1.2/ (as text)     --   

problem running tomcat with apache

2000-12-11 Thread Luis Luévano
Hi:       I have an issue running tomcat with apache. Tomcat itself works fine, but when I use it with apache only the servlets don´t work. The following error occur:   Error: 500 Location: /examples/servlet/HelloWorldExampleInternal Servlet Error:java.lang.NullPointerException at java.util

RE: Multipart and mod_jk

2000-12-11 Thread Stubenrauch,Andreas
This a known bug it seems fixed in the 3.3 branch and will hopefully be integrated into a 3.2.x maintainace release. > -Original Message- > From: AC [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 11, 2000 5:49 PM > To: [EMAIL PROTECTED] > Subject: Multipart and mod_jk > > > I've go

Re: Initial Context

2000-12-11 Thread Cyril Bouteille
Christian, > i use Tomcat as a Servlet Engine and want to create a Initial Context...but > what is the Initial Context Factory i have to USE? Tomcat 3.x does not include a JNDI server yet, so you can't use any InitialContext unless you use a third-party naming service such as WebLogic Server

Multipart and mod_jk

2000-12-11 Thread AC
I've got a servlet that use the O'Reilly package to manage multipart request. If I use mod_jserv everything works fine. Once I use mod_jk the same servlet fails!!! Any solutions?? andrea

tomcat startup directory - causing problems

2000-12-11 Thread e e
I have a servlet that works without any problems if i run the Tomcat startup.sh script from the directory where the main class of the servlet is (webapps/etc/WEB-INF/classes) However, if I run the startup.sh script from the tomcat-home directory (/usr/local/tomcat/bin), I get the error below whe

RE: Forward problems servlet to JSP in 3.2

2000-12-11 Thread Russell Freeman
I had this problem too and have resolved it with help from people here. However the solution is not nice. For forwards via the RequestDispatcher you can place a / in front of the resource name and the servlet container correctly works out that the path is relative to the context root ( the name o

Antigen found ? () virus

2000-12-11 Thread Antigen
Antigen for Exchange found Unknown infected with ? () virus. The file is currently Detected. The message, "Apache-Tomcat on SOLARIS...", was sent from Jean-Luc BEAUDET and was discovered in SMTP Messages\Inbound located at peramon/First Administrative Group/BLUENOTE.

Apache-Tomcat on SOLARIS...

2000-12-11 Thread Jean-Luc BEAUDET
Hi every user ! Actually i have a Apache-Tomcat server runnin' well with mod_jk installed. Apache 1.3.14 Tomcat  3.2 final Rel. I am newbie in Java servers as whith Apache... but i completed out my job ! My pb is followin': I set UserDir at www in Apache, and my users have each a directory in /ho

RE: Environment entries?

2000-12-11 Thread Stubenrauch,Andreas
An Enviroment variable is not a java parmeter so you have to set them before you start Tomcat. $TOMCAT_HOME/bin/startup.sh might be a good place. Regards, Andreas > -Original Message- > From: Catherine Jung [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 11, 2000 12:58 PM > To: [EMAIL

Java VJM won't quit - More Info

2000-12-11 Thread Matt White
Mailing List; Okay, I've done some digging around. If I disable the JIT compiler, it works. (Very quickly too, I might add.) I'm not sure why this helps, but it's a workaround I can live with. I'll try upgrading to JDK 1.3 sometime in the future and see if this allows me to run with the JIT

NullPointerException

2000-12-11 Thread William Au
I am getting the following with Tomcat 3.2 but things seem to work. Should I worry? java.lang.NullPointerException at java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Compiled Code) at java.lang.Throwable.(Compiled Code) a

RE: Forward problems servlet to JSP in 3.2

2000-12-11 Thread Kitching Simon
Hmm.. is replying to my own question allowed ? Shortly after writing the item below, I had an idea. There is an HTML 2.0 tag called "BASE", which can go in the head section of a document. According to my HTML manual, it "Sets the base URI for the document", and attribute "href" in this tag

RE: Forward problems servlet to JSP in 3.2

2000-12-11 Thread Lacerda, Wellington (AFIS)
Try "/my.jsp" - if it is at the context root. Wellington -Original Message- From: AC [mailto:[EMAIL PROTECTED]] Sent: 11 December 2000 15:10 To: [EMAIL PROTECTED] Subject:Re: Forward problems

Re: Forward problems servlet to JSP in 3.2

2000-12-11 Thread AC
You should use servlet mapping. If you have http://myhost/myjsp.jsp the servlet that call your jsp should be mapped as http://myhost/myservlet . In this way all the relative links are still good. An additional hint.. if you map your servlet with an extension, for instance myservlet.Svlt and

RE: Forward problems servlet to JSP in 3.2

2000-12-11 Thread Kitching Simon
Hi, I just have a little bit extra to add to Andrea's email: The problem is that when a browser has loaded a page containing relative urls to other files, the *browser* resolves these into absolute references by merging them with the URL that it *thinks* the parent page was loaded from. Because

Forward problems servlet to JSP in 3.2

2000-12-11 Thread Steve Quail
I'm using using forward to pass a request from my servlet to a JSP page i.e.ServletContext.getRequestDispatcher ("my.jsp").forward(req, res). This is fine (the JSP gets displayed no problem) but any relative links in the JSP get messed up with a "/servlet" in the

Re: logs

2000-12-11 Thread AC
At 09.19 11/12/2000 +0100, you wrote: >i have the tomcat only working, without apache (in linux). You should not.. andrea

Re: Servlet Mapping

2000-12-11 Thread AC
I use this configuration... ... JkMount /tf/*.jsp ajp13 JkMount /tf/*.Svlt ajp13 ... where tf is the name of my webapp. I use for each servlet the servlet mapping config in web.xml. I've found a great performance improvement using this configuration!! andrea At 20.51 11/12/2000 +0800, you

RE: Tomcat Unix autostart

2000-12-11 Thread GOMEZ Henri
Hi, You could find here what I used in tomcat init script (Redhat Linux) ... export PATH=$PATH:/opt/IBMJava2-13/bin:/opt/IBMJava2-13/jre/bin export JAVA_HOME=/opt/IBMJava2-13 export TOMCAT_HOME=/var/tomcat ... "Pour la plupart des hommes, se corriger consiste à changer de défauts." -- Voltair

Re: Configuring Tomcat

2000-12-11 Thread Clifford . Okoro
servlet.properties file? Where is this file located? First of all, when yoy type http://localhost:8080, do you get the 'Tomcat' page? Clifford Bryan Burman <[EMAIL PROTECTED]> on 12/08/2000 02:40:43 PM Please respond to [EMAIL PROTECTED]

RE: Tomcat Unix autostart

2000-12-11 Thread AC
This is the script I use for FreeBsd. As you can see I use some external classpath for my web-applications. Also you have to set your java_home and tomcat_home because you don't set it until you logon to the system (for instance in your csh.cshrc file for tcsh shell). That's why, maybe, tomcat

Re: AW: AW: Java VJM won't quit?

2000-12-11 Thread Matt White
Ralph; I am using the server.xml file exactly as how it was in the Tomcat 3.2 distrobution. (I had made some changes, put went back to the default as I discovered the problem.) Is there anything in the default server.xml file I should be aware of? I haven't yet attempted to use a debugger, I w

Servlet Mapping

2000-12-11 Thread Joseph Wong
I want to use Apache + Tomcat to run JSP AND Servlet programs such that http://server-ip/jsp/*.jsp will map to JSP directory AND http://server-ip/servlet/* will map to servlet directory. How to do this??? Joseph __

AW: Tomcat 3.2 stability

2000-12-11 Thread Amrhein, Thomas
Hi Jose, I except with NT Workstation the problem will never be fixed... :-( Perhaps it is in SP 6.a but I don't think so. NT Workstation is no server OS! NT Workstation therefore should never used as heavyly used webserver. Try Linux. It's nice and cheap and works fine. regards, Thomas -

Re: very urgent

2000-12-11 Thread boppana VENKE
Hi , I am not sure about tomact.. But u can connect to oracle driver by writing the classpath of classes111.zip in ur autoexec file.. This classes111.zip is in oracle -- jdbc-lib directory.. so give a trial with this i hope it works for u... regards boppana --- "John Clark L. Naldoza" <[E

Environment entries?

2000-12-11 Thread Catherine Jung
Hi, one of my servlets needs to open a connection to a database, now, if I were accessing this database in a normal java program I'd need to have set an environment variable LD_LIBRARY_PATH to point to it's native librarys. How can I do something similar in a servlet? It doesn't work just with th

RE: Tomcat Unix autostart

2000-12-11 Thread Mario Beekwilder
All, When the startup-script is run at server-boot-time, tomcat starts (errors.log is created & filled normaly) but immediately afterwards tomcat is killed. This we can see at the server's display when booting the machine. When the machine has finished booting and the script is run from the comm

Re: Is it ever possible?

2000-12-11 Thread Tomas Marek
Craig, thanks a lot, easy solution indeed!

Reroute the output of a processed jsp page into a String or StringBuffer object

2000-12-11 Thread NINA.de Internet Service Agentur
Hello, is it possible to reroute the output of a processed jsp page into a String or StringBuffer object in order to send it as an email message with the Java Mail API? We use Tomcat 3.2 final with beans and jsp pages and want to use the parse mechanism of jsp pages of Tomcat to generate user de

RE: context-param: illegal char

2000-12-11 Thread G.Nagarajan
>>  jdbc:mysql://localhost/test?user=test&password=test I think the & character is causing the problem, try replacing it with &   Regards Nagaraj. -Original Message-From: Sam Terburg [mailto:[EMAIL PROTECTED]]Sent: Monday, December 11, 2000 11:50 AMTo: [EMAIL PROTECTED]S

Re: context-param: illegal char

2000-12-11 Thread Sam Terburg
Thanx, it workes. Sam. - Original Message - From: "Jon Skeet" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 11, 2000 11:50 AM Subject: Re: context-param: illegal char > > apparently & is an illegal character. > > but how do i solve this problem? > > i've thought

RE: context-param: illegal char

2000-12-11 Thread Nacho
Sorroundthe data, with a CDATA tag your web.xml excerpert will look like: context-param param-namedatabase_dsn/param-name param-value![CDATA[jdbc:mysql://localhost/test?user=testpassword=test]]/ param-value /context-param Saludos , Ignacio J. Ortega -Mensaje original- De: Sam Terb

Include File Problem with Tomcat 3.1

2000-12-11 Thread Bhavesh Vakil
Hello, I have one jsp page say index.jsp. I use Apache 1.3.12 and Tomcat 3.1 version on win98. code for index.jsp is below. Include Problem some html + jsp code <%@ include file="include/myinclude.jsp" %> some html + jsp code <%@ include file="include/myinclude.jsp" %> some html + js

Re: context-param: illegal char

2000-12-11 Thread Jon Skeet
> apparently & is an illegal character. > but how do i solve this problem? > i've thought of url_encoding this, but that's an ugly sollution. > anybody got a better idea? No, you need to *xml* encode it - use & instead of &. Jon

Re: Session snooper

2000-12-11 Thread Kief Morris
Craig R. McClanahan typed the following on 11:40 08/12/2000 -0800 >> I'm need to create a simple tool for Tomcat so that I can see how many users >> have active sessions for the available Contexts. e.g. how many sessions are >> active for /admin with details for each. ... >Under a servlet 2.3 env

context-param: illegal char

2000-12-11 Thread Sam Terburg
with this code in web.xml:         database_dsn  jdbc:mysql://localhost/test?user=test&password=test        i get this error:   Starting tomcat. Check logs/tomcat.log for error messages ERROR reading /home/jsp/forum/WEB-INF/web.xmlAt Next character must be ";" terminating referenc

Re: very urgent

2000-12-11 Thread Sam Terburg
The designated location for things like odbc_drivers is /WEB-INF/lib so unjar your oracle driver to that path. - Original Message - From: "John Clark L. Naldoza" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 11, 2000 11:35 AM Subject: Re: very urgent > Sonal Agarw

Re: very urgent

2000-12-11 Thread John Clark L. Naldoza
Sonal Agarwal wrote: > > I am using tomcat for running servlets using jdk1.2. > I am trying to connect to orcale using the driver : > oracle.jdbc.driver.OracleDriver > But it is giving me an error that driver not found. > How can i solve the problem? Please help me. > Thanks > Sonal Agarwal. Thi

Re: very urgent

2000-12-11 Thread Bhavesh Vakil
Hi Put your oracle driver file your classpath variable. (normally this driver file is classes111.zip or classes12.zip) Normally this file found on ORACLE_HOME/jdbc/lib directory. In WinNT or 98 System. set CLASSPATH = %CLASSPATH%;c:\Oracle\Ora81\jdbc\lib\classes12.zip;c:\Oracle\Ora81\jdbc\nls_

Re: AW: Problem starting tomcat again//FATAL:java.net.BindException: Address already in use

2000-12-11 Thread Mohammed Akacem
hello, Thanks for your help, tomcat was still running, I killed the process and started again , now it's OK. Mohammed Ralph Einfeldt schrieb: > Tomcat didn't shut down properly the last time. > > It looks like your starting tomcat from a different account than last > time: > > /usr/local/jakart

MissingResourceException in examples - 3.2 & en_GB locale

2000-12-11 Thread Steve Quail
I'm a Tomcat user in the UK, I'm just upgrading to 3.2. When I run the servlet examples (e.g. Hello) they all crash with error 500 "java.util.MissingResourceException: can't find resource for LocalStrings_en_GB". I've unzipped the war file and created a LocalStrin

AW: Problem starting tomcat again//FATAL:java.net.BindException: Address already in use

2000-12-11 Thread Ralph Einfeldt
Tomcat didn't shut down properly the last time. It looks like your starting tomcat from a different account than last time: /usr/local/jakarta-tomcat/conf/tomcat-apache.conf (Permission denied) Verify with ls -l /usr/local/jakarta-tomcat/conf/tomcat-apache.conf id Make shur

RE: Problem starting tomcat again//FATAL:java.net.BindException: Address already in use

2000-12-11 Thread Stubenrauch,Andreas
There are two issues here: First: check the permissions of your installation. Especially the $TOMCAT_HOME/work and $TOMCAT_HOME/conf directory has to be writeable by the user tomcat is running as (you?) Second: Another App is running on Port 8080 propably tomcat is already started. Regards, Andre

Re: Version 3.1 works and 3.2 doesn't

2000-12-11 Thread Christian Sell
This may or may not concern your problem:   One change that I have noticed and that had me wondering for an hour or two was the fact that 3.2 treats paths and filenames case-sensitive under Windows OSs. With me, a taglib wasn't found because my META-INF directory was in fact named "Meta-inf"

very urgent

2000-12-11 Thread Sonal Agarwal
I am using tomcat for running servlets using jdk1.2. I am trying to connect to orcale using the driver : oracle.jdbc.driver.OracleDriver But it is giving me an error that driver not found. How can i solve the problem? Please help me. Thanks Sonal Agarwal.

tomcat and mod_rewrite

2000-12-11 Thread Peter . Fuhrmann
Hi all, is there already any workaround or solution to the problem described in bugreport #64 "URLs changed by mod_rewrite are not taken into account by AjpConnectionHandler"? I'm currently using tomcat 3.2: the problem is still there... Thanks Peter

Problem starting tomcat again//FATAL:java.net.BindException: Address already in use

2000-12-11 Thread Mohammed Akacem
Hello, bear with me please if my mail is a bit too long. I am using apache + tomcat (Linux) for few days and until now every thing worked Ok. yesterday I stopped tomcat(./shutdown.sh)and started tomcat again(./startup.sh). I got the following error Message (FATAL:java.net.BindException: Address

test do not read

2000-12-11 Thread Mohammed Akacem
Hello

  1   2   >