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

2001-07-17 Thread psalazar

Greetings,

I have a servlet that when a request arrives, it makes a profile using 
the header "User-Agent" (which contains the type of the client). But, 
this process was taking too long and I thought it was my 
ProfileFinder.getProfile() method! But, when I made some logs (I put it 
below with the source), I saw that the time is "wasted" in the process 
of retrieving of session object from request!!!

How can it be?? 20 seconds to get (create) a session object?? The first 
time I create a session object it takes 20 seconds!!

I really, really appreciate any help on this

My system:
-linux redhat 6.2 (kernel 2.2.18)
-tomcat3.2.1
-jdk1.3.0
-PII400 with 256MB

thanks,
Pedro Salazar (my stuff is below)

---SOURCE

long t0=System.currentTimeMillis();

HttpSession sesssion=req.getSession(true);

long t1=System.currentTimeMillis();
getServletContext()log("time:"+(t1-t0) );

Profile p=(Profile)session.getAttribute("profile");

long t2=System.currentTimeMillis();
getServletContext().log("time:"+(t2-t1) );

if(p==null){
 String value = req.getHeader("User-Agent");

 long t3=System.currentTimeMillis();
 getServletContext().log("time:"+(t3-t2) );

 p=new Profile(ProfileFinder.getProfile(value));

 long t4=System.currentTimeMillis();
 getServletContext().log("time:"+(t4-t3) );

 session.setAttribute("profile",p);
}

-OUTPUT---
2001-07-17 09:29:49 - path="/sad" :servletInicio: time:21338
2001-07-17 09:29:49 - path="/sad" :servletInicio: time:1
2001-07-17 09:29:49 - path="/sad" :servletInicio: time:1
2001-07-17 09:29:49 - path="/sad" :servletInicio: time:146
---






Re: downloading adnd building JServ?

2001-07-17 Thread Dmitri Colebatch

