tomcat 3.2.4

2005-10-11 Thread Steve Souza

Hi folks,

I'm new to the list, so I apologize in advance for any
faux pas I may commit here!

The question is simple - we'd like to get the 3.2.4
release of Tomcat, but do not see a download link on
the Apache site.  Is it archived somewhere?  I know
it's old, but we haven't moved to the new architecture
yet.

Many many thanks!

Regards,
Steve

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



Re: tomcat 3.2.4

2005-10-11 Thread Glen Mazza

http://jakarta.apache.org/tomcat/tomcat-3.2-doc/index.html should be 3.2.4.

Glen

Steve Souza wrote:

Hi folks,

I'm new to the list, so I apologize in advance for any
faux pas I may commit here!

The question is simple - we'd like to get the 3.2.4
release of Tomcat, but do not see a download link on
the Apache site.  Is it archived somewhere?  I know
it's old, but we haven't moved to the new architecture
yet.

Many many thanks!

Regards,
Steve

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




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



RE: tomcat 3.2.4

2005-10-11 Thread GB Developer
http://archive.apache.org/dist/jakarta/tomcat-3/archive/v3.2.4/


 -Original Message-
 From: Steve Souza [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, October 11, 2005 3:18 PM
 To: Tomcat Users List
 Subject: tomcat 3.2.4
 
 
 Hi folks,
 
 The question is simple - we'd like to get the 3.2.4
 release of Tomcat, but do not see a download link on
 the Apache site.  Is it archived somewhere?  I know


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



Re: issues using Tomcat 3.2.4 with JavaVM jdk 1.4.1?

2005-01-07 Thread Bill Barker

Mieke Banderas [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Are there any issues I should know about using Tomcat 3.2.4 with JavaVM
 jdk 1.4.1? I'm looking for general known info/bugs . I'm deploying on Mac
 OS X Server 10.2.6 and the bundled Tomcat 3.2.4 distribution.

Other than it is unsupported, and the number of people who even remember how 
to use it is getting smaller, most of 
http://issues.apache.org/bugzilla/buglist.cgi?bug_status=__open__product=Tomcat+3
 
refers to issues in 3.2.4.

 Database is MySQL 3, which may change and Web server is Apache 1.3.

I believe that 3.2.x only supports AJP/1.2, so you can't use mod_jk2.




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



issues using Tomcat 3.2.4 with JavaVM jdk 1.4.1?

2005-01-06 Thread Mieke Banderas
Are there any issues I should know about using Tomcat 3.2.4 with JavaVM
jdk 1.4.1? I'm looking for general known info/bugs . I'm deploying on Mac
OS X Server 10.2.6 and the bundled Tomcat 3.2.4 distribution.

Database is MySQL 3, which may change and Web server is Apache 1.3.




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



Tomcat 3.2.4 problem under Mac OS X SERVER 10.2.6

2005-01-02 Thread Mieke Banderas
When I try and run the originally installed Tomcat 3.2.4 that came with
Mac OS X Server 10.2 nothing happens. If I try and use the startup
script, which I think on this system is not enough, I get this message
during upstart.

Exception in thread main java.lang.NoClassDefFoundError: org/apache/
commons/discovery/tools/DiscoverSingleton

Any ideas were to start an debug this installation or how to get back to
the original installation wihtout reinstalling the complete OS? I have
removed the Tomcat folder once for making room for Tomcat 4, but I moved
it back and repaired permissions. This clearly was not enough. Any ideas
for troubleshooting this are welcome.

Here is the full startup result:


[machine:/Library/Tomcat/bin] root# ./startup.sh
Guessing TOMCAT_HOME from tomcat.sh to ./..
Setting TOMCAT_HOME to ./..
Using classpath: /Library/Tomcat/lib/xercesImpl.jar:/Library/Tomcat/lib/
xmlParserAPIs.jar:./../lib/ant.jar:./../lib/axis.jar:./../lib/commons-
logging.jar:./../lib/jasper.jar:./../lib/jaxp.jar:./../lib/jaxrpc.jar:./
../lib/log4j-core.jar:./../lib/parser.jar:./../lib/saaj.jar:./../lib/
servlet.jar:./../lib/test:./../lib/tt-bytecode.jar:./../lib/
webserver.jar:./../lib/xercesImpl.jar:./../lib/xmlParserAPIs.jar
[tankekraft:/Library/Tomcat/bin] root# 2005-01-03 06:19:02 -
ContextManager: Adding context Ctx( /examples )
2005-01-03 06:19:02 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages 
2005-01-03 06:19:02 - ContextManager: Adding context Ctx( /axis )
2005-01-03 06:19:02 - ContextManager: Adding context Ctx(  )
2005-01-03 06:19:02 - ContextManager: Adding context Ctx( /test )
Exception in thread main java.lang.NoClassDefFoundError: org/apache/
commons/discovery/tools/DiscoverSingleton
at org.apache.axis.components
.logger.LogFactory$1.run(LogFactory.java:84)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.components
.logger.LogFactory.getLogFactory(LogFactory.java:80)
at org.apache.axis.components
.logger.LogFactory.clinit(LogFactory.java:72)
at org.apache.axis.transport.
http.AxisServlet.clinit(AxisServlet.java:101)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.axis.transport.
http.AxisServletBase.class$(AxisServletBase.java:87)
at org.apache.axis.transport.
http.AxisServletBase.clinit(AxisServletBase.java:94)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstruc
torAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingCons
tructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:306)
at java.lang.Class.newInstance(Class.java:259)
at org.apache.tomcat.core.Ser
vletWrapper.loadServlet(ServletWrapper.java:268)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
at org.apache.tomcat.context.
LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:130)
at org.apache.tomcat.core.Con
textManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:240)
 



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



Would JK2 Work with Tomcat 3.2.4 ?

2004-06-07 Thread Narayana Reddy (nreddy)
Hi All
I have a requirement to integrate Apache 2.0.48 with Tomcat 3.2.4 ( This 
comes as part of a third party software ). I am wondering , if I could use 
mod_jk2 with this version of tomcat. I have already tried mod_jk, Apache 
complained about compatibility.

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


Re: Would JK2 Work with Tomcat 3.2.4 ?

2004-06-07 Thread Bill Barker
There shouldn't be any problems using mod_jk2 with TC 3.2.x.  Of course, you
are limited to using the Socket channel on mod_jk2, and the Ajp13 Connector
on TC 3.2.x.

Narayana Reddy (nreddy) [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi All


 I have a requirement to integrate Apache 2.0.48 with Tomcat 3.2.4 ( This
 comes as part of a third party software ). I am wondering , if I could use
 mod_jk2 with this version of tomcat. I have already tried mod_jk, Apache
 complained about compatibility.

 Thanks
 Narayan




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



Re: mod_jk and Tomcat 3.2.4

2003-08-30 Thread Bill Barker
AFAIK, the latest-and-greatest should still work with 3.2.x.

Armenio Pinto [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi there, can anyone tell me, please, where can I find the most suitable
version of mod_jk to use with Tomcat 3.2.4? Thanks in advance,

Arménio Pinto




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



Re: mod_jk and Tomcat 3.2.4

2003-08-30 Thread Marco Tedone
I'm using mod_jk2-2.0.43.dll with Tomcat 4.1.27 and everything is working
fine.

Marco
- Original Message - 
From: Bill Barker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, August 30, 2003 4:39 AM
Subject: Re: mod_jk and Tomcat 3.2.4


 AFAIK, the latest-and-greatest should still work with 3.2.x.

 Armenio Pinto [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 Hi there, can anyone tell me, please, where can I find the most suitable
 version of mod_jk to use with Tomcat 3.2.4? Thanks in advance,

 Arménio Pinto




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






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



mod_jk and Tomcat 3.2.4

2003-08-29 Thread Armenio Pinto
Hi there, can anyone tell me, please, where can I find the most suitable
version of mod_jk to use with Tomcat 3.2.4? Thanks in advance,

Arménio Pinto

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



sendRedirect() in Tomcat 3.2.4

2003-08-29 Thread Armenio Pinto
Hi there,

I'm getting the following exception when I do a sendRedirect() in Tomcat
3.2.4. Has anyone experienced this before? Thanks in advance,

Arménio Pinto


java.lang.IllegalStateException: Response has already been committed
at
org.apache.tomcat.facade.HttpServletResponseFacade.sendError(HttpServletResp
onseFacade.java:202)
at
org.apache.tomcat.facade.HttpServletResponseFacade.sendRedirect(HttpServletR
esponseFacade.java:228)
at
jsp._0002fjsp_0002fentrada_0002ejspentrada_jsp_3._jspService(_0002fjsp_0002f
entrada_0002ejspentrada_jsp_3.java:209)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
va:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:282)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:80
6)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:166)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:534)

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



Re: sendRedirect() in Tomcat 3.2.4

2003-08-29 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#illegalstate

-Tim

Armenio Pinto wrote:
Hi there,

I'm getting the following exception when I do a sendRedirect() in Tomcat
3.2.4. Has anyone experienced this before? Thanks in advance,
Arménio Pinto

java.lang.IllegalStateException: Response has already been committed
at
org.apache.tomcat.facade.HttpServletResponseFacade.sendError(HttpServletResp


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


Re: sendRedirect() in Tomcat 3.2.4

2003-08-29 Thread ToFu
Looks like you've already written something to the stream.  Don't write
anything to the JspWriter if you plan on redirecting.



- Original Message -
From: Armenio Pinto [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, August 29, 2003 10:48 AM
Subject: sendRedirect() in Tomcat 3.2.4


Hi there,

I'm getting the following exception when I do a sendRedirect() in Tomcat
3.2.4. Has anyone experienced this before? Thanks in advance,

Arménio Pinto


java.lang.IllegalStateException: Response has already been committed
at
org.apache.tomcat.facade.HttpServletResponseFacade.sendError(HttpServletResp
onseFacade.java:202)
at
org.apache.tomcat.facade.HttpServletResponseFacade.sendRedirect(HttpServletR
esponseFacade.java:228)
at
jsp._0002fjsp_0002fentrada_0002ejspentrada_jsp_3._jspService(_0002fjsp_0002f
entrada_0002ejspentrada_jsp_3.java:209)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
va:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:282)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:80
6)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:166)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:534)

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




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



RE: Tomcat 3.2.4 behind a proxy

2003-08-27 Thread Brian Peterson
Hello,

You may want to upgrade to a 4.1.x or 5.0.x version of Tomcat.  I'm having
issues with certain keep-alives in 4.1.27, but other than that the reverse
proxy setup I have seems to work well.

Good Luck!

Brian Peterson

 -Original Message-
 From: Armenio Pinto [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 26, 2003 3:30 AM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat 3.2.4 behind a proxy


 Hi there,

  I'm replying because I haven't received any answers yet.
 Is the list
 working correctly (I received the e-mail, so...)? Is the
 question confusion
 in any way? I really need to solve this problem, because
 currently I can't
 make Tomcat available to the users. Thanks in advance,

 Arménio Pinto


 -Original Message-
 From: Armenio Pinto [mailto:[EMAIL PROTECTED]
 Sent: segunda-feira, 25 de Agosto de 2003 16:41
 To: 'Tomcat Users List'
 Subject: Tomcat 3.2.4 behind a proxy


 Hi there,

  I'm current using Tomcat 3.2.4 in a private network, and
 want to give
 access to external clients through an Apache server
 configured as proxy. The
 problem is that Tomcat is changing request addresses... I
 know how to solve
 this problem in Apache (simply turn UseCanonicalName off),
 but how can I do
 it in Tomcat?

 For example: if the proxy address to Tomcat is
 www.test.pt/tomcat, it seems
 that Tomcat changes it to www.othersidetest.pt:8080.

 Thanks in advance,
 Arménio Pinto

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

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



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



RE: Tomcat 3.2.4 behind a proxy

2003-08-26 Thread Armenio Pinto
Hi there,

 I'm replying because I haven't received any answers yet. Is the list
working correctly (I received the e-mail, so...)? Is the question confusion
in any way? I really need to solve this problem, because currently I can't
make Tomcat available to the users. Thanks in advance,

Arménio Pinto


-Original Message-
From: Armenio Pinto [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 25 de Agosto de 2003 16:41
To: 'Tomcat Users List'
Subject: Tomcat 3.2.4 behind a proxy


Hi there,

 I'm current using Tomcat 3.2.4 in a private network, and want to give
access to external clients through an Apache server configured as proxy. The
problem is that Tomcat is changing request addresses... I know how to solve
this problem in Apache (simply turn UseCanonicalName off), but how can I do
it in Tomcat?

For example: if the proxy address to Tomcat is www.test.pt/tomcat, it seems
that Tomcat changes it to www.othersidetest.pt:8080.

Thanks in advance,
Arménio Pinto

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

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



Tomcat 3.2.4 behind a proxy

2003-08-25 Thread Armenio Pinto
Hi there,

 I'm current using Tomcat 3.2.4 in a private network, and want to give
access to external clients through an Apache server configured as proxy. The
problem is that Tomcat is changing request addresses... I know how to solve
this problem in Apache (simply turn UseCanonicalName off), but how can I do
it in Tomcat?

For example: if the proxy address to Tomcat is www.test.pt/tomcat, it seems
that Tomcat changes it to www.othersidetest.pt:8080.

Thanks in advance,
Arménio Pinto

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



Tomcat 3.2.4 and Apache Proxy

2003-07-30 Thread Armenio Pinto
Hi there,

 We're trying to access our Tomcat 3.2.4 server throught Apache
configured as proxy. Suppose that Tomcat responds at
http://www.mytomcat:8080 and that, throught the proxy, clients see it like
http://myproxy/mytomcat. Apache has the ProxyPass and ProxyPassReverse
correctly configured.

We are getting the following exception:

Servlet API error: sendError with commited buffer
java.lang.IllegalStateException: Response has already been committed
at
org.apache.tomcat.facade.HttpServletResponseFacade.sendError(HttpServletResp
onseFacade.java:202)
at
org.apache.tomcat.facade.HttpServletResponseFacade.sendRedirect(HttpServletR
esponseFacade.java:228)
(...)


Is there any known issues about Tomcat 3.2.4 behind proxies? I can't find
anything in the documentation... Thanks in advance,

Arménio Pinto

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



Tomcat 3.2.4 and J2SE 1.4.2 compatibility

2003-07-02 Thread Govinda Rao, Ragavendiran
Hi,

We intend to migrate our Java application to J2SE 1.4.2 from 1.3.1. I would
like to know whether I need to upgrade Tomcat 3.2.4 also at the same time.

Thanks,
Raga

-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: 02 July 2003 16:22
To: 'Tomcat Users List'
Subject: RE: Session.getInstance(props) causes catalina compile error


You don't really need to build tomcat from source. Download a binary
distribution, install it, then explore the examples.

-Original Message-
From: Thomas Gagné [mailto:[EMAIL PROTECTED] 
Sent: July 2, 2003 11:20 AM
To: Tomcat Users List
Subject: Re: Session.getInstance(props) causes catalina compile error

Phillip Qin wrote:

Looks like you are build tomcat. Am I correct? Read building.txt carefully.
It tells you which package you need to download and *unpack*.

  

Yes, I'm trying to build Tomcat.  I want to explore JSP and servlet 
programming in Java.

The instructions I was following are from 
http://jakarta.apache.org/tomcat/building.html.  It seems to suggest 
that with only a build.xml and perhaps build.properties, everything 
should download and work happily.  There's another way?  I'll look 
around for it.


-- 
.tom




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

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



LDAP and Jakarta-Tomcat-3.2.4

2003-06-17 Thread Tien-Lung . Liu
Hi,

Could anyone please give me some pointers on the problem below?

I'm running Jakarta-tomcat-3.2.4 on the server (Windows 2000) and also 
have installed the Tomcat service usingjk_nt_service.exe. I'm using 
Jakarta-tomcat-3.2.4 to run a Java web service that authenticates the user against 
LDAP when 
he enters his username and password.

Everything runs fine, except for two occasions when suddenly the user 
cannot log on to the application. In the jvm.stderr, I found the same 
error message below on both occasions. I had to restart to NT Tomcat 
service, but that's not an ideal solution in production.

Can anyone give me a clue as to what's going on?  The error seems to 
happen randomly, so I haven't been able to track it down.

Thank you so much for your assistance.

Tien

(Tue Jun 17 10:56:56 EDT 2003) Processing SOAP request...
[EMAIL PROTECTED]/161D958: unowned
Waiting to be notified:
Thread-18 (0x5bb55e8)
Registered Monitor Dump:
SymcJIT Method Monitor: unowned
SymcJIT Method Monitor: unowned
SymcJIT Lazy Queue Lock: unowned
Waiting to be notified:
SymcJIT-LazyCompilation-0 (0x4a1b760)
SymcJIT-LazyCompilation-1 (0x4a177d8)
SymcJIT Method Monitor: unowned
SymcJIT Method List Monitor: unowned
SymcJIT Lock: unowned
utf8 hash table: unowned
JNI pinning lock: unowned
JNI global reference lock: unowned
BinClass lock: unowned
Class linking lock: unowned
System class loader lock: unowned
Code rewrite lock: unowned
Heap lock: unowned
Monitor cache lock: owner Signal dispatcher (0x4959c00) 1 entry
Thread queue lock: owner Signal dispatcher (0x4959c00) 1 entry
Waiting to be notified:
Thread-24 (0x2f41e8)
Monitor registry: owner Signal dispatcher (0x4959c00) 1 entry

A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has 
occurred in : 
  'com/sun/jndi/ldap/Connection.unpauseReader ()V': Interpreting method.
  Please report this error in detail to 
http://java.sun.com/cgi-bin/bugreport.cgi

A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has 
occurred in : 
  'com/sun/jndi/ldap/Connection.readReply 
(Lcom/sun/jndi/ldap/LdapRequest;)Lcom/sun/jndi/ldap/BerDecoder;': 
Interpreting method.
  Please report this error in detail to 
http://java.sun.com/cgi-bin/bugreport.cgi

(Tue Jun 17 10:57:24 EDT 2003) Processing SOAP request...

Porting a functioning Web App to Tomcat 3.2.4

2003-03-30 Thread Taylor, Robert
I have a Web App that I have successfully deployed to a JRun server, but when I try to 
port it over to Tomcat 3.2.4 I get the error that it cannot find my Servlet class. I 
hard coded the path to that class in my refering HTML page and it found the class 
properly, however I have several servlets accessed in that first servlet, and now it 
is choking on the second servlet call.
 
I have what I believe is a proper web.xml file, and in fact it was working properly on 
JRun, which could find all the abstracted servlets properly, but it apears that Tomcat 
is not reading the Web.xml file.
 
Can anyone please help me?
 
Rob

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



Porting a functioning Web App to Tomcat 3.2.4

2003-03-29 Thread Taylor, Robert
I have a Web App that I have successfully deployed to a JRun server, but when I try to 
port it over to Tomcat 3.2.4 I get the error that it cannot find my Servlet class. I 
hard coded the path to that class in my refering HTML page and it found the class 
properly, however I have several servlets accessed in that first servlet, and now it 
is choking on the second servlet call.
 
I have what I believe is a proper web.xml file, and in fact it was working properly on 
JRun, which could find all the abstracted servlets properly, but it apears that Tomcat 
is not reading the Web.xml file.
 
Can anyone please help me?
 
Rob

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



JVM Bind error when starting Tomcat 3.2.4

2003-03-25 Thread Iddings, Carl (SAA)
I'm running Tomcat 3.2.4 on a Windows 2000 Server using IIS 5.0.  I
received the following error when issuing the batch command tomcat.bat
run:

FATAL:java.net.BindException: Address in use: JVM_Bind
java.net.BindException: Address in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447)
at java.net.ServerSocket.init(ServerSocket.java:165)
at java.net.ServerSocket.init(ServerSocket.java:116)
at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultSer
verSocketFactory.java:97)
at
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.
java:239)
at
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:1
88)
at
org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:207)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:240)

