default pageEncoding

2002-07-23 Thread Dmitry Melekhov

Hello!

Is it possible to set default pageEncoding for jsps?


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




RE: default pageEncoding

2002-07-23 Thread Eric Leung

Hi,

yes, just like HTML add a line like this:
META HTTP-EQUIV=Content-Type Content=text/html; Charset=iso-8859-1
 

 
character set

Eric




Hello!

Is it possible to set default pageEncoding for jsps?


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



Re: default pageEncoding

2002-07-23 Thread Dmitry Melekhov

Eric Leung wrote:
 Hi,
 
 yes, just like HTML add a line like this:
 META HTTP-EQUIV=Content-Type Content=text/html; Charset=iso-8859-1
  
 
  
 character set
 
 Eric
 

I understand.
But our devepopers are too lazy ;-)
They don't want to write this line in every jsp...
Is it possible to configure Tomcat (something else) to set default encoding?

 
 
 
 Hello!
 
 Is it possible to set default pageEncoding for jsps?
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 




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




AW: default pageEncoding

2002-07-23 Thread Ralph Einfeldt

AFAIK it not possible to set the default encoding by configuration.
But you could write a servlet filter that does this.

 -Ursprungliche Nachricht-
 Von: Dmitry Melekhov [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 23. Juli 2002 08:26
 An: Tomcat Users List
 Betreff: Re: default pageEncoding
 
 I understand.
 But our devepopers are too lazy ;-)
 They don't want to write this line in every jsp...
 Is it possible to configure Tomcat (something else) to set default
encoding?
 

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




Re: AW: default pageEncoding

2002-07-23 Thread Dmitry Melekhov

Ralph Einfeldt wrote:
 AFAIK it not possible to set the default encoding by configuration.

:-(

 But you could write a servlet filter that does this.
 

Could you tell me how?
As I understand, pageEncoding directive works at compile time
and it is impossible to do this with filter?


 
-Ursprungliche Nachricht-
Von: Dmitry Melekhov [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 23. Juli 2002 08:26
An: Tomcat Users List
Betreff: Re: default pageEncoding

I understand.
But our devepopers are too lazy ;-)
They don't want to write this line in every jsp...
Is it possible to configure Tomcat (something else) to set default
 
 encoding?
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 




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




newbie please softlinks problems with tomcat 4.1.7 ?

2002-07-23 Thread CouasPhilippe

Hi

Two questions
1 why with tomcat 4.0.4 i can acces on an absolute lin ln -s /appli appli 
created in ROOT directory, and with tomcat 4.1.7 i have an 404 error ???

2 why with Tomcat 4.0.4 i have an java.lang.NoClassDefFoundError: 
com/sun/xml/tree/XmlDocument  and that is good with tomcat 4.1.7 ?


Thanks

Philippe


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




RE: Question about servlets

2002-07-23 Thread Gattaz, Olivier

Hello

with the GET method, your data are sent in the URL. There are various
documented and undocumented limits to URLs. A reasonable limit appears to be
4K. Warning: the length of the datas passed in the URL is the ID of your
input objects and their datas.

with the post method, the situation is more complex, see
http://www.w3.org/TR/html4/interact/forms.html
NOTE: with the form content type application/x-www-form-urlencoded  and
tomcat 4.0.4 I can detect a limit around 11Ko

Olivier Gattaz 
Adonix - 5 avenue Victor Hugo - 38130 Echirolles - France

-Message d'origine-
De : Jean-Baptiste Onofré [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 22 juillet 2002 21:54
À : Tomcat Users List
Objet : Re: Question about servlets


Hello,

with get method you're limited to 255 chars.
In post, no limit.

-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://lug-beziers.org
[EMAIL PROTECTED]

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

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




AW: localhost vs IP address in the URL

2002-07-23 Thread Power-Netz \(Schwarz\)


 on the same machine where tomcat is installed. Using localhost is 20 times
 slower than using IP address.

names - ip resolves take time . not caching the name - ip result will take
MUCH MORE TIME :))


 Doesnt make a difference if I use Apache/AJP/Tomcat or Direct to
 Tomcat web
 server.

If you had a Unix system i would say your resolve.conf is messed,
normaly a system looks FIRST to your local hosts.conf AND THAN
asks a nameserver for the IP to a given name ( localhost ).

I guess your system asks the nameserver first and looks then locally for
localhost ip. Check your TCP/IP settings .


M.Schwarz


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




AW: TOMCAT + SSL or APACHE+TOMCAT+SSL??

2002-07-23 Thread Power-Netz \(Schwarz\)


 Hello,

 I need to have SSL certificate . Web server is Tomcat4.04 serving
 static and
 dynamic pages. Should i upgrade it to APACHE+TOMCAT+SSL or TOMCAT+SSL will
 do? .

TOMCAT+SSL will do.


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




How can I access files that are in the webapps directory?

2002-07-23 Thread Laurence Turpin

Hi 

I have installed Tomcat 4.04 on my Mandrake 8.2 server.
The problem I have is that the book I am reading tells me to put my files in the 
webapps directory, but when I try to access them Tomcat automatically looks for them 
in the webapps/ROOT directory. Should I alter my configuration in some way to make 
webapps the root directory, or should I put all my files in the webapps/ROOT directory?



Re: Jboss application server

2002-07-23 Thread Richard Plukker

put your war file in an ear file.
Or put the servlets in an ear file conform the j2ee spec.
Than when you put it in the deploy directory of your jboss installation, 
your webapp will be deployed.

Visit the free documentation of www.jboss.org or look for a tutorial on 
deploying applications in jboss.
good luck,

Richard



Alessio Bettiol wrote:

Thank you for your interest in my question.
I have downloaded from www.jboss.org the new version (3.0.0) of the famous 
application server, the version that includes tomcat 4.0.3 inside, 
pre-configured.
You can launch it in standalone mode or with jboss, but ... it works only in 
standalone mode.
With jboss, the configuration file that jboss give to tomcat isn't server.xml, 
but tomcat4-service.xml, in another directory 
($jboss_home/server/default/deploy)
When all services are started, I try to connect with a web-browser at 
http://localhost:8080, then I see this message: 'no context configured for 
this application', even if the context blocks are present and the context 
default block (with path set to nothing) also.

The thing I've tried was to connect tomcat4 launched from jboss with the 
'webapps' directory.

Can you give me help?

Thanks a lot!!

Alex from Italy


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


  





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




AW: How can I access files that are in the webapps directory?

2002-07-23 Thread Ralph Einfeldt

Put them in the webapps/ROOT directory.

webapps is the parent directory for all contexts.
ROOT is the directory for the default context.
Unless you define a new context (web application)
it's enough to put your files in the ROOT directory

 -Ursprüngliche Nachricht-
 Von: Laurence Turpin [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 23. Juli 2002 10:10
 An: Tomcat Users List
 Betreff: How can I access files that are in the webapps directory?
 
 Should I alter my configuration in some way to make 
 webapps the root directory, or should I put all my 
 files in the webapps/ROOT directory?
 

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




Re: How can I access files that are in the webapps directory?

2002-07-23 Thread Willis Boyce

Laurence,

Looks like your book is a little clueless.

You can have multiple apps installed and running as part of a single
Tomcat server.  Each app has a separate directory under webapps and also a
context path.  The context path tells Tomcat the path under which the
application lives from the client's perspective.  If your server is
www.foo.com and you have an application installed under webapps/xyzzy and
its context path is /xyzzy, then a client request for
www.foo.com/xyzzy/somepage.jsp will be mapped to
webapps/xyzzy/somepage.jsp.  Usually it's a good idea to name your context
paths after the directory in your application lives just for ease of
maintenance, however you can map one application to context path /, and
this is the application that Tomcat will access when clients do not
provide any other context path.  If you look in your server.xml you'll see
that the ROOT application is mapped to / by default.  If you have your app
in webapps/xyzzy then change server.xml to map the xyzzy application to /.

W

On Tue, 23 Jul 2002, Laurence Turpin wrote:

 Hi

 I have installed Tomcat 4.04 on my Mandrake 8.2 server. The problem I
 have is that the book I am reading tells me to put my files in the
 webapps directory, but when I try to access them Tomcat automatically
 looks for them in the webapps/ROOT directory. Should I alter my
 configuration in some way to make webapps the root directory, or should
 I put all my files in the webapps/ROOT directory?



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




AW: AW: default pageEncoding

2002-07-23 Thread Ralph Einfeldt

Sorry, my answer was a bit to fast.

There is more than one aspect of the encoding:

- Compiletime
  This aspect defines which character set is/was used to write the
source
  of the page. That's what you can define with the -encoding option of
javac.

  I'm not shure, how to specify that for tomcat without the
pagedirective.
  (As far as I can see, it's not possible to configure the encoding in
web.xml)

- Runtime
  This aspect defines the default character encoding while reading from
streams and 
  writing to streams. This can be controlled by the system property
file.encoding.
  I would expect that if you set this attribute, your value is used by
tomcat to
  generate and compile the page. (The spec is quite open at that point:
'A JSP 
  container may use some implementation-dependent heuristics and/or
  structure to determine what the expected character encoding of a JSP
is...')
  I haven't tried this.

- Requesttime
  This aspect defines which character set shall be used to read the
request
  from the client and to write the response to the client. This can be
controlled
  by a filter.

 -Ursprungliche Nachricht-
 Von: Dmitry Melekhov [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 23. Juli 2002 08:35
 An: Tomcat Users List
 Betreff: Re: AW: default pageEncoding
 
 Could you tell me how?
 As I understand, pageEncoding directive works at compile time
 and it is impossible to do this with filter?
 

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




symbol table

2002-07-23 Thread Johnny


 How to display symbol table associated with objects, archive library of
objects or executable files in Java?

 In C language, we use nm command, but how about Java?


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




RE: help please with error-page?

2002-07-23 Thread Bronwen Cassidy

Some strange things seem to be happening, and i would be gratefull for any
pointers. I am using Tomcat standalone version 4.0.4 on windows2K and also
the same running on solaris 8. I am using web-app_2_3.dtd, i have one filter
(an XSLTFilter), the app uses struts and everything works as it should
except for the welcome-file-list, the error-page tags, and if any errors
occur.

The jsp's are xml-jsps which then are transformed using the xsltfilter.

After starting tomcat i navigate to http://localhost:8080/myapp/ and expect
to see the login.jsp which is not in the top level but under myapp/jsps, i
have tried in my welcome-file-listwelcome-file variations of
jsps/login.jsp, /jsps/login.jsp, myapp/jsps/login.jsp,
/myapp/jsps/login.jsp, and out of desperation
http://localhost:8080/myapp/jsps/login.jsp

The results of the above attempts are
1) the file listing of the myapp directory
2)this exception:

ApplicationDispatcher[/csrtool] Servlet.service() for servlet jsp threw
exception
java.lang.IllegalStateException: getOutputStream() has already been called
for this response
at
org.apache.catalina.connector.ResponseBase.getWriter(ResponseBase.java:750)
at
org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:1
65)
at
org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:166)
at
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:158)
at
org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:205)
at
org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:177)
at
org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFacto
ryImpl.java:198)
at
org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.j
ava:193)
at org.apache.jsp.ioerror$jsp._jspService(ioerror$jsp.java:91)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:201)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:683)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:431)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:355)
at
org.apache.catalina.valves.ErrorDispatcherValve.custom(ErrorDispatcherValve.
java:391)
at
org.apache.catalina.valves.ErrorDispatcherValve.throwable(ErrorDispatcherVal
ve.java:250)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:178)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
at java.lang.Thread.run(Thread.java:484)

I get the same errors for the error-page link??? and feel the problem is
the same. I have a slave driver tester who insists on copy and pasting urls
which will cause nullPointerExceptions, though i have the %@ page
language=java errorPage=../error.jsp% and have 

error-page
error-code500/error-code
location/jsps/error500.jsp/location
  /error-page
  
  error-page
exception-typejava.io.IOException/exception-type
location/jsps/ioerror.jsp/location
  /error-page
  
  error-page
exception-typejava.lang.NullPointerException/exception-type
location/jsps/nullerror.jsp/location
  /error-page

defined in web.xml i always get the Apache Tomcat/4.0.4 - HTTP Status 500 -
Internal Server Error page with the above exception in the logs and
java.io.IOException: The stream has been closed

Re: symbol table

2002-07-23 Thread Willis Boyce

The javap utility (included with the JDK) will tell you about the methods,
variables and scopes, and bytecodes of any Java class.  Try javap -private
your.class.Name and then work from there.

W

On Tue, 23 Jul 2002, Johnny wrote:


  How to display symbol table associated with objects, archive library of
 objects or executable files in Java?

  In C language, we use nm command, but how about Java?


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




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




Re: AW: AW: default pageEncoding

2002-07-23 Thread Dmitry Melekhov

