TC 4.02 error.

2001-04-05 Thread GOMEZ Henri

Hi,

Just trying a clean rebuilt of TC 4.0b2 and got :

Using CLASSPATH:
/var/tomcat4/bin/bootstrap.jar:/opt/IBMJava2-13/lib/tools.jar
Using CATALINA_HOME: /var/tomcat4
Starting service Tomcat-Standalone
Apache Tomcat/4.0-b2
Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError:
org/apache/naming/factory/Constants
at org.apache.naming.ResourceRef.clinit(ResourceRef.java)
at
org.apache.catalina.core.StandardContext.createNamingContext(StandardContext
.java:3447)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3098)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253)
at
org.apache.catalina.core.StandardService.start(StandardService.java:353)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:454)
at org.apache.catalina.startup.Catalina.start(Catalina.java:707)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:627)
at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:177)


Here is my TC4 jars layout :

/var/tomcat4/bin/bootstrap.jar
/var/tomcat4/common/lib/jndi.jar
/var/tomcat4/common/lib/naming.jar
/var/tomcat4/common/lib/servlet.jar
/var/tomcat4/jasper/jasper-compiler.jar
/var/tomcat4/jasper/xerces.jar
/var/tomcat4/lib/jasper-runtime.jar
/var/tomcat4/lib/namingfactory.jar
/var/tomcat4/server/lib/catalina.jar
/var/tomcat4/server/lib/jmxri.jar
/var/tomcat4/server/lib/regexp.jar
/var/tomcat4/server/lib/warp.jar
/var/tomcat4/server/lib/xerces.jar

I use the original server.xml.




Re: Fuzzy Math

2001-04-05 Thread Jim Cheesman

At 10:49 PM 4/4/2001, you wrote:
 'Fuzzy math' does *not* occur when:
 a.  running Tomcat 3.2.1 with JDK1.2.2_006 (green_threads);
 b.  on JavaWebServer2.0 running JDK 1.2.2_006 (green *or* native
threads) in the *same* OS environment as Tomcat, or in its own slightly
different Solaris 7 patch level environment.

 I would greatly appreciate if someone could test this JSP on their
system.

 Thanks!


Runs fine on win2000, tomcat 3.2, jdk1.3


Jim




--

   *   Jim Cheesman   *
 Trabajo: [EMAIL PROTECTED] - (34)(91) 724 9200 x 2360
   Personal: [EMAIL PROTECTED] (34) 606 770 244
  Practice safe eating -- always use condiments.
















RE: How to use SVG-Files?

2001-04-05 Thread Edwards, Peter

Add the following to your web.xml file:

!-- Add SVG as a mime type so that browsers can use the correct plug-in
--
mime-mapping
extension
svg
/extension
mime-type
image/svg-xml
/mime-type
/mime-mapping
mime-mapping
extension
svgz
/extension
mime-type
image/svg-xml
/mime-type
/mime-mapping

Pete

-Original Message-
From: Matthias Zumstein [mailto:[EMAIL PROTECTED]]
Sent: 04 April 2001 14:58
To: [EMAIL PROTECTED]
Subject: How to use SVG-Files?


Hello,

I want to display SVG-Files but I only get the CDATA from the SVG-File. I
think I have to set up the web.xml but I don't know if I only have to change
this file or if I need another change?

Thank you

Matthias Zumstein

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net



Https Connector

2001-04-05 Thread Rams

Hi all,
This is the default HttpConnector.

Connector className="org.apache.tomcat.service.PoolTcpConnector"
 Parameter name="handler"
 
value="org.apache.tomcat.service.http.HttpConnectionHandler"/
 Parameter name="port"
 value="8080"/
/Connector

ls there any HttpsConnector that comes with Tomcat?

-Rams


 winmail.dat


Creating new session

2001-04-05 Thread Zsolt Koppany

Hi,


I understand that I can create a new session if that does not already
exist with request.getSession(true) but how can I create a completely
new session? My application has to support users that might need several
independent sessions for each browser window.

Zsolt

-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017



tomcat 3.3-M2 /admin/contextAdmin/contextList.jsp failure

2001-04-05 Thread Peter B. West

I have been trying to set up a JBDCRealm using postgresql 7.0.2 under redhat
linux with tomcat 3.3-M2.  I got the authentication to work, but ran into the
following problem when trying to access the Context List.

Error: 500
Location: /admin/contextAdmin/contextList.jsp
Internal Servlet Error:

java.lang.NoClassDefFoundError: org/apache/tomcat/util/log/Logger
at contextAdmin.contextList_1._jspService(contextList_1.java:67)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)
at org.apache.tomcat.core.Handler.service(Handler.java:223)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:788)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:701)
at
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:162)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:424)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:497)
at java.lang.Thread.run(Thread.java:498)

Looking in container/tomcat_util.jar, I see
org/apache/tomcat/util/qlog/Logger.class, but no log/Logger.class.  Is this the
problem?  If so, how do I fix it (being new to java)?

Peter
-- 
Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"



Sending e-mail

2001-04-05 Thread Garry De Toffoli



Someone know a java-class that can send 
e-mail?

Thank you.


Re: TC 4.02 error.

2001-04-05 Thread Remy Maucherat

- Original Message -
From: "GOMEZ Henri" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 04, 2001 11:45 PM
Subject: TC 4.02 error.


 Hi,

 Just trying a clean rebuilt of TC 4.0b2 and got :

 Using CLASSPATH:
 /var/tomcat4/bin/bootstrap.jar:/opt/IBMJava2-13/lib/tools.jar
 Using CATALINA_HOME: /var/tomcat4
 Starting service Tomcat-Standalone
 Apache Tomcat/4.0-b2
 Exception during startup processing
 java.lang.reflect.InvocationTargetException:
java.lang.NoClassDefFoundError:
 org/apache/naming/factory/Constants
 at org.apache.naming.ResourceRef.clinit(ResourceRef.java)
 at

org.apache.catalina.core.StandardContext.createNamingContext(StandardContext
 .java:3447)
 at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:3098)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059)
 at
 org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253)
 at
 org.apache.catalina.core.StandardService.start(StandardService.java:353)
 at
 org.apache.catalina.core.StandardServer.start(StandardServer.java:454)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:707)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:627)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:177)


 Here is my TC4 jars layout :

 /var/tomcat4/bin/bootstrap.jar
 /var/tomcat4/common/lib/jndi.jar
 /var/tomcat4/common/lib/naming.jar
 /var/tomcat4/common/lib/servlet.jar
 /var/tomcat4/jasper/jasper-compiler.jar
 /var/tomcat4/jasper/xerces.jar
 /var/tomcat4/lib/jasper-runtime.jar
 /var/tomcat4/lib/namingfactory.jar
 /var/tomcat4/server/lib/catalina.jar
 /var/tomcat4/server/lib/jmxri.jar
 /var/tomcat4/server/lib/regexp.jar
 /var/tomcat4/server/lib/warp.jar
 /var/tomcat4/server/lib/xerces.jar

 I use the original server.xml.

I checked and the Constants class which fails to load is in
namingfactory.jar. ResourceRef is in naming.jar.
So something is wrong with the packaging. Moving namingfactory.jar over to
common/lib will probably fix the problem. I can't figure out why my setup is
working fine, though ...

Remy




RE: ISAPI filter question

2001-04-05 Thread Ricardo Gladwell

The ISAPI filter is not responsible for starting Tomcat: it merely handles
redirecting requests from IIS to Tomcat. You can configure your machine to
start Tomcat automatically:

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/NT-Service-howto.htm
l

And you can even configure Tomcat to start in the same service as your web
server:

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/in-process-howto.htm
l

Most of this documentation should be in the Tomcat standard download.
Yours...

--
Ricardo Gladwell
UBQT Media PLC
Mobile: (07779) 841 444

 -Original Message-
 From: Borislav Iordanov [mailto:[EMAIL PROTECTED]]
 Sent: 05 April 2001 02:49
 To: Tomcat User List
 Subject: ISAPI filter question


 Hi,

 I've used tomcat for a while, starting it from the command line. Now, I've
 configured the ISAPI filter for IIS 5.0 under Windoz 2000 Professional and
 it works fine also. Except, I'm wondering why do I have to start
 tomcat from
 the shell as usual? Why doesn't the ISAPI filter start it? What are all
 those configuration variables (classpaths, tomcat home directory) in
 'workers.properties' used for, if the filter seems to be
 communicating with
 tomcat through TCP/IP (on the port 8007 set for the worker)? Maybe I'm
 missing some configuration variable that'll make the filter start tomcat
 automatically...

 Thanks,
 Borislav





Re: Sending e-mail

2001-04-05 Thread Andy C



Use Java Mail library from sun See:

http://www.javasoft.com/products/javamail/index.html

Andy C


  - Original Message - 
  From: 
  Garry De Toffoli 
  
  To: [EMAIL PROTECTED] 
  Sent: Thursday, April 05, 2001 10:25 
  AM
  Subject: Sending e-mail
  
  Someone know a java-class that can send 
  e-mail?
  
  Thank you.


RE: Sending e-mail

2001-04-05 Thread Michaël Bellefroid



you 
need to have javamail in your classpath

  -Original Message-From: Garry De Toffoli 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 05, 2001 11:25 
  AMTo: [EMAIL PROTECTED]Subject: Sending 
  e-mail
  Someone know a java-class that can send 
  e-mail?
  
  Thank you.
 SendEmail.java


RE: tomcat 3.3-M2 /admin/contextAdmin/contextList.jsp failure

2001-04-05 Thread Ignacio J. Ortega

You need to set the trusted="true" attribute in the admin
context..$TOMCAT_HOME$/conf/apps-admin.xml file..or start tomcat with
the parameter -enableAdmin ( this does the same thing , change the
trusted attribute of the admin context ) 

DOnt forget to change the passwords of the admin  root user, you can
found this to passwords in the files
$TOMCAT_HOME$/conf/users/admin-users.xml  global-users.xml ( same dir )
respectively..

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En
 nombre de Peter B. West
 Enviado el: jueves 5 de abril de 2001 11:18
 Para: [EMAIL PROTECTED]
 Asunto: tomcat 3.3-M2 /admin/contextAdmin/contextList.jsp failure
 
 
 I have been trying to set up a JBDCRealm using postgresql 
 7.0.2 under redhat
 linux with tomcat 3.3-M2.  I got the authentication to work, 
 but ran into the
 following problem when trying to access the Context List.
 
 Error: 500
 Location: /admin/contextAdmin/contextList.jsp
 Internal Servlet Error:
 
 java.lang.NoClassDefFoundError: org/apache/tomcat/util/log/Logger
   at contextAdmin.contextList_1._jspService(contextList_1.java:67)
   at 
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java)
   at 
 org.apache.tomcat.facade.ServletHandler.doService(ServletHandl
er.java:500)
   at org.apache.tomcat.core.Handler.service(Handler.java:223)
   at 
 org.apache.tomcat.facade.ServletHandler.service(ServletHandler
.java:448)
   at
 org.apache.tomcat.core.ContextManager.internalService(ContextM
anager.java:788)
   at 
 org.apache.tomcat.core.ContextManager.service(ContextManager.java:701)
   at
 org.apache.tomcat.modules.server.Ajp13Interceptor.processConne
 ction(Ajp13Interceptor.java:162)
   at 
 org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
nt.java:424)
   at
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:497)
   at java.lang.Thread.run(Thread.java:498)
 
 Looking in container/tomcat_util.jar, I see
 org/apache/tomcat/util/qlog/Logger.class, but no 
 log/Logger.class.  Is this the
 problem?  If so, how do I fix it (being new to java)?
 
 Peter
 -- 
 Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
 "Lord, to whom shall we go?"
 



mod_jk internal server error

2001-04-05 Thread Florian Richter





Hi,
maybe somebody can help me, my tomcat works fine at 

port 8080 but when I use it with apache (mod_jk) I 
get an internal server Error. The CLASSPATH and PATH Variable is properly set. 