I'm quite new at Tomcat, so I would appreciate any help in explaining
what this error means and how I can avoid it in the future.

Thanks.

Carl Iddings
Information Technology Manager
U. S. Senate Technology Development Services
 


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



RE: JVM Bind error when starting Tomcat 3.2.4

2003-03-25 Thread Davis, Jeremy
Hi Carl,
The error is simply telling you the address/port that it is
attempting to connect to is in use.  Possibly see what ports your using in
the server.xml, and maybe compare that to a netstat -a command listing of
the ports.  Hope that helps some.

Jeremy Davis
Senior Support Analyst
BPI Marketplace Integration
614.760.8941
1.800.436.8726 - Support Line


-Original Message-
From: Iddings, Carl (SAA) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 11:03 AM
To: [EMAIL PROTECTED]
Subject: JVM Bind error when starting Tomcat 3.2.4


I'm running Tomcat 3.2.4 on a Windows 2000 Server using IIS 5.0.  I
received the following error when issuing the batch command tomcat.bat
run:

FATAL:java.net.BindException: Address in use: JVM_Bind
java.net.BindException: Address in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447)
at java.net.ServerSocket.init(ServerSocket.java:165)
at java.net.ServerSocket.init(ServerSocket.java:116)
at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultSer
verSocketFactory.java:97)
at
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.
java:239)
at
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:1
88)
at
org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:207)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:240)

I'm quite new at Tomcat, so I would appreciate any help in explaining
what this error means and how I can avoid it in the future.

Thanks.

Carl Iddings
Information Technology Manager
U. S. Senate Technology Development Services
 


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

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



Re: JVM Bind error when starting Tomcat 3.2.4

2003-03-25 Thread John Turner
It means that there is already a process or application bound to the IP 
address and port that Tomcat is trying to use.

If you have Tomcat set to listen on port 80, for example, and IIS is 
running, Tomcat will fail.  Likewise, if you have Tomcat set to listen to 
another port such as 8080, and Tomcat is ALREADY running and you try to 
start Tomcat, it will fail.

It can also mean that the user starting Tomcat does not have OS-level 
permission to bind to a particular address or port, but that is usually not 
the case on a permissive system like Windows where to a certain extent 
anyone can do anything by default.

John

On Tue, 25 Mar 2003 11:03:10 -0500, Iddings, Carl (SAA) 
[EMAIL PROTECTED] wrote:

I'm running Tomcat 3.2.4 on a Windows 2000 Server using IIS 5.0.  I
received the following error when issuing the batch command tomcat.bat
run:
FATAL:java.net.BindException: Address in use: JVM_Bind
java.net.BindException: Address in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447)
at java.net.ServerSocket.init(ServerSocket.java:165)
at java.net.ServerSocket.init(ServerSocket.java:116)
at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultSer
verSocketFactory.java:97)
at
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.
java:239)
at
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:1
88)
at
org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:207)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:240)
I'm quite new at Tomcat, so I would appreciate any help in explaining
what this error means and how I can avoid it in the future.
Thanks.

Carl Iddings
Information Technology Manager
U. S. Senate Technology Development Services


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



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Error starting Tomcat 3.2.4 on W2K from command line

2003-03-19 Thread Iddings, Carl (SAA)
I received the following error when issuing the batch command
tomcat.bat run:

FATAL:java.net.BindException: Address in use: JVM_Bind
java.net.BindException: Address in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447)
at java.net.ServerSocket.init(ServerSocket.java:165)
at java.net.ServerSocket.init(ServerSocket.java:116)
at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultSer
verSocketFactory.java:97)
at
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.
java:239)
at
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:1
88)
at
org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:207)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:240)

I'm quite new at Tomcat, so I would appreciate any help in explaining
what this error means and how I can avoid it in the future.

Thanks.

Carl Iddings
Information Technology Manager
U. S. Senate Technology Development Services
 


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



Connectors for tomcat 3.2.4

2003-02-26 Thread David . Vann
Where can I get the mod_jk connectors for tomcat 3.2.4 for Tru64 Unix?

Sincerely,

David Vann
Martha Jefferson Hospital
459 Locust Avenue
Charlottesville, VA 22902
[EMAIL PROTECTED]
Phone (434) 244-5911
Fax (434) 982-7351

RE: Error while running JSP's on tomcat 3.2.4

2003-02-18 Thread Paul Bothma
Hi,

Which version of Java do you have. I see that there is no direct reference
to any format function in JspCalendar.java.

From the stack trace, it appears that the error occurs somewhere in
org.apache.jasper.Constant.getString(). The problem might be that you have
some setting in your server.xml or web.xml file that is not well formed or
something.

The Jasper API has the following information for the getString() functions:

Format the string that is looked up using key using args.

..and..

Get hold of a message or any string from our resources database

I've got no idea though were it is trying to get a message from in the
resource database. My guess would be with some Locale specific string. Try
setting your Locale to en_UK or en_US and see what happens.

The java.text.Format.format I guess comes from the java.text.DateFormat
class, which uses the Locale information supplied by the call to
org.apache.jasper.Constants.getString().

Hope some of this help.

Paul


-Original Message-
From: Gupta, Ashish (CORP, Consultant)
[mailto:[EMAIL PROTECTED]]
Sent: 17 February 2003 19:59
To: Tomcat Users List
Subject: RE: Error while running JSP's on tomcat 3.2.4


Hi Paul,
The Code is as follows :-

html
!--
  Copyright (c) 1999 The Apache Software Foundation.  All rights
  reserved.
--

%@ page session=false%

body bgcolor=white
jsp:useBean id='clock' scope='page' class='dates.JspCalendar'
type=dates.JspCalendar /

font size=4
ul
liDay of month: is  jsp:getProperty name=clock property=dayOfMonth/
liYear: is  jsp:getProperty name=clock property=year/
liMonth: is  jsp:getProperty name=clock property=month/
liTime: is  jsp:getProperty name=clock property=time/
liDate: is  jsp:getProperty name=clock property=date/
liDay: is  jsp:getProperty name=clock property=day/
liDay Of Year: is  jsp:getProperty name=clock property=dayOfYear/
liWeek Of Year: is  jsp:getProperty name=clock property=weekOfYear/
liera: is  jsp:getProperty name=clock property=era/
liDST Offset: is  jsp:getProperty name=clock property=DSTOffset/
liZone Offset: is  jsp:getProperty name=clock property=zoneOffset/
/ul
/font

/body

/html

-Original Message-
From: Paul Bothma [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 17, 2003 12:50 PM
To: Tomcat Users List
Subject: RE: Error while running JSP's on tomcat 3.2.4


Hi,

Could you please post the JSP file.

The problem appears to be with a MessageFormat.format() call in your code
somewhere.

Paul

-Original Message-
From: Gupta, Ashish (CORP, Consultant)
[mailto:[EMAIL PROTECTED]]
Sent: 17 February 2003 15:24
To: [EMAIL PROTECTED]
Subject: Error while running JSP's on tomcat 3.2.4


Hello All,
   I have an installation of Tomcat 3.2.4 on a windows 2000 professional
box. The server parses the HTML pages fine, however on parsing the JSP pages
i get the following error:

Error: 500
Location: /examples/jsp/dates/date.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSP
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:630)
at org.apache.jasper.servlet.JasperLoader.loadJSP(JasperLoader.java:332)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:258)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:268)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:80
6)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:474)
Root cause:
java.lang.IllegalArgumentException: Unknown argument
at java.text.MessageFormat.format(MessageFormat.java:643)
at java.text.MessageFormat.format(MessageFormat.java:449)
at java.text.Format.format(Format.java:128)
at org.apache.jasper.Constants.getString(Constants.java:211)
at org.apache.jasper.Constants.message(Constants.java:247)
at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
ntListener.java:677

Error while running JSP's on tomcat 3.2.4

2003-02-17 Thread Gupta, Ashish (CORP, Consultant)
Hello All,
   I have an installation of Tomcat 3.2.4 on a windows 2000 professional box. The 
server parses the HTML pages fine, however on parsing the JSP pages i get the 
following error:

Error: 500
Location: /examples/jsp/dates/date.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSP
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:630)
at org.apache.jasper.servlet.JasperLoader.loadJSP(JasperLoader.java:332)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:474)
Root cause: 
java.lang.IllegalArgumentException: Unknown argument
at java.text.MessageFormat.format(MessageFormat.java:643)
at java.text.MessageFormat.format(MessageFormat.java:449)
at java.text.Format.format(Format.java:128)
at org.apache.jasper.Constants.getString(Constants.java:211)
at org.apache.jasper.Constants.message(Constants.java:247)
at 
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:677)
at 
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:209)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
at org.apache.jasper.servlet.JasperLoader.loadJSP(JasperLoader.java:332)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:474)

 I have been trying to figure out the cause of the problem but in vain.

Would appreciate any help or clues as to what the problem might be.

Thanks,
Ashish

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




RE: Error while running JSP's on tomcat 3.2.4

2003-02-17 Thread Paul Bothma
Hi,

Could you please post the JSP file.

The problem appears to be with a MessageFormat.format() call in your code
somewhere.

Paul

-Original Message-
From: Gupta, Ashish (CORP, Consultant)
[mailto:[EMAIL PROTECTED]]
Sent: 17 February 2003 15:24
To: [EMAIL PROTECTED]
Subject: Error while running JSP's on tomcat 3.2.4


Hello All,
   I have an installation of Tomcat 3.2.4 on a windows 2000 professional
box. The server parses the HTML pages fine, however on parsing the JSP pages
i get the following error:

Error: 500
Location: /examples/jsp/dates/date.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSP
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:630)
at org.apache.jasper.servlet.JasperLoader.loadJSP(JasperLoader.java:332)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:258)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:268)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:80
6)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:474)
Root cause:
java.lang.IllegalArgumentException: Unknown argument
at java.text.MessageFormat.format(MessageFormat.java:643)
at java.text.MessageFormat.format(MessageFormat.java:449)
at java.text.Format.format(Format.java:128)
at org.apache.jasper.Constants.getString(Constants.java:211)
at org.apache.jasper.Constants.message(Constants.java:247)
at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
ntListener.java:677)
at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingList
ener.java:116)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:209)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
at org.apache.jasper.servlet.JasperLoader.loadJSP(JasperLoader.java:332)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:258)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:268)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:80
6)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:474)

 I have been trying to figure out the cause of the problem but in vain.

Would appreciate any help or clues as to what the problem might be.

Thanks,
Ashish

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


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




RE: Error while running JSP's on tomcat 3.2.4

2003-02-17 Thread Gupta, Ashish (CORP, Consultant)
Hi Paul,
The Code is as follows :-

html
!--
  Copyright (c) 1999 The Apache Software Foundation.  All rights 
  reserved.
--

%@ page session=false%

body bgcolor=white
jsp:useBean id='clock' scope='page' class='dates.JspCalendar' 
type=dates.JspCalendar /

font size=4
ul
liDay of month: is  jsp:getProperty name=clock property=dayOfMonth/
liYear: is  jsp:getProperty name=clock property=year/
liMonth: is  jsp:getProperty name=clock property=month/
liTime: is  jsp:getProperty name=clock property=time/
liDate: is  jsp:getProperty name=clock property=date/
liDay: is  jsp:getProperty name=clock property=day/
liDay Of Year: is  jsp:getProperty name=clock property=dayOfYear/
liWeek Of Year: is  jsp:getProperty name=clock property=weekOfYear/
liera: is  jsp:getProperty name=clock property=era/
liDST Offset: is  jsp:getProperty name=clock property=DSTOffset/
liZone Offset: is  jsp:getProperty name=clock property=zoneOffset/
/ul
/font

/body

/html

-Original Message-
From: Paul Bothma [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 17, 2003 12:50 PM
To: Tomcat Users List
Subject: RE: Error while running JSP's on tomcat 3.2.4


Hi,

Could you please post the JSP file.

The problem appears to be with a MessageFormat.format() call in your code
somewhere.

Paul

-Original Message-
From: Gupta, Ashish (CORP, Consultant)
[mailto:[EMAIL PROTECTED]]
Sent: 17 February 2003 15:24
To: [EMAIL PROTECTED]
Subject: Error while running JSP's on tomcat 3.2.4


Hello All,
   I have an installation of Tomcat 3.2.4 on a windows 2000 professional
box. The server parses the HTML pages fine, however on parsing the JSP pages
i get the following error:

Error: 500
Location: /examples/jsp/dates/date.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSP
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:630)
at org.apache.jasper.servlet.JasperLoader.loadJSP(JasperLoader.java:332)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:258)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:268)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:80
6)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:474)
Root cause:
java.lang.IllegalArgumentException: Unknown argument
at java.text.MessageFormat.format(MessageFormat.java:643)
at java.text.MessageFormat.format(MessageFormat.java:449)
at java.text.Format.format(Format.java:128)
at org.apache.jasper.Constants.getString(Constants.java:211)
at org.apache.jasper.Constants.message(Constants.java:247)
at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
ntListener.java:677)
at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingList
ener.java:116)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:209)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
at org.apache.jasper.servlet.JasperLoader.loadJSP(JasperLoader.java:332)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:258)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:268)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405

RE: Unwanted header when using Tomcat 3.2.4

2003-02-07 Thread Robert Veen, ten
Hello Sean,

Thanks voor taking a peek at my post.

On opening the page in your browser, the following lines appear above
the 'real' text:
(HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002
10:10:30 GMT Connection: close Content-Type: text/html;
charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1;
Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun
Microsystems Inc.)

When viewing the source, this is the piece of code that is added to the
original code:
//17 lines of white
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Fri, 17 Jan 2003 11:11:52 GMT
Connection: close
Content-Type: text/html; charset=iso-8859-1
Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 
1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.) 
//18 lines of white

  html
  head
   meta http-equiv=pragma content=no-cache
   meta http-equiv=expires content=-1
   meta http-equiv=Content-Type content=text/html; 
charset=iso-8859-1 /

   titleInfotelligence/title
   link rel=stylesheet type=text/css 
 href=../../portalinabox.css... [rest of document]

I hope you have a better view at the problem now.

-Oorspronkelijk bericht-
Van: Sean Dockery [mailto:[EMAIL PROTECTED]] 
Verzonden: vrijdag 7 februari 2003 0:44
Aan: Tomcat Users List
Onderwerp: Re: Unwanted header when using Tomcat 3.2.4


I am confused as to where you are suggesting that the document begins
and ends.

Does it look like this?

document
(HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002
10:10:30 GMT Connection: close Content-Type: text/html;
charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1;
Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun
Microsystems Inc.) [17 blank lines...] [rest of document] /document

Or like this?

request
(HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002
10:10:30 GMT Connection: close Content-Type: text/html;
charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1;
Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun
Microsystems Inc.) /request

document
[17 blank lines...]
[rest of document]
document


At 15:59 2003-02-05 +0100, you wrote:
Hello Tomcat users,

I'm using Tomcat 3.2.4 with jdk 1.2.2.009 on a Windows 2000 server with

IIS (Tomcat integrated in IIS). When I open the main page of an 
application, the page shows the header:


(HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002 
10:10:30 GMT Connection: close Content-Type: text/html; 
charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; 
Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun 
Microsystems Inc.) The first few lines of source of the page look like 
this: //17 lines of white


HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Fri, 17 Jan 2003 11:11:52 GMT
Connection: close
Content-Type: text/html; charset=iso-8859-1
Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 
1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.) //18 
lines of white

  html
  head
   meta http-equiv=pragma content=no-cache
   meta http-equiv=expires content=-1
   meta http-equiv=Content-Type content=text/html; 
charset=iso-8859-1 /

   titleInfotelligence/title
   link rel=stylesheet type=text/css 
 href=../../portalinabox.css

   script language=JavaScript
!--
window.name = mainWindow;
function getDate()
What can I do to stop Tomcat showing the header?

Robert ten Veen

Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com



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


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




RE: Unwanted header when using Tomcat 3.2.4

2003-02-07 Thread Sean Dockery
Okay.  In your index.jsp, insert the following page directive to the very 
top...

%@ page contentType=text/html; charset=iso-8859-1 %

Let me know if the problem persists...


At 09:45 2003-02-07 +0100, you wrote:
Hello Sean,

Thanks voor taking a peek at my post.

