RE: I don´t understand the objective of this open list !

2002-12-09 Thread Michael Weissenbacher
if you don't get answers i suggest you to take a look at this great text
http://www.tuxedo.org/~esr/faqs/smart-questions.html
it's How To Ask Questions The Smart Way by Eric Steven Raymond and i think
it does apply here

regards
mw
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Monday, December 09, 2002 8:40 AM
  To: [EMAIL PROTECTED]
  Subject: I don´t understand the objective of this open list !
  
  
  In 3 opportunities i wrote to this stuped (sorry) list, and 
  NEVER i found help. 
  I hope that the people that participates of this list, don´t 
  have damages about 
  other people that don´t belong´s at your countries.
  Thank´s for NOTHING.
  
  
  --
  To unsubscribe, e-mail:   
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
  mailto:[EMAIL PROTECTED]
  
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 

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

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




AW: NIGHTMARE

2002-04-08 Thread Michael Weissenbacher

maybe it would be more constructive if you told us what went wrong for you
instead of posting such a crap

-Ursprüngliche Nachricht-
Von: Árni Arent [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 08. April 2002 15:23
An: [EMAIL PROTECTED]
Betreff: NIGHTMARE


Your software, Tomcat, is a nightmare to install. I've spent 2 WHOLE days
trying to make it work without success.

Endless configuration files, paths, etc. making this a impossible software
to use. I doubt I'm the only one who has complaint.

I won't use this crap, I'm switching to PHP, took me 5 minutes to figure
that out.

 || |||  

   Árni Arent Guðlaugsson
   Forritari og Autonomy sérfræðingur
   Íslandsvefir ehf.
   Thorvaldsensstræti 4
   101 Reykjavík / Iceland
   --
   Tel: +354 552 6300
   Fax: +354 552 6302
   E-mail: [EMAIL PROTECTED]
   http://www.islandsvefir.is/
   http://www.ha.is/

   Bættu ha.is á vefsíðuna þína:
   http://www.ha.is/almennt/tenging.asp

|| |||  


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

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




AW: Tomcat and JDK 1.1.8

2002-03-15 Thread Michael Weissenbacher

sorry, afaik, tomcat is only compatible with jdk=1.2
i think you can use jserv with gnujsp for jsp's, but i have never tried that

michael

-Ursprüngliche Nachricht-
Von: Mario Alberto Haza Treviño [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 15. März 2002 19:07
An: [EMAIL PROTECTED]
Betreff: Tomcat and JDK 1.1.8


We have a java application that run under JDK 1.1.8 on Solaris and OAS.

Right now we're planning to put jsps that access some java beans from
that application using Tomcat.

Our production environment will be Solaris 2.7 and our tests environment
will be Red Hat Linux (could be 6.2, 7.1 or the one that we are using
7.2).

The question is: which version of tomcat /apache is compatible with JDK
1.1.8?

I know it's up to date but it very difficult to us to migrate to a newr
version of JDK.

--
Mario Haza
Jefe de Internet / MultiPack
5230-8970 ext. 2787
www.multipack.com.mx



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

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




AW: apache or tomcat

2002-02-05 Thread Michael Weissenbacher

just to add my experience:
after much time spent on unsuccessful installation/compilation of mod_webapp
for tomcat 4, i've moved to using the mod_jk connector from tomcat 3.3 for
tomcat 4 and it works great with apache. maybe mod_webapp will become better
but at the moment it is unusable for me because it just crashes my apache
with a segmentation fault.

michael

Gang Wu wrote:
 
 Hi,
 
 I'm choosing between 2 solutions.
 1. Apache as web server with SSL config, tomcat as servlet container
 2. Tomcat as both web server and servlet container with SSL config.
 
 I do need some help to distiguish those 2 solutions. does tomcat as web
 =
 server have any obvious disadvantages?
 
 regards
 
 Gang

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

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




tomcat startup script (AW: Auto starting Tomcat during boot?)

2002-01-10 Thread Michael Weissenbacher

i've already mailed this before. this is a tomcat startup/shutdown/control
script. place it in /etc/init.d and place a symbolic link S99tomcat to it
under /etc/inid.d/rc3.d (and probably rc5.d if you start graphical) for
startup and a symbolic link K99tomcat for stopping tomcat on shutdown. don't
forget to set it executable. edit the variables in the beginning of the
script to match your path and your port settings. specify a user under which
tomcat will be started (normally user tomcat).
then insert the line:
START_TOMCAT=yes
in /etc/rc.config
(note: script tested only with SuSE Linux 7.x but should work elsewhere
without problems)

have fun!
michael

-Ursprüngliche Nachricht-
Von: Nelson Yip [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 10. Jänner 2002 19:51
An: [EMAIL PROTECTED]
Betreff: Auto starting Tomcat during boot?


Hi,
 
I've just installed Tomcat 4.0.1 on my Red Hat 7.2 Linux box.
Everything works fine but Tomcat won't auto start after a reboot.
 
I added a symbolic link to the Catalina.sh file in my rc3.d level.
 
ln -s /usr/local/bin/tomcat/bin/Catalina.sh S99tomcat
 
Am I doing something wrong?
 
Thanks
Nelson




tomcat
Description: Binary data

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


AW: tomcat startup script (AW: Auto starting Tomcat during boot?)

2002-01-10 Thread Michael Weissenbacher

well it should work but if you can avoid it, don't run a program as root.
also my script has a function to wait for the server to successfully stop
before the next start. i had problems with machines shutting down and
killing tomcat before it did all of it's clean up (which may be important,
depending on which servlets you use).

michael

-Ursprüngliche Nachricht-
Von: Nelson Yip [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 10. Jänner 2002 20:52
An: 'Tomcat Users List'
Betreff: RE: tomcat startup script (AW: Auto starting Tomcat during
boot?)


I was wondering why you can't just add a symbolic link in the rc3.d
point to Catalina.sh, startup.sh or shutdown.sh.  I tried linking those
files but it still doesn't work after I restarted the server?
But I will give your script a try.

Thanks
Nelson

-Original Message-
From: Michael Weissenbacher [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, January 10, 2002 2:41 PM
To: 'Tomcat Users List'
Subject: tomcat startup script (AW: Auto starting Tomcat during boot?)

i've already mailed this before. this is a tomcat
startup/shutdown/control
script. place it in /etc/init.d and place a symbolic link S99tomcat to
it
under /etc/inid.d/rc3.d (and probably rc5.d if you start graphical) for
startup and a symbolic link K99tomcat for stopping tomcat on shutdown.
don't
forget to set it executable. edit the variables in the beginning of the
script to match your path and your port settings. specify a user under
which
tomcat will be started (normally user tomcat).
then insert the line:
START_TOMCAT=yes
in /etc/rc.config
(note: script tested only with SuSE Linux 7.x but should work elsewhere
without problems)

have fun!
michael

-Ursprüngliche Nachricht-
Von: Nelson Yip [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 10. Jänner 2002 19:51
An: [EMAIL PROTECTED]
Betreff: Auto starting Tomcat during boot?


Hi,
 
I've just installed Tomcat 4.0.1 on my Red Hat 7.2 Linux box.
Everything works fine but Tomcat won't auto start after a reboot.
 
I added a symbolic link to the Catalina.sh file in my rc3.d level.
 
ln -s /usr/local/bin/tomcat/bin/Catalina.sh S99tomcat
 
Am I doing something wrong?
 
Thanks
Nelson



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

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




RE: JNDIRealm and Interbase - step 3

2001-12-19 Thread Michael Weissenbacher

you must be sure that interserver is started and responding (try telnet
localhost 3060 to test it). interserver is the server-side part of
interclient.
i'm afraid i've never used interbase with JDBCRealm so i cannot give you
advice for that

michael

-Original Message-
From: Diego Novati [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 11:47 PM
To: Tomcat Users List
Subject: Re: JNDIRealm and Interbase - step 3


Hi falks !
I solved the problem of step 2 copying interclient.jar in
$CATALINA\common\lib and now I'm able to start Tomcat again.
Now ther's the last problem: calling

http://localhost:8080/manager/list

I'm getting a HTTP 500 - Internal server error and in the catalina_log I
have the following exception error:

2001-12-18 23:34:55 HttpProcessor[8080][4] process.invoke
java.lang.NullPointerException
 at
interbase.interclient.PreparedStatement.setString(PreparedStatement.java:979
)
 at org.apache.catalina.realm.JDBCRealm.credentials(JDBCRealm.java:484)
 at org.apache.catalina.realm.JDBCRealm.authenticate(JDBCRealm.java:376)
 at org.apache.catalina.realm.JDBCRealm.authenticate(JDBCRealm.java:326)
 

Anyting to suggest ?

Is tehre someone who was able to use Interbase with Tomcat for JDNRRealm ?

Thanks

Diego

- Original Message -
From: Diego Novati [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, December 18, 2001 11:19 PM
Subject: Re: JNDIRealm and Interbase - step 2


 Hi,
 thanks for your tips.
 I downloded and installed Firebird InterClient 2.01 and corrected '\' with
 '/'.
 The problem is that nothing has changed 

 Realm className=org.apache.catalina.realm.JDBCRealm
  driverName=interbase.interclient.Driver
  connectionName=SYSDBA
  connectionPassword=masterkey
  connectionURL=jdbc:interbase://localhost/C:/Program
 Files/Apache Group/Tomcat 4.0/DBUsers/DBUSERS.GDB
  userTable=USERS userNameCol=USER_NAME
 userCredCol=USER_PASS
  userRoleTable=USER_ROLES roleNameCol=ROLE_NAME/

 and here's the exception:

 Starting service Tomcat-Standalone
 Apache Tomcat/4.0
 Catalina.start: LifecycleException:  Exception opening database
connection:
 java.sql.SQLException: interbase.interclient.Driver
 LifecycleException:  Exception opening database connection:
 java.sql.SQLException: interbase.interclient.Driver
 at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:615)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
 at
 org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
 at
 org.apache.catalina.core.StandardService.start(StandardService.java:388)
 at
 org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:218)

 Any ideas ?

 Thanks

 Diego

 - Original Message -
 From: Michael Weissenbacher [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Sent: Tuesday, December 18, 2001 10:30 PM
 Subject: RE: JNDIRealm and Interbase


  beware of interclient 2.0, it has some serious memory leak. i advice you
 to
  you firebird 1.0.0 rc1 instead of interbase6 open source, it has fixed
 many
  bugs of the original borland open source version. look at
  http://firebird.sourceforge.net/ where you can also get interclient 2.01
  without the memory leak.
  and it's possible to simply use / instead of \\ for the connection url
in
  winnt.
 
  michael
 
  -Original Message-
  From: Guido Medina [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, December 18, 2001 10:13 PM
  To: 'Tomcat Users List'
  Subject: RE: JNDIRealm and Interbase
 
 
  Yes, it is a Java String problem, remember (again) that tomcat is made
in
  java and a JVM is running, so instead of put \ you MUST put \\,
that's
  it.
 
  Guido
 
  -Original Message-
  From: Diego Novati [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, December 18, 2001 5:13 PM
  To: Tomcat Users List
  Subject: JNDIRealm and Interbase
 
 
  Hi,
  I need to use Interbase 6.0 OpenEdition with JNDIRealm.
  Using InterClient 1.6 Tomcat start but throws an Exception during the
  Authentication; using InterClient 2.0 I'm not able to start Tomcat. Is
 there
  anyone who is able to use Interbase ?
 
  Tomcat 4.0.1
  Interbase 6.0
  InterClient 1.6/InterClient 2.0
 
  server.xml:
  
   Realm className=org.apache.catalina.realm.JDBCRealm
   driverName=interbase.interclient.Driver
   connectionName=SYSDBA
   connectionPassword=masterkey
   connectionURL=jdbc:interbase://localhost/C:\Program
  Files\Apache Group\Tomcat 4.0\DBUsers

RE: JNDIRealm and Interbase

2001-12-18 Thread Michael Weissenbacher

beware of interclient 2.0, it has some serious memory leak. i advice you to
you firebird 1.0.0 rc1 instead of interbase6 open source, it has fixed many
bugs of the original borland open source version. look at
http://firebird.sourceforge.net/ where you can also get interclient 2.01
without the memory leak.
and it's possible to simply use / instead of \\ for the connection url in
winnt.

michael

-Original Message-
From: Guido Medina [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 10:13 PM
To: 'Tomcat Users List'
Subject: RE: JNDIRealm and Interbase


Yes, it is a Java String problem, remember (again) that tomcat is made in
java and a JVM is running, so instead of put \ you MUST put \\, that's
it.

Guido

-Original Message-
From: Diego Novati [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 5:13 PM
To: Tomcat Users List
Subject: JNDIRealm and Interbase


Hi,
I need to use Interbase 6.0 OpenEdition with JNDIRealm.
Using InterClient 1.6 Tomcat start but throws an Exception during the
Authentication; using InterClient 2.0 I'm not able to start Tomcat. Is there
anyone who is able to use Interbase ?

Tomcat 4.0.1
Interbase 6.0
InterClient 1.6/InterClient 2.0

server.xml:

 Realm className=org.apache.catalina.realm.JDBCRealm
 driverName=interbase.interclient.Driver
 connectionName=SYSDBA
 connectionPassword=masterkey
 connectionURL=jdbc:interbase://localhost/C:\Program
Files\Apache Group\Tomcat 4.0\DBUsers\DBUSERS.GDB
 userTable=USERS userNameCol=USER_NAME
userCredCol=USER_PASS
 userRoleTable=USER_ROLES roleNameCol=ROLE_NAME/
   

Interbase:

CREATE TABLE USERS
(
  USER_NAME VARCHAR(15) NOT NULL,
  USER_PASS VARCHAR(15) NOT NULL,
CONSTRAINT USERSPRIMARYKEY PRIMARY KEY (USER_NAME)
);

CREATE TABLE USER_ROLES
(
  USER_NAME VARCHAR(15) NOT NULL,
  ROLE_NAME VARCHAR(15) NOT NULL,
CONSTRAINT USER_ROLESPRIMARYKEY PRIMARY KEY (USER_NAME, ROLE_NAME)
);

Can you help me ?

Thanks

Diego Novati


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

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




little tomcat startup script

2001-12-17 Thread Michael Weissenbacher

after playing around with startup scripts on my suse linux 7.2 box i finally
got tomcat to start as an linux service. i thought somebody may be
interested in the script that's why i post it here. it can easily be placed
under /etc/init.d, then create symlinks to it in rc3.d and rc5.d like
S99tomcat and K99tomcat.
the script supports the commands start, stop, restart and status
you will have to configure the script to match your directory and port
settings. it's quite self-expaining.

have fun with tomcat, it rocks!

michael




tomcat
Description: Binary data

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


RE: running two tomcat servers

2001-11-29 Thread Michael Weissenbacher

i don't know why this info is not on the tomcat4 documentation site, but
here is info how to do tc4mod_jkajp13
http://jakarta.apache.org/~hgomez/ajp13-tc4.0/

regards
michael weissenbacher

Net4You, a VIA NET.WORKS Company
==
Michael Weissenbacher - Net4You OASE
Tiroler Straße 80, 9500 Villach
Tel.:+ 43 (0) 4242 - 5005 - 400
Fax: + 43 (0) 4242 - 50055
mailto:[EMAIL PROTECTED]
==

-Original Message-
From: Lauer, Oliver [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 2:18 PM
To: 'Tomcat Users List'; '[EMAIL PROTECTED]'
Subject: AW: running two tomcat servers


Due to the warp-connector doesn't support loadbalacing at the moment and
isn't too stable could you please post here where I can find some doc
concerning connecting TC4.0 with Apache1.3 using the ajp ? 

Thanks in advance
Oliver 

 AXA eSolutions GmbH
 AXA Konzern AG Germany
 Oliver Lauer 
 Web Architect
 Wörthstraße 34
 D-50668 Köln
 Germany
 Tel.: +49 221 148 31277
 Fax: +49 221 148 43963
 Mobil: +49 179 59 064 59
 e-Mail: [EMAIL PROTECTED]
 _
 


-Ursprüngliche Nachricht-
Von: Arnaud Héritier [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 29. November 2001 13:40
An: 'Tomcat Users List'
Betreff: RE: running two tomcat servers


you should define in the workers.properties one worker for each tomcat
server.
by default there are 2 workers (ajp12, ajp13).
You must define for exemple ajp13_server1 and ajp13_server2 helping you with
the ajp13 definition example.

worker.list=ajp12, ajp13, ajp13_server1, ajp13_server2

#
# Defining a worker named ajp13_server1 and of type ajp13_server1
# Note that the name and the type do not have to match.
#
worker.ajp13_server1.port=port server 1
worker.ajp13_server1.host=localhost
worker.ajp13_server1.type=ajp13_server1
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#   lbfactor must be  0
#   Low lbfactor means less work done by the worker.
worker.ajp13_server1.lbfactor=1

#
# Specify the size of the open connection cache.
#worker.ajp13_server1.cachesize

#
# Defining a worker named ajp13_server2 and of type ajp13_server2
# Note that the name and the type do not have to match.
#
worker.ajp13_server2.port=port server 2
worker.ajp13_server2.host=localhost
worker.ajp13_server2.type=ajp13_server2
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#   lbfactor must be  0
#   Low lbfactor means less work done by the worker.
worker.ajp13_server2.lbfactor=1

#
# Specify the size of the open connection cache.
#worker.ajp13_server2.cachesize


then in your mod_jk.conf file you must use the appropriate worker with each
web app using  somethng like that :
...
JkMount /path/servlet/* ajp13_server1
JkMount /path/*.jsp ajp13_server1
...
...
JkMount /path/servlet/* ajp13_server2
JkMount /path/*.jsp ajp13_server2
...


Arno

 -Message d'origine-
 De:   Sumith Ail [SMTP:[EMAIL PROTECTED]]
 Date: jeudi 29 novembre 2001 13:26
 À:[EMAIL PROTECTED]
 Objet:Re: running two tomcat servers 
 
 Hello
 
 Thanx for the response.
 I played some more with the conf files and was able to
 start two tomcat instance as separate users.
 
 I need to integrate both of them with Apache web
 server. How to differentiate on which instance to use
 to serve certain context if I use mod_jk with ajp13
 protocol.
 
 Thank you for all your support
 
 Regards
 Sumith 
 
 
  Hi,
  
  I am running two tomcat instances on my machine --
  sometimes I 
  run three.  What sort of problems are you having?  I
  only integrate one 
  of the instances with the web server, the other
  one(s) I access 
  directly by going to the port number assigned to
  them.
  
  Like I said, I am doing it with no problems, just
  have to make 
  sure that the port numbers are different in the
  different server.xml 
  files (I keep all of them separate, so they're all
  running out of 
  different directories).
  
  
  Brendan
  -- 
  Brendan McKennaEmail:
  [EMAIL PROTECTED]
  Development Strategist Phone: +353-61-338177
  Taringold Ltd. Fax:   +353-61-338065
  
  
 
 
 __
 Do You Yahoo!?
 Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
 http://geocities.yahoo.com/ps/info1
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


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



Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene
Information nicht rechtsverbindlich. Eine rechtsverbindliche

RE: Tomcat 3.2.3 and Linux JDK 1.3.1

2001-11-19 Thread Michael Weissenbacher

i've stopped using the sun jdk on linux and i am using the ibm jdk now
because it has far better performance and i didn't expience any lockup
problems with it.

michael

-Original Message-
From: David Wall [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 10:59 PM
To: Tomcat Users List
Subject: Tomcat 3.2.3 and Linux JDK 1.3.1


Have people found any problems running Tomcat 3.2.3 on JDK 1.3.1?  We found
that Tomcat seemed to get locked up under JDK 1.3.1 on Linux, but when
reverting back to 1.3.0, the problem does not appear.

Does anybody have any experience or know what's happening?  It sure would be
a pain to discover that Tomcat won't run reliably under a released JDK.

Thanks,
David


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

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




RE: Tomcat 3.2.3 and Linux JDK 1.3.1

2001-11-19 Thread Michael Weissenbacher

well, i tried this already. it didn't get me rid of the segmentation faults
on one machine (suse linux 6.3). and why use sun when ibm is about 100%
faster :)
 
michael
-Original Message-
From: Kwan, Kenneth Y [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 7:11 AM
To: Tomcat Users List
Subject: RE: Tomcat 3.2.3 and Linux JDK 1.3.1



try ulimit -s 2048 

-Original Message- 
From: Michael Weissenbacher [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ] 
Sent: Tuesday, November 20, 2001 2:00 PM 
To: '[EMAIL PROTECTED]' 
Subject: RE: Tomcat 3.2.3 and Linux JDK 1.3.1 


i've stopped using the sun jdk on linux and i am using the ibm jdk now 
because it has far better performance and i didn't expience any lockup 
problems with it. 

michael 

-Original Message- 
From: David Wall [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] 
Sent: Monday, November 19, 2001 10:59 PM 
To: Tomcat Users List 
Subject: Tomcat 3.2.3 and Linux JDK 1.3.1 


Have people found any problems running Tomcat 3.2.3 on JDK 1.3.1?  We found 
that Tomcat seemed to get locked up under JDK 1.3.1 on Linux, but when 
reverting back to 1.3.0, the problem does not appear. 

Does anybody have any experience or know what's happening?  It sure would be

a pain to discover that Tomcat won't run reliably under a released JDK. 

Thanks, 
David 


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

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




RE: RE: Tomcat 3.2.3 and Linux JDK 1.3.1

2001-11-19 Thread Michael Weissenbacher

there is no 1.3.1 from IBM because IBM doesn't increase the last minor
number, they increase their build numbers (the latest build is
cx130-20010925). i've never had compatiblity problems with IBM 1.3.0, i
think it's newest build ist equal to sun's 1.3.1

regards
michael

-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 8:34 AM
To: Tomcat Users List
Subject: Re: RE: Tomcat 3.2.3 and Linux JDK 1.3.1


Is jdk-1.3.1 from IBM available (I find only 1.3.0). If yes, where can I
find that?

Zsolt

Tomcat Users List [EMAIL PROTECTED] schrieb am 20.11.01:
well, i tried this already. it didn't get me rid of the segmentation faults
on one machine (suse linux 6.3). and why use sun when ibm is about 100%
faster :)
 
michael
-Original Message-
From: Kwan, Kenneth Y [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 7:11 AM
To: Tomcat Users List
Subject: RE: Tomcat 3.2.3 and Linux JDK 1.3.1



try ulimit -s 2048 

-Original Message- 
From: Michael Weissenbacher [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ] 
Sent: Tuesday, November 20, 2001 2:00 PM 
To: '[EMAIL PROTECTED]' 
Subject: RE: Tomcat 3.2.3 and Linux JDK 1.3.1 


i've stopped using the sun jdk on linux and i am using the ibm jdk now 
because it has far better performance and i didn't expience any lockup 
problems with it. 

michael 

-Original Message- 
From: David Wall [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] 
Sent: Monday, November 19, 2001 10:59 PM 
To: Tomcat Users List 
Subject: Tomcat 3.2.3 and Linux JDK 1.3.1 


Have people found any problems running Tomcat 3.2.3 on JDK 1.3.1?  We found 
that Tomcat seemed to get locked up under JDK 1.3.1 on Linux, but when 
reverting back to 1.3.0, the problem does not appear. 

Does anybody have any experience or know what's happening?  It sure would be

a pain to discover that Tomcat won't run reliably under a released JDK. 

Thanks, 
David 


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

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

 

-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Str. 16
70565 Stuttgart

Berufsunfähigskeitversicherung von Mamax bei WEB.DE. 
Jetzt informieren! http://bu.web.de


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

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




RE: Handling apostrophes

2001-10-22 Thread Michael Weissenbacher

well this piece of code will work, but you should implement it with
StringBuffer, not with String as String's are immutable and with every +=
you are allocating a new String and copying everything what can become a
great overhead.

michael

-Original Message-
From: Chandramouli Nagarajan [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 11:26 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Handling apostrophes


Not really a big overhead,
 this piece of code wld do that...

 public String padApos(String toPad)
{
 StringTokenizer tokenizer=new StringTokenizer(toPad,');
 String retVal=new String();
 while(tokenizer.hasMoreTokens())
 {
  retVal+=tokenizer.nextToken()+'';
 }
 retVal=retVal.substring(0,retVal.length()-2);
 return retVal;
}




RE: Handling apostrophes

2001-10-22 Thread Michael Weissenbacher

call the following method like this
String_Util.replace(value,','');

  public static String replace(String oldString, String toReplace, String
replaceWith)
  {
if(toReplace==null || toReplace.equals() || oldString==null ||
oldString.equals() || replaceWith==null)
  return oldString;
StringBuffer sb=new StringBuffer();
int oldIndex=0;
int newIndex=0;
while((newIndex=oldString.indexOf(toReplace,oldIndex))!=-1)
{
  sb.append(oldString.substring(oldIndex,newIndex));
  sb.append(replaceWith);
  oldIndex=newIndex=newIndex+toReplace.length();
}
sb.append(oldString.substring(oldIndex,oldString.length()));
return sb.toString();
  }

michael




RE: SV: How to start/stop tomcat from a remote machine???

2001-09-25 Thread Michael Weissenbacher

you can use srvmgr.exe taken from any nt server's system32 dir to remotely
stop/start services. just click computer-select domain and enter
\\machinename. then computer-services. this file is also included in the
windows nt resource kit. i'm sure you can also find it somewhere on the net
to download or just mail me and i'll send it to you.

michael

-Original Message-
From: Siomara Pantarotto [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 25, 2001 8:36 AM
To: [EMAIL PROTECTED]
Subject: Re: SV: How to start/stop tomcat from a remote machine???


Thanks for the tip I will certainly need that once unix will be one of our 
platforms. If someone in the list can still help on trying to start/stop 
tomcat remotly under NT I will appreciate very much.

Hans, You gave me a good idea. I guess I can use perl to write a cgi script 
to do that.

Thanks

Siomara


From: Hans-Erik Skyttberg [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: SV: How to start/stop tomcat from a remote machine???
Date: Tue, 25 Sep 2001 08:25:38 +0200

Hi!

I do not know how to do it in NTm but this is how you could do it on a
unix box.
Let's say you have a users called tomcat that should start and stop
tomcat.

Then you can create a small shell script to call start stop tomcat like
this:
Call this script tomcat_stop.cgi:
#!/bin/sh
/opt/app/tomcat/bin/tomcat stop

Call this script tomcat_start.cgi:
#!/bin/sh
/opt/app/tomcat/bin/tomcat start

Do the following on thoose two scripts:
chmod 750 tomcat_st*
chgrp apache tomcat_st* # or whatever group id your apache is running
as
chown tomcat tomcat_st* # or whatever user you start stop tomcat as,
should not be root though.
chmod u+s tomcat_st*

Now put them in a ScriptAliased dir on your webserver and protect them
either by deby allow directives or maybe a .htpasswd or something
equivalent, now you can start and stop your tomcat with a browser.

Regards
Hans - Erik Skyttberg
Boxer TV Access AB
Tegluddsv. 64
115 28 Stockholm
+46 (0)8 587 899 64
+46 (0)733 35 70 64


-Ursprungligt meddelande-
Från: Siomara Pantarotto [mailto:[EMAIL PROTECTED]]
Skickat: den 25 september 2001 08:14
Till: [EMAIL PROTECTED]
Ämne: Re: How to start/stop tomcat from a remote machine???


I am currently using windows NT. Could you provide more details on how
exactly you do even for Linux or Solaris (and NT if possible)

Thanks

Sio


 From: Charles Baker [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: How can I start/stop tomcat web server from a remote
 machine???
 Date: Mon, 24 Sep 2001 18:00:17 -0700 (PDT)
 
 Are you using *nix or NT? On my Linux or Solaris boxes
 I just ssh in and start/stop whatever I want to.
 
 --- Siomara Pantarotto [EMAIL PROTECTED] wrote:
   Hi all,
  
   How can I start/stop tomcat web server from a remote
   machine???
  
   In other words, how can I run the start/shutdown
   batch files that tomcat has
   to start/stop its services from a remote machine
   that is not the server that
   Tomcat is installed in?
  
   Thanks
  
   Siomara
  
  
  
  
 _
   Get your FREE download of MSN Explorer at
   http://explorer.msn.com/intl.asp
  
 
 
 =
 -
 [EMAIL PROTECTED]
 Hacking is a Good Thing!
 See http://www.tuxedo.org/~esr/faqs/hacker-howto.html
 
 __
 Do You Yahoo!?
 Get email alerts  NEW webcam video instant messaging with Yahoo!
 Messenger. http://im.yahoo.com


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



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




RE: mod_jk.so differences

2001-08-29 Thread Michael Weissenbacher

How many times I have answered to that ?
eapi is for apache compiled with mod_ssl
noeapi for std apache 

so why not name mod_jk-eapi.so - mod_jk-ssl.so?

michael




RE: mod_jk.so differences

2001-08-29 Thread Michael Weissenbacher

thank you, i've always wondered about this...

-Original Message-
From: Jan Labanowski [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 3:29 PM
To: '[EMAIL PROTECTED]'
Subject: RE: mod_jk.so differences


It seems like you can either be correct or you have to make it easy for
people who refuse to read the background information.

mod_jk-eapi.so is for the EAPI (Extended Application Programming
Interface) of
Apache. You USUALLY need the EAPI when you install mod_ssl module for
Apache.
But you can have Apache EAPI without having mod_ssl installed/loaded.
So, you can have the combinations:

  Apache + EAPI + (no mod_ssl) + mod_jk-eapi.so

and you can have the combination

  Apache + EAPI + mod_ssl + mod_jk-eapi.so



But you cannot have combination

  Apache + (no EAPI) + mod_ssl + mod_jk-eapi.so

or

  Apache + (no EAPI) + mod_jk-eapi.so


But you can have:

  Apache + (no EAPI) + mod_jk-noeapi.so

In other words, it is not if mod_ssl installed with Apache.
It is if Apache was patched to use EAPI. So the mod_jk-eapi.so is a correct
name, and mod_jk-ssl.so is not, since mod_jk variant does not depend on ssl
presence in Apache.

Jan 


On Wed, 29 Aug 2001, Michael Weissenbacher wrote:

 How many times I have answered to that ?
 eapi is for apache compiled with mod_ssl
 noeapi for std apache 
 
 so why not name mod_jk-eapi.so - mod_jk-ssl.so?
 
 michael
 

Jan K. Labanowski|phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 
1224 Kinnear Rd, |http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163  |http://www.osc.edu/




RE: internal server error

2001-08-28 Thread Michael Weissenbacher

question 1: this is perfectly normal behavior. as long as tomcat isn't up
(the ajp connector isn't started) you'll get an internal server error. if
you don't hit reload all the time and simply wait 30 seconds everything will
work ok. however, there is a way to change the error page by setting the
following in your httpd.conf:
ErrorDocument 500 /friendly_tomcat_error.html
it belongs to the section Customizable error response

michael

-Original Message-
From: Scott Knight [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 2:23 PM
To: [EMAIL PROTECTED]
Subject: internal server error


I have a question that hopefully someone on this list can help with.
I use 
the startup.sh and shutdown.sh scripts to start and stop tomcat. If i stop 
tomcat and then bring it back up and go and try to view a servlet I get an 
internal server error from apache, like tomcat really isnt up yet or 
something. But if i then hit refresh on my brower like 7 or 8 times tomcat 
will start responding like normal. I saw a message on the same topic of 
this in the mail archives but I didnt see a definite answer. Anyone know 
why this is? And is there any way to stop this?

Second question is about auto reloading. I use ant to create my war files 
so they are of the standard directory layout. After tomcat starts and 
unpacks the war I should be able to copy recompiled classes into the 
MyProject/WEB-INF/classes directory and have tomcat auto reload (server.xml 
says that auto reload is default to true ) This works most of the time. But 
sometimes i swear it wont reload my servlet until i stop tomcat, remove the 
unpacked war directory and restart tomcat. This doesn't make any sense to
me?

Also one last semi related question. Can someone tell me how tomcat decides 
what servlets to cache in memory? If it is really auto reloaded servlets, 
if i delete all my class files i shouldnt be able to get to any servlets 
correct? But i have deleted all my class files and still can get to certain 
servlets in my web app. So how does tomcat choose what servlets to cache or 
not?

Any and all information that can help with these three questions would be 
greatly apprecaited. Thanks in advance.

Scott Knight




RE: Tomcat Performance

2001-08-24 Thread Michael Weissenbacher

i had the best results with the sun jdk 1.3.1 on windows and with ibm jdk
1.3.0 for linux. on some linux machines the sun jdk wouldn't work at all...

-Original Message-
From: Hari [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 24, 2001 2:20 PM
To: [EMAIL PROTECTED]
Subject: Tomcat Performance


Hi,

Which JDK gives best performance for TOMCAT 3.2 on Win2k  Linux?  I heard
that IBM jdk will give higher performance but when I run Tomcat  using IBM
Jdk I feel it is slower than Sun's (on Windows 2000).

Kindly advice me in this regard.

- Hari.

=
Hariharasubramanian.R
Developer, iEvents,
Kumaran Systems (Betawave Solutions)
www.kumaran.com
www.betawavesolutions.com
Reinforcing Your Business
Ph: 0091-44-620 2079, 4967 (Extn: 318/328)
E-Mail: [EMAIL PROTECTED]




RE: JDBC Driver for sql server 2000

2001-08-23 Thread Michael Weissenbacher

M$ SQLServer costs lots of $$$ so why bother with a free JDBC driver ;)

-Original Message-
From: Stéphane De Jonghe [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 6:35 PM
To: [EMAIL PROTECTED]
Subject: RE: JDBC Driver for sql server 2000


Hi,

But is there any free (or open source) JDBC driver for MS SQL Server who
is not using the jdbc:odbc link ?
I tried JSQLConnect, but it is a trial version...

Thanks,

Stef




RE: JDBC Driver for sql server 2000

2001-08-23 Thread Michael Weissenbacher

i also don't understand why M$ doesn't bundle a jdbc driver with mssql but i
think they favor their .NET technology over java and so they don't want to
support JDBC. the driver is definately worth the money and hey, billie won't
see a cent of it!

if you want a open source database (with jdbc or course) you may want to
give firebird (open source interbase) a try, i'm very happy with it.
postgresql may also be an option. if you don't need transactions or foreign
keys you might want to use mysql, it's pretty damn fast.

michael

-Original Message-
From: Stéphane De Jonghe [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 6:50 PM
To: [EMAIL PROTECTED]
Subject: RE: JDBC Driver for sql server 2000


Because when you paid a lot for a database, you don't want to pay more
for a 3rd party specific jdbc driver when you expect one in the package
you paid for...
But we know all how it goes with MS :=(

Stef


-Original Message-
From: Michael Weissenbacher [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 6:40 PM
To: '[EMAIL PROTECTED]'
Subject: RE: JDBC Driver for sql server 2000


M$ SQLServer costs lots of $$$ so why bother with a free JDBC driver ;)




RE: please help!!! basic problem with tomcat 3.2.3 / win98

2001-08-22 Thread Michael Weissenbacher

if you don't have a network interface card or modem installed, you must
install the ms loopback adapter, otherwise the network will not function
properly.

-Original Message-
From: James, Stuart [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 2:04 PM
To: '[EMAIL PROTECTED]'
Subject: RE: please help!!! basic problem with tomcat 3.2.3 / win98


try some basic tcp/ip tests.

.can you ping loclhost 
.is anything else trying to use the port numbers tomcat is trying to use 
.use a unix platform

-Original Message-
From: Josef Oberckal [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 12:43 PM
To: '[EMAIL PROTECTED]'
Subject: AW: please help!!! basic problem with tomcat 3.2.3 / win98


Hi,

yes, the TCP/IP protocol is installed. Do I have to adjust some other
options? 

-Ursprüngliche Nachricht-
Von: Rob S. [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 22. August 2001 13:31
An: [EMAIL PROTECTED]
Betreff: RE: please help!!! basic problem with tomcat 3.2.3 / win98


Hi Josef,

I can't say I've ever seen that error message before =)

Do you have the TCP/IP protocol installed?  (Right-click on network
neighbourhood, then on properties).

- r

 -Original Message-
 From: Josef Oberckal [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 22, 2001 3:20 AM
 To: '[EMAIL PROTECTED]'
 Subject: please help!!! basic problem with tomcat 3.2.3 / win98


 Hello again,

 I still have some major problems with tomcat 3.2.3 on windows98.
 When trying
 to start tomcat I receive:

 --- java.net.SocketException: network subsystem has failed

 The problem I am describing occurs at home, where I don't have internet.

 Can anyone please help me?

 Josef







___
Email Disclaimer

This communication is for the attention of the
named recipient only and should not be passed
on to any other person. Information relating to
any company or security, is for information
purposes only and should not be interpreted as
a solicitation or offer to buy or sell any security.
The information on which this communication is based
has been obtained from sources we believe to be reliable,
but we do not guarantee its accuracy or completeness.
All expressions of opinion are subject to change
without notice.  All e-mail messages, and associated attachments,
are subject to interception and monitoring for lawful business purposes.
___




RE: Re[2]: Re[2]: Mozilla and Tomcat

2001-08-22 Thread Michael Weissenbacher

  Yeah, IE has a wicked sticky cache.

interestigly i never had problems with the cache of ie. but i had problems
with mozilla and ns6, until i inserted a no-cache meta tag.

michael




RE: Graphics with jsp

2001-08-22 Thread Michael Weissenbacher

unfortunately this doesn't work on linux unless you have an running X server
or Xvfb, a virtual X server. you have to set the display variable to access
the X server in this way:
DISPLAY=localhost:0
export DISPLAY

i've heared that this problem will be removed in jdk1.4
michael

-Original Message-
From: Jim Urban [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 2:46 PM
To: [EMAIL PROTECTED]
Subject: RE: Graphics with jsp


You could use awt to draw the graph to a Graphics context and GifEncoder
from Acme Laboratories (www.acme.com) to convert the image to a gif which
you can simply return to the browser by setting the content type to
image/gif.  GifEncoder is free.  Attached is a servlet which shows how to
do this.  This sample shows how to send the image back to the browser
directly.  You could also create the image as file and use an img tag to
include it in the HTML sent back to the browser.

Jim Urban
Product Manager
Netsteps Inc.
Suite 505E
1 Pierce Pl.
Itasca, IL  60143
Voice:  (630) 250-3045 x2164
Fax:  (630) 250-3046




-Original Message-
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 7:27 AM
To: [EMAIL PROTECTED]
Subject: Re: Graphics with jsp


Gregor Kovah wrote:

 Hi!

 Hmm, this is a bit off topic, but nevertheless:
 You could use KavaChart (www.ve.com), which you can use in Servlets and
 JSPs, but unfortunately it is not free.

Why not the good old Fly? It is a C compiled CGI program that takes a
command file and draws a GIF following those commands. All the
JSP/servlet needs to do is create a command file.

Is there something equivalent in Java?

Nix.




RE: Log problem

2001-08-20 Thread Michael Weissenbacher

jakarta log4j ist definately worth a try, it solved many of my logging
problems...
but to answer your questions: usually System.out and System.err print to the
console that started tomcat unless you 'ed into a file. the log() method of
a servlet goes into servlet.log in tomcat's logs subdir.

regards
michael

-Original Message-
From: Kenny Ma [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 4:52 PM
To: [EMAIL PROTECTED]
Subject: Log problem


if i use log(testing) in Servlet using Tomcat
where will this log going to ?

How can I log somthing to a file from Servlet ?
I use System.err.println(Testing) when I am using Jserv before

But i cant now when using Tomcat 3.2.2

Can anyone help me ?
It's very troblem when debuging servlet program if i cant print log to file

Thanks


/* Kenny Ma
   [EMAIL PROTECTED] */




RE: Tomcat 3.2 or 4.0 standalone, which is better to use now?

2001-08-07 Thread Michael Weissenbacher

if it's for stability then coose a apache/tomcat combination. it's
definately more stable and also faster than using tomcat standalone.
i know this wasn't your question, but i definately didn't have good
experiences with tomcat standalone. i think it's main purpose is for
testing.

-Original Message-
From: Laurens Fridael [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 3:33 PM
To: Tomcat mailing list
Subject: Tomcat 3.2 or 4.0 standalone, which is better to use now?


Hi,


Which is better for standalone usage? Tomcat 3.2 or 4.0 beta6 ? Stability is
my most important consideration.

I know Tomcat 4 is still beta but I read that it already performs well. I'm
currently experimenting with a Apache/Tomcat 3.2 combination but I find the
Apache URL mapping configuration too much work.


Regards
-Laurens




RE: Installing Tomcat on HPUX (Problem #1)

2001-08-01 Thread Michael Weissenbacher

because tomcat is written in java, you don't have to recompile it. so why
are you bothering with that? just start it with bin/startup.sh!

-Original Message-
From: mysql fan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 10:25 AM
To: [EMAIL PROTECTED]
Subject: Installing Tomcat on HPUX (Problem #1)


Hi!

I've got HPUX 10.20, and I installed Java on it (jdk11804_os10.depot).

I can create Java programs and execute them.

Then, I want to install Jakarta-Tomcat server. I downloaded
jakarta-tomcat-3.2.3-src.tar.gz, and unzipped it into /usr/src.

But when trying to build it:

/usr/src/tomcat # ./build.sh
Unable to initialize threads: cannot find class java/lang/Thread  

What am I doing wrong?

Thank you very much.


___
Get a FREE email address for your WILD SIDE! Choose from over 350
outrageous email addresses at http://www.WildEmail.com




displaying friendly error page

2001-07-31 Thread Michael Weissenbacher

i have the following problem: in some situatuations i need to shutdown
tomcat to have something reloaded (it can have multiple reasons, but mostly
i'm changing some library in the classpath).
the problem that i now have is: while the server goes down and then up again
(it can take several minutes with my application) the user only sees the
internal server error page when requesting servlets.
but i would like to display some friendly page like Our Server is down for
maintainance and will be up again in a few minutes.
has anyone done this, it there a simple way?

i'm running tomcat 3.2.3 with mod_jk, ajp12, apache 1.3.14 on a suse linux
7.1 box

thank you for any suggestions

michael weissenbacher




just a test

2001-07-31 Thread Michael Weissenbacher

no offence, i just wanted to test what happens if i send a html message



RE: displaying friendly error page

2001-07-31 Thread Michael Weissenbacher

thank you very much, it works just like i wanted it to!

-Original Message-
From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 3:34 PM
To: [EMAIL PROTECTED]
Subject: Re: displaying friendly error page


yep - you would do this in apache.  what is happening behind the scenes is
that apache is unable to contact tomcat and hence has a bit of a dummy
spit.  open up httpd.conf and find the ErrorDocument 500 line (generally
there but commented) and point it at your friendly page.

cheesr
dim




RE: HTML in Messages and politeness (Was: Re: jdbc odbc bridgeon linux)

2001-07-30 Thread Michael Weissenbacher

 [X] +1 - Plain Text only. Strip HTML on the mailing list.
 [ ]  0 - I don't give a damn shit.
 [ ] -1 - You mad? I love HTML in messages and want to keep using it.

html mail should be filtered! a footer with links to details about
subscribing/unsubscribing and the faq should be attached to every mail. and
there should be better filters against spam!




RE: Weird thread/security problem

2001-07-26 Thread Michael Weissenbacher
that is a simple problem of understanding: there is only one servlet object
that is used by multiple threads. by having this in mind, your object
variables are also shared, as would be static variables...


-Original Message-
From: Sam Joseph [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 11:18 AM
To: [EMAIL PROTECTED]
Subject: Weird thread/security problem


Hi,

So I think this is a thread/security issue, but I am not sure.  However
it is definitely weird.

I have been conducting some tests with multiple users.  Various servlets
are contacted that supply pages to each user, that include information
such as user name etc.  The version of tomcat in use is 3.2.1, and
clearly I should upgrade to 3.2.3, but the tomcat is provided by my
service provider so that might take some time.

Anyway, the problem is that sometimes when two users are accessing the
system simulatenously the information for one user will be displayed,
briefly, to the other user.  The system I have developed is quite
complicated so I can't rule out that this is a problem with the code,
but I'm not using static variables or anything that would allow this
swap over.  I mean each user has an object associated with them that
contains their user name, but these are local variables to the servlet.

Are there or have there been problems with tomcat that would explain
this problem?  I mean tomcat creates a separate thread for each servlet
right? Different user, different thread, so their data shouldn't be
available to each other.

Am I overlooking something here?  Should I be mailing to the developer's
list?

And on the same topic, does anyone know of any software that will
simulate multiple users, without me having all my friends test the
system.  I mean some software (ideally free or shareware) that would
simulate the stream of http requests, I guess I could hack something
together myself, but if there's something already out there that would
be great.

Thanks in advance.

CHEERS SAM


RE: tomcat.sh stop = Connection refused?

2001-07-26 Thread Michael Weissenbacher

maybe the ajp12 connector is disabled, because tomcat needs it to be
shutdown...

-Original Message-
From: Richard Draucker [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 3:52 PM
To: Pete
Cc: Tomcat List
Subject: Re: tomcat.sh stop = Connection refused?


Logged in as root, starting as root, calling tomcat.sh stop as root.  No su
- 
from alternate login, its all root.  And the scripts are owned by root. 



On Thursday 26 July 2001 09:38 am, you wrote:
  When I attempt to shutdown Tomcat with the tomcat.sh script I get:
 
  java.net.ConnectionException Connection refused
 
  This is new since I started running RH7.1 and Java1.3.1
  with Tomcat 3.1. Anyone know why?
 
  Of course I can kill it just fine.  But, a nice clean stop would be
  preferable.

 Are you shutting it down as the same user as you started it with?

 Pete

-- 
Richard Draucker [EMAIL PROTECTED]
Protected-Data.Com www.protected-data.com
Remote Data Support For Web Developers



RE: Frames and Apache/mod_jk

2001-07-23 Thread Michael Weissenbacher

sounds much like you have some data in your servlet object. if there are
multiple requests, you must consider that it's always the SAME servlet
object that has to handle it. so if you are declaring fields in your servlet
you must be very careful with serialisation. so it's best to not use it at
all. maybe with apache and mod_jk it's just more likely that the requests
are handeled concurrently.

michael

-Original Message-
From: oLi [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 3:58 PM
To: Tomcat-User
Subject: Frames and Apache/mod_jk


Hi all,

I've run into a weird behaviour of my app: my
application consists of a frameset with 3 frames. When
I access it directly via Tomcat's HTTP port it works
great. But when I go in via Apache/mod_jk, after
logging in, it sometimes displays the same content (my
login page) in all frames. Sometimes it successfully
logs in but opens a new window for every frame. This
is primarily with Netscape, but also happens under
certain circumstances with IE. I think it may have
something to do in which order the webserver sends the
responses back to the client, and whether at the time
the first response arrives a session object has
already been created or not. Now I'm wondering why it
works well with Tomcat directly but not with Apache. 
I have browsed through the archive but couldn't really
find any similar case. Any comments will be greatly
appreciated!!

oLi


__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de



RE: Netscape crash!

2001-06-05 Thread Michael Weissenbacher

it's simple, just do a response.setContentType(text/html); in all your
servlets. ie seems to not care about the content type which can be quite
annoying either.

michael


-Original Message-
From: Carlos Mayorga [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 7:44 PM
To: [EMAIL PROTECTED]
Subject: Netscape crash!


Hello,

We have a problem with tomcat (v. 3.2.1) / apache (v.1.3.14), xsl and
netscape 6. We cannot see the pages correctly.
The pages are processed for the xsl proccesor, but we see in Netscape 6 the
html code. In Explorer we don't have any problem.

The Netscape shows exactly the same that if I push the button View page
source.

Thanks in advance,

Carlos Mayorga.
TADECOM




RE: Tomcat hanging

2001-05-30 Thread Michael Weissenbacher

i've started using java 1.3.1 a week ago and all thread releated problems
known fron 1.3.0 seem to have disappeared

michael
-Original Message-
From: Chris Janicki [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 3:39 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Tomcat hanging


Are you using Java 1.3?  If so, downgrade to the last 1.2.2.5 (or the 
latest 1.2).  Java 1.3 has some very serious, and unfortunately very 
intermittent thread problems.  

Chris




RE: java.lang.OutOfMemoryError

2001-05-25 Thread Michael Weissenbacher

i think your problems can be solved be setting a higher maximum heap size.
for example start tomcat by using java -Xmx256 ... to set heap size to 256
mb.

michael

-Original Message-
From: Shailesh R Sah [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 1:01 PM
To: [EMAIL PROTECTED]
Subject: java.lang.OutOfMemoryError


hi,
i am giving details as follows of my site and problem

Server configuration :  

HardWare:
Pentium 800 MHz.
512 MB RAM
18 GB Hard Disk
Global line server.


Software Loaded: 
Red Had linux 6.2
Jdk1.2.2 for linux
Jakarta-tomcat-3.2.1

A Seperate Server is there for Oracle.

Total No. of JSPs on the server:
500Jsps

Services Running:
Apache, jakarta-tomcat

Swap space:
2GB

From the Last 2-3 weeks
1) The Tomcat is getting  killed automatically. This is happening more
frequently sometimes 4 

times a day .The tomcat has to be started manually. The tomcat server is
showing an error of out 

of memory(java.lang.OutOfMemoryError).Reports are attached in this
document.


2) The top service is not running. .

3)Swap memory is 2GB


What might be the possible possible reason???
Is it that the tomcat cannot handle 500-600 Jsps??

Kindly help out as the website is business critical.
(See below for error details)

As the problem is occuring daily.I am drawing a lot of flak at office as
being a staunch 

supporter of open source and collabarative s/w movement i went for
linux/tomcat combination.
And now my decision is being questioned.Can u tell me of any source on the
basis of which i can 

present the case of linux/tomcat combination or sites using lots of
jsps(500-600)
  



I am giving below the error coming in the tomcat console.

java.lang.OutOfMemoryError:
at java.io.InputStreamReader.init(InputStreamReader.java:86)
at java.io.InputStreamReader.init(InputStreamReader.java:55)
at java.io.FileReader.init(FileReader.java:35)
at
_0002findex_0002ejspindex_jsp_3._jspService(_0002findex_0002ejspindex
_jsp_3.java:634)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspSer
vlet.java:174)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:2
61)
at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559
)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processCon
nection(Ajp12ConnectionHandler.java:156)
at
org.apache.tomcat.service.TcpWorkerThread.run(PoolTcpEndpoint.java:36
6)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:411)
at java.lang.Thread.run(Thread.java:475)
java.lang.OutOfMemoryError:
at org.apache.tomcat.util.MimeHeaders.init(MimeHeaders.java:133)
at org.apache.tomcat.util.MimeHeaders.init(MimeHeaders.java:141)
at
org.apache.tomcat.core.ResponseImpl.init(ResponseImpl.java:96)
at
org.apache.tomcat.service.http.HttpResponseAdapter.init(HttpRespons
eAdapter.java:91)
at
org.apache.tomcat.service.connector.AJP12ResponseAdapter.init(Ajp12
ConnectionHandler.java:433)
 

Thankx
shailesh





RE: tomcat run on windows 2000

2001-05-21 Thread Michael Weissenbacher

run startup.bat from the command line to see error messages (start cmd.exe
first)


-Original Message-
From: Ho, Isadora KW [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 11:39 AM
To: [EMAIL PROTECTED]
Subject: tomcat run on windows 2000


Dear sir,

I have installed the Tomcat in the windows 2000 server, but when I run the
startup.bat, the console pop up and disappear, no error message displayed.
Does tomcat support running on windows 2000?

Isadora




tomcat + linux + graphics

2001-05-04 Thread Michael Weissenbacher

i'm having big problems with graphics dynamically created with tomcat on
linux. on windows, the servlet works fine, on linux i have to start tomcat
going to the server, starting X and then starting tomcat. i want to do this
automatically and i want to connect tomcat to X windows without going to the
server. did anybody solve this problem? it would help to get a working
startup script for tomcat including the connection to a running X.

thanks,
michael




RE: general question

2001-04-20 Thread Michael Weissenbacher

javax.servlet.http.HttpServlet which itself extends
javax.servlet.GenericServlet

Net4You, a VIA NET.WORKS Company
==
Michael Weissenbacher - Net4You OASE
Tiroler Strae 80, 9500 Villach
Tel.:+ 43 (0) 4242 - 5005 - 400
Fax: + 43 (0) 4242 - 50055
mailto:[EMAIL PROTECTED]
http://www.net4you.net
==


-Original Message-
From: Carlos. UNICA COMUNICACION. [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 11:36 AM
To: [EMAIL PROTECTED]
Subject: general question


Which class does a servlet usually inherit from? 

 smime.p7s


RE: IIS 5 and Win200000

2001-04-09 Thread Michael Weissenbacher

win20? microsoft must have gone mad with versions ;)

michael

 smime.p7s


RE: Tomcat usability as a WebServer?

2001-03-05 Thread Michael Weissenbacher

you can use tomcat for static pages, but it's not recommended, since other
web servers are faster, more reliable and already established as web
servers. there is no way to use tomcat for CGI or PERL

michael

-Original Message-
From: Brett W . McCoy [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 05, 2001 6:52 PM
To: [EMAIL PROTECTED]
Cc: tomcat
Subject: Re: Tomcat usability as a WebServer?


On 2001.03.05 12:36 Manish Shahdadpuri wrote:

 I am a new Tomcat user. As far as I understand, tomcat is also a  web
 server in itself. Is it possible to use tomcat alone as a web server
 without using any other WebServer e.g Apache etc.

Only if you are serving JSP and servlets and no static pages or standard CGI
programs.  For that you will need Apache, iPlanet, IIS, etc.

-- Brett

http://www.chapelperilous.net/~bmccoy/

Murphy's Law is recursive.  Washing your car to make it rain doesn't work.

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


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




RE: TOMCAT 3.2 + session

2001-02-28 Thread Michael Weissenbacher

i believe this has something to do with the SecureRandom that's userd by
tomcat to create sessionid's. the initialisation takes quite long but only
the first time. try accessing the servlet from another computer or user
another browser! netscape's behavior is not really suitable if the test
machine is the same as the servlet machine.

michael


-Original Message-
From: Bartsch Axel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 2:34 PM
To: [EMAIL PROTECTED]
Subject: TOMCAT 3.2 + session


Hi,

I am using TOMCAT 3.2 (I guess this means 3.2.1)

When creating a session (request.getSession(true)) within a servlet this
session creation takes about 10-20s!

And if you run the Netscape Browser 4.7 on the same machine as the servlet
engine, the session creation takes about 1 hour:
the reason is that Netscape takes all processing time when waiting for a
response and therefore blocks the servlet engine process.

Does anybody know this problem?

And why does TOMCAT need so long to create a session? With JRUN this was no
problem. What can be done?

In which TOMCAT version will this be corrected?


Axel   Lannion/France

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


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




RE: HELP: MIGRATION FROM JSERV TO TOMCAT

2001-02-27 Thread Michael Weissenbacher

rtfm ( read the f** manual ;)
and how did you do in cooperating JServ with IIS? JServ can only do with
apache!

-Original Message-
From: Paolo Fantoli [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 11:56 AM
To: [EMAIL PROTECTED]
Subject: HELP: MIGRATION FROM JSERV TO TOMCAT


I DON'T SUCCED IN CONFIGURING TOMCAT INSTEAD OF JSERV  TO COOPERATE WITH
IIS.
WHICH FILES  MUST I CHANGE EXACTLY, COMPARING TOMCAT WITH JSERV ???
AND WHICH CHANGES MUST I DO ???
IF THERE IS A GOOD BOY ON LINE, OR SOMEBODY WHO TOOK MY SAME PROBLEM ,
PLEASE I NEED HELP. 

THANKS A LOT
I'M WAITING FOR AN ANSWER.
PLEASE HELP ME 
PAOLO 


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