Here is the Error message from the 
mod_jk.log:
[jk_uri_worker_map.c (344)]: Into 
jk_uri_worker_map_t::map_uri_to_worker[jk_uri_worker_map.c (406)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a match ajp12[jk_worker.c 
(123)]: Into wc_get_worker_for_name ajp12[jk_worker.c (127)]: 
wc_get_worker_for_name, done found a worker[jk_ajp12_worker.c (223)]: 
Into jk_worker_t::get_endpoint[jk_ajp12_worker.c (121)]: Into 
jk_endpoint_t::service[jk_connect.c (108)]: Into 
jk_open_socket[jk_connect.c (115)]: jk_open_socket, try to connect socket = 
6[jk_connect.c (124)]: jk_open_socket, after connect ret = 
-1[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 
101[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 
-1[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = 
-1[jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done

thanks,
Florian


Re: tomcat 3.3-M2 /admin/contextAdmin/contextList.jsp failure

2001-04-05 Thread Peter B. West

Ignacio,

This is what I have in app-admin.xml:
?xml version="1.0" encoding="ISO-8859-1"?
webapps
!-- Special rules for the admin webapplication --

!-- Change "trusted" to true in order to run the admin --
!-- Removed SimpleRealm for testing with JBDCRealm
SimpleRealm filename="conf/users/admin-users.xml" /
  --
Context path="/admin" 
 docBase="webapps/admin" 
 reloadable="true" 
 trusted="true"  
/Context
/webapps

As I said, the authentication seems to be working.  Before I discovered
that I needed a non-null connectionPassword in the JDBCRealm details,
the authentication would just fail, and throw up the user/password
dialog again.  This seems to be a downstream problem.

Peter


"Ignacio J. Ortega" wrote:
 
 You need to set the trusted="true" attribute in the admin
 context..$TOMCAT_HOME$/conf/apps-admin.xml file..or start tomcat with
 the parameter -enableAdmin ( this does the same thing , change the
 trusted attribute of the admin context )
 
 DOnt forget to change the passwords of the admin  root user, you can
 found this to passwords in the files
 $TOMCAT_HOME$/conf/users/admin-users.xml  global-users.xml ( same dir )
 respectively..
 
 Saludos ,
 Ignacio J. Ortega
 
  -Mensaje original-
  De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En
  nombre de Peter B. West
  Enviado el: jueves 5 de abril de 2001 11:18
  Para: [EMAIL PROTECTED]
  Asunto: tomcat 3.3-M2 /admin/contextAdmin/contextList.jsp failure
 
 
  I have been trying to set up a JBDCRealm using postgresql
  7.0.2 under redhat
  linux with tomcat 3.3-M2.  I got the authentication to work,
  but ran into the
  following problem when trying to access the Context List.
 
  Error: 500
  Location: /admin/contextAdmin/contextList.jsp
  Internal Servlet Error:
 
  java.lang.NoClassDefFoundError: org/apache/tomcat/util/log/Logger
at contextAdmin.contextList_1._jspService(contextList_1.java:67)
at
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
  org.apache.tomcat.facade.ServletHandler.doService(ServletHandl
 er.java:500)
at org.apache.tomcat.core.Handler.service(Handler.java:223)
at
  org.apache.tomcat.facade.ServletHandler.service(ServletHandler
 .java:448)
at
  org.apache.tomcat.core.ContextManager.internalService(ContextM
 anager.java:788)
at
  org.apache.tomcat.core.ContextManager.service(ContextManager.java:701)
at
  org.apache.tomcat.modules.server.Ajp13Interceptor.processConne
  ction(Ajp13Interceptor.java:162)
at
  org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
 nt.java:424)
at
  org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
 ThreadPool.java:497)
at java.lang.Thread.run(Thread.java:498)
 
  Looking in container/tomcat_util.jar, I see
  org/apache/tomcat/util/qlog/Logger.class, but no
  log/Logger.class.  Is this the
  problem?  If so, how do I fix it (being new to java)?
 
  Peter
  --
  Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
  "Lord, to whom shall we go?"
 

-- 
Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"



Re: Tomcat equivalent of JServ's LogWriter?

2001-04-05 Thread Ed Gomolka

On Wednesday 04 April 2001 20:23, Chris Bailey wrote:
 Is there an equivalent to Apache JServ's LogWriter
 (org.apache.java.io.LogWriter) facility in Tomcat?
I'm not familiar with LogWriter.
Tomcat supports logging as described in the servlet API.
(In other words, the ServletContext log methods.)
If you need a more comprehensive approach to logging, 
check out the log4j project on the Apache Jakarta site. 
A lot of people are using it with Tomcat.
I haven't tried it yet personally... it's on my todo list.

Ed
-- 

Ed Gomolka
([EMAIL PROTECTED])



Certificate based client authentication with standalone tomcat...

2001-04-05 Thread Anindya Saha

I have tried to implement client authentication using certificates on a
standalone tomcat server. I have made all the manadated steps (like changing
the server.xml file and loading the certificates on server and client).
However, what I end up is an empty list of certificates on IE and with an
error message (saying I have no personal certificates) on Netscape. The
various searches on the mailing list and else where r also not helpful.

I am using tomcat release 3.2. To complicate matters I see the following in
the tomcat 3.2 release notes:

***
DIGEST authentication and HTTPS client authentication (i.e. SSL) are not
supported in this release.
***

Then what's the point of the change in the server.xml file.

Please let me know your thoughts/solutions.

Regards,
Anindya





RE: Certificate based client authentication with standalone tomcat...

2001-04-05 Thread Rams

hi saha,
do u have both ssl server,client certs stored in the browser?
once u have no client cert, nothing is shown in the personal settings.

--Rams

-Original Message-
From: Anindya Saha [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 4:44 PM
To: [EMAIL PROTECTED]
Subject: Certificate based client authentication with standalone
tomcat...


I have tried to implement client authentication using certificates on a
standalone tomcat server. I have made all the manadated steps (like changing
the server.xml file and loading the certificates on server and client).
However, what I end up is an empty list of certificates on IE and with an
error message (saying I have no personal certificates) on Netscape. The
various searches on the mailing list and else where r also not helpful.

I am using tomcat release 3.2. To complicate matters I see the following in
the tomcat 3.2 release notes:

***
DIGEST authentication and HTTPS client authentication (i.e. SSL) are not
supported in this release.
***

Then what's the point of the change in the server.xml file.

Please let me know your thoughts/solutions.

Regards,
Anindya




RE: Creating new session

2001-04-05 Thread Michael Wentzel

 I understand that I can create a new session if that does not already
 exist with request.getSession(true) but how can I create a completely
 new session? My application has to support users that might 
 need several
 independent sessions for each browser window.

I don't know of any way to have separate sessions for browser windows
in the same client thread pool(by going to File menu - New - Window).  
Each time a new session is created it will be associated with all browsers
in that client thread pool.  If the user double clicks their browser
desktop or executes their browser executable in some way, shape or form
a separate session will automatically be created for that new browser
instance(i.e. start a browser, go to the webapp, start another window by
clicking my desktop IE icon, go to the webapp in the new window...).



---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
mailto:[EMAIL PROTECTED]

- Punisher of those who cannot spell dumb!



EJB Connection Pool in Tomcat

2001-04-05 Thread Christian Bjørnbak

Hi

Does anyone know of a EJB Connection Pool to used in Tomcat?

/Christian



Servlet Exception against

2001-04-05 Thread flelievre . cs

Hi all, I'm a new tomcat user  and when I want to open a JSP, I have this
error :
I use Tomcat 4.0 et JDK 1.2.1.

A Servlet Exception Has Occurred
org.apache.jasper.JasperException: Unable to compile class for JSPerror:
Can't write:
..\work\localhost\Project\Datacapture_0005fProject\_0002fDatacapture_0005fPr
oject_0002fModification_0005fSimple_0005fDatacapture_0005fRequest_0002ejspMo
dification_0005fSimple_0005fDatacapture_0005fRequest_jsp_0.class
1 error

at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
at
org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:478)
at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:449)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:159)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:171)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:328)
at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:215)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:251)
at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:196)
at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
at org.apache.catalina.core.StandardContext.invoke(Compiled Code)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161
)
at
org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
at org.apache.catalina.valves.AccessLogValve.invoke(Compiled Code)
at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:159)
at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
at org.apache.catalina.connector.http.HttpProcessor.process(Compiled
Code)
at org.apache.catalina.connector.http.HttpProcessor.run(Compiled
Code)
at java.lang.Thread.run(Thread.java:479)


Code of the page :

HTML
HEAD
  TITLEModification Simple Datacapture Request/TITLE
/HEAD
BODY bgcolor="#DE"
P align=center
BFONT size="+3" face="Arial"Modification Simple Datacapture
Request/FONT/B
P align=center
BR
BR
FORM name="SDP" action="" method="post"
  TABLE border=0 cellspacing=0 cellpadding=0
TR
  TD bgcolor="#FFD339"FONT size=2 face="Verdana, Arial, Helvetica,
sans-serif"
color="#003399"BDatacapture Specifications/B/FONT/TD
  TD bgcolor="#FFD339"nbsp;/TD
  TD bgcolor="#FFD339"nbsp;/TD
/TR
TR
  TD bgcolor="#F9F1BF"nbsp;/TD
  TD bgcolor="#F9F1BF"nbsp;/TD
  TD bgcolor="#F9F1BF"nbsp;/TD
/TR
TR
  TD bgcolor="#F9F1BF" FONT size=2 face="Verdana, Arial, Helvetica,
sans-serif"
color="#003399"Reference:nbsp;/FONT
SELECT name="reference"
onchange="top.main.location.href='Modification_Simple_Datacapture_Request_Sp
ecification.jsp';"
OPTION value=""Select a reference/option
OPTION value=""14-MAR-1801B_NTP/option
OPTION value=""10-MAR-1801A_DTP/option
OPTION value=""17-MAR-1801B_RBS/option
/SELECT/TD
TD bgcolor="#F9F1BF"nbsp;/TD
  TD bgcolor="#F9F1BF"nbsp;/TD
/TR
TR
  TD bgcolor="#F9F1BF"nbsp;/TD
  TD bgcolor="#F9F1BF"nbsp;/TD
  TD bgcolor="#F9F1BF"nbsp;/TD
/TR
TR
  TD bgcolor="#F9F1BF"INPUT type="button" name="BACK" value="BACK"
onclick="top.main.location.href='trame.jsp';"/TD
  TD bgcolor="#F9F1BF"nbsp;/TD
  TD bgcolor="#F9F1BF"nbsp;/TD
/TR
  /TABLE
/FORM
/BODY/HTML

Can you help me, It's very Urgent. Thank you for your help.

 Frdric LELIEVRE
 TTE -  (BA / F04 C024)
 
 *   +352-44992--2485
 * [EMAIL PROTECTED]  
 


Visit us at http://www.clearstream.com   
Check out current job vacancies at http://www.clearstream.com/public/english/e_vacs.htm
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does not
accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally 
privileged. It is
intended solely for the addressee. If you are not the intended recipient, any 
disclosure,
copying, distribution or any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are those of the
individual sender, except where the sender specifically states them to be the views of
Clearstream International 

RE: Servlet Exception against

2001-04-05 Thread Alexander Jesse

Hi,

looks as if your tomcat has no write-permission on 
..\work\localhost\Project\Datacapture_0005fProject\

Alexander Jesse

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 05, 2001 2:54 PM
 To: [EMAIL PROTECTED]
 Subject: Servlet Exception against
 Importance: High
 Sensitivity: Confidential
 
 
 Hi all, I'm a new tomcat user  and when I want to open a JSP, 
 I have this
 error :
 I use Tomcat 4.0 et JDK 1.2.1.
 
 A Servlet Exception Has Occurred
 org.apache.jasper.JasperException: Unable to compile class 
 for JSPerror:
 Can't write:
 ..\work\localhost\Project\Datacapture_0005fProject\_0002fDatac
 apture_0005fPr
 oject_0002fModification_0005fSimple_0005fDatacapture_0005fRequ
 est_0002ejspMo
 dification_0005fSimple_0005fDatacapture_0005fRequest_jsp_0.class
 1 error
 
   at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
   at
 org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:478)
   at
 org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader1
 2.java:146)
   at 
 org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:449)
   at
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfN
 ecessary(JspSe
 rvlet.java:159)
   at
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
 (JspServlet.ja
 va:171)
   at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
 .java:328)
   at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
 cationFilterCh
 ain.java:215)
   at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
 rapperValve.ja
 va:251)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at
 org.apache.catalina.core.StandardContextValve.invoke(StandardC
 ontextValve.ja
 va:196)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at 
 org.apache.catalina.core.StandardContext.invoke(Compiled Code)
   at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHost
 Valve.java:161
 )
   at
 org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
   at 
 org.apache.catalina.valves.AccessLogValve.invoke(Compiled Code)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
 gineValve.java
 :159)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at 
 org.apache.catalina.connector.http.HttpProcessor.process(Compiled
 Code)
   at org.apache.catalina.connector.http.HttpProcessor.run(Compiled
 Code)
   at java.lang.Thread.run(Thread.java:479)
 
 
 Code of the page :
 
 HTML
 HEAD
   TITLEModification Simple Datacapture Request/TITLE
 /HEAD
 BODY bgcolor="#DE"
 P align=center
 BFONT size="+3" face="Arial"Modification Simple Datacapture
 Request/FONT/B
 P align=center
 BR
 BR
 FORM name="SDP" action="" method="post"
   TABLE border=0 cellspacing=0 cellpadding=0
 TR
   TD bgcolor="#FFD339"FONT size=2 face="Verdana, 
 Arial, Helvetica,
 sans-serif"
 color="#003399"BDatacapture 
 Specifications/B/FONT/TD
   TD bgcolor="#FFD339"nbsp;/TD
   TD bgcolor="#FFD339"nbsp;/TD
 /TR
 TR
   TD bgcolor="#F9F1BF"nbsp;/TD
   TD bgcolor="#F9F1BF"nbsp;/TD
   TD bgcolor="#F9F1BF"nbsp;/TD
 /TR
 TR
   TD bgcolor="#F9F1BF" FONT size=2 face="Verdana, 
 Arial, Helvetica,
 sans-serif"
 color="#003399"Reference:nbsp;/FONT
 SELECT name="reference"
 onchange="top.main.location.href='Modification_Simple_Datacapt
 ure_Request_Sp
 ecification.jsp';"
 OPTION value=""Select a reference/option
 OPTION value=""14-MAR-1801B_NTP/option
 OPTION value=""10-MAR-1801A_DTP/option
 OPTION value=""17-MAR-1801B_RBS/option
 /SELECT/TD
 TD bgcolor="#F9F1BF"nbsp;/TD
   TD bgcolor="#F9F1BF"nbsp;/TD
 /TR
 TR
   TD bgcolor="#F9F1BF"nbsp;/TD
   TD bgcolor="#F9F1BF"nbsp;/TD
   TD bgcolor="#F9F1BF"nbsp;/TD
 /TR
 TR
   TD bgcolor="#F9F1BF"INPUT type="button" name="BACK" 
 value="BACK"
 onclick="top.main.location.href='trame.jsp';"/TD
   TD bgcolor="#F9F1BF"nbsp;/TD
   TD bgcolor="#F9F1BF"nbsp;/TD
 /TR
   /TABLE
 /FORM
 /BODY/HTML
 
 Can you help me, It's very Urgent. Thank you for your help.
 
  Frdric LELIEVRE
  TTE -  (BA / F04 C024)
  
  *   +352-44992--2485
  * [EMAIL PROTECTED]  
  
 
 
 Visit us at http://www.clearstream.com   
 Check out current job vacancies at 
http://www.clearstream.com/public/english/e_vacs.htm
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does not
accept legal responsibility for the contents of this 

A Simple question to the configuration of tomcat

2001-04-05 Thread TOPO graphics GmbH

Hello,

since several weeks I am testing tomcat as a Servlet Engine with great
success. I use Win98 SE2 with PWS.
Now I have a simple problem (I think):

What I have to do (in the configuration files) when I want to start my
servlets with the URL:

http://localhost/servlet/TestServlet

and not with a WEPAPP-Directory like
http://localhost/example/servlet/TestServlet

Which settings I have to do in the configuration-files and in which
directory I have to put my Servlets ?

Thanks a lot for your answer

With best regards

M. Thorand

TOPO graphics
Geographische Informationssysteme GmbH

EMail:  [EMAIL PROTECTED]





Re: tomcat in comb. with apache randomly rejecting requests

2001-04-05 Thread Lyle H. Ward

Not that it is any help, but! I use IE over the net to several secure sites
(mostly financial) and see this same behavior. I think it is in the IE code
and outside of maybe obtaining the IE source, there isn't any cure. 

At 08:11 PM 4/4/2001 -0400, you wrote:
looks like no-one wants to tackle this question...
anyway, does anyone know any good consultants that work with jakarta-tomcat and
apache - where additional help (even for a fee) could be asked.

Thank you.
  -Original Message-
  From: Kresimir (Binsco) [EMAIL PROTECTED]
  To: [EMAIL PROTECTED] [EMAIL PROTECTED]
  Date: Wednesday, April 04, 2001 2:18 PM
  Subject: tomcat in comb. with apache randomly rejecting requests


  Hi,

  I have already posted this quesion, but maybe I have not given enough detail.
  Please help as this is getting very frustrating.

  Ok, this is the problem briefly:

  Very randomly when we try to submit the request to tomcat (that is
working with
  apache) we get the error message from the browser: "This page cannot be
accesses... etc..."
  If we try to re-submit the request just few seconds after, clicking the
same submit
  button ... it will work.
  Sometimes it will work first time too. Actually it will reject request
maybe one out of
  three times, the slower the connection (I think) the more likely
rejection is.

  Ok, these are the details.

  The application is a shopping cart and when user is submitting items to
the cart, there is no
  problems. In this case we submit to regular http (not secure), and in the
request there
  is only couple of values.
  After that, there is a page with the credit card and order information
with about 20 or so
  fields, now this is https protocol we submit to. This is when the problem
occurs, this
  page with 20 or so values, and using https will reject randomly. If you
try to submit again once
  you were rejected, it will go through...
  This does not happen with netscape at ALL, but with Internet Explorer only.
  The .jsp that request is submitted to reads those 20 properties into the
bean, using
  property *

  Also, if we run tomcat only, locally (without apache), so if we submit to
localhost:8080,
  this will not happen. This happens only when we submit over the net using
apache,
  but then again we do not use https when using localhost.

  Please help, any info is EXTREMELY appreciate as we've been poking around for
  weeks now. If you need more information or the url to the actual
application please let us
  know.

  Thank you.
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
HTMLHEAD
META http-equiv=Content-Type content="text/html; charset=windows-1252"
META content="MSHTML 5.50.4522.1800" name=GENERATOR/HEAD
BODY bgColor=#ff
DIVFONT size=2looks like no-one wants to tackle this 
question.../FONT/DIV
DIVFONT size=2anyway, does anyone know any good consultants that work with 
jakarta-tomcat and/FONT/DIV
DIVFONT size=2apache - where additional help (even for a fee) could be 
asked./FONT/DIV
DIVFONT size=2/FONTnbsp;/DIV
DIVFONT size=2Thank you./FONT/DIV
BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #00 2px solid;
MARGIN-RIGHT: 0px"
  DIVFONT face=Arial size=2B-Original Message-/BBRBFrom: 
  /BKresimir (Binsco) lt;A 
  href="mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]/Agt;BRBTo: /BA 

href="mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]/A 
  lt;A 

href="mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]
/Agt;BRBDate: 
  /BWednesday, April 04, 2001 2:18 PMBRBSubject: /Btomcat in comb.
with 
  apache randomly rejecting requestsBRBR/DIV/FONT
  DIV
  DIVFONT size=2Hi,/FONT/DIV
  DIVFONT size=2/FONTnbsp;/DIV
  DIVFONT size=2I have already posted this quesion, but maybe I have not 
  given enough detail./FONT/DIV
  DIVFONT size=2Please help as this is getting very 