On opening the page in your browser, the following lines appear above
the 'real' text:
(HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002
10:10:30 GMT Connection: close Content-Type: text/html;
charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1;
Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun
Microsystems Inc.)

When viewing the source, this is the piece of code that is added to the
original code:
//17 lines of white
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Fri, 17 Jan 2003 11:11:52 GMT
Connection: close
Content-Type: text/html; charset=iso-8859-1
Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java
1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.)
//18 lines of white

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


Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com



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




RE: Unwanted header when using Tomcat 3.2.4

2003-02-07 Thread Robert Veen, ten
Well, I've inserted it in index.jsp, but unfortunately the problem
persists.

-Oorspronkelijk bericht-
Van: Sean Dockery [mailto:[EMAIL PROTECTED]] 
Verzonden: vrijdag 7 februari 2003 11:52
Aan: Tomcat Users List
Onderwerp: RE: Unwanted header when using Tomcat 3.2.4


Okay.  In your index.jsp, insert the following page directive to the
very 
top...

%@ page contentType=text/html; charset=iso-8859-1 %

Let me know if the problem persists...


At 09:45 2003-02-07 +0100, you wrote:
Hello Sean,

Thanks voor taking a peek at my post.

On opening the page in your browser, the following lines appear above 
the 'real' text: (HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 
30 Dec 2002 10:10:30 GMT Connection: close Content-Type: text/html;
charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1;
Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun
Microsystems Inc.)

When viewing the source, this is the piece of code that is added to the

original code: //17 lines of white
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Fri, 17 Jan 2003 11:11:52 GMT
Connection: close
Content-Type: text/html; charset=iso-8859-1
Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java
1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.)
//18 lines of white

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

Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com



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


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




Re: Unwanted header when using Tomcat 3.2.4

2003-02-06 Thread Sean Dockery
I am confused as to where you are suggesting that the document begins and ends.

Does it look like this?

document
(HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002
10:10:30 GMT Connection: close Content-Type: text/html;
charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1;
Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun
Microsystems Inc.)
[17 blank lines...]
[rest of document]
/document

Or like this?

request
(HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002
10:10:30 GMT Connection: close Content-Type: text/html;
charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1;
Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun
Microsystems Inc.)
/request

document
[17 blank lines...]
[rest of document]
document


At 15:59 2003-02-05 +0100, you wrote:

Hello Tomcat users,

I'm using Tomcat 3.2.4 with jdk 1.2.2.009 on a Windows 2000 server with
IIS (Tomcat integrated in IIS).
When I open the main page of an application, the page shows the header:


(HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002
10:10:30 GMT Connection: close Content-Type: text/html;
charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1;
Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun
Microsystems Inc.)
The first few lines of source of the page look like this:
//17 lines of white


HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Fri, 17 Jan 2003 11:11:52 GMT
Connection: close
Content-Type: text/html; charset=iso-8859-1
Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java
1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.)
//18 lines of white

 html
 head
  meta http-equiv=pragma content=no-cache
  meta http-equiv=expires content=-1
  meta http-equiv=Content-Type content=text/html;
charset=iso-8859-1 /

  titleInfotelligence/title
  link rel=stylesheet type=text/css href=../../portalinabox.css

  script language=JavaScript
   !--
   window.name = mainWindow;
   function getDate()
What can I do to stop Tomcat showing the header?

Robert ten Veen


Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com



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




RE: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-05 Thread ps
Yes, it's there, I mean, is in lib since tomcat 3.2.4 have not the
common\lib structure.

On Tue, 2003-02-04 at 21:40, Zabel, Ian wrote:
 I'm assuming you copied the commons-dbcp.jar into 3.2.4's common\lib
 directory.
 
 Did you remember to also copy commons-collections.jar which dbcp needs?
 
 Ian.
 
 -Original Message-
 From: ps [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, February 04, 2003 4:35 PM
 To: Tomcat Users List
 Subject: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)
 
 Greetings,
 
 I'm downgrading my web application to work on tomcat 3.2.4 (initially
 was developed and tested OK on tomcat 4.1.18). I'm using DBCP1.0.
 
 problem:
 
 I can't get a datasource through JNDI that usually worked fine in tomcat
 4.1.x, instead I'm getting an exception! Since I'm not aware about the
 compatibility versions of tomcat, I ask for your help.
 
 exception:
 --
 
 javax.naming.NoInitialContextException: Need to specify class name in
 environment or system property, or as an applet parameter, or in an
 application resource file:  java.naming.factory.initial
 at
 javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
 at
 javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
 at
 javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:2
 80)
 at javax.naming.InitialContext.lookup(InitialContext.java:347)
 ...
 
 
 And is caused on the following server code:
 
 try{
   Context initCtx = new InitialContext();
 Context envCtx = (Context)initCtx.lookup(java:comp/env/);
 this.ds = (DataSource)envCtx.lookup(/jdbc/ngincaredb);
 }
 catch(NamingException e){
 logger.fatal(datasource error, e);
 }
 
 
 web.xml:
 
 resource-ref
   res-ref-namejdbc/ngincaredb/res-ref-name
 res-typejavax.sql.DataSource/res-type
 res-authContainer/res-auth
 /resource-ref
 
 
 server.xml:
 ---
 Context path=/ngincare 
  docBase=webapps/ngincare 
  crossContext=true
  debug=9 
  reloadable=true 
  trusted=false 
 
Resource name=jdbc/ngincaredb auth=Container
 type=javax.sql.DataSource/
   ResourceParams name=jdbc/ngincaredb
  parameter
 namedriverClassName/name
 valueoracle.jdbc.driver.OracleDriver/value
 /parameter
 parameter
 namefactory/name
 valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
 /parameter
   ...
   /ResourceParams
 
 /Context
   
 thanks,
 Pedro Salazar
 
 -- 
 ps 
 [EMAIL PROTECTED]
 key id: 0E129E31D803BC61
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
ps 
[EMAIL PROTECTED]
key id: 0E129E31D803BC61


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




RE: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-05 Thread ps
Its also there! I just downgraded from tomcat 4.1.x but I brought all
the dependent files.

See the exception error that has a strange message and probably has
something to do with JNDI...

thanks,
Pedro Salazar

On Tue, 2003-02-04 at 21:40, Zabel, Ian wrote:
 Whoops, and commons-pool.jar?
 
 -Original Message-
 From: ps [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, February 04, 2003 4:35 PM
 To: Tomcat Users List
 Subject: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)
 
 Greetings,
 
 I'm downgrading my web application to work on tomcat 3.2.4 (initially
 was developed and tested OK on tomcat 4.1.18). I'm using DBCP1.0.
 
 problem:
 
 I can't get a datasource through JNDI that usually worked fine in tomcat
 4.1.x, instead I'm getting an exception! Since I'm not aware about the
 compatibility versions of tomcat, I ask for your help.
 
 exception:
 --
 
 javax.naming.NoInitialContextException: Need to specify class name in
 environment or system property, or as an applet parameter, or in an
 application resource file:  java.naming.factory.initial
 at
 javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
 at
 javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
 at
 javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:2
 80)
 at javax.naming.InitialContext.lookup(InitialContext.java:347)
 ...
 
 
 And is caused on the following server code:
 
 try{
   Context initCtx = new InitialContext();
 Context envCtx = (Context)initCtx.lookup(java:comp/env/);
 this.ds = (DataSource)envCtx.lookup(/jdbc/ngincaredb);
 }
 catch(NamingException e){
 logger.fatal(datasource error, e);
 }
 
 
 web.xml:
 
 resource-ref
   res-ref-namejdbc/ngincaredb/res-ref-name
 res-typejavax.sql.DataSource/res-type
 res-authContainer/res-auth
 /resource-ref
 
 
 server.xml:
 ---
 Context path=/ngincare 
  docBase=webapps/ngincare 
  crossContext=true
  debug=9 
  reloadable=true 
  trusted=false 
 
Resource name=jdbc/ngincaredb auth=Container
 type=javax.sql.DataSource/
   ResourceParams name=jdbc/ngincaredb
  parameter
 namedriverClassName/name
 valueoracle.jdbc.driver.OracleDriver/value
 /parameter
 parameter
 namefactory/name
 valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
 /parameter
   ...
   /ResourceParams
 
 /Context
   
 thanks,
 Pedro Salazar
 
 -- 
 ps 
 [EMAIL PROTECTED]
 key id: 0E129E31D803BC61
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
ps 
[EMAIL PROTECTED]
key id: 0E129E31D803BC61


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




Re: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-05 Thread ps

On Tue, 2003-02-04 at 22:38, Sean Dockery wrote:
 Weird that your envCtx.lookup is done on /jdbc/ngincaredb.  I've never seen 
 it done on an absolute path before.  :-)

Yes, I don't know why I put it like that, maybe I was guided by an
example, maybe it was a writing mistake that worked fine in tomcat
4.1.x, ... I don't know :-|

 
 Please provide all of the parameters that you are declaring under the 
 ResourceParams section.  (I don't want to know your username and 
 password--I just want to know the entire list...)
 

Sure! I just didn't put that here because I was thinking in a macro
structure and maybe the rest (password or not) was not relevant to debug
my problem. But as you request it, I will post the complete resource
here.

Resource name=jdbc/ngincaredb auth=Container
   type=javax.sql.DataSource/

ResourceParams name=jdbc/ngincaredb
   parameter
namedriverClassName/name
valueoracle.jdbc.driver.OracleDriver/value
   /parameter
   parameter
namefactory/name
valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
   /parameter
   parameter
nameusername/name
valueuser/value
   /parameter
   parameter
namepassword/name
valuepass/value
   /parameter
   parameter
nameurl/name 
valuejdbc:oracle:thin:@192.168.89.52:1521:dbdev817/value
   /parameter
   parameter
namemaxActive/name
value25/value
   /parameter
   parameter
namemaxWait/name
value50/value
   /parameter
   parameter
namemaxIdle/name
value15/value
   /parameter
   parameter
namevalidationQuery/name
valueselect 1 as test from dual/value
   /parameter
   parameter
nameremoveAbandoned/name
valuetrue/value
   /parameter
   parameter
nameremoveAbandonedTimeout/name
value60/value
   /parameter
/ResourceParams

Thanks,
Pedro Salazar

 At 14:34 2003-02-04, you wrote:
 And is caused on the following server code:
 
 try{
  Context initCtx = new InitialContext();
  Context envCtx = (Context)initCtx.lookup(java:comp/env/);
  this.ds = (DataSource)envCtx.lookup(/jdbc/ngincaredb);
 }
 catch(NamingException e){
  logger.fatal(datasource error, e);
 }
 
 
 web.xml:
 
 resource-ref
  res-ref-namejdbc/ngincaredb/res-ref-name
  res-typejavax.sql.DataSource/res-type
  res-authContainer/res-auth
 /resource-ref
 
 
 server.xml:
 ---
 Context path=/ngincare
   docBase=webapps/ngincare
   crossContext=true
   debug=9
   reloadable=true
   trusted=false 
 
 Resource name=jdbc/ngincaredb auth=Container
  type=javax.sql.DataSource/
ResourceParams name=jdbc/ngincaredb
   parameter
  namedriverClassName/name
  valueoracle.jdbc.driver.OracleDriver/value
  /parameter
  parameter
  namefactory/name
  valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
  /parameter
  ...
/ResourceParams
 
 /Context
 
 Sean Dockery
 [EMAIL PROTECTED]
 Certified Java Web Component Developer
 Certified Delphi Programmer
 SBD Consultants
 http://www.sbdconsultants.com
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
ps 
[EMAIL PROTECTED]
key id: 0E129E31D803BC61


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




Re: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-05 Thread ps
Please, how should I interpret the exception message header below:

javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an applet parameter, or in an
application resource file:  java.naming.factory.initial

I'm using jdk1.4.1 (SUN) and tomcat 3.2.4.

thanks,
Pedro Salazar.

On Tue, 2003-02-04 at 21:34, ps wrote:
 Greetings,
 
 I'm downgrading my web application to work on tomcat 3.2.4 (initially
 was developed and tested OK on tomcat 4.1.18). I'm using DBCP1.0.
 
 problem:
 
 I can't get a datasource through JNDI that usually worked fine in tomcat
 4.1.x, instead I'm getting an exception! Since I'm not aware about the
 compatibility versions of tomcat, I ask for your help.
 
 exception:
 --
 
 javax.naming.NoInitialContextException: Need to specify class name in
 environment or system property, or as an applet parameter, or in an
 application resource file:  java.naming.factory.initial
 at
 javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
 at
 javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
 at
 javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)
 at javax.naming.InitialContext.lookup(InitialContext.java:347)
 ...
 
 
 And is caused on the following server code:
 
 try{
   Context initCtx = new InitialContext();
 Context envCtx = (Context)initCtx.lookup(java:comp/env/);
 this.ds = (DataSource)envCtx.lookup(/jdbc/ngincaredb);
 }
 catch(NamingException e){
 logger.fatal(datasource error, e);
 }
 
 
 web.xml:
 
 resource-ref
   res-ref-namejdbc/ngincaredb/res-ref-name
 res-typejavax.sql.DataSource/res-type
 res-authContainer/res-auth
 /resource-ref
 
 
 server.xml:
 ---
 Context path=/ngincare 
  docBase=webapps/ngincare 
  crossContext=true
  debug=9 
  reloadable=true 
  trusted=false 
 
Resource name=jdbc/ngincaredb auth=Container
 type=javax.sql.DataSource/
   ResourceParams name=jdbc/ngincaredb
  parameter
 namedriverClassName/name
 valueoracle.jdbc.driver.OracleDriver/value
 /parameter
 parameter
 namefactory/name
 valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
 /parameter
   ...
   /ResourceParams
 
 /Context
   
 thanks,
 Pedro Salazar
 
 -- 
 ps 
 [EMAIL PROTECTED]
 key id: 0E129E31D803BC61
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
ps 
[EMAIL PROTECTED]
key id: 0E129E31D803BC61


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




Re: DBCP+TOMCAT 3.2.4 - javax.naming.NoInitialContextException

2003-02-05 Thread ps
It appears that it needs more than an empty constructor in
InitialContext():

try{
   Context initCtx = new InitialContext();
   Context envCtx = (Context)initCtx.lookup(java:comp/env/);
   this.ds = (DataSource)envCtx.lookup(/jdbc/ngincaredb);
}
catch(NamingException e){
   logger.fatal(datasource error, e);
}

So, the solution maybe doing something like this:

Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, );
Context initCtx = new InitialContext(env);

But the obvious question (and unknown for me) is what should be the
tomcat 3.2.4 default JNDI factory to put in
Context.INITIAL_CONTEXT_FACTORY attribute?? And why in tomcat 4.1.x it's
enough put a empty InitialContext()?? 

I don't find docs for tomcat 3.2.x about the resources/jndi...

thanks,
Pedro Salazar.

On Wed, 2003-02-05 at 11:48, ps wrote:
 Please, how should I interpret the exception message header below:
 
 javax.naming.NoInitialContextException: Need to specify class name in
 environment or system property, or as an applet parameter, or in an
 application resource file:  java.naming.factory.initial
 
 I'm using jdk1.4.1 (SUN) and tomcat 3.2.4.
 
 thanks,
 Pedro Salazar.
 

-- 
ps 
[EMAIL PROTECTED]
key id: 0E129E31D803BC61


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




Unwanted header when using Tomcat 3.2.4

2003-02-05 Thread Robert Veen, ten
Hello Tomcat users,
 
I'm using Tomcat 3.2.4 with jdk 1.2.2.009 on a Windows 2000 server with
IIS (Tomcat integrated in IIS). 
When I open the main page of an application, the page shows the header: 
 

(HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002
10:10:30 GMT Connection: close Content-Type: text/html;
charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1;
Servlet 2.2; Java 1.2.2; Windows NT 5.0 x86; java.vendor=Sun
Microsystems Inc.)
The first few lines of source of the page look like this: 
//17 lines of white
 

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Fri, 17 Jan 2003 11:11:52 GMT
Connection: close
Content-Type: text/html; charset=iso-8859-1
Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java
1.2.2; Windows NT 5.0 x86; java.vendor=Sun Microsystems Inc.)
//18 lines of white 
 
 html
 head
  meta http-equiv=pragma content=no-cache
  meta http-equiv=expires content=-1
  meta http-equiv=Content-Type content=text/html;
charset=iso-8859-1 /
 
  titleInfotelligence/title
  link rel=stylesheet type=text/css href=../../portalinabox.css
 
  script language=JavaScript
   !--
   window.name = mainWindow;
   function getDate()
What can I do to stop Tomcat showing the header?
 
Robert ten Veen



Re: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-05 Thread Craig R. McClanahan


