Downloading jsp files instead of executing them...

2001-02-12 Thread Adam Fowler

Hey all,

I have just installed tomcat and linked it into apache. I am using mod_jk
instead of mod_jserv and am using ajp13 as the communication protocol.

I have left the default configuration well alone except from changing ajp12
to ajp13 and adding the relevant ajp 13 section into server.xml.

I include the file mod_jk.conf-auto at the bottom of my httpd.conf so I know
that this is working. On start neither apache or tomcat produce any errors
in their log files or on screen.

I have followed all of the documentation to do with mod_jk, tomcat
installation etc. and it still doesn't want to work.

What's happening is that apache isn't passing the jsp files to tomcat for
parsing, it's just serving them to the browser and, thus, the browser tries
to download them!

I haven't got an AddHandler line for jsp files as the mod_jk documentation
didn't say anything about it. Is this correct? If not then what exactly
should I include?

I changed the paths in httpd.conf and mod_jk.conf-auto from TOMCAT_HOME to
the explicit directory as they weren't working! It seems the documentation
has the wrong syntax, either that or Mandrake is retarded!

My system is as follows:-

Mandrake 7.2
kernel-2.4.0-2mdk
Apache-1.3.14-2mdk with frontpage extensions installed and working
tomcat-3.2.1

Any clues of how to link them?

This is for my research project for my BSc in Computer Science and it's very
important I get this issue solved.

Thanks a lot,

Adam.

--
Adam Fowler
Second year Undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
"Every new beginning comes from
some other beginning's end"
--


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




AW: Installing Tomcat windows 98

2001-02-12 Thread Wenz Christian

a more convenient way is using the Tomcat launcher!
http://www.geocities.com/jdrudnicki/

Regards
Christian

P.S.: I think it's really time to regularily post the FAQ again :-)


-Ursprüngliche Nachricht-
Von: Dick Poon [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 12. Februar 2001 14:42
An: [EMAIL PROTECTED]
Betreff: Re: Installing Tomcat windows 98



Just type the following line to set aside enough memory in DOS environment
before typing startup 

C:\COMMAND.COM /E:4096 /P 

Obviously, "4096" means 4MB! 

hope this help!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




XML syntax bugs in Tomcat 4?

2001-02-12 Thread Amy Boyett

I am using Tomcat 4.0-M5 . . . Before I submit as bugs (and please forgive
if they are already there), can anyone tell me why this jsp in "standard"
syntax works:


   


   



But this jsp in XML syntax throws a servlet exception:


   


   



The second example works just fine if I take *out* the jsp:params tags.
Seems like it should work the same whether I am in standard syntax or XML
syntax.

While we're on the topic . . . this works:



but this does not:




It does not matter if the included page is in standard or XML syntax -- it
always works if the container page is standard syntax and never works if the
container page is XML syntax. Is there anyone else out there who is
extensively using the "new" XML syntax of JSP 1.2? Just curious because I am
interested in using it exclusively.

Thanks,
Amy
[EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Apache + tomcat: help w/mod_alias

2001-02-12 Thread Mel Martinez

Hi,

First off, I'm using Apache 1.3.14 (win NT and linux)
and tomcat 3.2.1.  If I need to upgrade I will, if I
know that it will fix this.

I'm trying to setup tomcat with an existing apache web
server.  I'm having trouble figuring out the best way
to handle an otherwise simple Alias mapping.

The apache httpd.conf has the following:

Alias .*/foo/(.*)   /abs/path/to/foo/$1

which basically says:  treat all paths with '/foo/' in
them to be a link to the one great and powerful foo
directory.  So both of the following:

.../somepath/foo/splash.html
.../someotherpath/foo/splash.html

would both map to the same file,
/abs/path/to/foo/splash.html

This is very useful for having links to a common
directory of reusable resources from a variety of
locations.  In addition, this works on both Unix and
NT versions of Apache so you don't have to depend on
symbolic links.

On top of Apache, I've added the use of Tomcat to the
mix so as to (naturally) support servlets and *.jsp
applications.  I have done this through the use of
mod_jk.  So far, Tomcat works just fine for running
servlets and compiling JSP files. With the following
exception.

Problem:

Urls forwarded to tomcat seem to bypass the Alias
mechanism.  So a request for:

.../somepath/foo/myapp.jsp

gets sent to tomcat as the above, instead of as the
desired:

/abs/path/to/foo/myapp.jsp

Since there is no 'foo' directory inside /somepath/,
tomcat complains about not finding the file. 
Naturally, if I turn off mod_jk, so that Apache simply
returns the file, apache finds the myapp.jsp file just
fine.

Could someone offer me some helpful suggestions on the
best way to fix this?  Would this be fixed if I
replaced the alias with a mod_rewrite directive?  Does
Tomcat have a comparable 'alias' or 'rewrite'
mechanism?

Is this a matter of setting up things with the proper
precedence so that the Alias gets applied to the URL
before it gets sent to the mod_jk worker?  If so, how?

Thanks in advance for your help.

Mel


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: HttpUtil

2001-02-12 Thread sun




I tried, in array, it contains 5 
values, 1,2,3,4,5, cann't get exactly which I selected.
 

-Original Message-From: 
CPC Livelink Admin <[EMAIL PROTECTED]>To: 
[EMAIL PROTECTED] 
<[EMAIL PROTECTED]>Date: 
Monday, February 12, 2001 9:56 PMSubject: RE: 
HttpUtil
A quick read of the docs for Interface ServletRequest reveal 
a snippet in the description of function getParameter :You should 
only use this method when you are sure the parameter has only one value. If 
the parameter might have more than one value, use 
getParameterValues(java.lang.String).
getParameterValuespublic java.lang.String[] getParameterValues(java.lang.String name)

Returns an array of String objects containing all of 
the values the given request parameter has, or null if the 
parameter does not exist. 
If the parameter has a single value, the array has a length of 1.


Parameters: 
name - a String containing the name of 
the parameter whose value is requested 
Returns: 
an array of String objects containing the 
parameter's values 
See Also: 
getParameter(java.lang.String)
-Original Message-From: sun [mailto:[EMAIL PROTECTED]]Sent: 
Tuesday, February 13, 2001 12:45 PMTo: 
[EMAIL PROTECTED]Subject: Re: HttpUtilI only 
get one, paraname=1, actually I checked 4 boxes, in terms of 
postedinputstream, I should get a array of value, it should be 
paraname=1,2,4,5.that is why I have to use HttpUtil, but now it is not 
working, so where iswrong? maybe I should use servlet instead of jsp, 
than inputstream will notbe corrupted.-Original 
Message-From: Chris Janicki <[EMAIL PROTECTED]>To: 
[EMAIL PROTECTED] 
<[EMAIL PROTECTED]>Date: Monday, February 12, 2001 
9:34 PMSubject: Re: HttpUtilString paraname = 
request.getParameter("checkboxName"); // 'request' is 
abuilt-in JSP 
object>> 
Original Message 
< wrote 
regarding Re:HttpUtil:> but how to get parameter value 
passed from previous page, 5 checkbox with> same name different 
value, I want to get paraname=1,2,4,5 if I selected 4> 
boxes.> -Original Message-> From: Craig R. 
McClanahan <[EMAIL PROTECTED]>> To: 
[EMAIL PROTECTED] 
<[EMAIL PROTECTED]>> Date: Monday, February 12, 
2001 9:14 PM> Subject: Re: HttpUtil> >sun 
wrote:> >> >> no, I didn't call request before using 
HttpUtil, HttpUtil was put at> first> >> line in 
.jsp.> >>> >> >But the JSP page did it for 
you (that is, the generated servlet did).> >> >Simply 
use the standard JSP mechanisms to retrieve request 
attributesand> you> >should be fine.  If you 
*really* want to process the input datayourself,> you> 
>should be using a servlet instead of a JSP page.> >> 
>Craig McClanahan> >> >> >>> 
>> -Original Message-> >> From: Craig R. 
McClanahan <[EMAIL PROTECTED]>> >> To: 
[EMAIL PROTECTED] 
<[EMAIL PROTECTED]>> >> Date: Monday, 
February 12, 2001 2:48 PM> >> Subject: Re: HttpUtil> 
>>> >> >sun wrote:> >> >> 
>> >> yes, I tried that, got same error, "short 
read",> >> >> in terms of docs, it means posted 
inputstream is invalid, but I amnot> >> sure> 
>> >> about that.> >> >>> >> 
>> >> >One reason you could get a "short read" 
response is if the servlet> >> container> >> 
>has already read the input stream's contents.  For example, if you 
are> >> >processing a POST request and you have already 
called something like> >> >request.getParameter(), the 
contents of the input stream would have> already> >> 
>been processed.> >> >> >> >Craig 
McClanahan> >> >> >> >> >> 
>> >> 
>-> 
>> >To unsubscribe, e-mail: 
[EMAIL PROTECTED]> >> >For 
additional commands, email: [EMAIL PROTECTED]> 
>> >> >>> >> 
-> 
>> To unsubscribe, e-mail: 
[EMAIL PROTECTED]> >> For additional 
commands, email: [EMAIL PROTECTED]> >> 
>> 
>-> 
>To unsubscribe, e-mail: 
[EMAIL PROTECTED]> >For additional 
commands, email: [EMAIL PROTECTED]> 
>> 
-> 
To unsubscribe, e-mail: [EMAIL PROTECTED]> 
For additional commands, email: 
[EMAIL PROTECTED]-To 
unsubscribe, e-mail: [EMAIL PROTECTED]For 
additional commands, email: 
[EMAIL PROTECTED]-To 
unsub

search display problem

2001-02-12 Thread Vikramjit Singh

hello everybody,
i have a problem. i am making a search page in which all the records are
being displayed from the database. Now what my problem is that i want to
make it look like Google site. in which every page has 10records and when i
click on the link then i get to see the records with 10 pages. if anybody of
you has gone through this then plz tell me how to do it. any idea is welcome
bye
vikram


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




change address

2001-02-12 Thread Chen, Zhiyong

Hi, 
Pls help me change mail address:
[EMAIL PROTECTED]  >   
[EMAIL PROTECTED]

Thx!


Zyong

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Strange JSP Compilation Problem

2001-02-12 Thread Chris Janicki

I think this is the right direction... you need to declare your variable, 
not just instantiate it.

<%! NewsBean currentNewsBean; %>  // note the !

This *declaration* will allow this variable to be "in scope" when you break 
out of <%script-mode%> and back into HTML mode with <%=expressions%>


>> Original Message <<

On 2/12/01, 11:55:35 PM, "Amy Boyett" <[EMAIL PROTECTED]> wrote 
regarding RE: Strange JSP Compilation Problem:


> Hunter, I am a super-newbie, so I'm probably not fully qualified to 
answer
> your question. But I previously had a similar problem, and no one *more*
> qualified has answered your post, so I'll tell you what I had to learn 
the
> hard way. It's a pretty basic concept that is re-iterated throughout the
> spec, but sometimes the most basic concepts elude me until I've done my 
own
> head-banging...

> Declarations, directives, actions and custom tags are executed at
> translation time (when the JSP page is turned into a servlet class).
> Expressions and scriptlets are executed at request time. (There are
> exceptions in JSP 1.2, where an attribute  in an action tag can have a
> request-time value; these exceptions are listed in the 1.2 spec). So,
> anyway, is it possible you are trying to call an object at translation 
time
> that actually doesn't get instantiated until the request? You might also
> want to check the spec regarding page, request, session, and application
> scope. This was helpful to me in understanding when and where objects 
were
> available to me.

> Hopefully, if this is a totally off-base answer, it will encourage 
someone
> more in-the-know to enlighten us both :-)

> Regards,
> Amy
> [EMAIL PROTECTED]

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Hunter
> Hillegas
> Sent: Monday, February 12, 2001 2:00 PM
> To: '[EMAIL PROTECTED]'
> Subject: Strange JSP Compilation Problem


> I have a JSP page that calls some objects that are in a package...

> When I try to view the JSP, it generates a compile error:

> org.apache.jasper.JasperException: Unable to compile class for
> 
JSP/server/jakarta-tomcat-3.2.1/work/localhost_8080%2Fgroundswell/_0002fne
ws
> 
_0002fbackend_0005flabel_0005fnews_0005fedit_00031_0002ejspbackend_0005fla
be
> l_0005fnews_0005fedit1_jsp_0.java:178: Undefined variable or class name:
> currentNewsBean
> out.print( currentNewsBean.getRecNum() );

> Okay, this looks very simple... Like I just forgot to instantiate it... 
The
> thing is I didn't... The object gets instantiated prior to being 
called...
> Is there anything else that could be wrong?


> Hunter Hillegas, MCP
> Web Engineer / System Administrator - Jacob Stern & Sons, Inc.
> [EMAIL PROTECTED]
> 805-565-1411 PH * 805-565-8684 FAX


> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

> ___
> tomcat-users mailing list
> [EMAIL PROTECTED]
> https://mailman.real-time.com/mailman/listinfo/tomcat-users


> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Strange JSP Compilation Problem

2001-02-12 Thread Amy Boyett

Hunter, I am a super-newbie, so I'm probably not fully qualified to answer
your question. But I previously had a similar problem, and no one *more*
qualified has answered your post, so I'll tell you what I had to learn the
hard way. It's a pretty basic concept that is re-iterated throughout the
spec, but sometimes the most basic concepts elude me until I've done my own
head-banging...

Declarations, directives, actions and custom tags are executed at
translation time (when the JSP page is turned into a servlet class).
Expressions and scriptlets are executed at request time. (There are
exceptions in JSP 1.2, where an attribute  in an action tag can have a
request-time value; these exceptions are listed in the 1.2 spec). So,
anyway, is it possible you are trying to call an object at translation time
that actually doesn't get instantiated until the request? You might also
want to check the spec regarding page, request, session, and application
scope. This was helpful to me in understanding when and where objects were
available to me.

Hopefully, if this is a totally off-base answer, it will encourage someone
more in-the-know to enlighten us both :-)

Regards,
Amy
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Hunter
Hillegas
Sent: Monday, February 12, 2001 2:00 PM
To: '[EMAIL PROTECTED]'
Subject: Strange JSP Compilation Problem


I have a JSP page that calls some objects that are in a package...

When I try to view the JSP, it generates a compile error:

org.apache.jasper.JasperException: Unable to compile class for
JSP/server/jakarta-tomcat-3.2.1/work/localhost_8080%2Fgroundswell/_0002fnews
_0002fbackend_0005flabel_0005fnews_0005fedit_00031_0002ejspbackend_0005flabe
l_0005fnews_0005fedit1_jsp_0.java:178: Undefined variable or class name:
currentNewsBean
out.print( currentNewsBean.getRecNum() );