frustrating./FONT/DIV
  DIVFONT size=2/FONTnbsp;/DIV
  DIVFONT size=2Ok, this is the problem briefly:/FONT/DIV
  DIVFONT size=2/FONTnbsp;/DIV
  DIVFONT size=2Very randomly when we try to submit the request to tomcat 
  (that is working with/FONT/DIV
  DIVFONT size=2apache) we get the error message from the browser: "This 
  page cannot be accesses... etc..."/FONT/DIV
  DIVFONT size=2If we try to re-submit the request just few seconds after, 
  clicking the same submit/FONT/DIV
  DIVFONT size=2button ... it will work./FONT/DIV
  DIVFONT size=2Sometimes it will work first time too. Actually it will 
  reject request maybe one out of/FONT/DIV
  DIVFONT size=2three times, the slower the connection (I think) the more 
  likely rejection is./FONT/DIV
  DIVFONT size=2/FONTnbsp;/DIV
  DIVFONT size=2Ok, these are the details./FONT/DIV
  DIVFONT size=2/FONTnbsp;/DIV
  DIVFONT size=2The application is a shopping cart and when user is 
  submitting items to the cart, there is no/FONT/DIV
  DIVFONT size=2problems. In this case we submit to regular http (not 
  secure), and in the request there/FONT/DIV
  DIVFONT size=2is only couple of values./FONT/DIV
  DIVFONT size=2After that, 

Need job scheduling component

2001-04-05 Thread Jack Li

Hello,

We need a component for scheduling jobs because some jobs take a long time.
The jobs have assigned priorities. We run tomcat 3.2.1 with IIS 5.0 on
windows 2000. Will you point me where to find such components?

Thanks,
Jack Li




Error 500: Internal servlet error

2001-04-05 Thread white_power


Hello everybody !

I'm an absolute beginner in using tomcat, and I have a little (?) problem. 
The situation is:

I'm using RedHat linux + jdk1.3 + tomcat3.2.1. I compiled a
simple servlet to the TOMCAT_HOME/classes/session/WEB-INF/classes
directory, named ServletSession.class. The web.xml is the following:


...
web-app
servlet
servlet-nameServletSession/servlet-name
servlet-classServletSession/servlet-class
/servlet
session-config
session-timeout
5
/session-timeout
/session-config
web-app

In the server.xml there is a context entry:

...
Context path="/session" docBase="classes/session"
/Context
...

When I type the http://localhost:8080/session/servlet/ServletSession URL I
always get this error:

Error: 500

Location: /session/servlet/ServletSession
Internal Servlet Error:
java.lang.NullPointerException 
at java.lang.ClassLoader.resolveClass0(Native Method)
at java.lang.ClassLoader.resolveClass(ClassLoader.java:588)
at
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:430)
at
org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(AdaptiveServletLoader.java:174)
at
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:265)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
at org.apache.tomcat.core.Handler.service(Handler.java:254)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

I tried to solve this problem, but now I haven't any idea. 

Please help me, if you can.

thanx: Hajdu Erno.




RE: Servlet Exception against

2001-04-05 Thread Benoît Jacquemont

 Hi all, I'm a new tomcat user  and when I want to open a JSP,
 I have this
 error :
 I use Tomcat 4.0 et JDK 1.2.1.

First thing, you should check if the directory in which Tomcat is installed
is writable for the user you use to start tomcat. Indeed, Tomcat converts
JSP pages into Servlets within a special directory ('work') in order to run
the generated servlet. If Tomcat cannot write a file in this directory, it
cannot execute your JSP pages...

By the way, are you working at Clearstream Luxembourg ?

Benot

 A Servlet Exception Has Occurred
 org.apache.jasper.JasperException: Unable to compile class
 for JSPerror:
 Can't write:
 ..\work\localhost\Project\Datacapture_0005fProject\_0002fDatac
 apture_0005fPr
 oject_0002fModification_0005fSimple_0005fDatacapture_0005fRequ
 est_0002ejspMo
 dification_0005fSimple_0005fDatacapture_0005fRequest_jsp_0.class
 1 error

   at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
   at
 org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:478)
   at
 org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader1
 2.java:146)
   at
 org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:449)
   at
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfN
 ecessary(JspSe
 rvlet.java:159)
   at
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
 (JspServlet.ja
 va:171)
   at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
 .java:328)
   at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
 cationFilterCh
 ain.java:215)
   at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
 rapperValve.ja
 va:251)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at
 org.apache.catalina.core.StandardContextValve.invoke(StandardC
 ontextValve.ja
 va:196)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at
 org.apache.catalina.core.StandardContext.invoke(Compiled Code)
   at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHost
 Valve.java:161
 )
   at
 org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
   at
 org.apache.catalina.valves.AccessLogValve.invoke(Compiled Code)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
 gineValve.java
 :159)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at
 org.apache.catalina.connector.http.HttpProcessor.process(Compiled
 Code)
   at org.apache.catalina.connector.http.HttpProcessor.run(Compiled
 Code)
   at java.lang.Thread.run(Thread.java:479)


 Code of the page :

 HTML
 HEAD
   TITLEModification Simple Datacapture Request/TITLE
 /HEAD
 BODY bgcolor="#DE"
 P align=center
 BFONT size="+3" face="Arial"Modification Simple Datacapture
 Request/FONT/B
 P align=center
 BR
 BR
 FORM name="SDP" action="" method="post"
   TABLE border=0 cellspacing=0 cellpadding=0
 TR
   TD bgcolor="#FFD339"FONT size=2 face="Verdana,
 Arial, Helvetica,
 sans-serif"
 color="#003399"BDatacapture
 Specifications/B/FONT/TD
   TD bgcolor="#FFD339"nbsp;/TD
   TD bgcolor="#FFD339"nbsp;/TD
 /TR
 TR
   TD bgcolor="#F9F1BF"nbsp;/TD
   TD bgcolor="#F9F1BF"nbsp;/TD
   TD bgcolor="#F9F1BF"nbsp;/TD
 /TR
 TR
   TD bgcolor="#F9F1BF" FONT size=2 face="Verdana,
 Arial, Helvetica,
 sans-serif"
 color="#003399"Reference:nbsp;/FONT
 SELECT name="reference"
 onchange="top.main.location.href='Modification_Simple_Datacapt
 ure_Request_Sp
 ecification.jsp';"
 OPTION value=""Select a reference/option
 OPTION value=""14-MAR-1801B_NTP/option
 OPTION value=""10-MAR-1801A_DTP/option
 OPTION value=""17-MAR-1801B_RBS/option
 /SELECT/TD
 TD bgcolor="#F9F1BF"nbsp;/TD
   TD bgcolor="#F9F1BF"nbsp;/TD
 /TR
 TR
   TD bgcolor="#F9F1BF"nbsp;/TD
   TD bgcolor="#F9F1BF"nbsp;/TD
   TD bgcolor="#F9F1BF"nbsp;/TD
 /TR
 TR
   TD bgcolor="#F9F1BF"INPUT type="button" name="BACK"
 value="BACK"
 onclick="top.main.location.href='trame.jsp';"/TD
   TD bgcolor="#F9F1BF"nbsp;/TD
   TD bgcolor="#F9F1BF"nbsp;/TD
 /TR
   /TABLE
 /FORM
 /BODY/HTML

 Can you help me, It's very Urgent. Thank you for your help.

  Frdric LELIEVRE
  TTE -  (BA / F04 C024)
 
  *   +352-44992--2485
  * [EMAIL PROTECTED]
 


 Visit us at http://www.clearstream.com
 Check out current job vacancies at
 http://www.clearstream.com/public/english/e_vacs.htm

 IMPORTANT MESSAGE

 Internet communications are not secure and therefore
 Clearstream International does not
 accept legal responsibility for the contents of this message.

 The information contained in this 

Problem solved... (Client authentication in standalone tomcat using certificates)

2001-04-05 Thread Anindya Saha

Down below you will find the problem I found a solution for, and the
solution is to move to tomcat 4.0b3.

Regards,
Anindya

_-_
I have tried to implement client authentication using certificates on a
standalone tomcat server. I have made all the manadated steps (like changing
the server.xml file and loading the certificates on server and client).
However, what I end up is an empty list of certificates on IE and with an
error message (saying I have no personal certificates) on Netscape. The
various searches on the mailing list and else where r also not helpful.

I am using tomcat release 3.2. To complicate matters I see the following in
the tomcat 3.2 release notes:

***
DIGEST authentication and HTTPS client authentication (i.e. SSL) are not
supported in this release.
***

Then what's the point of the change in the server.xml file.

Please let me know your thoughts/solutions.

Regards,
Anindya





RE: Need job scheduling component

2001-04-05 Thread Michael Wentzel

 We need a component for scheduling jobs because some jobs 
 take a long time.
 The jobs have assigned priorities. We run tomcat 3.2.1 with IIS 5.0 on
 windows 2000. Will you point me where to find such components?

It should be easy enough to write a servlet which handles job scheduling
task requests(if that is the manner in which jobs are going to get
scheduled)
and is load-on-startup enabled.  Then in the init method fork a thread for 
a Runnable Object which continually checks for tasks that need to be run
and processes them as needed.


---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
mailto:[EMAIL PROTECTED]

- Punisher of those who cannot spell dumb!



Context Realm

2001-04-05 Thread Torgeir Veimo

I'm trying to use Realms on a per Context / web-app basis. I am able to
specify a Realm outside of a Context/Context, but if I put a
Realm/Realm inside a context, it is ignored. 

I'm using tomcat 4.0beta3. Is this supported in this release?

Also, I could live with having a singleton Realm, if I could get the
configured Realm name as defined in the web.xml file for each web-app in
the authenticate() method of the realm, but this seems to be available
only when doing digest authentication. Is there a good reason for this?

-- 
- Torgeir



Another Servlet Exception

2001-04-05 Thread flelievre . cs

It's against me. For a another problems
Thank for your help.

A Servlet Exception Has Occurred
Exception Report:
javax.servlet.ServletException
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:481)
at
Datacapture_0005fProject._0002fDatacapture_0005fProject_0002fValidation_0005
fSimple_0005fDatacapture_0005fRequest_0002ejspValidation_0005fSimple_0005fDa
tacapture_0005fRequest_jsp_0._jspService(_0002fDatacapture_0005fProject_0002
fValidation_0005fSimple
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:184)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:328)
at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:215)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:251)
at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:196)
at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
at org.apache.catalina.core.StandardContext.invoke(Compiled Code)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161
)
at
org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
at org.apache.catalina.valves.AccessLogValve.invoke(Compiled Code)
at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:159)
at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
at org.apache.catalina.connector.http.HttpProcessor.process(Compiled
Code)
at org.apache.catalina.connector.http.HttpProcessor.run(Compiled
Code)
at java.lang.Thread.run(Thread.java:479)
Root Cause:
java.lang.NullPointerException
at
Datacapture_0005fProject._0002fDatacapture_0005fProject_0002fValidation_0005
fSimple_0005fDatacapture_0005fRequest_0002ejspValidation_0005fSimple_0005fDa
tacapture_0005fRequest_jsp_0._jspService(_0002fDatacapture_0005fProject_0002
fValidation_0005fSimple
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:184)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:328)
at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:215)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:251)
at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:196)
at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
at org.apache.catalina.core.StandardContext.invoke(Compiled Code)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161
)
at
org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
at org.apache.catalina.valves.AccessLogValve.invoke(Compiled Code)
at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:159)
at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
at org.apache.catalina.connector.http.HttpProcessor.process(Compiled
Code)
at org.apache.catalina.connector.http.HttpProcessor.run(Compiled
Code)
at java.lang.Thread.run(Thread.java:479)

 Frdric LELIEVRE
 TTE -  (BA / F04 C024)
 
 *   +352-44992--2485
 * [EMAIL PROTECTED]  
 


Visit us at http://www.clearstream.com   
Check out current job vacancies at http://www.clearstream.com/public/english/e_vacs.htm
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does not
accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally 
privileged. It is
intended solely for the addressee. If you are not the intended recipient, any 
disclosure,
copying, distribution or any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are those of the

Re: Need job scheduling component

2001-04-05 Thread Anuj Agrawal

I'm not sure if this will meet your needs, but there is a nice Scheduler API
called Flux from simscomputing (http://www.simscomputing.com).  There's a free
30-day download i believe.

HTH.
Anuj.

Jack Li wrote:

 We need a component for scheduling jobs because some jobs take a long time.
 The jobs have assigned priorities. We run tomcat 3.2.1 with IIS 5.0 on
 windows 2000. Will you point me where to find such components?




IIS 5 and Win200000

2001-04-05 Thread Carlos Gustavo Verbel Martelo



Hello,

Tomcat work with IIS5 and Windows 
2000?

Thanks for your help.

Best Regards.
Carlos Gustavo Verbel MarteloNetwork 
Administrator / Administrador de RedTeléfono / Phone (574) 312 
2791PRAGMA: Now is Time to get Value. http://www.pragma.com.co

¿Conoce nuestros servicios? Visite http://www.pragma.com.co/sitio/soluciones/

Mensaje enviado con MISIVA Web Mail 
Serverhttp://www.pragma.com.co/misiva


RE: A Simple question to the configuration of tomcat

2001-04-05 Thread Benoît Jacquemont

Hi,

You just have to declare a context like this:
Context path="" docBase="/path/to/myapp" debug="0"
reloadable="false" 
/Context
in your TOMCAT_HOME/conf/server.xml. You should also remove the ROOT context
and the ROOT directory that is in the webapp directory.
Anyway, in real world, I mean in production environment, you should remove
all the contexts that don't deal with your app, and all the subdirectory
within the /webapp.

Benot


 Hello,

 since several weeks I am testing tomcat as a Servlet Engine with great
 success. I use Win98 SE2 with PWS.
 Now I have a simple problem (I think):

 What I have to do (in the configuration files) when I want to start my
 servlets with the URL:

 http://localhost/servlet/TestServlet

 and not with a WEPAPP-Directory like
 http://localhost/example/servlet/TestServlet

 Which settings I have to do in the configuration-files and in which
 directory I have to put my Servlets ?

 Thanks a lot for your answer

 With best regards

 M. Thorand

 TOPO graphics
 Geographische Informationssysteme GmbH

 EMail:  [EMAIL PROTECTED]





RE: Another Servlet Exception

2001-04-05 Thread Randy Layman


The root cause is a NullPointerException in your Request.jsp file.
Check your code.

Randy

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 05, 2001 9:17 AM
 To: [EMAIL PROTECTED]
 Subject: Another Servlet Exception
 Importance: High
 Sensitivity: Confidential
 
 
 It's against me. For a another problems
 Thank for your help.
 
 A Servlet Exception Has Occurred
 Exception Report:
 javax.servlet.ServletException
   at
 org.apache.jasper.runtime.PageContextImpl.handlePageException(
 PageContextImp
 l.java:481)
   at
 Datacapture_0005fProject._0002fDatacapture_0005fProject_0002fV
 alidation_0005
 fSimple_0005fDatacapture_0005fRequest_0002ejspValidation_0005f
 Simple_0005fDa
 tacapture_0005fRequest_jsp_0._jspService(_0002fDatacapture_000
 5fProject_0002
 fValidation_0005fSimple
   at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
 (JspServlet.ja
 va:184)
   at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
 .java:328)
   at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
 cationFilterCh
 ain.java:215)
   at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
 rapperValve.ja
 va:251)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at
 org.apache.catalina.core.StandardContextValve.invoke(StandardC
 ontextValve.ja
 va:196)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at 
 org.apache.catalina.core.StandardContext.invoke(Compiled Code)
   at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHost
 Valve.java:161
 )
   at
 org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
   at 
 org.apache.catalina.valves.AccessLogValve.invoke(Compiled Code)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
 gineValve.java
 :159)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at 
 org.apache.catalina.connector.http.HttpProcessor.process(Compiled
 Code)
   at org.apache.catalina.connector.http.HttpProcessor.run(Compiled
 Code)
   at java.lang.Thread.run(Thread.java:479)
 Root Cause:
 java.lang.NullPointerException
   at
 Datacapture_0005fProject._0002fDatacapture_0005fProject_0002fV
 alidation_0005
 fSimple_0005fDatacapture_0005fRequest_0002ejspValidation_0005f
 Simple_0005fDa
 tacapture_0005fRequest_jsp_0._jspService(_0002fDatacapture_000
 5fProject_0002
 fValidation_0005fSimple
   at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
 (JspServlet.ja
 va:184)
   at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
 .java:328)
   at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
 cationFilterCh
 ain.java:215)
   at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
 rapperValve.ja
 va:251)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at
 org.apache.catalina.core.StandardContextValve.invoke(StandardC
 ontextValve.ja
 va:196)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at 
 org.apache.catalina.core.StandardContext.invoke(Compiled Code)
   at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHost
 Valve.java:161
 )
   at
 org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
   at 
 org.apache.catalina.valves.AccessLogValve.invoke(Compiled Code)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
 gineValve.java
 :159)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at 
 org.apache.catalina.connector.http.HttpProcessor.process(Compiled
 Code)
   at org.apache.catalina.connector.http.HttpProcessor.run(Compiled
 Code)
   at java.lang.Thread.run(Thread.java:479)
 
  Frdric LELIEVRE
  TTE -  (BA / F04 C024)
  
  *   +352-44992--2485
  * [EMAIL PROTECTED]  
  
 
 
 Visit us at http://www.clearstream.com   
 Check out current job vacancies at 