On Wed, 5 Feb 2003, ps wrote:

 Date: 05 Feb 2003 11:48:15 +
 From: ps [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

 Please, how should I interpret the exception message header below:

 javax.naming.NoInitialContextException: Need to specify class name in
 environment or system property, or as an applet parameter, or in an
 application resource file:  java.naming.factory.initial

 I'm using jdk1.4.1 (SUN) and tomcat 3.2.4.


Tomcat 3.2.4 does not support JNDI resources at all.  You'll need to stick
with current versions if you want that to work.

 thanks,
 Pedro Salazar.


Craig

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




Re: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-05 Thread ps
On Wed, 2003-02-05 at 17:07, Craig R. McClanahan wrote:
 
 
 On Wed, 5 Feb 2003, ps wrote:
 
  Date: 05 Feb 2003 11:48:15 +
  From: ps [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Subject: Re: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)
 
  Please, how should I interpret the exception message header below:
 
  javax.naming.NoInitialContextException: Need to specify class name in
  environment or system property, or as an applet parameter, or in an
  application resource file:  java.naming.factory.initial
 
  I'm using jdk1.4.1 (SUN) and tomcat 3.2.4.
 
 
 Tomcat 3.2.4 does not support JNDI resources at all.  You'll need to stick
 with current versions if you want that to work.

OK, thanks Graig. 
I wasn't sure about that but I was suspecting something *ugly* and
*stupid* like that. For one side I'm frustrated about that confirmation,
but I feel also relieved because I was struggling about configurations
and more configurations...

...I don't know much about the persistence of the using of tomcat 3.2.x
for production purposes but I have to resign to the power of politics in
force :-|

thanks,
Pedro Salazar.
-- 
ps 
[EMAIL PROTECTED]
key id: 0E129E31D803BC61


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




Re: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-05 Thread Sean Dockery
You can still use DBCP in Tomcat 3.x, right?  You just can't deploy the 
data source through JNDI automatically...

Could this be done manually?  That is, could I not write a context listener 
that deployed the DBCP factory through JNDI when the application was 
started?  I know that it would involve changing the catalina.policy file so 
that JNDI wasn't read-only to web applications, but could it not be done?

At 09:07 2003-02-05 -0800, you wrote:

Tomcat 3.2.4 does not support JNDI resources at all.  You'll need to stick
with current versions if you want that to work.

Craig

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


Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com



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




Re: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-05 Thread Craig R. McClanahan


On Wed, 5 Feb 2003, Sean Dockery wrote:

 Date: Wed, 05 Feb 2003 11:03:00 -0700
 From: Sean Dockery [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

 You can still use DBCP in Tomcat 3.x, right?

Should work.

  You just can't deploy the
 data source through JNDI automatically...


Right.

 Could this be done manually?  That is, could I not write a context listener

Um, context listeners are Servlet 2.3 things ... :-)

 that deployed the DBCP factory through JNDI when the application was
 started?  I know that it would involve changing the catalina.policy file so
 that JNDI wasn't read-only to web applications, but could it not be done?


There *is* no implemented JNDI context to deploy into under Tomcat 3.2,
unless you create one yourself and include it in your webapp.

If you want to use DBCP under Tomcat 3.2, just set up an instance of
org.apache.commons.dbcp.BasicDataSource in the init() method of a servlet,
and make it available as a servlet context attribute (instead of through
JNDI).

Craig

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




DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-04 Thread ps
Greetings,

I'm downgrading my web application to work on tomcat 3.2.4 (initially
was developed and tested OK on tomcat 4.1.18). I'm using DBCP1.0.

problem:

I can't get a datasource through JNDI that usually worked fine in tomcat
4.1.x, instead I'm getting an exception! Since I'm not aware about the
compatibility versions of tomcat, I ask for your help.

exception:
--

javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an applet parameter, or in an
application resource file:  java.naming.factory.initial
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
...


And is caused on the following server code:

try{
Context initCtx = new InitialContext();
Context envCtx = (Context)initCtx.lookup(java:comp/env/);
this.ds = (DataSource)envCtx.lookup(/jdbc/ngincaredb);
}
catch(NamingException e){
logger.fatal(datasource error, e);
}


web.xml:

resource-ref
res-ref-namejdbc/ngincaredb/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref


server.xml:
---
Context path=/ngincare 
 docBase=webapps/ngincare 
 crossContext=true
 debug=9 
 reloadable=true 
 trusted=false 

   Resource name=jdbc/ngincaredb auth=Container
type=javax.sql.DataSource/
  ResourceParams name=jdbc/ngincaredb
 parameter
namedriverClassName/name
valueoracle.jdbc.driver.OracleDriver/value
/parameter
parameter
namefactory/name
valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
/parameter
...
  /ResourceParams

/Context

thanks,
Pedro Salazar

-- 
ps 
[EMAIL PROTECTED]
key id: 0E129E31D803BC61


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




RE: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-04 Thread Zabel, Ian
I'm assuming you copied the commons-dbcp.jar into 3.2.4's common\lib
directory.

Did you remember to also copy commons-collections.jar which dbcp needs?

Ian.

-Original Message-
From: ps [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 04, 2003 4:35 PM
To: Tomcat Users List
Subject: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

Greetings,

I'm downgrading my web application to work on tomcat 3.2.4 (initially
was developed and tested OK on tomcat 4.1.18). I'm using DBCP1.0.

problem:

I can't get a datasource through JNDI that usually worked fine in tomcat
4.1.x, instead I'm getting an exception! Since I'm not aware about the
compatibility versions of tomcat, I ask for your help.

exception:
--

javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an applet parameter, or in an
application resource file:  java.naming.factory.initial
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
...


And is caused on the following server code:

try{
Context initCtx = new InitialContext();
Context envCtx = (Context)initCtx.lookup(java:comp/env/);
this.ds = (DataSource)envCtx.lookup(/jdbc/ngincaredb);
}
catch(NamingException e){
logger.fatal(datasource error, e);
}


web.xml:

resource-ref
res-ref-namejdbc/ngincaredb/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref


server.xml:
---
Context path=/ngincare 
 docBase=webapps/ngincare 
 crossContext=true
 debug=9 
 reloadable=true 
 trusted=false 

   Resource name=jdbc/ngincaredb auth=Container
type=javax.sql.DataSource/
  ResourceParams name=jdbc/ngincaredb
 parameter
namedriverClassName/name
valueoracle.jdbc.driver.OracleDriver/value
/parameter
parameter
namefactory/name
valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
/parameter
...
  /ResourceParams

/Context

thanks,
Pedro Salazar

-- 
ps 
[EMAIL PROTECTED]
key id: 0E129E31D803BC61


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



RE: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-04 Thread Zabel, Ian
Whoops, and commons-pool.jar?

-Original Message-
From: ps [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 04, 2003 4:35 PM
To: Tomcat Users List
Subject: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

Greetings,

I'm downgrading my web application to work on tomcat 3.2.4 (initially
was developed and tested OK on tomcat 4.1.18). I'm using DBCP1.0.

problem:

I can't get a datasource through JNDI that usually worked fine in tomcat
4.1.x, instead I'm getting an exception! Since I'm not aware about the
compatibility versions of tomcat, I ask for your help.

exception:
--

javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an applet parameter, or in an
application resource file:  java.naming.factory.initial
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
...


And is caused on the following server code:

try{
Context initCtx = new InitialContext();
Context envCtx = (Context)initCtx.lookup(java:comp/env/);
this.ds = (DataSource)envCtx.lookup(/jdbc/ngincaredb);
}
catch(NamingException e){
logger.fatal(datasource error, e);
}


web.xml:

resource-ref
res-ref-namejdbc/ngincaredb/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref


server.xml:
---
Context path=/ngincare 
 docBase=webapps/ngincare 
 crossContext=true
 debug=9 
 reloadable=true 
 trusted=false 

   Resource name=jdbc/ngincaredb auth=Container
type=javax.sql.DataSource/
  ResourceParams name=jdbc/ngincaredb
 parameter
namedriverClassName/name
valueoracle.jdbc.driver.OracleDriver/value
/parameter
parameter
namefactory/name
valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
/parameter
...
  /ResourceParams

/Context

thanks,
Pedro Salazar

-- 
ps 
[EMAIL PROTECTED]
key id: 0E129E31D803BC61


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



Re: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-04 Thread Sean Dockery
Weird that your envCtx.lookup is done on /jdbc/ngincaredb.  I've never seen 
it done on an absolute path before.  :-)

Please provide all of the parameters that you are declaring under the 
ResourceParams section.  (I don't want to know your username and 
password--I just want to know the entire list...)

At 14:34 2003-02-04, you wrote:
And is caused on the following server code:

try{
Context initCtx = new InitialContext();
Context envCtx = (Context)initCtx.lookup(java:comp/env/);
this.ds = (DataSource)envCtx.lookup(/jdbc/ngincaredb);
}
catch(NamingException e){
logger.fatal(datasource error, e);
}


web.xml:

resource-ref
res-ref-namejdbc/ngincaredb/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref


server.xml:
---
Context path=/ngincare
 docBase=webapps/ngincare
 crossContext=true
 debug=9
 reloadable=true
 trusted=false 

   Resource name=jdbc/ngincaredb auth=Container
type=javax.sql.DataSource/
  ResourceParams name=jdbc/ngincaredb
 parameter
namedriverClassName/name
valueoracle.jdbc.driver.OracleDriver/value
/parameter
parameter
namefactory/name
valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
/parameter
...
  /ResourceParams

/Context


Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com



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




Backward migration from Tomcat 4.1.18 to Tomcat 3.2.4

2003-01-31 Thread Chad Pettit
I developed an application using Tomcat 4.1.18.  It is nothing very
difficult, it basically utilizes a single JSP script and one JAVA bean.
 However, in the script, I take full advantage of the core jstl (c:out,
c:if, c:foreach, etc.).  I am now trying to port my code to a machine
running Tomcat 3.2.4 and cannot get the core jstl libraries to work
correctly.  I would love to simply upgrade Tomcat on this machine, but
that is out of my control.  I have tried copying the .jar files, for
what I believe are the jstl libraries, to the lib directory directly off
of the Tomcat base directory, but that does not appear to be working.
 Any help in this downgrade would be greatly appreciated.

--
Chad E. Pettit
Software Engineer
XonTech, Inc.
2940 Presidential Dr.
Suite 100
Dayton OH 45324
(937) 320-9140 Phone
(937) 320-9143 Fax




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




RE: Backward migration from Tomcat 4.1.18 to Tomcat 3.2.4

2003-01-31 Thread Raible, Matt
JSTL only works with JSP 1.2 - Tomcat 3.x only supports JSP 1.1.

HTH,

Matt

 -Original Message-
 From: Chad Pettit [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 31, 2003 9:00 AM
 To: [EMAIL PROTECTED]
 Subject: Backward migration from Tomcat 4.1.18 to Tomcat 3.2.4
 
 
 I developed an application using Tomcat 4.1.18.  It is nothing very
 difficult, it basically utilizes a single JSP script and one 
 JAVA bean.
   However, in the script, I take full advantage of the core 
 jstl (c:out,
 c:if, c:foreach, etc.).  I am now trying to port my code to a machine
 running Tomcat 3.2.4 and cannot get the core jstl libraries to work
 correctly.  I would love to simply upgrade Tomcat on this machine, but
 that is out of my control.  I have tried copying the .jar files, for
 what I believe are the jstl libraries, to the lib directory 
 directly off
 of the Tomcat base directory, but that does not appear to be working.
   Any help in this downgrade would be greatly appreciated.
 
 -- 
 Chad E. Pettit
 Software Engineer
 XonTech, Inc.
 2940 Presidential Dr.
 Suite 100
 Dayton OH 45324
 (937) 320-9140 Phone
 (937) 320-9143 Fax
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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




Re: Backward migration from Tomcat 4.1.18 to Tomcat 3.2.4

2003-01-31 Thread Chad Pettit
That sucks.  I think I can just hack everything into my bean and be OK. 
One more question:

How do you pass a url rewrite parameter into a bean?  

In my program, I have a ?date=10-oct-2002 field in my url that I am 
retrieving using param.date.  Previosuly, I was using:

c:set value=${param.date} target=${bean} property=date/

but since the c:set isn't supported, how can I do this.

Once again, any help would be greatly appreciated.


Raible, Matt wrote:

JSTL only works with JSP 1.2 - Tomcat 3.x only supports JSP 1.1.

HTH,

Matt

 

-Original Message-
From: Chad Pettit [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 9:00 AM
To: [EMAIL PROTECTED]
Subject: Backward migration from Tomcat 4.1.18 to Tomcat 3.2.4


I developed an application using Tomcat 4.1.18.  It is nothing very
difficult, it basically utilizes a single JSP script and one 
JAVA bean.
 However, in the script, I take full advantage of the core 
jstl (c:out,
c:if, c:foreach, etc.).  I am now trying to port my code to a machine
running Tomcat 3.2.4 and cannot get the core jstl libraries to work
correctly.  I would love to simply upgrade Tomcat on this machine, but
that is out of my control.  I have tried copying the .jar files, for
what I believe are the jstl libraries, to the lib directory 
directly off
of the Tomcat base directory, but that does not appear to be working.
 Any help in this downgrade would be greatly appreciated.

--
Chad E. Pettit
Software Engineer
XonTech, Inc.
2940 Presidential Dr.
Suite 100
Dayton OH 45324
(937) 320-9140 Phone
(937) 320-9143 Fax




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

   



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

 


--
Chad E. Pettit
Software Engineer
XonTech, Inc.
2940 Presidential Dr.
Suite 100
Dayton OH 45324
(937) 320-9140 Phone
(937) 320-9143 Fax 



About Tomcat-3.2.4 installation problem

2003-01-21 Thread farhan ahmed
Dear All,


I am trying to install Tomcat-3.2.4 with j2sdk1.3.1 on Sun 
Solaris 8.My path is already set.But it is not installing.Any good tip



-
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs



Re: About Tomcat-3.2.4 installation problem

2003-01-21 Thread David Kavanagh
If you could give more details about the errors you are getting, that 
would help. I've run the setup you seem to have without problems. The 
current tomcat is either 4.0.6, or 4.1.18. It might be nice to start 
with the newer version also.

David

farhan ahmed wrote:

Dear All,


   I am trying to install Tomcat-3.2.4 with j2sdk1.3.1 on Sun 
Solaris 8.My path is already set.But it is not installing.Any good tip



-
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs

 




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




[Fwd: Mozilla 1.x/N6+ causes memory leak on Tomcat 3.2.4]

2002-11-29 Thread Christopher Mark Balz

--
. . . / This Cabinet is formd of Gold / And Pearl  Crystal shining bright
And within it opens into a World / . . .
Another England there I saw / Another London with its Tower
Another Thames  other Hills / And another pleasant Surrey Bower
. . .
- from The Crystal Cabinet, a poem by William Blake.

---BeginMessage---
In side-by-side tests, IE 5.5 causes no such leak, but Moz1.x/N6+ cause 
Tomcat to simply start allocating memory until the heap size limit is 
exceeded by about 20MB, resulting in an eventual shutdown of the JVM.

I'm pretty sure it's not my code since the leak starts immediately on 
secure (ssl) session log-in to a static page (no servlet action 
whatsoever).  If a Moz/N6+ browser is already logged in however, after 
restarting the Tomcat server it takes a request from Moz1.x/N6 to start 
the big leak that leads to an eventual JVM shutdown.

I thought that Netscape existed only to torture client-side developers; 
it seems they've got something going on the server-side now!  Of course, 
it would be Tomcat's bug, but it's funny how many bugs always surround 
Netscape.

Since this bug crashes my server, I would very much appreciate help with 
it.  I've seen other postings on the web indicating that this is a 
problem but have not seen anyone address it in a response.

 - CB

--
. . . / This Cabinet is formd of Gold / And Pearl  Crystal shining bright
And within it opens into a World / . . .
Another England there I saw / Another London with its Tower
Another Thames  other Hills / And another pleasant Surrey Bower
. . .
- from The Crystal Cabinet, a poem by William Blake.


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


Mozilla 1.x/N6+ causes memory leak on Tomcat 3.2.4

2002-11-29 Thread Christopher Mark Balz
In side-by-side tests, IE 5.5 causes no such leak, but Moz1.x/N6+ cause 
Tomcat to simply start allocating memory until the heap size limit is 
exceeded by about 20MB, resulting in an eventual shutdown of the JVM.

I'm pretty sure it's not my code since the leak starts immediately on 
secure (ssl) session log-in to a static page (no servlet action 
whatsoever).  If a Moz/N6+ browser is already logged in however, after 
restarting the Tomcat server it takes a request from Moz1.x/N6 to start 
the big leak that leads to an eventual JVM shutdown.

I thought that Netscape existed only to torture client-side developers; 
it seems they've got something going on the server-side now!  Of course, 
it would be Tomcat's bug, but it's funny how many bugs always surround 
Netscape.

Since this bug crashes my server, I would very much appreciate help with 
it.  I've seen other postings on the web indicating that this is a 
problem but have not seen anyone address it in a response.

 - CB

--
. . . / This Cabinet is formd of Gold / And Pearl  Crystal shining bright
And within it opens into a World / . . .
Another England there I saw / Another London with its Tower
Another Thames  other Hills / And another pleasant Surrey Bower
. . .
- from The Crystal Cabinet, a poem by William Blake.


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



Session Handling in Tomcat 3.2.4

2002-11-26 Thread Vaibhav Kulkarni
Hi all,
Can i persist the session id generated from the server
request.getSession();

I am having one class which connects to the server with url object and
receives a session id as response from the server. Now the same session
id is used by other programs to communicate with the server. Now if
because of some malfunction server shuts down I am catching the network
errors as ConnectException BindException, UnknowHostException etc. if
the exception occurs, in the catch block the method connect method will
be called , now in this method session id will be sent as a jsession
parameter,  and will try to re establish the connection if the
connection has been established i want , sever to send the same session
id . so that the other threads will be in same state as of they are
before , they were sending information to server before connection was
lost.. 

now my question is whether it will work and does server supports such
kind of requests of creating the session object with the same name as
specified in the url connection.

Regards,
Vaibhav
-- 
Vaibhav Kulkarni
Embedded Systems Group.
rapidEffect (P) Ltd.
25,Napier Road, Pune 411 001 Ph. 020 6363250

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




Session Handling in Tomcat 3.2.4

2002-11-26 Thread Vaibhav Kulkarni
Hi all,
Can i persist the session id generated from the server
request.getSession();

I am having one class which connects to the server with url object and
receives a session id as response from the server. Now the same session
id is used by other programs to communicate with the server. Now if
because of some malfunction server shuts down I am catching the network
errors as ConnectException BindException, UnknowHostException etc. if
the exception occurs, in the catch block the method connect method will
be called , now in this method session id will be sent as a jsession
parameter,  and will try to re establish the connection if the
connection has been established i want , sever to send the same session
id . so that the other threads will be in same state as of they are
before , they were sending information to server before connection was
lost.. 

now my question is whether it will work and does server supports such
kind of requests of creating the session object with the same name as
specified in the url connection.

Regards,
Vaibhav

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




coredump using tomcat 3.2.4

2002-11-14 Thread John Park
hi, All,

We recently experienced a coredump when using an
embedded tomcat servlet engine (version 3.2.4). The
last hint was two stack traces showing socket read
timeouts. The java version we were using is 1.2.2_12
on solaris 2.8. Has anyone seen something similar?

I am not trying to solve the problem here but any
ideas on how to trace the cause of the coredump is
greatly appreciated. 

Thanks a lot,

John

PS: the stack trace looks like:

java.io.InterruptedIOException: Read timed out
at
java.net.SocketInputStream.socketRead(Native Method)
at
java.net.SocketInputStream.socketRead(Compiled Code)
at java.net.SocketInputStream.read(Compiled
Code)
at java.io.BufferedInputStream.fill(Compiled
Code)
at java.io.BufferedInputStream.read(Compiled
Code)
at
org.apache.tomcat.service.http.HttpRequestAdapter.doRead(Compiled
Code)
at
org.apache.tomcat.core.BufferedServletInputStream.doRead(Compiled
Code)
at
org.apache.tomcat.core.BufferedServletInputStream.read(Compiled
Code)
at
javax.servlet.ServletInputStream.readLine(Compiled
Code)
at
org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(Compiled
Code)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compiled
Code)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled
Code)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled
Code)
at java.lang.Thread.run(Compiled Code)
Segmentation Fault - core dumped