Ralph Einfeldt wrote:
 Sorry, my answer was a bit to fast.
 
 There is more than one aspect of the encoding:
 
 - Compiletime
   This aspect defines which character set is/was used to write the
 source
   of the page. That's what you can define with the -encoding option of
 javac.
 
   I'm not shure, how to specify that for tomcat without the
 pagedirective.
   (As far as I can see, it's not possible to configure the encoding in
 web.xml)
 
 - Runtime
   This aspect defines the default character encoding while reading from
 streams and 
   writing to streams. This can be controlled by the system property
 file.encoding.
   I would expect that if you set this attribute, your value is used by
 tomcat to
   generate and compile the page. (The spec is quite open at that point:
 'A JSP 
   container may use some implementation-dependent heuristics and/or
   structure to determine what the expected character encoding of a JSP
 is...')
   I haven't tried this.
 
 - Requesttime
   This aspect defines which character set shall be used to read the
 request
   from the client and to write the response to the client. This can be
 controlled
   by a filter.


Thank you!

I think that javac -encoding is what I need.
You write that you don't know way to set it in web.xml...
But may be this is possible?



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




Tomcat 4.0.2

2002-07-23 Thread saikat ganguly

Dear Sir,
 
How can I configure Tomcat 4.0.2, as for serving  my
jsp and servlet requests and also integrate it, with
apache(for html requests).I have j2sdk1.4.0 and
jsdk2.1
running on windows98.Please help.
 
Saikat Ganguly

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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




In which version of Tomcat can i find Tag Pooling

2002-07-23 Thread shanmugampl

Hi all,

There was an option to enable tag pooling in tomcat 3.3. Is the same 
functionality still available in tomcat4.0.4 or 4.1.7 beta. I downloaded 
both and was not able to find any provision in the corresponding 
server.xml files. Can someone tell me whether tag pooling support is 
provided or not. If yes how can i achieve it.

Another thing is that i have a jsp page with lot of custom tags. 
When i access this particular page while running tomcat4.0.4, the page 
is getting served properly. But if the same page is run using 
tomcat4.1.7 beta i get a nullpointer exception in my tag at the 
following line given in bold letters.

public int doEndTag() throws JspTagException
{
try
{
bodyContent.writeOut(bodyContent.getEnclosingWriter());
}
catch(IOException e)
{
throw new JspTagException(e.getMessage());
}
return Tag.EVAL_PAGE;
}   

In the page i may use the tag as
My:Tag/
or as
My:Tag
---
/My:Tag
   
My tag extends BodyTagSupport. Here i dont know the reason for 
bodyContent being null. Is there any change between 4.0.4 and 4.1.7 
versions of tomcat in the handling of tags.

In my page i have the following set of tags
tag
tag 1
tag 2/
tag 2/
tag 2/
/tag1
/tag

Here the tag1 is an iteration tag. There are conditions present such 
that only one of the tag2 will be executed during every execution.The 
out put will be a table with 5 columns. In tomcat4.1.7 beta alone the 
page is getting displayed with nearly 15 columns with all the columns 
duplicated 3 to 4 times. It seems that the tags are getting ececuted 
everytime. Have i missed out something in my tomcat configuration. It 
would be of great help if someone can tell me where i went wrong.

Thanks in Advance
Shanmugam.PL




tomcat and relative links

2002-07-23 Thread Günter Kukies

Hi,

what does tomcat do with relative links like this /mywebapp/public/images/image.gif.
What I see (in the logs) is tomcat cuts off /mywebapp to find the correct webapp. 
Then it tries to map /public/images/image.gif. In the log i can see 3 or 4 tries to 
map something (Extention etc.).
But I don't understand why tomcat can't get the image directly. Can I switch off this 
behavior. 
Is this behavior waste of time?

Thanks

Günter Kukies






Tomcat 4.0.3 and non-asci characters (JSP pages)

2002-07-23 Thread Ryszard Lach


Hi!

Could anyone explain how are non-ascii characters processed by Tomcat ?
I have the following configuraton:

Tomcat 4.0.3 running with apache (mod_webapp), environment: LANG=pl_PL,
JDK1.4.0 with command-line parameter -Djavax.servlet.request.encoding=ISO-8859-2

JSP page with '%@ page contentType=text/html;CHARSET=ISO-8859-2 %'
declared.

All polish characters are displayed in the browser correctly, they also
are inserted into database correctly, but I cannot receive them in
e-mail sent from the JSP page - all non-ASCI characters are coming in
the message as proper LATIN2 characters preceded by '' or ''
characters. When I look at the generated from JSP Java code in
~catalina/work directory, I see exactly the same.

Decompiled (generated from JSP) class contains octal codes of LATIN2
characters (i suppose there should be rather UNICODE character's codes).

Do you have any suggestion about possible ways of debugging/fixing it ?

Richard.

-- 
First they ignore you. Then they laugh at you. Then they
fight you. Then you win. - Mohandas Gandhi.

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




Tomcat 4.0.4 on RAQ - mod_webapp

2002-07-23 Thread Michele Neylon -Blacknight Solutions

If anybody can help me fix this I would be extremely grateful!
I've been trying to setup Tomcat 4.0.4 with Apache 1.3.2
When I try to use the mod_webapp connector I get the following error:
Setting up Web Service: Syntax error on line 65 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/mod_webapp.so into server: 
/etc/httpd/modules/mod_webapp.so: undefined symbol: pthread_sigmask
/usr/sbin/httpd

Any ideas no matter how crazy are welcome.
Thanks in advance.

Mr. Michele Neylon
Blacknight Solutions - affordable linux hosting
http://www.blacknightsolutions.com/


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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




RE: Tomcat 4.0.4 on RAQ - mod_webapp

2002-07-23 Thread Sullivan, Mark E

what version of linux are you running? and are you using a binary version of
mod_webapp.so, or did you build it yourself?

-Original Message-
From: Michele Neylon -Blacknight Solutions
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 6:32 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.0.4 on RAQ - mod_webapp


If anybody can help me fix this I would be extremely grateful!
I've been trying to setup Tomcat 4.0.4 with Apache 1.3.2
When I try to use the mod_webapp connector I get the following error:
Setting up Web Service: Syntax error on line 65 of
/etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/mod_webapp.so into server: 
/etc/httpd/modules/mod_webapp.so: undefined symbol: pthread_sigmask
/usr/sbin/httpd

Any ideas no matter how crazy are welcome.
Thanks in advance.

Mr. Michele Neylon
Blacknight Solutions - affordable linux hosting
http://www.blacknightsolutions.com/


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

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




RE: Tomcat 4.0.4 on RAQ - mod_webapp

2002-07-23 Thread Michele Neylon -Blacknight Solutions

At 07.15 23/07/2002 -0500, you wrote:
what version of linux are you running? and are you using a binary version of
mod_webapp.so, or did you build it yourself?

Linux version is Cobalt 6.0:
kernel-reiserfs-utils-2.2.16C32_III-2
kernel-2.2.16C32_III-2
kernel-headers-2.2.16C32_III-2

I had to build mod_webapp.so myself, as none of the binaries would work at all.


Mr. Michele Neylon
Blacknight Solutions - affordable linux hosting
http://www.blacknightsolutions.com/


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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




Help with chaining servlets via filters

2002-07-23 Thread John Rishea

Could someone please point me toward a good resource that shows an example
of chaining two servlets using a filter?  I've found lots of filter examples
during my google searches but none of them shows exactly how to chain two
servlets together with a filter.

Thanks for the help.

__
John Rishea


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




RE: Tomcat 4.0.4 on RAQ - mod_webapp

2002-07-23 Thread Sullivan, Mark E

try this:

http://www.apachelabs.org/tomcat-dev/200109.mbox/%3C1001117490.13581.20613@w
ww.purpleturtle.com%3E

-Original Message-
From: Michele Neylon -Blacknight Solutions
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 7:37 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.0.4 on RAQ - mod_webapp


At 07.15 23/07/2002 -0500, you wrote:
what version of linux are you running? and are you using a binary version
of
mod_webapp.so, or did you build it yourself?

Linux version is Cobalt 6.0:
kernel-reiserfs-utils-2.2.16C32_III-2
kernel-2.2.16C32_III-2
kernel-headers-2.2.16C32_III-2

I had to build mod_webapp.so myself, as none of the binaries would work at
all.


Mr. Michele Neylon
Blacknight Solutions - affordable linux hosting
http://www.blacknightsolutions.com/


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

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




RE: RMI and TC4.x

2002-07-23 Thread David Oxley

It does actually connect to the RMI server, but it can't download classes
from the web server. It looks like java.rmi.codebase = TC local path rather
than http://server/webapp which iks what the code sets it to.

Dave

 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
 Sent: 22 July 2002 18:25
 To: Tomcat Users List
 Subject: RE: RMI and TC4.x
 
 Howdy,
 We use RMI extensively on long-running tomcat servers (4.0.1 and 4.0.4).
 Never had any problems with it.  We even have a portion of the night
 when we do very frequent (more than 1/sec) serialization and
 deserialization of relatively large, complex (but serializable) objects
 between a number of servers.
 
 We also use JDK 1.4.0 (also tested on 1.3.1), on Solaris.  I looked at
 your bugzilla bug report, and it looked like a fairly simple
 MalformedURLException.  I wonder if this bug is related to a difference
 between tc 3.x and 4.x in the way they handle spaces in JNDI/RMI server
 URLs.  Did you try using tomcat 4.x to connect to an RMI server that
 doesn't have a space in its URL?
 
 Yoav Shapira
 Millennium ChemInformatics
 
 
 -Original Message-
 From: David Oxley [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 22, 2002 12:59 PM
 To: 'Tomcat Users List'
 Subject: RMI and TC4.x
 
 Has anyone got RMI working from within TC4.x. I had no problems under
 TC3.x,
 but just can't get it working under TC4.x.
 
 I have had a bug report outstanding for quite some time on this, but I
 was
 hoping that someone on the user list may have already got this working.
 
 http://issues.apache.org/bugzilla/show_bug.cgi?id=7082
 http://issues.apache.org/bugzilla/show_bug.cgi?id=7082
 
 
 
 Cheers.
 
 Dave.
 
 
 --
 To unsubscribe, e-mail:   mailto:tomcat-user-
 [EMAIL PROTECTED]
 For additional commands, e-mail: mailto:tomcat-user-
 [EMAIL PROTECTED]

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




RE: Tomcat 4.0.4 on RAQ - mod_webapp

2002-07-23 Thread Michele Neylon -Blacknight Solutions

I already tried that, but it didn't work :-(
I would be just as happy to use mod_jk instead of mod_webapp.so , but that 
isn't working properly either!
eg. http://www.blacknightsolutions.com/test.jsp
Although Tomcat is running it reports 404s on any jsp or servlets passed to 
it. I tried to follow the instructions on integration at:
http://www.galatea.com/flashguides/apache-tomcat-4-unix.xml
but seem to be missing something... it's all very frustrating
At 07.38 23/07/2002 -0500, you wrote:
ww.purpleturtle.com%3E

Mr. Michele Neylon
Blacknight Solutions - affordable linux hosting
http://www.blacknightsolutions.com/


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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




Configure TomCat for Virtual Hosts in Windows 2000 Server

2002-07-23 Thread Rahul Chd

hi,

I have Tomcat 4.0.4 on W2K, IIS 5 and J2SEE.

Could anyone tell me how to configure the system
so that various virtual hosts on my server can run
.jsp etc. from within their directories.

Please explain in detail with full example, related
urls,  as I don't have much experience in JSP, TomCat
etc.

I announce FREE hosting on W2K with SQL Server 2K for
1 year to the person who solves my problem.

rgds,

Rahul.

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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




RE: Tomcat 4.0.4 on RAQ - mod_webapp

2002-07-23 Thread Sullivan, Mark E

what do your JkMount statements look like? Also, how did you configure the
default context in tomcat?

-Original Message-
From: Michele Neylon -Blacknight Solutions
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 7:56 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.0.4 on RAQ - mod_webapp


I already tried that, but it didn't work :-(
I would be just as happy to use mod_jk instead of mod_webapp.so , but that 
isn't working properly either!
eg. http://www.blacknightsolutions.com/test.jsp
Although Tomcat is running it reports 404s on any jsp or servlets passed to 
it. I tried to follow the instructions on integration at:
http://www.galatea.com/flashguides/apache-tomcat-4-unix.xml
but seem to be missing something... it's all very frustrating
At 07.38 23/07/2002 -0500, you wrote:
ww.purpleturtle.com%3E

Mr. Michele Neylon
Blacknight Solutions - affordable linux hosting
http://www.blacknightsolutions.com/


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

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




RE: Tomcat 4.0.4 on RAQ - mod_webapp

2002-07-23 Thread Michele Neylon -Blacknight Solutions

At 07.49 23/07/2002 -0500, you wrote:
what do your JkMount statements look like?

JkMount /*.jsp ajp13
JkMount /servlet/* ajp13


Also, how did you configure the
default context in tomcat?

I don't understand that question - sorry!


-Original Message-
From: Michele Neylon -Blacknight Solutions
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 7:56 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.0.4 on RAQ - mod_webapp


I already tried that, but it didn't work :-(
I would be just as happy to use mod_jk instead of mod_webapp.so , but that
isn't working properly either!
eg. http://www.blacknightsolutions.com/test.jsp
Although Tomcat is running it reports 404s on any jsp or servlets passed to
it. I tried to follow the instructions on integration at:
http://www.galatea.com/flashguides/apache-tomcat-4-unix.xml
but seem to be missing something... it's all very frustrating
At 07.38 23/07/2002 -0500, you wrote:
 ww.purpleturtle.com%3E

Mr. Michele Neylon
Blacknight Solutions - affordable linux hosting
http://www.blacknightsolutions.com/


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

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


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Mr. Michele Neylon
Blacknight Solutions - affordable linux hosting
http://www.blacknightsolutions.com/


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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




RE: Tomcat 4.0.4 on RAQ - mod_webapp

2002-07-23 Thread Charles N. Harvey III

Another good way to map servlets is to copy struts.  They end all their
servlet mappings with an extension: .do.  You can call it anything you like.
But now your mod_jk mount looks like this

JkMount /*.jsp ajp13
JkMount /*.do  ajp13


Just my opinion.

Charlie

 -Original Message-
 From: Michele Neylon -Blacknight Solutions
 [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 23, 2002 9:07 AM
 To: Tomcat Users List
 Subject: RE: Tomcat 4.0.4 on RAQ - mod_webapp


 At 07.49 23/07/2002 -0500, you wrote:
 what do your JkMount statements look like?

 JkMount /*.jsp ajp13
 JkMount /servlet/* ajp13


 Also, how did you configure the
 default context in tomcat?

 I don't understand that question - sorry!


 -Original Message-
 From: Michele Neylon -Blacknight Solutions
 [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 23, 2002 7:56 AM
 To: Tomcat Users List
 Subject: RE: Tomcat 4.0.4 on RAQ - mod_webapp
 
 
 I already tried that, but it didn't work :-(
 I would be just as happy to use mod_jk instead of mod_webapp.so
 , but that
 isn't working properly either!
 eg. http://www.blacknightsolutions.com/test.jsp
 Although Tomcat is running it reports 404s on any jsp or
 servlets passed to
 it. I tried to follow the instructions on integration at:
 http://www.galatea.com/flashguides/apache-tomcat-4-unix.xml
 but seem to be missing something... it's all very frustrating
 At 07.38 23/07/2002 -0500, you wrote:
  ww.purpleturtle.com%3E
 
 Mr. Michele Neylon
 Blacknight Solutions - affordable linux hosting
 http://www.blacknightsolutions.com/
 
 
 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Mr. Michele Neylon
Blacknight Solutions - affordable linux hosting
http://www.blacknightsolutions.com/


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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


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




Re: How does Apache access more than one application on Tomcat?

2002-07-23 Thread Ashish Kulkarni

Hi,
if u have set the communication between apache and
tomcat for one appication what u need to do is just
mount the other application
JkMount /maps ajp13
JkMount /maps/* ajp13

these is an example for appication maps on tomcat


--- shi_hang [EMAIL PROTECTED] wrote:
 Is there anyone can tell me how to configure more
 than one application on tomcat+apache?
 How do we do configuration so that Apache can access
 the applications on tomcat?


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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




Compatibility between Tomcat4.04 and JDK1.22

2002-07-23 Thread Gunter D'Hondt

Is Tomcat4.0.4 compatible with Sun JDK 1.22?

Gunter



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Gunter D'Hondt
Sent: vrijdag 19 juli 2002 16:06
To: 'Tomcat Users List'
Subject: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in
Ajp13Connector.run = NoSuchMethodError


Where can I find the JDK1.3 or JDK1.4 coz on java.sun.com I can only find
the J2SE 1.3  1.4?

Gunter



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Sullivan, Mark E
Sent: vrijdag 19 juli 2002 15:47
To: 'Tomcat Users List'
Subject: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in
Ajp13Connector.run = NoSuchMethodError


this error: java.lang.NoSuchMethodError: java.net.Socket: method
setKeepAlive(Z), is caused because the method java.net.Socket.setKeepAlive()
is not in jdk1.2.2. You'll have to upgrade to jdk1.3

-Original Message-
From: Gunter D'Hondt [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 19, 2002 3:15 AM
To: 'Tomcat Users List'
Subject: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in
Ajp13Connector.run = NoSuchMethodError


Is there anybody who had the same problem and can help me out coz I'm out of
possibilities now...

Greetings,
Gunter



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Ralph Einfeldt
Sent: vrijdag 19 juli 2002 09:51
To: Tomcat Users List
Subject: AW: Apache/Tomcat/Mod_jk = setKeepAlive() in
Ajp13Connector.run = NoSuchMethodError


As i'm not a user of mod_jk, I won't burn my mouth.
Maybe this link helps to answer your question:

http://village.flashnet.it/users/fn048069/files/readme/jakarta.txt

 -Ursprüngliche Nachricht-
 Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]]
 Gesendet: Freitag, 19. Juli 2002 09:30
 An: 'Tomcat Users List'
 Betreff: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in
 Ajp13Connector.run = NoSuchMethodError


 I removed the WarpConnector but still the same error occurs...
 do I have to place a ajp13 connector in my Service
 name=Tomcat-Apache?


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


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



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



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




mod_jk.so

2002-07-23 Thread Billingham, Walter 475

Ok,

I now have several compiled versions of mod_jk.so thanks to everyone
for contributing to that.  I am lost again though, what is the next step in
this process to get Apache and Tomcat connected?  I believe it is using the
make file or apxs on the .so to get it on board with Apache, so in the Make
files I have, they all reference /include in JDK and /libexec in apache, I
know I have asked before to no avail, what are these equivalents in Apache 2
and Java 1.3 and up?  Thanks. Trask.



--
CONFIDENTIALITY NOTICE: If you have received this e-mail in error, please immediately 
notify the sender by e-mail at the address shown.  This e-mail transmission may 
contain confidential information.  This information is intended only for the use of 
the individual(s) or entity to whom it is intended even if addressed incorrectly.  
Please delete it from your files if you are not the intended recipient.  Thank you for 
your compliance. Copyright (c) 2002 CIGNA




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




Re: Compatibility between Tomcat4.04 and JDK1.22

2002-07-23 Thread IT-INDIA.com

yes, it is

tomcat 4.04 is compatible with JDK 1.2+

sam
- Original Message -
From: Gunter D'Hondt [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, July 23, 2002 6:24 AM
Subject: Compatibility between Tomcat4.04 and JDK1.22


 Is Tomcat4.0.4 compatible with Sun JDK 1.22?

 Gunter



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On
 Behalf Of Gunter D'Hondt
 Sent: vrijdag 19 juli 2002 16:06
 To: 'Tomcat Users List'
 Subject: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in
 Ajp13Connector.run = NoSuchMethodError


 Where can I find the JDK1.3 or JDK1.4 coz on java.sun.com I can only find
 the J2SE 1.3  1.4?

 Gunter



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On
 Behalf Of Sullivan, Mark E
 Sent: vrijdag 19 juli 2002 15:47
 To: 'Tomcat Users List'
 Subject: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in
 Ajp13Connector.run = NoSuchMethodError


 this error: java.lang.NoSuchMethodError: java.net.Socket: method
 setKeepAlive(Z), is caused because the method
java.net.Socket.setKeepAlive()
 is not in jdk1.2.2. You'll have to upgrade to jdk1.3

 -Original Message-
 From: Gunter D'Hondt [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 19, 2002 3:15 AM
 To: 'Tomcat Users List'
 Subject: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in
 Ajp13Connector.run = NoSuchMethodError


 Is there anybody who had the same problem and can help me out coz I'm out
of
 possibilities now...

 Greetings,
 Gunter



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On
 Behalf Of Ralph Einfeldt
 Sent: vrijdag 19 juli 2002 09:51
 To: Tomcat Users List
 Subject: AW: Apache/Tomcat/Mod_jk = setKeepAlive() in
 Ajp13Connector.run = NoSuchMethodError


 As i'm not a user of mod_jk, I won't burn my mouth.
 Maybe this link helps to answer your question:

 http://village.flashnet.it/users/fn048069/files/readme/jakarta.txt

  -Ursprüngliche Nachricht-
  Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]]
  Gesendet: Freitag, 19. Juli 2002 09:30
  An: 'Tomcat Users List'
  Betreff: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in
  Ajp13Connector.run = NoSuchMethodError
 
 
  I removed the WarpConnector but still the same error occurs...
  do I have to place a ajp13 connector in my Service
  name=Tomcat-Apache?
 

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


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



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



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






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




RE: Compatibility between Tomcat4.04 and JDK1.22

2002-07-23 Thread Gunter D'Hondt

That's what I thought too but why am I getting this error then:
java.lang.NoSuchMethodError: java.net.Socket: method setKeepAlive(Z)

As you can see below, others have said to upgrade to jdk1.3+ becoz the
method setKeepAlive() is not in jdk1.22. My problem is that my current
configuration doesn't allow me to use another jdk version so I've got to use
jdk1.22.
The only thing I can conclude is that it's not compatible with jdk1.22 then.

Greetings,
Gunter



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of IT-INDIA.com
Sent: woensdag 24 juli 2002 04:01
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Compatibility between Tomcat4.04 and JDK1.22


yes, it is

tomcat 4.04 is compatible with JDK 1.2+

sam
- Original Message -
From: Gunter D'Hondt [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, July 23, 2002 6:24 AM
Subject: Compatibility between Tomcat4.04 and JDK1.22


 Is Tomcat4.0.4 compatible with Sun JDK 1.22?

 Gunter



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On
 Behalf Of Gunter D'Hondt
 Sent: vrijdag 19 juli 2002 16:06
 To: 'Tomcat Users List'
 Subject: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in
 Ajp13Connector.run = NoSuchMethodError


 Where can I find the JDK1.3 or JDK1.4 coz on java.sun.com I can only find
 the J2SE 1.3  1.4?

 Gunter



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On
 Behalf Of Sullivan, Mark E
 Sent: vrijdag 19 juli 2002 15:47
 To: 'Tomcat Users List'
 Subject: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in
 Ajp13Connector.run = NoSuchMethodError


 this error: java.lang.NoSuchMethodError: java.net.Socket: method
 setKeepAlive(Z), is caused because the method
java.net.Socket.setKeepAlive()
 is not in jdk1.2.2. You'll have to upgrade to jdk1.3

 -Original Message-
 From: Gunter D'Hondt [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 19, 2002 3:15 AM
 To: 'Tomcat Users List'
 Subject: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in
 Ajp13Connector.run = NoSuchMethodError


 Is there anybody who had the same problem and can help me out coz I'm out
of
 possibilities now...

 Greetings,
 Gunter



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On
 Behalf Of Ralph Einfeldt
 Sent: vrijdag 19 juli 2002 09:51
 To: Tomcat Users List
 Subject: AW: Apache/Tomcat/Mod_jk = setKeepAlive() in
 Ajp13Connector.run = NoSuchMethodError


 As i'm not a user of mod_jk, I won't burn my mouth.
 Maybe this link helps to answer your question:

 http://village.flashnet.it/users/fn048069/files/readme/jakarta.txt

  -Ursprüngliche Nachricht-
  Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]]
  Gesendet: Freitag, 19. Juli 2002 09:30
  An: 'Tomcat Users List'
  Betreff: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in
  Ajp13Connector.run = NoSuchMethodError
 
 
  I removed the WarpConnector but still the same error occurs...
  do I have to place a ajp13 connector in my Service
  name=Tomcat-Apache?
 

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


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



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



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






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



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




Q: Is the a way to recompile classes....

2002-07-23 Thread Anthony Diodato

Im running Tomcat 3.2.4, is there a way to load recompiled classes without
having to re-start Tomcat??

Anthony Diodato 
Webmaster - IT 
Prophet 21, Inc. 
19 West College Avenue 
Yardley, PA 19067 
1-800-776-7438, ext. 4600 
Fax: 215-321-8014 
[EMAIL PROTECTED] 
http://www.p21.com/ http://www.p21.com/  
Prophet 21 -- Powering the Distribution Industry for the Digital Age 

For the latest press releases from Prophet 21 --
http://www.p21.com/press/press.html http://www.p21.com/press/press.html  


*   2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
(E2E) Commerce 
*   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
*   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim

For the latest articles on Prophet 21 
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
htm
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate
.htm  
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm  
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm 


 


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 





RE: help please with error-page?

2002-07-23 Thread Bronwen Cassidy

For anyone who gets a similar error to that which i have described below, i
have found the solution, but not the answer :-( but i am digging.

The solution is to down-grade to jakarta-tomcat-4.0 and everything works as
sweet as can be :-) jakarta-tomcat-4.03b3 does not work, but i'll cycle
through all the versions till i find the 2 closest working and not working
then will do a diff in the source, and see if any changes could have caused
the difference?


 -Original Message-
 From: Bronwen Cassidy [mailto:[EMAIL PROTECTED]]
 Sent: 23 July 2002 09:46
 To: 'Tomcat Users List'
 Subject: RE: help please with error-page?
 
 
 Some strange things seem to be happening, and i would be 
 gratefull for any
 pointers. I am using Tomcat standalone version 4.0.4 on 
 windows2K and also
 the same running on solaris 8. I am using web-app_2_3.dtd, i 
 have one filter
 (an XSLTFilter), the app uses struts and everything works as it should
 except for the welcome-file-list, the error-page tags, 
 and if any errors
 occur.
 
 The jsp's are xml-jsps which then are transformed using the 
 xsltfilter.
 
 After starting tomcat i navigate to 
 http://localhost:8080/myapp/ and expect
 to see the login.jsp which is not in the top level but under 
 myapp/jsps, i
 have tried in my welcome-file-listwelcome-file variations of
 jsps/login.jsp, /jsps/login.jsp, myapp/jsps/login.jsp,
 /myapp/jsps/login.jsp, and out of desperation
 http://localhost:8080/myapp/jsps/login.jsp
 
 The results of the above attempts are
 1) the file listing of the myapp directory
 2)this exception:
 
 ApplicationDispatcher[/csrtool] Servlet.service() for servlet 
 jsp threw
 exception
 java.lang.IllegalStateException: getOutputStream() has 
 already been called
 for this response
   at
 org.apache.catalina.connector.ResponseBase.getWriter(ResponseB
 ase.java:750)
   at
 org.apache.catalina.connector.ResponseFacade.getWriter(Respons
 eFacade.java:1
 65)
   at
 org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.
 java:166)
   at
 org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterI
 mpl.java:158)
   at
 org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:205)
   at
 org.apache.jasper.runtime.PageContextImpl.release(PageContextI
 mpl.java:177)
   at
 org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageCo
 ntext(JspFacto
 ryImpl.java:198)
   at
 org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(Js
 pFactoryImpl.j
 ava:193)
   at org.apache.jsp.ioerror$jsp._jspService(ioerror$jsp.java:91)
   at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
 (JspServlet.ja
 va:201)
   at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
 .java:381)
   at 
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
 org.apache.catalina.core.ApplicationDispatcher.invoke(Applicat
 ionDispatcher.
 java:683)
   at
 org.apache.catalina.core.ApplicationDispatcher.doForward(Appli
 cationDispatch
 er.java:431)
   at
 org.apache.catalina.core.ApplicationDispatcher.forward(Applica
 tionDispatcher
 .java:355)
   at
 org.apache.catalina.valves.ErrorDispatcherValve.custom(ErrorDi
 spatcherValve.
 java:391)
   at
 org.apache.catalina.valves.ErrorDispatcherValve.throwable(Erro
 rDispatcherVal
 ve.java:250)
   at
 org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
 spatcherValve.
 java:178)
   at
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
 ipeline.java:5
 64)
   at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
 Valve.java:170
 )
   at
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
 ipeline.java:5
 64)
   at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
 e.java:468)
   at
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
 ipeline.java:5
 64)
   at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:472)
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
 gineValve.java
 :174)
   at
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
 ipeline.java:5
 66)
   at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:472)
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at
 org.apache.catalina.connector.http.HttpProcessor.process(HttpP
 rocessor.java:
 1027)
   at
 org.apache.catalina.connector.http.HttpProcessor.run(HttpProce
 ssor.java:1125
 )
   at java.lang.Thread.run(Thread.java:484)
 
 I get the same errors for the error-page link??? and feel 
 the problem is
 the same. I have a 

RE: Is the a way to recompile classes....

2002-07-23 Thread Sullivan, Mark E

add reloadable=true to the context configuration for your webapp

-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 8:35 AM
To: '[EMAIL PROTECTED]'
Subject: Q: Is the a way to recompile classes


Im running Tomcat 3.2.4, is there a way to load recompiled classes without
having to re-start Tomcat??

Anthony Diodato 
Webmaster - IT 
Prophet 21, Inc. 
19 West College Avenue 
Yardley, PA 19067 
1-800-776-7438, ext. 4600 
Fax: 215-321-8014 
[EMAIL PROTECTED] 
http://www.p21.com/ http://www.p21.com/  
Prophet 21 -- Powering the Distribution Industry for the Digital Age 

For the latest press releases from Prophet 21 --
http://www.p21.com/press/press.html http://www.p21.com/press/press.html  


*   2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
(E2E) Commerce 
*   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
*   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim

For the latest articles on Prophet 21 
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
htm
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate
.htm  
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm  
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm 


 


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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




RE: Is the a way to recompile classes....

2002-07-23 Thread Anthony Diodato

What file can I find this in???

-Original Message-
From: Sullivan, Mark E [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 9:36 AM
To: 'Tomcat Users List'
Subject: RE: Is the a way to recompile classes


add reloadable=true to the context configuration for your webapp

-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 8:35 AM
To: '[EMAIL PROTECTED]'
Subject: Q: Is the a way to recompile classes


Im running Tomcat 3.2.4, is there a way to load recompiled classes without
having to re-start Tomcat??

Anthony Diodato 
Webmaster - IT 
Prophet 21, Inc. 
19 West College Avenue 
Yardley, PA 19067 
1-800-776-7438, ext. 4600 
Fax: 215-321-8014 
[EMAIL PROTECTED] 
http://www.p21.com/ http://www.p21.com/  
Prophet 21 -- Powering the Distribution Industry for the Digital Age 

For the latest press releases from Prophet 21 --
http://www.p21.com/press/press.html http://www.p21.com/press/press.html  


*   2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
(E2E) Commerce 
*   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
*   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim

For the latest articles on Prophet 21 
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
htm
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate
.htm  
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm  
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm 


 


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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




RE: mod_jk.so

2002-07-23 Thread Arnaud HERITIER

to install mod_jk you should read this :
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html

 -Message d'origine-
 De : Billingham, Walter 475 [mailto:[EMAIL PROTECTED]]
 Envoye : mardi 23 juillet 2002 15:23
 A : '[EMAIL PROTECTED]'
 Objet : mod_jk.so
 
 
 Ok,
 
   I now have several compiled versions of mod_jk.so 
 thanks to everyone
 for contributing to that.  I am lost again though, what is 
 the next step in
 this process to get Apache and Tomcat connected?  I believe 
 it is using the
 make file or apxs on the .so to get it on board with Apache, 
 so in the Make
 files I have, they all reference /include in JDK and /libexec 
 in apache, I
 know I have asked before to no avail, what are these 
 equivalents in Apache 2
 and Java 1.3 and up?  Thanks. Trask.
 
 
 
 --
 
 CONFIDENTIALITY NOTICE: If you have received this e-mail in 
 error, please immediately notify the sender by e-mail at the 
 address shown.  This e-mail transmission may contain 
 confidential information.  This information is intended only 
 for the use of the individual(s) or entity to whom it is 
 intended even if addressed incorrectly.  Please delete it 
 from your files if you are not the intended recipient.  Thank 
 you for your compliance. Copyright (c) 2002 CIGNA
 
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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




RE: Is the a way to recompile classes....

2002-07-23 Thread Sullivan, Mark E

it's in the $TOMCAT_HOME/conf/server.xml file

-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 8:44 AM
To: 'Tomcat Users List'
Subject: RE: Is the a way to recompile classes


What file can I find this in???

-Original Message-
From: Sullivan, Mark E [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 9:36 AM
To: 'Tomcat Users List'
Subject: RE: Is the a way to recompile classes


add reloadable=true to the context configuration for your webapp

-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 8:35 AM
To: '[EMAIL PROTECTED]'
Subject: Q: Is the a way to recompile classes


Im running Tomcat 3.2.4, is there a way to load recompiled classes without
having to re-start Tomcat??

Anthony Diodato 
Webmaster - IT 
Prophet 21, Inc. 
19 West College Avenue 
Yardley, PA 19067 
1-800-776-7438, ext. 4600 
Fax: 215-321-8014 
[EMAIL PROTECTED] 
http://www.p21.com/ http://www.p21.com/  
Prophet 21 -- Powering the Distribution Industry for the Digital Age 

For the latest press releases from Prophet 21 --
http://www.p21.com/press/press.html http://www.p21.com/press/press.html  


*   2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
(E2E) Commerce 
*   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
*   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim

For the latest articles on Prophet 21 
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
htm
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate
.htm  
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm  
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm 


 


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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

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




RE: Is the a way to recompile classes....

2002-07-23 Thread Anthony Diodato

My contexts are set up like this.

Context path=/cocoon 
 docBase=webapps/cocoon 
 debug=0 
 reloadable=true  
/Context

Context path=/ 
 docBase=C:/src/java/jsp 
 debug=0 
 reloadable=true  
/Context

But if I make a code change, and have to upload a newly compiled class to my
site, the changes dont take affect unless I stop and re-start Tomcat.
Any suggestions???

-Original Message-
From: Sullivan, Mark E [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 9:38 AM
To: 'Tomcat Users List'
Subject: RE: Is the a way to recompile classes


it's in the $TOMCAT_HOME/conf/server.xml file

-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 8:44 AM
To: 'Tomcat Users List'
Subject: RE: Is the a way to recompile classes


What file can I find this in???

-Original Message-
From: Sullivan, Mark E [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 9:36 AM
To: 'Tomcat Users List'
Subject: RE: Is the a way to recompile classes


add reloadable=true to the context configuration for your webapp

-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 8:35 AM
To: '[EMAIL PROTECTED]'
Subject: Q: Is the a way to recompile classes


Im running Tomcat 3.2.4, is there a way to load recompiled classes without
having to re-start Tomcat??

Anthony Diodato 
Webmaster - IT 
Prophet 21, Inc. 
19 West College Avenue 
Yardley, PA 19067 
1-800-776-7438, ext. 4600 
Fax: 215-321-8014 
[EMAIL PROTECTED] 
http://www.p21.com/ http://www.p21.com/  
Prophet 21 -- Powering the Distribution Industry for the Digital Age 

For the latest press releases from Prophet 21 --
http://www.p21.com/press/press.html http://www.p21.com/press/press.html  


*   2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
(E2E) Commerce 
*   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
*   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim

For the latest articles on Prophet 21 
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
htm
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate
.htm  
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm  
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm 


 


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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

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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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




TEST

2002-07-23 Thread Martin GEORGE

TEST


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




TEST2

2002-07-23 Thread Martin GEORGE

TEST


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




Tomcat Question

2002-07-23 Thread Anthony Diodato

Larry,
You've helped me with something in the past and I was wondering if you could
lend a helping hand again.
here is the situation...

Im running Tomcat 3.2.4, is there a way to load recompiled classes without
having to re-start Tomcat??

I was told to 
add reloadable=true to the context configuration for your webapp

but my contetxs read..
Context path=/cocoon 
 docBase=webapps/cocoon 
 debug=0 
 reloadable=true  
/Context

Context path=/ 
 docBase=C:/src/java/jsp 
 debug=0 
 reloadable=true  
/Context

The problem is 
if I make a code change, and have to upload a newly compiled class to my
site, the changes don't take affect unless I stop and re-start Tomcat.
Any suggestions???
Thanks
Anthony

-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 3:36 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat  Cocoon Question


I would recommend giving it a try.  The 3.3 release notes
covers the most important new features and changes.
Primarily, check out the 2. INSTALLING AND RUNNING TOMCAT
and 5. NEW FEATURES AND CHANGES IN THIS RELEASE in:

http://jakarta.apache.org/tomcat/tomcat-3.3-doc/readme

Cheers,
Larry

 -Original Message-
 From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, May 01, 2002 1:53 PM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat  Cocoon Question
 
 
 How hard is it to upgrade from Tomcat 3.2.4 to 3.3.1
 
 And is there any side affects that will make problems with 
 Cocoon 1.8.2, and
 IIS 5.0
 
 Thanks
 Anthony
 
 -Original Message-
 From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 01, 2002 12:57 PM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat  Cocoon Question
 
 
 After inspecting the source for StaticInterceptor, there
 is a bug that causes the debug level always be reset to 0.
 That would explain the lack of additional output.
 
 It is this interceptor that decides whether to redirect to
 a found welcome file or display a directory lists when the
 request refers to a directory.  It is not clear why this
 interceptor is not picking up your welcome file.
 
 I have confirmed that this bug, among many others, is not
 present in Tomcat 3.3 and later.  If you can give 3.3.1
 a try, you would also benefit in that Tomcat 3.3 will
 validate the web.xml.  If the welcome file is being
 ignored due to some syntax error in web.xml, you would find
 out about it.  The alternative is to build your own
 Tomcat 3.2.x from source, removing the debug=0 in the
 contextInit() method of StaticInterceptor.
 
 Cheers,
 Larry
 
 
  -Original Message-
  From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
  Sent: Wednesday, May 01, 2002 11:37 AM
  To: 'Tomcat Users List'
  Subject: RE: Tomcat  Cocoon Question
  
  
  OK, Ive set up the error log to go to tomcat.log.
  
  This is what I have in my log after I try to access
  http://foo.bar.com/cocoon
  
  Nothing seems to change in here after I access 
  http://foo.bar.com/cocoon or
  http://foo.bar.com/cocoon/index.xml
  
  I go back and forth between pages, refreshing and still 
  nothing seems to
  appear 
  
  2002-05-01 11:22:51 - ContextManager: Adding context Ctx( 
 /examples )
  2002-05-01 11:22:51 - Ctx( /cocoon ): Set debug to 1
  2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /cocoon )
  2002-05-01 11:22:51 - ContextManager: Adding context Ctx(  )
  2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /admin )
  2002-05-01 11:22:51 - ContextManager: Adding context Ctx( 
  /index.html )
  2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /test )
  2002-05-01 11:22:58 - Ctx( /cocoon ): XmlReader - init  /cocoon
  webapps/cocoon
  2002-05-01 11:22:58 - Ctx( /cocoon ): Reading
  C:\jakarta-tomcat-3.2.4\webapps\cocoon\WEB-INF\web.xml
  2002-05-01 11:22:58 - Ctx( /cocoon ): Loading -2147483646 jsp
  2002-05-01 11:22:59 - PoolTcpConnector: Starting 
  HttpConnectionHandler on
  8080
  2002-05-01 11:22:59 - PoolTcpConnector: Starting 
  Ajp12ConnectionHandler on
  8007
  
  THanks
  Tony
  
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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




AW: Tomcat Question

2002-07-23 Thread Ralph Einfeldt

What classes are you talking about servlets/beans or jsp's ?

AFAIK in that version of tomcat the reloadable flag only works 
for jsp's. Try to touch a jsp (change the modification date) and 
request it. This should also reload the classes that are loaded 
through the same classloader. I can't remember the classloader
hierarchy for that tomcat version and which classes where loaded 
by which classloader, so I don't take any garantie that it will 
work.

 -Ursprüngliche Nachricht-
 Von: Anthony Diodato [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 23. Juli 2002 16:24
 An: 'Tomcat Users List'
 Betreff: Tomcat Question
 
 Im running Tomcat 3.2.4, is there a way to load recompiled 
 classes without having to re-start Tomcat??
 
 I was told to 
 add reloadable=true to the context configuration for your webapp
 

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




RE: Tomcat Question

2002-07-23 Thread Susan Himmelman

Hi,
 
I am using Tomcat with the ADL sample Runtime environment.  It is
currently working as a standalone product.  I would like to make it
multi-user so the website (runtime environment) can be accessed via a
URL on any client browser.  I am currently reviewing the tomcat docs to
see if I can determine how to set this up but any immediate help would
be greatly appreciated.
 
Thank you,


Susan Himmelman
 Programmer
 
Smartfirm Inc.
 
v   902.445.9429
f  902.443.3026



-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
Sent: July 23, 2002 11:24 AM
To: 'Tomcat Users List'
Subject: Tomcat Question

Larry,
You've helped me with something in the past and I was wondering if you
could
lend a helping hand again.
here is the situation...

Im running Tomcat 3.2.4, is there a way to load recompiled classes
without
having to re-start Tomcat??

I was told to 
add reloadable=true to the context configuration for your webapp

but my contetxs read..
Context path=/cocoon 
 docBase=webapps/cocoon 
 debug=0 
 reloadable=true  
/Context

Context path=/ 
 docBase=C:/src/java/jsp 
 debug=0 
 reloadable=true  
/Context

The problem is 
if I make a code change, and have to upload a newly compiled class to my
site, the changes don't take affect unless I stop and re-start Tomcat.
Any suggestions???
Thanks
Anthony

-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 3:36 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat  Cocoon Question


I would recommend giving it a try.  The 3.3 release notes
covers the most important new features and changes.
Primarily, check out the 2. INSTALLING AND RUNNING TOMCAT
and 5. NEW FEATURES AND CHANGES IN THIS RELEASE in:

http://jakarta.apache.org/tomcat/tomcat-3.3-doc/readme

Cheers,
Larry

 -Original Message-
 From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, May 01, 2002 1:53 PM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat  Cocoon Question
 
 
 How hard is it to upgrade from Tomcat 3.2.4 to 3.3.1
 
 And is there any side affects that will make problems with 
 Cocoon 1.8.2, and
 IIS 5.0
 
 Thanks
 Anthony
 
 -Original Message-
 From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 01, 2002 12:57 PM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat  Cocoon Question
 
 
 After inspecting the source for StaticInterceptor, there
 is a bug that causes the debug level always be reset to 0.
 That would explain the lack of additional output.
 
 It is this interceptor that decides whether to redirect to
 a found welcome file or display a directory lists when the
 request refers to a directory.  It is not clear why this
 interceptor is not picking up your welcome file.
 
 I have confirmed that this bug, among many others, is not
 present in Tomcat 3.3 and later.  If you can give 3.3.1
 a try, you would also benefit in that Tomcat 3.3 will
 validate the web.xml.  If the welcome file is being
 ignored due to some syntax error in web.xml, you would find
 out about it.  The alternative is to build your own
 Tomcat 3.2.x from source, removing the debug=0 in the
 contextInit() method of StaticInterceptor.
 
 Cheers,
 Larry
 
 
  -Original Message-
  From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
  Sent: Wednesday, May 01, 2002 11:37 AM
  To: 'Tomcat Users List'
  Subject: RE: Tomcat  Cocoon Question
  
  
  OK, Ive set up the error log to go to tomcat.log.
  
  This is what I have in my log after I try to access
  http://foo.bar.com/cocoon
  
  Nothing seems to change in here after I access 
  http://foo.bar.com/cocoon or
  http://foo.bar.com/cocoon/index.xml
  
  I go back and forth between pages, refreshing and still 
  nothing seems to
  appear 
  
  2002-05-01 11:22:51 - ContextManager: Adding context Ctx( 
 /examples )
  2002-05-01 11:22:51 - Ctx( /cocoon ): Set debug to 1
  2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /cocoon )
  2002-05-01 11:22:51 - ContextManager: Adding context Ctx(  )
  2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /admin )
  2002-05-01 11:22:51 - ContextManager: Adding context Ctx( 
  /index.html )
  2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /test )
  2002-05-01 11:22:58 - Ctx( /cocoon ): XmlReader - init  /cocoon
  webapps/cocoon
  2002-05-01 11:22:58 - Ctx( /cocoon ): Reading
  C:\jakarta-tomcat-3.2.4\webapps\cocoon\WEB-INF\web.xml
  2002-05-01 11:22:58 - Ctx( /cocoon ): Loading -2147483646 jsp
  2002-05-01 11:22:59 - PoolTcpConnector: Starting 
  HttpConnectionHandler on
  8080
  2002-05-01 11:22:59 - PoolTcpConnector: Starting 
  Ajp12ConnectionHandler on
  8007
  
  THanks
  Tony
  
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]

RE: Tomcat Question

2002-07-23 Thread Anthony Diodato

Servlets and Beans...

If I change the code for one of my servlets, I need to re-start Tomcat for
the changes to take affect.
has anyone run into this problem before...

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 10:34 AM
To: Tomcat Users List
Subject: AW: Tomcat Question


What classes are you talking about servlets/beans or jsp's ?

AFAIK in that version of tomcat the reloadable flag only works 
for jsp's. Try to touch a jsp (change the modification date) and 
request it. This should also reload the classes that are loaded 
through the same classloader. I can't remember the classloader
hierarchy for that tomcat version and which classes where loaded 
by which classloader, so I don't take any garantie that it will 
work.

 -Ursprüngliche Nachricht-
 Von: Anthony Diodato [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 23. Juli 2002 16:24
 An: 'Tomcat Users List'
 Betreff: Tomcat Question
 
 Im running Tomcat 3.2.4, is there a way to load recompiled 
 classes without having to re-start Tomcat??
 
 I was told to 
 add reloadable=true to the context configuration for your webapp
 

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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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




RE: mod_jk.so

2002-07-23 Thread Billingham, Walter 475

Hello Again,

Can anybody share a copy of their mod_jk.conf file, workers.properties, and
server.xml that has Tomcat 4.0.1 and Apache2 or Apache 1.3.x running, I
would greatly appreciate it.  Thanks. Walter B. 



 Ok,
 
   I now have several compiled versions of mod_jk.so thanks to everyone
 for contributing to that.  I am lost again though, what is the next step
 in
 this process to get Apache and Tomcat connected?  I believe it is using
 the
 make file or apxs on the .so to get it on board with Apache, so in the
 Make
 files I have, they all reference /include in JDK and /libexec in apache, I
 know I have asked before to no avail, what are these equivalents in Apache
 2
 and Java 1.3 and up?  Thanks. Trask.
 
 
 
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 

--
CONFIDENTIALITY NOTICE: If you have received this e-mail in error, please immediately 
notify the sender by e-mail at the address shown.  This e-mail transmission may 
contain confidential information.  This information is intended only for the use of 
the individual(s) or entity to whom it is intended even if addressed incorrectly.  
Please delete it from your files if you are not the intended recipient.  Thank you for 
your compliance. Copyright (c) 2002 CIGNA




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




AW: Tomcat Question

2002-07-23 Thread Ralph Einfeldt

Have you tried my hint with the jsp ?

 -Ursprüngliche Nachricht-
 Von: Anthony Diodato [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 23. Juli 2002 16:38
 An: 'Tomcat Users List'
 Betreff: RE: Tomcat Question
 
 
 Servlets and Beans...
 
 If I change the code for one of my servlets, I need to 
 re-start Tomcat for the changes to take affect.
 has anyone run into this problem before...
 
 Try to touch a jsp (change the modification date) and 
 request it. This should also reload the classes that are loaded 
 through the same classloader. I can't remember the classloader
 hierarchy for that tomcat version and which classes where loaded 
 by which classloader, so I don't take any garantie that it will 
 work.
 

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




RE: Tomcat Question

2002-07-23 Thread Anthony Diodato

Im not using any JSP's everything is in XML.
But, to kinda answer your question
if I make changes to my xml, they take affect right away..

Any suggestions???

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 10:42 AM
To: Tomcat Users List
Subject: AW: Tomcat Question


Have you tried my hint with the jsp ?

 -Ursprüngliche Nachricht-
 Von: Anthony Diodato [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 23. Juli 2002 16:38
 An: 'Tomcat Users List'
 Betreff: RE: Tomcat Question
 
 
 Servlets and Beans...
 
 If I change the code for one of my servlets, I need to 
 re-start Tomcat for the changes to take affect.
 has anyone run into this problem before...
 
 Try to touch a jsp (change the modification date) and 
 request it. This should also reload the classes that are loaded 
 through the same classloader. I can't remember the classloader
 hierarchy for that tomcat version and which classes where loaded 
 by which classloader, so I don't take any garantie that it will 
 work.
 

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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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




RE: Tomcat Question

2002-07-23 Thread Nishant_Awasthi


Hello Anthony,

FYI, Well I am trying to run servlet/beans with tomcat and place new class
files
at the specific classpath its working fine for me...
I neednot restart the tomcat everytime.I am using tomcat 4.0.3.
I haven't changed anything in the configuration files...



Nishant Awasthi
Corporate Systems Development
Progressive Insurance





   

Anthony

Diodato  To: 'Tomcat Users List'   

adiodato@p21[EMAIL PROTECTED]  

.comcc: (bcc: Nishant Awasthi)

 Subject: RE: Tomcat Question  

07/23/2002 

10:37 AM   

Please 

respond to 

Tomcat Users  

List  

   

   






Servlets and Beans...

If I change the code for one of my servlets, I need to re-start Tomcat for
the changes to take affect.
has anyone run into this problem before...

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 10:34 AM
To: Tomcat Users List
Subject: AW: Tomcat Question


What classes are you talking about servlets/beans or jsp's ?

AFAIK in that version of tomcat the reloadable flag only works
for jsp's. Try to touch a jsp (change the modification date) and
request it. This should also reload the classes that are loaded
through the same classloader. I can't remember the classloader
hierarchy for that tomcat version and which classes where loaded
by which classloader, so I don't take any garantie that it will
work.

 -Ursprüngliche Nachricht-
 Von: Anthony Diodato [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 23. Juli 2002 16:24
 An: 'Tomcat Users List'
 Betreff: Tomcat Question

 Im running Tomcat 3.2.4, is there a way to load recompiled
 classes without having to re-start Tomcat??

 I was told to
 add reloadable=true to the context configuration for your webapp


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


Visit our website at http://www.p21.com/visit
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer.



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





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




RE: Tomcat Question

2002-07-23 Thread Sullivan, Mark E

are these jar files or class files? also, are they located in your webapps
WEB-INF/classes directory or elsewhere? The reloading works correctly in
tomcat 4+ versions of tomcat, but i've never tried it on the previous
versions. Is there anything in the tomcat log files that suggest it is
trying to reload classes? In my $TOMCAT_HOME/logs/catalina.out (tomcat
v4.1.7b) it looks like:

WebappClassLoader:   Resource
'/WEB-INF/classes/com/nav/fcws/util/MQBrowser.class' was
 modified; Date is now: Tue Jul 02 12:03:47 CDT 2002 Was: Tue Jul 02
11:45:34 CDT 2002



-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 9:38 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Question


Servlets and Beans...

If I change the code for one of my servlets, I need to re-start Tomcat for
the changes to take affect.
has anyone run into this problem before...

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 10:34 AM
To: Tomcat Users List
Subject: AW: Tomcat Question


What classes are you talking about servlets/beans or jsp's ?

AFAIK in that version of tomcat the reloadable flag only works 
for jsp's. Try to touch a jsp (change the modification date) and 
request it. This should also reload the classes that are loaded 
through the same classloader. I can't remember the classloader
hierarchy for that tomcat version and which classes where loaded 
by which classloader, so I don't take any garantie that it will 
work.

 -Ursprüngliche Nachricht-
 Von: Anthony Diodato [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 23. Juli 2002 16:24
 An: 'Tomcat Users List'
 Betreff: Tomcat Question
 
 Im running Tomcat 3.2.4, is there a way to load recompiled 
 classes without having to re-start Tomcat??
 
 I was told to 
 add reloadable=true to the context configuration for your webapp
 

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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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

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




RE: Tomcat Question

2002-07-23 Thread Anthony Diodato

Are there certain classpath configurations that I may need to make??

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 10:46 AM
To: Tomcat Users List
Subject: RE: Tomcat Question



Hello Anthony,

FYI, Well I am trying to run servlet/beans with tomcat and place new class
files
at the specific classpath its working fine for me...
I neednot restart the tomcat everytime.I am using tomcat 4.0.3.
I haven't changed anything in the configuration files...




Nishant Awasthi
Corporate Systems Development
Progressive Insurance





 

Anthony

Diodato  To: 'Tomcat Users List'

adiodato@p21[EMAIL PROTECTED]

.comcc: (bcc: Nishant Awasthi)

 Subject: RE: Tomcat Question

07/23/2002

10:37 AM

Please

respond to

Tomcat Users

List

 

 






Servlets and Beans...

If I change the code for one of my servlets, I need to re-start Tomcat for
the changes to take affect.
has anyone run into this problem before...

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 10:34 AM
To: Tomcat Users List
Subject: AW: Tomcat Question


What classes are you talking about servlets/beans or jsp's ?

AFAIK in that version of tomcat the reloadable flag only works
for jsp's. Try to touch a jsp (change the modification date) and
request it. This should also reload the classes that are loaded
through the same classloader. I can't remember the classloader
hierarchy for that tomcat version and which classes where loaded
by which classloader, so I don't take any garantie that it will
work.

 -Ursprüngliche Nachricht-
 Von: Anthony Diodato [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 23. Juli 2002 16:24
 An: 'Tomcat Users List'
 Betreff: Tomcat Question

 Im running Tomcat 3.2.4, is there a way to load recompiled
 classes without having to re-start Tomcat??

 I was told to
 add reloadable=true to the context configuration for your webapp


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


Visit our website at http://www.p21.com/visit
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer.



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





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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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




RE: Tomcat Question

2002-07-23 Thread Sullivan, Mark E

if a jsp file is touched or changed it will be recompiled regardless of
whether the context's reloadable flag is set to true. this is a 'feature' of
jsps over servlets. 

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 9:42 AM
To: Tomcat Users List
Subject: AW: Tomcat Question


Have you tried my hint with the jsp ?

 -Ursprüngliche Nachricht-
 Von: Anthony Diodato [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 23. Juli 2002 16:38
 An: 'Tomcat Users List'
 Betreff: RE: Tomcat Question
 
 
 Servlets and Beans...
 
 If I change the code for one of my servlets, I need to 
 re-start Tomcat for the changes to take affect.
 has anyone run into this problem before...
 
 Try to touch a jsp (change the modification date) and 
 request it. This should also reload the classes that are loaded 
 through the same classloader. I can't remember the classloader
 hierarchy for that tomcat version and which classes where loaded 
 by which classloader, so I don't take any garantie that it will 
 work.
 

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

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




RE: Tomcat Question

2002-07-23 Thread Anthony Diodato

They are class files.
And they are located in both places...

I have my servlets in the WEB-INF/classes directory
and all of my other Java classes are in c:/src/java/...

But neither locations are working the way I want them to work.

Nothing in logs either.

-Original Message-
From: Sullivan, Mark E [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 10:41 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Question


are these jar files or class files? also, are they located in your webapps
WEB-INF/classes directory or elsewhere? The reloading works correctly in
tomcat 4+ versions of tomcat, but i've never tried it on the previous
versions. Is there anything in the tomcat log files that suggest it is
trying to reload classes? In my $TOMCAT_HOME/logs/catalina.out (tomcat
v4.1.7b) it looks like:

WebappClassLoader:   Resource
'/WEB-INF/classes/com/nav/fcws/util/MQBrowser.class' was
 modified; Date is now: Tue Jul 02 12:03:47 CDT 2002 Was: Tue Jul 02
11:45:34 CDT 2002



-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 9:38 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Question


Servlets and Beans...

If I change the code for one of my servlets, I need to re-start Tomcat for
the changes to take affect.
has anyone run into this problem before...

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 10:34 AM
To: Tomcat Users List
Subject: AW: Tomcat Question


What classes are you talking about servlets/beans or jsp's ?

AFAIK in that version of tomcat the reloadable flag only works 
for jsp's. Try to touch a jsp (change the modification date) and 
request it. This should also reload the classes that are loaded 
through the same classloader. I can't remember the classloader
hierarchy for that tomcat version and which classes where loaded 
by which classloader, so I don't take any garantie that it will 
work.

 -Ursprüngliche Nachricht-
 Von: Anthony Diodato [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 23. Juli 2002 16:24
 An: 'Tomcat Users List'
 Betreff: Tomcat Question
 
 Im running Tomcat 3.2.4, is there a way to load recompiled 
 classes without having to re-start Tomcat??
 
 I was told to 
 add reloadable=true to the context configuration for your webapp
 

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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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

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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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




AW: Tomcat Question

2002-07-23 Thread Ralph Einfeldt

Then define a dummy jsp and give it a try.
If that doesn't work for 3.2 you have to upgrade 
to tomcat 4.x.

 -Ursprüngliche Nachricht-
 Von: Anthony Diodato [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 23. Juli 2002 16:46
 An: 'Tomcat Users List'
 Betreff: RE: Tomcat Question
 
 Im not using any JSP's everything is in XML.
 But, to kinda answer your question
 if I make changes to my xml, they take affect right away..
 
 Any suggestions???
 

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




RE: Tomcat Question

2002-07-23 Thread Sullivan, Mark E

as far as i know, only classes in the WEB-INF/classes directory will be
reloaded. 

-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 9:51 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Question


They are class files.
And they are located in both places...

I have my servlets in the WEB-INF/classes directory
and all of my other Java classes are in c:/src/java/...

But neither locations are working the way I want them to work.

Nothing in logs either.

-Original Message-
From: Sullivan, Mark E [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 10:41 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Question


are these jar files or class files? also, are they located in your webapps
WEB-INF/classes directory or elsewhere? The reloading works correctly in
tomcat 4+ versions of tomcat, but i've never tried it on the previous
versions. Is there anything in the tomcat log files that suggest it is
trying to reload classes? In my $TOMCAT_HOME/logs/catalina.out (tomcat
v4.1.7b) it looks like:

WebappClassLoader:   Resource
'/WEB-INF/classes/com/nav/fcws/util/MQBrowser.class' was
 modified; Date is now: Tue Jul 02 12:03:47 CDT 2002 Was: Tue Jul 02
11:45:34 CDT 2002



-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 9:38 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Question


Servlets and Beans...

If I change the code for one of my servlets, I need to re-start Tomcat for
the changes to take affect.
has anyone run into this problem before...

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 10:34 AM
To: Tomcat Users List
Subject: AW: Tomcat Question


What classes are you talking about servlets/beans or jsp's ?

AFAIK in that version of tomcat the reloadable flag only works 
for jsp's. Try to touch a jsp (change the modification date) and 
request it. This should also reload the classes that are loaded 
through the same classloader. I can't remember the classloader
hierarchy for that tomcat version and which classes where loaded 
by which classloader, so I don't take any garantie that it will 
work.

 -Ursprüngliche Nachricht-
 Von: Anthony Diodato [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 23. Juli 2002 16:24
 An: 'Tomcat Users List'
 Betreff: Tomcat Question
 
 Im running Tomcat 3.2.4, is there a way to load recompiled 
 classes without having to re-start Tomcat??
 
 I was told to 
 add reloadable=true to the context configuration for your webapp
 

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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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

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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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

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




RE: Tomcat Question

2002-07-23 Thread Nishant_Awasthi


I didn't change anything jus placed all my class file in
%TOMCAT_HOME%/webapps/examples/servlets/WEB-INF/classes directory
The context path for /example is already set in the defualt server.conf
file.

I didn't change anything...its running fine..



Nishant Awasthi
Corporate Systems Development
Progressive Insurance





   

Anthony

Diodato  To: 'Tomcat Users List'   

adiodato@p21[EMAIL PROTECTED]  

.comcc: (bcc: Nishant Awasthi)

 Subject: RE: Tomcat Question  

07/23/2002 

10:48 AM   

Please 

respond to 

Tomcat Users  

List  

   

   






Are there certain classpath configurations that I may need to make??

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 10:46 AM
To: Tomcat Users List
Subject: RE: Tomcat Question



Hello Anthony,

FYI, Well I am trying to run servlet/beans with tomcat and place new class
files
at the specific classpath its working fine for me...
I neednot restart the tomcat everytime.I am using tomcat 4.0.3.
I haven't changed anything in the configuration files...





Nishant Awasthi
Corporate Systems Development
Progressive Insurance







Anthony

Diodato  To: 'Tomcat Users List'

adiodato@p21[EMAIL PROTECTED]

.comcc: (bcc: Nishant Awasthi)

 Subject: RE: Tomcat Question

07/23/2002

10:37 AM

Please

respond to

Tomcat Users

List










Servlets and Beans...

If I change the code for one of my servlets, I need to re-start Tomcat for
the changes to take affect.
has anyone run into this problem before...

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 10:34 AM
To: Tomcat Users List
Subject: AW: Tomcat Question


What classes are you talking about servlets/beans or jsp's ?

AFAIK in that version of tomcat the reloadable flag only works
for jsp's. Try to touch a jsp (change the modification date) and
request it. This should also reload the classes that are loaded
through the same classloader. I can't remember the classloader
hierarchy for that tomcat version and which classes where loaded
by which classloader, so I don't take any garantie that it will
work.

 -Ursprüngliche Nachricht-
 Von: Anthony Diodato [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 23. Juli 2002 16:24
 An: 'Tomcat Users List'
 Betreff: Tomcat Question

 Im running Tomcat 3.2.4, is there a way to load recompiled
 classes without having to re-start Tomcat??

 I was told to
 add reloadable=true to the context configuration for your webapp


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


Visit our website at http://www.p21.com/visit
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer.



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





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


Visit our website at http://www.p21.com/visit
The information in this 

Tomcat and ASP

2002-07-23 Thread Henrik

Do I need another server program to run ASP scripts, or can Tomcat do it?



Re: Tomcat and ASP

2002-07-23 Thread Nishant_Awasthi


You need to use IIS 5.0 to run ASP pages...


Nishant Awasthi
Corporate Systems Development
Progressive Insurance





   

Henrik   

henrikslarsen@hoTo: [EMAIL PROTECTED]

tmail.com   cc: (bcc: Nishant Awasthi)

 Subject: Tomcat and ASP   

07/23/2002 11:18   

AM 

Please respond to  

Tomcat Users  

List  

   

   






Do I need another server program to run ASP scripts, or can Tomcat do it?





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




Re: Tomcat and ASP

2002-07-23 Thread Henrik

Will PWS do?

- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, July 23, 2002 5:17 PM
Subject: Re: Tomcat and ASP



 You need to use IIS 5.0 to run ASP pages...
 --
--

 Nishant Awasthi
 Corporate Systems Development
 Progressive Insurance






 Henrik
 henrikslarsen@hoTo:
[EMAIL PROTECTED]
 tmail.com   cc: (bcc: Nishant
Awasthi)
  Subject: Tomcat and ASP
 07/23/2002 11:18
 AM
 Please respond to
 Tomcat Users
 List







 Do I need another server program to run ASP scripts, or can Tomcat do it?





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



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




Re: Tomcat and ASP

2002-07-23 Thread Nishant_Awasthi

  
 ASP files only run using a server that supports Active   
 Server Pages. This include Microsoft Internet Information
 Server and for Windows 95/98 Microsoft Personal Web Server   
  






Nishant Awasthi
Corporate Systems Development
Progressive Insurance





   

Henrik   

henrikslarsen@hoTo: Tomcat Users List   

tmail.com   [EMAIL PROTECTED]  

 cc: (bcc: Nishant Awasthi)

07/23/2002 11:28 Subject: Re: Tomcat and ASP   

AM 

Please respond to  

Tomcat Users  

List  

   

   






Will PWS do?

- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, July 23, 2002 5:17 PM
Subject: Re: Tomcat and ASP



 You need to use IIS 5.0 to run ASP pages...

--
--

 Nishant Awasthi
 Corporate Systems Development
 Progressive Insurance






 Henrik
 henrikslarsen@hoTo:
[EMAIL PROTECTED]
 tmail.com   cc: (bcc: Nishant
Awasthi)
  Subject: Tomcat and ASP
 07/23/2002 11:18
 AM
 Please respond to
 Tomcat Users
 List







 Do I need another server program to run ASP scripts, or can Tomcat do it?





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



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





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




RE: Tomcat and ASP

2002-07-23 Thread Durham David Cntr 805CSS/SCBE

There's a unix compatible server (http://www.chilisoft.com/) for running asp

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 10:25 AM
To: Tomcat Users List
Subject: Re: Tomcat and ASP


  
 ASP files only run using a server that supports Active   
 Server Pages. This include Microsoft Internet Information
 Server and for Windows 95/98 Microsoft Personal Web Server   
  






Nishant Awasthi
Corporate Systems Development
Progressive Insurance





   

Henrik   

henrikslarsen@hoTo: Tomcat Users List   

tmail.com   [EMAIL PROTECTED]  

 cc: (bcc: Nishant Awasthi)

07/23/2002 11:28 Subject: Re: Tomcat and ASP   

AM 

Please respond to  

Tomcat Users  

List  

   

   






Will PWS do?

- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, July 23, 2002 5:17 PM
Subject: Re: Tomcat and ASP



 You need to use IIS 5.0 to run ASP pages...

--
--

 Nishant Awasthi
 Corporate Systems Development
 Progressive Insurance






 Henrik
 henrikslarsen@hoTo:
[EMAIL PROTECTED]
 tmail.com   cc: (bcc: Nishant
Awasthi)
  Subject: Tomcat and ASP
 07/23/2002 11:18
 AM
 Please respond to
 Tomcat Users
 List







 Do I need another server program to run ASP scripts, or can Tomcat do it?





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



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





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


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




Re: Tomcat and ASP

2002-07-23 Thread Henrik

Thanks!

- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, July 23, 2002 5:25 PM
Subject: Re: Tomcat and ASP



  ASP files only run using a server that supports Active
  Server Pages. This include Microsoft Internet Information
  Server and for Windows 95/98 Microsoft Personal Web Server





 --
--

 Nishant Awasthi
 Corporate Systems Development
 Progressive Insurance






 Henrik
 henrikslarsen@hoTo: Tomcat Users List
 tmail.com
[EMAIL PROTECTED]
  cc: (bcc: Nishant
Awasthi)
 07/23/2002 11:28 Subject: Re: Tomcat and
ASP
 AM
 Please respond to
 Tomcat Users
 List







 Will PWS do?

 - Original Message -
 From: [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Tuesday, July 23, 2002 5:17 PM
 Subject: Re: Tomcat and ASP


 
  You need to use IIS 5.0 to run ASP pages...
 
 --
 --
 
  Nishant Awasthi
  Corporate Systems Development
  Progressive Insurance
 
 
 
 
 
 
  Henrik
  henrikslarsen@hoTo:
 [EMAIL PROTECTED]
  tmail.com   cc: (bcc: Nishant
 Awasthi)
   Subject: Tomcat and ASP
  07/23/2002 11:18
  AM
  Please respond to
  Tomcat Users
  List
 
 
 
 
 
 
 
  Do I need another server program to run ASP scripts, or can Tomcat do
it?
 
 
 
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 

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





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


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




Setup advice urgently needed!

2002-07-23 Thread Henrik



Hi!
I am new to this list, and to the Tomcat Jakarta. I've been setting things
up to get into Java servlets, and I'm still having a problem setting up my
desktop as a servlet-capable server. I got Apache's Tomcat (4.0.4) running,
and it takes their own examples quite well. I also have my JCreator IDE
compiling the example servlets I found OK. But when I run _these_ examples,
trouble starts...

I have rewritten my web.xml file to contain the following:

?xml version=1.0 encoding=ISO-8859-1?

!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app

servlet
servlet-namelist/servlet-name
servlet-classListManagerServlet/servlet-class
/servlet

servlet-mapping
servlet-namelist/servlet-name
url-pattern/list/url-pattern
/servlet-mapping

/web-app

(this is the ENTIRE content, just in case)

I keep getting a Apache Tomcat/4.0.4 - HTTP Status 503 - Servlet invoker is
currently unavailable message when using the
http://localhost/servlet/list; URL to access my ListManagerServlet! The
ListManagerServlet is in the path
D:\Java\jakarta-tomcat-4.0.4\webapps\ROOT\WEB-INF\classes.

What am I doing wrong here? I can make no sense of it.



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




Re: newbie on Tomcat 3.2.3

2002-07-23 Thread aloo


Hi,

I found out the problem was because my servlet is using a different XML
parser and XSL processor than Tomcat 3.2.3.  As soon as I removed jaxp.jar
and parser.jar from $TOMCAT_HOME/lib and moved my XML parser and XSL
processor jar files in the lib directory, restart Tomcat, everything is
working fine.

Thank you.

Anita


   

  [EMAIL PROTECTED] 

  mTo:  Tomcat Users List 
[EMAIL PROTECTED]   
   cc:  Tomcat Users List 
[EMAIL PROTECTED] 
  07/22/02 03:14   Subject: Re: newbie on Tomcat 3.2.3 

  PM   

  Please respond   

  to Tomcat Users 

  List

   

   






Yes, I sent a request to the servlet and it threw an exception because the
methods called by initialization were not executed.
I have *.xml defined as servlet mapping within my web.xml.

I tried defining load-on-startup as 5 or using -2147483646.  Neither
number works.

Any thoughts?

BTW, I used the same servlet and web.xml on Tomcat 3.3.1 with iPlanet 4.1.
I didn't have any issues.

Thank you.

Anita



  Robert Nicholson
  robert@elastica To:  Tomcat Users List
  .com
  [EMAIL PROTECTED]
   cc:
  07/22/02 03:03   Subject: Re: newbie on
  Tomcat 3.2.3
  PM
  Please respond
  to Tomcat Users
  List






Have you submitted a request for you servlet before you expect it to
initialize? Do you have a servlet mapping defined in web.xml for it?

Also, is it a loadOnStartup servlet or not?

On 7/23/02 1:36 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hi,

 I am using Tomcat 3.2.3 with Netscape 3.6 (old versions because company
is
 not upgrading).  I am having problem in getting my servlet to initialize.
 Have the following directory structure:
 webapps/mobile/test/WEB-INF/lib/myservlet.jar
 webapps/mobile/test/WEB-INF/web.xml

 I added the following in the ContextManager of conf/server.xml, and
 modify nothing else within the file:
 Context path=
 docBase=webapps/mobile/test
 debug=0
 reloadable=true
 /Context

 I checked logs/servlet.log, there's no indication the servlet is
 initialized.  Also, the log file generated by myservlet when init() is
 called is no there.

 Please tell me what is missing.

 Thank you.

 Anita


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



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





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





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




Re: JNDIRealm config

2002-07-23 Thread Tim Funk

To use JNDIRealm with Netscape Directory server you need the 4.1.X 
series of tomcat and you need to bind as the user. So do not provide 
connectionName and connection password.

In the 4.0.X series the passwords are compared in an incompatible manner 
with respect to Netscape Dir server.

- - wrote:
 hi 
 
 This looks long but it's actually straightforward.
 
 I can't get the JNDIRealm config to work Netscape Directory Server 3.1.
 
 I suspect the conf. of the JNDIRealm elment is wrong but don't know why. 
 
 I have a LDIF file exported from Netscape Directory Server 3.1 which define(loosely 
speaking)
 
 - an admin user that I use in JNDIRealm for initial connection
 
 - a sales person
 
 - a SalesGroup role which has sales person as a member
 
 Other stuff removed for clarity.
 
  
 
 dn: uid=admin,o=company.com
 
 objectclass: top
 
 objectclass: person
 
 objectclass: organizationalperson
 
 objectclass: inetorgperson
 
 cn: SuiteSpot Administrator
 
 sn: Administrator
 
 givenname: SuiteSpot
 
 uid: admin
 
 userpassword: {SHA}W6ph5Mm5Pz8GgiULbPgzG37mj9g=
 
  
 
  
 
 dn: uid=salesID,o=company.com
 
 objectclass: top
 
 objectclass: person
 
 objectclass: organizationalPerson
 
 objectclass: inetOrgPerson
 
 objectclass: nsLicenseUser
 
 givenname: salesFir
 
 sn: salesSur
 
 cn: salesFul
 
 uid: salesID
 
 userpassword: {SHA}W6ph5Mm5Pz8GgiULbPgzG37mj9g=
 
  
 
  
 
 dn: cn=SalesGroup,o=company.com
 
 objectclass: top
 
 objectclass: groupOfUniqueNames
 
 cn: SalesGroup
 
 uniquemember: uid=salesID,o=company.com
 
  
 
 So my JNDIRealm config is,
 
 Realm className=org.apache.catalina.realm.JNDIRealm debug=99
 
 connectionName=uid=admin,o=company.com
 
 connectionPassword=password
 
 connectionURL=ldap://localhost:390;
 
 roleName=cn
 
 roleSearch=(uniquemember={0})
 
 roleSubtree=true
 
 userPassword=userpassword
 
 userPattern=uid={0},o=company.com
 
 /
 
 I have tried many combinations of patterns and attributes in the above configuration 
but none worked.
 
 The initial connection and authentication using admin seemed to work OK.
 
 But I can't get it to authenticate the sales person/salesGroup.
 
 I enter the salesID as the username and its password in the auth. dialog box
 
  
 
 web.xml has 
 
  
 
 security-constraint
 
 web-resource-collection
 
 web-resource-nameSales/web-resource-name
 
 url-pattern/jsp/SalesIndex.jsp/url-pattern
 
 /web-resource-collection
 
 auth-constraint
 
 role-nameSalesGroup/role-name
 
 /auth-constraint
 
 /security-constraint
 
 login-config
 
 auth-methodDIGEST/auth-method
 
 realm-nameSID/realm-name
 
 /login-config
 
 security-role
 
 role-nameSalesGroup/role-name
 
 /security-role
 
  
 
 Thanks very much
 
 
 
 -
 Do You Yahoo!?
 Yahoo! Health - Feel better, live better



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




Re: AW: default pageEncoding

2002-07-23 Thread Craig R. McClanahan



On Tue, 23 Jul 2002, Dmitry Melekhov wrote:

 Date: Tue, 23 Jul 2002 11:35:27 +0500
 From: Dmitry Melekhov [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: AW: default pageEncoding

 Ralph Einfeldt wrote:
  AFAIK it not possible to set the default encoding by configuration.

 :-(


JSP 2.0 adds directives that let you do this, so you'll see it in Tomcat 5
eventually.  There is no such facility in any earlier version, though.

  But you could write a servlet filter that does this.
 

 Could you tell me how?
 As I understand, pageEncoding directive works at compile time
 and it is impossible to do this with filter?


You're correct -- pageEncoding tells the JSP compiler what encoding the
source page is in at *compile* time.  Filters won't be able to affect
that.


 
 -Ursprungliche Nachricht-
 Von: Dmitry Melekhov [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 23. Juli 2002 08:26
 An: Tomcat Users List
 Betreff: Re: default pageEncoding
 
 I understand.
 But our devepopers are too lazy ;-)

Sounds like time to get some new developers :-).

Or provide a template page (that includes this directive) as a starting
point for creating new pages, and make them use it.

 They don't want to write this line in every jsp...
 Is it possible to configure Tomcat (something else) to set default
 
  encoding?
 

Craig


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




RE: Jboss application server

2002-07-23 Thread James Ward

You can actually just dump you war file in the deploy dir.  JBoss's
deployer knows to pass it off to whatever Web Container is being used.
Use Ear files if you have EJB Jars and Wars.

-James


-Original Message-
From: Richard Plukker [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 23, 2002 2:19 AM
To: Tomcat Users List
Subject: Re: Jboss application server

put your war file in an ear file.
Or put the servlets in an ear file conform the j2ee spec.
Than when you put it in the deploy directory of your jboss installation,

your webapp will be deployed.

Visit the free documentation of www.jboss.org or look for a tutorial on 
deploying applications in jboss.
good luck,

Richard



Alessio Bettiol wrote:

Thank you for your interest in my question.
I have downloaded from www.jboss.org the new version (3.0.0) of the
famous 
application server, the version that includes tomcat 4.0.3 inside, 
pre-configured.
You can launch it in standalone mode or with jboss, but ... it works
only in 
standalone mode.
With jboss, the configuration file that jboss give to tomcat isn't
server.xml, 
but tomcat4-service.xml, in another directory 
($jboss_home/server/default/deploy)
When all services are started, I try to connect with a web-browser at 
http://localhost:8080, then I see this message: 'no context configured
for 
this application', even if the context blocks are present and the
context 
default block (with path set to nothing) also.

The thing I've tried was to connect tomcat4 launched from jboss with
the 
'webapps' directory.

Can you give me help?

Thanks a lot!!

Alex from Italy


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


  





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


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




RE: Is the a way to recompile classes....

2002-07-23 Thread Durham David Cntr 805CSS/SCBE

reloadable=true handles classes in /web-inf/classes and jsp's I think.  It does not 
cover jars, so if your uploading a jar to web-inf/lib, then yes, you have to restart 
tomcat.  Does this help?

Dave

-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 8:51 AM
To: 'Tomcat Users List'
Subject: RE: Is the a way to recompile classes


My contexts are set up like this.

Context path=/cocoon 
 docBase=webapps/cocoon 
 debug=0 
 reloadable=true  
/Context

Context path=/ 
 docBase=C:/src/java/jsp 
 debug=0 
 reloadable=true  
/Context

But if I make a code change, and have to upload a newly compiled class to my
site, the changes dont take affect unless I stop and re-start Tomcat.
Any suggestions???

-Original Message-
From: Sullivan, Mark E [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 9:38 AM
To: 'Tomcat Users List'
Subject: RE: Is the a way to recompile classes


it's in the $TOMCAT_HOME/conf/server.xml file

-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 8:44 AM
To: 'Tomcat Users List'
Subject: RE: Is the a way to recompile classes


What file can I find this in???

-Original Message-
From: Sullivan, Mark E [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 9:36 AM
To: 'Tomcat Users List'
Subject: RE: Is the a way to recompile classes


add reloadable=true to the context configuration for your webapp

-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 8:35 AM
To: '[EMAIL PROTECTED]'
Subject: Q: Is the a way to recompile classes


Im running Tomcat 3.2.4, is there a way to load recompiled classes without
having to re-start Tomcat??

Anthony Diodato 
Webmaster - IT 
Prophet 21, Inc. 
19 West College Avenue 
Yardley, PA 19067 
1-800-776-7438, ext. 4600 
Fax: 215-321-8014 
[EMAIL PROTECTED] 
http://www.p21.com/ http://www.p21.com/  
Prophet 21 -- Powering the Distribution Industry for the Digital Age 

For the latest press releases from Prophet 21 --
http://www.p21.com/press/press.html http://www.p21.com/press/press.html  


*   2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
(E2E) Commerce 
*   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
*   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim

For the latest articles on Prophet 21 
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
htm
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate
.htm  
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm  
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm 


 


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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

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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the 

Keep threads seperate please.

2002-07-23 Thread Ron Day

Please START NEW THREADS with NEW EMAIL TITLES please. It is hard to follow
when people start new threads by replying to an old one. And you probably
will not get a good answer either !!

The attached Solaris question was titled Tomcat and ASP

ron

-Original Message-
From: Feng Zhou [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 10:29 AM
To: Tomcat Users List
Subject: RE: Tomcat and ASP


Has anybody tried to compile Apache 2.0.39 on Solaris 7 (Sparc)?

I am trying to get Apache/Tomcat working on a SUN box but I got this error
while compiling:


make[3]: Entering directory `/home/fzhou/apache-2.0.39/os/unix'
/bin/sh /home/fzhou/apache-2.0.39/srclib/apr/libtool --silent --mode=compile
gcc
  -g -O2 -pthreads -DNO_DBM_REWRITEMAP-DSOLARIS2=7 -D_POSIX_PTHREAD_SEMA
NTIC
S -D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER   -I/home/fzhou/apache-2.0.3
9/sr
clib/apr/include -I/home/fzhou/apache-2.0.39/srclib/apr-util/include -I/usr/
loca
l/include -I. -I/home/fzhou/apache-2.0.39/os/unix -I/home/fzhou/apache-2.0.3
9/se
rver/mpm/prefork -I/home/fzhou/apache-2.0.39/modules/http -I/home/fzhou/apac
he-2
.0.39/modules/filters -I/home/fzhou/apache-2.0.39/modules/proxy -I/home/fzho
u/ap
ache-2.0.39/include -I/home/fzhou/apache-2.0.39/modules/dav/main  -c unixd.c

touch unixd.lo
unixd.c: In function `unixd_set_global_mutex_perms':
unixd.c:429: `apr_os_global_mutex_t' undeclared (first use in this function)
unixd.c:429: (Each undeclared identifier is reported only once
unixd.c:429: for each function it appears in.)
unixd.c:429: parse error before `osgmutex'
unixd.c:430: `osgmutex' undeclared (first use in this function)
make[3]: *** [unixd.lo] Error 1
make[3]: Leaving directory `/home/fzhou/apache-2.0.39/os/unix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/fzhou/apache-2.0.39/os/unix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fzhou/apache-2.0.39/os'
make: *** [all-recursive] Error 1


And the compilation stops at this point...


I also tried the binary version,  unfortunately that's only available for
Solaris 8.


If anybody has sucessful experience running this on Solaris 7, could you
share some tips? Thanks!


-Feng

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


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




Re: Help with chaining servlets via filters

2002-07-23 Thread Craig R. McClanahan



On Tue, 23 Jul 2002, John Rishea wrote:

 Date: Tue, 23 Jul 2002 06:33:57 -0600
 From: John Rishea [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat User Group [EMAIL PROTECTED]
 Subject: Help with chaining servlets via filters

 Could someone please point me toward a good resource that shows an example
 of chaining two servlets using a filter?  I've found lots of filter examples
 during my google searches but none of them shows exactly how to chain two
 servlets together with a filter.


What are you trying to accomplish by chaining two servlets using a
filter?  The traditional definition of servlet chaining (feeding the
output of one servlet into another) has turned out to be a very bad design
pattern, so it's not supported.

On the other hand, filters themselves can modify input on the way in, and
output on the way out.  And you can easily configure more than one filter
to be mapped to a particular request.

It all comes down to what you are trying to accomplish.

 Thanks for the help.

 __
 John Rishea

Craig


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




Re: Tomcat Question

2002-07-23 Thread Craig R. McClanahan



On Tue, 23 Jul 2002, Anthony Diodato wrote:


 Im running Tomcat 3.2.4, is there a way to load recompiled classes without
 having to re-start Tomcat??


In theory, Tomcat 3.2.x knows how to automatically reload a webapp if a
class in /WEB-INF/classes changes (it doesn't detect changes anywhere
else).  In practice, there were lots and lots of bugs in the reload code
-- you'd be *much* better off upgrading to a more current version of
Tomcat.

Craig


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




Re: AW: Tomcat Question

2002-07-23 Thread Craig R. McClanahan



On Tue, 23 Jul 2002, Ralph Einfeldt wrote:

 Date: Tue, 23 Jul 2002 16:51:48 +0200
 From: Ralph Einfeldt [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: AW: Tomcat Question

 Then define a dummy jsp and give it a try.

That wouldn't help anyway -- updating a JSP page causes only that page to
be reloaded, not the entire webapp.

 If that doesn't work for 3.2 you have to upgrade
 to tomcat 4.x.

That's the idea.

Craig


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




RE: Tomcat and ASP

2002-07-23 Thread Feng Zhou

Has anybody tried to compile Apache 2.0.39 on Solaris 7 (Sparc)?

I am trying to get Apache/Tomcat working on a SUN box but I got this error while 
compiling:


make[3]: Entering directory `/home/fzhou/apache-2.0.39/os/unix'
/bin/sh /home/fzhou/apache-2.0.39/srclib/apr/libtool --silent --mode=compile gcc
  -g -O2 -pthreads -DNO_DBM_REWRITEMAP-DSOLARIS2=7 -D_POSIX_PTHREAD_SEMANTIC
S -D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER   -I/home/fzhou/apache-2.0.39/sr
clib/apr/include -I/home/fzhou/apache-2.0.39/srclib/apr-util/include -I/usr/loca
l/include -I. -I/home/fzhou/apache-2.0.39/os/unix -I/home/fzhou/apache-2.0.39/se
rver/mpm/prefork -I/home/fzhou/apache-2.0.39/modules/http -I/home/fzhou/apache-2
.0.39/modules/filters -I/home/fzhou/apache-2.0.39/modules/proxy -I/home/fzhou/ap
ache-2.0.39/include -I/home/fzhou/apache-2.0.39/modules/dav/main  -c unixd.c 
touch unixd.lo
unixd.c: In function `unixd_set_global_mutex_perms':
unixd.c:429: `apr_os_global_mutex_t' undeclared (first use in this function)
unixd.c:429: (Each undeclared identifier is reported only once
unixd.c:429: for each function it appears in.)
unixd.c:429: parse error before `osgmutex'
unixd.c:430: `osgmutex' undeclared (first use in this function)
make[3]: *** [unixd.lo] Error 1
make[3]: Leaving directory `/home/fzhou/apache-2.0.39/os/unix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/fzhou/apache-2.0.39/os/unix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fzhou/apache-2.0.39/os'
make: *** [all-recursive] Error 1


And the compilation stops at this point...


I also tried the binary version,  unfortunately that's only available for Solaris 8. 


If anybody has sucessful experience running this on Solaris 7, could you share some 
tips? Thanks!


-Feng

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




map to multiple paths?

2002-07-23 Thread Panos Konstantinidis

  Hello there I am working on a project where we are
trying to migrate our whole system from Resin to
Tomcat. We are running Tomcat 3.3.1 under Windows NT.

  We have a common folder that is accessible by all
our webapps in Resin and this folder contains all the
include files we are using. In Resin we are mapping
this folder to an absolute path (the folder exists in
the C root) by doing a:

path-mapping url-pattern='/wtgContent/*'
real-path='D:/IncludeFiles/2002/'/

and when an include file is encountered with the %@
include file=/twgContent/ then Resing looks in the
D:\IncludeFiles\2002 folder. I would like to do
something similar with Tomcat but I am not sure how I
can do it. I have tried to add a second Context
(after the webapp context) in my app-test.xml file but
with no luck. Even though it reads it properly and
does not throw any error messages the include files
cannot be found.

  Any help here is appreciated.

  Regards

 Panos

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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




Creating new applications

2002-07-23 Thread Martin

The documentation is scary so I ordered some tomcat books.
In the meantime, I would like to create new applications that
are in a different directory that belong to a virtual host.

I added

WebAppDeploy servlet warpConnection /servlet/

to httpd.conf

That of course will point to the default CATALINA_HOME/webapps/
which I'd like to change.  What do I add to server.xml to create a new
application pointing somewhere else???


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




RE: Help with chaining servlets via filters

2002-07-23 Thread John Rishea

Craig,

I have one servlet that runs a unix script using runtime exec to create an
output file, then a follow-up servlet that takes the output file and
displays it to a browser window.  The servlets work fine separately but
don't work when combined into a single servlet.  So I was looking for a way
to call the display servlet immediately after the script-running servlet
does its thing.

Any constructive suggestions would be appreciated.
__
John Rishea

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 9:47 AM
To: Tomcat Users List
Subject: Re: Help with chaining servlets via filters




On Tue, 23 Jul 2002, John Rishea wrote:

 Date: Tue, 23 Jul 2002 06:33:57 -0600
 From: John Rishea [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat User Group [EMAIL PROTECTED]
 Subject: Help with chaining servlets via filters

 Could someone please point me toward a good resource that shows an example
 of chaining two servlets using a filter?  I've found lots of filter
examples
 during my google searches but none of them shows exactly how to chain two
 servlets together with a filter.


What are you trying to accomplish by chaining two servlets using a
filter?  The traditional definition of servlet chaining (feeding the
output of one servlet into another) has turned out to be a very bad design
pattern, so it's not supported.

On the other hand, filters themselves can modify input on the way in, and
output on the way out.  And you can easily configure more than one filter
to be mapped to a particular request.

It all comes down to what you are trying to accomplish.

 Thanks for the help.

 __
 John Rishea

Craig


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


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




I find lots of these messages in my mod_jk.log. Should I worry? I am using tc4.0.4 with apache2

2002-07-23 Thread Luminous Heart

[Tue Jul 23 12:18:15 2002]  [jk_ajp_common.c (844)]:
Error connecting to the Tomcat process.
[Tue Jul 23 12:18:15 2002]  [jk_ajp_common.c (1153)]:
In jk_endpoint_t::service, ajp_send_request failed in
send loop 0
[Tue Jul 23 12:18:15 2002]  [jk_connect.c (151)]:
jk_open_socket, connect() failed errno = 111
[Tue Jul 23 12:18:15 2002]  [jk_ajp_common.c (599)]:
In jk_endpoint_t::ajp_connect_to_endpoint, failed
errno = 111
[Tue Jul 23 12:18:15 2002]  [jk_ajp_common.c (844)]:
Error connecting to the Tomcat process.
[Tue Jul 23 12:18:15 2002]  [jk_ajp_common.c (1153)]:
In jk_endpoint_t::service, ajp_send_request failed in
send loop 1
[Tue Jul 23 12:18:15 2002]  [jk_connect.c (151)]:
jk_open_socket, connect() failed errno = 111
[Tue Jul 23 12:18:15 2002]  [jk_ajp_common.c (599)]:
In jk_endpoint_t::ajp_connect_to_endpoint, failed
errno = 111
[Tue Jul 23 12:18:15 2002]  [jk_ajp_common.c (844)]:
Error connecting to the Tomcat process.
[Tue Jul 23 12:18:15 2002]  [jk_ajp_common.c (1153)]:
In jk_endpoint_t::service, ajp_send_request failed in
send loop 2


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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




RE: Xalan performance within Tomcat

2002-07-23 Thread Jacob Hookom

What are you exactly doing to do the transformations?  There seems to be
about a dozen ways you could go about it setting up the Templates and
the transformation

Jacob Hookom 
Comprehensive Computer Science 
University of Wisconsin, Eau Claire 


-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 23, 2002 12:55 AM
To: Tomcat Users List
Subject: AW: Xalan performance within Tomcat

As the original post says that the cpu performance was lower
for the servlet application, it sounds to me as if tomcat 
and the servlet fight for the same restricted resource.

I just can give the advice to monitor the system
to see any differences. (Watch for swapping, paging,
disk io, use a profiler to see what happens, trace 
system calls)

 -Ursprüngliche Nachricht-
 Von: Will Hartung [mailto:[EMAIL PROTECTED]]
 Gesendet: Montag, 22. Juli 2002 19:21
 An: Tomcat Users List
 Betreff: Re: Xalan performance within Tomcat
 
  Can anyone think of anything, either java related, Tomcat 
  related, xalan related, etc. that would cause the time for 
  the same transform to be much much slower from within a 
  servlet running in Tomcat as opposed to a test program run 
  from command line.
 

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.375 / Virus Database: 210 - Release Date: 7/10/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.375 / Virus Database: 210 - Release Date: 7/10/2002
 


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




RE: Help with chaining servlets via filters

2002-07-23 Thread Jacob Hookom

http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html

Jacob Hookom 
Comprehensive Computer Science 
University of Wisconsin, Eau Claire 


-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 23, 2002 10:47 AM
To: Tomcat Users List
Subject: Re: Help with chaining servlets via filters



On Tue, 23 Jul 2002, John Rishea wrote:

 Date: Tue, 23 Jul 2002 06:33:57 -0600
 From: John Rishea [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat User Group [EMAIL PROTECTED]
 Subject: Help with chaining servlets via filters

 Could someone please point me toward a good resource that shows an
example
 of chaining two servlets using a filter?  I've found lots of filter
examples
 during my google searches but none of them shows exactly how to chain
two
 servlets together with a filter.


What are you trying to accomplish by chaining two servlets using a
filter?  The traditional definition of servlet chaining (feeding the
output of one servlet into another) has turned out to be a very bad
design
pattern, so it's not supported.

On the other hand, filters themselves can modify input on the way in,
and
output on the way out.  And you can easily configure more than one
filter
to be mapped to a particular request.

It all comes down to what you are trying to accomplish.

 Thanks for the help.

 __
 John Rishea

Craig


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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.375 / Virus Database: 210 - Release Date: 7/10/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.375 / Virus Database: 210 - Release Date: 7/10/2002
 


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




RE: Help with chaining servlets via filters

2002-07-23 Thread Craig R. McClanahan



On Tue, 23 Jul 2002, John Rishea wrote:

 Date: Tue, 23 Jul 2002 10:09:50 -0600
 From: John Rishea [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: RE: Help with chaining servlets via filters

 Craig,

 I have one servlet that runs a unix script using runtime exec to create an
 output file, then a follow-up servlet that takes the output file and
 displays it to a browser window.  The servlets work fine separately but
 don't work when combined into a single servlet.  So I was looking for a way
 to call the display servlet immediately after the script-running servlet
 does its thing.

 Any constructive suggestions would be appreciated.

Why can't you just modify the servlet that runs the unix script to copy
the output back to the client after the script executes?

If the second servlet needs to perform modifications in the output format
(such as converting static text into HTML, or performing an XSLT
transformation on an XML file), that's the kind of things that a Filter is
for.  Search Google and java.sun.com for filter and you'll find lots of
tutorials, resources, and examples of how to build such a thing.

 __
 John Rishea

Craig


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




Is there any way to stop exceptions getting logged to log file?

2002-07-23 Thread Mark O'Driscoll

I am using a filter to trap exceptions thrown by jsps/servlets. In normal
program operation, lots of these exceptions get thrown.
In order to stop 'localhost_log.-MM-DD.txt' getting clogged, I'd like to
stop exceptions that are handled by the servlet engine from being logged.
Or at least ust havethe exception mentioned rather than the full stack
trace.


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




Setting JkMount for root context servlets, jsps

2002-07-23 Thread Chris Ruegger


If I have a web app under Tomcat set as the root context,  how should I set up
my JkMount specs in mod_jk.conf such that calls to anything ending in .jsp
or starting with /servlet are sent to tomcat?

All of the examples I've seen so far redirect calls to Tomcat just based on the
context name, e.g.:

JkMount /examples ajp13
JkMount /examples/* ajp13

How would I set up the jsp/servlet redirection patterns? Is this correct?

JkMount /servlet ajp13
JkMount /*.jsp ajp13

Thanks




RE: AW: Tomcat Question

2002-07-23 Thread Anthony Diodato

Im in the process of upgrading to Tomcat 4.0.1 on a development machine now.
Ill let you know how I make out.

Thanks
Tony

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 11:52 AM
To: Tomcat Users List
Subject: Re: AW: Tomcat Question




On Tue, 23 Jul 2002, Ralph Einfeldt wrote:

 Date: Tue, 23 Jul 2002 16:51:48 +0200
 From: Ralph Einfeldt [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: AW: Tomcat Question

 Then define a dummy jsp and give it a try.

That wouldn't help anyway -- updating a JSP page causes only that page to
be reloaded, not the entire webapp.

 If that doesn't work for 3.2 you have to upgrade
 to tomcat 4.x.

That's the idea.

Craig


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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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




RE: [4.1.8] New test milestone released

2002-07-23 Thread Shapira, Yoav

Howdy,
Downloaded, playing with it now.  Looks good so far ;)

What do people thing about adding the date/time to the Starting service
... and Stopping service ... messages in Catalina.out?  e.g.
Starting service Tomcat-Standalone at 2002-07-23 13:30 ?  I'd like
that.


Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Remy Maucherat [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 12:45 PM
To: Tomcat Developers List; Tomcat Users List
Subject: [4.1.8] New test milestone released

A new test milestone of Tomcat 4.1 has just been released.

Downloads:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.8/

Significant changes over 4.1.7 Beta include:
- Many Jasper 2 bugfixes
- DBCP fixes

The list of changes is available in the release notes.

Remy


--
To unsubscribe, e-mail:   mailto:tomcat-user-
[EMAIL PROTECTED]
For additional commands, e-mail: mailto:tomcat-user-
[EMAIL PROTECTED]


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




Re: Is there any way to stop exceptions getting logged to log file?

2002-07-23 Thread Craig R. McClanahan



On Tue, 23 Jul 2002, Mark O'Driscoll wrote:

 Date: Tue, 23 Jul 2002 18:18:42 +0100
 From: Mark O'Driscoll [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Is there any way to stop exceptions getting logged to log file?

 I am using a filter to trap exceptions thrown by jsps/servlets. In normal
 program operation, lots of these exceptions get thrown.
 In order to stop 'localhost_log.-MM-DD.txt' getting clogged, I'd like to
 stop exceptions that are handled by the servlet engine from being logged.
 Or at least ust havethe exception mentioned rather than the full stack
 trace.


To avoid the exceptions getting logged, you'll need to catch them in the
servlet or JSP itself (which is a much better programming practice than
letting them flow through), so that the servlet container never sees them.
Exceptions from servlets and JSPs should not be considered normal --
they are an indication of an error condition that the application should
have taken care of, but did not.

To change how much gets logged when an exception is caught by Tomcat,
you'll need to modify the Tomcat sources.

Craig


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




Filter order of operation

2002-07-23 Thread Jacob Hookom

I know that a single request can come through multiple Filters in a
chain, I'm wondering if there's any reliable way to ensure precedence in
the chain of operation?

Jacob Hookom 
Comprehensive Computer Science 
University of Wisconsin, Eau Claire 



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.375 / Virus Database: 210 - Release Date: 7/10/2002
 


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




Re: Filter order of operation

2002-07-23 Thread Craig R. McClanahan



On Tue, 23 Jul 2002, Jacob Hookom wrote:

 Date: Tue, 23 Jul 2002 12:54:52 -0500
 From: Jacob Hookom [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Filter order of operation

 I know that a single request can come through multiple Filters in a
 chain, I'm wondering if there's any reliable way to ensure precedence in
 the chain of operation?


Browse to http://java.sun.com/products/servlet/download.html.

Download the Servlet 2.3 specification.

Read Chapter 6 -- in particular 6.2.4.

 Jacob Hookom
 Comprehensive Computer Science
 University of Wisconsin, Eau Claire


Craig


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




Re: Is it possible to specify a global 404 error page for all appsun der tomcat 4

2002-07-23 Thread Mike McGuinness

Change your location to a directory under the webapp name.

E.g., A web app named myapp is under webapp  ...webapps/myapp

In this example the file to serve should be relative to the myapp dir
not the webapps dir.


On Mon, 2002-07-22 at 16:42, John Regan wrote:

Good afternoon,
I am trying to specify a generic 404 error page for all webapps in tomcat 4.
I added the following entry to tomcathome\conf\web.xml:
error-page
error-code404/error-code
location/csa/jsp/Error404.jsp/location
   /error-page
under the default welcome files list and it doesn't work(just the generic
tomcat page not found page comes up).  csa is a directory under webapps.  Is
there a way to make this work??

Thanks in advance for any help,
JBR
breakdancing will never go out of style.
Larry Crantz '87




Tomcat Caching after uploading new files

2002-07-23 Thread Steve

Hi Everyone,

I am desperately stuck with a problem and the
developers are ripping me apart for it :)

The issue is that Tomcat seems to keep a cache of all
the of the .java files which have been previously
executed in the c:\tomcat4\work\localhost\
directory. So everytime a change is made I have to
manually go into the directory and delete all the
files.

I know this probably doesn't seem like much a problem,
but we are still in the production stage of an
application, and the developers are getting annoyed at
having to delete it everytime they upload new code.

This problem started occuring recently.

Is it a configuration issue? If it is where can I
look?

Im currently running Tomcat 4.0.3
On Windows 2000

Thank you!!

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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




RE: Tomcat Caching after uploading new files

2002-07-23 Thread Durham David Cntr 805CSS/SCBE

Executing .java files??

Do you have  reloadable=true  in the Context / element for the app?



-Original Message-
From: Steve [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 1:26 PM
To: [EMAIL PROTECTED]
Subject: Tomcat Caching after uploading new files


Hi Everyone,

I am desperately stuck with a problem and the
developers are ripping me apart for it :)

The issue is that Tomcat seems to keep a cache of all
the of the .java files which have been previously
executed in the c:\tomcat4\work\localhost\
directory. So everytime a change is made I have to
manually go into the directory and delete all the
files.

I know this probably doesn't seem like much a problem,
but we are still in the production stage of an
application, and the developers are getting annoyed at
having to delete it everytime they upload new code.

This problem started occuring recently.

Is it a configuration issue? If it is where can I
look?

Im currently running Tomcat 4.0.3
On Windows 2000

Thank you!!

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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


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




error

2002-07-23 Thread Carlos

can anybody says me what means this tomcat error?:
thanks

type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error)
that prevented it from fulfilling this request.

exception

java.lang.IllegalStateException
at
org.apache.catalina.connector.HttpResponseFacade.sendRedirect(HttpResponseFa
cade.java:173)
at org.apache.jsp.index$jsp._jspService(index$jsp.java:1124)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:201)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1011)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106
)
at java.lang.Thread.run(Thread.java:484)




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




Tomcat mod_webapp: somtimes browser doesn't receibe images from apache

2002-07-23 Thread Nicolás Marjovsky

Hello.
I'm using mod_webapp connector version 1.0.1, with tomcat, 4.0.1 and
apache 1.3.12. 
The problem I'm having is that sometimes the images and stylesheets
hosted by apache, referenced by the HTML pages generated by the JSPs
don't get loaded. The point is that when these images are hosted within
tomcat they work perfectly well, and all other websites that are being
served by Apache also work fine
Any idea of what might be happening?

Thanks a lot
Nicolás


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




RE: Tomcat mod_webapp: somtimes browser doesn't receibe images from apache

2002-07-23 Thread Charles N. Harvey III

mod_webapp forwards *ALL* requests to Tomcat.  Leaving nothing for
Apache to handle.  If you want images and stylesheets to be kept in apache
then you have to use mod_jk instead.

Charlie

 -Original Message-
 From: Nicolás Marjovsky [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 23, 2002 1:46 PM
 To: 'Tomcat Users List'
 Subject: Tomcat  mod_webapp: somtimes browser doesn't receibe images
 from apache


 Hello.
 I'm using mod_webapp connector version 1.0.1, with tomcat, 4.0.1 and
 apache 1.3.12.
 The problem I'm having is that sometimes the images and stylesheets
 hosted by apache, referenced by the HTML pages generated by the JSPs
 don't get loaded. The point is that when these images are hosted within
 tomcat they work perfectly well, and all other websites that are being
 served by Apache also work fine
 Any idea of what might be happening?

 Thanks a lot
 Nicolás


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



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




RE: Filter order of operation

2002-07-23 Thread Jacob Hookom

Cheers, I did a search previously on sun's site but everything seemed to
only skim the surface.

Jacob Hookom 
Comprehensive Computer Science 
University of Wisconsin, Eau Claire 


-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 23, 2002 1:13 PM
To: Tomcat Users List
Subject: Re: Filter order of operation



On Tue, 23 Jul 2002, Jacob Hookom wrote:

 Date: Tue, 23 Jul 2002 12:54:52 -0500
 From: Jacob Hookom [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Filter order of operation

 I know that a single request can come through multiple Filters in a
 chain, I'm wondering if there's any reliable way to ensure precedence
in
 the chain of operation?


Browse to http://java.sun.com/products/servlet/download.html.

Download the Servlet 2.3 specification.

Read Chapter 6 -- in particular 6.2.4.

 Jacob Hookom
 Comprehensive Computer Science
 University of Wisconsin, Eau Claire


Craig


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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.375 / Virus Database: 210 - Release Date: 7/10/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.375 / Virus Database: 210 - Release Date: 7/10/2002
 


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




  1   2   >