On Wed, 18 Jul 2001, Dennis King wrote:
> A Newbie Trying to Help
good to see (o:  

> >  include 
what config file is it that you're including?  I assume its
tomcat-apache.conf?  Have a look at $TOMCAT_HOME/doc/mod_jk-howto.html for
help on configuring tomcat with apache.

cheers
dim


> > ==
> > 
> > 
> > I understand that I need to get JServ now.
> > However, I couldn't find anything under 
> > /path to Tomcat/src/native/apache/jserv
> > 
> > in fact, there is no "native/apache/jserv" under "src"
> > 
> > Where can I get JServ?
> > 
> > 
> > __
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> 
> 
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 




no mail on the list???

2001-07-17 Thread Sumit Ranjan

hi !
 i am not getting any mail on the list for the past few days.
 any problem there?

 
Sumit Ranjan





Re: downloading adnd building JServ?

2001-07-17 Thread Dennis King

Have you tried java.apache.org? I got it there years ago, it's
shutting down but the wrapper for Tomcat may still be there.

A Newbie Trying to Help

--- Lok Yek Soon <[EMAIL PROTECTED]> wrote:
> I have Apache and Tomcat 3.2.1 on RedHat.
> 
> I have added this line to the Apache's httpd.conf
> ==
>  include 
> ==
> 
> 
> I understand that I need to get JServ now.
> However, I couldn't find anything under 
> /path to Tomcat/src/native/apache/jserv
> 
> in fact, there is no "native/apache/jserv" under "src"
> 
> Where can I get JServ?
> 
> 
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



downloading adnd building JServ?

2001-07-17 Thread Lok Yek Soon

I have Apache and Tomcat 3.2.1 on RedHat.

I have added this line to the Apache's httpd.conf
==
 include 
==


I understand that I need to get JServ now.
However, I couldn't find anything under 
/path to Tomcat/src/native/apache/jserv

in fact, there is no "native/apache/jserv" under "src"

Where can I get JServ?


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: How to change the IP address

2001-07-17 Thread Jeff Kilbride

Whoops, forgot the closing "/>" for the "inet" param. Should be:



Thanks,
--jeff

- Original Message -
From: "Jeff Kilbride" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 17, 2001 11:33 PM
Subject: Re: How to change the IP address


> The PoolTCPConnector class has a parameter called "inet" that's not really
> documented. I used this parameter to make my ajp12 and ajp13 connectors
> listen only on the localhost interface -- by default, they listen on all
> interfaces, even external, which is bad.
>
> I don't know if it will work, but you could try including the "inet" param
> in the definition of the Normal HTTP connector inside your server.xml
file.
> Maybe like this:
>
> ---
> 
> 
>  value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
>  value="127.0.0.1"
>  value="8080"/>
> 
> ---
>
> Just replace "127.0.0.1" with the IPAddress you want to use.
>
> Thanks,
> --jeff
>
> - Original Message -
> From: "Neelu Shah" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 16, 2001 3:51 PM
> Subject: How to change the IP address
>
>
> > Hi All,
> >
> > could someone tell me how to change the default IP address for tomcat
(no
> > apache used)
> > from localhost to another IP address.
> >
> > im running tomcat on Windows NT.
> >
> > thanks
> > N
> >
>




Re: How to change the IP address

2001-07-17 Thread Jeff Kilbride

The PoolTCPConnector class has a parameter called "inet" that's not really
documented. I used this parameter to make my ajp12 and ajp13 connectors
listen only on the localhost interface -- by default, they listen on all
interfaces, even external, which is bad.

I don't know if it will work, but you could try including the "inet" param
in the definition of the Normal HTTP connector inside your server.xml file.
Maybe like this:

---





---

Just replace "127.0.0.1" with the IPAddress you want to use.

Thanks,
--jeff

- Original Message -
From: "Neelu Shah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 3:51 PM
Subject: How to change the IP address


> Hi All,
>
> could someone tell me how to change the default IP address for tomcat (no
> apache used)
> from localhost to another IP address.
>
> im running tomcat on Windows NT.
>
> thanks
> N
>




Re: tomcat and oracle 8.1.6 for linux

2001-07-17 Thread Kelly Mismash

No. You can use a newer version of the JDK with Tomcat. In production we 
are using Oracle 8.1.7, which I think is the same when it comes to the 
JDK, but in development we had been using Oracle 8.1.6. Our environment 
sounds exactly the same as you have described. From the very beginning 
we have been using JDK 1.3 without any problems.

kelly


Jerry Qu wrote:

> Hi All,
> 
>  
> 
> we have tomcat 3.2.1 and oracle 8.1.6 installed on a linux machine. 
> 
>  
> 
> from  the book : "Also note that 
> although other releases of 8.1.6 on other platforms support JDK 1.2 
> for JDBC application development, the 8.1.6.1.0 release of Orcale8i 
> for Linux does not ship with the classes necessary to support JDK 1.2 
> development"(p157)
> 
>  
> 
> we tried to use the jdbc classes from the oracle8i CD. it can only 
> work with JDK1.1.6 but not higher versions.
> 
>  
> 
> because the Jdbc classes are necessary and only from oracle8i CD ( ? I 
> can not find from oracle website).
> 
>  
> 
> Does it mean we Can Only use JDK1.1.6 as the Java engine of Tomcat 3.2.1?
> 
> Any alternative way such that higher Java Version could be used for 
> Tomcat with Oracle 8.1.6, like new oracle jdbc driver availabe or 
> specical setting that put higher java engine and the old Oracle Jdbc 
> driver together?
> 
>  
> 
> TIA
> 
>  
> 
>  
> 
> Jerry Qu
> 
>  
> 




tomcat and oracle 8.1.6 for linux

2001-07-17 Thread Jerry Qu



Hi All,
 
we have tomcat 3.2.1 and oracle 8.1.6 installed on 
a linux machine. 
 
from  the book : "Also note that although other releases of 8.1.6 on 
other platforms support JDK 1.2 for JDBC application development, the 8.1.6.1.0 
release of Orcale8i for Linux does not ship with the classes necessary to 
support JDK 1.2 development"(p157)
 
we tried to use the jdbc classes from the oracle8i 
CD. it can only work with JDK1.1.6 but not higher versions. 
 
because the Jdbc classes are necessary and only 
from oracle8i CD ( ? I can not find from oracle website). 
 
Does it mean we Can Only use JDK1.1.6 as the Java 
engine of Tomcat 3.2.1?
Any alternative way such that higher Java Version 
could be used for Tomcat with Oracle 8.1.6, like new oracle jdbc driver availabe 
or specical setting that put higher java engine and the old Oracle Jdbc driver 
together?
 
TIA
 
 
Jerry Qu
 


help me

2001-07-17 Thread zw



Hello,
 
I want to download a installation package for tomcat on AIX OS 
,May you help me?


Re: Please Help

2001-07-17 Thread Law Kim Soon

Ben,
I managed to solved the problem. There is a typing error in the path
section.
Anyway, tq Ben.I really appreciate your help.
- Original Message -
From: Ben Kimball <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 5:41 AM
Subject: Re: Please Help


> Not totally sure - I do all my Java development on Linux, much less
hassle,
> but you might try the following:
>
> Since it is complaining about setting it dynamically, maybe you can set it
in
> the environmental properties (which will probably require a reboot) -
right
> click on My Computer, select Properties, then select Environment (or
> something like that, I'm doing this from memory, as I'm running under
Linux
> right now) and one of the things that shows under that should be the PATH
> variable - you should be able to set that with the long (Non-DOS 8.3)
> pathnames. Try plugging the info in there, rebooting, then seeing if the
info
> stays in the CLASSPATH.
>
> On Monday 16 July 2001 01:54, you wrote:
> > Hie Ben,
> > I have make the changes but I'm facing a new error message.
> >
> > Unable to ser CLASSPATH dynamically.
> > Note: To set the CLASSPATH dynamically on win9x systems only DOS 8.3
> >  names may be used in TOMCAT_HOME!
> > Setting your CLASSPATH statically.
> >
> > Using CLASSPATH:
> >
C:\jakarta-tomcat-3.2.1\classes;C:\jakarta-tomcat-3.2.1\lib\ant.jar;C:\jaka
> >r
> >
ta-tomcat-3.2.1\lib\jasper.jar;C:\jakarta-tomcat-3.2.1\lib\jaxp.jar;C:\jaka
> >r
> >
ta-tomcat-3.2.1\lib\parser;C:\jakarta-tomcat-3.2.1\lib\servlet.jar;C:\jakar
> >t a-tomcat-3.2.1\lib\webserver.jar
> >
> > Starting Tomcat in new window
> > Cannot find file C:\jdk_1.3.1\bin\java (or one of its components).
> > Check to ensure the path and filename are correct and that all required
> > libraries are available.
> > Any idea to solve this, Ben?
> >
> >
> >
> > - Original Message -
> > From: Ben Kimball <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, July 16, 2001 2:20 AM
> > Subject: Re: Please Help
> >
> > > It looks like you have spaces between:
> > >
> > > "C: \ jdk1.3.1" should be "C:\jdk1.3.1"
> > > "C: \ jakarta-tomcat-3.2.1" should be "C:\jakarta-tomcat-3.2.1"
> > >
> > > You also need to make sure that c:\jdk1.3.1\bin is in your PATH,
> > > otherwise java.exe/javac.exe will not be found.
> > >
> > > On Sunday 15 July 2001 10:55, you wrote:
> > > > Actually,I'm a new user to Tomcat and currently having a problem
> >
> > starting
> >
> > > > up the Tomcat. I have installed Tomcat 3.2.1 and jdk 1.3.1 on my PC
> > > > running win98. I have set all the paths required  but I kept on
> >
> > receiving
> >
> > > > error message saying "Bad command or file name". These are the
things I
> > > > have set:
> > > >
> > > > set JAVA_HOME=C: \ jdk1.3.1
> > > > set TOMCAT_HOME=C: \ jakarta-tomcat-3.2.1
> > > >
> > > > Can anyone please help me to solve this problem?
> > > > TQ
> > >
> > > 
> > > Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
> > > Content-Transfer-Encoding: 7BIT
> > > Content-Description:
> > > 
>




RE: Bug in Tomcat ? - forwarding HTTP request from a Servlet to a JSP

2001-07-17 Thread Greg Trasuk

Hello:

From what I can tell:

(1) In your PronServlet.java service() method, you are manually parsing the
form data using the stream returned by request.getInputStream()
(2) In the JSP page, Tomcat is attempting to parse the form data again.

The servlet API docs specify that you can only call getInputStream() once
on a request, and that doing so may cause problems reading parameters, so I
suspect that's the source of your problem.  I'm not entirely sure why the
generated JSP servlet is trying to read the parameters. Perhaps you're using
the parameters in the JSP page, or perhaps the JSP engine just reads it by
default, which would seem reasonable to me.

The simple workaround would be not to parse the form data in your
PronServlet, but to just use request.getParameter() and let Tomcat handle
it.  That's the way I've done it in the past, and haven't had problems.

Greg Trasuk, President
StratusCom Manufacturing Systems Inc. - We use information technology to
solve business problems on your plant floor.
http://stratuscom.ca

-Original Message-
From: Sampige, Srinivas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 5:59 PM
To: [EMAIL PROTECTED]
Subject: Bug in Tomcat ? - forwarding HTTP request from a Servlet to a
JSP


Hi
 Iam using tomcat 3.2.1 and i have a servlet "PronServlet" that extends from
HttpServlet . Now i have a servlet "LogonServlet" that extends from servlet
"PronServlet" (which has got common functionality like checking for a valid
session ;has common methods that perform functionality like forwarding HTTP
request to another url). In "LogonServlet" i have some code that does some
processing and finally forwards the HTTP request to a JSP .Iam getting an
error which iam pasting below.I ran the same application on JRun and it
works fine .I noticed that if i removed the subclassing and instead
subclassed LogonServlet directly from HttpServlet then the application works
fine by forwarding the request to the next JSP .Here is the console output
.Iam attaching the source code of
 PronServlet and LogonServlet .Anybody from the Tomcat dev team any
ideas. ?


--
Creating a session for the user...
Forwarding request to the MENU page...
2001-07-17 02:17:22 - Ctx( /pron ): Exception in: R( /pron +
/webUi/pronMenu.jsp + null) - java.lang.
IllegalArgumentException: Short Read
at javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java:238)
at
org.apache.tomcat.util.RequestUtil.readFormData(RequestUtil.java:101)
at
org.apache.tomcat.core.RequestImpl.handleParameters(RequestImpl.java:691)
at
org.apache.tomcat.core.RequestImpl.getParameterValues(RequestImpl.java:259)
at
org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java:250)
at
org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(HttpServletRe
questFacade.ja
va:222)
at
org.apache.jasper.servlet.JspServlet.preCompile(JspServlet.java:326)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:370)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl
.java:194)
at
com.boeing.pron.servlets.LogonServlet.handleApplicationEvent(LogonServlet.ja
va:61)
at com.boeing.pron.servlets.PronServlet.service(PronServlet.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandl
er.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

--

 <>  <>




Re: JSP Setup.

2001-07-17 Thread Ravishankar.S

nope tim,
  u dont need any jar files just make sure that u place the jsp's in the
right place.u can place them in \webapps\ROOT or \webapps\examples\jsp or create ur own context and place them in
\webapps\\jsp and make sure java_home is set to
C:\jdk1.3(assuming that is where u have it!!) in startup.bat

Ravishankar.S
IonIdea Enterprise Solutions,
#38-40,EPIP,Whitefield,
Bangalore-560054,
PH: 91-80-8411366-71  ext: 1042
E-Mail: [EMAIL PROTECTED]
URL : www.ionideasolutions.com
- Original Message -
From: "Tim Ashman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 10:29 AM
Subject: JSP Setup.


> I'm new to Tomcat and have Tomcat and apache playing together.  I've
> been able to create servlets, and have them successfully run.  I am now
> trying to learn JSP but when I put the *.jsp files onto the server I
> can't get them to run.  I receive 404 errors.  I've looked though the
> online help, etc and most of it seems a little confusing.
>
> Am I just placing the .jsp's in the wrong place?  Do I need some .jar
> files that don't come with the standard java/tomcat installs?
>
> Thanks.




Re: How to prevent Apache on RH7 from auto startup?

2001-07-17 Thread Dmitri Colebatch

On Tue, 17 Jul 2001, Lok Yek Soon wrote:
> How can I make sure that Apache do not auto startup
> when
> Linux is booted up/rebooted?
man chkconfig

basically redhat starts things depedning on the whats in the
/etc/rc.d/init.d/rc.X directories - X being the runlevel.

> 2. How can I make Tomcat 3.2.1 listen to port 80 and
> auto startup if the server is rebooted?
have a read of the apache-tomcat howto, I think that's probably where you
want to go.

cheers
dim




Re: Apache-tomcat context mapping

2001-07-17 Thread Dmitri Colebatch

mod_rewrite?  I think the problem is that the request will get to tomcat,
and tomcat will not have /example1 mapped...

cheers
dim

On Tue, 17 Jul 2001, Guntupalli Shanti wrote:

> Hi,
> 
> Here is my problem.
> 
> In apache's config file I should be able to map 2 different URI's to one 
> context in my Tomcat.
> something like
> 
> APJServMount  /examples/servlet   apjv12://dev:8080/examples
> APJServMount  /examples1/servlet  apjv12://dev:8080/examples
> 
> so that any requests coming in with examples/servlet or /examples1/servlet 
> should go to the same context examples
> 
> I can have another context examples1 in my Tomcat whose docbase is also 
> same as examples. But If I do that the
> servlets are getting initialized twice (which doesn't work for me)
> 
> Any idea, how to do it?
> 
> I am running Apache 1.3.14 (with mod_jserv) talking to tomcat 3.2 on Sun 
> solaris.
> 
> Thanks...Shanti
> 
> 




RE: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Dmitri Colebatch

>From memory this has come up before, and it is in the servlet 2.2 spec
that the servlet container will load "all jars" in the lib dirs - hence
excluding zips.  I'm not sure how this affects the system classpath
though...

cheers
dim

On Tue, 17 Jul 2001, Sampige, Srinivas wrote:

> What i told you definitely works at least for the .jar files;from what you say it 
>looks like Tomcat isn't picking up .zip files (i personally haven't tried it with 
>.zip files).I would leave this question to be anwered by one of the Tomcat Dev Team 
>members .But for now what i would try is -
> 
>  - edit the tomcat.bat found in the bin folder of the tomcat installation .Here is 
>what the first  few lines look like(what is in red is what you need to add) :-
> 
> --->
> rem - Save Environment Variables That May Change 
> 
> set _CP=%CP%
> set _TOMCAT_HOME=%TOMCAT_HOME%
> set _CLASSPATH=%CLASSPATH%
> 
> --->
> 
> Modify the last line as -
> set _CLASSPATH=%CLASSPATH%;D:\oracle\ora81\jdbc\lib\classes12.zip
> 
> 
>  Let me know if this helps.
> 
> -Srinivas
> 
> -Original Message-
> From: John Hebert [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 3:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Oracle JDBC in CLASSPATH for Tomcat 4.0
> 
> 
> Scott Brinker wrote:
> 
> > Alas, it's still not finding it. I now have the classes12.zip in the
> > following locations:
> >
> >   /jakarta-tomcat-4.0-b5/lib
> >   /jakarta-tomcat-4.0-b5/common/lib
> >   /jakarta-tomcat-4.0-b5/webapps/test/WEB-INF/lib
> >
> > ...(the latter being my web app), in addition to the CLASSPATH environment
> > variable. Any other thoughts?
> >
> 
> 
> Can you confirm it is a valid archive ("jar -t classes12.zip")?
> 
> --
> John Alex Hebert
> [EMAIL PROTECTED]
> System Engineer
> 




JSP Setup.

2001-07-17 Thread Tim Ashman

I'm new to Tomcat and have Tomcat and apache playing together.  I've 
been able to create servlets, and have them successfully run.  I am now 
trying to learn JSP but when I put the *.jsp files onto the server I 
can't get them to run.  I receive 404 errors.  I've looked though the 
online help, etc and most of it seems a little confusing.

Am I just placing the .jsp's in the wrong place?  Do I need some .jar 
files that don't come with the standard java/tomcat installs?

Thanks.




How to prevent Apache on RH7 from auto startup?

2001-07-17 Thread Lok Yek Soon

I'm using Redhat 7 and it has Apache preinstalled.

1. I noticed the Apached that comes RedHat have its
files
in /usr/sbin and /etc/www?

How can I make sure that Apache do not auto startup
when
Linux is booted up/rebooted?


2. How can I make Tomcat 3.2.1 listen to port 80 and
auto startup if the server is rebooted?

Tomcat is currently installed in
/usr/local/jakarta-tomcat-3.2.1


thanks
YekSoon

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: tomcat shutdown

2001-07-17 Thread BillWorker 2i Development Team

I believe you require to keep the ajp12 on port 8007 even if you use
ajp13 on port 8009 for shutdowns.



-- 
BillWorker 2i Development Team,
Infocom Solutions Pvt. Ltd.



Re: processes don't die

2001-07-17 Thread Jeff Hoare

Hi,
Actually I just wasn't patient enough. The processes eventually did die but 
something like 5-6 minutes after the shut down command completed :-(. It 
seems that 6-7 processes die straight away and the rest die over the 5-6min 
period.

Thanks for your help :-)

Jeff

On Wednesday 18 July 2001 05:07, you wrote:
> DO you have any servlets or application beans that have threads listening
> on any ports of updating data or something like that?
>
> rick
>
> > From: Jeff Hoare <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > Date: Wed, 18 Jul 2001 18:14:33 +1000
> > To: [EMAIL PROTECTED]
> > Subject: processes don't die
> >
> > Hi,
> > When I use the shutdown script for Tomcat (version 4) it does not stop
> > all the java processes. There are 28 java processes normally, however,
> > after executing shutdown 23 are still left. If I restart Tomcat they all
> > seem to die and then eventually come back (u know the expected 28).
> > The processes left after the shutdown are all owned by the same parent so
> > terminating them is easy, but does anyone have an idea what is going on.
> > I'm using the IBM's jdk1.3 on linux (which uses native threads).
> >
> > Jeff



Apache-tomcat context mapping

2001-07-17 Thread Guntupalli Shanti

Hi,

Here is my problem.

In apache's config file I should be able to map 2 different URI's to one 
context in my Tomcat.
something like

APJServMount/examples/servlet   apjv12://dev:8080/examples
APJServMount/examples1/servlet  apjv12://dev:8080/examples

so that any requests coming in with examples/servlet or /examples1/servlet 
should go to the same context examples

I can have another context examples1 in my Tomcat whose docbase is also 
same as examples. But If I do that the
servlets are getting initialized twice (which doesn't work for me)

Any idea, how to do it?

I am running Apache 1.3.14 (with mod_jserv) talking to tomcat 3.2 on Sun 
solaris.

Thanks...Shanti




More Information, was Problems running as an NT Service

2001-07-17 Thread Raber Chris

Here are some additional facts that may help diagnose
the problem.

- I have made sure that the user my service is running
as has access to the directories and files I need to
read.

- My servlet is running in the ROOT context in the
webapps directory. Not for any good reason except I
have been too lazy to create my own context. Need to
learn how to do that...

- The files I am trying to read are in a different
directory than the ROOT context I am running in.

- As I understand it, TomCat grants a servlet file
permissions in the directories under the context it is
running in. Note however I don't have any problems
accessing these files when running TomCat from the
command line. Are different policies enforced when
runnning as service vs. running from command line?

- Finally, is it possible to allow my servlet in the
ROOT context access to files/directories located
elsewhere?

Either way I need to figure out these context beasties
but this exercise is helping me learn some things.

TIA,

-Chris.

Previous post:

I have a servlet that works fine when running TomCat
from a command line.

When I attempt to run the servlet as a service, my
servlet can not open files for read access that it
could open when running under TomCat from the command
line...

I have read the archives for similar issues, and have
tried to set up my service Run As user to have access
to the files. I must be missing something or am
completely brain dead.

Any suggestions are welcome!

Thanks,

-Chris.



__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: increasing java heap

2001-07-17 Thread [EMAIL PROTECTED]

Hi Dwaipayan,

not sure if this would work, but you may try to change the memory options
under MS-DOS command properties -> memory tab.

I had problems running tomcat in windows 98, until I changed the memory to
maximum available.

Goodluck, Andrew

- Original Message -
From: Dwaipayan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 6:20 AM
Subject: increasing java heap


> my jvm seems to be out of memory as it shows page faults when accessing
databases(oracle personal on win98) ithru tomcat.how can i increase the heap
memory?
> kindly suggest.
>
>
> ddr
>
> 
> Buy Feng Shui Package for Rs. 151/- only, at
http://shopping.rediff.com/shopping/fengshui_mailer.htm
>
>




AdaptiveClassLoader, getResources, jndi.properties (Tomcat bug?)

2001-07-17 Thread David Haraburda

Hi,

I am having problems with jndi.properties being read from my
WEB-INF/classes directory.  I have seen this problem referenced once on
the tomcat-dev mailing list -- someone submitted a patch, but apparently
it did not get committed.  (I couldn't find a reason why, so I am not
sure if that was the real solution to the problem or not).  The original
message is here:
http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg06588.html

I have verified that the same behaivor he refers to is going on with my
application -- InitialContext is using getResources(), which doesn't
return anything becuase AdaptiveClassLoader doesn't implement
findResource or findResources.

Has anyone else having this problem found a solution/work-around?  Is
there a Tomcat guru/developer out there who can explain why
AdaptiveClassLoader doesn't implement findResources()?

Thanks,

David
-- 
David Haraburda - [EMAIL PROTECTED]
Everest - Helping You Manage Outsourcing
972-980-0013 x736



Re: How to configure web.xml to setup init parameters for JSP

2001-07-17 Thread Simon Chan


Hi,
However, I do not know how to configure web.xml to put init params for
JSP.  May I have a example? Many thx
skc
Zsolt Horvath wrote:
...
<%! String variable = "";%>
<% variable = getServletContext().getInitParameter("variable");%>
The value is: <%=variable%>
...
- Original Message -
From: "Simon Chan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 17, 2001 12:24 PM
Subject: How to pass init parameter to a JSP
> Hi,
>
> How to pass initial parameters to a JSP?  I know how to pass
initial
> parameters to a servlet via web.xml file (). However,
I
> don't know where to put for JSP.  This is my JSP file
>
> ...
> <%
> String c = config.getInitParameter("cfg");
> ...
>
>
> Thanks in advance
>
>
> skc
>
>
>

-- 
Simon Chan, Senior System Analyst, Rawmart.com, Inc.
17/F MassMutual Tower, 38 Gloucester Rd, Hong Kong SAR, China
Tel: +852 2861-4564. Fax: +852 2865-3865. Email: [EMAIL PROTECTED]

http://www.rawmart.com , the next dimension in the trading of
raw materials, please register now.

An initiative of the Noble Group.  Please visit us at
http://www.thisisnoble.com
 


JDBC and MySQL in Linux and MacOSX

2001-07-17 Thread Teiji Sawa

Could you help me about JDBC for MySQL!

I instilled Tomcat4.0 and Cocoon2 in my Mac OS-X. It worked without trouble!
Next, I tried MySQL connection with JDBC driver (mm.mysql-2.0.4-bin-jar) and
it worked without trouble again in Mac OS X in which I installed MySQL with
PHP, too (Not surprising? But very exciting for me at least)!

Then I tried the same things in my Red-Hat linux (6.1) in which I was using
MySQL with PHP for our web-site without trouble.
However, this time, JDBC for MySQL never work in linux.

I was using the following Java program for checking connectivity to MySQL,
and it worked in Mac OS X, but not Linux, and I always get the following
message in Linux.  I think MySQL setting is OK, because PHP script is
successfully retrieving data from MySQL in the same access privilege.


It may be unusual, but for me, so far, Mac OS-X is much easier for me to run
"Tomcat, Cocoon2 and MySQL with JDBC" than Linux!



#java JDBCTest.java
java.sql.SQLException: Server configuration denies access to data source
at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:193)
at org.gjt.mm.mysql.Connection.connectionInit(Connection.java:261)
at org.gjt.mm.mysql.jdbc2.Connection.connectionInit(Connection.java:89)
at org.gjt.mm.mysql.Driver.connect(Driver.java:167)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:199)
at JDBCTest.main(JDBCTest.java:20)



PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/java/jdk1.3.1/bin:
JAVA_HOME=/usr/java/jdk1.3.1
TOMCAT_HOME=/usr/java/jakarta-tomcat-4.0
CLASSPATH=:/usr/java/j2sdkee1.2.1/lib/j2ee.jar:/usr/java/jdk1.3.1/lib/tools.
jar:/usr/java/mm.mysql/mm.mysql-2.0.4-bin.jar:/usr/java/jakarta-tomcat-4.0/w
ebapps/sect8/WEB-INF/classes/com:/usr/java/lib:/usr/java/jsdk2.1/servlet.jar
ANT_HOME=/usr/java/jakarta-ant-1.3
JAXP_HOME=/usr/java/jakarta-tomcat-4.0/server/lib


#cat JDBCTest.java 
import java.sql.*;
import java.lang.*;
import java.io.*;
import java.util.*;

public class JDBCTest {
  public static void main(String argv[]) {
Connection con = null;

String hostname = "localhost";
  String username = "root";
String password = "xx";

  try {
  Statement stmt;
  ResultSet rs;

  Class.forName("org.gjt.mm.mysql.Driver");

con = DriverManager.getConnection("jdbc:mysql://"
  + hostname
  + "/mysql?user="
  + username
  + "&password="
  + password);
}
catch (Exception e) {
  e.printStackTrace();
}

if (con == null) {
  return;
}

try {
  Statement Stmt = con.createStatement();

  ResultSet RS = Stmt.executeQuery("SELECT User, Host from user;");

  while (RS.next()) {
String user = RS.getString("User");
String host = RS.getString("Host");
System.out.println(user + ":" + host);
  }

  con.close();
}
catch (Exception e) {
  e.printStackTrace();
}
  }
}






Forward post request from user to Tomcat then server B

2001-07-17 Thread yew kan

Hi all,

  I have this problem of forward request, i hope you
can help me out. Let's say the scenario that User A
send a post request to Tomcat, and Tomcat accept it as
a normal request and then send a response back to
user. After that Tomcat will send "create" / "forward"
the same post request to Server B.
  My question is, how do you enable Tomcat to create
or forward the user post request to another server B ?

  Hope you guys can help me out.

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



tomcat shutdown

2001-07-17 Thread Tan, Hsiao-Ching
Title: tomcat shutdown





Hi


I have problems with tomcat shutdown.  The tomcat version used is 3.2.2 and different
port numbers are used for the http & ajp.
After executing shutdown.sh, it shows the classpath and the message "tomcat stop".
No error messages appeared. 
However, the tomcat process is not killed and is still listening on the 2 ports.


Any advice how to stop the tomcat process properly?


hc.







Bug in Tomcat3.2.1? - forwarding HTTP request from a Servlet to a JSP

2001-07-17 Thread Sampige, Srinivas

Hi 
 Iam using tomcat 3.2.1 and i have a servlet "PronServlet" that extends from 
HttpServlet . Now i have a servlet "LogonServlet" that extends from servlet 
"PronServlet" (which has got common functionality like checking for a valid session 
;has common methods that perform functionality like forwarding HTTP request to another 
url). In "LogonServlet" i have some code that does some processing and finally 
forwards the HTTP request to a JSP .Iam getting an error which iam pasting below.I ran 
the same application on JRun and it works fine .I noticed that if i removed the 
subclassing and instead subclassed LogonServlet directly from HttpServlet then the 
application works fine by forwarding the request to the next JSP .Here is the console 
output .Iam attaching the source code of
 PronServlet and LogonServlet .Anybody from the Tomcat dev team any ideas..?

--
Creating a session for the user...
Forwarding request to the MENU page...
2001-07-17 02:17:22 - Ctx( /pron ): Exception in: R( /pron + /webUi/pronMenu.jsp + 
null) - java.lang.
IllegalArgumentException: Short Read
at javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java:238)
at org.apache.tomcat.util.RequestUtil.readFormData(RequestUtil.java:101)
at org.apache.tomcat.core.RequestImpl.handleParameters(RequestImpl.java:691)
at org.apache.tomcat.core.RequestImpl.getParameterValues(RequestImpl.java:259)
at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java:250)
at 
org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(HttpServletRequestFacade.ja
va:222)
at org.apache.jasper.servlet.JspServlet.preCompile(JspServlet.java:326)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:370)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:194)
at 
com.boeing.pron.servlets.LogonServlet.handleApplicationEvent(LogonServlet.java:61)
at com.boeing.pron.servlets.PronServlet.service(PronServlet.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandl
er.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
--

 <>  <> 

 LogonServlet.java
 PronServlet.java


[FAQ] jGuru FAQ Update

2001-07-17 Thread Alex Chaffee

jGuru maintains FAQs and Forums on Servlets, JSP, and Tomcat (as well as
many other Java topics).  Here is an automated update on recent postings to
Tomcat-related FAQs.  Please direct flames and feedback to [EMAIL PROTECTED] .

 - Alex


SPONSORED BY developerWorks

need it? get it. tools, code and tutorials for open-standards based development.

Stay informed with dW's weekly email newsletter
http://www.jguru.com/misc/register_devworks.jsp?src=notify
-

Hi.  You asked to be notified daily when certain jGuru.com items get new entries.

You can shut email notification off at the FAQ home
page(s) or:

  http://www.jguru.com/guru/notifyprefs.jsp


++ JavaServer Pages (JSP) FAQ: http://www.jguru.com/faq/JSP

How do I implement a hit counter in Servlets or JSP?
http://www.jguru.com/misc/faqtrampoline.jsp?src=notify&EID=456418

Why do I get "java.lang.NoClassDefFoundError: sun/tools/javac/Main" ?
http://www.jguru.com/misc/faqtrampoline.jsp?src=notify&EID=455768

++ Servlets FAQ: http://www.jguru.com/faq/Servlets

How do I implement a hit counter in Servlets or JSP?
http://www.jguru.com/misc/faqtrampoline.jsp?src=notify&EID=456418

Why do I get "java.lang.NoClassDefFoundError: sun/tools/javac/Main" ?
http://www.jguru.com/misc/faqtrampoline.jsp?src=notify&EID=455768

++ Tomcat FAQ: http://www.jguru.com/faq/Tomcat

Why do I get "java.lang.NoClassDefFoundError: sun/tools/javac/Main" ?
http://www.jguru.com/misc/faqtrampoline.jsp?src=notify&EID=455768





RE: I'm getting errors when I run JSP's using IIS and TOMCAT

2001-07-17 Thread John Sullivan
Title: RE: I'm getting errors when I run JSP's using IIS and TOMCAT





Yes, Thanks 
-Original Message-
From: Robert Finneran [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 18 July 2001 10:15 AM
To: [EMAIL PROTECTED]
Subject: RE: I'm getting errors when I run JSP's using IIS and TOMCAT



Did you set these in workers.properties? 


workers.tomcat_home=c:\Tomcat-3.2.1\tomcat
workers.java_home=c:\jdk1.3.1


#
# You should configure your environment slash... ps=\ on NT and / on UNIX
# and maybe something different elsewhere.
#
ps=\


-Original Message-
From: John Sullivan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 5:04 PM
To: '[EMAIL PROTECTED]'
Subject: RE: I'm getting errors when I run JSP's using IIS and TOMCAT



I've checked the registry settings,  All the registry Keys appear fine.  The worker_file string points to the workers.properties and the worker_mount_file points to the uriworkermap.properties file.

Thanks 
-Original Message- 
From: Robert Finneran [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 18 July 2001 9:57 AM 
To: [EMAIL PROTECTED] 
Subject: RE: I'm getting errors when I run JSP's using IIS and TOMCAT 



Things to check: 
Be careful that your registry setting are pointing to the right place for the workers.properties and uriworkermap.properties files.

Look under HKEY_LOCALMACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0 for these settings. 
-Original Message- 
From: John Sullivan [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 17, 2001 4:45 PM 
To: [EMAIL PROTECTED] 
Subject: I'm getting errors when I run JSP's using IIS and TOMCAT 



Hi, 
    I'm having problems getting JSP's to run with TOMCAT and IIS.  I've followed the instructions at Jakarta.apache.org and I've also followed the instructions at www.verysimple.com/scripts/support_tc_iis.html

Everything appears ok. When I start all the services, Tomcat runs ok, IIS starts and the redirector appears with a green arrow.  When the services first start these lines appear in the isapi.log file:

    [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter 
    [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters 
I'm assuming that that is OK.  When I call a JSP I then get an IE page saying 
"The Page is unavailable. The page you are looking for is currently unavailable. 
The Web site might be experiencing technical difficulties, or you may need 
to adjust your browser settings." 
and the following lines in the isapi.log: 
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 
[jk_ajp12_worker.c (152)]: In ::service, Error sd = -1 
[jk_isapi_plugin.c (554)]: HttpExtensjk_endpoint_tionProc error, service() failed 
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 
[jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed 
I'm assuming that these lines indicate an error. 
Does anyome have an idea whats going on here? 
Take Care, 
John Sullivan 





RE: I'm getting errors when I run JSP's using IIS and TOMCAT

2001-07-17 Thread John Sullivan
Title: RE: I'm getting errors when I run JSP's using IIS and TOMCAT





Bill,
    Thanks, I found an errors logged in the JVM.log file which notified me of a problem in the server.xml.  Once this was fixed the logs stopped appearing in the isapi.log file. 

Saying all of that when I try to display a *.jsp page I now get HTTP 404 page not found error. 
Any Ideas



-Original Message-
From: Bruyn, Bill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 18 July 2001 10:05 AM
To: '[EMAIL PROTECTED]'
Subject: FW: I'm getting errors when I run JSP's using IIS and TOMCAT



It seems more likely that Tomcat isn't running on the port you have your
worker pointed at (e.g., localhost:8007).  You might consider posting the
entire contents of your log...
 
 
-Original Message-
From: Robert Finneran [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 17, 2001 4:57 PM
To: [EMAIL PROTECTED]
Subject: RE: I'm getting errors when I run JSP's using IIS and TOMCAT



Things to check:
 
Be careful that your registry setting are pointing to the right place for
the workers.properties and uriworkermap.properties files.
Look under HKEY_LOCALMACHINE\SOFTWARE\Apache Software Foundation\Jakarta
Isapi Redirector\1.0 for these settings.
 


-Original Message-
From: John Sullivan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 4:45 PM
To: [EMAIL PROTECTED]
Subject: I'm getting errors when I run JSP's using IIS and TOMCAT




Hi, 
    I'm having problems getting JSP's to run with TOMCAT and IIS.  I've
followed the instructions at Jakarta.apache.org and I've also followed the
instructions at www.verysimple.com/scripts/support_tc_iis.html


Everything appears ok. When I start all the services, Tomcat runs ok, IIS
starts and the redirector appears with a green arrow.  When the services
first start these lines appear in the isapi.log file:


    [jk_uri_worker_map.c (335)]:
jk_uri_worker_map_t::uri_worker_map_close, NULL parameter 
    [jk_uri_worker_map.c (185)]: In
jk_uri_worker_map_t::uri_worker_map_free, NULL parameters 


I'm assuming that that is OK.  When I call a JSP I then get an IE page
saying 


"The Page is unavailable. The page you are looking for is currently
unavailable. 
The Web site might be experiencing technical difficulties, or you may need 
to adjust your browser settings." 


and the following lines in the isapi.log: 


[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 
[jk_ajp12_worker.c (152)]: In ::service, Error sd = -1 
[jk_isapi_plugin.c (554)]: HttpExtensjk_endpoint_tionProc error, service()
failed 
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 
[jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed 


I'm assuming that these lines indicate an error. 


Does anyome have an idea whats going on here? 


Take Care, 


John Sullivan 





RE: I'm getting errors when I run JSP's using IIS and TOMCAT

2001-07-17 Thread Robert Finneran
Title: RE: I'm getting errors when I run JSP's using IIS and TOMCAT



Did 
you set these in workers.properties? 
 
workers.tomcat_home=c:\Tomcat-3.2.1\tomcat
workers.java_home=c:\jdk1.3.1
 
## You should configure your 
environment slash... ps=\ on NT and / on UNIX# and maybe something different 
elsewhere.#ps=\

  -Original Message-From: John Sullivan 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 17, 2001 5:04 
  PMTo: '[EMAIL PROTECTED]'Subject: RE: I'm 
  getting errors when I run JSP's using IIS and TOMCAT
  I've checked the registry settings,  All the registry 
  Keys appear fine.  The worker_file string points to the 
  workers.properties and the worker_mount_file points to the 
  uriworkermap.properties file.
  Thanks 
  -Original Message- From: 
  Robert Finneran [mailto:[EMAIL PROTECTED]] 
  Sent: Wednesday, 18 July 2001 9:57 AM To: [EMAIL PROTECTED] Subject: RE: 
  I'm getting errors when I run JSP's using IIS and TOMCAT 
  Things to check: 
  Be careful that your registry setting are pointing to the 
  right place for the workers.properties and uriworkermap.properties 
  files.
  Look under HKEY_LOCALMACHINE\SOFTWARE\Apache Software 
  Foundation\Jakarta Isapi Redirector\1.0 for these settings. 
  -Original Message- From: John 
  Sullivan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 17, 2001 4:45 PM To: 
  [EMAIL PROTECTED] Subject: I'm getting 
  errors when I run JSP's using IIS and TOMCAT 
  Hi,     I'm having problems getting 
  JSP's to run with TOMCAT and IIS.  I've followed the instructions at 
  Jakarta.apache.org and I've also followed the instructions at 
  www.verysimple.com/scripts/support_tc_iis.html
  Everything appears ok. When I start all the services, Tomcat 
  runs ok, IIS starts and the redirector appears with a green arrow.  When 
  the services first start these lines appear in the isapi.log file:
      
  [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL 
  parameter     
  [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL 
  parameters I'm assuming that that is OK.  When I 
  call a JSP I then get an IE page saying "The Page is 
  unavailable. The page you are looking for is currently unavailable. 
  The Web site might be experiencing technical 
  difficulties, or you may need to adjust your browser 
  settings." and the following lines in the isapi.log: 
  [jk_connect.c (143)]: jk_open_socket, connect() failed 
  errno = 61 [jk_ajp12_worker.c (152)]: In ::service, 
  Error sd = -1 [jk_isapi_plugin.c (554)]: 
  HttpExtensjk_endpoint_tionProc error, service() failed [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 
  [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, 
  Error sd = -1 [jk_isapi_plugin.c (554)]: 
  HttpExtensionProc error, service() failed I'm assuming 
  that these lines indicate an error. Does anyome have 
  an idea whats going on here? Take Care, 
  John Sullivan 


RE: I'm getting errors when I run JSP's using IIS and TOMCAT

2001-07-17 Thread John Sullivan
Title: RE: I'm getting errors when I run JSP's using IIS and TOMCAT





I've checked the registry settings,  All the registry Keys appear fine.  The worker_file string points to the workers.properties and the worker_mount_file points to the uriworkermap.properties file.

Thanks 


-Original Message-
From: Robert Finneran [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 18 July 2001 9:57 AM
To: [EMAIL PROTECTED]
Subject: RE: I'm getting errors when I run JSP's using IIS and TOMCAT



Things to check:


Be careful that your registry setting are pointing to the right place for the workers.properties and uriworkermap.properties files.

Look under HKEY_LOCALMACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0 for these settings.


-Original Message-
From: John Sullivan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 4:45 PM
To: [EMAIL PROTECTED]
Subject: I'm getting errors when I run JSP's using IIS and TOMCAT



Hi, 
    I'm having problems getting JSP's to run with TOMCAT and IIS.  I've followed the instructions at Jakarta.apache.org and I've also followed the instructions at www.verysimple.com/scripts/support_tc_iis.html

Everything appears ok. When I start all the services, Tomcat runs ok, IIS starts and the redirector appears with a green arrow.  When the services first start these lines appear in the isapi.log file:

    [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter 
    [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters 
I'm assuming that that is OK.  When I call a JSP I then get an IE page saying 
"The Page is unavailable. The page you are looking for is currently unavailable. 
The Web site might be experiencing technical difficulties, or you may need 
to adjust your browser settings." 
and the following lines in the isapi.log: 
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 
[jk_ajp12_worker.c (152)]: In ::service, Error sd = -1 
[jk_isapi_plugin.c (554)]: HttpExtensjk_endpoint_tionProc error, service() failed 
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 
[jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed 
I'm assuming that these lines indicate an error. 
Does anyome have an idea whats going on here? 
Take Care, 
John Sullivan 





RE: I'm getting errors when I run JSP's using IIS and TOMCAT

2001-07-17 Thread Robert Finneran
Title: I'm getting errors when I run JSP's using IIS and TOMCAT



Things 
to check:
 
Be 
careful that your registry setting are pointing to the right place for the 
workers.properties and uriworkermap.properties files.
Look 
under HKEY_LOCALMACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi 
Redirector\1.0 for these settings.
 

  -Original Message-From: John Sullivan 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 17, 2001 4:45 
  PMTo: [EMAIL PROTECTED]Subject: I'm getting 
  errors when I run JSP's using IIS and TOMCAT
  Hi,     
  I'm having problems getting JSP's to run with TOMCAT and 
  IIS.  I've followed the instructions at Jakarta.apache.org and I've also 
  followed the instructions at 
  www.verysimple.com/scripts/support_tc_iis.html
  Everything appears ok. When I start all the services, Tomcat 
  runs ok, IIS starts and the redirector appears with a green arrow.  When 
  the services first start these lines appear in the isapi.log file:
      [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, 
  NULL parameter     [jk_uri_worker_map.c (185)]: In 
  jk_uri_worker_map_t::uri_worker_map_free, NULL parameters 
  I'm assuming that that is OK.  When I call a JSP I then 
  get an IE page saying 
  "The Page is unavailable. The page you are looking for is 
  currently unavailable. The Web site might be 
  experiencing technical difficulties, or you may need to adjust your browser settings." 
  and the following lines in the isapi.log: 
  [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 
  61 [jk_ajp12_worker.c (152)]: In ::service, Error sd = 
  -1 [jk_isapi_plugin.c (554)]: 
  HttpExtensjk_endpoint_tionProc error, service() failed [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 
  61 [jk_ajp12_worker.c (152)]: In 
  jk_endpoint_t::service, Error sd = -1 [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() 
  failed 
  I'm assuming that these lines indicate an error. 
  Does anyome have an idea whats going on here? 
  Take Care, 
  John Sullivan 


I'm getting errors when I run JSP's using IIS and TOMCAT

2001-07-17 Thread John Sullivan
Title: I'm getting errors when I run JSP's using IIS and TOMCAT





Hi,
    I'm having problems getting JSP's to run with TOMCAT and IIS.  I've followed the instructions at Jakarta.apache.org and I've also followed the instructions at www.verysimple.com/scripts/support_tc_iis.html

Everything appears ok. When I start all the services, Tomcat runs ok, IIS starts and the redirector appears with a green arrow.  When the services first start these lines appear in the isapi.log file:

    [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter
    [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters


I'm assuming that that is OK.  When I call a JSP I then get an IE page saying


"The Page is unavailable. The page you are looking for is currently unavailable. 
The Web site might be experiencing technical difficulties, or you may need 
to adjust your browser settings."


and the following lines in the isapi.log: 


[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61
[jk_ajp12_worker.c (152)]: In ::service, Error sd = -1
[jk_isapi_plugin.c (554)]: HttpExtensjk_endpoint_tionProc error, service() failed
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed


I'm assuming that these lines indicate an error.


Does anyome have an idea whats going on here?


Take Care,


John Sullivan





MULTIPLE CONTEXTS - ONE WEB-INF

2001-07-17 Thread Gurinder Randhawa




I have 5 different applications in webapps directory and they all run on
same
application. How can i set this up ? I don't want different "application"
contexts created.
I want them to use ROOT ? I have create symbolic links to ROOT and modified
tomcat-apache.conf to do this.

Oh yeah i'm using Apache in front of tomcat.

thanks

Gurinder







Raber Chris <[EMAIL PROTECTED]> on 07/17/2001 02:33:26 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:(bcc: Gurinder Randhawa/Travel Underwriters)
Subject:  Problems running as an NT Service




I have a servlet that works fine when running TomCat
from a command line.

When I attempt to run the servlet as a service, my
servlet can not open files for read access that it
could open when running under TomCat from the command
line...

I have read the archives for similar issues, and have
tried to set up my service Run As user to have access
to the files. I must be missing something or am
completely brain dead.

Any suggestions are welcome!

Thanks,

-Chris.

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/











RE: JSP compile error - class not found

2001-07-17 Thread Robert Finneran

First thing, try copying tools.jar to your TOMCAT_HOME/lib directory.
(Also make sure your TOMCAT_HOME and JAVA_HOME enviroment vars are set)

Second, the may be issues involving the use of multiple class loaders (??)

Hope this helps! 

-Original Message-
From: Will England [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 4:11 PM
To: [EMAIL PROTECTED]
Subject: JSP compile error - class not found 


Greetings!

Running tomcat 3.2 on Sun 2.7

Porting a working application from 3.1.  All jsp's and servlets work under
3.1.

Running multiple virtual machines under one Tomcat with the 
parameter in server.xml.

The JSPs are failing to compile --
org.apache.jasper.JasperException: Unable to compile class for JSP
Class xxx not found.

The classes that are giving me problems are in the WEB-INF/classes
directory.  They have correct permissions.  The classpath that tomcat is
using is:

bin/../lib/ant.jar:
bin/../lib/db-2.7.7:
bin/../lib/db-2.7.7.jar:
bin/../lib/jasper.jar:
bin/../lib/jaxp.jar:
bin/../lib/log4j.jar:
bin/../lib/mail.jar:
bin/../lib/mm.mysql-2.0.1-bin.jar:
bin/../lib/parser.jar:
bin/../lib/servlet.jar:
bin/../lib/test:
bin/../lib/webserver.jar:
/usr/java1.2/bin/../lib/tools.jar

The servlets work correctly.  The only odd bit in server.xml is the use of
this:

 

so that I can read text files from each WEB-INF directory for each web
application.

I've checked the FAQ's, google, groups.google, Sun and Apache's web
pages.  I haven't been able to find any reason for this to happen.

I've cleared the work/ directory out, cleared out all compliled classes
and recompiled the entire thing from source.  

I'm rather stumped.  Anyone have any suggestions or ideas why my JSP's
won't compile?

Thanks in advance for any tips, tricks or advice!

Will


-- 
  /~>'find `funny quote`': Command not found; humor not installed.  
  1986 Concours 72,xxx  1982 Maxim 12,xxx (For Sale!) CDA #00046
  Overland Park, KS [EMAIL PROTECTED] PCS: 316-371-FOAD
http://will.mylanders.com/



RE: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Mike Jackson

Just rename the files to be a .jar file.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

> -Original Message-
> From: Charles Lee [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 4:06 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Oracle JDBC in CLASSPATH for Tomcat 4.0
>
>
> I would suggest you to unzip(use winzip program) the classes12.zip to the
> .../lib directory. I am sure it will work. TOMCAT doesn't pick up
> zip file.
>
>
> Charles Lee
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On
> Behalf Of Sampige, Srinivas
> Sent: Tuesday, July 17, 2001 3:52 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Oracle JDBC in CLASSPATH for Tomcat 4.0
>
>
> What i told you definitely works at least for the .jar files;from what you
> say it looks like Tomcat isn't picking up .zip files (i personally haven't
> tried it with .zip files).I would leave this question to be anwered by one
> of the Tomcat Dev Team members .But for now what i would try is -
>
>  - edit the tomcat.bat found in the bin folder of the tomcat installation
> .Here is what the first  few lines look like(what is in red is
> what you need
> to add) :-
>
> --->
> rem - Save Environment Variables That May
> Change 
>
> set _CP=%CP%
> set _TOMCAT_HOME=%TOMCAT_HOME%
> set _CLASSPATH=%CLASSPATH%
>
> --->
>
> Modify the last line as -
> set _CLASSPATH=%CLASSPATH%;D:\oracle\ora81\jdbc\lib\classes12.zip
>
>
>  Let me know if this helps.
>
> -Srinivas
>
> -Original Message-
> From: John Hebert [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 3:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Oracle JDBC in CLASSPATH for Tomcat 4.0
>
>
> Scott Brinker wrote:
>
> > Alas, it's still not finding it. I now have the classes12.zip in the
> > following locations:
> >
> >   /jakarta-tomcat-4.0-b5/lib
> >   /jakarta-tomcat-4.0-b5/common/lib
> >   /jakarta-tomcat-4.0-b5/webapps/test/WEB-INF/lib
> >
> > ...(the latter being my web app), in addition to the CLASSPATH
> environment
> > variable. Any other thoughts?
> >
>
>
> Can you confirm it is a valid archive ("jar -t classes12.zip")?
>
> --
> John Alex Hebert
> [EMAIL PROTECTED]
> System Engineer
>




RE: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Charles Lee

I would suggest you to unzip(use winzip program) the classes12.zip to the
.../lib directory. I am sure it will work. TOMCAT doesn't pick up zip file.


Charles Lee


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Sampige, Srinivas
Sent: Tuesday, July 17, 2001 3:52 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Oracle JDBC in CLASSPATH for Tomcat 4.0


What i told you definitely works at least for the .jar files;from what you
say it looks like Tomcat isn't picking up .zip files (i personally haven't
tried it with .zip files).I would leave this question to be anwered by one
of the Tomcat Dev Team members .But for now what i would try is -

 - edit the tomcat.bat found in the bin folder of the tomcat installation
.Here is what the first  few lines look like(what is in red is what you need
to add) :-

--->
rem - Save Environment Variables That May
Change 

set _CP=%CP%
set _TOMCAT_HOME=%TOMCAT_HOME%
set _CLASSPATH=%CLASSPATH%

--->

Modify the last line as -
set _CLASSPATH=%CLASSPATH%;D:\oracle\ora81\jdbc\lib\classes12.zip


 Let me know if this helps.

-Srinivas

-Original Message-
From: John Hebert [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 3:46 PM
To: [EMAIL PROTECTED]
Subject: Re: Oracle JDBC in CLASSPATH for Tomcat 4.0


Scott Brinker wrote:

> Alas, it's still not finding it. I now have the classes12.zip in the
> following locations:
>
>   /jakarta-tomcat-4.0-b5/lib
>   /jakarta-tomcat-4.0-b5/common/lib
>   /jakarta-tomcat-4.0-b5/webapps/test/WEB-INF/lib
>
> ...(the latter being my web app), in addition to the CLASSPATH environment
> variable. Any other thoughts?
>


Can you confirm it is a valid archive ("jar -t classes12.zip")?

--
John Alex Hebert
[EMAIL PROTECTED]
System Engineer




JSP compile error - class not found

2001-07-17 Thread Will England

Greetings!

Running tomcat 3.2 on Sun 2.7

Porting a working application from 3.1.  All jsp's and servlets work under
3.1.

Running multiple virtual machines under one Tomcat with the 
parameter in server.xml.

The JSPs are failing to compile --
org.apache.jasper.JasperException: Unable to compile class for JSP
Class xxx not found.

The classes that are giving me problems are in the WEB-INF/classes
directory.  They have correct permissions.  The classpath that tomcat is
using is:

bin/../lib/ant.jar:
bin/../lib/db-2.7.7:
bin/../lib/db-2.7.7.jar:
bin/../lib/jasper.jar:
bin/../lib/jaxp.jar:
bin/../lib/log4j.jar:
bin/../lib/mail.jar:
bin/../lib/mm.mysql-2.0.1-bin.jar:
bin/../lib/parser.jar:
bin/../lib/servlet.jar:
bin/../lib/test:
bin/../lib/webserver.jar:
/usr/java1.2/bin/../lib/tools.jar

The servlets work correctly.  The only odd bit in server.xml is the use of
this:

 

so that I can read text files from each WEB-INF directory for each web
application.

I've checked the FAQ's, google, groups.google, Sun and Apache's web
pages.  I haven't been able to find any reason for this to happen.

I've cleared the work/ directory out, cleared out all compliled classes
and recompiled the entire thing from source.  

I'm rather stumped.  Anyone have any suggestions or ideas why my JSP's
won't compile?

Thanks in advance for any tips, tricks or advice!

Will


-- 
  /~>'find `funny quote`': Command not found; humor not installed.  
  1986 Concours 72,xxx  1982 Maxim 12,xxx (For Sale!) CDA #00046
  Overland Park, KS [EMAIL PROTECTED] PCS: 316-371-FOAD
http://will.mylanders.com/




Can somebody please reply to my previous email ?

2001-07-17 Thread Sampige, Srinivas

Here is the email is sent->

Sent: Tuesday, July 17, 2001 2:59 PM
To: [EMAIL PROTECTED]
Subject: Bug in Tomcat ? - forwarding HTTP request from a Servlet to a
JSP


Hi 
 Iam using tomcat 3.2.1 and i have a servlet "PronServlet" that extends from 
HttpServlet . Now i have a servlet "LogonServlet" that extends from servlet 
"PronServlet" (which has got common functionality like checking for a valid session 
;has common methods that perform functionality like forwarding HTTP request to another 
url). In "LogonServlet" i have some code that does some processing and finally 
forwards the HTTP request to a JSP .Iam getting an error which iam pasting below.I ran 
the same application on JRun and it works fine .I noticed that if i removed the 
subclassing and instead subclassed LogonServlet directly from HttpServlet then the 
application works fine by forwarding the request to the next JSP .Here is the console 
output .Iam attaching the source code of
 PronServlet and LogonServlet .Anybody from the Tomcat dev team any ideas. ?

--
Creating a session for the user...
Forwarding request to the MENU page...
2001-07-17 02:17:22 - Ctx( /pron ): Exception in: R( /pron + /webUi/pronMenu.jsp + 
null) - java.lang.
IllegalArgumentException: Short Read
at javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java:238)
at org.apache.tomcat.util.RequestUtil.readFormData(RequestUtil.java:101)
at org.apache.tomcat.core.RequestImpl.handleParameters(RequestImpl.java:691)
at org.apache.tomcat.core.RequestImpl.getParameterValues(RequestImpl.java:259)
at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java:250)
at 
org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(HttpServletRequestFacade.ja
va:222)
at org.apache.jasper.servlet.JspServlet.preCompile(JspServlet.java:326)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:370)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:194)
at 
com.boeing.pron.servlets.LogonServlet.handleApplicationEvent(LogonServlet.java:61)
at com.boeing.pron.servlets.PronServlet.service(PronServlet.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandl
er.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
--

 <>  <> 



RE: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Sampige, Srinivas

What i told you definitely works at least for the .jar files;from what you say it 
looks like Tomcat isn't picking up .zip files (i personally haven't tried it with .zip 
files).I would leave this question to be anwered by one of the Tomcat Dev Team members 
.But for now what i would try is -

 - edit the tomcat.bat found in the bin folder of the tomcat installation .Here is 
what the first  few lines look like(what is in red is what you need to add) :-

--->
rem - Save Environment Variables That May Change 

set _CP=%CP%
set _TOMCAT_HOME=%TOMCAT_HOME%
set _CLASSPATH=%CLASSPATH%

--->

Modify the last line as -
set _CLASSPATH=%CLASSPATH%;D:\oracle\ora81\jdbc\lib\classes12.zip


 Let me know if this helps.

-Srinivas

-Original Message-
From: John Hebert [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 3:46 PM
To: [EMAIL PROTECTED]
Subject: Re: Oracle JDBC in CLASSPATH for Tomcat 4.0


Scott Brinker wrote:

> Alas, it's still not finding it. I now have the classes12.zip in the
> following locations:
>
>   /jakarta-tomcat-4.0-b5/lib
>   /jakarta-tomcat-4.0-b5/common/lib
>   /jakarta-tomcat-4.0-b5/webapps/test/WEB-INF/lib
>
> ...(the latter being my web app), in addition to the CLASSPATH environment
> variable. Any other thoughts?
>


Can you confirm it is a valid archive ("jar -t classes12.zip")?

--
John Alex Hebert
[EMAIL PROTECTED]
System Engineer



Re: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Scott Brinker

> Can you confirm it is a valid archive ("jar -t classes12.zip")?
> --
> John Alex Hebert
> [EMAIL PROTECTED]
> System Engineer

Ah, I figured it out: I had to rename the file from "classes12.zip" to
"classes12.jar" in the root /lib directory. (Apparently Tomcat appends only
.jar's to its classpath, not .zip's, and must not pay attention to the
system CLASSPATH variable.)

Thanks John, Srinivas,

Scott




tomcat and apache on different machines

2001-07-17 Thread Nick Stoianov




Hey guys,
 
I have the following question. I set up a tomcat 
server. I have an Apache server on a different machine. What should I put in the 
configuration of Apache and Tomcat so that when apache receive a request for a 
jsp file it will redirect the request to the Tomcat server? And Apache will 
serve only the HTML and image files - but not the jsp files.
I'm running Apache with mod_jk
 
 
Nick


Re: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread John Hebert

Scott Brinker wrote:

> Alas, it's still not finding it. I now have the classes12.zip in the
> following locations:
> 
>   /jakarta-tomcat-4.0-b5/lib
>   /jakarta-tomcat-4.0-b5/common/lib
>   /jakarta-tomcat-4.0-b5/webapps/test/WEB-INF/lib
> 
> ...(the latter being my web app), in addition to the CLASSPATH environment
> variable. Any other thoughts?
> 


Can you confirm it is a valid archive ("jar -t classes12.zip")?

-- 
John Alex Hebert
[EMAIL PROTECTED]
System Engineer



Problems running as an NT Service

2001-07-17 Thread Raber Chris

I have a servlet that works fine when running TomCat
from a command line.

When I attempt to run the servlet as a service, my
servlet can not open files for read access that it
could open when running under TomCat from the command
line...

I have read the archives for similar issues, and have
tried to set up my service Run As user to have access
to the files. I must be missing something or am
completely brain dead.

Any suggestions are welcome!

Thanks,

-Chris.
 

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Scott Brinker

Alas, it's still not finding it. I now have the classes12.zip in the
following locations:

  /jakarta-tomcat-4.0-b5/lib
  /jakarta-tomcat-4.0-b5/common/lib
  /jakarta-tomcat-4.0-b5/webapps/test/WEB-INF/lib

...(the latter being my web app), in addition to the CLASSPATH environment
variable. Any other thoughts?

Thanks,

Scott

- Original Message -
From: "Sampige, Srinivas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 17, 2001 6:24 PM
Subject: RE: Oracle JDBC in CLASSPATH for Tomcat 4.0


> put the zip file under "/lib" folder that you find under your tomcat
installation.Should work without having to set the classpath because tomcat
puts everything under /lib in classpath autmoatically when it starts up .





RE: classpath?

2001-07-17 Thread Tim O'Neil

At 03:26 PM 7/17/2001, you wrote:
>didn't you forget the $ sign?
>
> >PATH=jsdk_directory/bin:{$PATH}
>   ^
> >export PATH


Sure did. My excuse is my back is in massive pain
as I type this.





Re: Please Help

2001-07-17 Thread Ben Kimball

Not totally sure - I do all my Java development on Linux, much less hassle, 
but you might try the following:

Since it is complaining about setting it dynamically, maybe you can set it in 
the environmental properties (which will probably require a reboot) - right 
click on My Computer, select Properties, then select Environment (or 
something like that, I'm doing this from memory, as I'm running under Linux 
right now) and one of the things that shows under that should be the PATH 
variable - you should be able to set that with the long (Non-DOS 8.3) 
pathnames. Try plugging the info in there, rebooting, then seeing if the info 
stays in the CLASSPATH.

On Monday 16 July 2001 01:54, you wrote:
> Hie Ben,
> I have make the changes but I'm facing a new error message.
>
> Unable to ser CLASSPATH dynamically.
> Note: To set the CLASSPATH dynamically on win9x systems only DOS 8.3
>  names may be used in TOMCAT_HOME!
> Setting your CLASSPATH statically.
>
> Using CLASSPATH:
> C:\jakarta-tomcat-3.2.1\classes;C:\jakarta-tomcat-3.2.1\lib\ant.jar;C:\jaka
>r
> ta-tomcat-3.2.1\lib\jasper.jar;C:\jakarta-tomcat-3.2.1\lib\jaxp.jar;C:\jaka
>r
> ta-tomcat-3.2.1\lib\parser;C:\jakarta-tomcat-3.2.1\lib\servlet.jar;C:\jakar
>t a-tomcat-3.2.1\lib\webserver.jar
>
> Starting Tomcat in new window
> Cannot find file C:\jdk_1.3.1\bin\java (or one of its components).
> Check to ensure the path and filename are correct and that all required
> libraries are available.
> Any idea to solve this, Ben?
>
>
>
> - Original Message -
> From: Ben Kimball <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 16, 2001 2:20 AM
> Subject: Re: Please Help
>
> > It looks like you have spaces between:
> >
> > "C: \ jdk1.3.1" should be "C:\jdk1.3.1"
> > "C: \ jakarta-tomcat-3.2.1" should be "C:\jakarta-tomcat-3.2.1"
> >
> > You also need to make sure that c:\jdk1.3.1\bin is in your PATH,
> > otherwise java.exe/javac.exe will not be found.
> >
> > On Sunday 15 July 2001 10:55, you wrote:
> > > Actually,I'm a new user to Tomcat and currently having a problem
>
> starting
>
> > > up the Tomcat. I have installed Tomcat 3.2.1 and jdk 1.3.1 on my PC
> > > running win98. I have set all the paths required  but I kept on
>
> receiving
>
> > > error message saying "Bad command or file name". These are the things I
> > > have set:
> > >
> > > set JAVA_HOME=C: \ jdk1.3.1
> > > set TOMCAT_HOME=C: \ jakarta-tomcat-3.2.1
> > >
> > > Can anyone please help me to solve this problem?
> > > TQ
> >
> > 
> > Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
> > Content-Transfer-Encoding: 7BIT
> > Content-Description:
> > 



RE: classpath?

2001-07-17 Thread Filip Hanik

didn't you forget the $ sign?

>PATH=jsdk_directory/bin:{$PATH}
  ^
>export PATH


~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net 

>-Original Message-
>From: Tim O'Neil [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, July 17, 2001 3:23 PM
>To: [EMAIL PROTECTED]
>Subject: Re: classpath?
>
>
>At 03:15 PM 7/17/2001, you wrote:
>>Hi all!
>>
>>I hope somebody can help me..
>>In Windows, when you install jdk and jsdk (to compiling applets and
>>servlets) you have to add or modified the variables PATH and CLASSPATH
>>in autoexec.bat file. but in Solaris I don't know where (I think
>>.profile) and how configure it...
>>When I type   JAVAC SOMESERVLET.JAVAI want the javac command invoke
>>at jsdk_directory/bin/javac and use the libraries of jsdk_directory.
>
>You might need to know which shell you're running,
>but you're right, you'll probably get away with adding
>this line to your .profile:
>
>PATH=jsdk_directory/bin:{PATH}
>export PATH
>
>



RE: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Sampige, Srinivas

put the zip file under "/lib" folder that you find under your tomcat 
installation.Should work without having to set the classpath because tomcat puts 
everything under /lib in classpath autmoatically when it starts up .

-Original Message-
From: Scott Brinker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 3:19 PM
To: [EMAIL PROTECTED]
Subject: Oracle JDBC in CLASSPATH for Tomcat 4.0


I am trying to load the Oracle 8.1.7 thin client JDBC driver in a simple
servlet under Tomcat 4.0-b5. However, the following line:

  Class.forName("oracle.jdbc.driver.OracleDriver");

...keeps generating a ClassNotFoundException. I am running on Windows 2000,
and I have verified that the CLASSPATH environment variable is:

  D:\oracle\ora81\jdbc\lib\classes12.zip

...which is where the JDBC driver is. (I can write a stand-alone Java
application that loads that driver just fine, so I know it is where I think
it is.)

For what it's worth, I'm also running under JDK 1.3.1.

Do I have to do something special to have my web app recognize the system
CLASSPATH? Is there some place else I need to explicitly define it?

Many thanks,

Scott



Re: classpath?

2001-07-17 Thread Tim O'Neil

At 03:15 PM 7/17/2001, you wrote:
>Hi all!
>
>I hope somebody can help me..
>In Windows, when you install jdk and jsdk (to compiling applets and
>servlets) you have to add or modified the variables PATH and CLASSPATH
>in autoexec.bat file. but in Solaris I don't know where (I think
>.profile) and how configure it...
>When I type   JAVAC SOMESERVLET.JAVAI want the javac command invoke
>at jsdk_directory/bin/javac and use the libraries of jsdk_directory.

You might need to know which shell you're running,
but you're right, you'll probably get away with adding
this line to your .profile:

PATH=jsdk_directory/bin:{PATH}
export PATH




Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Scott Brinker

I am trying to load the Oracle 8.1.7 thin client JDBC driver in a simple
servlet under Tomcat 4.0-b5. However, the following line:

  Class.forName("oracle.jdbc.driver.OracleDriver");

...keeps generating a ClassNotFoundException. I am running on Windows 2000,
and I have verified that the CLASSPATH environment variable is:

  D:\oracle\ora81\jdbc\lib\classes12.zip

...which is where the JDBC driver is. (I can write a stand-alone Java
application that loads that driver just fine, so I know it is where I think
it is.)

For what it's worth, I'm also running under JDK 1.3.1.

Do I have to do something special to have my web app recognize the system
CLASSPATH? Is there some place else I need to explicitly define it?

Many thanks,

Scott




JDBC Authentication Broken in 3.2.3?

2001-07-17 Thread Michael P. McCutcheon



I've been fighting with the JDBC authentication in 
3.2.2 and 3.2.3 using Windows 2000, MySQL 3.23.39, the mm-mysql 2.0.6 drivers 
and JDK 1.3.1.  I just can't get it to work.  I get the messages in 
the console:
 
2001-07-17 15:21:20 - ContextManager: JDBCRealm: 
Starting JDBCRealm, trying to acquire JDBC Driver class and DB 
Connection2001-07-17 15:21:21 - ContextManager: JDBCRealm: JDBCRealm has 
been started succesfully2001-07-17 15:21:22 - PoolTcpConnector: Starting 
HttpConnectionHandler on 802001-07-17 15:21:22 - PoolTcpConnector: Starting 
Ajp12ConnectionHandler on 80072001-07-17 15:21:31 - ContextManager: 
JDBCRealm: The database connection is null or was found to be closed. Trying to 
re-open it.2001-07-17 15:21:31 - ContextManager: JDBCRealm: 
JDBCRealm.authenticate: SELECT user_pass FROM users WHERE user_name = 
?2001-07-17 15:21:31 - ContextManager: JDBCRealm: Authentication successful 
for user michaelm2001-07-17 15:21:31 - ContextManager: JDBCRealm: Auth ok, 
user=michaelm
 
but it won't take me to the page I want to go 
to...in other words, it says I'm successfully authenticated, but the login 
window just keeps popping up.  After 3 tries, I get to the page, but it's 
blank.  Same for form login...keep logging in and keep getting sent to the 
error page.
 
What's up?
 
When I put a garbage login/pass I see:
 
2001-07-17 15:24:29 - ContextManager: JDBCRealm: 
Authentication unsuccessful for user asdf
 
so I know that it is talking to the database 
correctly.
 
Here the security part of my web.xml:
 
   
Protected 
Area    
/main/pgMain.html    
DELETE    
GET    
POST    
PUT    
viewer   
 
   BASIC  Admin 
Here is the database stuff:
 
Welcome to the MySQL monitor.  Commands end 
with ; or \g.Your MySQL connection id is 4 to server version: 
3.23.39-nt
 
Type 'help;' or '\h' for help. Type '\c' to clear 
the buffer.
 
mysql> use testdbDatabase 
changedmysql> select * from users;+---+---+| 
user_name | user_pass |+---+---+| michaelm  | 
indonesia    |+---+---+1 row in set (0.00 
sec)
 
mysql> select * from 
roles;+---+| role_name |+---+| 
viewer    |+---+1 row in set (0.04 
sec)
 
mysql> select * from 
user_roles;+---+---+| user_name | role_name 
|+---+---+| michaelm  | viewer    
|+---+---+1 row in set (0.04 sec)
 
mysql>
 
 
Any clues?
 
Mike
 


classpath?

2001-07-17 Thread Nancy Crisostomo Martinez

Hi all!

I hope somebody can help me..
In Windows, when you install jdk and jsdk (to compiling applets and
servlets) you have to add or modified the variables PATH and CLASSPATH
in autoexec.bat file. but in Solaris I don't know where (I think
.profile) and how configure it...
When I type   JAVAC SOMESERVLET.JAVAI want the javac command invoke
at jsdk_directory/bin/javac and use the libraries of jsdk_directory.

Thank you in advanced!!
Nancy




Re: tomcat server question

2001-07-17 Thread Nick Stoianov



The link that you sent is about Apache with 
mod_jserv - I'm using mod_jk. I saw mod_jk howto (in case you decide to send me 
that link too) but there is no information there how to redirect the jsp 
requests to a different machine
 
Nick
 

  - Original Message - 
  From: 
  Filip Hanik 
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, July 17, 2001 3:06 
PM
  Subject: RE: tomcat server question
  
  http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-apache-howto.html
   
  ~Namaste - I bow to the divine in you~Filip 
  HanikSoftware Architect[EMAIL PROTECTED]www.filip.net 
  
-Original Message-From: Nick Stoianov 
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 17, 2001 2:54 
PMTo: [EMAIL PROTECTED]Subject: 
tomcat server question
Hey guys,
 
I have the following question. I set up a 
tomcat server. I have an Apache server on a different machine. What should I 
put in the configuration of Apache and Tomcat so that when apache receive a 
request for a jsp file it will redirect the request to the Tomcat server? 
And Apache will serve only the HTML and image files - but not the jsp 
files.
 
 
Nick


tomcat + other

2001-07-17 Thread David Bishop

Has anyone got tomcat working with any of the pike-based webservers (roxen, 
caudium, roxen2)?  For various reasons I've been trying them out lately, but 
need servet/jsp support as well.

Thanks,

D.A.Bishop



RE: tomcat server question

2001-07-17 Thread Filip Hanik



http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-apache-howto.html
 
~Namaste - I bow to the divine in you~Filip 
HanikSoftware Architect[EMAIL PROTECTED]www.filip.net 

  -Original Message-From: Nick Stoianov 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 17, 2001 2:54 
  PMTo: [EMAIL PROTECTED]Subject: tomcat 
  server question
  Hey guys,
   
  I have the following question. I set up a tomcat 
  server. I have an Apache server on a different machine. What should I put in 
  the configuration of Apache and Tomcat so that when apache receive a request 
  for a jsp file it will redirect the request to the Tomcat server? And Apache 
  will serve only the HTML and image files - but not the jsp 
  files.
   
   
  Nick


Bug in Tomcat ? - forwarding HTTP request from a Servlet to a JSP

2001-07-17 Thread Sampige, Srinivas

Hi 
 Iam using tomcat 3.2.1 and i have a servlet "PronServlet" that extends from 
HttpServlet . Now i have a servlet "LogonServlet" that extends from servlet 
"PronServlet" (which has got common functionality like checking for a valid session 
;has common methods that perform functionality like forwarding HTTP request to another 
url). In "LogonServlet" i have some code that does some processing and finally 
forwards the HTTP request to a JSP .Iam getting an error which iam pasting below.I ran 
the same application on JRun and it works fine .I noticed that if i removed the 
subclassing and instead subclassed LogonServlet directly from HttpServlet then the 
application works fine by forwarding the request to the next JSP .Here is the console 
output .Iam attaching the source code of
 PronServlet and LogonServlet .Anybody from the Tomcat dev team any ideas. ?

--
Creating a session for the user...
Forwarding request to the MENU page...
2001-07-17 02:17:22 - Ctx( /pron ): Exception in: R( /pron + /webUi/pronMenu.jsp + 
null) - java.lang.
IllegalArgumentException: Short Read
at javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java:238)
at org.apache.tomcat.util.RequestUtil.readFormData(RequestUtil.java:101)
at org.apache.tomcat.core.RequestImpl.handleParameters(RequestImpl.java:691)
at org.apache.tomcat.core.RequestImpl.getParameterValues(RequestImpl.java:259)
at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java:250)
at 
org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(HttpServletRequestFacade.ja
va:222)
at org.apache.jasper.servlet.JspServlet.preCompile(JspServlet.java:326)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:370)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:194)
at 
com.boeing.pron.servlets.LogonServlet.handleApplicationEvent(LogonServlet.java:61)
at com.boeing.pron.servlets.PronServlet.service(PronServlet.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandl
er.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
--

 <>  <> 

 LogonServlet.java
 PronServlet.java


RE: error 400 R

2001-07-17 Thread Brandon Cruz

Doesn't mean anything bad.  Has something to do with the browser caching
images and stuff.  You can just ignore it.

Brandon Cruz
Norvax Inc.
www.norvax.com

-Original Message-
From: Fredrik Liden [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 4:33 PM
To: '[EMAIL PROTECTED]'
Subject: error 400 R


Ctx(  ): 400 R( /) null

I keep getting a LOT of this message.

and sometimes that messages is followed by

- PoolTcpEndpoint: Endpoint ServerSocket[addr=0.0.0.0/0.0.0.
0,port=0,localport=8080] ignored exception: java.net.SocketException:
Connection
 reset by peer - java.net.SocketException: Connection reset by peer
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java, Compiled
Code)
at java.net.ServerSocket.implAccept(ServerSocket.java, Compiled
Code)
at java.net.ServerSocket.accept(ServerSocket.java, Compiled Code)
at
org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoin
t.java, Compiled Code)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
 Compiled Code)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)


Does anyone know what causes it? I'd like to see something else on the
output screen besides these error messages. I have the default Serve.xml
settings. Everything is relative to the example folder.

/Fredrik




tomcat server question

2001-07-17 Thread Nick Stoianov



Hey guys,
 
I have the following question. I set up a tomcat 
server. I have an Apache server on a different machine. What should I put in the 
configuration of Apache and Tomcat so that when apache receive a request for a 
jsp file it will redirect the request to the Tomcat server? And Apache will 
serve only the HTML and image files - but not the jsp files.
 
 
Nick


error 400 R

2001-07-17 Thread Fredrik Liden

Ctx(  ): 400 R( /) null

I keep getting a LOT of this message.

and sometimes that messages is followed by

- PoolTcpEndpoint: Endpoint ServerSocket[addr=0.0.0.0/0.0.0.
0,port=0,localport=8080] ignored exception: java.net.SocketException:
Connection
 reset by peer - java.net.SocketException: Connection reset by peer
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java, Compiled
Code)
at java.net.ServerSocket.implAccept(ServerSocket.java, Compiled
Code)
at java.net.ServerSocket.accept(ServerSocket.java, Compiled Code)
at
org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoin
t.java, Compiled Code)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
 Compiled Code)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
 

Does anyone know what causes it? I'd like to see something else on the
output screen besides these error messages. I have the default Serve.xml
settings. Everything is relative to the example folder.

/Fredrik



Problems running as an NT Service

2001-07-17 Thread Raber Chris

I have a servlet that works fine when running TomCat
from a command line.

When I attempt to run the servlet as a service, my
servlet can not open files for read access that it
could open when running under TomCat from the command
line...

I have read the archives for similar issues, and have
tried to set up my service Run As user to have access
to the files. I must be missing something or am
completely brain dead.

Any suggestions are welcome!

Thanks,

-Chris.

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



jasper errors

2001-07-17 Thread Hochberg, Lincoln

Hi, I've been having problems getting jasper to run properly.  I downloaded
the 3.2.3 version of Tomcat to a box with Solaris 2.6.  I am trying to run
something like the following:

java -classpath .:$HOME/lib/jasper.jar:$HOME/lib/webserver.jar
org.apache.jasper.JspC -v4 -webapp docroot

I get the following output from that command:
2001-07-17 13:52:27 - Package name is: [default package]
2001-07-17 13:52:27 - Class file name is:
/iwmnt/default/main/mlb_1/source/WORKAREA/lhochberg/htdocs//_0002findex_0002
ejspindex.class
2001-07-17 13:52:27 - Java file name is:
/iwmnt/default/main/mlb_1/source/WORKAREA/lhochberg/htdocs//index.java
2001-07-17 13:52:27 - Class name is: index
Unknown object of type:java.util.Hashtable
Unknown object of type:java.lang.IllegalArgumentException
java.lang.IllegalArgumentException: Unknown argument
at java.text.MessageFormat.format(MessageFormat.java)
at java.text.MessageFormat.format(MessageFormat.java)
at java.text.Format.format(Format.java)
at org.apache.jasper.Constants.getString(Constants.java:211)
at org.apache.jasper.Constants.message(Constants.java:247)
at org.apache.jasper.JspC.parseFile(JspC.java:412)
at org.apache.jasper.JspC.parseFiles(JspC.java:641)
at org.apache.jasper.JspC.main(JspC.java:689)

I thought that maybe it was missing Hashtable and other classes in the
classpath but when I added rt.jar to the classpath I get a segmentation
fault:
SIGSEGV   11*  segmentation violation
si_signo [11]: SIGSEGV   11*  segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0x0]


Full thread dump:
Segmentation Fault

Does anybody know what's going on here?

Thanks,
Linc

Lincoln Hochberg
  
 212-485-3721
 [EMAIL PROTECTED]  




RE: error 404 R

2001-07-17 Thread Saritha Pula

look into tomcat\conf\server.xml..
--Pula

-Original Message-
From: Fredrik Liden [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 1:49 PM
To: '[EMAIL PROTECTED]'
Subject: error 404 R


Hello, does anyone know why I keep getting the following messages?
I can't find any path in my files that looks like the ones below.
can it bring down the server?
 
I'm using tomcat standalone.
Any feedback would be appreciated
 
2001-07-03 09:48:31 - Ctx( /examples ): 404 R( /examples +
/html/html/Images/RWS
LOGO.gif + null) null
2001-07-03 09:48:38 - Ctx( /examples ): 404 R( /examples +
/html/Images/RWSLOGO.
gif + null) null
2001-07-03 09:48:55 - Ctx( /examples ): 404 R( /examples +
/html/Images/RWSLOGO.
gif + null) null  



error 404 R

2001-07-17 Thread Fredrik Liden

Hello, does anyone know why I keep getting the following messages?
I can't find any path in my files that looks like the ones below.
can it bring down the server?
 
I'm using tomcat standalone.
Any feedback would be appreciated
 
2001-07-03 09:48:31 - Ctx( /examples ): 404 R( /examples +
/html/html/Images/RWS
LOGO.gif + null) null
2001-07-03 09:48:38 - Ctx( /examples ): 404 R( /examples +
/html/Images/RWSLOGO.
gif + null) null
2001-07-03 09:48:55 - Ctx( /examples ): 404 R( /examples +
/html/Images/RWSLOGO.
gif + null) null  



RE: JDBC in TOMCAT - LINUX - ORACLE 8.0.5

2001-07-17 Thread Filip Hanik

Using the Oracle thin driver is the easiest thing.
http://technet.oracle.com/doc/java.815/a64685/getsta1.htm

Filip

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net 

>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, July 17, 2001 1:44 PM
>To: [EMAIL PROTECTED]
>Subject: JDBC in TOMCAT - LINUX - ORACLE 8.0.5
>
>
>I have a Tomcat at a Linux and 
>a Oracle 8.05.
>
>What the JDBC driver that i must 
>install ?
>
>And where i can learn about it ?
>



RE: JDBC in TOMCAT - LINUX - ORACLE 8.0.5

2001-07-17 Thread Eoin Woods

[EMAIL PROTECTED] wrote:

> I have a Tomcat at a Linux and a Oracle 8.05.

> What the JDBC driver that i must install ?
You need Oracle's JDBC driver.  

> And where i can learn about it ?
The manual about it is at:
http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.81
7/a83724/toc.htm

The driver is shipped with Oracle 8i in the $ORACLE_HOME/jdbc directory.  I
don't think it came with 8.0 though - you may have to contact Oracle to get
a copy.

Eoin.





RE: JDBC in TOMCAT - LINUX - ORACLE 8.0.5

2001-07-17 Thread Reynir Hübner


I think you need to download classes11.zip (rather than classes12.zip)
from http://otn.oracle.com/software/content.html
get a thin client driver for oracle 8.0
put the oracle.jar into your tomcat/lib
Use the thin driver...

hope it helps, 




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 8:44 PM
To: [EMAIL PROTECTED]
Subject: JDBC in TOMCAT - LINUX - ORACLE 8.0.5


I have a Tomcat at a Linux and 
a Oracle 8.05.

What the JDBC driver that i must 
install ?

And where i can learn about it ?



Re: JDBC in TOMCAT - LINUX - ORACLE 8.0.5

2001-07-17 Thread John Hebert

[EMAIL PROTECTED] wrote:

> I have a Tomcat at a Linux and 
> a Oracle 8.05.
> 
> What the JDBC driver that i must 
> install ?
> 
> And where i can learn about it ?

I don't know the specific driver information, but this might help:

http://technet.us.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm

Sorry, it is not in Portuguese. There may be a translation elsewhere on 
the Oracle web site.


-- 
John Alex Hebert
[EMAIL PROTECTED]
System Engineer



JDBC in TOMCAT - LINUX - ORACLE 8.0.5

2001-07-17 Thread autit043

I have a Tomcat at a Linux and 
a Oracle 8.05.

What the JDBC driver that i must 
install ?

And where i can learn about it ?



RE: The 4.0b5 doesn't recognize a servlet class

2001-07-17 Thread Wells Tiedeman



Any of 
the jars/classes containing the packages java.*, com.sun.*, javax.*, etc.  
If any of these are included in your /WEB-INF/lib directory the class loaders 
get confused.
 
-Wells

  -Original Message-From: Vernon Wu 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 17, 2001 3:49 
  PMTo: [EMAIL PROTECTED]Subject: The 4.0b5 
  doesn't recognize a servlet class
  
  
  
  Hi, Wells,
   
  
  Thanks for your response. 
  
   
  
  It took me awhile trying to figure how the CLASSPATH relates with the 
  problem. I build up the JSP application using Tomcat 3.x with the standard 
  procedure. Nothing inside the project is set up in the CLASSPATH. I don't know 
  what you means by "all j2ee platform classes". Are the classes used j2ee 
  APIs?
   
  Thx.
   
  Vernon
  
  
  
  
  Original Message Follows 
  
  From: Wells Tiedeman <[EMAIL PROTECTED]>
  
  Reply-To: [EMAIL PROTECTED] 
  
  To: "'[EMAIL PROTECTED]'" 
  <[EMAIL PROTECTED]>
  
  Subject: RE: ServletException in 4.0b5 
  
  Date: Tue, 17 Jul 2001 08:46:44 -0400 
  
  MIME-Version: 1.0 
  
  Received: from [64.208.42.41] by hotmail.com (3.2) with ESMTP id 
  MHotMailBD1D7FCF00164004376140D02A290F500; Tue, 17 Jul 2001 05:51:28 -0700 
  
  Received: (qmail 73852 invoked by uid 500); 17 Jul 2001 12:51:21 
  - 
  
  Received: (qmail 73845 invoked from network); 17 Jul 2001 12:51:21 
  - 
  
  Received: from salesvision-gw.youcentric.com (HELO 
  yc?exchange.yc?exchange.salesvision.com) (12.19.52.2) by h31.sny.collab.net 
  with SMTP; 17 Jul 2001 12:51:21 - 
  
  Received: by yc_exchange.yc_exchange.salesvision.com with Internet 
  Mail Service (5.5.2653.19)id <3XZSJV86>; Tue, 17 Jul 2001 08:46:45 -0400 

  
  From tomcat-user-return-41367-vwu0 Tue, 17 Jul 2001 05:52:26 -0700 
  
  Mailing-List: contact [EMAIL PROTECTED]; run by 
  ezmlm 
  
  Precedence: bulk 
  
  list-help: 
  
  list-unsubscribe: 
  
  
  list-post: 
  
  Delivered-To: mailing list [EMAIL PROTECTED] 
  
  Message-ID: 
  <[EMAIL PROTECTED]> 

  
  X-Mailer: Internet Mail Service (5.5.2653.19) 
  
  X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 
  
  
  
  I experienced the same problem. It's due to a class loader issue. 
  Multiple 
  
  class loaders have been introduced in V4.0 to implement the 
  requirements 
  
  found in Section 9.6.2 of the Servlet 2.3 Spec. These class loaders 
  are 
  
  used to load all of the jars and classes rather than using the 
  CLASSPATH. 
  
  
  
  I was able to resolve this problem as follows : 
  
  
  
  - Add all supporting jars for your web application (except J2EE 
  jars) to 
  
  the /WEB-INF/lib directory rather than including them in the 
  CLASSPATH 
  
  - Add all of the required classes for your web application to the 
  
  /WEB-INF/classes directory rather than including them in the 
  CLASSPATH 
  
  - Add the j2ee.jar from the /j2sdkee1.3/lib directory to the 
  
  TOMCAT_HOME/common/lib directory. All J2EE platform classes must be 
  placed 
  
  in the common/lib or common/classes directories rather than with 
  the web 
  
  application. 
  
  
  
  -Wells 
  
  
  
  Wells Tiedeman 
  
  YOUcentric, Inc. 
  
  P: 704.401.1109 
  
  F: 704.401.1240 
  
  [EMAIL PROTECTED] 
  
  
  
  For more information on YOUcentric, please visit our web site at 
  
  www.youcentric.com 
  
  
  
  
  
  
  
  -Original Message- 
  
  From: Vernon Wu [mailto:[EMAIL PROTECTED]] 
  
  Sent: Monday, July 16, 2001 7:53 PM 
  
  To: [EMAIL PROTECTED] 
  
  Subject: ServletException in 4.0b5 
  
  
  
  
  
  I move one our small JSP application from 3.x to 4.0b5 for the 
  reason of 
  
  using servlet 2.3 specification: ServletContextListener, 
  HttpSessionListener 
  
  be more specific. 
  
  
  
  I get the exception under the 4.0b5 with the following messages: 
  
  
  
  
  
  Exception Report: 
  
  
  
  javax.servlet.ServletException: Class abc.control.ControllerServlet 
  is not a 
  
  Servlet 
  
  
  
   
  
  
  
  
  
  
  
  
  
  Root Cause: 
  
  
  
  java.lang.ClassCastException: abc.control.ControllerServlet 
  
  
  
  ... 
  
  
  
  There is not any indication that anywhere my code is not approprt. 
  What I 
  
  shall do at this situation? 
  
  
  
  I believe that I encounter the similar situation in the 3.x, and it 
  can be 
  
  resolved by recycle the Tomcat server. That method doesn't work for 
  4.0b5. 
  
  
  
  Thanks. 
  
  
  
  Vernon 
  
  
  
  _ 
  
  
  
  Get your FREE download of MSN Explorer at http://explorer.msn.com 
  
  
  
  
  
  
  
  
  
  
  
  
  
  Get your FREE download of MSN Explorer at http://explorer.msn.com
  


ssi and java heap

2001-07-17 Thread Dwaipayan

i have a few queries:
can SSI be used when i am using tomcat as stand alone container?

i am doing my first project on tomcat starting with creating a project dir and copying 
the directory structure of the examples dir. now when running jsp which have beans 
accessing my local database, i get some memory related problems.this is supposedly due 
to the jsp container,servlet container,tomcat http server and oracle db running on the 
same machine(64mb ram,433mhz).how can i increase the JVM memory area(heap) for my 
webapp?

kindly suggest.
i must say so long ,u people hve been of great help!!

 

ddr


http://www.monsterindia.com - The Best Jobs. For the Best Minds.






The 4.0b5 doesn't recognize a servlet class

2001-07-17 Thread Vernon Wu



Hi, Wells,
 

Thanks for your response. 

 

It took me awhile trying to figure how the CLASSPATH relates with the problem. I build up the JSP application using Tomcat 3.x with the standard procedure. Nothing inside the project is set up in the CLASSPATH. I don't know what you means by "all j2ee platform classes". Are the classes used j2ee APIs?
 
Thx.
 
Vernon




Original Message Follows 

From: Wells Tiedeman <[EMAIL PROTECTED]>

Reply-To: [EMAIL PROTECTED] 

To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>

Subject: RE: ServletException in 4.0b5 

Date: Tue, 17 Jul 2001 08:46:44 -0400 

MIME-Version: 1.0 

Received: from [64.208.42.41] by hotmail.com (3.2) with ESMTP id MHotMailBD1D7FCF00164004376140D02A290F500; Tue, 17 Jul 2001 05:51:28 -0700 

Received: (qmail 73852 invoked by uid 500); 17 Jul 2001 12:51:21 - 

Received: (qmail 73845 invoked from network); 17 Jul 2001 12:51:21 - 

Received: from salesvision-gw.youcentric.com (HELO yc?exchange.yc?exchange.salesvision.com) (12.19.52.2) by h31.sny.collab.net with SMTP; 17 Jul 2001 12:51:21 - 

Received: by yc_exchange.yc_exchange.salesvision.com with Internet Mail Service (5.5.2653.19)id <3XZSJV86>; Tue, 17 Jul 2001 08:46:45 -0400 

From tomcat-user-return-41367-vwu0 Tue, 17 Jul 2001 05:52:26 -0700 

Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm 

Precedence: bulk 

list-help: 

list-unsubscribe: 

list-post: 

Delivered-To: mailing list [EMAIL PROTECTED] 

Message-ID: <[EMAIL PROTECTED]> 

X-Mailer: Internet Mail Service (5.5.2653.19) 

X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 



I experienced the same problem. It's due to a class loader issue. Multiple 

class loaders have been introduced in V4.0 to implement the requirements 

found in Section 9.6.2 of the Servlet 2.3 Spec. These class loaders are 

used to load all of the jars and classes rather than using the CLASSPATH. 



I was able to resolve this problem as follows : 



- Add all supporting jars for your web application (except J2EE jars) to 

the /WEB-INF/lib directory rather than including them in the CLASSPATH 

- Add all of the required classes for your web application to the 

/WEB-INF/classes directory rather than including them in the CLASSPATH 

- Add the j2ee.jar from the /j2sdkee1.3/lib directory to the 

TOMCAT_HOME/common/lib directory. All J2EE platform classes must be placed 

in the common/lib or common/classes directories rather than with the web 

application. 



-Wells 



Wells Tiedeman 

YOUcentric, Inc. 

P: 704.401.1109 

F: 704.401.1240 

[EMAIL PROTECTED] 



For more information on YOUcentric, please visit our web site at 

www.youcentric.com 







-Original Message- 

From: Vernon Wu [mailto:[EMAIL PROTECTED]] 

Sent: Monday, July 16, 2001 7:53 PM 

To: [EMAIL PROTECTED] 

Subject: ServletException in 4.0b5 





I move one our small JSP application from 3.x to 4.0b5 for the reason of 

using servlet 2.3 specification: ServletContextListener, HttpSessionListener 

be more specific. 



I get the exception under the 4.0b5 with the following messages: 





Exception Report: 



javax.servlet.ServletException: Class abc.control.ControllerServlet is not a 

Servlet 



 









Root Cause: 



java.lang.ClassCastException: abc.control.ControllerServlet 



... 



There is not any indication that anywhere my code is not approprt. What I 

shall do at this situation? 



I believe that I encounter the similar situation in the 3.x, and it can be 

resolved by recycle the Tomcat server. That method doesn't work for 4.0b5. 



Thanks. 



Vernon 



_ 



Get your FREE download of MSN Explorer at http://explorer.msn.com 











Get your FREE download of MSN Explorer at http://explorer.msn.com


RE: jsp and tomcat 4

2001-07-17 Thread Craig R. McClanahan



On Tue, 17 Jul 2001, David White wrote:

> [snip]
> I recall someone on this list mentioning that Tomcat 4b5 had a known bug
> regarding detection of changes in source files, so I've assumed that was the
> problem I've been seeing.
> 

That is indeed the case.  It's fixed in nightly build 20010717 (which also
incorporates the security vulnerability fix), and will be fixed in the
Tomcat 4.0-beta-6 release that will be forthcoming later this week.

Craig





Server.xml and mod_jk.conf-auto

2001-07-17 Thread Gary Dale

Can I ask something really, really basic here? When I add a virtual host 
to Server.xml, should it show up in the conf-auto file?

Of course, I wouldn't be asking if it was, but I am getting a new 
conf-auto generated each time I stop and restart Tomcat. The only 
contexts I see however are the ones automatically generated in the 
webapps folder. The one's I specify are nowhere to be seen.

I've added ajp13 to Server.xml as well (basically just took the ajp12 
connector, copied it and made it refer to ajp13 & port 8009), but I 
don't see that in the .conf-auto file. All the references in .conf-auto 
are to ajp12.

Any ideas on what I'm doing wrong?





Re: jsp and tomcat 4

2001-07-17 Thread Bill Pfeiffer

This is a known bug with Tomcat 4.0b5 release and WinNT/2000.  Get a recent
nightly build and the problem should go away.

HTH,

Bill Pfeiffer
- Original Message -
From: "D. Jay Newman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 17, 2001 9:21 AM
Subject: Re: jsp and tomcat 4


> > I have a question:
> > if I modify a JSP under tomcat4 i don't see any change in browser
because
> > tomcat4 get the .class of JSP in cache (directory work)
> >
> > How can I say to recompile the jsp if there are changes in java??
>
> This is strange. I'm using Tomcat 4.0b5 and had problems only once (I had
to
> manually fix my system's time, and that changed the timestamps so that the
> older cached versions had "newer" timestamps than the JSP file I was
editing).
>
> Otherwise I always get automatic recompilation if I only change the
> JSP file (if I change a package I call from there I have to go through
> hoops, but that's another story).
>
> This was on linux.
> --
> D. Jay Newman   ! For the pleasure and the profit it
derives
> [EMAIL PROTECTED]  ! I arrange things, like furniture, and
> http://www.sprucegrove.com/~jay/   ! daffodils, and ...lives.  -- Hello
Dolly




Servlet running on port 80

2001-07-17 Thread Felix Guerrero

Hi,

I have setup a web application. The Jsp files are properly found ( both in 
8080 and 80). However, the servlets can only be found when using the 8080 
port. What changes do I have to make to activate the servlets through the 80 
port?. I checked the configuration of the "examples" application that 
contains servlets, however, it seems that it does not follow the standard 
configuration for web applications. I can't find the eclaration of the 
servlets on the web.xml file, but they still work.

Please, help!

Felix.

_
Get your FREE download of MSN Explorer at http://explorer.msn.com




RE: suppress=true not working -- tomcat 3.2.1, apache

2001-07-17 Thread Isaac Arias

Scott,

You shouldn't use the mod_jk.conf-auto file directly since it gets
rewritten on every server restart. Whenever you get your config stable
enough, move it to another file (i.e. mod_jk.conf) and use that
instead.

Also, a quick fix is to just put an empty file named index.jsp in the
directory. It will be loaded instead of showing the listing.

Good luck,

Ike
__

 Isaac Arias
 Tokenzone  www.tokenzone.com 
__
   Man will occasionally stumble over the truth, but most
 of the time he will pick himself up and continue.
  - Winston Churchill

> -Original Message-
> From: Scott McCool [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 3:18 PM
> To: [EMAIL PROTECTED]
> Subject: suppress=true not working -- tomcat 3.2.1, apache
>
>
>
> I'm trying to turn off directory listings, and searching
> archives found
> that the solution is to set "suppress=true" in the StaticInterceptor
> block.  I did this, and still see directory listings.  I've
> also tried on
> a fresh install and have restarted servers/refreshed browser, etc.
>
> The relevent block of my serer.xml is:
>
>   className="org.apache.tomcat.request.StaticInterceptor"
> debug="0" suppress="true"/>
>
> which seems like it should work, but I definitely still see
> directory
> listings.  I can manually edit mod_jk.conf-auto and remove
> the Indexes
> line from Options and temporarily disable listings, but
> they reappear on
> restart.
>
> Any ideas?  I searched the archives and usenet archives and
> couldn't find
> anything indicating that this solution didn't work
>
>
>
>
> *--*
> Scott McCool
> *--*
>
>




Tomcat Newbie has problem with Apache connector and JSP: "document contains no data"

2001-07-17 Thread Mark Dzmura

Gentle Folks:

After spending a ridiculously long time in a frustrating and humiliating
attempt to get the following configuration working on a Redhat 7.1 Linux box:

- Apache 1.3.19 DSO
- mod_webapps
- Jakarta-Tomcat 4.0b5

I have finally gotten Tomcat to serve static content with the Default
servlet (Of course, I could do that with Apache by itself)
but JSP's are not working right!

My problem is with JSP pages served through the Apache
connector.  Everything works fine through port 8080 when
served by Catalina; I can't get it to work through Apache and
port 80.

Here's what happens:

An attempt to request a .jsp page causes the request to be
mapped to the JSP servlet, and the right .jsp file is compiled.
(I can find the class files in the work directory under the
virtual host I'm trying to access the pages from) - but no
content is returned by the web server!  Apache gives the
dialog:

"Document contained no data"

I have turned up debugging levels and can't find a single
problem or issue in a log file which would hint at the nature
of the problem.

A search of the tomcat-users archive and the JGuru stuff
has been no help.

Has anyone seen this problem or have any ideas on how to
lick it??

By the way, the JSP's in question are:

- the Tomcat examples, which work fine from port 8080, and
- an app we wrote which runs fine under JServ/GnuJSP

Regards,
Mark

--
Mark Dzmura
Digital Mission LLC






suppress=true not working -- tomcat 3.2.1, apache

2001-07-17 Thread Scott McCool


I'm trying to turn off directory listings, and searching archives found
that the solution is to set "suppress=true" in the StaticInterceptor
block.  I did this, and still see directory listings.  I've also tried on
a fresh install and have restarted servers/refreshed browser, etc.

The relevent block of my serer.xml is:

 

which seems like it should work, but I definitely still see directory
listings.  I can manually edit mod_jk.conf-auto and remove the Indexes
line from Options and temporarily disable listings, but they reappear on
restart.

Any ideas?  I searched the archives and usenet archives and couldn't find
anything indicating that this solution didn't work




*--*
Scott McCool
*--*





Re: Tomcat

2001-07-17 Thread John Hebert

manhong wu wrote:

> 
> To people who can help,
> 
>  I recently download jakarta-tomcat-3.2.2 and install it to window NT and
>  combine with JBuilder(IDE) successfully. But I have to use
>  ...(mydir)/servlet/...(pagename) to load my project, is there anyway I can
>  get rid of servlet and have my own URL instead ? Where is the file I need
> to
>  modify ?


The file to modify is the web.xml for your web application. You can map 
URLs to servlets there. Take a look at 
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/appdev/web.xml.txt to 
see examples of how to do this. Be sure to read through 
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/appdev/index.html.

 From the example:

...

   graph
   
 This servlet produces GIF images that are dynamically generated
 graphs, based on the input parameters included on the request.
 It is generally mapped to a specific request URI like "/graph".
   


...

   graph
   /graph



Hope this helps.

-- 
John Alex Hebert
[EMAIL PROTECTED]
System Engineer



Re: processes don't die

2001-07-17 Thread Rick Bosch

DO you have any servlets or application beans that have threads listening on
any ports of updating data or something like that?

rick

> From: Jeff Hoare <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Wed, 18 Jul 2001 18:14:33 +1000
> To: [EMAIL PROTECTED]
> Subject: processes don't die
> 
> Hi,
> When I use the shutdown script for Tomcat (version 4) it does not stop all
> the java processes. There are 28 java processes normally, however, after
> executing shutdown 23 are still left. If I restart Tomcat they all seem to
> die and then eventually come back (u know the expected 28).
> The processes left after the shutdown are all owned by the same parent so
> terminating them is easy, but does anyone have an idea what is going on. I'm
> using the IBM's jdk1.3 on linux (which uses native threads).
> 
> Jeff




Tomcat

2001-07-17 Thread manhong wu



To people who can help,

 I recently download jakarta-tomcat-3.2.2 and install it to window NT and
 combine with JBuilder(IDE) successfully. But I have to use
 ...(mydir)/servlet/...(pagename) to load my project, is there anyway I can
 get rid of servlet and have my own URL instead ? Where is the file I need
to
 modify ?

 Thanks in advance,

 Manhong Wu





RE: jsp and tomcat 4

2001-07-17 Thread David White

I've been having the same problem.  When I modify a JSP, it isn't recompiled
automatically.  However, if I delete the .class file associated with the
JSP, both the .java and the .class files associated with the JSP are
rebuilt.  So I've been deleting the .class files whenever I make JSP
changes.

I recall someone on this list mentioning that Tomcat 4b5 had a known bug
regarding detection of changes in source files, so I've assumed that was the
problem I've been seeing.

I'm using standalone Tomcat 4b5 in a Win2000 environment.

If anyone knows of a configuration change or a work-around that could get my
JSPs to compile properly when changed, please let me know!

Thanks
David

> -Original Message-
> From: Oskar Zinger [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 10:41 AM
> To: [EMAIL PROTECTED]
> Subject: Re: jsp and tomcat 4
>
>
> You need to make changes to a jsp file, not java file.  Tomcat will detect
> changes automatically and will translate jsps into java files and
> then compile
> them.
> ---
> Oskar
>
> Marco Magistrali wrote:
>
> > Hi,
> >
> > I have a question:
> > if I modify a JSP under tomcat4 i don't see any change in
> browser because
> > tomcat4 get the .class of JSP in cache (directory work)
> >
> > How can I say to recompile the jsp if there are changes in java??
> >
> > tanks
> > Marco
>




Re: jsp and tomcat 4

2001-07-17 Thread Oskar Zinger

You need to make changes to a jsp file, not java file.  Tomcat will detect
changes automatically and will translate jsps into java files and then compile
them.
---
Oskar

Marco Magistrali wrote:

> Hi,
>
> I have a question:
> if I modify a JSP under tomcat4 i don't see any change in browser because
> tomcat4 get the .class of JSP in cache (directory work)
>
> How can I say to recompile the jsp if there are changes in java??
>
> tanks
> Marco




Re: regarding tomcat run in background on win nt

2001-07-17 Thread Alex Chaffee

Dhaval Patel wrote:

>respected sir,
>
>my self is dhaval working in java from last 2 years now 
>i want to know that what should i to run the tomcat server in background
>processes even if I log off my NT session
>is this possible and if yes then please give me some clue about it bcoz
>right now I am in great hurry in my project
>
>reply asap
>
>thanking with anticipation
>
>regards
>
>- dhaval 
>
Read the FAQ: http://www.jguru.com/faq/view.jsp?EID=13457

Also the Tomcat documentation is very helpful. Read the docs, they are 
your friend.





Xalan 2.1.0 & Tomcat 3.2.2 conflict

2001-07-17 Thread Daniel Einspanjer

I just put the Xalan 2.1.0 package on our testing webserver running Tomcat 3.2.2, and 
ran into some problems.

Specifically, jaxp.jar and possibly parser.jar in the tomcat/lib conflict with Xalan.
When trying to use the javax.xml.parsers.DocumentBuilder.parse() method, the parse 
will throw a SAXException if you pass in a URI instead of a file and the file to be 
parsed has relative external entities.
When trying to use the org.apache.xpath.XPathAPI.selectNodeIterator() method, bad 
things happened in the org.apache.xpath.axes.AxesWalker. One problem was that the 
getNextNode() method was not found, and unfortunately, I've forgotton what the other 
error was. :/

Anyway, I resolved my problems by removing jaxp.jar and parser.jar from the tomcat/lib 
directory and depending on tomcat finding the xalan.jar and xerces.jar in my classpath.

HTH someone.
-- Daniel Einspanjer, [EMAIL PROTECTED] on 7/17/2001




Xalan 2.1.0 & Tomcat 3.2.2 conflict

2001-07-17 Thread Daniel Einspanjer

I just put the Xalan 2.1.0 package on our testing webserver running Tomcat 3.2.2, and 
ran into some problems.

Specifically, jaxp.jar and possibly parser.jar in the tomcat/lib conflict with Xalan.
When trying to use the javax.xml.parsers.DocumentBuilder.parse() method, the parse 
will throw a SAXException if you pass in a URI instead of a file and the file to be 
parsed has relative external entities.
When trying to use the org.apache.xpath.XPathAPI.selectNodeIterator() method, bad 
things happened in the org.apache.xpath.axes.AxesWalker. One problem was that the 
getNextNode() method was not found, and unfortunately, I've forgotton what the other 
error was. :/

Anyway, I resolved my problems by removing jaxp.jar and parser.jar from the tomcat/lib 
directory and depending on tomcat finding the xalan.jar and xerces.jar in my classpath.

HTH someone.
-- Daniel Einspanjer, [EMAIL PROTECTED] on 7/17/2001




unable to process 200 response from Tomcat using isapi_redirect.dll

2001-07-17 Thread Bruyn, Bill

Hello All,

I am trying to configure Tomcat to handle servlet/JSP requests from an
instance of IIS hosted on another machine.  In short, it appears to be
working until it's time to process the AJP12 response body, then the thing
goes to lunch.

First, the installation details.  I should tell you that the hardware and OS
information will change eventually, as this is a practice run for an IIS
installation.  For now, Personal Web Server sits on an old laptop (which
obtains its IP address via DHCP) running NT Workstation 4.0 SP5.  The real
configuration is going to be IIS on NT Server SP6.

The version of Tomcat that I have is actually the Embedded Tomcat 3.2.2,
distributed with JBoss 2.2.2.  I'm told that full Tomcat configuration is
supported, and so far that appears to be the case.  For now, JBoss/Tomcat
runs on a Redhat Linux 7 box with a static IP address and Sun's JDK 1.3.
HTTP requests made directly to this box on port 8080 yield the expected
results.  The app server will eventually run on Solaris 8.

The isapi_redirect.dll is loaded at c:\jakarta-tomcat\bin.  I also have a
conf directory (containing workers.properties and uriworkermap.properties)
and a logs directory (containing the isapi_redirect log file) there.

I made the following registry entries at HKEY_LOCAL_MACHINE\SOFTWARE\Apache
Software Foundation\Jakarta Isapi Redirector\1.0

extension_uri   =   /jakarta/isapi_redirect.dll

log_file=
c:\jakarta-tomcat\logs\isapi.log
log_level   =   debug
worker_file =
c:\jakarta-tomcat\conf\workers.properties
worker_mount_file   =
c:\jakarta-tomcat\conf\uriworkermap.properties  

per G Shacor's "Tomcat IIS HowTo" document.  I was then able to create the
virtual directory, assign it execute permission, and create my ISAPI filter.
I did have to modify the configuration files, of course, but they look okay
to me.  I'll attach them for your review if you think it's worthwhile.  All
I did was remove the default workers for clarity's sake, add a new worker
named csg1 of type AJP12, and map it to my Linux box at port 8007 (where it
listens for AJP12 requests).  

Anyway, when the PWS service starts, I have the green arrow of victory, the
log is created, the worker is verified, and all is well.  I guess I should
mention that stopping the service is a lot like pulling teeth - It stops,
but an error is returned stating that it could not be stopped, and
subsequent attempts to start it also yield errors.  In short, I'm forced to
reboot every time I want to stop the ridiculous web server.  I'm looking for
another place to run IIS to rule out web server issues, but for now, this is
what I'm forced to deal with.

Requests made to both /examples and /servlet contexts are proxied correctly.
i.e., the ISAPI filter hands the request off to Tomcat as it should.  I have
no problems with the 404 errors so prevalent on the lists.  In fact, the
only time the thing seems to work as expected is when I ask for a resource
that doesn't exist.  By that, I mean you can see the filter hand the request
to Tomcat, Tomcat return the response, and the 404 error gets returned to
the client as it should.  My problem comes when I request resources that
return a 200 code.

I'm including the entire contents of the log, but it looks to me like Tomcat
returns the response and the filter reads the header, then dies trying to
process the body.  Could it be as simple as a bad copy of the DLL?  Either
that, or Embedded Tomcat is different enough that the DLL can't deal with
the AJP12 response?  I spent most of the day yesterday troubleshooting, and
I don't know what else to think at this point...

I'm a little new to this, so please be kind.  :o]

Bill Bruyn
Programmer / Analyst
Application Services, Avnet ISD

Following are the entire contents of the log:

[jk_uri_worker_map.c (156)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
[jk_uri_worker_map.c (196)]: Into jk_uri_worker_map_t::uri_worker_map_open
[jk_uri_worker_map.c (211)]: jk_uri_worker_map_t::uri_worker_map_open, rule
map size is 2
[jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /servlet/=csg1 was added
[jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /examples/=csg1 was added
[jk_uri_worker_map.c (296)]: Into jk_uri_worker_map_t::uri_worker_map_open,
there are 2 rules
[jk_uri_worker_map.c (317)]: jk_uri_worker_map_t::uri_worker_map_open, done
[jk_worker.c (82)]: Into wc_open
[jk_worker.c (207)]: Into build_worker_map, creating 1 workers
[jk_worker.c (213)]: build_worker_map, creating worker csg1
[jk_worker.c (138)]: Into wc_create_worker
[jk_worker.c (152)]: wc_create_worker, about to create instance csg1 of
ajp12
[jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
[jk_worker.c (161)]: wc_create_worker, about to validate and init csg1
[jk_ajp12_worker.c (182)]: Into jk_worker_t

Please tell me if this is possible

2001-07-17 Thread Brian McSweeney

Hi folks,
I tried to run a security Manager on Tomcat3.2.2 on unix - failed and
posted the mail below. I got no responses. I then turned to Windows 98. I
have got the same exception (see below). Please can anyone tell me if they
have successfully run a security Manager on Tomcat3.2.2. I followed all the
documentation to no avail. Thanks,
Brian

Brian McSweeney wrote:

> Hi everyone,
> I'm at my wit's end with trying to start Tomcat with a security Manager
> on Solaris. I've uncommented out the appropriate line in
> /conf/server.xml. When trying to run Tomcat with a security manager by
> startup.sh - security I get the following exception. Any ideas how to
> fix this?
> thanks, Brian
>
> Exception in thread "main" java.lang.ExceptionInInitializerError:
> java.security.AccessControlException: access denied

> (java.util.PropertyPermission jaxp.
> debug read)
> at
> java.security.AccessControlContext.checkPermission(AccessControlConte
> xt.java:272)
> at
> java.security.AccessController.checkPermission(AccessController.java:
> 399)
> at
> java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
> at
> java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:12
> 78)
> at java.lang.System.getProperty(System.java:560)
> at
> javax.xml.parsers.SAXParserFactory.(SAXParserFactory.java:270
> )
> at
> org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:210)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:187)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)




Re: JDK 1.3.0...

2001-07-17 Thread Adam Fowler

Excellent, thanks guys I'll put that info on my site 8o)

Adam.

On Tuesday 17 July 2001 14:37, you wrote:
> Or go to the archive at http://java.sun.com/products/archive/index.html
>
> -Original Message-
> From: Everitt, Andrew [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 10:35 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: JDK 1.3.0...
>
>
> All olg JDKs are available on the Sun site, you just have to know where to
> look, try going to:
> http://java.sun.com/j2se/1.3.0/
>
> Cheers,
> Andi
> 
> Andrew Everitt
> Xerox Mobile Solutions, Cambridge. UK
>
> > -Original Message-
> > From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
> > Sent: 17 July 2001 14:05
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: JDK 1.3.0...
> >
> >
> > I have 1.3.0_02 for linux if you want - or anyone else for
> > that matter.
> >
> > [dim@dim dim]$ java -version
> > java version "1.3.0_02"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
> > Java HotSpot(TM) Client VM (build 1.3.0_02, mixed mode)
> > [dim@dim dim]$
> >
> > cheesr
> > dim
> >
> > On Tue, 17 Jul 2001, Adam Fowler wrote:
> > > Hey all,
> > >
> > > Sorry about sending this from a non-subscribed account -
> >
> > I'm at work 8o)
> >
> > > I know a few people were looking for Java 2 SDK version 1.3
> >
> > as opposed to
> >
> > > 1.3.1. A friend of mine, Paul, has the Windows install at
> > > http://users.aber.ac.uk/pms/jdk/index.html if anyone wants
> >
> > it. I'm still
> >
> > > looking for the linux version to put up.
> > >
> > > Hope this helps,
> > >
> > > Adam.
> > >
> > > 
> > > Adam Fowler
> > > Help Desk Live Project
> > > Information Services
> > > University of Wales, Aberystwyth
> > > E-mail: [EMAIL PROTECTED]
> > > 



Re: JDK 1.3.0...

2001-07-17 Thread Adam Fowler

That'd be great 8o)

Adam.

On Tuesday 17 July 2001 13:05, you wrote:
> I have 1.3.0_02 for linux if you want - or anyone else for that matter.
>
> [dim@dim dim]$ java -version
> java version "1.3.0_02"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
> Java HotSpot(TM) Client VM (build 1.3.0_02, mixed mode)
> [dim@dim dim]$
>
> cheesr
> dim
>
> On Tue, 17 Jul 2001, Adam Fowler wrote:
> > Hey all,
> >
> > Sorry about sending this from a non-subscribed account - I'm at work 8o)
> >
> > I know a few people were looking for Java 2 SDK version 1.3 as opposed to
> > 1.3.1. A friend of mine, Paul, has the Windows install at
> > http://users.aber.ac.uk/pms/jdk/index.html if anyone wants it. I'm still
> > looking for the linux version to put up.
> >
> > Hope this helps,
> >
> > Adam.
> >
> > 
> > Adam Fowler
> > Help Desk Live Project
> > Information Services
> > University of Wales, Aberystwyth
> > E-mail: [EMAIL PROTECTED]
> > 



Re: problems serving HTTP requests

2001-07-17 Thread David Treves

Thanks for your reply.

The problem is that the ISAPI doesn't seem to pass the request to Tomcat. I
know that is the request is for a non existing page there is an error that
the Tomcat logs, right? Well, even if I request for a page within the
application that does not exist there is no log about it in the Tomcat logs.

IIS logs the action to be successful but Tomcat is not activated at all...

What could cause that kind of behavior?

David.

- Original Message -
From: "William Kaufman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 17, 2001 4:41 PM
Subject: RE: problems serving HTTP requests


> >From the HTTP spec at
http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2068.html
> :
>
> ] 10.2.7 206 Partial Content
> ] The server has fulfilled the partial GET request for the resource.
>
> That means you called HttpServletResponse.setContentLength() with a number
> bigger than the actual amount of data you're returning.  If you stop
calling
> that, everything should be fine.  (Calling setContentLength() is a good
> idea, but only if you actually know the length, which you rarely do
without
> bufferring all the data yourself.)
>
> ] 10.3.5 304 Not Modified
> ] If the client has performed a conditional GET request and
> ] access is allowed, but the document has not been modified,
> ] the server SHOULD respond with this status code.
>
> That means that Tomcat's copy of your servlet's output is newer than the
> date returned by getLastModified().  If your implementation of
> getLastModified() is returning the right timestamp, then everything's OK.
>
> -- Bill K.
>
> -Original Message-
> From: David Treves [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 1:40 AM
> To: tomcat-user
> Subject: problems serving HTTP requests
>
>
> Hi, I searched the archives yet didn't find anything can help me... I
> installed the Tomcat 3.2.2 in an out-of-process mode with IIS 5, for some

> time it worked just fine. Today Tomcat decided it is on a strike... I
cannot
> get any servlet/jsp file served by it. Instead I get the option to
download
> the file I request and the files are filled with gibberish.
>
> The Tomcat's DOS window doesn't print any error and I see in the IIS log
> that the request went fine (08:15:19 192.114.206.189 GET
> /jakarta/isapi_redirect.dll 200) a few times (even though I saw no
results)
> and some times I got 206 HTTP message or 304.
>
> What could make the sudden change?
>
>
> Thanks in advance!
> David.




RE: user admin

2001-07-17 Thread Cristian Bortolato



-Original Message-
From: Cristian Bortolato [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 4:37 PM
To: '[EMAIL PROTECTED]'
Subject: RE: user admin


I've already insert a simile line, but I can't entry

-Original Message-
From: Artigas, Ricardo Y. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 12:06 PM
To: [EMAIL PROTECTED]
Subject: RE: user admin


add this line:



:^)
Ricky Y. Artigas
Analyst/Programmer /
Database Administrator
Information Technology Division
Easycall Communications Phils., Inc.
- Easycall Internet -
418 Arayat St., Mandaluyong City 1550, Philippines
Company Website: http://www.easycall.com.ph
Tel.no: (+632) 5338001 ext.6574
Mobile:(+63) 0917-8951783
Pager:  141-002955
Email: [EMAIL PROTECTED]


> ---
> IMPORTANT NOTICE: 
  
> This message (and any attachment hereto) may contain privileged and/or
> confidential information specific to EasyCall. If you are not the intended
> addressee indicated in this message, you may not copy or disseminate this
> message (or any attachment hereto) to anyone. Instead, please destroy this
> message (and any attachment hereto), and kindly notify the sender by reply
> email. Any information in this message (and any attachment thereto) that
> do not relate to the official business of EasyCall shall be understood as
> neither given nor endorsed by the company.
> 
> 
> -Original Message-
> From: Cristian Bortolato [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 4:23 PM
> To:   '[EMAIL PROTECTED]'
> Subject:  RE: user admin
> 
> I'm using tomcat 3.2.2, there're tomcat-user.xml defined :
> 
> 
>   
>   
>   
> 
> 
> I've used user tomcat with pass tomcat and all combinations with role1 and
> both, but it doesn't open the page.
> 
> 
> 
> -Original Message-
> From: Sladky, Jan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 10:02 AM
> To: '[EMAIL PROTECTED]'
> Subject: AW: user admin
> 
> 
> For tomcat 3.3-m4 change the file conf/admin-users.xml
>  
> hth
> Jan
> 
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet am: Dienstag, 17. Juli 2001 09:48
> An: [EMAIL PROTECTED]
> Betreff: user admin
> 
> Which is the password and the user default for Tomcat admin?
>  
> How can I Find it and replace?



RE: problems serving HTTP requests

2001-07-17 Thread William Kaufman

>From the HTTP spec at http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2068.html
:

] 10.2.7 206 Partial Content
] The server has fulfilled the partial GET request for the resource.

That means you called HttpServletResponse.setContentLength() with a number
bigger than the actual amount of data you're returning.  If you stop calling
that, everything should be fine.  (Calling setContentLength() is a good
idea, but only if you actually know the length, which you rarely do without
bufferring all the data yourself.)

] 10.3.5 304 Not Modified
] If the client has performed a conditional GET request and
] access is allowed, but the document has not been modified,
] the server SHOULD respond with this status code.

That means that Tomcat's copy of your servlet's output is newer than the
date returned by getLastModified().  If your implementation of
getLastModified() is returning the right timestamp, then everything's OK.

-- Bill K. 

-Original Message-
From: David Treves [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 1:40 AM
To: tomcat-user
Subject: problems serving HTTP requests


Hi, I searched the archives yet didn't find anything can help me... I
installed the Tomcat 3.2.2 in an out-of-process mode with IIS 5, for some
time it worked just fine. Today Tomcat decided it is on a strike... I cannot
get any servlet/jsp file served by it. Instead I get the option to download
the file I request and the files are filled with gibberish.

The Tomcat's DOS window doesn't print any error and I see in the IIS log
that the request went fine (08:15:19 192.114.206.189 GET
/jakarta/isapi_redirect.dll 200) a few times (even though I saw no results)
and some times I got 206 HTTP message or 304.

What could make the sudden change?


Thanks in advance!
David.



RE: user admin

2001-07-17 Thread Cristian Bortolato

I've already insert a simile line, but I can't entry

-Original Message-
From: Artigas, Ricardo Y. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 12:06 PM
To: [EMAIL PROTECTED]
Subject: RE: user admin


add this line:



:^)
Ricky Y. Artigas
Analyst/Programmer /
Database Administrator
Information Technology Division
Easycall Communications Phils., Inc.
- Easycall Internet -
418 Arayat St., Mandaluyong City 1550, Philippines
Company Website: http://www.easycall.com.ph
Tel.no: (+632) 5338001 ext.6574
Mobile:(+63) 0917-8951783
Pager:  141-002955
Email: [EMAIL PROTECTED]


> ---
> IMPORTANT NOTICE: 
  
> This message (and any attachment hereto) may contain privileged and/or
> confidential information specific to EasyCall. If you are not the intended
> addressee indicated in this message, you may not copy or disseminate this
> message (or any attachment hereto) to anyone. Instead, please destroy this
> message (and any attachment hereto), and kindly notify the sender by reply
> email. Any information in this message (and any attachment thereto) that
> do not relate to the official business of EasyCall shall be understood as
> neither given nor endorsed by the company.
> 
> 
> -Original Message-
> From: Cristian Bortolato [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 4:23 PM
> To:   '[EMAIL PROTECTED]'
> Subject:  RE: user admin
> 
> I'm using tomcat 3.2.2, there're tomcat-user.xml defined :
> 
> 
>   
>   
>   
> 
> 
> I've used user tomcat with pass tomcat and all combinations with role1 and
> both, but it doesn't open the page.
> 
> 
> 
> -Original Message-
> From: Sladky, Jan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 10:02 AM
> To: '[EMAIL PROTECTED]'
> Subject: AW: user admin
> 
> 
> For tomcat 3.3-m4 change the file conf/admin-users.xml
>  
> hth
> Jan
> 
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet am: Dienstag, 17. Juli 2001 09:48
> An: [EMAIL PROTECTED]
> Betreff: user admin
> 
> Which is the password and the user default for Tomcat admin?
>  
> How can I Find it and replace?



RE: JDK 1.3.0...

2001-07-17 Thread Cory Powers

Or go to the archive at http://java.sun.com/products/archive/index.html

-Original Message-
From: Everitt, Andrew [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 10:35 AM
To: '[EMAIL PROTECTED]'
Subject: RE: JDK 1.3.0...


All olg JDKs are available on the Sun site, you just have to know where to
look, try going to:
http://java.sun.com/j2se/1.3.0/

Cheers,
Andi

Andrew Everitt
Xerox Mobile Solutions, Cambridge. UK 

> -Original Message-
> From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
> Sent: 17 July 2001 14:05
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: JDK 1.3.0...
> 
> 
> I have 1.3.0_02 for linux if you want - or anyone else for 
> that matter.
> 
> [dim@dim dim]$ java -version
> java version "1.3.0_02"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
> Java HotSpot(TM) Client VM (build 1.3.0_02, mixed mode)
> [dim@dim dim]$ 
> 
> cheesr
> dim
> 
> On Tue, 17 Jul 2001, Adam Fowler wrote:
> 
> > Hey all,
> > 
> > Sorry about sending this from a non-subscribed account - 
> I'm at work 8o)
> > 
> > I know a few people were looking for Java 2 SDK version 1.3 
> as opposed to
> > 1.3.1. A friend of mine, Paul, has the Windows install at
> > http://users.aber.ac.uk/pms/jdk/index.html if anyone wants 
> it. I'm still
> > looking for the linux version to put up.
> > 
> > Hope this helps,
> > 
> > Adam.
> > 
> > 
> > Adam Fowler
> > Help Desk Live Project
> > Information Services
> > University of Wales, Aberystwyth
> > E-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> 



RE: JDK 1.3.0...

2001-07-17 Thread Everitt, Andrew

All olg JDKs are available on the Sun site, you just have to know where to
look, try going to:
http://java.sun.com/j2se/1.3.0/

Cheers,
Andi

Andrew Everitt
Xerox Mobile Solutions, Cambridge. UK 

> -Original Message-
> From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
> Sent: 17 July 2001 14:05
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: JDK 1.3.0...
> 
> 
> I have 1.3.0_02 for linux if you want - or anyone else for 
> that matter.
> 
> [dim@dim dim]$ java -version
> java version "1.3.0_02"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
> Java HotSpot(TM) Client VM (build 1.3.0_02, mixed mode)
> [dim@dim dim]$ 
> 
> cheesr
> dim
> 
> On Tue, 17 Jul 2001, Adam Fowler wrote:
> 
> > Hey all,
> > 
> > Sorry about sending this from a non-subscribed account - 
> I'm at work 8o)
> > 
> > I know a few people were looking for Java 2 SDK version 1.3 
> as opposed to
> > 1.3.1. A friend of mine, Paul, has the Windows install at
> > http://users.aber.ac.uk/pms/jdk/index.html if anyone wants 
> it. I'm still
> > looking for the linux version to put up.
> > 
> > Hope this helps,
> > 
> > Adam.
> > 
> > 
> > Adam Fowler
> > Help Desk Live Project
> > Information Services
> > University of Wales, Aberystwyth
> > E-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> 



  1   2   >