http://www.clearstream.com/public/english/e_vacs.htm
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not
accept 

Where can I get mod_webapps ?

2001-04-05 Thread amit



Hi,

I hv installed Tomcat 4.0 Beta3.I'm also 
runningApache Server 1.3.12 on my Win NT m/c.
I would like to couple Tomcat with Apache using 
mod_webapps.(Similar to mod_jk in Tomcat 3.2 or earlier).
But in the tomcat binary distribution , there is no 
mod_webapps.
Can anyone tell me where can I get it ? ( I won't prefer to 
rebuild tomcat from source)

With 
Regards,-AmitE-Mail:[EMAIL PROTECTED]Sansui Software Pvt. 
Ltd.,Pune


duplicate usebean

2001-04-05 Thread Jacob Shukert

Hi,

I'm trying to move an application to Tomcat from another application server
and one of my JSP pages won't compile.  I get the following error (I
replaced the site specific information with ...):

#
Error: 500
Location: /.../...jsp
Internal Servlet Error:

org.apache.jasper.compiler.CompileException: E:\...\...\...jsp(44,9)
useBean: Duplicate bean name: X
at
org.apache.jasper.compiler.BeanGenerator.checkSyntax(BeanGenerator.java:125)
at org.apache.jasper.compiler.BeanGenerator.generate(BeanGenerator.java:95)
at
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J
spParseEventListener.java, Compiled Code)
at
org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi
stener.java, Compiled Code)
at
org.apache.jasper.compiler.JspParseEventListener.generateHeader(JspParseEven
tListener.java, Compiled Code)
at
org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE
ventListener.java:173)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled
Code)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:152)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:164)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled
Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
Compiled Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
#

The code looks something like this:

%
if (...Java code...) {
  while (...Java code...) {
...Java code...
%
jsp:useBean id="X".../
%
...Java code...
}
...Java code...
}
%

%
if (...Java code...) {
  while (...Java code...) {
...Java code...
%
jsp:useBean id="X".../
%
...Java code...
}
...Java code...
}
%


This compiles and works in the other application server that I'm using, but
Jasper tells me that the Bean is incorrectly being duplicated.  I think that
this should be ok because the variable declarations in the Java source file
that will be produced will be in different blocks.  However, from what I can
tell, Jasper might be checking the useBean tags first and giving an error
before creating the Java source file.  Again, it does work in the other
application server.  If anyone has any insight into this, or if this is a
bug, I would appreciate any comments.

Thank you for any help.


Jacob Shukert
[EMAIL PROTECTED]
(703) 341-2751, VNET 235-2751
Source Systems Development
MCI WorldCom




RE: IIS 5 and Win200000

2001-04-05 Thread Randy Layman


Yes.

-Original Message-
From: Carlos Gustavo Verbel Martelo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 9:33 AM
To: [EMAIL PROTECTED]
Subject: IIS 5 and Win20


Hello,
 
Tomcat work with IIS5 and Windows 2000?
 
Thanks for your help.
 
Best Regards.

Carlos Gustavo Verbel Martelo
Network Administrator / Administrador de Red
Telfono / Phone (574) 312 2791
PRAGMA: Now is Time to get Value. http://www.pragma.com.co
 
Conoce nuestros servicios? 
Visite http://www.pragma.com.co/sitio/soluciones/
 
Mensaje enviado con MISIVA Web Mail Server
http://www.pragma.com.co/misiva



RE: IIS 5 and Win200000

2001-04-05 Thread shlomi sarfati



Yes 



  -Original Message[shlomi sarfati]-From: 
  Carlos Gustavo Verbel Martelo [mailto:[EMAIL PROTECTED]]Sent: 
  Thu, April 05, 2001 3:33 PMTo: 
  [EMAIL PROTECTED]Subject: IIS 5 and 
  Win20
  Hello,
  
  Tomcat work with IIS5 and Windows 
  2000?
  
  Thanks for your help.
  
  Best Regards.
  Carlos Gustavo Verbel MarteloNetwork 
  Administrator / Administrador de RedTeléfono / Phone (574) 312 
  2791PRAGMA: Now is Time to get Value. http://www.pragma.com.co
  
  ¿Conoce nuestros servicios? Visite http://www.pragma.com.co/sitio/soluciones/
  
  Mensaje enviado con MISIVA Web Mail 
  Serverhttp://www.pragma.com.co/misiva


test message please delete

2001-04-05 Thread John.Bassinger

test message



RE: Error 500: Internal servlet error

2001-04-05 Thread Samson, Lyndon [IT]


Its usually not a good idea to get political on lists like this, but I just
wonder
about your email address, it icould/i be considered quite offensive to
some people.
I'm sure it isn't meant to be.

Regarding your error, have you compiled and successfully run the simple
hello world servlet, thats
a good starting point. If that works your system is installed ok and the
problem is with your
own code. If so you may want to post the relevant parts.

cheers


-Original Message-
From: white_power [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 2:02 PM
To: [EMAIL PROTECTED]
Subject: Error 500: Internal servlet error



Hello everybody !

I'm an absolute beginner in using tomcat, and I have a little (?) problem. 
The situation is:

I'm using RedHat linux + jdk1.3 + tomcat3.2.1. I compiled a
simple servlet to the TOMCAT_HOME/classes/session/WEB-INF/classes
directory, named ServletSession.class. The web.xml is the following:


...
web-app
servlet
servlet-nameServletSession/servlet-name
servlet-classServletSession/servlet-class
/servlet
session-config
session-timeout
5
/session-timeout
/session-config
web-app

In the server.xml there is a context entry:

...
Context path="/session" docBase="classes/session"
/Context
...

When I type the http://localhost:8080/session/servlet/ServletSession URL I
always get this error:

Error: 500

Location: /session/servlet/ServletSession
Internal Servlet Error:
java.lang.NullPointerException 
at java.lang.ClassLoader.resolveClass0(Native Method)
at java.lang.ClassLoader.resolveClass(ClassLoader.java:588)
at
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.j
ava:430)
at
org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(AdaptiveServletLoad
er.java:174)
at
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:265)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
at org.apache.tomcat.core.Handler.service(Handler.java:254)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

I tried to solve this problem, but now I haven't any idea. 

Please help me, if you can.

thanx: Hajdu Erno.



can SSL an non-SSL run at the same time??

2001-04-05 Thread Alvin Yap

I have setup the Tomcat 4.0b1 running with SSL.  Is it possible to run
non-SSL in a different context??  It seems to me that whenever i turn on
SSL all context will be listening on SSL port.

Alvin




RE: tomcat in comb. with apache randomly rejecting requests

2001-04-05 Thread Samson, Lyndon [IT]

Kresimir,

You may want to analyse what network traffic originating from the browser,
just watch the 
TCP data that IE sends to the server, if the request is the same the problem
is most likely on the
server, otherwise the browser may be trying to 'intelligently' ( read: brain
dead ) cache and
this might be causing the problem.


-Original Message-
From: Lyle H. Ward [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 1:59 PM
To: [EMAIL PROTECTED]
Subject: Re: tomcat in comb. with apache randomly rejecting requests


Not that it is any help, but! I use IE over the net to several secure sites
(mostly financial) and see this same behavior. I think it is in the IE code
and outside of maybe obtaining the IE source, there isn't any cure. 

At 08:11 PM 4/4/2001 -0400, you wrote:
looks like no-one wants to tackle this question...
anyway, does anyone know any good consultants that work with jakarta-tomcat
and
apache - where additional help (even for a fee) could be asked.

Thank you.
  -Original Message-
  From: Kresimir (Binsco) [EMAIL PROTECTED]
  To: [EMAIL PROTECTED] [EMAIL PROTECTED]
  Date: Wednesday, April 04, 2001 2:18 PM
  Subject: tomcat in comb. with apache randomly rejecting requests


  Hi,

  I have already posted this quesion, but maybe I have not given enough
detail.
  Please help as this is getting very frustrating.

  Ok, this is the problem briefly:

  Very randomly when we try to submit the request to tomcat (that is
working with
  apache) we get the error message from the browser: "This page cannot be
accesses... etc..."
  If we try to re-submit the request just few seconds after, clicking the
same submit
  button ... it will work.
  Sometimes it will work first time too. Actually it will reject request
maybe one out of
  three times, the slower the connection (I think) the more likely
rejection is.

  Ok, these are the details.

  The application is a shopping cart and when user is submitting items to
the cart, there is no
  problems. In this case we submit to regular http (not secure), and in the
request there
  is only couple of values.
  After that, there is a page with the credit card and order information
with about 20 or so
  fields, now this is https protocol we submit to. This is when the problem
occurs, this
  page with 20 or so values, and using https will reject randomly. If you
try to submit again once
  you were rejected, it will go through...
  This does not happen with netscape at ALL, but with Internet Explorer
only.
  The .jsp that request is submitted to reads those 20 properties into the
bean, using
  property *

  Also, if we run tomcat only, locally (without apache), so if we submit to
localhost:8080,
  this will not happen. This happens only when we submit over the net using
apache,
  but then again we do not use https when using localhost.

  Please help, any info is EXTREMELY appreciate as we've been poking around
for
  weeks now. If you need more information or the url to the actual
application please let us
  know.

  Thank you.
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
HTMLHEAD
META http-equiv=Content-Type content="text/html; charset=windows-1252"
META content="MSHTML 5.50.4522.1800" name=GENERATOR/HEAD
BODY bgColor=#ff
DIVFONT size=2looks like no-one wants to tackle this 
question.../FONT/DIV
DIVFONT size=2anyway, does anyone know any good consultants that work
with 
jakarta-tomcat and/FONT/DIV
DIVFONT size=2apache - where additional help (even for a fee) could be 
asked./FONT/DIV
DIVFONT size=2/FONTnbsp;/DIV
DIVFONT size=2Thank you./FONT/DIV
BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #00 2px solid;
MARGIN-RIGHT: 0px"
  DIVFONT face=Arial size=2B-Original
Message-/BBRBFrom: 
  /BKresimir (Binsco) lt;A 
  href="mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]/Agt;BRBTo: /BA 

href="mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]
/A 
  lt;A 

href="mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]
/Agt;BRBDate: 
  /BWednesday, April 04, 2001 2:18 PMBRBSubject: /Btomcat in comb.
with 
  apache randomly rejecting requestsBRBR/DIV/FONT
  DIV
  DIVFONT size=2Hi,/FONT/DIV
  DIVFONT size=2/FONTnbsp;/DIV
  DIVFONT size=2I have already posted this quesion, but maybe I have
not 
  given enough detail./FONT/DIV
  DIVFONT size=2Please help as this is getting very 
frustrating./FONT/DIV
  DIVFONT size=2/FONTnbsp;/DIV
  DIVFONT size=2Ok, this is the problem briefly:/FONT/DIV
  DIVFONT size=2/FONTnbsp;/DIV
  DIVFONT size=2Very randomly when we try to submit the request to
tomcat 
  (that is working with/FONT/DIV
  DIVFONT size=2apache) we get the error message from the browser:
"This 
  page cannot be accesses... etc..."/FONT/DIV
  DIVFONT size=2If we try to re-submit the request just few seconds
after, 
  clicking the same submit/FONT/DIV
  DIVFONT size=2button ... it will work./FONT/DIV
  DIVFONT size=2Sometimes it will work first time too. Actually it will

  reject request maybe one out of/FONT/DIV
  

test message please delete 2

2001-04-05 Thread John.Bassinger

please delete only a test



test 3

2001-04-05 Thread John.Bassinger

test 3



how to unsubscribe this list?

2001-04-05 Thread Trakhtenberg, Victor

Hello!
Does anyone how to unsubscribe this list?
I've tried to send email to : [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
but this didn't work I still get those mails.
Thank you in advans.




Re: can SSL an non-SSL run at the same time??

2001-04-05 Thread Paul Ramos

Check out http://www.apache-ssl.org/#What_is_Apache-SSLlook for "I want to run secure and non-secure server on the same machine. Is that possible?".

From: Alvin Yap <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Subject: can SSL an non-SSL run at the same time?? 
Date: Thu, 05 Apr 2001 09:47:48 -0400 
MIME-Version: 1.0 
Received: from [64.208.42.41] by hotmail.com (3.2) with ESMTP id MHotMailBC95C205007C400431D340D02A2911910; Thu Apr 05 06:45:41 2001 
Received: (qmail 61753 invoked by uid 500); 5 Apr 2001 13:45:05 - 
Received: (qmail 61723 invoked from network); 5 Apr 2001 13:45:05 - 
Received: from tomts8.bellnexxia.net (HELO tomts8-srv.bellnexxia.net) (209.226.175.52) by h31.sny.collab.net with SMTP; 5 Apr 2001 13:45:05 - 
Received: from sympatico.ca ([64.229.82.142]) by tomts8-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id [EMAIL PROTECTED] for <[EMAIL PROTECTED]>; Thu, 5 Apr 2001 09:44:45 -0400 
From tomcat-user-return-30014-pauldramos Thu Apr 05 06:46:53 2001 
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm 
Precedence: bulk 
list-help: 
list-unsubscribe: 
list-post: 
Delivered-To: mailing list [EMAIL PROTECTED] 
Message-ID: [EMAIL PROTECTED] 
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) 
X-Accept-Language: en 
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 

I have setup the Tomcat 4.0b1 running with SSL. Is it possible to run 
non-SSL in a different context?? It seems to me that whenever i turn on 
SSL all context will be listening on SSL port. 

Alvin 

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


Re: can SSL an non-SSL run at the same time??

2001-04-05 Thread Paul Ramos



Check out http://www.apache-ssl.org/#What_is_Apache-SSLlook for "I want to run secure and non-secure server on the same machine. Is that possible?".



From: Alvin Yap <[EMAIL PROTECTED]>

Reply-To: [EMAIL PROTECTED] 

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

Subject: can SSL an non-SSL run at the same time?? 

Date: Thu, 05 Apr 2001 09:47:48 -0400 

MIME-Version: 1.0 

Received: from [64.208.42.41] by hotmail.com (3.2) with ESMTP id MHotMailBC95C205007C400431D340D02A2911910; Thu Apr 05 06:45:41 2001 

Received: (qmail 61753 invoked by uid 500); 5 Apr 2001 13:45:05 - 

Received: (qmail 61723 invoked from network); 5 Apr 2001 13:45:05 - 