__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: coredump using tomcat 3.2.4

2002-11-14 Thread shawn
#] gdb /path/to/executable /path/to/corefile

...loads all the symbols from the core ...

(gdb)bt

.. prints the stack trace of the segfault ..

I have not done this with tomcat.  your milage may vary.


If you do not have a core you can do it this way

#]gdb /path/to/executable
(gdb) run -X

( cause your app to crash )

(gdb)bt


On Thursday 14 November 2002 04:32 pm, John Park wrote:
 hi, All,

 We recently experienced a coredump when using an
 embedded tomcat servlet engine (version 3.2.4). The
 last hint was two stack traces showing socket read
 timeouts. The java version we were using is 1.2.2_12
 on solaris 2.8. Has anyone seen something similar?

 I am not trying to solve the problem here but any
 ideas on how to trace the cause of the coredump is
 greatly appreciated.

 Thanks a lot,

 John

 PS: the stack trace looks like:

 java.io.InterruptedIOException: Read timed out
 at
 java.net.SocketInputStream.socketRead(Native Method)
 at
 java.net.SocketInputStream.socketRead(Compiled Code)
 at java.net.SocketInputStream.read(Compiled
 Code)
 at java.io.BufferedInputStream.fill(Compiled
 Code)
 at java.io.BufferedInputStream.read(Compiled
 Code)
 at
 org.apache.tomcat.service.http.HttpRequestAdapter.doRead(Compiled
 Code)
 at
 org.apache.tomcat.core.BufferedServletInputStream.doRead(Compiled
 Code)
 at
 org.apache.tomcat.core.BufferedServletInputStream.read(Compiled
 Code)
 at
 javax.servlet.ServletInputStream.readLine(Compiled
 Code)
 at
 org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(Compiled
 Code)
 at
 org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Comp
iled Code)
 at
 org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled
 Code)
 at
 org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled
 Code)
 at java.lang.Thread.run(Compiled Code)
 Segmentation Fault - core dumped


 __
 Do you Yahoo!?
 Yahoo! Web Hosting - Let the expert host your site
 http://webhosting.yahoo.com


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




TomCat 3.2.4 servlet is not a url Error and File Not Found'...

2002-11-06 Thread Gary Fix

 Hi!
 I'm new to Tomcat on Windows NT 4.0 Server, SP6, with IIS and Tomcat
 3.2.4...
 I am able to run the example servlets...
 I installed our first application and it works fine...
 I installed a second applicatiion and each time I try to access the
 servlet I get a HTTP 404 - File not found...
 I checked the log files and the only thing I could find was in the
 iis_redirect.log file a message like myclass is not a servlet url...
 If I copy the same class file to the other application directory, it works
 and the same log file reads myclass is a servlet url...
 I'm thinking this might be a configuration problem...I have compared the
 server.xml and web.xml files and these appear fine...
 I have searched the docs, FAQs and archives with no luck...
 Any suggestions?
 thanks in advance...gary...
 
 
 

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Will Upgrade from one cpu to Dual CPU benefit tomcat 3.2.4 ?

2002-11-01 Thread Brandon Cruz

I have an overloaded linux server running ApacheTomcat 3.2.4MySQL.  It has
512MB Ram, which seems to be doing fine, but the 1Ghz CPU being used by
Tomcat is constantly 35-60%.  Before I spend the money, does tomcat take
advantage of multiple processors, and will it help me to upgrade to a Dual
1Ghz CPU machine?

Brandon


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: Will Upgrade from one cpu to Dual CPU benefit tomcat 3.2.4 ?

2002-11-01 Thread Ben Ricker
I find that with databases in general, and MySQl in particular, that you
CPU is bound up in a io wait state, that is, waiting for disk reads
and/or writes. You may be disk bound. In that case, adding another CPU
will only give you nominal improvement.

You would need to check to see if I/O is the issue by checking the I/O
wait states and see if the kernel is just blocking the CPU waiting for
disk read/writes. If so, are you using SCSI? IDE? Got RAID? Striping
will improve the situation, as well as turning off mirroring disks, if
you have that setup.

Ben Ricker
Wellinx.com

On Fri, 2002-11-01 at 14:50, Brandon Cruz wrote:
 
 I have an overloaded linux server running ApacheTomcat 3.2.4MySQL.  It has
 512MB Ram, which seems to be doing fine, but the 1Ghz CPU being used by
 Tomcat is constantly 35-60%.  Before I spend the money, does tomcat take
 advantage of multiple processors, and will it help me to upgrade to a Dual
 1Ghz CPU machine?
 
 Brandon
 
 
 --
 To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
 



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: Will Upgrade from one cpu to Dual CPU benefit tomcat 3.2.4 ?

2002-11-01 Thread Bill Barker
Probably.  It will probably help more to upgrade to at least Tomcat 3.3.1.

Brandon Cruz [EMAIL PROTECTED] wrote in message
news:LPEAICGFPJGGFPKBKDLNCEAHECAA.bcruz;norvax.com...

 I have an overloaded linux server running ApacheTomcat 3.2.4MySQL.  It
has
 512MB Ram, which seems to be doing fine, but the 1Ghz CPU being used by
 Tomcat is constantly 35-60%.  Before I spend the money, does tomcat take
 advantage of multiple processors, and will it help me to upgrade to a Dual
 1Ghz CPU machine?

 Brandon





--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Does Tomcat 3.2.4 use a thread pool by default

2002-10-09 Thread rsequeira


Does Tomcat 3.2.4 use a thread pool by default? If I'm not mistaken, it
does according to the documentation (
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat_ug.html).
Could someone please confirm this. I think it does using the
PoolTcpConnector class. I believe even if you do not explicitly specify
max_threads, max_spare_threads, min_spare_threads it uses the default that
is specified in the documentation. I wanted someone to confirm this.
We are having problems with our website.The CPU and load on the machine
keeps increasing and never comes down unless we restart Tomcat.
 We use JDK1.3.1, Apache, Tomcat 3.2.4, Linux 7.2.

Thanks in advance,
RS




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




AW: Feedback: tomcat-3.2.4

2002-09-27 Thread Ralph Einfeldt


Although I'm not using IIS, I'm quite shure that even MS uses the same 
HTTP return codes, and that means it is just OK.

 Now, the following error-code is found in the log-file:

 2002-09-27 11:36:40 127.0.0.1 - 127.0.0.1 80 GET /test/examples/jsp/index.html - 200 
Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)

 This error-code (200) is a sign for missing the executable-right in 
jakarta-virtual-directory. But I have set this right.

-Ursprüngliche Nachricht-
Von: Wolfgang Löw [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 27. September 2002 15:58
An: [EMAIL PROTECTED]
Betreff: Feedback: tomcat-3.2.4


Please I need help to solve this:
 
I have problems to install tomcat-3.2.4
 
During installation I used the information in 
c:\jakarta-tomcat-3.2.4\doc\tomcat-iis-howto.html
 
For a detailed description of my problems please have a look in the attached files.
 
Thank you for your help
 
Best regards
 
 
Wolfgang Löw
 
 

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




Tomcat 3.2.4 performance tuning tips

2002-09-19 Thread Curt Pederson

We have written an app that has to handle lots (100s or even 1000s) of requests
VERY quickly and we are using Tomcat 3.2.4 (planning on moving to 4.x in
the near future.)  I found the information about setting the thread pool
sizes on the connectors and have been playing with that.  What would be some
good values to set for the pool size to handle a large quantity of hits in
very short bursts?  Are there any other things we can tweek?

Thanks,
Curt

_
Are you a Techie? Get Your Free Tech Email Address Now! Visit http://www.TechEmail.com

_
Promote your group and strengthen ties to your members with [EMAIL PROTECTED] by 
Everyone.net  http://www.everyone.net/?btn=tag

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




RE: How and when to upgrade Tomcat 3.2.4 to Tomcat 4.1.10 Stable (Anybody?)

2002-09-18 Thread Brandon Cruz


We have been running tomcat 3.2.4 connected to Apache for about a year now.
We have configured about 200 virtual hosts (through server.xml) that are
using Tomcat to serve jsp files and run web applications.  Most of the
customers use the same application.

We are having a major problem, every time we want to change that
application, we need to restart tomcat, which means shutting down sessions
for users from every single virtual host.  This is a total pain!

We would like to upgrade to Tomcat 4.1.10 for it's manager capabilities,
especially restarting applications.  We would also like to stay somewhat
current so that we can get support from this usergroup when we have
questions.  There don't seem to be too many people interested in 3.2.4
questions anymore.

Question 1: Every *.jsp request is mapped to mod_jk, the workers.properties
seems to specify the home installation for Tomcat.  We would like to setup
4.1.10 and send new hosts to that instance, while leaving old customers
running on 3.2.4 at least until we are sure everything is working with the
new installation.  We do not have access to map *.jsp to a certain tomcat
instance because of the way our server administrator tool handles apache
virtual hosts.  Is this possible?  Are we stuck with only one instance of
tomcat if every *.jsp request goes to mod_jk?

Question 2:  Has anyone done this upgrade before and is it a major task?  Is
this even worth doing, or should we stick with 3.2.4 until we need to set up
an entirely new server?


Thanks in advance for any help, advice, or answers!


Brandon





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




Re: Exceptions when starting tomcat 3.2.4

2002-09-12 Thread salim

ur servlet.jar and webserver.jar should be in classpath or lib directory of
tomcat
--
Salim
- Original Message -
From: Bill Barker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 12, 2002 11:51 AM
Subject: Re: Exceptions when starting tomcat 3.2.4



 rob [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  I've recently started using tomcat 3.2.4 and am receiving
  ClassNotFoundException(s) when starting the servlet container.
 
  I suspect it's due to a bad classpath but I'm not really
  certain what jar file the classes would/should be in.
 
  I've attached output from starting the server perhaps someone
  would be kind enough to tell me how to solve the problem.  All
  of the .jar files listed in the classpath exist.  Other than that
  there isn't much I can say.
 
  Any suggestions?

 Dump 3.2.x and upgrade to at least 3.3.1? ;-)

 
  Thanks
 
  Rob
 
  Starting tomcat.
  Guessing TOMCAT_HOME from tomcat.sh to /usr/pkg/tomcat/bin/..
  Setting TOMCAT_HOME to /usr/pkg/tomcat/bin/..
  Using classpath:
 

/usr/pkg/tomcat/lib/jasper.jar:/usr/pkg/tomcat/lib/test:/usr/pkg/tomcat/lib/

webserver.jar:/usr/pkg/java/lib/tools.jar:/usr/pkg/lib/java/servlet.jar:/usr
 /pkg/lib/java/servlet.jar:/usr/pkg/lib/java/crimson.jar:/usr/pkg/lib/
  java/ant.jar
  2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /examples )
  Starting tomcat. Check logs/tomcat.log for error messages
  2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /admin )
  2002-09-11 18:17:32 - ContextManager: Adding context Ctx(  )
  2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /test )
  2002-09-11 18:17:32 - ContextManager: Adding context Ctx(
 /struts-example )
  2002-09-11 18:17:32 - ContextManager: Adding context Ctx(
  /struts-documentation )
  java.lang.ClassNotFoundException:
  org.apache.tomcat.loader.AdaptiveClassLoader12
   at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
   at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
   at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:120)
   at
  org.apache.tomcat.loader.AdaptiveServletLoader.getClassLoader(Unknown
  Source)
   at
  org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Unknown Source)
   at org.apache.tomcat.core.ServletWrapper.loadServlet(Unknown
  Source)
   at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
   at
  org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
  Source)
   at org.apache.tomcat.core.ContextManager.initContext(Unknown
  Source)
   at org.apache.tomcat.core.ContextManager.init(Unknown Source)
   at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
   at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
  java.lang.ClassNotFoundException:
org.apache.jasper.servlet.JasperLoader12
   at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
   at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
   at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:120)
   at org.apache.jasper.servlet.JspServlet.init(Unknown Source)
   at org.apache.tomcat.core.ServletWrapper.doInit(Unknown Source)
   at org.apache.tomcat.core.Handler.init(Unknown Source)
   at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
   at
  org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
  Source)
   at org.apache.tomcat.core.ContextManager.initContext(Unknown
  Source)
   at org.apache.tomcat.core.ContextManager.init(Unknown Source)
   at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
   at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
  java.lang.ClassNotFoundException:
  org.apache.tomcat.loader.AdaptiveClassLoader12
   at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.

Re: Exceptions when starting tomcat 3.2.4

2002-09-12 Thread rob



salim wrote:
 ur servlet.jar and webserver.jar should be in classpath or lib directory of
 tomcat

It is

 Using classpath:
 
 
  
/usr/pkg/tomcat/lib/jasper.jar:/usr/pkg/tomcat/lib/test:/usr/pkg/tomcat/lib/
 
  
webserver.jar:/usr/pkg/java/lib/tools.jar:/usr/pkg/lib/java/servlet.jar:/usr
 
 /pkg/lib/java/servlet.jar:/usr/pkg/lib/java/crimson.jar:/usr/pkg/lib/

 --
 Salim
 - Original Message -
 From: Bill Barker [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, September 12, 2002 11:51 AM
 Subject: Re: Exceptions when starting tomcat 3.2.4
 
 
 
rob [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

I've recently started using tomcat 3.2.4 and am receiving
ClassNotFoundException(s) when starting the servlet container.

I suspect it's due to a bad classpath but I'm not really
certain what jar file the classes would/should be in.

I've attached output from starting the server perhaps someone
would be kind enough to tell me how to solve the problem.  All
of the .jar files listed in the classpath exist.  Other than that
there isn't much I can say.

Any suggestions?

Dump 3.2.x and upgrade to at least 3.3.1? ;-)


Thanks

Rob

Starting tomcat.
Guessing TOMCAT_HOME from tomcat.sh to /usr/pkg/tomcat/bin/..
Setting TOMCAT_HOME to /usr/pkg/tomcat/bin/..
Using classpath:


 /usr/pkg/tomcat/lib/jasper.jar:/usr/pkg/tomcat/lib/test:/usr/pkg/tomcat/lib/
 
 webserver.jar:/usr/pkg/java/lib/tools.jar:/usr/pkg/lib/java/servlet.jar:/usr
 
/pkg/lib/java/servlet.jar:/usr/pkg/lib/java/crimson.jar:/usr/pkg/lib/

java/ant.jar
2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /examples )
Starting tomcat. Check logs/tomcat.log for error messages
2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /admin )
2002-09-11 18:17:32 - ContextManager: Adding context Ctx(  )
2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /test )
2002-09-11 18:17:32 - ContextManager: Adding context Ctx(

/struts-example )

2002-09-11 18:17:32 - ContextManager: Adding context Ctx(
/struts-documentation )
java.lang.ClassNotFoundException:
org.apache.tomcat.loader.AdaptiveClassLoader12
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
 at

 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
 
 at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
 at

 java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
 
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:120)
 at
org.apache.tomcat.loader.AdaptiveServletLoader.getClassLoader(Unknown
Source)
 at
org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Unknown Source)
 at org.apache.tomcat.core.ServletWrapper.loadServlet(Unknown
Source)
 at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
 at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
Source)
 at org.apache.tomcat.core.ContextManager.initContext(Unknown
Source)
 at org.apache.tomcat.core.ContextManager.init(Unknown Source)
 at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
 at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
java.lang.ClassNotFoundException:

 org.apache.jasper.servlet.JasperLoader12
 
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
 at

 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
 
 at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
 at

 java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
 
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:120)
 at org.apache.jasper.servlet.JspServlet.init(Unknown Source)
 at org.apache.tomcat.core.ServletWrapper.doInit(Unknown Source)
 at org.apache.tomcat.core.Handler.init(Unknown Source)
 at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
 at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
Source)
 at org.apache.tomcat.core.ContextManager.initContext(Unknown
Source)
 at org.apache.tomcat.core.ContextManager.init(Unknown Source)
 at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
 at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
java.lang.ClassNotFoundException:
org.apache.tomcat.loader.AdaptiveClassLoader12
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Nativ

Re: Exceptions when starting tomcat 3.2.4

2002-09-12 Thread rob



Bill Barker wrote:
 rob [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 
I've recently started using tomcat 3.2.4 and am receiving
ClassNotFoundException(s) when starting the servlet container.

I suspect it's due to a bad classpath but I'm not really
certain what jar file the classes would/should be in.

I've attached output from starting the server perhaps someone
would be kind enough to tell me how to solve the problem.  All
of the .jar files listed in the classpath exist.  Other than that
there isn't much I can say.

Any suggestions?
 
 
 Dump 3.2.x and upgrade to at least 3.3.1? ;-)

I would like to but unfortunately thats not an option.  Management
decision would be required as well as building of a new package for
my platform there are other politics involved.


 
Thanks

Rob

Starting tomcat.
Guessing TOMCAT_HOME from tomcat.sh to /usr/pkg/tomcat/bin/..
Setting TOMCAT_HOME to /usr/pkg/tomcat/bin/..
Using classpath:

 
 /usr/pkg/tomcat/lib/jasper.jar:/usr/pkg/tomcat/lib/test:/usr/pkg/tomcat/lib/
 webserver.jar:/usr/pkg/java/lib/tools.jar:/usr/pkg/lib/java/servlet.jar:/usr
 /pkg/lib/java/servlet.jar:/usr/pkg/lib/java/crimson.jar:/usr/pkg/lib/
 