Okay, this looks very simple... Like I just forgot to instantiate it... The
thing is I didn't... The object gets instantiated prior to being called...
Is there anything else that could be wrong?


Hunter Hillegas, MCP
Web Engineer / System Administrator - Jacob Stern & Sons, Inc.
[EMAIL PROTECTED]
805-565-1411 PH * 805-565-8684 FAX


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

___
tomcat-users mailing list
[EMAIL PROTECTED]
https://mailman.real-time.com/mailman/listinfo/tomcat-users


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Antigen found VBS/SST virus

2001-02-12 Thread Rick Roberts


> The main concern to me is why the list notices it's a virus and then
> retransmits it as an attachment on the notification! Seems like a pretty
> bad idea. Any way to stop the SMTP server from doing that?
>

It's not the list that picks up on the virus.
(maybe the list does have an email filter also, I'm not sure, but. )
It's the virus checkers at the users sites which are responding to the list.

Cool!

Thanks to the guys that are running the email filters.

By the way, I'm running Linux and Sendmail.  Anyone have any recomendations 
for a good email filter for me to start implementing?

Thanks,

Rick

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: tclBlend/Jacl in jsp's?

2001-02-12 Thread Horace A. Vallas, Jr.

lifesaver Marc - moved stuff to tomcat/lib - presto!! thanks!!

Hey - what has been your experience with the performance of tomcat
and blend/jacl - pretty good?

I think I'm going to try a small little taglib - one tag where the
body is the tcl to be eval'ed - thoughts?  more suggestions?

-- 
Wishing you an "OOBA OOBA" 21st Century!!
Horace...once known as "Kicker" :-)  

Horace Vallas   hav.Software http://www.hav.com/ 
P.O. Box 354 [EMAIL PROTECTED]
Richmond, Tx. 77406-0354 voice: 281-341-5035 
USAfax: 281-341-5087

Thawte Web Of Trust Notary in SW Houston, Tx.
http://www.hav.com/?content=/thawteWOTnotary.htm

...drop by and chat if I'm online   http://www.hav.com/chat/
===   ===   ===   ===   ===   ===   ===   ===   ===   ===   
What is a Vet? ... He is the barroom loudmouth, dumber than five 
wooden planks, whose overgrown frat-boy behavior is outweighed a 
hundred times in the cosmic scales by four hours of exquisite 
bravery near the 38th parallel. ...   - Unknown

 S/MIME Cryptographic Signature


RE: Problem with request.getServerName in redirect

2001-02-12 Thread Marc Saegesser

Melissa,

As Craig said, please submit a bug report about this.  I'd also appreciate
it if you could try accessing the SnoopServlet that ships with Tomcat and
see if the server name that it reports includes the scheme.  That way we'll
have a known test case to validate against.

Also include the details of your configuration.  I just ran SnoopServlet
under Tomcat 3.2.1 and 3.2.2-dev using the standalone server and behind IIS
and the results look OK.  If you are seeing something different then the
problem must be in the connector.  The more information you can give us the
better.

Thanks,
Marc Saegesser

> -Original Message-
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 12, 2001 6:23 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Problem with request.getServerName in redirect
>
>
> Melissa Matthews wrote:
>
> > I am using Apache/Tomcat 3.2.1.  When I use
> request.getServerName to build
> > the page for the redirect, the http:// is included in the server name.
> > Why is this?
> >
> > This is the code I'm using:
> >
> > StringBuffer loginpoint = new StringBuffer();
> >
> > loginpoint.append(request.getScheme())
> >   .append("://")
> >   .append(request.getServerName())
> >.append(request.getRequestURI());
> >
> > The problem is I end up with http://http://.
> >
>
> Sounds like a bug in 3.2.1.
>
> >
> > Any suggestions?
> >
>
> Could you please report this to the bug tracking system at:
>
> http://nagoya.apache.org/bugzilla/
>
> under product "Tomcat 3"?  We are working on a 3.2.2 update, and
> it would be
> useful to get this bug fixed in time to make that release.
>
> Craig McClanahan
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: tclBlend/Jacl in jsp's?

2001-02-12 Thread Marc Saegesser

I haven't used Jacl from a JSP, but I use it extensively from servlets and
it works fine.  The only thing odd was that I had to put the jar files in
tomcat/lib (or the CLASSPATH) as opposed to web-inf/lib because of the way
that Jacl looks for some classes.

I'm using Tomcat 3.2.1 on WinNT.

> -Original Message-
> From: Horace A. Vallas, Jr. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 12, 2001 6:16 PM
> To: tomcat
> Subject: tclBlend/Jacl in jsp's?
>
>
> has anyone gotten blend and/or jacl working in a jsp?
>
> I was trying to get something that would let us handle some
> legacy tcl.
>
> When I try creating an Interp object in a jsp, tomcat (4) just seems
> to hang - no errors and no response (ever :-)
>
> Was getting link exception - fixed by placement of the tclblend.so
> - and the blend and jacl jars are in place and seem ok.
>
> if you have exp with blend/jacl in tomcat --- would it be better
> to maybe handle this as a taglib or bean rather than inline in a
> jsp?
>
> any alternatives to blend/jacl for handling some (fairly simply)
> legacy tcl from jsp's?
>
> thanks!
>
> --
> Wishing you an "OOBA OOBA" 21st Century!!
> Horace...once known as "Kicker" :-)
> 
> Horace Vallas   hav.Software http://www.hav.com/
> P.O. Box 354 [EMAIL PROTECTED]
> Richmond, Tx. 77406-0354 voice: 281-341-5035
> USAfax: 281-341-5087
>
> Thawte Web Of Trust Notary in SW Houston, Tx.
> http://www.hav.com/?content=/thawteWOTnotary.htm
> 
> ...drop by and chat if I'm online   http://www.hav.com/chat/
> ===   ===   ===   ===   ===   ===   ===   ===   ===   ===   
> What is a Vet? ... He is the barroom loudmouth, dumber than five
> wooden planks, whose overgrown frat-boy behavior is outweighed a
> hundred times in the cosmic scales by four hours of exquisite
> bravery near the 38th parallel. ...   - Unknown
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: HttpUtil

2001-02-12 Thread CPC Livelink Admin
Title: 



A quick read of the docs for Interface ServletRequest reveal a 
snippet in the description of function getParameter :You should only use 
this method when you are sure the parameter has only one value. If the parameter 
might have more than one value, use 
getParameterValues(java.lang.String).
getParameterValuespublic java.lang.String[] getParameterValues(java.lang.String name)

  Returns an array of String objects containing all of the 
  values the given request parameter has, or null if the parameter 
  does not exist. 
  If the parameter has a single value, the array has a length of 1.
  
  
Parameters: 
name - a String containing the name of the 
parameter whose value is requested 
Returns: 
an array of String objects containing the parameter's 
values 
See Also: 
getParameter(java.lang.String)
-Original Message-From: sun [mailto:[EMAIL PROTECTED]]Sent: 
Tuesday, February 13, 2001 12:45 PMTo: 
[EMAIL PROTECTED]Subject: Re: HttpUtilI only get 
one, paraname=1, actually I checked 4 boxes, in terms of postedinputstream, 
I should get a array of value, it should be paraname=1,2,4,5.that is why I 
have to use HttpUtil, but now it is not working, so where iswrong? maybe I 
should use servlet instead of jsp, than inputstream will notbe 
corrupted.-Original Message-From: Chris Janicki 
<[EMAIL PROTECTED]>To: [EMAIL PROTECTED] 
<[EMAIL PROTECTED]>Date: Monday, February 12, 2001 9:34 
PMSubject: Re: HttpUtilString paraname = 
request.getParameter("checkboxName"); // 'request' is abuilt-in JSP 
object>> 
Original Message 
< wrote regarding 
Re:HttpUtil:> but how to get parameter value passed from 
previous page, 5 checkbox with> same name different value, I want to get 
paraname=1,2,4,5 if I selected 4> boxes.> -Original 
Message-> From: Craig R. McClanahan 
<[EMAIL PROTECTED]>> To: [EMAIL PROTECTED] 
<[EMAIL PROTECTED]>> Date: Monday, February 12, 2001 
9:14 PM> Subject: Re: HttpUtil> >sun wrote:> 
>> >> no, I didn't call request before using HttpUtil, HttpUtil 
was put at> first> >> line in .jsp.> >>> 
>> >But the JSP page did it for you (that is, the generated servlet 
did).> >> >Simply use the standard JSP mechanisms to 
retrieve request attributesand> you> >should be fine.  
If you *really* want to process the input datayourself,> you> 
>should be using a servlet instead of a JSP page.> >> 
>Craig McClanahan> >> >> >>> >> 
-Original Message-> >> From: Craig R. McClanahan 
<[EMAIL PROTECTED]>> >> To: 
[EMAIL PROTECTED] <[EMAIL PROTECTED]>> 
>> Date: Monday, February 12, 2001 2:48 PM> >> Subject: Re: 
HttpUtil> >>> >> >sun wrote:> >> 
>> >> >> yes, I tried that, got same error, "short 
read",> >> >> in terms of docs, it means posted inputstream 
is invalid, but I amnot> >> sure> >> >> 
about that.> >> >>> >> >> >> 
>One reason you could get a "short read" response is if the servlet> 
>> container> >> >has already read the input stream's 
contents.  For example, if you are> >> >processing a POST 
request and you have already called something like> >> 
>request.getParameter(), the contents of the input stream would have> 
already> >> >been processed.> >> >> 
>> >Craig McClanahan> >> >> >> 
>> >> >> >> 
>-> 
>> >To unsubscribe, e-mail: 
[EMAIL PROTECTED]> >> >For additional 
commands, email: [EMAIL PROTECTED]> >> 
>> >>> >> 
-> 
>> To unsubscribe, e-mail: 
[EMAIL PROTECTED]> >> For additional 
commands, email: [EMAIL PROTECTED]> >> 
>> 
>-> 
>To unsubscribe, e-mail: [EMAIL PROTECTED]> 
>For additional commands, email: [EMAIL PROTECTED]> 
>> 
-> To 
unsubscribe, e-mail: [EMAIL PROTECTED]> For 
additional commands, email: 
[EMAIL PROTECTED]-To 
unsubscribe, e-mail: [EMAIL PROTECTED]For 
additional commands, email: 
[EMAIL PROTECTED]-To 
unsubscribe, e-mail: [EMAIL PROTECTED]For 
additional commands, email: 
[EMAIL PROTECTED]


Macromedia Generator in Tomcat?

2001-02-12 Thread James Bromberger


Hello all,

I am trying to see if it is possible to put Macromedia's Generator 2 product inside 
Tomcat 3.2.1. There doesn't seem to be much on this - Macromedia seem to insist on 
using JRun, but the downside of this is that in Apache 1.3.17 and with mod_ssl and a 
dozen virtual hosts on Sparc Solaris 2.6, mod_jrun (as a DSO) is responsible for about 
7 MB worth of extra heap memory in every apache child process. This is a huge overhead!

Anyway, I can see a post discussing Generator under Tomcat:
http://archive.covalent.net/jakarta/general/2000/10/0127.xml 

...which talks about "flashgen.jar" and "libflash.so", and copying them to the right 
locations in the $TOMCAT_HOME/lib and /usr/java/jre/lib// respectively. I would 
imagine that the JAR can go in the per-context WEB-INF directory (at least I hope so). 
 However, on Solaris, there is no "libflash.so" that I can see - there is 
"libjflashgen.so". Are these the same?

Has anyone had any success in getting Generator under Tomcat?

James

-- 
  James Bromberger,
  Senior Web/Systems Administrator, JDV
  +61 8 9268 2909, +61 417 322 500
  Fax: +61 8 9268 0200

JDV - e-Commerce and Outsourcing Solutions for Financial Services
http://www.jdv.com/

Any securities recommendation contained in this document is unsolicited general 
information only. Do not act on a recommendation without first consulting your 
investment advisor to determine whether the recommendation is appropriate for your 
investment objectives, financial situation and particular needs.
JDV  believes that any information or advice (including any securities recommendation) 
contained in this document is accurate when issued. However, JDV does not warrant its 
accuracy or reliability. JDV, its officers, agents and employees exclude all liability 
whatsoever, in negligence or otherwise, for any loss or damage relating to this 
document to the full extent permitted by law.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: HttpUtil

2001-02-12 Thread sun

I only get one, paraname=1, actually I checked 4 boxes, in terms of posted
inputstream, I should get a array of value, it should be paraname=1,2,4,5.
that is why I have to use HttpUtil, but now it is not working, so where is
wrong? maybe I should use servlet instead of jsp, than inputstream will not
be corrupted.


-Original Message-
From: Chris Janicki <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, February 12, 2001 9:34 PM
Subject: Re: HttpUtil


String paraname = request.getParameter("checkboxName"); // 'request' is a
built-in JSP object


>> Original Message <<

On 2/13/01, 12:21:40 PM, "sun" <[EMAIL PROTECTED]> wrote regarding Re:
HttpUtil:


> but how to get parameter value passed from previous page, 5 checkbox with
> same name different value, I want to get paraname=1,2,4,5 if I selected 4
> boxes.


> -Original Message-
> From: Craig R. McClanahan <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Monday, February 12, 2001 9:14 PM
> Subject: Re: HttpUtil


> >sun wrote:
> >
> >> no, I didn't call request before using HttpUtil, HttpUtil was put at
> first
> >> line in .jsp.
> >>
> >
> >But the JSP page did it for you (that is, the generated servlet did).
> >
> >Simply use the standard JSP mechanisms to retrieve request attributes
and
> you
> >should be fine.  If you *really* want to process the input data
yourself,
> you
> >should be using a servlet instead of a JSP page.
> >
> >Craig McClanahan
> >
> >
> >>
> >> -Original Message-
> >> From: Craig R. McClanahan <[EMAIL PROTECTED]>
> >> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> >> Date: Monday, February 12, 2001 2:48 PM
> >> Subject: Re: HttpUtil
> >>
> >> >sun wrote:
> >> >
> >> >> yes, I tried that, got same error, "short read",
> >> >> in terms of docs, it means posted inputstream is invalid, but I am
not
> >> sure
> >> >> about that.
> >> >>
> >> >
> >> >One reason you could get a "short read" response is if the servlet
> >> container
> >> >has already read the input stream's contents.  For example, if you are
> >> >processing a POST request and you have already called something like
> >> >request.getParameter(), the contents of the input stream would have
> already
> >> >been processed.
> >> >
> >> >Craig McClanahan
> >> >
> >> >
> >> >
> >> >-
> >> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >For additional commands, email: [EMAIL PROTECTED]
> >> >
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, email: [EMAIL PROTECTED]
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, email: [EMAIL PROTECTED]
> >


> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: HttpUtil

2001-02-12 Thread Chris Janicki

String paraname = request.getParameter("checkboxName"); // 'request' is a 
built-in JSP object


>> Original Message <<

On 2/13/01, 12:21:40 PM, "sun" <[EMAIL PROTECTED]> wrote regarding Re: 
HttpUtil:


> but how to get parameter value passed from previous page, 5 checkbox with
> same name different value, I want to get paraname=1,2,4,5 if I selected 4
> boxes.


> -Original Message-
> From: Craig R. McClanahan <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Monday, February 12, 2001 9:14 PM
> Subject: Re: HttpUtil


> >sun wrote:
> >
> >> no, I didn't call request before using HttpUtil, HttpUtil was put at
> first
> >> line in .jsp.
> >>
> >
> >But the JSP page did it for you (that is, the generated servlet did).
> >
> >Simply use the standard JSP mechanisms to retrieve request attributes 
and
> you
> >should be fine.  If you *really* want to process the input data 
yourself,
> you
> >should be using a servlet instead of a JSP page.
> >
> >Craig McClanahan
> >
> >
> >>
> >> -Original Message-
> >> From: Craig R. McClanahan <[EMAIL PROTECTED]>
> >> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> >> Date: Monday, February 12, 2001 2:48 PM
> >> Subject: Re: HttpUtil
> >>
> >> >sun wrote:
> >> >
> >> >> yes, I tried that, got same error, "short read",
> >> >> in terms of docs, it means posted inputstream is invalid, but I am not
> >> sure
> >> >> about that.
> >> >>
> >> >
> >> >One reason you could get a "short read" response is if the servlet
> >> container
> >> >has already read the input stream's contents.  For example, if you are
> >> >processing a POST request and you have already called something like
> >> >request.getParameter(), the contents of the input stream would have
> already
> >> >been processed.
> >> >
> >> >Craig McClanahan
> >> >
> >> >
> >> >
> >> >-
> >> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >For additional commands, email: [EMAIL PROTECTED]
> >> >
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, email: [EMAIL PROTECTED]
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, email: [EMAIL PROTECTED]
> >


> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: HttpUtil

2001-02-12 Thread sun

but how to get parameter value passed from previous page, 5 checkbox with
same name different value, I want to get paraname=1,2,4,5 if I selected 4
boxes.


-Original Message-
From: Craig R. McClanahan <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, February 12, 2001 9:14 PM
Subject: Re: HttpUtil


>sun wrote:
>
>> no, I didn't call request before using HttpUtil, HttpUtil was put at
first
>> line in .jsp.
>>
>
>But the JSP page did it for you (that is, the generated servlet did).
>
>Simply use the standard JSP mechanisms to retrieve request attributes and
you
>should be fine.  If you *really* want to process the input data yourself,
you
>should be using a servlet instead of a JSP page.
>
>Craig McClanahan
>
>
>>
>> -Original Message-
>> From: Craig R. McClanahan <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>> Date: Monday, February 12, 2001 2:48 PM
>> Subject: Re: HttpUtil
>>
>> >sun wrote:
>> >
>> >> yes, I tried that, got same error, "short read",
>> >> in terms of docs, it means posted inputstream is invalid, but I am not
>> sure
>> >> about that.
>> >>
>> >
>> >One reason you could get a "short read" response is if the servlet
>> container
>> >has already read the input stream's contents.  For example, if you are
>> >processing a POST request and you have already called something like
>> >request.getParameter(), the contents of the input stream would have
already
>> >been processed.
>> >
>> >Craig McClanahan
>> >
>> >
>> >
>> >-
>> >To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >For additional commands, email: [EMAIL PROTECTED]
>> >
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, email: [EMAIL PROTECTED]
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: HttpUtil

2001-02-12 Thread Craig R. McClanahan

sun wrote:

> Craig McClanahan:
>
> I have a session bean in previous page, do I have to terminate this session
> bean? does this session bean affect current page? how to terminate a session
> bean if I don't shut down my servlet container?
>

Call session.invalidate();

You might want to review some of the tutorials on basic JSP and servlet
programming -- a good starting point are the Sun web sites:

http://java.sun.com/products/jsp
http://java.sun.com/products/servlet

>
> rgds
> sun
>

Craig


>
> -Original Message-
> From: local <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Tuesday, February 13, 2001 10:56 AM
> Subject: Re: HttpUtil
>
> >no, I didn't call request before using HttpUtil, HttpUtil was put at first
> >line in .jsp.
> >
> >
> >-Original Message-
> >From: Craig R. McClanahan <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> >Date: Monday, February 12, 2001 2:48 PM
> >Subject: Re: HttpUtil
> >
> >
> >>sun wrote:
> >>
> >>> yes, I tried that, got same error, "short read",
> >>> in terms of docs, it means posted inputstream is invalid, but I am not
> >sure
> >>> about that.
> >>>
> >>
> >>One reason you could get a "short read" response is if the servlet
> >container
> >>has already read the input stream's contents.  For example, if you are
> >>processing a POST request and you have already called something like
> >>request.getParameter(), the contents of the input stream would have
> already
> >>been processed.
> >>
> >>Craig McClanahan
> >>
> >>
> >>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, email: [EMAIL PROTECTED]
> >>
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: HttpUtil

2001-02-12 Thread Craig R. McClanahan

sun wrote:

> no, I didn't call request before using HttpUtil, HttpUtil was put at first
> line in .jsp.
>

But the JSP page did it for you (that is, the generated servlet did).

Simply use the standard JSP mechanisms to retrieve request attributes and you
should be fine.  If you *really* want to process the input data yourself, you
should be using a servlet instead of a JSP page.

Craig McClanahan


>
> -Original Message-
> From: Craig R. McClanahan <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Monday, February 12, 2001 2:48 PM
> Subject: Re: HttpUtil
>
> >sun wrote:
> >
> >> yes, I tried that, got same error, "short read",
> >> in terms of docs, it means posted inputstream is invalid, but I am not
> sure
> >> about that.
> >>
> >
> >One reason you could get a "short read" response is if the servlet
> container
> >has already read the input stream's contents.  For example, if you are
> >processing a POST request and you have already called something like
> >request.getParameter(), the contents of the input stream would have already
> >been processed.
> >
> >Craig McClanahan
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, email: [EMAIL PROTECTED]
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: HttpUtil

2001-02-12 Thread sun

Craig McClanahan:

I have a session bean in previous page, do I have to terminate this session
bean? does this session bean affect current page? how to terminate a session
bean if I don't shut down my servlet container?

rgds
sun

-Original Message-
From: local <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, February 13, 2001 10:56 AM
Subject: Re: HttpUtil


>no, I didn't call request before using HttpUtil, HttpUtil was put at first
>line in .jsp.
>
>
>-Original Message-
>From: Craig R. McClanahan <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date: Monday, February 12, 2001 2:48 PM
>Subject: Re: HttpUtil
>
>
>>sun wrote:
>>
>>> yes, I tried that, got same error, "short read",
>>> in terms of docs, it means posted inputstream is invalid, but I am not
>sure
>>> about that.
>>>
>>
>>One reason you could get a "short read" response is if the servlet
>container
>>has already read the input stream's contents.  For example, if you are
>>processing a POST request and you have already called something like
>>request.getParameter(), the contents of the input stream would have
already
>>been processed.
>>
>>Craig McClanahan
>>
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, email: [EMAIL PROTECTED]
>>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: HttpUtil

2001-02-12 Thread sun

no, I didn't call request before using HttpUtil, HttpUtil was put at first
line in .jsp.


-Original Message-
From: Craig R. McClanahan <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, February 12, 2001 2:48 PM
Subject: Re: HttpUtil


>sun wrote:
>
>> yes, I tried that, got same error, "short read",
>> in terms of docs, it means posted inputstream is invalid, but I am not
sure
>> about that.
>>
>
>One reason you could get a "short read" response is if the servlet
container
>has already read the input stream's contents.  For example, if you are
>processing a POST request and you have already called something like
>request.getParameter(), the contents of the input stream would have already
>been processed.
>
>Craig McClanahan
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: mod_jk.so

2001-02-12 Thread mikhail malamud

I used a port makefile which I downloaded from freebsd.org
http://www.freebsd.org/cgi/ports.cgi?query=jdk&stype=all. Then
downloaded jdk1.3bin from the javasoft website. When you run the
makefile, it actually tells you where to download jdk and then you need
to put into /usr/ports/distfiles. Ports makefile actually contains all
the necessary intructions for patching and will do it automatically. Let
me know once you get to this point and I will try to help you further.

---
www.netflexity.com

-Original Message-
From: Michael Dewhirst [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 6:14 PM
To: [EMAIL PROTECTED]
Subject: Re: mod_jk.so


Mikhail,

My name is actually also Mikhail (Mike), so maybe now you'll be even
more
willing to help me :)

I have had nothing but problems (partlt because I'm learning as I'm
going
along) trying to install Tomcat 3.2.1 on FreeBSD. I understand you have
it
running?

I've not been able to fully install jdk1.3, since it requires (to finish
the
install) patching sys files with a diff file, and I don't know how to do
this. Can you tell me how/ point me to a guide to how? I've not been
able to
find anything for at least a week and a 1/2 now.

Thanks very much in advance!

Mike
- Original Message -
From: "mikhail malamud" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 12, 2001 8:22 PM
Subject: mod_jk.so


> Has anyone successfuly compile mod_jk.so on FreeBSD? Or perhaps you
know
> the answer to the question below. Please help.
>
> I had been searching archives for the past two days. This problem pops
> up both with Linux and FreeBSD. I still cant find the solution. After
> compiling compiling mod_jk.so from 3.2.1 source files and adjusting
> httpd.conf, I receive following error when trying to start Apache.
>
> **
> Cannot load /usr/local/libexec/apache/mod_jk.so into server:
> /usr/local/libexec/apache/mod_jk.so: Undefined symbol "map_name_at"
> /usr/local/sbin/apachectl start: httpd could not be started
> *
>
> I am running FreeBSD 4.2 + Apache 1.3.17 + Tomcat 3.2.1 +(Sun JDK1.3
> emul | jdk1.1.8 native).
>
> Please help. I am going nuts.
>
> ---
> www.netflexity.com
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Problem running Tomcat on Win95 system

2001-02-12 Thread Alex A. Almero



here's the solution for your problem.
1. open a dos window
2. right click the title tab then select 
properties
3. click on the Memory Tab
4. adjust the initial environment to 4096
5. close the window then restart the batch files

  - Original Message - 
  From: 
  Ramana Polavarapu 
  To: [EMAIL PROTECTED] 
  Sent: Tuesday, February 13, 2001 8:44 
  AM
  Subject: Problem running Tomcat on Win95 
  system
  
  Dear List Members:
   
  I have downloaded Tomcat3.2.1 and unzipped it 
  into a directory called jakarta.  It has created a subdirectory called 
  jakarta-tomcat-3.2.1.  Bin is located in this subdirectory.  I have 
  tried to run startup.bat from c:\jakarta\jakarta-tomcat-3.2.1\bin.  I 
  have got the following error:
  Out of environment spaceOut of environment 
  space...Unable to set CLASSPATH dynamically.Note: To set the 
  CLASSPATH dynamically on Win9x systemsonly DOS 8.3 names may be used in 
  TOMCAT_HOME!Setting your CLASSPATH statically.Out of environment 
  space...UUsing CLASSPATH:Starting Tomcat in new windowBad 
  command or file name
  c:\jakarta\jakarta-tomcat-3.2.1\bin 
  >
  What am I doing wrong?  Please take a look 
  at my autoexec.bat file.
  ECHO OFFREMPATH 
  C:\ORAWIN95\BIN;C:\JDK1.3\BIN;set JAVA_HOME=c:\jdk1.3set 
  TOMCAT_HOME=c:\jakarta\jakarta-tomcat-3.2.1 SET 
  SEGUE_HOME=C:\PROGRA~1\SEGUE\SILKTESTSET 
  QAPHOOKS_INIDIR=C:\PROGRA~1\SEGUE\SILKTEST
  Thank you for all the help.
   
  Regards,
   
  Ramana
   


Re: AW: Apache and BEA WebLogic

2001-02-12 Thread Filip Hanik

www.jboss.org amongst others
Weblogic however, is a very high quality product and their support is
phenomenal.
I don't believe any open source servers do provide clustering yet.
Filip
~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net
- Original Message -
From: "Anthony W. Marino" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 12, 2001 10:30 AM
Subject: Re: AW: Apache and BEA WebLogic


> I'm lurking around those projects, however, do you have any personal
opinions
> that you wouldn't mind sharing?
>
> Thank You Very Much!
> Anthony
> On Monday 12 February 2001 07:22, you wrote:
> > Look at at the following sites:
> > http://www.enhydra.org/
> > http://www.jboss.org/
> > http://www.evidian.com/jonas/index.htm
> >
> > > -Ursprüngliche Nachricht-
> > > Von: Anthony W. Marino [mailto:[EMAIL PROTECTED]]
> > > Gesendet: Sonntag, 11. Februar 2001 13:13
> > > An: [EMAIL PROTECTED]
> > > Betreff: Apache and BEA WebLogic
> > >
> > >
> > > Can someone suggest to me what Apache and/or other OpenSource
> > > products could
> > > be integrated to compete with functionally and/or considered
> > > in the same
> > > category as BEA WebLogic?
> > >
> > > I don't necessarily need all of what BEA has to offer at this
> > > time, however,
> > > I would like to know, generally, what it would take to get
> > > there without the
> > > big $ price tag.
> > >
> > > Thank You,
> > > Anthony
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, email: [EMAIL PROTECTED]
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Problem running Tomcat on Win95 system

2001-02-12 Thread Ramana Polavarapu



Dear List Members:
 
I have downloaded Tomcat3.2.1 and unzipped it into 
a directory called jakarta.  It has created a subdirectory called 
jakarta-tomcat-3.2.1.  Bin is located in this subdirectory.  I have 
tried to run startup.bat from c:\jakarta\jakarta-tomcat-3.2.1\bin.  I have 
got the following error:
Out of environment spaceOut of environment 
space...Unable to set CLASSPATH dynamically.Note: To set the 
CLASSPATH dynamically on Win9x systemsonly DOS 8.3 names may be used in 
TOMCAT_HOME!Setting your CLASSPATH statically.Out of environment 
space...UUsing CLASSPATH:Starting Tomcat in new windowBad 
command or file name
c:\jakarta\jakarta-tomcat-3.2.1\bin 
>
What am I doing wrong?  Please take a look at 
my autoexec.bat file.
ECHO OFFREMPATH 
C:\ORAWIN95\BIN;C:\JDK1.3\BIN;set JAVA_HOME=c:\jdk1.3set 
TOMCAT_HOME=c:\jakarta\jakarta-tomcat-3.2.1 SET 
SEGUE_HOME=C:\PROGRA~1\SEGUE\SILKTESTSET 
QAPHOOKS_INIDIR=C:\PROGRA~1\SEGUE\SILKTEST
Thank you for all the help.
 