Received: from tomts8.bellnexxia.net (HELO tomts8-srv.bellnexxia.net) (209.226.175.52) by h31.sny.collab.net with SMTP; 5 Apr 2001 13:45:05 - 

Received: from sympatico.ca ([64.229.82.142]) by tomts8-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id [EMAIL PROTECTED] for <[EMAIL PROTECTED]>; Thu, 5 Apr 2001 09:44:45 -0400 

From tomcat-user-return-30014-pauldramos Thu Apr 05 06:46:53 2001 

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

Precedence: bulk 

list-help: 

list-unsubscribe: 

list-post: 

Delivered-To: mailing list [EMAIL PROTECTED] 

Message-ID: [EMAIL PROTECTED] 

X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) 

X-Accept-Language: en 

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



I have setup the Tomcat 4.0b1 running with SSL. Is it possible to run 

non-SSL in a different context?? It seems to me that whenever i turn on 

SSL all context will be listening on SSL port. 



Alvin 



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


Configuration Help

2001-04-05 Thread Ehlert, Andy



I'm 
trying to get Tomcat to work on my NT4.0 server and have run into a 
problem. I think I have everything setup correctly, but I can't get the 
helloworld.html servlet to appear. Here is the output of my isapi.log file 
for the call.


 [jk_isapi_plugin.c (408)]: 
HttpFilterProc started 
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of 
/servlet/helloworld.html 
[jk_uri_worker_map.c (344)]: Into 
jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (406)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a match ajp12 [jk_isapi_plugin.c (439)]: 
HttpFilterProc [/servlet/helloworld.html] is a servlet url - should redirect to 
ajp12 
[jk_isapi_plugin.c (461)]: HttpFilterProc check if 
[/servlet/helloworld.html] is points to the web-inf directory [jk_isapi_plugin.c (517)]: 
HttpExtensionProc started 
[jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [jk_worker.c (127)]: 
wc_get_worker_for_name, done found a worker [jk_isapi_plugin.c (539)]: 
HttpExtensionProc got a worker for name ajp12 [jk_ajp12_worker.c (223)]: 
Into jk_worker_t::get_endpoint [jk_ajp12_worker.c (121)]: 
Into jk_endpoint_t::service 
[jk_connect.c (108)]: Into jk_open_socket [jk_connect.c (115)]: 
jk_open_socket, try to connect socket = 15852 [jk_connect.c (124)]: 
jk_open_socket, after connect ret = -1 [jk_connect.c (143)]: 
jk_open_socket, connect() failed errno = 61 [jk_ajp12_worker.c (134)]: In 
jk_endpoint_t::service, sd = -1 [jk_ajp12_worker.c (152)]: In 
jk_endpoint_t::service, Error sd = -1 [jk_isapi_plugin.c (554)]: 
HttpExtensionProc error, service() failed [jk_ajp12_worker.c (163)]: 
Into jk_endpoint_t::doneIt looks like 
it's not opening a socket connection. Where should I starting into this 
problem?





Re: Tomcat equivalent of JServ's LogWriter?

2001-04-05 Thread Brett Knights

I have done the following:

Using Log4J

create a singleton ServletAppender that pipes output to Log4J

all my servlets check to see if this is initialized and if not they init it with the 
ServletContext.

Servlet logging works normally.

Log4J logging methods (called from my non-servlet classes) append to the servlet log.

HTH

 Date: Thu, 5 Apr 2001 05:01:40 -0500
 To: [EMAIL PROTECTED]
 From: Ed Gomolka [EMAIL PROTECTED]
 Subject: Re: Tomcat equivalent of JServ's LogWriter?
 Message-Id: 01040505014000.07284@gomolka
 
 On Wednesday 04 April 2001 20:23, Chris Bailey wrote:
  Is there an equivalent to Apache JServ's LogWriter
  (org.apache.java.io.LogWriter) facility in Tomcat?
 I'm not familiar with LogWriter.
 Tomcat supports logging as described in the servlet API.
 (In other words, the ServletContext log methods.)
 If you need a more comprehensive approach to logging, 
 check out the log4j project on the Apache Jakarta site. 
 A lot of people are using it with Tomcat.
 I haven't tried it yet personally... it's on my todo list.




RE: how to unsubscribe this list?

2001-04-05 Thread Jason Izatt

Are you sending the unsubscribe email from the email account for which you
are subscribed? If you're reading/sending your mail from a central address
to which all your aliases (the one for this list, for example) are
forwarding, then the mail list won't recognize the unsubscribe because it
will be coming from a different address than the one subscribed with.

Jason S. Izatt
Software Engineer
ibtraining.com
220 West 540 North
Orem, UT  84057
T  801.229.1930 x123
F  801.225.0092
E  [EMAIL PROTECTED]

www.ibtraining.com ...the engine that empowers e-learning


-Original Message-
From: Trakhtenberg, Victor [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 7:41 AM
To: '[EMAIL PROTECTED]'
Subject: how to unsubscribe this list?
Importance: High


Hello!
Does anyone how to unsubscribe this list?
I've tried to send email to : [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
but this didn't work I still get those mails.
Thank you in advans.





Second request: read will block forever

2001-04-05 Thread Adam Ratica

If I send an empty get request to my servlet, get the inputstream, and do a
read will block forever.
(eg: just call the servlet from IE or Netscape it just hangs).

InputStream in = servletRequest.getInputStream();
byte[] buffer = new byte[bufferSize];
ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
int read = 0;
do {
System.out.println("getBody1");
  read = in.read(buffer);
  System.out.println("getBody2");
  if(read=0) { byteStream.write(buffer, 0, read); }
} while (read = 0);

"getBody2" is never printed.
In Tomcat 3.2 I had the same problem
In Tomcat 3.3 the read would return, but -1 would never be returned, so it
would loop forever.


This servlet works fine on iplanet, and vqserver.

Also the content size returned is -1, so I can't just slurp it into an
array.

This is a security issue with us, because an outsider can send our server
into
infinite loops.

Thank you,
Adam Ratica
Software Architect
CardinalCommerce, Inc.
6119 Heisley RoadMentor, OH 44060
440-352-8444 x138440-352-1646 Fax
[EMAIL PROTECTED]





Re: how to unsubscribe this list?

2001-04-05 Thread Bo Xu

"Trakhtenberg, Victor" wrote:

 Hello!
 Does anyone how to unsubscribe this list?
 I've tried to send email to : [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 but this didn't work I still get those mails.
 Thank you in advans.

Hi :-)  I am not sure,  from a email, I suggest you check that if you use
the
same email address to subscribe/unsubscribe? if they are different, perhaps
you can not unsubscribe. just my guessing :-)

Bo
Mar.05, 2001






test-tomcat.xml

2001-04-05 Thread berman

I want to verify that my standaloneinstallation is working.  (RedHat
7.0/tomcat 3.2.1)

When I use test-tomcat:

  bin/tomcat.sh ant -f conf/test-tomcat.xml client

I get 4 FAILs.  Two are due to hardcoded machine name in
./Golden/movedwelcome.txt
and ./Golden/movedindex.txt.  Two seem to be due to use of ${host}
inside an
expect... attribute in test-tomcat.xml.  

I assume these are not significant.

If I'm wrong about this, I'd greatly appreciate someone letting me know.

Thanks.

--Len



tomcat and SSI

2001-04-05 Thread Edara, Indira

I am using tomcat version 3.1.1, with IIS isapi_redirect.dll plugin.
When I include SSI, in .jsp page, it is not getting evaluated.

I have a file Source1.jsp with text in it
!--#include virtual="/examples/jsp/new.jsp" --,
new.jsp has new in its body.

When I request Source1.jsp, I am not seeing new.jsp text in it.
I didn't make any modifications to tomcat properties, I checked plugin, it
is working.
I am not supposed to use @include.

Can somebody help me with this?
Thank you




Re: Where can I get mod_webapps ?

2001-04-05 Thread Pae Choi




Hi Amit,

Look at the TC4.0b3 
path\src\connectors\apache-1.3\ direcoty. Let us know
how it goes.

Regards,


Pae


-Original Message-From: 
amit [EMAIL PROTECTED]To: 
[EMAIL PROTECTED] 
[EMAIL PROTECTED]Date: 
Thursday, April 05, 2001 6:33 AMSubject: Where can I get 
mod_webapps ?
Hi,

I hv installed Tomcat 4.0 Beta3.I'm also 
runningApache Server 1.3.12 on my Win NT m/c.
I would like to couple Tomcat with Apache using 
mod_webapps.(Similar to mod_jk in Tomcat 3.2 or earlier).
But in the tomcat binary distribution , there is no 
mod_webapps.
Can anyone tell me where can I get it ? ( I won't prefer 
to rebuild tomcat from source)

With 
Regards,-AmitE-Mail:[EMAIL PROTECTED]Sansui Software Pvt. 
Ltd.,Pune


Which version of tomcat to use with JBuilder 4.0(Foundation)?

2001-04-05 Thread qingjian du

I want to install the tomcat servlet, and I have installed JBuilder
4.0(Foundation) on my machine (WinNT). I just wonder if someone knows
the version of tomcat (build) I need to install. I tried tomcat 3.1, but
failed to run it.

Thanks in advance.

Qingjian






RE: Servlet Chaining...

2001-04-05 Thread Gaël Oberson
Title: RE: Servlet Chaining...




  
  [Gaël Oberson] I think 
  HttpServletRequest inherits getRequestDispatcher(..) from ServletRequest class 
  and does implement it. [Gaël Oberson] You can also get the 
  RequestDispatcher object from ServletContext
  
  Yes, you're right, but it'snot what I want to 
  do. the forward methodsends the request and response objects to another 
  servlet or jsp, and the response is entierely created by the second 
  servlet.
  The incude method "concatenates" the ouput from 
  servlet 1  servlet 2 in the same response 
object.
  But, 
  in my case, the servlet 1 generates dynamic XML from a database, and the 
  servlet 2 (Cocoon) generates HTML FROM servlet1's XML 
data...
  Do you 
  see what I mean? The data is processed twice! 
  Ok. 
  And now how to do that
  The 
  first that can provide me a working solution wins a beer...
  
  Thx.
  


RE: Which version of tomcat to use with JBuilder 4.0(Foundation)?

2001-04-05 Thread Benoit Jacquemont

I use JBuilder 4.0 Foundation on a Win200Pro machine with Tomcat 3.2.1. And
it works really fine. But I used to use the Tomcat 3.1 sometimes ago and it
works great as well.

What do you do to run Tomcat under JBuilder ?

Benoit


 I want to install the tomcat servlet, and I have installed JBuilder
 4.0(Foundation) on my machine (WinNT). I just wonder if someone knows
 the version of tomcat (build) I need to install. I tried
 tomcat 3.1, but
 failed to run it.

 Thanks in advance.

 Qingjian






Distrbuted Tomcat / Apache setup problems

2001-04-05 Thread tomcat

I'm a bit new to Tomcat so please pardon me if this
issue has been addressed before.

I'm trying to configure tomcat and apache so that the
apache server and tomcat process run on two separate 
machines.

I've followed (as best as I could) all of the documentation
that comes with Tomcat (and apache) to get this going.
Tomcat is running fine standalone and so is apache. However
I can't get the apache server to forward the requests to 
the machine running tomcat. (Using mod_jk)
[I'm thinking it may be an apache (mis) config but I'm not
sure... I've tried a number of options but with no luck]

I' running apache/1.3.14 (Unix)  (Red-Hat/Linux)
and tomcat 3.2.1

does any one have any ideas, specific docs they can point me
to. Also excerpts of working config files from a similar setup
would also be helpful.

TIA,

-- richard



unsubscribe me

2001-04-05 Thread João Folha




unsubscribe me


Tomcat and NES under Netware

2001-04-05 Thread Patric Lichtsteiner

Hi

I have a problem with the Tomcat/NES integration under Netware.

I installed Tomcat 3.2.1 on my Netware 5.1/SP2a-Server (jdk1.2.2) and configured the 
integration with Netware/Novell Enterprise Server using nsapi_rd.nlm. Everythings 
works, but very slow - each request needs about three seconds until I get a response. 
When I access tomcat directly (port 8080) the speed ist ok - html-files on the NES are 
shown fast as well.

Does anybody know what is going wrong or does anybody have a running NES integration 
under Netware?

Thanks
Patric




RE: Servlet Chaining...

2001-04-05 Thread Varela Santoalla, Daniel

Servlet1 doesn't have to output anything to the standard PrintWriter in your
case. You could conditionally output to a buffer and then handle this buffer
to servlet2. Maybe some custom object inheriting from Response passed as
Request attribute... I assume that you ALSO want servlet1 to be able to
directly output XML to clients... don't you?

A better solution would be to have an independent component that could be
called from servlet1 and servlet2.

 -Mensaje original-
 De:   Gal Oberson [SMTP:[EMAIL PROTECTED]]
 Enviado el:   jueves 5 de abril de 2001 18:05
 Para: [EMAIL PROTECTED]
 Asunto:   RE: Servlet Chaining...
 
 
 
   [Gal Oberson]   I think HttpServletRequest inherits
 getRequestDispatcher(..) from ServletRequest class and does implement it.
 [Gal Oberson]   You can also get the RequestDispatcher object from
 ServletContext
 

 
   Yes, you're right, but it's not what I want to do. the forward
 method sends the request and response objects to another servlet or jsp,
 and the response is entierely created by the second servlet.
 
   The incude method "concatenates" the ouput from servlet 1  servlet
 2 in the same response object.
 
   But, in my case, the servlet 1 generates dynamic XML from a
 database, and the servlet 2 (Cocoon) generates HTML FROM servlet1's XML
 data...
 
   Do you see what I mean? The data is processed twice! 
 
   Ok. And now how to do that
 
   The first that can provide me a working solution wins a beer...
 

 
   Thx.
 

 



RE: Running java on linux (thanks)

2001-04-05 Thread Brandon Cruz

Thanks everyone who helped me with the problem running jdk1.3.3 (and tomcat)
on a red hat 6.2 linux machine.  It turns out that 1.2.2_007 works fine, so
that is what I went with for now.  Hopefully Sun will update the newer
version of the jdk so that it will be easier to work with on Linux.

Brandon Cruz
Norvax Inc.
phone:(773)529-5701
fax:(773)529-5702
cell:(312)339-1344

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 5:48 PM
To: [EMAIL PROTECTED]
Subject: Re: Running java on linux


Try jdk1.2.2 it appears to be a little bit more friendly when I don't
have any X windows...;-)

Brandon Cruz wrote:

 I installed jdk1.3.0_02 onto my machine and changed the path to the bin
 directory.  When I try to run that java command, I get the following
 error...

 [admin@ns1 bin]$ /usr/java/jdk1.3.0_02/bin/i386/native_threads/java: error
 in lo
 ading shared libraries: libX11.so.6: cannot open shared object file: No
such
 fil
 e or directory

 Is this a bug with java, or does it have to do with a file permission I am
 not setting correctly with Linux?  Anyone know?

 Brandon