java/ant.jar
2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /examples )
Starting tomcat. Check logs/tomcat.log for error messages
2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /admin )
2002-09-11 18:17:32 - ContextManager: Adding context Ctx(  )
2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /test )
2002-09-11 18:17:32 - ContextManager: Adding context Ctx(
 
 /struts-example )
 
2002-09-11 18:17:32 - ContextManager: Adding context Ctx(
/struts-documentation )
java.lang.ClassNotFoundException:
org.apache.tomcat.loader.AdaptiveClassLoader12
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:120)
 at
org.apache.tomcat.loader.AdaptiveServletLoader.getClassLoader(Unknown
Source)
 at
org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Unknown Source)
 at org.apache.tomcat.core.ServletWrapper.loadServlet(Unknown
Source)
 at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
 at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
Source)
 at org.apache.tomcat.core.ContextManager.initContext(Unknown
Source)
 at org.apache.tomcat.core.ContextManager.init(Unknown Source)
 at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
 at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
java.lang.ClassNotFoundException: org.apache.jasper.servlet.JasperLoader12
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:120)
 at org.apache.jasper.servlet.JspServlet.init(Unknown Source)
 at org.apache.tomcat.core.ServletWrapper.doInit(Unknown Source)
 at org.apache.tomcat.core.Handler.init(Unknown Source)
 at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
 at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
Source)
 at org.apache.tomcat.core.ContextManager.initContext(Unknown
Source)
 at org.apache.tomcat.core.ContextManager.init(Unknown Source)
 at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
 at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
java.lang.ClassNotFoundException:
org.apache.tomcat.loader.AdaptiveClassLoader12
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.

Exceptions when starting tomcat 3.2.4

2002-09-11 Thread rob

I've recently started using tomcat 3.2.4 and am receiving
ClassNotFoundException(s) when starting the servlet container.

I suspect it's due to a bad classpath but I'm not really
certain what jar file the classes would/should be in.

I've attached output from starting the server perhaps someone
would be kind enough to tell me how to solve the problem.  All
of the .jar files listed in the classpath exist.  Other than that
there isn't much I can say.

Any suggestions?

Thanks

Rob

Starting tomcat.
Guessing TOMCAT_HOME from tomcat.sh to /usr/pkg/tomcat/bin/..
Setting TOMCAT_HOME to /usr/pkg/tomcat/bin/..
Using classpath: 
/usr/pkg/tomcat/lib/jasper.jar:/usr/pkg/tomcat/lib/test:/usr/pkg/tomcat/lib/webserver.jar:/usr/pkg/java/lib/tools.jar:/usr/pkg/lib/java/servlet.jar:/usr/pkg/lib/java/servlet.jar:/usr/pkg/lib/java/crimson.jar:/usr/pkg/lib/
java/ant.jar
2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /examples )
Starting tomcat. Check logs/tomcat.log for error messages
2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /admin )
2002-09-11 18:17:32 - ContextManager: Adding context Ctx(  )
2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /test )
2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /struts-example )
2002-09-11 18:17:32 - ContextManager: Adding context Ctx( 
/struts-documentation )
java.lang.ClassNotFoundException: 
org.apache.tomcat.loader.AdaptiveClassLoader12
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:120)
 at 
org.apache.tomcat.loader.AdaptiveServletLoader.getClassLoader(Unknown 
Source)
 at 
org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Unknown Source)
 at org.apache.tomcat.core.ServletWrapper.loadServlet(Unknown 
Source)
 at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
 at 
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown 
Source)
 at org.apache.tomcat.core.ContextManager.initContext(Unknown 
Source)
 at org.apache.tomcat.core.ContextManager.init(Unknown Source)
 at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
 at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
java.lang.ClassNotFoundException: org.apache.jasper.servlet.JasperLoader12
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:120)
 at org.apache.jasper.servlet.JspServlet.init(Unknown Source)
 at org.apache.tomcat.core.ServletWrapper.doInit(Unknown Source)
 at org.apache.tomcat.core.Handler.init(Unknown Source)
 at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
 at 
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown 
Source)
 at org.apache.tomcat.core.ContextManager.initContext(Unknown 
Source)
 at org.apache.tomcat.core.ContextManager.init(Unknown Source)
 at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
 at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
java.lang.ClassNotFoundException: 
org.apache.tomcat.loader.AdaptiveClassLoader12
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:120)
 at 
org.apache.tomcat.loader.AdaptiveServletLoader.getClassLoader(Unknown 
Source)
 at 