Regards,
 
Ramana
 


Re: AW: Apache and BEA WebLogic

2001-02-12 Thread Anthony W . Marino

I'm lurking around those projects, however, do you have any personal opinions 
that you wouldn't mind sharing?

Thank You Very Much!
Anthony
On Monday 12 February 2001 07:22, you wrote:
> Look at at the following sites:
>   http://www.enhydra.org/
>   http://www.jboss.org/
>   http://www.evidian.com/jonas/index.htm
>
> > -Ursprüngliche Nachricht-
> > Von: Anthony W. Marino [mailto:[EMAIL PROTECTED]]
> > Gesendet: Sonntag, 11. Februar 2001 13:13
> > An: [EMAIL PROTECTED]
> > Betreff: Apache and BEA WebLogic
> >
> >
> > Can someone suggest to me what Apache and/or other OpenSource
> > products could
> > be integrated to compete with functionally and/or considered
> > in the same
> > category as BEA WebLogic?
> >
> > I don't necessarily need all of what BEA has to offer at this
> > time, however,
> > I would like to know, generally, what it would take to get
> > there without the
> > big $ price tag.
> >
> > Thank You,
> > Anthony
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Problem with request.getServerName in redirect

2001-02-12 Thread Craig R. McClanahan

Melissa Matthews wrote:

> I am using Apache/Tomcat 3.2.1.  When I use request.getServerName to build
> the page for the redirect, the http:// is included in the server name.
> Why is this?
>
> This is the code I'm using:
>
> StringBuffer loginpoint = new StringBuffer();
>
> loginpoint.append(request.getScheme())
>   .append("://")
>   .append(request.getServerName())
>.append(request.getRequestURI());
>
> The problem is I end up with http://http://.
>

Sounds like a bug in 3.2.1.

>
> Any suggestions?
>

Could you please report this to the bug tracking system at:

http://nagoya.apache.org/bugzilla/

under product "Tomcat 3"?  We are working on a 3.2.2 update, and it would be
useful to get this bug fixed in time to make that release.

Craig McClanahan




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Problem with request.getServerName in redirect

2001-02-12 Thread John Golubenko

Well,
Because request.getRequestURI() returns full URI.
This will work:

StringBuffer loginpoint = new StringBuffer();
loginpoing.append(request.getScheme())
.append("://")
.append(request.getServerName())
.append("/mypage.jsp");

Or better use request.getRequestURI(), it will have
the URL value.
- John.

>> Original Message <<

On 2/12/01, 4:07:53 PM, "Melissa Matthews" <[EMAIL PROTECTED]> wrote 
regarding Problem with request.getServerName in redirect:


> I am using Apache/Tomcat 3.2.1.  When I use request.getServerName to 
build
> the page for the redirect, the http:// is included in the server name.
> Why is this?

> This is the code I'm using:

> StringBuffer loginpoint = new StringBuffer();

> loginpoint.append(request.getScheme())
>   .append("://")
>   .append(request.getServerName())
>.append(request.getRequestURI());


> The problem is I end up with http://http://.

> Any suggestions?




> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

NOTICE:  This communication may contain confidential or other privileged information.  
If you are not the intended recipient, or believe that you have received this 
communication in error, please do not print, copy, retransmit, disseminate, or 
otherwise use the information.  Also, please indicate to the sender that you have 
received this email in error, and delete the copy you received.  Any communication 
that does not relate to official Columbia business is that of the sender and is 
neither given nor endorsed by Columbia.  Thank you.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




tclBlend/Jacl in jsp's?

2001-02-12 Thread Horace A. Vallas, Jr.

has anyone gotten blend and/or jacl working in a jsp?

I was trying to get something that would let us handle some
legacy tcl.

When I try creating an Interp object in a jsp, tomcat (4) just seems 
to hang - no errors and no response (ever :-)

Was getting link exception - fixed by placement of the tclblend.so
- and the blend and jacl jars are in place and seem ok.

if you have exp with blend/jacl in tomcat --- would it be better
to maybe handle this as a taglib or bean rather than inline in a 
jsp?

any alternatives to blend/jacl for handling some (fairly simply)
legacy tcl from jsp's?

thanks!

-- 
Wishing you an "OOBA OOBA" 21st Century!!
Horace...once known as "Kicker" :-)  

Horace Vallas   hav.Software http://www.hav.com/ 
P.O. Box 354 [EMAIL PROTECTED]
Richmond, Tx. 77406-0354 voice: 281-341-5035 
USAfax: 281-341-5087

Thawte Web Of Trust Notary in SW Houston, Tx.
http://www.hav.com/?content=/thawteWOTnotary.htm

...drop by and chat if I'm online   http://www.hav.com/chat/
===   ===   ===   ===   ===   ===   ===   ===   ===   ===   
What is a Vet? ... He is the barroom loudmouth, dumber than five 
wooden planks, whose overgrown frat-boy behavior is outweighed a 
hundred times in the cosmic scales by four hours of exquisite 
bravery near the 38th parallel. ...   - Unknown

 S/MIME Cryptographic Signature


Problem with request.getServerName in redirect

2001-02-12 Thread Melissa Matthews

I am using Apache/Tomcat 3.2.1.  When I use request.getServerName to build
the page for the redirect, the http:// is included in the server name.
Why is this?

This is the code I'm using:

StringBuffer loginpoint = new StringBuffer();

loginpoint.append(request.getScheme())
  .append("://")
  .append(request.getServerName())
   .append(request.getRequestURI());


The problem is I end up with http://http://.

Any suggestions?




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: *** Generated Tomcat Temporary Class File NameSeemTooLong.. . Yes ***

2001-02-12 Thread John Golubenko

But is this a "problem"? I'm using Linux, and I don't have such 
'problems'. Although
it would be nice to have this options in server.xml file anyway. (rules 
of generating classes)
- John.

>> Original Message <<

On 2/12/01, 9:44:47 AM, "Alex Fernández" <[EMAIL PROTECTED]> wrote regarding 
Re: *** Generated Tomcat Temporary Class File Name SeemTooLong.. . Yes ***:


> Sure! And when you're fixed the problem, please take the time to send it 
to the Tomcat-dev list as a patch. (Just send the diff file and a [PATCH] 
message, see http://jakarta.apache.org/site/source.html for details.) That 
way everyone benefits from your bug-crashing, we'll admire you, and you'll 
see the problem fixed in subsequent releases :)

> Cheers,

> Alex.

> John Golubenko wrote:

> > Sorry, but that moron pisses me off. I'm not saying that I know 
everything.
> > The only thing I was trying to say, is that it's possible to modify 
source
> > of tomcat, so fix the naming problem.
> >
> > -Original Message-
> > From: Alex Fernández [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, February 12, 2001 9:10 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: *** Generated Tomcat Temporary Class File Name SeemTooLong.
> > .. Yes ***
> >
> > John, don't get jumpy. This is not one of your flame wars.
> >
> > GNU's Not Unix. Apache's not GNU. The Apache Group is not GNU. And the 
GPL
> > (Gnu Public License) is not the Apache License.
> >
> > I was just trying to educate you: not all free software is GNU. There are
> > several public licenses available around, and the Apache License is one 
of
> > the less restrictive ones -- while the GPL explicitly prohibits several
> > uses. I don't have anything against the GPL, and in fact like the FSF and
> > their work; but Tomcat belongs to the Apache Group.
> >
> > Cheers,
> >
> > Alex.
> >
> > John Golubenko wrote:
> >
> > > Don't worry, I've read it. Here is the copy for you, if you didn't.
> > > There is clearly written that you can modify the source code, and
> > > redistribute or use it. Just like I said in previus email, that it's
> > > legal to modify the source code, (file name generation) and compile it
> > back.
> > > While it's still true, i don't know what are you trying to prove. And
> > > who said that I'm not commercial developer? Sorry, you wrong.
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
> > NOTICE:  This communication may contain confidential or other privileged 
information.  If you are not the intended recipient, or believe that you have 
received this communication in error, please do not print, copy, retransmit, 
disseminate, or otherwise use the information.  Also, please indicate to the 
sender that you have received this email in error, and delete the copy you 
received.  Any communication that does not relate to official Columbia 
business is that of the sender and is neither given nor endorsed by Columbia. 
 Thank you.
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]


> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

NOTICE:  This communication may contain confidential or other privileged information.  
If you are not the intended recipient, or believe that you have received this 
communication in error, please do not print, copy, retransmit, disseminate, or 
otherwise use the information.  Also, please indicate to the sender that you have 
received this email in error, and delete the copy you received.  Any communication 
that does not relate to official Columbia business is that of the sender and is 
neither given nor endorsed by Columbia.  Thank you.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Tomcat + Mips + Kaffe for Cube

2001-02-12 Thread Neil Streeter

Hi all,

Just wondering if anyone has been successfull with the above mentioned
configuration... Also wondering if there were any other implementation of
JAVA that would run on a MIPS and might work. It seems that Kaffe has some
downfalls at this point.

Any pointers, stumblingblocks, gotcha-workarounds, etc... greatly
appreciated :-)

Also, I was reading that someone was working on a fairly detailed HOWTO
dealing with this subject. Anyone know of any such documenation?

TIA,
ns


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: *** Generated Tomcat Temporary Class File Name SeemTooLong.. . Yes ***

2001-02-12 Thread Alex Fernández

Sure! And when you're fixed the problem, please take the time to send it to the 
Tomcat-dev list as a patch. (Just send the diff file and a [PATCH] message, see 
http://jakarta.apache.org/site/source.html for details.) That way everyone benefits 
from your bug-crashing, we'll admire you, and you'll see the problem fixed in 
subsequent releases :)

Cheers,

Alex.

John Golubenko wrote:

> Sorry, but that moron pisses me off. I'm not saying that I know everything.
> The only thing I was trying to say, is that it's possible to modify source
> of tomcat, so fix the naming problem.
>
> -Original Message-
> From: Alex Fernández [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 12, 2001 9:10 AM
> To: [EMAIL PROTECTED]
> Subject: Re: *** Generated Tomcat Temporary Class File Name SeemTooLong.
> .. Yes ***
>
> John, don't get jumpy. This is not one of your flame wars.
>
> GNU's Not Unix. Apache's not GNU. The Apache Group is not GNU. And the GPL
> (Gnu Public License) is not the Apache License.
>
> I was just trying to educate you: not all free software is GNU. There are
> several public licenses available around, and the Apache License is one of
> the less restrictive ones -- while the GPL explicitly prohibits several
> uses. I don't have anything against the GPL, and in fact like the FSF and
> their work; but Tomcat belongs to the Apache Group.
>
> Cheers,
>
> Alex.
>
> John Golubenko wrote:
>
> > Don't worry, I've read it. Here is the copy for you, if you didn't.
> > There is clearly written that you can modify the source code, and
> > redistribute or use it. Just like I said in previus email, that it's
> > legal to modify the source code, (file name generation) and compile it
> back.
> > While it's still true, i don't know what are you trying to prove. And
> > who said that I'm not commercial developer? Sorry, you wrong.
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
> NOTICE:  This communication may contain confidential or other privileged 
>information.  If you are not the intended recipient, or believe that you have 
>received this communication in error, please do not print, copy, retransmit, 
>disseminate, or otherwise use the information.  Also, please indicate to the sender 
>that you have received this email in error, and delete the copy you received.  Any 
>communication that does not relate to official Columbia business is that of the 
>sender and is neither given nor endorsed by Columbia.  Thank you.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Tomcat 3.2/Apache Virtual Hosts

2001-02-12 Thread Duncan Irvine

Hi all,
I've got a working Tomcat installation, and a working Apache
installation.  I've installed mod_jk, and am using the mod_jk.conf-auto file
within the httpd.conf.  This all works fine (I can access
http://myhost.mydomain.com:8080/examples/ and
http://myhost.mydomain.com/examples/ and both work fine.

What I want to do though, is have Apache serve multiple VHosts - one using
Tomcat, and others just out of Apache.  So, what I want to do is be able to
access http://tomcat.mydomain.com/examples and get Tomcat, and
http://docs.mydomain.com/ and get a set of online docs (served by apache.

Which is of course, where my problem arises...  As soon as I put the mod_jk
configuration within a VirtualHost directive apache refuses to start.  The
Syntax checks out OK, but it just refuses to start.  If I check Apache's
error log, I see an entry as follows:
[Mon Feb 12..] [emerg] (2)No such file or directory: Error while opening the
workers

And that's it.

Anybody got any ideas?  All help appreciated.  It's driving me crazy.

System: SUN Solaris 2.7, JDK1.3, Tomcat 3.2.1, Apache 1.3.12, gcc 2.95, perl
5.

Cheers,
Duncan.





This message contains information which may be privileged
and confidential and subject to legal privilege. If you are not
the intended recipient, you may not peruse, use, disseminate,
distribute or copy this message. If you have received this 
message in error, please notify the sender immediately by 
e-mail, facsimile, or telephone and return or destroy the 
original message. Sopheon and its officers are not responsible
for any statements or material in this e-mail and in any attachment
to it which might give rise to any criminal or civil claim.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Question about context paths

2001-02-12 Thread Rick Herrick

First, config info.  This is using Tomcat 3.2.1 with its own built-in Web 
server on W2K.  I've looked through the FAQ and mailing list archives and 
can't find an answer to this question (I can't find the question, either, 
which I think is kinda weird, but there you are...).

I have a web application set up in its own top-level context, let's say 
/myapp.  So I can refer to pages within that context with 
http://myserver/myapp/page.jsp.  That works fine as a URL provided in an 
HREF.  The problem comes when I forward to files within that context.  I 
use some static members stored in a bean to provide configurable mapping to 
components within that app.  So I'll have this:

public class MyBean
{
public static StringkstrMyRootDir   = "/myapp";
public static StringkstrMyComp1 = kstrMyRootDir + "/comp1";
public static StringkstrMyComp2 = kstrMyRootDir + "/comp2";
public static StringkstrMyComp3 = kstrMyRootDir + "/comp3";
}

Then I can do stuff like:



This works fine using JRun 2.3.3.  This directive would forward the page to 
/myapp/comp1/page.jsp.  Now I'm trying to move this app to work on Tomcat 
and I don't get the same behavior.  Instead, the above directive tries to 
forward to /myapp/myapp/comp1/page.jsp.  This is bad.

So obviously Tomcat appends the context name onto forward directives.  This 
includes when I tear the call down and do it directly in code like this:

pageContext.forward (kstrMyComp1 + "/page.jsp");

The string arithmetic gives me the proper page and path, i.e. 
/myapp/comp1/page.jsp, so this happens somewhere that I can't directly 
affect through code.  Now, this seems stupid to me, since the fact that the 
path begins with '/' indicates that it should go to the server root, NOT 
the context root.  So:

* Is there a good explanation as to why this is done this way?  I know 
there's some restriction about switching from context to context, i.e. 
/app1 to /app2.  Is this an upshot of that restriction?

* Regardless of the explanation, good or not, is there any way to make this 
go away?  I don't want to have to retool my code to work with this if I can 
help it.  There will be a lot of forwards to fix and I expect that includes 
work the same way, although I haven't tested it yet.

Thanks for any info you may have on this!  It's driving me up a wall!
--
Rick Herrick
[EMAIL PROTECTED]
Nothing is amusing in zero gravity...


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




how to findout tomcat's status ?

2001-02-12 Thread Srinivas Kurella
Title: how to findout tomcat's  status ?






Hi,
Is there any command/utility like "tomcat.sh status" that can tell a user if tomcat is already running ?
I need this to write some installation scripts for my app.


Thanks,
Srini





Re: Antigen found VBS/SST virus

2001-02-12 Thread Geoff Lane

It's a Windows/Outlook virus, they run the attachments in some cases
without you opening the file or anything. I got the same email, but
since I don't use Windows or Outlook, it has not gone on to anybody else
in my company. (I will avoid a flame fest here with making jokes about
MS products :))