--
 /) John Clark Naldoza y Lopez   (\
/ )Software Design Engineer II   ( \
  _( (__  Web-Application Development_) )_
 (((\ \  /_Cable Modem Network Management System _\  / /)))
 ( \_/ / NEC Telecom Software Phils., Inc.  \ \_/ )
  \   /  \   /
   \_/  phone: (+63 32) 233-9142 loc. 3112\_/
   /   /  cellphone: (+63 919) 399-4742 \   \
  /   / email: [EMAIL PROTECTED]\   \




Re: Servlet Chaining...

2001-04-05 Thread Pae Choi

Bo,

Did you use Cygwin to build the mod_webapp connector? I am
having a problem to build it. Can you share the info with us?


Pae



-Original Message-
From: Bo Xu [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Thursday, April 05, 2001 8:57 AM
Subject: Re: Servlet Chaining...


"Grewal, Gary" wrote:



 I think HttpServletRequest inherits getRequestDispatcher(..) from
 ServletRequest class and does implement it. You can also get the
 RequestDispatcher object from ServletContext

 ===
 Gary Grewal
 [...]

Hi :-)   yes, I did a test with jakarta-tomcat-4.0-b3(standalone,
JDK1.3, winnt40):
* both the following can work:
  - getServletContext().getRequestDispatcher(...).forward(request,
response)
  - request.getRequestDispatcher(...).forward(request, response)

* both the following is the same one(has the same hashCode)
  - rd0=getServletContext().getRequestDispatcher(...)
  - rd1=request.getRequestDispatcher(...)

  rd0.hashCode() is same with rd1.hashCode()

Bo
Apr.05, 2001







RE: how to unsubscribe this list?

2001-04-05 Thread Milt Epstein

On Thu, 5 Apr 2001, Jason Izatt wrote:

 Are you sending the unsubscribe email from the email account for
 which you are subscribed? If you're reading/sending your mail from a
 central address to which all your aliases (the one for this list,
 for example) are forwarding, then the mail list won't recognize the
 unsubscribe because it will be coming from a different address than
 the one subscribed with.

And you can look at the Return-Path: header to tell what address you
are subscribed from.  For example, the Return-Path: for me for the
message I'm responding to is:

[EMAIL PROTECTED]

And the address I'm subscribed from is [EMAIL PROTECTED] (so looks
like they change the "@" to an "=" in the address).  It looks like the
number there (30023) might be some kind of message number for posts to
the lists, because it varies for each message I get from the list (and
it's consecutive for all the recent posts I'm going through now).

Once you know what address you are subscribed from, you can use that
to unsubscribe.  I don't know the exact format for specifying that is.

Oh, here's something I pulled out of the intro message I got when I
subscribed to the list (it's a good idea to save such things):

  You can start a subscription for an alternate address, for example
  "[EMAIL PROTECTED]", just add a hyphen and your address (with '='
  instead of '@') after the command word:
  [EMAIL PROTECTED]

  To stop subscription for this address, mail:
  [EMAIL PROTECTED]

  In both cases, I'll send a confirmation message to that
  address. When you receive it, simply reply to it to complete your
  subscription.

  If despite following these instructions, you do not get the desired
  results, please contact my owner at
  [EMAIL PROTECTED] Please be patient, my owner is
  a lot slower than I am ;-)

So that shows how to unsubscribe for a specific address different than
the one you receive mail at.


 -Original Message-
 From: Trakhtenberg, Victor [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 05, 2001 7:41 AM
 To: '[EMAIL PROTECTED]'
 Subject: how to unsubscribe this list?
 Importance: High
 
 Hello!
 Does anyone how to unsubscribe this list?
 I've tried to send email to : [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 but this didn't work I still get those mails.
 Thank you in advans.

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]




integrating Web tier (Tomcat v4.0b1) with an EJB tier (RI v1.2)

2001-04-05 Thread Bryan Basham

Hello Tomcat Users,

I am trying to integrate my Web tier with an EJB tier using the Business
Delegate pattern.  I am having a problem on the Web tier side doing the
JNDI lookup on the remote EJB server.  ***A very important note: I am using
Tomcat (v4.0b1) independently of the EJB tier (using the J2EESDK reference
implementation v1.2.1); that is, I am *not* deploying my Web app in the
J2EE server.***

I have the JNDI port on 1052 and the bean is named: java:comp/env/leagueService
Here is the J2EE statup response:
-
Naming service started: :1052
Published the configuration object ...
Web service started: 9191
Web service started: 8000
Web service started: 7000
Loading 
jar:/usr/local/j2sdkee1.2.1/repository/basham/applications/SportsLeague983569674
255Server.jar
/usr/local/j2sdkee1.2.1/repository/basham/applications/SportsLeague983569674255S
erver.jar
Binding name:`java:comp/env/leagueService`
Binding name:`java:comp/env/jdbc/SportsLeagueDB`
Looking up authenticator...
Binding name:`java:comp/env/jdbc/SportsLeagueDB`
J2EE server startup complete.
-


On each HTTP request my servlet constructs a new LeagueDelegate object.
In the constructor, the delegate is doing the JNDI lookup on the leagueService
Home interface.  Here is that constructor:
-
  public LeagueDelegate() {
System.out.println(" Entering LeagueDelegate constructor");
try {
  Hashtable ctxProperties = new Hashtable();
//ctxProperties.put(Context.INITIAL_CONTEXT_FACTORY,
//  "???");
  ctxProperties.put(Context.PROVIDER_URL,
"basham:1052");
System.out.println(" creating intial context");
  Context c = new InitialContext(ctxProperties);
System.out.println(" looking up java:comp/env/leagueService");
  Object result = c.lookup("java:comp/env/leagueService");
System.out.println(" narrowing the leagueService Home");
  leagueSvcHome
= (LeagueSessionHome)
  PortableRemoteObject.narrow(result, LeagueSessionHome.class);

} catch (Exception e) {
  System.out.println(e);
}
System.out.println("Exiting LeagueDelegate constructor");
  }
-


This is an excerpt from the Tomcat log file:
-
LeagueAdminController: init
 Entering LeagueDelegate constructor
 creating intial context
 looking up java:comp/env/leagueService
javax.naming.NameNotFoundException: Name leagueService is not bound in this 
Context
Exiting LeagueDelegate constructor
-


I have tried several variations on the JNDI name ('leagueService',
'java:leagueService', 'java:ejb/leagueService').  Nothing seems to work.

Also, I tried to figure out what to use for the INITIAL_CONTEXT_FACTORY,
but nothing I tried seemed to help.

Please let me know if you have any ideas I should try.

Thanks,
Bryan


+---+--+
| Bryan Basham  | "You are not an isolated entity, but
| Java Courseware Developer |  a unique, irreplaceable part of the
| Sun Educational Services  |  cosmos.  Don't forget this.  You are
|   Phone: 1-303-272-8766  (x78766) |  an essential piece of the puzzle of
|  E-mail: [EMAIL PROTECTED] |  humanity."
| Address: 500 Eldorado Blvd|
|  MailStop: UBRM05-135 |  -- The Art of Living, Epictetus
|  Broomfield, CO 80021 | (trans. Sharon Lebell)
+---+--+




Re: Servlet Chaining...

2001-04-05 Thread Bo Xu

Gal Oberson wrote:



  [Gal Oberson]  I think HttpServletRequest inherits
  getRequestDispatcher(..) from ServletRequest class and does
  implement it. [Gal Oberson]  You can also get the
  RequestDispatcher object from ServletContext

  Yes, you're right, but it's not what I want to do. the
  forward method sends the request and response objects to
  another servlet or jsp, and the response is entierely
  created by the second servlet.

  The incude method "concatenates" the ouput from servlet 1 
  servlet 2 in the same response object.

  But, in my case, the servlet 1 generates dynamic XML from a
  database, and the servlet 2 (Cocoon) generates HTML FROM
  servlet1's XML data...

  Do you see what I mean? The data is processed twice!

  Ok. And now how to do that

  The first that can provide me a working solution wins a
  beer...



  Thx.

[...]


Hi :-)  first, the most important, we must make the following clear:
:-)
 - if I have n ideas, can I have n beers?   if(not), return; :-)
 - if my ideas are all not right, but because they are more than one,
   and I type a lot of words with keyboard, so can  I also have 1 beer?
   if(not), return; :-)

I am not sure, I have some suggestions:
* use
   - ServletContext.getAttribute(...)/setAttribute(...)
 and
  - RequestDispatcher/sendRedirect
  to pass the XML data from MyServlet0 to MyServlet1

* use
 - HttpSession.getAttribute(...)/setAttribute(...)
 and
  - RequestDispatcher/sendRedirect
  to pass the XML data from MyServlet0 to MyServlet1

* use
  - (Http)ServletRequest.getAttribute(...)/setAttribute(...)
 and
  - RequestDispatcher/sendRedirect
  to pass the XML data from MyServlet0 to MyServlet1

* use
 - MyHelper which is loaded by Shared classloader to save data
 and
  - RequestDispatcher/sendRedirect
  to pass the XML data from MyServlet0 to MyServlet1

* and from several emails, perhaps it is better to make the object which
"wrap" the XML
   data Serializable.

* another "non-OO" way is : if it is possible to "put" the XML
   data in a String which is not very long, we also can use:
   RequestDispatcher
rd=request.getRequestDispatcher("/servlet/MyServlet1?tailPxml=...");
   rd.forward(request, response);

my most favorate bear brand is ... //hahahahaha :-)

Bo
Apr.05, 2001





TR: Which version of tomcat to use with JBuilder 4.0(Foundation)?

2001-04-05 Thread Benoit Jacquemont

Thanks for your help scott, but I was just trying to help somebody else. I
don't have any problem to run Tomcat under Jbuilder. But I think your answer
will really help Qingjian Du.

Thank you for him ! ;-)

Benoit

-Message d'origine-
De : Scott Sanders [mailto:[EMAIL PROTECTED]]
Envoye : jeudi 5 avril 2001 17:40
A : [EMAIL PROTECTED]
Objet : Re: Which version of tomcat to use with JBuilder
4.0(Foundation)?


Fairly straightforward.

First, install the version of Tomcat that you want to use.  I have tried
and succeeded with 3.0,3.1,3.2,3.2.1,3.3-dev,4.0-dev

Second, make sure that Tomcat runs by itself.  Then shut it down.

Third, in JBuilder under Project | Project Properties:
   a) In the paths tab, under the Required Libraries sub-tab, add the
Tomcat jar files (for Tomcat 4 this is just bootstrap.jar)
   b)Under the run tab, set the main class to the class that the
.sh|.bat files use to run Tomcat (for T4 this is
org.apache.catalina.startup.Bootstrap
   c) if necessary set the VM Parameters.  Note that I always set the
Tomcat home property by adding -Dtomcat.home=/path/to/tomcat on the VM
parameters line.  Also, when using Tomcat 4 with the bootstrap class,
you need to add the word start as the single parameter on the
Application Parameters.
   d) Set up your server.xml and your web.xml files properly (I cannot
help you with this ;-)

Then you can compile, run, and even debug your servlets!  Hooray!

Scott Sanders

PS If you need more help, just ask, as I use JBuilder 4 on both Windows
and Linux with no problems whatsoever.


Benoit Jacquemont wrote:

 I use JBuilder 4.0 Foundation on a Win200Pro machine with Tomcat 3.2.1.
And
 it works really fine. But I used to use the Tomcat 3.1 sometimes ago and
it
 works great as well.

 What do you do to run Tomcat under JBuilder ?

 Benoit



 I want to install the tomcat servlet, and I have installed JBuilder
 4.0(Foundation) on my machine (WinNT). I just wonder if someone knows
 the version of tomcat (build) I need to install. I tried
 tomcat 3.1, but
 failed to run it.

 Thanks in advance.

 Qingjian






Compiling tomcat from source: Error listing.

2001-04-05 Thread Mike Ford

I am installing tomcat from source.  I have painstakingly followed all
of the directions to do so, and have made modifications to build.xml
where necessary.  After a long struggle, I have reduced my problem to
the following:



Buildfile: build.xml

prepare:

tomcat:
[javac] Compiling 5 source files to
/usr/local/src/build/tomcat/classes
[javac]
/usr/local/src/jakarta-tomcat-3.2.1-src/src/share/org/apache/jasper/compiler/JspCompiler.java:136:
Method getClassName(java.lang.String) not found in class
org.apache.jasper.compiler.ClassName.
[javac] realClassName = ClassName.getClassName(
getClassFileName() );
[javac]   ^
[javac]
/usr/local/src/jakarta-tomcat-3.2.1-src/src/share/org/apache/jasper/compiler/JspCompiler.java:137:
Exception org.apache.jasper.JasperException is never thrown in the body
of the corresponding try statement.
[javac] } catch( JasperException ex) {
[javac]   ^
[javac]
/usr/local/src/jakarta-tomcat-3.2.1-src/src/share/org/apache/jasper/compiler/JspParseEventListener.java:867:
Wrong number of arguments in constructor.
[javac] = new GeneratorWrapper(new
ForwardGenerator(start, attrs, param),
[javac]^
[javac]
/usr/local/src/jakarta-tomcat-3.2.1-src/src/share/org/apache/jasper/compiler/JspParseEventListener.java:877:
Wrong number of arguments in constructor.
[javac] = new GeneratorWrapper(new
IncludeGenerator(start, attrs, param),
[javac]^
[javac]
/usr/local/src/jakarta-tomcat-3.2.1-src/src/share/org/apache/jasper/JspC.java:367:
Method compile() not found in class
org.apache.jasper.compiler.CommandLineCompiler.
[javac] clc.compile();
[javac]^
[javac]
/usr/local/src/jakarta-tomcat-3.2.1-src/src/share/org/apache/jasper/servlet/JspServlet.java:462:
Method compile() not found in class org.apache.jasper.compiler.Compiler.
[javac] outDated = compiler.compile();
[javac]^
[javac]
/usr/local/src/jakarta-tomcat-3.2.1-src/src/share/org/apache/jasper/servlet/JspServlet.java:467:
Method compile() not found in class org.apache.jasper.compiler.Compiler.
[javac] outDated = compiler.compile();
[javac]^
[javac]
/usr/local/src/jakarta-tomcat-3.2.1-src/src/share/org/apache/jasper/servlet/JspServlet.java:471:
Exception java.io.FileNotFoundException is never thrown in the body of
the corresponding try statement.
[javac] } catch (FileNotFoundException ex) {
[javac]   ^
[javac]
/usr/local/src/jakarta-tomcat-3.2.1-src/src/share/org/apache/jasper/servlet/JspServlet.java:473:
Exception org.apache.jasper.JasperException is never thrown in the body
of the corresponding try statement.
[javac] } catch (JasperException ex) {
[javac]   ^
[javac]
/usr/local/src/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/request/JspInterceptor.java:205:
Method compile() not found in class org.apache.jasper.compiler.Compiler.
[javac] compiler.compile();
[javac] ^
[javac] Note:
/usr/local/src/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/request/JspInterceptor.java
uses or overrides a deprecated API.  Recompile with "-deprecation" for
details.
[javac] 10 errors, 1 warning

Total time: 7 seconds



At this point, I am getting to my wit's end.  Every step of the install
has had some small little detail that needed tending to, and I've
finally reached this point, where it appears that I've done everything I
can do to get past this and still don't have all my ducks in a row.  If
anyone can help me, I would greatly appreciate it.

-- 
Mike Ford
Web Developer, WorkFlow Integrators, Inc.
[EMAIL PROTECTED]
www.wfiinc.com



Re: tomcat without apache logging security

2001-04-05 Thread sgoni


Thanks, it works fine like that :-)

 On Tuesday 03 April 2001 10:47, [EMAIL PROTECTED] wrote:
 
  I would like to log all the queries to the database in logs/servlet.log.
 I
  put the verbosityLevel to DEBUG which didn't seem to have an effect on
 the
  logfile (it only logs the init calls). In server.xml, there are all
 these
  ContextInterceptors that I suspect to be helpful (?), but I have no idea
  how to use or modify them. If you have some explanation or suggestions
 or
  know some documentation "for dummies" I would be very grateful :-)
 What you need to do is use log statements in your Java code
 In your Java code, obtain the servlet context, and then write a log
 statement along the lines of:
 servletContext.log("Querying the database");
 Any logging you do using the servlet API's logging facility will end up in
 
 Tomcat's servlet log.
 Check the Javadoc for the servlet API for more info.
 -- 
 
 Ed Gomolka
 ([EMAIL PROTECTED])
 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net




HOW TO UNSUBSCRIBE from tomcat-users

2001-04-05 Thread William Kaufman

Sorry to blast this to everyone, but, since a lot of people are trying to
unsubscribe from tomcat-users the wrong way, here's the right way, as taken
from the email you were sent when you subscribed:

 I can handle administrative requests automatically. Please
 do not send them to the list address! Instead, send
 your message to the correct command address:
 
 To subscribe to the list, send a message to:
[EMAIL PROTECTED]
 
 To remove your address from the list, send a message to:
[EMAIL PROTECTED]
[...]
 The messages do not really need to be empty, but I will ignore
 their content. Only the ADDRESS you send to is important.
 
 You can start a subscription for an alternate address,
 for example "[EMAIL PROTECTED]", just add a hyphen and your
 address (with '=' instead of '@') after the command word:
 [EMAIL PROTECTED]
 
 To stop subscription for this address, mail:
 [EMAIL PROTECTED]
 
 In both cases, I'll send a confirmation message to that address. When
 you receive it, simply reply to it to complete your subscription.

-- Bill K.



Re: Client Authentication

2001-04-05 Thread Mandar Joshi

Hi Rams,

I have kept my Client Certificate in the cert store specified by 'keystore'
parameter of the SSL connector in TC.
while importing it from file to this keystore, I have trusted the Root CA
(this is CA of my company).

I have same certificate installed on my IE, with Root CA in the Root CA
store of windows.

It still does not show a dialog to select cert from - I still see page can
not be displayed error on IE.
And I still get these lines on TC consol -

2001-04-05 10:35:24 - Ctx(  ): 400 R( /) null
2001-04-05 10:35:24 - Ctx(  ): IOException in: R( /) Socket closed
2001-04-05 10:35:24 - Ctx(  ): 400 R( /) null
2001-04-05 10:35:24 - Ctx(  ): IOException in: R( /) Socket closed

your help is appriciated.
Mandar

- Original Message -
From: "Rams" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 04, 2001 10:30 PM
Subject: RE: Client Authentication


 Hi Mandar,

 I want to know if there are any additional settings to be done on Tomcat
 side ?
 There is nothing to done extra on Tomcat side for Client Authentication..
 u have to get SSLClient Cert. from any Trusted CA, in case if u want to
 connect to any server which needs client Authentication.

 I know IE should atleast allow me to select a certificate to be sent to
the
 server by showing a dialog box.
 It does not reach that stage.

 For this u should import ur client cert to browser , it'll be stored in
 personal settings.
 if the CA of ur cert matches any of the trusted CAs in the browser, u'll
get
 a dialog to select a cert.

 Thats it.

 do reply if it works.

 --Rams




remove me please

2001-04-05 Thread Oliver Gottwald


Please remove me from the tomcat mailing list.
It's been great.
Thanks to all for your insight.

[EMAIL PROTECTED]

Oliver Gottwald

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




Re: jspc classes

2001-04-05 Thread Usha Kolachalam

Hi! all

Using the jspc option I have been able to compile the .jsp files and
generate .class files. Further I have also generated a web.xml file.

I put all the .class files in the web-inf\classes folder.

Now the question I have is how do I access these .class files.

Earlier I would type in http://localhost/servlet and i could access my
application. Now when i type this , tomcat recompiles all the jsp files and
puts them in a work folder, instad of using the .class files I have in my
web-inf\classes folder.

Any help or tips would be greatly appreciated.

Thanks in advance
Usha



RE: Servlet Chaining...

2001-04-05 Thread Gaël Oberson



no no no no no no...

you all have good ideas, but all these ideas will not work for my problem.
The second servlet, wich must process XML - HTML, is Cocoon
(xml.apache.org/cocoon), and I have no ideas about the parameters Cocoon Can
take!! Cocoon is normally designed to process "static" XML + XSL pages that
are located on the server...

So who wants the first beer??




Tomcat 4 in Apache 1.3

2001-04-05 Thread Chad LaJoie

Tomcat 4 has the ability to un/deploy web apps on the fly (i.e. without 
restarting Tomcat).  Does anyone know what implications this has on 
Apache.  In Tomcat 3 mod_jk.conf was used to create maps between Apache and 
your Tomcat webapps.   This can only be done at Apache runtime however as 
Apache does not allow for these types of mappings on a dynamic basis.  So 
how does Apache and Tomcat 4 work together in terms of the un/deploy 
technologies?  Has anyone tried this?  Dose mod_webapp take care of this in 
some manner?

Chad La Joie   "Only a man who can not conquer
IT Specialist his deficiencies feels the need to
ISC - WARD convince the world he has none"




Tomcat/LoadBalancing.

2001-04-05 Thread Vikas Bansal

Hello,
I want to enable the load balancer worker on Apache/Tomcat. Even though
I have configured the workers.properties file as -
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=myajp12_1, myajp13_1, myajp12_2,
myajp13_2

The load balancer worker is not invoked, for I do see the debug
statements for lb worker in mod_jk.log.

Could you tell me, what is it that I am doing. What additional
configuration do I need to do to enable load balancer.

Any help in this regard is appreaciated.
-Vikas.




mod_jk.conf-auto problem

2001-04-05 Thread berman

Hi.

I have a servlet, Hungry, which wants to process all requests which
extend a given prefix.  No problem in
tomcat.  I add the following stanza to my webapps web.xml

servlet-mapping
  servlet-nameHungry/servlet-name
  url-pattern/Hungry/*/url-pattern
/servlet-mapping

When I use tomcat in apache this doesn't have the desired effect even
though I include
mod_jk.conf-auto.  Things are OK if the request path is forwarded to
tomcat: Hungry gets
/context/Hungry/xyz.jsp; however, according to the tomcat logs, tomcat
never sees a request for
/context/Hungry/xyz.

If I use port 8080 (i.e. tomcat) directly, Hungry  gets /Hungry/xyz.

I believe I can fix this by adding 
JkMount /context/Hungry/* ajp12 
to the mod_jk.conf-auto file, however, I'd rather just use the auto
generation facility.

Can anyone help me with this?

Thanks.

-- 
Len



Header lines appearing in body after redirect with IIS.

2001-04-05 Thread Jacob Shukert

Hi,

After I changed to using IIS instead of Tomcat's built-in web server, I
encountered the following problem:

I request a web page that redirects to a second web page after writing some
output.  The resulting web page contains this initial output plus the
following header fields plus the web page that I was redirected to:

HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Thu, 05 Apr 2001 18:19:38 GMT
Connection: close
Content-Type:text/html
Pragma:no-cache
Cache-Control:no-cache
Expires:Thu, 01 Jan 1970 00:00:00 GMT
Servlet-Engine:Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.2.2;
Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)


I know that I can't write output before redirecting, but the output should
have stayed in the buffer and then been cleared when I tried to redirect.
This is what appears to be happening with Tomcat's built-in web server, in
which case everything appears to be ok.  In any case, I think I would have
gotten an error if I had sent the output back to the client before
redirecting.  I tried setting the %@page buffer="64k"% (or "64kb"), but
this didn't do anything and I know that I didn't have 64k of text in the
buffer.

Has anyone else encountered anything similar to this?

Thank you for any help.


Jacob Shukert
[EMAIL PROTECTED]
(703) 341-2751, VNET 235-2751
Source Systems Development
MCI WorldCom




trouble compiling mod_jk.so wih Apache 1.3.19 and SunOs 5.8

2001-04-05 Thread Hong-Bing Chen

Hi,
I am trying to compile tomcat-apache plugin for Solaris and it fails. The 
versions are Apache 1.3.19, SunOs 5.8 and Perl 5.6.0.

The error message is :
"gcc -DSOLARIS -DUSE_EXPAT -I../lib/expat-lite -I/usr/apache1.3.19/include 
-I../common -I/usr/java1.3/j2sdk1_3_0/include
-I/usr/java1.3/j2sdk1_3_0/include/solaris -c mod_jk.c -o mod_jk.so mod_jk.o 
jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o jk_pool.o 
jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o jk_jni_worker.o 
jk_connect.o jk_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o -lposix4
apxs:Break: Command failed with rc=16777215
Error with apxs"

I have searched faq and archive, and could not find any answer.
Could somebody point out the problem? Any help is appreciated.

Hong-Bing Chen




Re: mod_jk.conf-auto problem

2001-04-05 Thread Milt Epstein

On Thu, 5 Apr 2001 [EMAIL PROTECTED] wrote:

 Hi.
 
 I have a servlet, Hungry, which wants to process all requests which
 extend a given prefix.  No problem in
 tomcat.  I add the following stanza to my webapps web.xml
 
 servlet-mapping
   servlet-nameHungry/servlet-name
   url-pattern/Hungry/*/url-pattern
 /servlet-mapping
 
 When I use tomcat in apache this doesn't have the desired effect even
 though I include
 mod_jk.conf-auto.  Things are OK if the request path is forwarded to
 tomcat: Hungry gets
 /context/Hungry/xyz.jsp; however, according to the tomcat logs, tomcat
 never sees a request for
 /context/Hungry/xyz.
 
 If I use port 8080 (i.e. tomcat) directly, Hungry  gets /Hungry/xyz.
 
 I believe I can fix this by adding 
   JkMount /context/Hungry/* ajp12 
 to the mod_jk.conf-auto file, however, I'd rather just use the auto
 generation facility.
 
 Can anyone help me with this?

Well, this kind of issue has come up here before, and the solution
does seem to be what you are suggesting, i.e. adding an appropriate
JkMount directive to the tomcat/apache conf file to make sure apache
passes the request to tomcat.

As to having it be in the conf-auto file, I don't really know about
that, but generally the recommendation here has been to use that file
as a model for your real one, i.e. copying it and editing it to suit
your needs, and including the modified one in the apache conf file.
It would be nice if there were some way to specify that such things be
included in the conf-auto file, but I don't know that one currently
exists.

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]




Re: Sending e-mail

2001-04-05 Thread Asim Ghaffar



Transport.send(message);

message is of type Message
it is part of the package javax.mail


  - Original Message - 
  From: 
  Garry De Toffoli 
  
  To: [EMAIL PROTECTED] 
  Sent: Thursday, April 05, 2001 2:25 
  PM
  Subject: Sending e-mail
  
  Someone know a java-class that can send 
  e-mail?
  
  Thank you.


Re: Header lines appearing in body after redirect with IIS.

2001-04-05 Thread Guntupalli Shanti

Hi Jacob,

I had the same problem...but only with IE, with Netscape it was fine.
In my case, the connection was kept alive and the output is
appended to the response buffer whenever I use sendRedirect method.
I added the following line to my code before reading anything
from response object (best place would be at the beginning of the Service 
method).

response.setHeader("Connection","close")

I don't know if this is of any help in your case as the Connection appears 
to be closed
from the Headers you have given

Cheers,
Shanti

At 02:40 PM 4/5/2001 -0400, you wrote:
Hi,

After I changed to using IIS instead of Tomcat's built-in web server, I
encountered the following problem:

I request a web page that redirects to a second web page after writing some
output.  The resulting web page contains this initial output plus the
following header fields plus the web page that I was redirected to:

HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Thu, 05 Apr 2001 18:19:38 GMT
Connection: close
Content-Type:text/html
Pragma:no-cache
Cache-Control:no-cache
Expires:Thu, 01 Jan 1970 00:00:00 GMT
Servlet-Engine:Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.2.2;
Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)


I know that I can't write output before redirecting, but the output should
have stayed in the buffer and then been cleared when I tried to redirect.
This is what appears to be happening with Tomcat's built-in web server, in
which case everything appears to be ok.  In any case, I think I would have
gotten an error if I had sent the output back to the client before
redirecting.  I tried setting the %@page buffer="64k"% (or "64kb"), but
this didn't do anything and I know that I didn't have 64k of text in the
buffer.

Has anyone else encountered anything similar to this?

Thank you for any help.


Jacob Shukert
[EMAIL PROTECTED]
(703) 341-2751, VNET 235-2751
Source Systems Development
MCI WorldCom




RE: mod_jk.conf-auto problem

2001-04-05 Thread GOMEZ Henri

I really suggest you to make apache read a mod_jk.conf
you done by hand.

Keep the auto generation for information purpose.



"Entre truands, les bnfices, a se partage, la rclusion, a
s'additionne."
-- Michel Audiard
 

-Original Message-
From: Milt Epstein [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 8:49 PM
To: [EMAIL PROTECTED]
Subject: Re: mod_jk.conf-auto problem


On Thu, 5 Apr 2001 [EMAIL PROTECTED] wrote:

 Hi.
 
 I have a servlet, Hungry, which wants to process all requests which
 extend a given prefix.  No problem in
 tomcat.  I add the following stanza to my webapps web.xml
 
 servlet-mapping
   servlet-nameHungry/servlet-name
   url-pattern/Hungry/*/url-pattern
 /servlet-mapping
 
 When I use tomcat in apache this doesn't have the desired effect even
 though I include
 mod_jk.conf-auto.  Things are OK if the request path is forwarded to
 tomcat: Hungry gets
 /context/Hungry/xyz.jsp; however, according to the tomcat 
logs, tomcat
 never sees a request for
 /context/Hungry/xyz.
 
 If I use port 8080 (i.e. tomcat) directly, Hungry  gets /Hungry/xyz.
 
 I believe I can fix this by adding 
  JkMount /context/Hungry/* ajp12 
 to the mod_jk.conf-auto file, however, I'd rather just use the auto
 generation facility.
 
 Can anyone help me with this?

Well, this kind of issue has come up here before, and the solution
does seem to be what you are suggesting, i.e. adding an appropriate
JkMount directive to the tomcat/apache conf file to make sure apache
passes the request to tomcat.

As to having it be in the conf-auto file, I don't really know about
that, but generally the recommendation here has been to use that file
as a model for your real one, i.e. copying it and editing it to suit
your needs, and including the modified one in the apache conf file.
It would be nice if there were some way to specify that such things be
included in the conf-auto file, but I don't know that one currently
exists.

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]




apache internal server error: problem with servlet initialization?

2001-04-05 Thread Rui M . Silva Seabra

Hello,

   I am running apache 1.3 and tomcat 3.2.1, and I have a problem I can't seem to 
resolve and thus I am in need of help.

   Ever when I start tomcat, it seems like the servlets need to be called some three 
or four times in order to start running. Until they start, apache just returns 
Internal Server Error.

   I have tried to use (in httpd.conf I have JkMount /cgi-bin/* ajp13) the 
load-on-startup flag, but although tomcat says it initializes the servlet, the 
problem persists.

So web.xml looks like this: (servlets renamed, and I selected just two of them)

  servlet
servlet-nameServlet1/servlet-name
servlet-classcom.pany.servlets.Servlet1/servlet-class
load-on-startup1/load-on-startup
  /servlet
  servlet-mapping
servlet-nameServlet1/servlet-name
url-pattern/cgi-bin/Servlet1/url-pattern
  /servlet-mapping

  servlet
servlet-nameServlet2/servlet-name
servlet-classcom.pany.servlets.Servlet2/servlet-class
load-on-startup2/load-on-startup
  /servlet
  servlet-mapping
servlet-nameServlet2/servlet-name
url-pattern/cgi-bin/Servlet2/url-pattern
  /servlet-mapping


tomcat.log:

(...)

2001-04-05 08:10:45 - Ctx( site.multicert.com: ): Loading 1 Servlet1
2001-04-05 08:10:46 - Ctx( site.multicert.com: ): Loading 2 Servlet2

And the respective for the remaining 5 servlets, always with an increasing 
load-on-startup integer.

This is problematic, specially since we don't need any of this (and everything works 
fine) on a Win2000 with IIS, tomcat 3.2.1 and jdk 1.3.

I just tried that to check it out, because I am not using Win2000 on production 
servers, period.

But the behaviour I have on a Linux RH 6.2 with the same jdk and tomcat, and apache 
1.3.19 is not tolerable :( I cannot go after each servlet and reload it until it 
starts working.

What can I be doing wrong?

I look forward to hearing from you soon,

Rui

-- 
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Ghandi
+ So let's do it...?

 PGP signature


java process question

2001-04-05 Thread Pete Wright


Hey all,
 I've got apache 1.3.19 running with tomcat 3.2.1
on debian/gnu linux
(potato). everything went great with the install!
ok got a quick question here tho, i start tomcat then do a ps -A to
make
sure it's running and notice that i have *a*lot* of java process'
running (47 to be exact). now i'm pretty sure that each one of
these is not a
whole new process that's started, i assume it's threads listening for
requests. this is the output from a 'ps -aux' for each
of those 47 instances:
/usr/lib/j2sdk1.3/bin/i386/native_threads/java -Dtomcat.home=/usr/local/jakarta-tomcat/dist/tomcat/bin/..
org.apache.tomcat.startup.Tomcat
this is for a development machine that's pretty
underpowered so obviously i'd love the conserve resources. should
i even worry about all that java stuff?
thanks in advance!
pete


--
Pete Wright
Systems Administrator
Black Hammer Productions

[EMAIL PROTECTED]
wk: 212.625.8980 x23
cell: 917.415.9866



Re: java process question

2001-04-05 Thread Rui M . Silva Seabra

On Thu, Apr 05, 2001 at 03:17:40PM -0400, Pete Wright wrote:
 this is for a development machine that's pretty
 underpowered so obviously i'd love the conserve resources.  should i
 even worry about all that java stuff?

I think they're threads, but if you have low power machines, mayhap you should not use 
servlets at all?

Yours, rms

-- 
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Ghandi
+ So let's do it...?

 PGP signature


Re: java process question

2001-04-05 Thread Pete Wright


yea i thought they were threads. i suppose my question was if all
47 were necc. and if not could i lower the amount of them.
pete
"Rui M . Silva Seabra" wrote:
On Thu, Apr 05, 2001 at 03:17:40PM -0400, Pete Wright
wrote:
> this is for a development machine that's pretty
> underpowered so obviously i'd love the conserve resources.
should i
> even worry about all that java stuff?
I think they're threads, but if you have low power machines, mayhap
you should not use servlets at all?
Yours, rms
--
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Ghandi
+ So let's do it...?
 
 Part 1.2Type: application/pgp-signature

--
Pete Wright
Systems Administrator
Black Hammer Productions

[EMAIL PROTECTED]
wk: 212.625.8980 x23
cell: 917.415.9866



Directory traversal exploit - Any fix/workaround?

2001-04-05 Thread Bill . Francis

Hi all,
Is there any workaround for the recently announced exploit that exposes
directory listings using tomcat?
exploits: http://target:8080/%2e%2e/%2e%2e/%00.jsp
It is possible to cause the Tomcat server to Listing outside the document
root directory scope.
I do not use JSP, so if disabling JSP support in Tomcat is the answer, can I
do that? If so how?

Thanks,
Bill




please remove from list

2001-04-05 Thread Seurien Chou

Please remove me from the tomcat user mailing list.  thank you in advance
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Virtual Hosting with Tomcat

2001-04-05 Thread Brandon Cruz

I am hosting several sites on a linux machine with an apache webserver.  I
want to use tomcat as a servlet/JSP engine.  Upon reading some
documentation, I have found that their suggested way of linking to virtual
hosts on apache is to create a separate instance of a JVM for each virtual
host.  Can this be correct, and has anyone done anything similar to this
that can provide me with some knowledge on how well it works and any other
alternatives I may have if it doesn't work well?

Thanks!


Brandon




about the auto-reloading of jakarta-tomcat-4.0-b2(3)

2001-04-05 Thread Bo Xu

Hi :-)

when I use jakarta-tomcat-4.0-b1, I can use the auto-reloading ,
but when I use jakarta-tomcat-4.0-b2 and jakarta-tomcat-4.0-b3,
just from my work, I find I can not use auto-reloading. I have already
set reloadable="true" in server.xml, and other setting is similar with
TC4.0-b1, and I use "standalone+JDK1.3+winnt40".

- do I miss some setting in server.xml/web.xml or other with TC4.0-b2(3)?
- does anybody meet the same problem?

Thanks in advance!


Bo
mar.05, 2001






RE: Fuzzy Math

2001-04-05 Thread Jeff Crawford

Is anyone running the below (Solaris/JDK 1.2.2_006 or _007) environment that
could test our JSP (also below)?  It would be a *huge* help to test this in
a similar environment.

Thanks again!

Jeff

-Original Message-
From: Jim Cheesman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 1:32 AM
To: [EMAIL PROTECTED]
Subject: Re: Fuzzy Math


At 10:49 PM 4/4/2001, you wrote:
 'Fuzzy math' does *not* occur when:
 a.  running Tomcat 3.2.1 with JDK1.2.2_006 (green_threads);
 b.  on JavaWebServer2.0 running JDK 1.2.2_006 (green *or* native
threads) in the *same* OS environment as Tomcat, or in its own slightly
different Solaris 7 patch level environment.

 I would greatly appreciate if someone could test this JSP on their
system.

 Thanks!


Runs fine on win2000, tomcat 3.2, jdk1.3


Jim


-Original Message-
From: Joe Laffey [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 3:03 PM
To: Jeff Crawford
Cc: '[EMAIL PROTECTED]'
Subject: Re: Fuzzy Math


This script works fine under Rh 6.2 Apache 1.3.19 mod_jk JDK 1.3_fcs
Tomcat 3.2


Joe Laffey
LAFFEY Computer Imaging
St. Louis, MO
--
Need to do multi-file string replacement in Un*x, but don't want to mess
with sed? Try rpl. It's a free text replacement utility with source.
http://www.laffeycomputer.com/rpl.html  -- Check it out!



-Original Message-
From: Jeff Crawford [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 2:50 PM
To: '[EMAIL PROTECTED]'
Subject: Fuzzy Math


Hi all,

George Bush just might call it just another example of "Al Gore's
Fuzzy Math." We are experiencing bizarre bad math in a JSP (included below
and enclosed).  Our environment is as follows:

Solaris 7
Tomcat 3.2.1
Apache 1.3.19
JDK1.2.2_006 or _007 (native_threads)

The bad math is occuring in a variable called 'temp'.  In the
enclosed JSP (aptly named, "fuzzy_math.jsp"), we simply echo the variable
'temp' three times in the JSP.  It correctly echos the calculated values of
the variable for 10 reloads.  But if you reload the JSP 1 more time (for a
total of 11 reloads), the third echo of the 'temp' variable (labeled
'temp3') _will change_ from the correct mathmatical value (of 102) to an
incorrect value (5)!  (The mathematical value of the first two instances
('temp1' and 'temp2') are always correct.)  Again, this bizarre behavior
only occurs on the 11th reload (and remains at the incorrect number
indefinitely).

---This 'fuzzy math' does *not* occur with JDK1.2.2_006
(green_threads) (in the same above environment).---
 
Here is the code (also enclosed).  "temp3: %= temp + 2 %; Should
be 102; br" is the problematic line.)
--
%@ page language="java" %
%!
final int firstTimeOffset = 5;
double minuteWidth; // Adjust value via hourWidth.
%
%  // Instance variables (will be created for each servlet call)
long temp = 10;
long start = 20; // minutes after midnight
long duration = 50;
minuteWidth = 2;
%
html
head
meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1"
/head
body bgcolor="#FF" link="00" vlink="#00"
alink="fcc470"
%
temp = (long) (firstTimeOffset + (start * minuteWidth));
%
 temp1: %= temp %; Should be 45. br
%
temp = (long) (duration * minuteWidth); 
%
temp2: %= temp %; Should be 100. br
temp3: %= temp + 2 %; Should be 102; br
/body
/html
--

Details Summary:

Fuzzy math occurs when:
a.  using JDK1.2.2_006 (native_threads) or JDK 1.2.2_007
(native_threads);
b.  standalone Tomcat 3.2.1 (in the above environment) unaltered
downloaded binary

'Fuzzy math' does *not* occur when:
a.  running Tomcat 3.2.1 with JDK1.2.2_006 (green_threads);
b.  on JavaWebServer2.0 running JDK 1.2.2_006 (green *or* native
threads) in the *same* OS environment as Tomcat, or in its own slightly
different Solaris 7 patch level environment.  

I would greatly appreciate if someone could test this JSP on their
system.

Thanks!

Jeff Crawford
Boulder, CO

 fuzzy_math.jsp 
Peer Digital, Inc.
Jeff Crawford
Configuration Manager
Senior Software Engineer
4001 Discovery Drive  Suite 270 
Boulder, CO 80303 
Direct:  303 544-7547
Main:  303 415 3550 
Fax:  303 415 3540 
www.peerdigital.com


 




RE: Tomcat 4 in Apache 1.3

2001-04-05 Thread GOMEZ Henri

Tomcat 4 has the ability to un/deploy web apps on the fly 
(i.e. without 
restarting Tomcat).  Does anyone know what implications this has on 
Apache.  In Tomcat 3 mod_jk.conf was used to create maps 
between Apache and 
your Tomcat webapps.   This can only be done at Apache runtime 
however as 
Apache does not allow for these types of mappings on a dynamic 
basis.  So 
how does Apache and Tomcat 4 work together in terms of the un/deploy 
technologies?  Has anyone tried this?  Dose mod_webapp take 
care of this in 
some manner?

I proposed to start load/unload of webapp system ported to mod_jk,
using a more advance protocol, ajp13++ (ajp14?).

But since there is no reaction, I may start ajp13++ on my side ;(



Re: Fuzzy Math

2001-04-05 Thread Dave Weis

Jeff Crawford wrote:
 
 Is anyone running the below (Solaris/JDK 1.2.2_006 or _007) environment that
 could test our JSP (also below)?  It would be a *huge* help to test this in
 a similar environment.


I tried it on Solaris 2.6 with Tomcat 3.2.1, I think the JDK version is
1.3, and got the correct answers.

dave

-- 
Dave Weis
businessolver, Inc.
[EMAIL PROTECTED]
http://www.businessolver.com/



unsubscribe me

2001-04-05 Thread Gottwald, Oliver

Please unsubscribe me



RE: Header lines appearing in body after redirect with IIS.

2001-04-05 Thread Jacob Shukert

Hi Shanti,

That worked!  Thank you very much.

Jacob Shukert
[EMAIL PROTECTED]
(703) 341-2751, VNET 235-2751
Source Systems Development
MCI WorldCom

-Original Message-
From: Guntupalli Shanti [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 2:56 PM
To: [EMAIL PROTECTED]
Subject: Re: Header lines appearing in body after redirect with IIS.


Hi Jacob,

I had the same problem...but only with IE, with Netscape it was fine.
In my case, the connection was kept alive and the output is
appended to the response buffer whenever I use sendRedirect method.
I added the following line to my code before reading anything
from response object (best place would be at the beginning of the Service
method).

response.setHeader("Connection","close")

I don't know if this is of any help in your case as the Connection appears
to be closed
from the Headers you have given

Cheers,
Shanti

At 02:40 PM 4/5/2001 -0400, you wrote:
Hi,

After I changed to using IIS instead of Tomcat's built-in web server, I
encountered the following problem:

I request a web page that redirects to a second web page after writing some
output.  The resulting web page contains this initial output plus the
following header fields plus the web page that I was redirected to:

HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Thu, 05 Apr 2001 18:19:38 GMT
Connection: close
Content-Type:text/html
Pragma:no-cache
Cache-Control:no-cache
Expires:Thu, 01 Jan 1970 00:00:00 GMT
Servlet-Engine:Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.2.2;
Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)


I know that I can't write output before redirecting, but the output should
have stayed in the buffer and then been cleared when I tried to redirect.
This is what appears to be happening with Tomcat's built-in web server, in
which case everything appears to be ok.  In any case, I think I would have
gotten an error if I had sent the output back to the client before
redirecting.  I tried setting the %@page buffer="64k"% (or "64kb"), but
this didn't do anything and I know that I didn't have 64k of text in the
buffer.

Has anyone else encountered anything similar to this?

Thank you for any help.


Jacob Shukert
[EMAIL PROTECTED]
(703) 341-2751, VNET 235-2751
Source Systems Development
MCI WorldCom




Re: trouble compiling mod_jk.so wih Apache 1.3.19 and SunOs 5.8

2001-04-05 Thread Ed Gomolka

At 02:46 PM 4/5/01 -0400, Hong-Bing Chen wrote:
Hi,
I am trying to compile tomcat-apache plugin for Solaris and it fails. The 
versions are Apache 1.3.19, SunOs 5.8 and Perl 5.6.0.

The error message is :
"gcc -DSOLARIS -DUSE_EXPAT -I../lib/expat-lite -I/usr/apache1.3.19/include 
-I../common -I/usr/java1.3/j2sdk1_3_0/include
-I/usr/java1.3/j2sdk1_3_0/include/solaris -c mod_jk.c -o mod_jk.so 
mod_jk.o jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o jk_pool.o 
jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o jk_jni_worker.o 
jk_connect.o jk_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o -lposix4
apxs:Break: Command failed with rc=16777215
Error with apxs"

I have searched faq and archive, and could not find any answer.
Could somebody point out the problem? Any help is appreciated.

Hong-Bing Chen
You need to look at both the apxs Perl script, and your command.
When Apache is installed, the apxs perl script is configured based on the 
machine environment. Unfortunately,
in the case of Solaris, if you're using gcc, it probably didn't get the 
values right.
Here is an excerpt from my apxs script for Solaris 5.7 with gcc.. The items 
that are commented out reflect original values that I had to change.

##  Configuration
##
#my $CFG_CC= 'cc';# substituted via Makefile.tmpl
#my $CFG_CFLAGS_SHLIB  = '-KPIC -DSHARED_MODULE';  # substituted via 
Makefile.tmpl
#my $CFG_LD_SHLIB  = 'ld';  # substituted via Makefile.tmpl
#my $CFG_LDFLAGS_SHLIB = '-G'; # substituted via Makefile.tmpl

my $CFG_TARGET= 'httpd';# substituted via Makefile.tmpl
my $CFG_CC= 'gcc';# substituted via Makefile.tmpl
my $CFG_CFLAGS= ' -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite 
`../apaci`';# substituted via Makefile.tmpl
my $CFG_CFLAGS_SHLIB  = '-fPIC -DSHARED_MODULE';  # substituted via 
Makefile.tmpl
my $CFG_LD_SHLIB  = 'gcc';  # substituted via Makefile.tmpl
my $CFG_LDFLAGS_SHLIB = '-G'; # substituted via Makefile.tmpl
my $CFG_LIBS_SHLIB= '';# substituted via Makefile.tmpl

==
Here is my command to execute the apxs script:
/usr/local/apache/bin/apxs -o mod_jk.so -c  -I /usr/java/include -I 
/usr/java/include/solaris -I ../jk -DSOLARIS -l posix4 *.c ../jk/*.c



Good luck.


Ed






virtual hosting with tomcat and apache

2001-04-05 Thread Brandon Cruz

I sent a message a while ago, but don't think it went though.  Basically, I
am using Tomcat as a servlet/jsp engine for a site that uses Apache as the
webserver.  Only problem is that I am on one server with several virtual
host directories.  I want to be able to put .jsp files into each vhost
directory.  Has anyone done anything like this with either tomcat or some
other product that can plug into apache and serve jsp's and servlets?  Any
help or tips would be greatly appreciated!!!

Thanks!

Brandon




Problem starting Tomcat

2001-04-05 Thread H.F.N. den Boer

It seems I've a last problem with configuring and starting Tomcat.

Tomcat 3.2.1 running on Win2k (build 5.00.2195) with IIS 5.0

The isapi filter is installed and works properly.
However, when using startup.bat, Tomcat tries to start in a new window.
In a flash, I see approx. 2 lines appearing in the Tomcat (JVM) window.
Then the window closes.

Don't know what the problem is here.
In the enclosed .zip, the isapi.log and relevant conf files.

Who can suggest a place to look for a solution ?

Kind regards,
Nico den Boer

den Boer IMS
Azaleastraat 8
4651 LB  Steenbergen (NB)
The Netherlands
Tel.: +31 (0)167 - 560831
Fax: +31 (0)167 - 560100
Mob.: +31 (0)6 - 28773808
Email: [EMAIL PROTECTED]
Site: http://www.denboer-ims.nl

 conf.zip


  1   2   >