org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Unknown Source)
 at org.apache.tomcat.core.ServletWrapper.loadServlet(Unknown 
Source

RE: Tomcat 3.2.4 slow with Jdk1.4 and SSL

2002-09-11 Thread Andreas Mohrig

I forgot to mention that my server works behind apache which is doing all
the encryption, so at least my performance problem is definitely caused at
the client side, i.e. within the java-code using the https implementation
from jdk1.4. But even my tomcat alone is very fast. In my test environment I
can access the server both on port 443 (then apache will handle the
encryption, leaving tomcat nothing to do but answer the request unencrypted
over ajp) and on 8443 (then tomcat will do the encryption, probably with the
help of the jdk1.4 components that were a part of JSSE prior to jdk1.4).
There is no notable difference in speed between the two requests, not even
if I close the browser to enforce a new ssl-handshake for each request.

But thanks for the suggestions anyway, Bill. I downloaded PureTLS and the
required packages for use on the client side. Unfortunately, there is no
https protocol handler (at least none that I found so far) that could
provide a replacement for the sun implementation. I'm looking for something
to specify in the following two statements to use PureTLS instead of the
functionality provided by jdk1.4:

System.setProperty(java.protocol.handler.pkgs,
com.sun.net.ssl.internal.www.protocol); -- here
Security.addProvider(
new com.sun.net.ssl.internal.ssl.Provider()); -- and here

Do you (or does anyone) know of something like this for PureTLS?

And Wolfgang (you're right by the way assuming that I'm from germany, but I
hope our problem has nothing to do with that ;-), can you confirm that the
problem is on the client side in the java code? How is the performance of
your tomcat when you access the same resources with a browser?
The forum-postings you quoted seem to imply that the low performance could
have been a problem of jdk's prior to 1.4 as well which simply did not show
(at least from within applets running inside IE) because IE used it's own
ssl/https-implementation when used with jdk1.3 (and earlier) and jdk1.4's if
used with that version.

greetings

Andreas Mohrig

-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 7:29 AM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat 3.2.4 slow with Jdk1.4 and SSL


I think that you are out of luck with 3.2.x.

With 3.3.1 and 4.1.10 you can use PureTLS (http://www.rtfm.com/puretls).
(With 4.0.4, you need to use the CoyoteConnector plugin to enable it).  I've
heard good reports about using it with client-certs, but haven't tried it
myself.

Unfortunately, the documentation is still a little weak. :(  The best place
is the 3.3.1 documentation
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ssl-howto.html. The
translation to the 4.x CoyoteConnector is pretty straight-forward (the SSL
attributes are on the Factory), but AFAIK, nobody has actually written it up
yet.

Wolfgang Stein [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I realize you are also a German resident and
 remember the download of JSSE were differing
 for non-US citizens.
 I assume we are victims of a hidden key escrow
 or Echelon's information gathering efforts :-)

 But, all joking(?) aside:
 This seems to be a known jdk1.4 issue. There are
 some related postings at the developer connection
 forums, e.g.
 http://forum.java.sun.com/thread.jsp?forum=2thread=239231)

 It ends up in the recommendation to use a commercial product
 but also states that SUN's implementation were
 one of the better implementations ...

 So,
 did anybody succeed in using a third party JSSE that works
 with tomcat and sufficient performance? Any suggestions ?


 Thanks in advance,
 Wolfgang


  -Original Message-
  From: Andreas Mohrig [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, September 10, 2002 2:20 PM
  To: 'Tomcat Users List'
  Subject: RE: Tomcat 3.2.4 slow with Jdk1.4 and SSL
 
 
  I'm using Tomcat 4.0.4 with Jdk1.4 (on both Linux-Server and
  Windows NT
  client) and worrying about a quite similar problem. The
  server is extremely
  fast (I'd say the answer takes some milliseconds) when I
  access it with a
  browser (e.g. MS IE 5.0), but it takes about 20 seconds (!)
  when I try a
  request using java code like this:
 
  URL url = new URL(https://myserver/myresource;);
  URLConnection con = url.openConnection();
  BufferedReader reader = new BufferedReader(new
  InputStreamReader(con.getInputStream()));
StringBuffer resultbuffer = new StringBuffer();
  String result = reader.readLine();
  while (result!=null) {
  resultbuffer.append(result);
  resultbuffer.append(\n);
  result = reader.readLine();
  }
  reader.close();
 
  This is true for subsequent requests as well. The content
  consists of about
  100 bytes which should be no problem.
 
  So: yes, I'm experiencing a heavy performance problem. I
  can't say if it is
  a performance decrease, though, since I did not test with
  older Jdk's and
  jsse (p

Migrating from Tomcat 3.2.4 to 3.3.1, server.xml question

2002-09-11 Thread Boocock, John (Academy)

All,

I have a bit of a legacy installation of Tomcat 3.2.4 on a server which I
wish to get moved over to 3.3.1, the question I have is it possible to
simply use the existing configuration files, such as server.xml if I build
the new(er) version of tomcat.

I appreciate that there are additional directives which appeared at 3.3 but
should the old configuration files be usable straight off?

Also, if anyone's gone through this is the path is there anything specificly
that I should look out for?

Server is UnixWare 7.1.1 running JDK 1.3 and currently Apache-SSL
1.3.26/1.48

Many thanks

John Boo

_
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they   
are addressed. If you have received this email in error please notify 
the system manager.


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




RE: Migrating from Tomcat 3.2.4 to 3.3.1, server.xml question

2002-09-11 Thread Larry Isaacs

You will need to start with Tomcat 3.3.1's default server.xml
and add appropriate changes from your 3.2.4 installation.
The 3.2.4 server.xml isn't usable in 3.3.1, as is.

You can still define contexts in server.xml, but Tomcat 3.3.1
provides a better mechanism where they are placed in a separate
file(s).  Thus, you can modify them without modifying your
server.xml.

For the important changes from Tomcat 3.2.x to Tomcat 3.3, see:

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

For reference information on Tomcat 3.3.1's server.xml, see:

http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverxml.html

For other Tomcat 3.3.1 information, start here:

http://jakarta.apache.org/tomcat/tomcat-3.3-doc/index.html


Cheers,
Larry

 -Original Message-
 From: Boocock, John (Academy) [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, September 11, 2002 6:17 AM
 To: '[EMAIL PROTECTED]'
 Subject: Migrating from Tomcat 3.2.4 to 3.3.1, server.xml question
 
 
 All,
 
 I have a bit of a legacy installation of Tomcat 3.2.4 on a 
 server which I
 wish to get moved over to 3.3.1, the question I have is it possible to
 simply use the existing configuration files, such as 
 server.xml if I build
 the new(er) version of tomcat.
 
 I appreciate that there are additional directives which 
 appeared at 3.3 but
 should the old configuration files be usable straight off?
 
 Also, if anyone's gone through this is the path is there 
 anything specificly
 that I should look out for?
 
 Server is UnixWare 7.1.1 running JDK 1.3 and currently Apache-SSL
 1.3.26/1.48
 
 Many thanks
 
 John Boo
 
 _
 This message has been checked for all known viruses by Star 
 Internet delivered
 through the MessageLabs Virus Control Centre. For further 
 information visit
 http://www.star.net.uk/stats.asp
 
 This email and any files transmitted with it are confidential and 
 intended solely for the use of the individual or entity to 
 whom they   
 are addressed. If you have received this email in error please notify 
 the system manager.
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [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 3.2.4 slow with Jdk1.4 and SSL

2002-09-11 Thread Bill Barker


Andreas Mohrig [EMAIL PROTECTED] wrote in message
70DD0724686ED611ACC70050228A1ECA06DC5E@SRV_1">news:70DD0724686ED611ACC70050228A1ECA06DC5E@SRV_1...
 I forgot to mention that my server works behind apache which is doing all
 the encryption, so at least my performance problem is definitely caused at
 the client side, i.e. within the java-code using the https implementation
 from jdk1.4. But even my tomcat alone is very fast. In my test environment
I
 can access the server both on port 443 (then apache will handle the
 encryption, leaving tomcat nothing to do but answer the request
unencrypted
 over ajp) and on 8443 (then tomcat will do the encryption, probably with
the
 help of the jdk1.4 components that were a part of JSSE prior to jdk1.4).
 There is no notable difference in speed between the two requests, not even
 if I close the browser to enforce a new ssl-handshake for each request.

 But thanks for the suggestions anyway, Bill. I downloaded PureTLS and the
 required packages for use on the client side. Unfortunately, there is no
 https protocol handler (at least none that I found so far) that could
 provide a replacement for the sun implementation. I'm looking for
something
 to specify in the following two statements to use PureTLS instead of the
 functionality provided by jdk1.4:

 System.setProperty(java.protocol.handler.pkgs,
 com.sun.net.ssl.internal.www.protocol); -- here
 Security.addProvider(
 new com.sun.net.ssl.internal.ssl.Provider()); -- and here

 Do you (or does anyone) know of something like this for PureTLS?

I, personally, don't know (or, rather, don't feel like digging through the
source code to find out :).  But sending to the PureTLS mailing list
[EMAIL PROTECTED] may help. Subscription address:
[EMAIL PROTECTED].  Links are based on documentation from
http://www.rtfm.com/puretls/.  I'm not personally involved with the PureTLS
project, so I'm not accepting any responsibility for broken links. ;-)


 And Wolfgang (you're right by the way assuming that I'm from germany, but
I
 hope our problem has nothing to do with that ;-), can you confirm that the
 problem is on the client side in the java code? How is the performance of
 your tomcat when you access the same resources with a browser?
 The forum-postings you quoted seem to imply that the low performance could
 have been a problem of jdk's prior to 1.4 as well which simply did not
show
 (at least from within applets running inside IE) because IE used it's own
 ssl/https-implementation when used with jdk1.3 (and earlier) and jdk1.4's
if
 used with that version.

 greetings

 Andreas Mohrig

 -Original Message-
 From: Bill Barker [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 7:29 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Tomcat 3.2.4 slow with Jdk1.4 and SSL


 I think that you are out of luck with 3.2.x.

 With 3.3.1 and 4.1.10 you can use PureTLS (http://www.rtfm.com/puretls).
 (With 4.0.4, you need to use the CoyoteConnector plugin to enable it).
I've
 heard good reports about using it with client-certs, but haven't tried it
 myself.

 Unfortunately, the documentation is still a little weak. :(  The best
place
 is the 3.3.1 documentation
 http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ssl-howto.html. The
 translation to the 4.x CoyoteConnector is pretty straight-forward (the SSL
 attributes are on the Factory), but AFAIK, nobody has actually written it
up
 yet.

 Wolfgang Stein [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  I realize you are also a German resident and
  remember the download of JSSE were differing
  for non-US citizens.
  I assume we are victims of a hidden key escrow
  or Echelon's information gathering efforts :-)
 
  But, all joking(?) aside:
  This seems to be a known jdk1.4 issue. There are
  some related postings at the developer connection
  forums, e.g.
  http://forum.java.sun.com/thread.jsp?forum=2thread=239231)
 
  It ends up in the recommendation to use a commercial product
  but also states that SUN's implementation were
  one of the better implementations ...
 
  So,
  did anybody succeed in using a third party JSSE that works
  with tomcat and sufficient performance? Any suggestions ?
 
 
  Thanks in advance,
  Wolfgang
 
 
   -Original Message-
   From: Andreas Mohrig [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, September 10, 2002 2:20 PM
   To: 'Tomcat Users List'
   Subject: RE: Tomcat 3.2.4 slow with Jdk1.4 and SSL
  
  
   I'm using Tomcat 4.0.4 with Jdk1.4 (on both Linux-Server and
   Windows NT
   client) and worrying about a quite similar problem. The
   server is extremely
   fast (I'd say the answer takes some milliseconds) when I
   access it with a
   browser (e.g. MS IE 5.0), but it takes about 20 seconds (!)
   when I try a
   request using java code like this:
  
   URL url = new URL(https://myserver/myresource;);
   URLConnection con = ur

Re: Exceptions when starting tomcat 3.2.4

2002-09-11 Thread Bill Barker


rob [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I've recently started using tomcat 3.2.4 and am receiving
 ClassNotFoundException(s) when starting the servlet container.

 I suspect it's due to a bad classpath but I'm not really
 certain what jar file the classes would/should be in.

 I've attached output from starting the server perhaps someone
 would be kind enough to tell me how to solve the problem.  All
 of the .jar files listed in the classpath exist.  Other than that
 there isn't much I can say.

 Any suggestions?

Dump 3.2.x and upgrade to at least 3.3.1? ;-)


 Thanks

 Rob

 Starting tomcat.
 Guessing TOMCAT_HOME from tomcat.sh to /usr/pkg/tomcat/bin/..
 Setting TOMCAT_HOME to /usr/pkg/tomcat/bin/..
 Using classpath:

/usr/pkg/tomcat/lib/jasper.jar:/usr/pkg/tomcat/lib/test:/usr/pkg/tomcat/lib/
webserver.jar:/usr/pkg/java/lib/tools.jar:/usr/pkg/lib/java/servlet.jar:/usr
/pkg/lib/java/servlet.jar:/usr/pkg/lib/java/crimson.jar:/usr/pkg/lib/
 java/ant.jar
 2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /examples )
 Starting tomcat. Check logs/tomcat.log for error messages
 2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /admin )
 2002-09-11 18:17:32 - ContextManager: Adding context Ctx(  )
 2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /test )
 2002-09-11 18:17:32 - ContextManager: Adding context Ctx(
/struts-example )
 2002-09-11 18:17:32 - ContextManager: Adding context Ctx(
 /struts-documentation )
 java.lang.ClassNotFoundException:
 org.apache.tomcat.loader.AdaptiveClassLoader12
  at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.java:120)
  at
 org.apache.tomcat.loader.AdaptiveServletLoader.getClassLoader(Unknown
 Source)
  at
 org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Unknown Source)
  at org.apache.tomcat.core.ServletWrapper.loadServlet(Unknown
 Source)
  at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
  at
 org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
 Source)
  at org.apache.tomcat.core.ContextManager.initContext(Unknown
 Source)
  at org.apache.tomcat.core.ContextManager.init(Unknown Source)
  at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
  at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
 java.lang.ClassNotFoundException: org.apache.jasper.servlet.JasperLoader12
  at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.java:120)
  at org.apache.jasper.servlet.JspServlet.init(Unknown Source)
  at org.apache.tomcat.core.ServletWrapper.doInit(Unknown Source)
  at org.apache.tomcat.core.Handler.init(Unknown Source)
  at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
  at
 org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
 Source)
  at org.apache.tomcat.core.ContextManager.initContext(Unknown
 Source)
  at org.apache.tomcat.core.ContextManager.init(Unknown Source)
  at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
  at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
 java.lang.ClassNotFoundException:
 org.apache.tomcat.loader.AdaptiveClassLoader12
  at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.

Tomcat 3.2.4 slow with Jdk1.4 and SSL

2002-09-10 Thread Wolfgang Stein


Migrating from Jdk1.3 to Jdk1.4 we encountered a significant 
performance decrease on SSL-communications (server certs) between 
Applets and Tomcat 3.2.4.

Did anybody experience similar performance losses ?

Does this happen because of a low SSL implementation in jdk1.4 ?
Did anybody successfully provide a faster implementation?


We used jdk1.4 on client and server-side.



Thanks in advance,
Wolfgang

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




RE: Tomcat 3.2.4 slow with Jdk1.4 and SSL

2002-09-10 Thread Andreas Mohrig

I'm using Tomcat 4.0.4 with Jdk1.4 (on both Linux-Server and Windows NT
client) and worrying about a quite similar problem. The server is extremely
fast (I'd say the answer takes some milliseconds) when I access it with a
browser (e.g. MS IE 5.0), but it takes about 20 seconds (!) when I try a
request using java code like this:

URL url = new URL(https://myserver/myresource;);
URLConnection con = url.openConnection();
BufferedReader reader = new BufferedReader(new
InputStreamReader(con.getInputStream()));
  StringBuffer resultbuffer = new StringBuffer();
String result = reader.readLine();
while (result!=null) {
resultbuffer.append(result);
resultbuffer.append(\n);
result = reader.readLine();
}
reader.close();

This is true for subsequent requests as well. The content consists of about
100 bytes which should be no problem. 

So: yes, I'm experiencing a heavy performance problem. I can't say if it is
a performance decrease, though, since I did not test with older Jdk's and
jsse (perhaps I should...). Any solutions, hints or suggestions would be
very welcome!

greetings

Andreas Mohrig
-Original Message-
From: Wolfgang Stein [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 12:15 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.2.4 slow with Jdk1.4 and SSL



Migrating from Jdk1.3 to Jdk1.4 we encountered a significant 
performance decrease on SSL-communications (server certs) between 
Applets and Tomcat 3.2.4.

Did anybody experience similar performance losses ?

Does this happen because of a low SSL implementation in jdk1.4 ?
Did anybody successfully provide a faster implementation?


We used jdk1.4 on client and server-side.



Thanks in advance,
Wolfgang

--
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 3.2.4 slow with Jdk1.4 and SSL

2002-09-10 Thread Wolfgang Stein

I realize you are also a German resident and
remember the download of JSSE were differing
for non-US citizens.
I assume we are victims of a hidden key escrow
or Echelon's information gathering efforts :-)

But, all joking(?) aside:
This seems to be a known jdk1.4 issue. There are
some related postings at the developer connection
forums, e.g.
http://forum.java.sun.com/thread.jsp?forum=2thread=239231)

It ends up in the recommendation to use a commercial product
but also states that SUN's implementation were
one of the better implementations ...

So, 
did anybody succeed in using a third party JSSE that works
with tomcat and sufficient performance? Any suggestions ?


Thanks in advance,
Wolfgang
 

 -Original Message-
 From: Andreas Mohrig [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 10, 2002 2:20 PM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat 3.2.4 slow with Jdk1.4 and SSL
 
 
 I'm using Tomcat 4.0.4 with Jdk1.4 (on both Linux-Server and 
 Windows NT
 client) and worrying about a quite similar problem. The 
 server is extremely
 fast (I'd say the answer takes some milliseconds) when I 
 access it with a
 browser (e.g. MS IE 5.0), but it takes about 20 seconds (!) 
 when I try a
 request using java code like this:
 
   URL url = new URL(https://myserver/myresource;);
   URLConnection con = url.openConnection();
   BufferedReader reader = new BufferedReader(new
 InputStreamReader(con.getInputStream()));
   StringBuffer resultbuffer = new StringBuffer();
   String result = reader.readLine();
   while (result!=null) {
   resultbuffer.append(result);
   resultbuffer.append(\n);
   result = reader.readLine();
   }
   reader.close();
 
 This is true for subsequent requests as well. The content 
 consists of about
 100 bytes which should be no problem. 
 
 So: yes, I'm experiencing a heavy performance problem. I 
 can't say if it is
 a performance decrease, though, since I did not test with 
 older Jdk's and
 jsse (perhaps I should...). Any solutions, hints or 
 suggestions would be
 very welcome!
 
 greetings
 
 Andreas Mohrig
 -Original Message-
 From: Wolfgang Stein [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 10, 2002 12:15 PM
 To: [EMAIL PROTECTED]
 Subject: Tomcat 3.2.4 slow with Jdk1.4 and SSL
 
 
 
 Migrating from Jdk1.3 to Jdk1.4 we encountered a significant 
 performance decrease on SSL-communications (server certs) between 
 Applets and Tomcat 3.2.4.
 
 Did anybody experience similar performance losses ?
 
 Does this happen because of a low SSL implementation in jdk1.4 ?
 Did anybody successfully provide a faster implementation?
 
 
 We used jdk1.4 on client and server-side.
 
 
 
 Thanks in advance,
 Wolfgang
 
 --
 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 3.2.4 slow with Jdk1.4 and SSL

2002-09-10 Thread Bill Barker

I think that you are out of luck with 3.2.x.

With 3.3.1 and 4.1.10 you can use PureTLS (http://www.rtfm.com/puretls).
(With 4.0.4, you need to use the CoyoteConnector plugin to enable it).  I've
heard good reports about using it with client-certs, but haven't tried it
myself.

Unfortunately, the documentation is still a little weak. :(  The best place
is the 3.3.1 documentation
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ssl-howto.html. The
translation to the 4.x CoyoteConnector is pretty straight-forward (the SSL
attributes are on the Factory), but AFAIK, nobody has actually written it up
yet.

Wolfgang Stein [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I realize you are also a German resident and
 remember the download of JSSE were differing
 for non-US citizens.
 I assume we are victims of a hidden key escrow
 or Echelon's information gathering efforts :-)

 But, all joking(?) aside:
 This seems to be a known jdk1.4 issue. There are
 some related postings at the developer connection
 forums, e.g.
 http://forum.java.sun.com/thread.jsp?forum=2thread=239231)

 It ends up in the recommendation to use a commercial product
 but also states that SUN's implementation were
 one of the better implementations ...

 So,
 did anybody succeed in using a third party JSSE that works
 with tomcat and sufficient performance? Any suggestions ?


 Thanks in advance,
 Wolfgang


  -Original Message-
  From: Andreas Mohrig [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, September 10, 2002 2:20 PM
  To: 'Tomcat Users List'
  Subject: RE: Tomcat 3.2.4 slow with Jdk1.4 and SSL
 
 
  I'm using Tomcat 4.0.4 with Jdk1.4 (on both Linux-Server and
  Windows NT
  client) and worrying about a quite similar problem. The
  server is extremely
  fast (I'd say the answer takes some milliseconds) when I
  access it with a
  browser (e.g. MS IE 5.0), but it takes about 20 seconds (!)
  when I try a
  request using java code like this:
 
  URL url = new URL(https://myserver/myresource;);
  URLConnection con = url.openConnection();
  BufferedReader reader = new BufferedReader(new
  InputStreamReader(con.getInputStream()));
StringBuffer resultbuffer = new StringBuffer();
  String result = reader.readLine();
  while (result!=null) {
  resultbuffer.append(result);
  resultbuffer.append(\n);
  result = reader.readLine();
  }
  reader.close();
 
  This is true for subsequent requests as well. The content
  consists of about
  100 bytes which should be no problem.
 
  So: yes, I'm experiencing a heavy performance problem. I
  can't say if it is
  a performance decrease, though, since I did not test with
  older Jdk's and
  jsse (perhaps I should...). Any solutions, hints or
  suggestions would be
  very welcome!
 
  greetings
 
  Andreas Mohrig
  -Original Message-
  From: Wolfgang Stein [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, September 10, 2002 12:15 PM
  To: [EMAIL PROTECTED]
  Subject: Tomcat 3.2.4 slow with Jdk1.4 and SSL
 
 
 
  Migrating from Jdk1.3 to Jdk1.4 we encountered a significant
  performance decrease on SSL-communications (server certs) between
  Applets and Tomcat 3.2.4.
 
  Did anybody experience similar performance losses ?
 
  Does this happen because of a low SSL implementation in jdk1.4 ?
  Did anybody successfully provide a faster implementation?
 
 
  We used jdk1.4 on client and server-side.
 
 
 
  Thanks in advance,
  Wolfgang
 
  --
  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]




Configuring Tomcat 3.2.4 for use with a SecurityManager

2002-09-04 Thread defender

All,

  Is it just add the -security option in startup batch file?  And if I
want people can only access the webapps/joe/examples folder which come
from port 8080 and webapps/joe/examples folder which come from port
8443, is it just like showed as below?

 

grant codeBase file:${tomcat.home}/webapps/joe/examples {

  permission java.net.SocketPermission localhost:8080-,listen;

  permission java.util.PropertyPermission *,read;

};

grant codeBase file:${tomcat.home}/webapps/bill/examples {

  permission java.net.SocketPermission localhost:8443-,listen;

  permission java.util.PropertyPermission *,read;

};

 

Thanks!

Regards,

Wilson




Configuring Tomcat 3.2.4 for use with a SecurityManager

2002-09-04 Thread defender

All,

  Is it just add the -security option in startup batch file?  And if I
want people can only access the webapps/joe/examples folder which come
from port 8080 and webapps/joe/examples folder which come from port
8443, is it just like showed as below?

 

grant codeBase file:${tomcat.home}/webapps/joe/examples {

  permission java.net.SocketPermission localhost:8080-,listen;

  permission java.util.PropertyPermission *,read;

};

grant codeBase file:${tomcat.home}/webapps/bill/examples {

  permission java.net.SocketPermission localhost:8443-,listen;

  permission java.util.PropertyPermission *,read;

};

 

Thanks!

Regards,

Wilson




Re: Hardening Tomcat 3.2.4

2002-07-30 Thread Daniel Bruce Lynes

On Thursday 25 July 2002 10:23, [EMAIL PROTECTED] wrote:

 I posted a similar question a while ago and did not receive any
 answer from this list. May be, folks on this list are admins/
 developers/programmers who are bothered mostly about application
 itself and not security. May be there is an overall security
 list where such questions may be posed. Anybody have suggestions
 where questions such as these may be directed?

We are.  But I think a good number of us are probably running UNIX, or some 
variant thereof.

 It is probably a good idea to pay some attention to security.
 A snippet from my access_log (same IP - somebody is curious!)
 --
 [23/Jul/2002:11:49:38 -0800] GET /c/winnt/system32/cmd.exe?/c+dir
 HTTP/1.0 404 648
 [23/Jul/2002:11:49:38 -0800] GET /d/winnt/system32/cmd.exe?/c+dir
 HTTP/1.0 404 648
 [23/Jul/2002:11:49:38 -0800] GET
 /scripts/..%c1%1c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 718
 [23/Jul/2002:11:49:39 -0800] GET

That's a script kiddy looking for nimda, code red, code red 2, or code green.  
To me, it's just a pain in the ass...flooding my bandwidth.  Doesn't pose any 
real threat.  But, there are certain versions of Tomcat 4.xx that may or may 
not be succeptible, and early versions of Apache 1.3.xx/Apache 2.xx for the 
unicode encoded urls, and of course IIS 4.0/5.0 if you're using the indexing 
server.

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




RE: Hardening Tomcat 3.2.4

2002-07-25 Thread Sexton, George

Think about the account you are running it under.

-Original Message-
From: Patel, Rajni M [mailto:[EMAIL PROTECTED]]
Sent: 23 July, 2002 12:17 PM
To: '[EMAIL PROTECTED]'
Subject: Hardening Tomcat 3.2.4
Importance: High


I have tomcat installed and running on a Windows NT 4.0 SP6a box and need to
harden the installation.

The things that I have thought about and I can do is:

1) Change the HTTP port in server.xml file from default value of 8080.
2) Remove the TOMCAT_HOME\examples directory
3) Remove the weapp\admin directory
4) Utilise a Firewall and restrict access to the NT box to IP Domain.

Is there anything else that I could do, like modify the tomcat.policy file,
but I'm a little unsure of what else needs to be done.

Thanks in advance for your help.

Rajni






 This message contains information that may be privileged or confidential
and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for
the person to whom it is addressed. If you are not the intended recipient,
you
are not authorized to read, print, retain, copy, disseminate, distribute, or
use
this message or any part thereof. If you receive this message in error,
please
notify the sender immediately and delete all copies of this message .




--
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: Hardening Tomcat 3.2.4

2002-07-25 Thread mls


I posted a similar question a while ago and did not receive any
answer from this list. May be, folks on this list are admins/
developers/programmers who are bothered mostly about application
itself and not security. May be there is an overall security
list where such questions may be posed. Anybody have suggestions
where questions such as these may be directed?

On a different thread, some relevant info was posted...
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg60278.html

It is probably a good idea to pay some attention to security.
A snippet from my access_log (same IP - somebody is curious!)
--
[23/Jul/2002:11:49:38 -0800] GET /c/winnt/system32/cmd.exe?/c+dir
HTTP/1.0 404 648
[23/Jul/2002:11:49:38 -0800] GET /d/winnt/system32/cmd.exe?/c+dir
HTTP/1.0 404 648
[23/Jul/2002:11:49:38 -0800] GET
/scripts/..%c1%1c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 718
[23/Jul/2002:11:49:39 -0800] GET
/scripts/..%c0%af../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 687
[23/Jul/2002:11:49:39 -0800] GET
/scripts/..%c1%9c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 687
[23/Jul/2002:11:49:39 -0800] GET
/scripts/..%%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 721
[23/Jul/2002:11:49:39 -0800] GET
/scripts/..%%35c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 715
[23/Jul/2002:11:55:24 -0800] GET /c/winnt/system32/cmd.exe?/c+dir
HTTP/1.0 404 648
[23/Jul/2002:11:55:24 -0800] GET /d/winnt/system32/cmd.exe?/c+dir
HTTP/1.0 404 648
[23/Jul/2002:11:55:25 -0800] GET
/scripts/..%c1%1c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 718
[23/Jul/2002:11:55:25 -0800] GET
/scripts/..%c0%af../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 687
[23/Jul/2002:11:55:25 -0800] GET
/scripts/..%c1%9c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 687
[23/Jul/2002:11:55:25 -0800] GET
/scripts/..%%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 721
[23/Jul/2002:11:55:25 -0800] GET
/scripts/..%%35c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 715
--

Sexton, George wrote:
 Think about the account you are running it under.

 -Original Message-
 From: Patel, Rajni M [mailto:[EMAIL PROTECTED]]
 Sent: 23 July, 2002 12:17 PM
 I have tomcat installed and running on a Windows NT 4.0 SP6a box and need to
 harden the installation.
 
 The things that I have thought about and I can do is:
 
 1) Change the HTTP port in server.xml file from default value of 8080.
 2) Remove the TOMCAT_HOME\examples directory
 3) Remove the weapp\admin directory
 4) Utilise a Firewall and restrict access to the NT box to IP Domain.

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




RE: Hardening Tomcat 3.2.4

2002-07-25 Thread Mike Jackson

A firewall is probably the best way to harden tomcat.  Or any web server
for that matter, however for a one good you're going to probably end up
paying a large sum of money.  You could go on the cheaper side and only use
a stateful port blocking firewall, but really to do it right you'll need
a firewall that looks at data being sent to the server and then blocks
on types of data rather than just the port.  That and a good IDS system
of some type, preferably with the ability to automajickally shutdown access
from ip's on the internet when it detects questionable traffic.  Cisco's
IDS will link up to their PIX firewall to do this, but the PIX is only
a stateful port blocking firewall.  You'd need another better firewall to
be sure of blocking everything in a more secure manner.

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

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



I posted a similar question a while ago and did not receive any
answer from this list. May be, folks on this list are admins/
developers/programmers who are bothered mostly about application
itself and not security. May be there is an overall security
list where such questions may be posed. Anybody have suggestions
where questions such as these may be directed?

On a different thread, some relevant info was posted...
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg60278.html

It is probably a good idea to pay some attention to security.
A snippet from my access_log (same IP - somebody is curious!)
--
[23/Jul/2002:11:49:38 -0800] GET /c/winnt/system32/cmd.exe?/c+dir
HTTP/1.0 404 648
[23/Jul/2002:11:49:38 -0800] GET /d/winnt/system32/cmd.exe?/c+dir
HTTP/1.0 404 648
[23/Jul/2002:11:49:38 -0800] GET
/scripts/..%c1%1c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 718
[23/Jul/2002:11:49:39 -0800] GET
/scripts/..%c0%af../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 687
[23/Jul/2002:11:49:39 -0800] GET
/scripts/..%c1%9c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 687
[23/Jul/2002:11:49:39 -0800] GET
/scripts/..%%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 721
[23/Jul/2002:11:49:39 -0800] GET
/scripts/..%%35c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 715
[23/Jul/2002:11:55:24 -0800] GET /c/winnt/system32/cmd.exe?/c+dir
HTTP/1.0 404 648
[23/Jul/2002:11:55:24 -0800] GET /d/winnt/system32/cmd.exe?/c+dir
HTTP/1.0 404 648
[23/Jul/2002:11:55:25 -0800] GET
/scripts/..%c1%1c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 718
[23/Jul/2002:11:55:25 -0800] GET
/scripts/..%c0%af../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 687
[23/Jul/2002:11:55:25 -0800] GET
/scripts/..%c1%9c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 687
[23/Jul/2002:11:55:25 -0800] GET
/scripts/..%%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 721
[23/Jul/2002:11:55:25 -0800] GET
/scripts/..%%35c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 715
--

Sexton, George wrote:
 Think about the account you are running it under.

 -Original Message-
 From: Patel, Rajni M [mailto:[EMAIL PROTECTED]]
 Sent: 23 July, 2002 12:17 PM
 I have tomcat installed and running on a Windows NT 4.0 SP6a box and need
to
 harden the installation.

 The things that I have thought about and I can do is:

 1) Change the HTTP port in server.xml file from default value of 8080.
 2) Remove the TOMCAT_HOME\examples directory
 3) Remove the weapp\admin directory
 4) Utilise a Firewall and restrict access to the NT box to IP Domain.

--
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: Hardening Tomcat 3.2.4

2002-07-25 Thread Mike Jackson

Oh, and then you'd of course want to remove all the webapps that you don't
use.
But that's kinda a no-brainer.

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

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



I posted a similar question a while ago and did not receive any
answer from this list. May be, folks on this list are admins/
developers/programmers who are bothered mostly about application
itself and not security. May be there is an overall security
list where such questions may be posed. Anybody have suggestions
where questions such as these may be directed?

On a different thread, some relevant info was posted...
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg60278.html

It is probably a good idea to pay some attention to security.
A snippet from my access_log (same IP - somebody is curious!)
--
[23/Jul/2002:11:49:38 -0800] GET /c/winnt/system32/cmd.exe?/c+dir
HTTP/1.0 404 648
[23/Jul/2002:11:49:38 -0800] GET /d/winnt/system32/cmd.exe?/c+dir
HTTP/1.0 404 648
[23/Jul/2002:11:49:38 -0800] GET
/scripts/..%c1%1c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 718
[23/Jul/2002:11:49:39 -0800] GET
/scripts/..%c0%af../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 687
[23/Jul/2002:11:49:39 -0800] GET
/scripts/..%c1%9c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 687
[23/Jul/2002:11:49:39 -0800] GET
/scripts/..%%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 721
[23/Jul/2002:11:49:39 -0800] GET
/scripts/..%%35c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 715
[23/Jul/2002:11:55:24 -0800] GET /c/winnt/system32/cmd.exe?/c+dir
HTTP/1.0 404 648
[23/Jul/2002:11:55:24 -0800] GET /d/winnt/system32/cmd.exe?/c+dir
HTTP/1.0 404 648
[23/Jul/2002:11:55:25 -0800] GET
/scripts/..%c1%1c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 718
[23/Jul/2002:11:55:25 -0800] GET
/scripts/..%c0%af../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 687
[23/Jul/2002:11:55:25 -0800] GET
/scripts/..%c1%9c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 687
[23/Jul/2002:11:55:25 -0800] GET
/scripts/..%%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 721
[23/Jul/2002:11:55:25 -0800] GET
/scripts/..%%35c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 715
--

Sexton, George wrote:
 Think about the account you are running it under.

 -Original Message-
 From: Patel, Rajni M [mailto:[EMAIL PROTECTED]]
 Sent: 23 July, 2002 12:17 PM
 I have tomcat installed and running on a Windows NT 4.0 SP6a box and need
to
 harden the installation.

 The things that I have thought about and I can do is:

 1) Change the HTTP port in server.xml file from default value of 8080.
 2) Remove the TOMCAT_HOME\examples directory
 3) Remove the weapp\admin directory
 4) Utilise a Firewall and restrict access to the NT box to IP Domain.