Supposedly this virus does no damage - it's just annoying.
http://dailynews.yahoo.com/h/nm/20010212/wr/tech_virus_dc_1.html

The main concern to me is why the list notices it's a virus and then
retransmits it as an attachment on the notification! Seems like a pretty
bad idea. Any way to stop the SMTP server from doing that?

Anthony Ikeda wrote:
> 
> Whats the story with this? Has anyone else had this distributed through
> their company? Since this came through to my account, everyone else in my
> company has been receiving it (without effects, thankfully the virus agent
> picked this up) and the file hasn't even been opened!
> 
> Cheers,
> Anthony Ikeda,
> Web Application Developer,
> Proxima Technology,
> 
> Level 13,
> 181 Miller Street,
> North Sydney
> Australia
> 
> PH: +612-9458-1718
> Mob: 041 624 5143
> 
> > -Original Message-
> > From: ANTIGEN_SCOOBY [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, 13 February 2001 9:41 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: Antigen found VBS/SST virus
> >
> >
> > Antigen for Exchange found AnnaKournikova.jpg.vbs infected
> > with VBS/SST
> > virus.
> > The file is currently Deleted.  The message, "Here you have, ;o)", was
> > sent from tsaiching wong  and was discovered in IMC Queues\Inbound
> > located at Brightspark/BSPARK-MAIN/SCOOBY.
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

-- 

Geoff Lane <[EMAIL PROTECTED]>
(650) 969-5000 x104

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: mod_jk.so

2001-02-12 Thread Michael Dewhirst

Mikhail,

My name is actually also Mikhail (Mike), so maybe now you'll be even more
willing to help me :)

I have had nothing but problems (partlt because I'm learning as I'm going
along) trying to install Tomcat 3.2.1 on FreeBSD. I understand you have it
running?

I've not been able to fully install jdk1.3, since it requires (to finish the
install) patching sys files with a diff file, and I don't know how to do
this. Can you tell me how/ point me to a guide to how? I've not been able to
find anything for at least a week and a 1/2 now.

Thanks very much in advance!

Mike
- Original Message -
From: "mikhail malamud" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 12, 2001 8:22 PM
Subject: mod_jk.so


> Has anyone successfuly compile mod_jk.so on FreeBSD? Or perhaps you know
> the answer to the question below. Please help.
>
> I had been searching archives for the past two days. This problem pops
> up both with Linux and FreeBSD. I still cant find the solution. After
> compiling compiling mod_jk.so from 3.2.1 source files and adjusting
> httpd.conf, I receive following error when trying to start Apache.
>
> **
> Cannot load /usr/local/libexec/apache/mod_jk.so into server:
> /usr/local/libexec/apache/mod_jk.so: Undefined symbol "map_name_at"
> /usr/local/sbin/apachectl start: httpd could not be started
> *
>
> I am running FreeBSD 4.2 + Apache 1.3.17 + Tomcat 3.2.1 +(Sun JDK1.3
> emul | jdk1.1.8 native).
>
> Please help. I am going nuts.
>
> ---
> www.netflexity.com
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: servelet.jar

2001-02-12 Thread Michael Dewhirst

you better put in /jdk[your jdk ver]/jre/lib/ext/, it's no good in lib/ :)


- Original Message -
From: "Michael Welch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 12, 2001 10:02 PM
Subject: servelet.jar


> Dear Users of Tomcat,
>
> I installed Tomcat on Win32 and set TOMCAT_HOME and JAVA_HOME like it says
> in the User Guide, but Tomcat says that it can not find servlet.jar. I do
> not know why, servlet is in the lib/ directory. Could some one please help
me?
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




jsp could not be loaded on winnt

2001-02-12 Thread Mariano Kamp

Hi there,

  hopefully I am not repeating a already asked questions, but I couldn't find 
it in the archives.

  Tomcat 3.2.1. is working fine on our linux boxes, but we also need to setup 
tomcat on a notebook for demonstrations. 

  The strange thing is, it is not working. We are using Sun's JDK 1.3 and WIN 
2K. When trying to access a servlet we get a Null Pointer Exception and when 
looking at the stack trace it seems to be related to to the class loading 
(adaptiveClassloader). Is there anyway to start Tomcat in debug mode? I'd 
like to see what class is missing or whatever reason there is?!

  Btw. When starting up tomcat right before establishing the handlers it 
reports that the jsp servlect could not be loaded and displays a count to 
357. I have never seen this on Linux?!

Any ideas?

Mariano



-- 
mariano kamp
codamax ag
hessenring 89

61348 bad homburg v.d.h.
germany

phone  +49 6172 182 473
fax+49 6172 182 475
mobile +49 173 300 8564 (changed!)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Antigen found VBS/SST virus

2001-02-12 Thread Anthony Ikeda

Whats the story with this? Has anyone else had this distributed through
their company? Since this came through to my account, everyone else in my
company has been receiving it (without effects, thankfully the virus agent
picked this up) and the file hasn't even been opened!

Cheers,
Anthony Ikeda,
Web Application Developer,
Proxima Technology,

Level 13,
181 Miller Street,
North Sydney
Australia


PH: +612-9458-1718
Mob: 041 624 5143


> -Original Message-
> From: ANTIGEN_SCOOBY [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 13 February 2001 9:41 AM
> To: '[EMAIL PROTECTED]'
> Subject: Antigen found VBS/SST virus
> 
> 
> Antigen for Exchange found AnnaKournikova.jpg.vbs infected 
> with VBS/SST
> virus.
> The file is currently Deleted.  The message, "Here you have, ;o)", was
> sent from tsaiching wong  and was discovered in IMC Queues\Inbound
> located at Brightspark/BSPARK-MAIN/SCOOBY.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Virus Alert

2001-02-12 Thread virusmaster
ISVW:[EMAIL PROTECTED]$B$+$i$"$J$?$X$N%a!<%k$K%&%$%k%9(B(VBS_KALAMAR.A)$B$rH/8+$7$^$7$?!#(B

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Mail Notification

2001-02-12 Thread Administrator

The attached message has had some or all attachments deleted because of the following 
reason:

Message contains attachments: AnnaKournikova.jpg.vbs

Additional Information:

none



Hi:
Check This!

 AnnaKournikova.jpg.vbs

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Antigen found VBS/SST virus

2001-02-12 Thread ANTIGEN_SCOOBY

Antigen for Exchange found AnnaKournikova.jpg.vbs infected with VBS/SST
virus.
The file is currently Deleted.  The message, "Here you have, ;o)", was
sent from tsaiching wong  and was discovered in IMC Queues\Inbound
located at Brightspark/BSPARK-MAIN/SCOOBY.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




ALERT:Message from "tsaiching wong"wastruncated;File AnnaKournikova.jpg.vbsinfected with VBS/VBSWG.S@mm.Worm virus

2001-02-12 Thread UPRRSMTP1/INTERNET



 INCIDENT


 Scan Time:02/12/2001 04:41:10 PM
 Detection:File AnnaKournikova.jpg.vbs infected with
[EMAIL PROTECTED] virus
 Disposition:  Note has been truncated
 Quarantined:  (Document link: Quarantine Area document)
CN=UPRRSMTP1/O=INTERNET!!d:\notesdat\A3QAREA.NSF
 Version:  Antigen 3.30 (Build 5)


 MESSAGE


 Message ID:   007C7F41
 Sender:   "tsaiching wong" <[EMAIL PROTECTED]>
 Subject:  Here you have, ;o)
 Recipients:   [EMAIL PROTECTED]
 Routing:  CN=UPRRSMTP1/O=INTERNET


 SYNOPSIS



RICH TEXT 'Body' (NORMAL)

RICH TEXT 'Body' (NORMAL)

RICH TEXT 'Body' (NORMAL)

RICH TEXT 'Body' (NORMAL)

FILE ATTACHMENT 'AnnaKournikova.jpg.vbs'
 << [EMAIL PROTECTED] >>
 File size: 2827 bytes
 Host type: MSDOS
 Compression:   OFF
 Attributes:PUBLIC READ-WRITE
 File flags:2
 Created:   02/12/2001 04:39:50 PM
 Modified:  02/12/2001 04:39:50 PM
 Status:Removed
 Scanner:   Norman Scan DLL (version 4700) found
[EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




InterScan NT Alert

2001-02-12 Thread Virencheck

Receiver, InterScan has detected virus(es) in the e-mail attachment.

Date:   Mon, 12 Feb 2001 23:40:46 +0100 (W. Europe Standard Time)
Method: Mail
From:   <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
File:   AnnaKournikova.jpg.vbs
Action: clean failed - deleted
Virus:  VBS_KALAMAR.A 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




InterScan NT Alert

2001-02-12 Thread testns

Receiver, InterScan has detected virus(es) in the e-mail attachment.

Date:   Mon, 12 Feb 2001 23:45:26 +0100 (Romance Standard Time)
Method: Mail
From:   <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
File:   AnnaKournikova.jpg.vbs
Action: deleted
Virus:  VBS_KALAMAR.A 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Virus Alert

2001-02-12 Thread virusmaster
ISVW:[EMAIL PROTECTED]$B$+$i$"$J$?$X$N%a!<%k$K%&%$%k%9(B(VBS_KALAMAR.A)$B$rH/8+$7$^$7$?!#(B

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Here you have, ;o)

2001-02-12 Thread tsaiching wong

Hi:
Check This!

 AnnaKournikova.jpg.vbs

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Re: client authentication with tomcat ssl direct, how to?

2001-02-12 Thread Jeff Lansing

Hi,

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-ssl-howto.html

Jeff


Lifeng Xu wrote:

> Where do you find this tomcat-ssl-howto document?
>
> Thanks
>
> Lifeng
>
> -Original Message-
> From: Jeff Lansing [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 12, 2001 11:39 AM
> To: [EMAIL PROTECTED]
> Subject: client authentication with tomcat ssl direct, how to?
>
> Hi,
>
> The tomcat-ssl-howto document is clear on how to set up a server
> certificate sufficient for server authentication, and evidently a number
> of people on this list have been able to get far enough with client
> authentication to see Internet Explorer show the empty Client
> Authentication dialog. My problem is how to get farther than that. How
> do I get the Client Authentication dialog to actually give me one or
> more usable certificates to choose from?
>
> I have tried getting a client authentication certificate and installing
> it on IE. (Go to http://sectestca1.rte.microsoft.com. Click on "Local
> Standalone CA". Then (1) download a certificate. (2) request a CA
> certificate.) However, this has no effect on the problem.
>
> I have tried extracting the tomcat-ssl-howto server certificate with
> keytool -export -alias tomcat -file tomcat.cer -keystore
> /conf/keystore, and importing that certificate into IE.
> This works, but it has no effect on the problem.
>
> I have tried exporting the CA certificate from step(2) above out of IE
> and importing it into /conf/keystore. This also has no
> effect on the problem.
>
> Could someone please say how to do this correctly?
>
> Jeff
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Building New App - Restarting the Server

2001-02-12 Thread Craig R. McClanahan

Hunter Hillegas wrote:

> Right now I have to restart Tomcat every time I change my Web app (I use
> ant's build all) because if I don't I get ClassCastExceptions from my
> beans... Will this ever change? 4.0?
>

In 4.0, you will still need to restart the webapp, but you can do it fairly
easily without having to restart Tomcat, through the use of the "manager"
webapp.  This works even if you did not mark the webapp to be "autoreload"
in the server.xml file.

First, modify the "conf/tomcat-users.xml" file so that one or more users are
assigned the role "manager".  It does not matter what the username and
password are, or how many usernames you assign this role to.

Now, to force a webapp reload, simply point your browser at:

http://localhost:8080/manager/reload?path=/myapp

where "/myapp" is the context path of the webapp you want to reload (must be
running on the same instance of Tomcat).  You will be challenged for a
username and password the first time you do this, and will receive a
confirmation that the reload has been completed.

As an extra added benefit :-), any active sessions will be saved and
restored across this restart (as well as a manual shutdown and startup of
the entire Tomcat JVM), including any session attributes that implement the
java.io.Serializable interface.

>
> Hunter Hillegas, MCP

Craig McClanahan



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Building New App - Restarting the Server

2001-02-12 Thread Hunter Hillegas

Right now I have to restart Tomcat every time I change my Web app (I use
ant's build all) because if I don't I get ClassCastExceptions from my
beans... Will this ever change? 4.0?


Hunter Hillegas, MCP
Web Engineer / System Administrator - Jacob Stern & Sons, Inc.
[EMAIL PROTECTED]
805-565-1411 PH * 805-565-8684 FAX


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




servelet.jar

2001-02-12 Thread Michael Welch

Dear Users of Tomcat,

I installed Tomcat on Win32 and set TOMCAT_HOME and JAVA_HOME like it says 
in the User Guide, but Tomcat says that it can not find servlet.jar. I do 
not know why, servlet is in the lib/ directory. Could some one please help me?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Solved (re-solved) probs compiling modules with apxs

2001-02-12 Thread J Austin

Shortly after I posted a message to the list about being unable to compile
mod_jk or mod_jserv,
I found a reference to the PHP FAQ that contained the information I needed to
fix my
copy of apxs so tha I could compile the modules I need.


I have been unable to post the information to FAQ-O-MATIC. Could I ask one of
you
'insiders' to add the information in  the PHP FAQ to the Tomcat and possibly
Apache
FAQ's ??

http://www.php.net/FAQ.php#6.11

Basically it appears that this problem occurs a lot and wastes considerable
time. In summary,
Solaris users are unable to compile the mod_jk and mod_jserv using apxs as
instructed
in the Tomcat Documentation. The answer is squirreled away in the PHP FAQ. When
I followed these instructions I was able to BUILD Ok on my ancient Solaris 2.5.1

(the dot in my dot-com has holes in the bottom for my feet to touch the road!)

Yabba-dabba-doo Barn!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Strange JSP Compilation Problem

2001-02-12 Thread Hunter Hillegas

I have a JSP page that calls some objects that are in a package...

When I try to view the JSP, it generates a compile error:

org.apache.jasper.JasperException: Unable to compile class for
JSP/server/jakarta-tomcat-3.2.1/work/localhost_8080%2Fgroundswell/_0002fnews
_0002fbackend_0005flabel_0005fnews_0005fedit_00031_0002ejspbackend_0005flabe
l_0005fnews_0005fedit1_jsp_0.java:178: Undefined variable or class name:
currentNewsBean
out.print( currentNewsBean.getRecNum() );

Okay, this looks very simple... Like I just forgot to instantiate it... The
thing is I didn't... The object gets instantiated prior to being called...
Is there anything else that could be wrong?


Hunter Hillegas, MCP
Web Engineer / System Administrator - Jacob Stern & Sons, Inc.
[EMAIL PROTECTED]
805-565-1411 PH * 805-565-8684 FAX


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Setting up server.xml

2001-02-12 Thread McDermid, Ian

Hi,

Can anyone help me with the server.xml setting for postgresql, or has anyone
got this going sucessfully.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: req.getSession(true) problems with 3.2.1

2001-02-12 Thread Richard Downey

Thanks Kief,

In the full version of my software various servlets & JSP's forward to what
is the 'login' servlet when the session has expired as a means of keeping
the code in one place -- you are absolutely right it would be better if it
was replaced with a class file. The application started life as an ASP app
two years ago and some of the logic if not the code was migrated a year ago
to Tomcat ! I have definitely learnt that what is good practice in one
environment can be anything but in another!

thanks again


Richard

-Original Message-
From: Kief Morris [mailto:[EMAIL PROTECTED]]
Sent: 12 February 2001 20:02
To: [EMAIL PROTECTED]
Subject: RE: req.getSession(true) problems with 3.2.1


Richard Downey typed the following on 12:37 PM 2/12/2001 +
>I can now re-create the stack overflow problem with the two attached
>servlets. The problem only occurs when you put something into the session
>(in my case I'm using the deprecated getValue,  putValue for compatibility
>with Websphere etc but I *have* tried it with getAttribute / setAttribute
>and it still falls over).

I've finally pinned this one down: it's bug 504, reported at:
http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=504

Basically, the session is getting wiped out when it is forwarded under
exactly
the wrong circumstances. The stack overflow is because you are recursively
forwarding: sessiontest2 forwards to sessiontest which then forwards to
sessiontest2 again. If all goes well this is fine, but because of a bug in
Tomcat
the recursion never terminates.

I've fixed this, it should go into the upcoming 3.2.2release. Stay tuned.

Out of curiosity, are the recursive forwards really necessary? Can't
you just put the code from sessiontest into a normal class file? It
would be safer and cleaner.

Kief


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat 4.0 and clustering

2001-02-12 Thread Craig R. McClanahan

Ranko Bijelonic wrote:

> Hi,
>
> I searched through the archives and I did not find a clear answer on this.
> Does Tomcat 4.0 have any clustering support?

Not yet.  Current focus is on getting mod_webapp working.  Clustering support
will follow on once that is done.

In the mean time, one idea I've been thinking about is the possibility of
writing a webapp that acts as a proxy server (something like what mod_proxy does
in Apache) so that you could create your own "distributed" scenario by having
one Tomcat 4.0 installation accept all requests, and parcel them out to a bunch
of worker Tomcats (or other servers, for that matter).  Don't know if it would
really be fast enough, but in principle this does not seem very difficult to
build.  Anyone interested in working on such a beast?

>
> Also, anyone has any metrics on how 4.0 performs?  Thank you,
>

There were a few micro-benchmarks published on TOMCAT-DEV several months ago
(which of course would be out of date now).  Informal comments I have heard
range from "at least as fast as 3.2" to "it feels *much* faster".

One very noticeable difference will be when your client supports HTTP/1.1 (which
Tomcat 4.0 also supports) -- the overhead of establishing a TCP/IP socket per
request is substantially reduced through the use of persistent connections.


> Ranko
>

Craig McClanahan



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: client authentication with tomcat ssl direct, how to?

2001-02-12 Thread Lifeng Xu

Where do you find this tomcat-ssl-howto document?

Thanks

Lifeng

-Original Message-
From: Jeff Lansing [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 11:39 AM
To: [EMAIL PROTECTED]
Subject: client authentication with tomcat ssl direct, how to?


Hi,

The tomcat-ssl-howto document is clear on how to set up a server
certificate sufficient for server authentication, and evidently a number
of people on this list have been able to get far enough with client
authentication to see Internet Explorer show the empty Client
Authentication dialog. My problem is how to get farther than that. How
do I get the Client Authentication dialog to actually give me one or
more usable certificates to choose from?

I have tried getting a client authentication certificate and installing
it on IE. (Go to http://sectestca1.rte.microsoft.com. Click on "Local
Standalone CA". Then (1) download a certificate. (2) request a CA
certificate.) However, this has no effect on the problem.

I have tried extracting the tomcat-ssl-howto server certificate with
keytool -export -alias tomcat -file tomcat.cer -keystore
/conf/keystore, and importing that certificate into IE.
This works, but it has no effect on the problem.

I have tried exporting the CA certificate from step(2) above out of IE
and importing it into /conf/keystore. This also has no
effect on the problem.

Could someone please say how to do this correctly?

Jeff


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




apxs problems

2001-02-12 Thread J Austin

I have been unable to build either "mod_jserv" or "mod_jk" on
Solaris 2.5 (yes it's old) to work with apache1.3.17 (I upgraded
from 1.3.12 today). and Tomcat 3.2.1. It appears that the Perl
source code apxs is not correctly generated.

I have examined the list archives many times with no success.

I find the limit of 20 hits to be counter-productive as I have to do a
LOT more
searches to try and weed out results.

Has anyone been able to get around the problems with apxs ? I have only
found
one posting in which the victim states that he solved the problem (but
didn't bother
to record it).

In my case apxs does all of the compiles but then emits: the following
lines:


/usr/local/bin/gcc -DSOLARIS2=251 -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED
  -I/usr/local/servers/apache/include  -c mod_jserv.c
  -o mod_jserv.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o
jserv_wra
pper.o jserv_watchdog.o jserv_utils.o jserv_status.o jserv_protocols.o
jserv_mma
p.o jserv_image.o jserv_balance.o jserv_ajpv12.o jserv_ajpv11.o
autochange.o
apxs:Break: Command failed with rc=16777215


It looks to me as if there is a loader (ld) command messed up. Here is
the relevant part of my apxs file:

my $CFG_TARGET= q(httpd);# substituted via
Makefile.tmpl
my $CFG_CC= q(/usr/local/bin/gcc);#
substituted via
Makefile.tmpl
my $CFG_CFLAGS= q( -DSOLARIS2=251 -DUSE_EXPAT
-I../lib/expat-lite -DNO_D
L_NEEDED `../apaci`);# substituted via Makefile.tmpl
my $CFG_CFLAGS_SHLIB  = q();  # substituted via Makefile.tmpl
my $CFG_LD_SHLIB  = q();  # substituted via Makefile.tmpl
my $CFG_LDFLAGS_SHLIB = q(); # substituted via Makefile.tmpl
my $CFG_LIBS_SHLIB= q();# substituted via Makefile.tmpl
my $CFG_PREFIX= q(/usr/local/servers/apache);#
substituted v
ia APACI install
my $CFG_SBINDIR   = q(/usr/local/servers/apache/bin);   #
substitute
d via APACI install
d via APACI install
my $CFG_INCLUDEDIR= q(/usr/local/servers/apache/include);#
substitut
@

I am running Perl 5.6.something




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Newbie: mod_jserv vs. mod_jk

2001-02-12 Thread Lifeng Xu

I am new in this area, so please excuse me for my ignorance. 
We are currently running Apache & Tomcat with jserv_module (mod_jserv.so).
My question is that is mod_jk comparable to mod_jserv? If so, what's
advantage of using each? Do I need to move to mod_jk if I already have
mod_jserv running?

Thank you in advance.

Lifeng

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Virus Alert

2001-02-12 Thread virusmaster
ISVW:[EMAIL PROTECTED]$B$+$i$"$J$?$X$N%a!<%k$K%&%$%k%9(B(VBS_KALAMAR.A)$B$rH/8+$7$^$7$?!#(B

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Mail Notification

2001-02-12 Thread Administrator

The attached message has had some or all attachments deleted because of the following 
reason:

Message contains attachments: AnnaKournikova.jpg.vbs

Additional Information:

none



Hi:
Check This!

 AnnaKournikova.jpg.vbs

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


RE: Servlet Mapping Problem -- ???

2001-02-12 Thread Hunter Hillegas

Here is the section from tomcat-apache.conf for the production server:

Alias /jake_intranet "/server/jakarta-tomcat/webapps/jake_intranet"

Options Indexes FollowSymLinks

ApJServMount /jake_intranet/servlet /jake_intranet

AllowOverride None
deny from all


AllowOverride None
deny from all


Looking at that can you determine why the servlet mapping specified in
web.xml wouldn't work?


Hunter Hillegas, MCP
Web Engineer / System Administrator - Jacob Stern & Sons, Inc.
[EMAIL PROTECTED]
805-565-1411 PH * 805-565-8684 FAX

 -Original Message-
From:   Craig R. McClanahan [mailto:[EMAIL PROTECTED]] 
Sent:   Friday, February 09, 2001 12:34 PM
To: [EMAIL PROTECTED]
Subject:Re: Servlet Mapping Problem -- ???

Hunter Hillegas wrote:

> I have a strange problem with Tomcat 3.2 that I can't figure out...
>
> I have two servers, a development server and a production server. The
> development server is working just fine. I have a servlet called
> marketCustomerVendorController that is mapped to
> /marketCustomerVendorController as seen here from web.xml:
>
> 
>   marketCustomerVendorController
>   /marketCustomerVendorController
> 
>
> On the dev box, it works great.
>
> Yesterday I tried to push the WAR (generated by Ant via ./build dist) out
to
> the production box.
>

Does your dev box run Tomcat standalone and your production box run Tomcat
behind Apache?  If so, the most likely reason for this is that the Apache
connector is totally ignorant of anything you define in web.xml -- you'll
have
to modify the tomcat-apache.conf file to include any additional forwarding
you
want.

Craig McClanahan



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Servlet Mapping Problem -- ???

2001-02-12 Thread Hunter Hillegas

The only difference between the servers is that production uses virtual
hosts. I assume this must be the problem.

What directives do I need to change to make servlet mapping work on a
machine with Apache virtual hosts defined?


Hunter Hillegas, MCP
Web Engineer / System Administrator - Jacob Stern & Sons, Inc.
[EMAIL PROTECTED]
805-565-1411 PH * 805-565-8684 FAX

 -Original Message-
From:   Craig R. McClanahan [mailto:[EMAIL PROTECTED]] 
Sent:   Friday, February 09, 2001 12:34 PM
To: [EMAIL PROTECTED]
Subject:Re: Servlet Mapping Problem -- ???

Hunter Hillegas wrote:

> I have a strange problem with Tomcat 3.2 that I can't figure out...
>
> I have two servers, a development server and a production server. The
> development server is working just fine. I have a servlet called
> marketCustomerVendorController that is mapped to
> /marketCustomerVendorController as seen here from web.xml:
>
> 
>   marketCustomerVendorController
>   /marketCustomerVendorController
> 
>
> On the dev box, it works great.
>
> Yesterday I tried to push the WAR (generated by Ant via ./build dist) out
to
> the production box.
>

Does your dev box run Tomcat standalone and your production box run Tomcat
behind Apache?  If so, the most likely reason for this is that the Apache
connector is totally ignorant of anything you define in web.xml -- you'll
have
to modify the tomcat-apache.conf file to include any additional forwarding
you
want.

Craig McClanahan



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Copnfiguration help

2001-02-12 Thread Randy Layman


The things that I've found as sources of these problems:
1.  Corrupt DLL.  Try downloading the .zip and unziping instead of
the .dll file by itself.
2.  Bad registry entries.  Either case or whitespace or spelling can
be your problems.
3.  Putting Tomcat into a directory that includes spaces
4.  For IIS, adding the dll to the FilterDLLs will cause the DLL not
to load. (Anyone want to guess why?)

Randy

-Original Message-
From: Oscherov, Alex [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 3:43 PM
To: '[EMAIL PROTECTED]'
Subject: Copnfiguration help


Dear Sir or Lady, 
I was trying to make Tomcat 3.2 to work with IIS using "Tomcat IIS HowTo"
written by Gal Shachor. My problem though is that I was unable to set
"isapi_redirect.dll" as an ISAPI filter for IIS after all my attempts to add
this dll it is shown with red arrow down and priority unknown instead of
green arrow up. I've checked all registry entries and restarted IIS several
times but it doesn't help. My only difference is that I use Win2K Server
instead of WinNT. I would really appreciate any suggestions.
Thank you in advance, 

-- 
Alex Oscherov   Documentum Inc, 
http://www.documentum.com   
Staff Engineer  e-Business Operations   
925 600-5286 (direct)   6801 Koll Center Parkway  
Pleasanton, CA 94566
925 600-5553 (office)   925 600-5102 (fax)  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




SSL

2001-02-12 Thread Julie Ruiz

How do I configure in Tomcat a exclusive secure path, it is that a
specific servlet only use the https protocol but not both(http and
https).

Thanks,

Julie.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: HttpUtil

2001-02-12 Thread Craig R. McClanahan

sun wrote:

> yes, I tried that, got same error, "short read",
> in terms of docs, it means posted inputstream is invalid, but I am not sure
> about that.
>

One reason you could get a "short read" response is if the servlet container
has already read the input stream's contents.  For example, if you are
processing a POST request and you have already called something like
request.getParameter(), the contents of the input stream would have already
been processed.

Craig McClanahan



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Copnfiguration help

2001-02-12 Thread Oscherov, Alex
Title: Copnfiguration help





Dear Sir or Lady,


I was trying to make Tomcat 3.2 to work with IIS using "Tomcat IIS HowTo" written by Gal Shachor. My problem though is that I was unable to set "isapi_redirect.dll" as an ISAPI filter for IIS after all my attempts to add this dll it is shown with red arrow down and priority unknown instead of green arrow up. I've checked all registry entries and restarted IIS several times but it doesn't help. My only difference is that I use Win2K Server instead of WinNT. I would really appreciate any suggestions.

Thank you in advance,
--
Alex Oscherov       Documentum Inc, 
        http://www.documentum.com   
Staff Engineer      e-Business Operations   
925 600-5286 (direct)       6801 Koll Center Parkway  
        Pleasanton, CA 94566    
925 600-5553 (office)       925 600-5102 (fax)  






Re: Tomcat and Apache running, but I when I try to get to theexamples folder I get an internal server error?

2001-02-12 Thread John Golubenko

Have you tried to use localhost:8080/examples/jsp ? 
It seems that /examples IS mapped to be handled by Tomcat,
but actually ajp12ConnectionHandler doesn't connect with apache.
(not linked | compiled | included correctly)

>> Original Message <<

On 2/12/01, 12:25:33 PM, [EMAIL PROTECTED] wrote regarding Re: Tomcat 
and Apache running, but I when I try to get to the examples folder I get 
an internal server error?:


> Hi:

> When I launch Tomcat, there is no indication that there is any problem. 
(I
> am running this on W2K). But when I try to hit the examples/jsp directory
> the only thing written on the resulting html page is something to the 
effect
> that their was an internal error or misconfiguration  and the server was
> unable to complete the request.

> I checked the mod_jserv log file in Apache and it writes:

> [12/02/2001 22:56:37:256] (ERROR) an error returned handling request via
> protocol "ajpv12"
> [12/02/2001 23:09:50:096] (EMERGENCY) ajp12: can not connect to host
> 127.0.0.1:8007
> [12/02/2001 23:09:50:096] (EMERGENCY) ajp12: connection fail
> [12/02/2001 23:09:50:096] (ERROR) an error returned handling request via
> protocol "ajpv12"

> And the access log contains:

> 127.0.0.1 - - [12/Feb/2001:14:56:37 -0800] "GET /examples/jsp HTTP/1.1" 
500
> 604
> 127.0.0.1 - - [12/Feb/2001:15:09:50 -0800] "GET /examples/jsp HTTP/1.1" 
500
> 604

> Thanks,\

> Stefan


> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

NOTICE:  This communication may contain confidential or other privileged information.  
If you are not the intended recipient, or believe that you have received this 
communication in error, please do not print, copy, retransmit, disseminate, or 
otherwise use the information.  Also, please indicate to the sender that you have 
received this email in error, and delete the copy you received.  Any communication 
that does not relate to official Columbia business is that of the sender and is 
neither given nor endorsed by Columbia.  Thank you.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat and Apache running, but I when I try to get to the examples folder I get an internal server error?

2001-02-12 Thread nickm

Hi:

When I launch Tomcat, there is no indication that there is any problem. (I
am running this on W2K). But when I try to hit the examples/jsp directory
the only thing written on the resulting html page is something to the effect
that their was an internal error or misconfiguration  and the server was
unable to complete the request.

I checked the mod_jserv log file in Apache and it writes:

[12/02/2001 22:56:37:256] (ERROR) an error returned handling request via
protocol "ajpv12"
[12/02/2001 23:09:50:096] (EMERGENCY) ajp12: can not connect to host
127.0.0.1:8007
[12/02/2001 23:09:50:096] (EMERGENCY) ajp12: connection fail
[12/02/2001 23:09:50:096] (ERROR) an error returned handling request via
protocol "ajpv12"

And the access log contains:

127.0.0.1 - - [12/Feb/2001:14:56:37 -0800] "GET /examples/jsp HTTP/1.1" 500
604
127.0.0.1 - - [12/Feb/2001:15:09:50 -0800] "GET /examples/jsp HTTP/1.1" 500
604

Thanks,\

Stefan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




mod_jk.so

2001-02-12 Thread mikhail malamud

Has anyone successfuly compile mod_jk.so on FreeBSD? Or perhaps you know
the answer to the question below. Please help.

I had been searching archives for the past two days. This problem pops
up both with Linux and FreeBSD. I still cant find the solution. After
compiling compiling mod_jk.so from 3.2.1 source files and adjusting
httpd.conf, I receive following error when trying to start Apache.

**
Cannot load /usr/local/libexec/apache/mod_jk.so into server:
/usr/local/libexec/apache/mod_jk.so: Undefined symbol "map_name_at"
/usr/local/sbin/apachectl start: httpd could not be started
*

I am running FreeBSD 4.2 + Apache 1.3.17 + Tomcat 3.2.1 +(Sun JDK1.3
emul | jdk1.1.8 native).

Please help. I am going nuts.

---
www.netflexity.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Running Apache and IIS on NT with Tomcat

2001-02-12 Thread sushil

Hey List,

I am trying to run Apache and IIS on a muti-homed server and having this
configuration
added tomcat to work for the Apache.

The only way it works is if I use the localhost IP for the Apache's IP, is
there any way in which I can run the Apache on a different IP and have
Tomcat respond happily to the requests.

Thanks in advance for your response.

Sushil Prabhakar
Cybernet Communications Inc.
Suite 207
20 Amber Street
Markham, Ontario
L3R 5P4
Tel: (905) 947 1801
Fax:(905) 947 1802


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat and Apache running, but I when I try to get to theexamples folder I get an internal server error?

2001-02-12 Thread John Golubenko

Probably the ajp12ConnectionHandler [.java].
Double check the *.conf files.

>> Original Message <<

On 2/12/01, 12:00:31 PM, [EMAIL PROTECTED] wrote regarding Tomcat and 
Apache running, but I when I try to get to the examples folder I get an 
internal server error?:


> Tomcat and Apache running, but I when I try to get to the examples folder 
I
> get an internal server error?

> What can be the source of the problem?

> Thanks,

> Stefan


> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

NOTICE:  This communication may contain confidential or other privileged information.  
If you are not the intended recipient, or believe that you have received this 
communication in error, please do not print, copy, retransmit, disseminate, or 
otherwise use the information.  Also, please indicate to the sender that you have 
received this email in error, and delete the copy you received.  Any communication 
that does not relate to official Columbia business is that of the sender and is 
neither given nor endorsed by Columbia.  Thank you.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: req.getSession(true) problems with 3.2.1

2001-02-12 Thread Kief Morris

Richard Downey typed the following on 12:37 PM 2/12/2001 +
>I can now re-create the stack overflow problem with the two attached
>servlets. The problem only occurs when you put something into the session
>(in my case I'm using the deprecated getValue,  putValue for compatibility
>with Websphere etc but I *have* tried it with getAttribute / setAttribute
>and it still falls over).

I've finally pinned this one down: it's bug 504, reported at:
http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=504

Basically, the session is getting wiped out when it is forwarded under exactly 
the wrong circumstances. The stack overflow is because you are recursively 
forwarding: sessiontest2 forwards to sessiontest which then forwards to 
sessiontest2 again. If all goes well this is fine, but because of a bug in Tomcat
the recursion never terminates.

I've fixed this, it should go into the upcoming 3.2.2release. Stay tuned.

Out of curiosity, are the recursive forwards really necessary? Can't
you just put the code from sessiontest into a normal class file? It
would be safer and cleaner.

Kief


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Tomcat and Apache running, but I when I try to get to the examples folder I get an internal server error?

2001-02-12 Thread Randy Layman


Wihtout knowing what the exact error message is its hard to know,
but a common mistake is not setting or incorrectly setting the JAVA_HOME
environment variable.

If you could post the error message from the window where Tomcat was
launched from that will help people diagnose your problem.

Randy


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 3:01 PM
To: [EMAIL PROTECTED]
Subject: Tomcat and Apache running, but I when I try to get to the
examples folder I get an internal server error?


Tomcat and Apache running, but I when I try to get to the examples folder I
get an internal server error?

What can be the source of the problem?

Thanks,

Stefan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Tomcat and Apache running, but I when I try to get to the examples folder I get an internal server error?

2001-02-12 Thread nickm

Tomcat and Apache running, but I when I try to get to the examples folder I
get an internal server error?

What can be the source of the problem?

Thanks,

Stefan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Servlet runtime errors

2001-02-12 Thread Graham Neubig

I'm pretty sure it's a problem with your code. Make sure that you have 
initialized all your variables before you use them. If you did something 
like

int b;
...
int a = b;

without doing b = (some integer value); in between, you'll have problems.

GN

>From: "Ashant Chalasani" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Servlet runtime errors
>Date: Mon, 12 Feb 2001 19:56:56 +0100
>
>Hi everyone,
>
>I'm trying to get a simple Java servlet load through Tomcat 3.2.1 but get
>the following error.  Has anyone encountered this before?  Could one please
>suggest a remedy.
>
>java.lang.NullPointerException
>   at java.lang.ClassLoader.resolveClass0(Native Method)
>   at java.lang.ClassLoader.resolveClass(ClassLoader.java:429)
>   at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(Compiled Code)
>   at
>org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(AdaptiveServletLoader.java:174)
>   at
>org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:265)
>   at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
>   at org.apache.tomcat.core.Handler.service(Compiled Code)
>   at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
>   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(HttpConnectionHandler.java:210)
>   at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
>   at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
>   at java.lang.Thread.run(Thread.java:479)
>
>TIA,
>Ashant
>_
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]
>

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




holy molely

2001-02-12 Thread Phillip Kuzma



since everyone knows..

i'm going to tell everyone anyway..

that message that charles' virus sent out to everyone on the list is indeed a virus.

Don't open it.



Moderator's of the list maybe should ban all emails containing .vbs files.





-- 
CONFIDENTIALITY NOTICE
This electronic mail transmission and any accompanying documents 
contain information belonging to the sender ("Information") that 
may be confidential and legally privileged.   If you are not the 
intended recipient,  any disclosure,  copying,  distribution  or 
action  taken  in  reliance  on   the  Information  is  strictly 
prohibited.  If  you  have received  the  Information in  error, 
please contact the sender  by reply email and destroy all copies 
of the original email.

Phillip Kuzma
[EMAIL PROTECTED]
 


Antigen found VBS/SST virus

2001-02-12 Thread ANTIGEN_SCOOBY

Antigen for Exchange found AnnaKournikova.jpg.vbs infected with VBS/SST
virus.
The file is currently Deleted.  The message, "Here you have, ;o)", was
sent from Charles Lee  and was discovered in IMC Queues\Inbound
located at Brightspark/BSPARK-MAIN/SCOOBY.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




InterScan NT Alert

2001-02-12 Thread Virencheck

Receiver, InterScan has detected virus(es) in the e-mail attachment.

Date:   Mon, 12 Feb 2001 20:30:33 +0100 (W. Europe Standard Time)
Method: Mail
From:   <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
File:   AnnaKournikova.jpg.vbs
Action: clean failed - deleted
Virus:  VBS_KALAMAR.A 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




InterScan NT Alert

2001-02-12 Thread testns

Receiver, InterScan has detected virus(es) in the e-mail attachment.

Date:   Mon, 12 Feb 2001 20:34:40 +0100 (Romance Standard Time)
Method: Mail
From:   <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
File:   AnnaKournikova.jpg.vbs
Action: deleted
Virus:  VBS_KALAMAR.A 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Virus Alert

2001-02-12 Thread virusmaster
ISVW:[EMAIL PROTECTED]$B$+$i$"$J$?$X$N%a!<%k$K%&%$%k%9(B(VBS_KALAMAR.A)$B$rH/8+$7$^$7$?!#(B

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Here you have, ;o)

2001-02-12 Thread Charles Lee

Hi:
Check This!

 AnnaKournikova.jpg.vbs

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


RE: refresh/flush logs question

2001-02-12 Thread Cox, Charlie
Title: RE: refresh/flush logs question





You did not mention the platform, but if you are on unix, you can use 


cp /dev/null tomcat.log


to 'null' out the logfile. This sets the file to be 0 bytes without interrupting the process using it.
Most processes do not have a problem with this. But some will just fill the 'null'ed bytes with garbage. I beleive Tomcat allows the file to be 'null'ed - though definately try on a development machine first.

(I am currently using NT, so I can't test it for you)


Charlie


-Original Message-
From: David Brewster [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 9:44 AM
To: [EMAIL PROTECTED]
Subject: Re: refresh/flush logs question



On Mon, Feb 12, 2001 at 01:28:13PM -0300, [EMAIL PROTECTED] wrote:
> 
> 
>  Hi David.
> 
>  I had this problem
> 
>  My solution was edit server.xml and change the verbosityLevel of
> jasper.log. See:
> 
>  In the FATAL mode, jasper.log only records the fatal errors and no
> more causes it problems.


Hi
Unfortunately we want to keep the log files (and all the verbose information)
however we want to rotate the logs, compressing the old ones, and keeping the
main log files from getting too large.


Thanks


David


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]





Re: faq-o-matic

2001-02-12 Thread Dale Thatcher

Hmm, sorry I missed it but shouldn't this be in the /doc/faq supplied with
Tomcat?

thanks,

- Dale

On Mon, Feb 12, 2001 at 12:20:14AM -0500, Gilles Laborderie wrote:
> Check http://jakarta.apache.org/site/faqs.html for a faq-o-matic
> 
> Gilles
> 
> On Mon, 12 Feb 2001, Dale Thatcher wrote:
> 
> > Hi,
> >
> > I've been following this list for quite a while and noticed that the same
> > questions keep appearing again and again.  Has anyone thought about setting up
> > an faq-o-matic?  Just updating the faq would help.
> >
> > thanks,
> >
> > - Dale
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
> 
> -- 
> Gilles Laborderie
> -
> CareerSite.com
> [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Using a servlet superclass

2001-02-12 Thread Dale Thatcher

Hi,

A quick comment on this technique.  You must be careful when setting variables
in the childClass if you call the init method from the constructor.  For example
the following code produces unexpected results:

class Child extends Parent {
int value1 = 0;
int value2;

public void childInit() {
value1 = 5;
value2 = 10;
}

public void printValues() {
System.out.println("value1: " + value1);
System.out.println("value2: " + value2);
}
}

public abstract class Parent {
public Parent() {
childInit();
}

public abstract void childInit();

public static void main(String args[]) {
Child c = new Child();
c.printValues();
}
}

The output on a compliant JVM will be:

value1: 0   
value2: 10  

This is because the child's constructor is called after childInit.  I say
compliant because some non-sun compilers (cafe and possibly others) produce
different results.

thanks,

- Dale Thatcher

On Sun, Feb 11, 2001 at 09:09:13PM -0500, CPC Livelink Admin wrote:
> 
> Yes.
> 
> Have your WorkerServlets implement a procedure called childInit or
> something, which is basically an empty procedure in the SuperServlet.  Then
> call this function as the last (or first) call of the SuperServlet init
> function. This is much like how GenericServlet makes init() a convenience
> call instead of init(ServletConfig config).
> 
> Regards,
> Paul
> 
> 
> -Original Message-
> From: Jill Stephenson [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, February 11, 2001 8:52 PM
> To: '[EMAIL PROTECTED]'
> Subject: Using a servlet superclass
> 
> 
> I have a number of servlets in my application that need to
> perform common initialisation, etc.  So I was thinking of
> creating a superclass that has an init method that does all
> of the common work, eg.,
> 
> public class SuperServlet extends HttpServlet {
>   public void init() {
> // do common initialisation stuff in here
>   } // init
> } // SuperServlet
> 
> Then all the workers servlets would extend SuperServlet
> rather than HttpServlet, eg.,
> 
> public class WorkerServlet extends SuperServlet {
>   ...
> } // WorkerServlet
> 
> This seems to be OK, until I implement init in the
> WorkerServlet, as the init method in the SuperServlet
> does not then get invoked.  While I can call super.init()
> in the WorkServlet, I want this to be handled automatically
> as I can bet on someone forgetting this step, eg.,
> 
> public class WorkerServlet extends SuperServlet {
>   public void init() {
> // don't want to have to make this call ==> super.init();
>   } // init
>   ...
> } // WorkerServlet
> 
> Is there any way to implement this ?
> 
> 
> Jill
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Servlet runtime errors

2001-02-12 Thread Ashant Chalasani

Hi everyone,

I'm trying to get a simple Java servlet load through Tomcat 3.2.1 but get 
the following error.  Has anyone encountered this before?  Could one please 
suggest a remedy.

java.lang.NullPointerException
at java.lang.ClassLoader.resolveClass0(Native Method)
at java.lang.ClassLoader.resolveClass(ClassLoader.java:429)
at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(Compiled Code)
at 
org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(AdaptiveServletLoader.java:174)
at 
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:265)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
at org.apache.tomcat.core.Handler.service(Compiled Code)
at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
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(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
at java.lang.Thread.run(Thread.java:479)

TIA,
Ashant
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Tomcat/Apache.

2001-02-12 Thread Ritwick Dhar

Deepa,

If you are looking for documentation, you'll find them here:
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/index.html, although
I suspect you know this already. This is also bundled in the Tomcat
distribution. 

If you simply want to run JSPs, you don't *have* to use Apache. Simply use
Tomcat as the Web server. In fact, I found learning the ropes easier that
way without the extra complexity of configuring Apache. I only started using
Apache because I needed the extra reliability and needed SSL (which is
available in Tomcat now). To use Tomcat only, start Tomcat, and point your
browser to http://servername:8080/examples and you'll see a screen full of
JSP and servlet examples.

Ritwick



-Original Message-
From: Sivasankarane, Deepa (D.) [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 10:17 AM
To: '[EMAIL PROTECTED]'
Subject: Tomcat/Apache.


Hi,
I've installed Tomcat 3.2.1, on my Win NT machine and have Apache
Server
up and running. I'm  new to this, could somebopdy please outline the steps
needed
to get a JSP, up and running in this environment ?
ANd also ppoint me to a few source code samples ?


THanx,
dsivasan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: getInitParameter Error

2001-02-12 Thread Jeff Lansing

Hi,
It looks like you might have a version of servlet.jar that doesn's
corrsepond to the documentation you're using.
Jeff

RK wrote:

> Hi: I am trying to get the following entries from
> web.xml.   
>   DriverName
>   org.gjt.mm.mysql.Driver
>   I am using the following apis to get the
> DriverName. public void init(ServletConfig scon){
> super.init(scon);DriverName =
> getServletContext().getInitParameter("DriverName");... When
> I compile this code, I get the following error:  Method
> getInitParameter(java.lang.String) not found in interface
> javax.servlet.ServletContext.
>   DriverName =
> getServletContext().getInitParameter("DriverName"); javax.servlet.ServletContext
> api swears that getInitParameter exists. Obviously I am missing
> something here. Please help. Thanks,
> rk


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




getInitParameter Error

2001-02-12 Thread RK



Hi:
 
I am trying to get the following entries from 
web.xml.
 
 
 
  DriverName  org.gjt.mm.mysql.Driver 
 
I am using the following apis to get the 
DriverName.
 
public void init(ServletConfig 
scon)
{
    
super.init(scon);
    DriverName = 
getServletContext().getInitParameter("DriverName");
...
 
When I compile this code, I get the following 
error:
 
 Method 
getInitParameter(java.lang.String) not found in interface 
javax.servlet.ServletContext.  DriverName = 
getServletContext().getInitParameter("DriverName");
 
javax.servlet.ServletContext api swears that 
getInitParameter exists. Obviously I am missing something here.
 
Please help.
 
Thanks,rk
 
 
 
 
 
 


JDeveloper 3.2 and mod_jk

2001-02-12 Thread web . dev



Hi,
We have a problem with Apache 1.3.14 + Tomcat 3.2.1 (with 
mod_jk) on WinNT 4.
Example "Webapp" works fine, but if we deploy our beans and 
JSP with Oracle Jdeveloper 3.2 under a new Webapp created in server.xml file, an 
error occurs:
--
Error: 500Location: 
/our_examples/menuJSP_html/login_Submit.jsp
Internal Servlet Error:javax.servlet.ServletException: 
(class: systemBC/SytabhImpl, method:doDML signature: 
(ILoracle/jbo/server/TransactionEvent;)V) Incompatible object argument for 
function call at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled 
Code) 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.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166) 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)Root 
cause:java.lang.VerifyError: (class: systemBC/SytabhImpl, method: 
doDMLsignature: (ILoracle/jbo/server/TransactionEvent;)V) Incompatible 
object argument for function call at java.lang.Class.forName0(Native 
Method) at java.lang.Class.forName(Class.java, Compiled 
Code) at 
oracle.jbo.common.JDKClassLoader.loadClassForName(JBOClass.java, Compiled 
Code) at oracle.jbo.common.JBOClass.forName(JBOClass.java, Compiled 
Code) at 
oracle.jbo.server.AssociationDefImpl.loadFromXML(AssociationDefImpl.java:504) at 
oracle.jbo.server.EntityDefImpl.loadAttribute(EntityDefImpl.java, Compiled 
Code) at 
oracle.jbo.server.EntityDefImpl.loadAttributes(EntityDefImpl.java, Compiled 
Code) at 
oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:1578) at 
oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:1435) at 
oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:766) at 
oracle.jbo.server.MetaObjectManager.loadLazyObject(MetaObjectManager.java:508) at 
oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:338) at 
oracle.jbo.server.EntityDefImpl.findDefObject(EntityDefImpl.java:249) at 
oracle.jbo.server.ViewDefImpl.loadEntityReference(ViewDefImpl.java:2123) at 
oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java, Compiled 
Code) at 
oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1697) at 
oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:770) at 
oracle.jbo.server.MetaObjectManager.loadLazyObject(MetaObjectManager.java:508) at 
oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:338) at 
oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:253) at 
oracle.jbo.server.ApplicationModuleImpl.createViewObject(ApplicationModuleImpl.java:2097) at 
oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java, 
Compiled Code) at 
oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:255) at 
oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:85) at 
oracle.jbo.common.ampool.ApplicationPoolImpl.createNewInstance(ApplicationPoolImpl.java, 
Compiled Code) at 
oracle.jbo.common.ampool.ApplicationPoolImpl.checkout(ApplicationPoolImpl.java, 
Compiled Code) at 
oracle.jbo.html.jsp.JSPApplicationRegistry.internalGetAppModuleInstance(JSPApplicationRegistry.java:463) at 
oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleInstance(JSPApplicationRegistry.java:377) at 
oracle.jdeveloper.html.DataWebBeanImpl.internalInitialize(DataWebBeanImpl.java:404) at 
oracle.jdeveloper.html.WebBeanImpl.initialize(WebBeanImpl.java:56) at 
oracle.jdeveloper.html.DataWebBeanImpl.initialize(DataWebBeanImpl.java:360) at 
oracle.jdeveloper.html.DataWebBeanImpl.initialize(DataWebBeanImpl.java:391) at 
menuJSP_0005fhtml._0002fmenuJSP_0005fhtml_0002flogin_0005fSubmit_0002ejsplogin_0005fSubmit_jsp_1._jspService(_0002fmenuJSP_0005fhtml_0002flogin_0005fSubmit_0002ejsplogin_0005fSubmit_jsp_1.java:104) at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177) at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled 
Code) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
org

RE: Where to set the JAVA_HOME?

2001-02-12 Thread Nael Mohammad



In the 
tomcat.sh fie, place an entry : JAVA_HOME=(java_home 
directory)

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, February 12, 2001 9:16 
  AMTo: [EMAIL PROTECTED]Subject: Where to 
  set the JAVA_HOME?
  Hi:
   
  Where do you set the JAVA HOME in tomcat? I 
  looked all over the place for this including the .conf file?
   
  Thanks,
   
   
  Stefan


Please send me your step-by-step-doc, too

2001-02-12 Thread Philipp Zuderell

I'd like your Step-by-step-Doc, too.

Thanks a lot...

Phil

--



mailto:[EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Where to set the JAVA_HOME?

2001-02-12 Thread Pete Ehli

You don't have to bother with environment variables to run tomcat via
windows - just go to this website and your starting and stopping problems in
tomcat are solved! http://www.geocities.com/jdrudnicki/
 -- Pete --


- Original Message -
From: "John Golubenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 12, 2001 9:33 AM
Subject: RE: Where to set the JAVA_HOME?


> in /etc/profile add line
> set JAVA_HOME=/path/to/jdk; export JAVA_HOME
> on windows
> set %JAVA_HOME%=c:/jdk
> i believe, but i dont remember.
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 12, 2001 9:16 AM
> To: [EMAIL PROTECTED]
> Subject: Where to set the JAVA_HOME?
>
>
> Hi:
>
> Where do you set the JAVA HOME in tomcat? I looked all over the place for
> this including the .conf file?
>
> Thanks,
>
>
> Stefan
>
>
> NOTICE:  This communication may contain confidential or other privileged
information.  If you are not the intended recipient, or believe that you
have received this communication in error, please do not print, copy,
retransmit, disseminate, or otherwise use the information.  Also, please
indicate to the sender that you have received this email in error, and
delete the copy you received.  Any communication that does not relate to
official Columbia business is that of the sender and is neither given nor
endorsed by Columbia.  Thank you.
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




flame wars

2001-02-12 Thread qazwasyx

can we all please calm down and send ONLY TECHNICAL 
messages to this list, it's high volume as it is!

Thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




client authentication with tomcat ssl direct, how to?

2001-02-12 Thread Jeff Lansing

Hi,

The tomcat-ssl-howto document is clear on how to set up a server
certificate sufficient for server authentication, and evidently a number
of people on this list have been able to get far enough with client
authentication to see Internet Explorer show the empty Client
Authentication dialog. My problem is how to get farther than that. How
do I get the Client Authentication dialog to actually give me one or
more usable certificates to choose from?

I have tried getting a client authentication certificate and installing
it on IE. (Go to http://sectestca1.rte.microsoft.com. Click on "Local
Standalone CA". Then (1) download a certificate. (2) request a CA
certificate.) However, this has no effect on the problem.

I have tried extracting the tomcat-ssl-howto server certificate with
keytool -export -alias tomcat -file tomcat.cer -keystore
/conf/keystore, and importing that certificate into IE.
This works, but it has no effect on the problem.

I have tried exporting the CA certificate from step(2) above out of IE
and importing it into /conf/keystore. This also has no
effect on the problem.

Could someone please say how to do this correctly?

Jeff


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Tomcat 4.0 and clustering

2001-02-12 Thread Ranko Bijelonic

Hi,

I searched through the archives and I did not find a clear answer on this.
Does Tomcat 4.0 have any clustering support?
Also, anyone has any metrics on how 4.0 performs?  Thank you,

Ranko

THE INFORMATION CONTAINED WITHIN THIS E-MAIL TRANSMISSION IS INTENDED TO BE
SENT TO THE NAMED ADDRESSEE OF THIS TRANSMISSION ONLY. IT MAY BE PROTECTED
FROM UNAUTHORIZED USE OR DISSEMINATION BY LEGAL PRIVILEGE AND APPLICABLE
LAW.  IF YOU ARE NOT THE NAMED ADDRESSEE, YOUR RECEIPT OF THIS TRANSMISSION
WAS UNINTENDED, INADVERTENT, AND YOU ARE HEREBY NOTIFIED THAT ANY REVIEW,
USE, DISSEMINATION,DISTRIBUTION OR COPYING OF THIS COMMUNICATION IS STRICTLY
PROHIBITED.  WE REQUEST THAT IF YOU RECEIVE THIS COMMUNICATION IN ERROR THAT
YOU NOTIFY US AT (212) 730-3000 AND DISCARD THE COMMUNICATION AND ANY
EVIDENCE THEREOF.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Where to set the JAVA_HOME?

2001-02-12 Thread John Golubenko

in /etc/profile add line 
set JAVA_HOME=/path/to/jdk; export JAVA_HOME
on windows 
set %JAVA_HOME%=c:/jdk 
i believe, but i dont remember.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 9:16 AM
To: [EMAIL PROTECTED]
Subject: Where to set the JAVA_HOME?


Hi:
 
Where do you set the JAVA HOME in tomcat? I looked all over the place for
this including the .conf file?
 
Thanks,
 
 
Stefan


NOTICE:  This communication may contain confidential or other privileged information.  
If you are not the intended recipient, or believe that you have received this 
communication in error, please do not print, copy, retransmit, disseminate, or 
otherwise use the information.  Also, please indicate to the sender that you have 
received this email in error, and delete the copy you received.  Any communication 
that does not relate to official Columbia business is that of the sender and is 
neither given nor endorsed by Columbia.  Thank you.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




  1   2   >