--
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: Hardening Tomcat 3.2.4

2002-07-25 Thread mls

Mike Jackson wrote:
 A firewall is probably the best way to harden tomcat.  Or any web server
 for that matter, however for a one good you're going to probably end up
 paying a large sum of money.  You could go on the cheaper side and only use
 a stateful port blocking firewall, but really to do it right you'll need
 a firewall that looks at data being sent to the server and then blocks
 on types of data rather than just the port.

Is iptables on Linux generally good enough(?), assuming the data
is not all that critical. Other than its basic functions, haven't
really looked at iptables to see whether it can interface with
any IDS...

das

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




RE: Hardening Tomcat 3.2.4

2002-07-25 Thread Turner, John


Is it possible to configure tomcat to listen only on the connector ports,
and not any other port, such as 8080?  Seems to me you could just delete the
HTTP connector from port 8080 and that would make tomcat pretty hard to mess
with.  Any malformed requests at that point would go through apache first,
assuming an apache+connector+tomcat configuration.

John Turner
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 2:01 PM
To: Tomcat Users List
Subject: Re: Hardening Tomcat 3.2.4


Mike Jackson wrote:
 A firewall is probably the best way to harden tomcat.  Or any web server
 for that matter, however for a one good you're going to probably end up
 paying a large sum of money.  You could go on the cheaper side and only
use
 a stateful port blocking firewall, but really to do it right you'll need
 a firewall that looks at data being sent to the server and then blocks
 on types of data rather than just the port.

Is iptables on Linux generally good enough(?), assuming the data
is not all that critical. Other than its basic functions, haven't
really looked at iptables to see whether it can interface with
any IDS...

das

--
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: Hardening Tomcat 3.2.4

2002-07-25 Thread Mike Jackson

The problem is that the webserver (iis is a good example of the problem)
is still vunerable to strange requests.  A firewall which inspects the
contents of the packets can be configured to block access to the web server
based on web apps.  That's really the only way to truely harden a web
server as I see it.

However this doesn't always need to be a true firewall that does the work,
it could be a specilized proxy that does the filtering.  Then the point
of presence is the proxy not the webserver, and you gain the benifit of
caching at the proxy as well.

But you're right, blocking access to ports it generally acceptable when
you're not dealing with particularily sensitive data.

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

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 11:01 AM
To: Tomcat Users List
Subject: Re: Hardening Tomcat 3.2.4


Mike Jackson wrote:
 A firewall is probably the best way to harden tomcat.  Or any web server
 for that matter, however for a one good you're going to probably end up
 paying a large sum of money.  You could go on the cheaper side and only
use
 a stateful port blocking firewall, but really to do it right you'll need
 a firewall that looks at data being sent to the server and then blocks
 on types of data rather than just the port.

Is iptables on Linux generally good enough(?), assuming the data
is not all that critical. Other than its basic functions, haven't
really looked at iptables to see whether it can interface with
any IDS...

das

--
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: Hardening Tomcat 3.2.4

2002-07-25 Thread mls


I run Tomcat standalone. The rationale is that by eliminating
Apache from the equation, another layer of complex code is
eliminated increasing the security. It makes life easier also!
(one less thing to configure)

das

Turner, John wrote:
 Is it possible to configure tomcat to listen only on the connector ports,
 and not any other port, such as 8080?  Seems to me you could just delete the
 HTTP connector from port 8080 and that would make tomcat pretty hard to mess
 with.  Any malformed requests at that point would go through apache first,
 assuming an apache+connector+tomcat configuration.
 
 John Turner
 [EMAIL PROTECTED]
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, July 25, 2002 2:01 PM
 To: Tomcat Users List
 Subject: Re: Hardening Tomcat 3.2.4
 
 Mike Jackson wrote:
  A firewall is probably the best way to harden tomcat.  Or any web server
  for that matter, however for a one good you're going to probably end up
  paying a large sum of money.  You could go on the cheaper side and only
 use
  a stateful port blocking firewall, but really to do it right you'll need
  a firewall that looks at data being sent to the server and then blocks
  on types of data rather than just the port.
 
 Is iptables on Linux generally good enough(?), assuming the data
 is not all that critical. Other than its basic functions, haven't
 really looked at iptables to see whether it can interface with
 any IDS...
 
 das
 
 --
 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: Hardening Tomcat 3.2.4

2002-07-25 Thread Mike Jackson

Whatever web server which is acting as the front end to tomcat is still
vulnerable to strange requests (ie code red and the like), that's what
the higher end firewalls prevent.

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

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 11:02 AM
To: 'Tomcat Users List'
Subject: RE: Hardening Tomcat 3.2.4



Is it possible to configure tomcat to listen only on the connector ports,
and not any other port, such as 8080?  Seems to me you could just delete the
HTTP connector from port 8080 and that would make tomcat pretty hard to mess
with.  Any malformed requests at that point would go through apache first,
assuming an apache+connector+tomcat configuration.

John Turner
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 2:01 PM
To: Tomcat Users List
Subject: Re: Hardening Tomcat 3.2.4


Mike Jackson wrote:
 A firewall is probably the best way to harden tomcat.  Or any web server
 for that matter, however for a one good you're going to probably end up
 paying a large sum of money.  You could go on the cheaper side and only
use
 a stateful port blocking firewall, but really to do it right you'll need
 a firewall that looks at data being sent to the server and then blocks
 on types of data rather than just the port.

Is iptables on Linux generally good enough(?), assuming the data
is not all that critical. Other than its basic functions, haven't
really looked at iptables to see whether it can interface with
any IDS...

das

--
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: Hardening Tomcat 3.2.4

2002-07-25 Thread Turner, John


What's the ramification of tomcat failing?  Can it even fail into a critical
mode?  tomcat doesn't run as root (at least, it shouldn't) and Tomcat itself
is written in Java, with all of the security overhead that that entails.

Tomcat is not a web server per se...that is, it isn't a general purpose
webserver.  So, assuming someone sends a malformed URL to tomcat...so what?
What's the absolute worst that can happen?  It won't fail as root, it
doesn't run as root, and therefore any malicious code would be executed as
tomcat-user, which in my case is a user that can't do much of anything.
That's even assuming that there is a URL condition that would get past the
Java security mechanism.

I'm not saying that you can assume tomcat is invulnerable, I'm just trying
to understand how much effort should be expended hardening tomcat when
it's default configuration is pretty good as is, when used in conjunction
with overall best-practices from a systems administration point of view
(firewalls, logging, etc.).

John Turner
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 2:14 PM
To: Tomcat Users List
Subject: Re: Hardening Tomcat 3.2.4



I run Tomcat standalone. The rationale is that by eliminating
Apache from the equation, another layer of complex code is
eliminated increasing the security. It makes life easier also!
(one less thing to configure)

das

Turner, John wrote:
 Is it possible to configure tomcat to listen only on the connector ports,
 and not any other port, such as 8080?  Seems to me you could just delete
the
 HTTP connector from port 8080 and that would make tomcat pretty hard to
mess
 with.  Any malformed requests at that point would go through apache first,
 assuming an apache+connector+tomcat configuration.
 
 John Turner
 [EMAIL PROTECTED]
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, July 25, 2002 2:01 PM
 To: Tomcat Users List
 Subject: Re: Hardening Tomcat 3.2.4
 
 Mike Jackson wrote:
  A firewall is probably the best way to harden tomcat.  Or any web server
  for that matter, however for a one good you're going to probably end up
  paying a large sum of money.  You could go on the cheaper side and only
 use
  a stateful port blocking firewall, but really to do it right you'll need
  a firewall that looks at data being sent to the server and then blocks
  on types of data rather than just the port.
 
 Is iptables on Linux generally good enough(?), assuming the data
 is not all that critical. Other than its basic functions, haven't
 really looked at iptables to see whether it can interface with
 any IDS...
 
 das
 
 --
 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: Hardening Tomcat 3.2.4

2002-07-25 Thread Turner, John


Yes, I understand that, but I think it's been proven so far that Apache is
less susceptible to things like that.  IIS is another issue, but then,
that's not the topic.  My point was that if tomcat can be configured to only
accept requests from a webserver, the onus for hardening is no longer
tomcat's problem.

John Turner
[EMAIL PROTECTED]


-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 2:12 PM
To: Tomcat Users List
Subject: RE: Hardening Tomcat 3.2.4


Whatever web server which is acting as the front end to tomcat is still
vulnerable to strange requests (ie code red and the like), that's what
the higher end firewalls prevent.

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

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 11:02 AM
To: 'Tomcat Users List'
Subject: RE: Hardening Tomcat 3.2.4



Is it possible to configure tomcat to listen only on the connector ports,
and not any other port, such as 8080?  Seems to me you could just delete the
HTTP connector from port 8080 and that would make tomcat pretty hard to mess
with.  Any malformed requests at that point would go through apache first,
assuming an apache+connector+tomcat configuration.

John Turner
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 2:01 PM
To: Tomcat Users List
Subject: Re: Hardening Tomcat 3.2.4


Mike Jackson wrote:
 A firewall is probably the best way to harden tomcat.  Or any web server
 for that matter, however for a one good you're going to probably end up
 paying a large sum of money.  You could go on the cheaper side and only
use
 a stateful port blocking firewall, but really to do it right you'll need
 a firewall that looks at data being sent to the server and then blocks
 on types of data rather than just the port.

Is iptables on Linux generally good enough(?), assuming the data
is not all that critical. Other than its basic functions, haven't
really looked at iptables to see whether it can interface with
any IDS...

das

--
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]




Hardening Tomcat 3.2.4

2002-07-24 Thread Patel, Rajni M

I have tomcat installed and running on a Windows NT 4.0 SP6a box and need to
harden the installation.

The things that I have thought about and I can do is:

1) Change the HTTP port in server.xml file from default value of 8080.
2) Remove the TOMCAT_HOME\examples directory
3) Remove the weapp\admin directory
4) Utilise a Firewall and restrict access to the NT box to IP Domain.

Is there anything else that I could do, like modify the tomcat.policy file,
but I'm a little unsure of what else needs to be done.

Thanks in advance for your help.

Rajni





 This message contains information that may be privileged or confidential and 
is the property of the Cap Gemini Ernst  Young Group. It is intended only for 
the person to whom it is addressed. If you are not the intended recipient, you 
are not authorized to read, print, retain, copy, disseminate, distribute, or use 
this message or any part thereof. If you receive this message in error, please 
notify the sender immediately and delete all copies of this message .



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




Tomcat 3.2.4 - Loading jar files in the lib Directory

2002-06-18 Thread Kiev Gama

Hello,

I've just subscribed to this list, and I have a question. If anybody could 
help, I would appreciate that.

I am JARring a few .properties archives, and saving them in the 
WEB-INF/lib directory. After the service is restarted the server was 
supposed to pre-load the archives in that directory and make them available 
for the application. It's not working.

Do I have to change any option in the server.xml file or other file? (I've 
already set the reloadable=true in the Context for my application.)

Thanks in advance,


Kiev Gama

_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




tomcat 3.2.4 versus recent one

2002-06-10 Thread Marc Logemann

Hi,

i am dealing with a project on an IBM iSeries (AS/400). There you can use
a pre-installed tomcat 3.2.4 or you can chose to install a recent one of course.
Cause installing a recent one would require some efforts (we speak of more than
one machine in this project), i want to ask if there are fundamental differences
so that its not wise to use 3.2.4 ...

Any comments appreciated.




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




mod_jk, apache 1.3 - tomcat 3.2.4?

2002-05-17 Thread Rich Baldwin

I have set up both tomcat 3.2.4 and apache 1.3.  Both test pages come up
ok.  But... when I try to bring up the tomcat example servlets via the
apache port.  I get the following error:

Forbidden
You don't have permission to access /examples/servlets/index.html on
this server.
Apache/1.3.22 Server at machine.domain.name.gov Port 80

I have added Include tomcat_home/conf/mod_jk.conf.auto to  httpd.conf
where tomcat_home is the actual path.
The JkMount directive is set.  JkMount /examples/servlet/* apj12
There is a copy of mod_jk.so in apache_home/libexec/.  (It built w/o
incident.)
The apj12 connector is uncommented in server.xml, and appears to startup
w/o incident.
I've played around w/ different ports in server.xml file and making the
appropriate changes in the workers.properites and wrappers.properties
files.
Both tomcat and apache logs indicate no problems.

Any ideas other than...

It has been suggested to add a context in the server.xml file which
points to the apache document root (ie. /var/www/examples) this being a
link back to wepapps/examples/.  This hack might even work, but I don't
think that it is supposed to be setup this way.

 Rich


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




RE: mod_jk, apache 1.3 - tomcat 3.2.4?

2002-05-17 Thread Brandon Cruz

What operating system are you on?  If you are on a linux system, you need to
make sure that all the folders are executable from / all the way to
servlet.


Brandon


-Original Message-
From: Rich Baldwin [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 9:27 AM
To: Tomcat Users List
Subject: mod_jk, apache 1.3 - tomcat 3.2.4?


I have set up both tomcat 3.2.4 and apache 1.3.  Both test pages come up
ok.  But... when I try to bring up the tomcat example servlets via the
apache port.  I get the following error:

Forbidden
You don't have permission to access /examples/servlets/index.html on
this server.
Apache/1.3.22 Server at machine.domain.name.gov Port 80

I have added Include tomcat_home/conf/mod_jk.conf.auto to  httpd.conf
where tomcat_home is the actual path.
The JkMount directive is set.  JkMount /examples/servlet/* apj12
There is a copy of mod_jk.so in apache_home/libexec/.  (It built w/o
incident.)
The apj12 connector is uncommented in server.xml, and appears to startup
w/o incident.
I've played around w/ different ports in server.xml file and making the
appropriate changes in the workers.properites and wrappers.properties
files.
Both tomcat and apache logs indicate no problems.

Any ideas other than...

It has been suggested to add a context in the server.xml file which
points to the apache document root (ie. /var/www/examples) this being a
link back to wepapps/examples/.  This hack might even work, but I don't
think that it is supposed to be setup this way.

 Rich


--
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]




  1   2   >