Re: Form Based authentication problem

2001-09-27 Thread Kaneda K

This might be (I had a probleme that look the same with Mysql)
so this might be that it need to be autoReconnect=true:

  connectionURL=jdbc:postgresql://192.168.0.17/tomcat_users

became :
  connectionURL=jdbc:postgresql://192.168.0.17/tomcat_users?autoReconnect=true

Try and give me your feed back, please.

At 09:32 27/09/2001 +0200, you wrote:
Hi all:

I'm working with Tomcat 3.2.3 and postgres 7.0. I want to use form-based
authentication and i have included the next lines in the server.xml file:
 RequestInterceptor
 className=org.apache.tomcat.request.JDBCRealm
 debug=0
 driverName=org.postgresql.Driver
 connectionURL=jdbc:postgresql://192.168.0.17/tomcat_users
 connectionName=tomcat
 connectionPassword=tomcat
 userTable=usuarios
 userNameCol=login
 userCredCol=password
 userRoleTable=usuarios
 roleNameCol=role /

The connection to the db is opened succesfully but when I put a valid
username and password the query doesn't work. The error in the tomcat.log
file is:
 JDBCRealm: The database connection is null or was found to be closed.
Trying to re-open it.

and the user isn't authenticated.

Thank you all

-
Miguel Ángel Medina López
Logic Factory: www.logic-factory.com
Granada - España




Re: Announce: OurSQL, JSP interface for MySQL

2001-09-12 Thread Kaneda K

At 06:47 12/09/2001 +0200, you wrote:
Hi,
First, I'm sorry for being half off-topic.
Recently, I was looking for a good admin tool for MySQL. All I found was
MyAdmin, which is written in PHP. I don't want any PHP on my server, so I
decided to write my own software, and here it is - the first version of
OurSQL.
What it can do? Right now - you can log in to any MySQL database (local or
remote) and execute any queries you want, viewing results. The goal is, of
course, to make easy any frequent operation.
Tell me what do you think, any suggestions, etc.
Yes I know the current version sucks. Think of it as an interactive demo.
Installation: copy the .jsps to a single directory anywhere and add MM.MySQL
drives to WEB-INF/lib

You can get it here: http://oursql.wwtech.pl

Greetings,
  deacon Marcus

p.s. I still need the Tomcat plushie, please...

http://www.javaphilia.com/

Is the same kind of project may be you could go faster by joining it, don't 
you think ?
that the purpuse of GLP
--
Kaneda K - matchmaker ;)




WAP + Servlet in Tomcat 3.3

2001-08-20 Thread Kaneda K

At 23:30 20/08/2001 +1000, you wrote:
 From memory nokia have a wap emulator available from their site that you
can download.  the only reliance it might have on the web would come from
dtd references from memory...

1- Opera is working with Wap.

I wonder be the way in tomcat 3.3 to define mime type
in order to add those for every web apps

mime-mapping
 extension
   wml
 /extension
 mime-type
   text/vnd.wap.wml
 /mime-type
   /mime-mapping

Or should I add those manually in every web.xml of every webapps ?




RE: VOTE: HTML in Messages and politeness (Was: Re: jdbc odbc bri dge on linux)

2001-07-30 Thread Kaneda K

At 07:57 30/07/2001 +0400, you wrote:
[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.
idem




Re: virtual hosting conf question

2001-07-26 Thread Kaneda K

I Might be wrong, but in order to allow Apache to communicate with tomcat, 
you need to use ajp13 instead of 12. and did you correctly set mod_jk.so. ?

At 07:01 26/07/2001 +0800, you wrote:
Hi All,

We are using Tomact3.2.3 and Apache1.3.20 with mod_jk.so.

it works fine when use Directory:

 Alias /loc /home/.../path

 Directory /home/.../path
 Options Indexes FollowSymLinks
 /Directory
 JkMount /loc/servlet/* ajp12
 JkMount /loc/*.jsp ajp12

But when trying virtual hosting:

NameVirutalHost ip

 VirtualHost ip
 ServerName http://www.domain.comwww.domain.com
 DocumentRoot /home/.../path
 JkMount /servlet/* ajp12
 JkMount /*.jsp ajp12
 Directory /home/.../path
 Options Includes Indexes FollowSymlinks
 AllowOverride AuthConfig FileInfo Indexes Limit Options
 Order allow, deny
 Allow from all
 /Directory

 /VirtualHost

WE are geting 404 error for all .jsp files and looks like the apache to 
tomcat redirect not works

anything missing?


TIA

Jerry









Dynamically Generate PDF

2001-07-25 Thread Kaneda K

   Hello everyone,

   I wonder if anyone there has once generate PDF File from a servlet or JSP.
  And could give me some tips.





Re: How can I logoff

2001-07-19 Thread Kaneda K

At 15:57 18/07/2001 +0100, you wrote:
Hello,

I am using the JDBC sercurity on tomcat 3.3. I am able to logon (via basic
authentication) to view a secured .jsp page. however I can not see how a
user can logoff again so that a new user can logon. Please could someone
point me in the right direction.

Cheers
Neil


The fonction to log of is %session.invalidate();% but I am not sure 
that It works with basic authentification.
In fact, I think is does not works. but check any way




Re: Performance Comparison

2001-07-17 Thread Kaneda K

At 06:35 13/07/2001 -0700, you wrote:
Hello;

I am in the processing of choosing an appropriate
servlet engine for my web server (which will be
serving bunch of customers), and have been considering
TOMCAT, Resin, Orion, ServletExec and JRUN. I have
tried to find a reliable source for performance
comparisons, but couldn't find one (especially one
that compares with Tomcat 3.3 or 4, since I would like
to use Tomcat unless it is significantly slower). All
of the existing comparisons are made with Tomcat 3.1
and from those, it looks like tomcat is in serious
trouble! There are also some other messages that has
no conclusion!

Anyways, I would appreciate it if you can point me to
any resource regarding relatively recent (comparing
latest releases) performance comparison or share your
experiences which in turn would help me to pick the
appropriate engine!

Thanks,
Baho.
For pure production :
  go for resin, it seem to be the fastest.
  If you like the idea on getting in code and mastering you tools choose 
Tomcat.
In the end, a lot of work are know on documentation-communication. So it's 
up to you.

see ya




Re: Can use ASP pages in Tomcat

2001-07-17 Thread Kaneda K



Hi Friends,



Be patient, I am from Microsoft platform and do not know anything about 
tomcat and I have few question please help me to get their answer. I will 
be great full to all of you.

The questions are as follows:

  ?xml:namespace prefix = o ns = 
 urn:schemas-microsoft-com:office:office /
* Is it possible to use ASP pages in the Tomcat.
* If the answer for the first question is yes then how I am able to 
 use component developed in C++ or V.B to run in the tomcat.
* In ISS we have MTS to run component and what we have in Tomcat.
To my knowledge, in JSP you can access ActiveX has beans, in fact there is 
a java way to communicate with ActiveX. I read article about that but I 
never did it or hear some done it.


Thanks



Gill


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




-encoding option

2001-07-05 Thread Kaneda K


I sometime have this error, when I update some of my classes, and after 
stopping / restarting tomcat.

org.apache.jasper.JasperException: Unable to compile class for 
JSP/datadev/webapps/capimmo/WEB-INF/classes/com/cybericare/cas/capimmo/ProceduresSentences.java:1:
 
The source file encoding may be different with this platform encoding. 
Please use -encoding option to adjust file encoding, or apply native2ascii 
utility to make source file ASCII encoding.

So For I managed to restart by erasing all previous class and re-build it. 
but I do no understand what could be the problem.

Any advice ?


--
System Info :
Red Hat Linux release 6.2 (Zoot)
 Kernel 2.2.14-5.0 on an i686
Mysql Ver 11.12 Distrib 3.23.32
java version 1.3.0
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
 Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)
JDBC Driver : mm.mysql-2.0.4-bin.jar
Tomcat 3.2 beta 3






Re: soap service class.

2001-07-04 Thread Kaneda K

My answer might be wrong, so no offence
  - So if you recompile your class while your server run and then try to 
access your servelt, they will be a Cast exception because the class files 
(I thing is is in the class signatures) are not those that the tomcat 
session firstly load.
  So you must restart tomcat after you recompile.

which be the way makes me wonder if there is a way to reload a specific 
webapp ?

hopes that helps


At 18:42 04/07/2001 +0530, you wrote:
I was previously putting the classes in ROOT/web-inf/classes.
Now when I put them in SOAP/web-inf/classes, tomcat loads my class
automatically.
I can call this service as many times, everything goes well.
But if I recompile the service class, and try to call it, I get the
following error on the server side.
Any idea why's that so ?


2001-07-04 06:29:59 - Ctx( /soap ): Exception in: R( /soap +
/servlet/rpcrouter
+ null) - java.lang.ClassCastException:
org.apache.soap.server.ServiceManager
 at
org.apache.soap.server.http.ServerHTTPUtils.getServiceManagerFromContext(Ser
verHTTPUtils.java:111)
 at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:21
2)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
 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:416)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)

- Original Message -
From: Tarun Garg [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, July 04, 2001 3:53 PM
Subject: soap service class.


  When you want tomcat to automatically reload your servlets, you put them
in
  web-inf/classes directory.
  Where can I put my classes which implement soap services ??
  Presently I have to restart tomcat everytime I change the class.
  Putting it in web-inf/classes doesn't help. tomcat cannot find it.
 
 




Re: Jar files fro classpath variable

2001-07-04 Thread Kaneda K

At 16:24 04/07/2001 +0300, you wrote:

Hi,

I wanted to ask if there is a way to add more jars to the classpath
environment when Tomcat starts ?
Currently I am linking jar files to the lib directory. Is there
a way to tell Tomcat to load jars from carious directories ?

N.

The tomcat version have different implementation for that, meanwhile you can :

those will add the jars for every webapps
- simply add your jar to the common CLASSPATH
- edit the script (tomcat.sh, start.sh, or the .bat version) to add you jar 
to the CLASSPATH
(using the -cp:/myjar/toto.jar;/myjar/myfunny.jar;.; ... syntaxe)
- add the jars in $TOMCAT_HOME/lib

those will add the jars to a specific webapp.
- add the jars in $TOMCAT_HOME/webapps/myfunnywebapp/WEB-INF/lib

hope this helps




Re: resultset Question

2001-05-22 Thread Kaneda K

I like to add (juste in case) that there was a bug in MySQL driver 2.0.1 or 
2.0.2 where resulset where starting at row 1 instead of 0.

At 03:52 22/05/2001 -0400, you wrote:
Hi,

   I think that if you want only the first record you should put if
(rs.next()) statement instead of while.., it is only one condition, not a
cycle...

statement = statement or {statement,}

   Second, you don't need rs.beforeFirst(); 'cause when you make the query
automatically is before the first record and when you call rs.next() will
put the pointer in the first record and at the same time is returning true
or false in case that exists a first record or not...

Regards...

Guido.

- Original Message -
From: Warren Crossing [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 22, 2001 3:41 AM
Subject: RE: resultset Question


  did you use rs.next(); ?? you have to do this first to move the cursor to
  the first record.. makes sense.
 
  regards,
 
  warren.
 
  -Original Message-
  From: Manish [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, 22 May 2001 9:00 AM
  To: [EMAIL PROTECTED]
  Subject: Re: resultset Question
 
 
  Kevin Fonner wrote:
 
   I want to grab just the first record in a Query of my database.  I
   thought that this would be pretty simple???
  
   Acording to my books they said that after executing...
  
   /resultSet = statement.executeQuery(SELECT * FROM userfolders WHERE
   username=\' + userName + \');/
  
   That resultset would contain the first record.  But I can't seem to
   grab the data. Below is a sample of my code that I think pertains to
   my problem.  If anybody has any ideas I would appreciate them
  
   resultSet = statement.executeQuery(SELECT * FROM userfolders WHERE
   username=\' + userName + \');
  dFolder = resultSet.getString(folder);
  dModule = resultSet.getString(dmod);
  dModulePath = resultSet.getString(dmod_path);
  
  
  
   Thanks,
  
   Kevin
  
  Kevin,
 
   resultset would contain the first  record would contain the first
  record is not true... you have to do
 
  while (rs.next()) {
 
  //do Something
 
  }
 
  This might help
 
  Thanks
 
  --
  Manish Poddar
 
  Software Engineer
  Paycom.net
 




Re: Socket closed in tomcat server!!!!

2001-04-27 Thread Kaneda K

localport=80
in UNIX only root (or specific users/demon) can listen to the port 80, try 
to set it on 8080.
At 20:47 27/04/2001 +0900, you wrote:

Hi all.

I install tomcat 3.2.1 or 3.1.X and java 1.2.2.08 or java 1.3.X in HP
11.00 .

The problem is that when I start tomcat in webserver mode or with apache
and send HTTP resquest to tomcat, the server prints below:

  java.net.SocketException: Socket closed
 at java.net.PlainSocketImpl.socketAccept(Native Method)
 at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:418)
 at java.net.ServerSocket.implAccept(ServerSocket.java:240)
 at java.net.ServerSocket.accept(ServerSocket.java:224)
 at 
 org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoin
t.java:277)
 at
org.apache.tomcat.service.TcpWorkerThread.run(PoolTcpEndpoint.java:344)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:411)
 at java.lang.Thread.run(Thread.java:479)
Endpoint ServerSocket[addr=anyhost/0.0.0.0,port=0,localport=80] shutdown
due to
exception: java.net.SocketException: Socket closed


Is there JDK problem from HP? or tomcat bug?
How can I solved this problem? I searched web site and could not find any
solution.

Any messages thank you!!!

bye.




RE: Java Update on Linux

2001-04-12 Thread Kaneda K

At 11:36 12/04/2001 -0400, you wrote:
That's not a release, it's a release *candidate*. A big difference.

Which is ??


-Original Message-
From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 11:27 AM
To: Tomcat User List
Subject: Java Update on Linux


Anyone tried the JDK1.3.1 that Sun released recently for Linux?

They claim reliability enhancements... Just wondering.

Hunter




Sun Seeking Experts for New Java Certification!

2001-04-12 Thread Kaneda K

on the 28/03/2001 there was a mail titled :
Sun Seeking Experts for New Java Certification!

I could not find it back in the archived, could someone re - send it to me ?

thanks ;)




RE: JDBCReamls Still freeze after 24 hours wokrs

2001-04-11 Thread Kaneda K

So know i have some strange reaction.
Firstly i have a double Identification asked
  - 1 through the basic form (windowed)
  - 1 through the html form (which is the one I set up)

After a night use, I have really strange reaction :
  Firstly I have connection refused, then I try again later and manage to 
be authentify.
I try again, I log out and retry, and this time I got

Error: 500
Location: /capimmo/my/index.jsp
Internal Servlet Error:
java.lang.NullPointerException
  at 
org.gjt.mm.mysql.PreparedStatement.executeQuery(PreparedStatement.java:251)
  at org.apache.tomcat.modules.aaa.JDBCRealm.checkPassword(JDBCRealm.java:278)
  at org.apache.tomcat.modules.aaa.JDBCRealm.authenticate(JDBCRealm.java:441)
  at org.apache.tomcat.core.Request.getRemoteUser(Request.java:476)
  at 
org.apache.tomcat.modules.aaa.AccessInterceptor.authorize(AccessInterceptor.java:313)
  at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:773)
  at org.apache.tomcat.core.ContextManager.service(ContextManager.java:701)
  at 
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:143)
  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:484)

So I have no real answer yet.
Still using

Tomcat  : jakarta-tomcat-3.3-m2
Mysql   : Mysql Ver 11.12 Distrib 3.23.32
JDBC driver : mm.mysql-2.0.4-bin.jar.
OS  : Red Hat Linux release 6.2 (Zoot)
   Kernel 2.2.14-5.0 on an i686
java: java version "1.3.0"
   Java(TM) 2 Runtime Environment, Standard Edition (build 
1.3.0)
   Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)


yours sincerely,





RE: 1 Worker= 1 JVM?

2001-04-10 Thread Kaneda K

try to use tomcat run instead of tomcat start (you'll have you exception in 
you current windows).
Otherwise, check that then ajp12 port are also different

At 15:46 10/04/2001 +0200, you wrote:
Hallo torsten
Danke Schn fr deine Antwort.
I tried to start 2 tomcat with two server.xml different (server1.xml and
server2.xml) with two different connectors  on two different ports and  with
two different log files  but the second instance failed to start: the window
in which it should have started opened and disappeared immediately.
Have you ever started 2 Tomcat?
Do you know what the problem is?
Thanks again
lise


  -Message d'origine-
  De:   Torsten Glunde [SMTP:[EMAIL PROTECTED]]
  Date: mardi 10 avril 2001 15:23
  :[EMAIL PROTECTED]
  Objet:Re: 1 Worker= 1 JVM?
 
  Hi,
 
  for running multiple JVMs or Tomcat Instances you have to start and setup
  them manually.
 
  For each jvm there will be one server.xml file with the corresponding port
  numbers of the workers.
 
  Thats because the workers are established during the apache process in the
  mod_jk and have nothing to do with the jvms and corresponding server.xml
  files.
 
 
  Greetings
  Torsten
 
  - Original Message -
  From: "GASNIER Lise" [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Tuesday, April 10, 2001 3:15 PM
  Subject: 1 Worker= 1 JVM?
 
 
  
   Hi,
   Judging by the Tomcat-Apache How-to and its Multiple Tomcat JVMs
  section,
   1 instance of Tomcat= 1 JVM ("you have to be running two separate
  instances
   of Tomcat, hence the "multiple JVMs").
   And the Tomcat workers.properties doc says  "a tomcat worker is a tomcat
   instance".
   So, 1 worker = 1JVM...
   But when running Tomcat with a workerlist composed of two workers, I can
  see
   only one JVM (using TaskInfo).
   Can someone tell me if this assertion is correct: 1 worker= 1 JVM.
  
   thanks a lot,
   Lise
  




RE: JDBCReamls Still freeze after 24 hours wokrs

2001-04-06 Thread Kaneda K



Here are the logs :


2001-04-05 08:02:18 - ContextManager: JDBCRealm: The database connection is 
null or was found to be closed. Trying to

re-open it.
2001-04-05 08:02:18 - ContextManager: JDBCRealm: Auth ok, first 
role=cap_acheteur
  _conn != null
Sql query :
select * from role
2001-04-06 09:43:29 - ContextManager: Error mapping the request R( /capimmo 
+ /my/ + null) 302
2001-04-06 09:43:29 - Ctx( /capimmo ): Handler 
tomcat.redirectHandler(null/null) tomcat.redirectHandler
2001-04-06 09:43:29 - ContextManager: Authorize status 401
2001-04-06 09:43:29 - ContextManager: Authorize error R( /capimmo + 
/my/index.jsp + null) 401
2001-04-06 09:43:29 - Ctx( /capimmo ): Handler 
tomcat.formAuthHandler(null/null)
  tomcat.formAuthHandler
2001-04-06 09:43:29 - Ctx( /capimmo ): Handler 
tomcat.redirectHandler(null/null) tomcat.redirectHandler
2001-04-06 09:43:29 - ContextManager: Authorize status 401
2001-04-06 09:43:29 - ContextManager: Authorize status 401
2001-04-06 09:43:29 - ContextManager: Authorize status 401
2001-04-06 09:43:29 - ContextManager: Authorize status 401
2001-04-06 09:43:36 - Ctx( /capimmo ): Handler 
tomcat.redirectHandler(null/null) tomcat.redirectHandler
2001-04-06 09:43:36 - ContextManager: JDBCRealm: The database connection is 
null or was found to be closed. Trying to

re-open it.
java.io.IOException: Broken pipe
 at java.net.SocketOutputStream.socketWrite(Native Method)
 at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
 at 
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:72)
 at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:130)
 at java.io.DataOutputStream.flush(DataOutputStream.java:104)
 at org.gjt.mm.mysql.MysqlIO.send(MysqlIO.java)
 at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java)
 at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java)
 at org.gjt.mm.mysql.Connection.execSQL(Connection.java)
 at 
org.gjt.mm.mysql.PreparedStatement.executeQuery(PreparedStatement.java)
 at 
org.apache.tomcat.request.JDBCRealm.authenticate(JDBCRealm.java:299)
 at 
org.apache.tomcat.request.JDBCRealm.authenticate(JDBCRealm.java:453)
 at 
org.apache.tomcat.core.ContextManager.doAuthenticate(ContextManager.java:837)
 at 
org.apache.tomcat.core.RequestImpl.getRemoteUser(RequestImpl.java:341)
 at org.apache.tomcat.request.JDBCRealm.authorize(JDBCRealm.java:475)
 at 
org.apache.tomcat.core.ContextManager.doAuthorize(ContextManager.java:855)
 at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:789)
 at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
 at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)
2001-04-06 09:43:36 - ContextManager: JDBCRealm: There was an SQLException 
while in authenticate: testAll
2001-04-06 09:43:36 - ContextManager: JDBCRealm: SQLException: 
java.sql.SQLException: Communication link failure:

java.io.IOException
2001-04-06 09:43:36 - ContextManager: Authorize status 401
2001-04-06 09:43:36 - ContextManager: Authorize error R( /capimmo + 
/my/index.jsp + null) 401
2001-04-06 09:43:36 - Ctx( /capimmo ): Handler 
tomcat.formAuthHandler(null/null) tomcat.formAuthHandler
2001-04-06 09:43:36 - Ctx( /capimmo ): Handler 
tomcat.redirectHandler(null/null) tomcat.redirectHandler
2001-04-06 09:43:37 - ContextManager: Authorize status 401
2001-04-06 09:43:37 - ContextManager: Authorize status 401
2001-04-06 09:43:37 - ContextManager: Authorize status 401
2001-04-06 09:43:37 - ContextManager: Authorize status 401

I wonder, in my project I use a database Pooling from tableGenerator 
(http://freespace.virgin.net/joe.carter/TableGen/index.html)
that use 2 class :

DbGlobal And DatabaseAccess that use org.ewin.sql.* pakadges;

the line
" _conn != null
Sql query :
select * from role"
came from my debugge variable, it means that theis was a sql query

It seams to me that the session never ends.
and that it broke the pipe in the end.

Could you help me ??



At 13:13 04/04/2001 +0200, you wrote:
Please some logs, config files..every bit of info you can send will be
useful trying to find that.. attached files better..

Versions of JDBC drivers  db too

TIA

Saludos ,
Ignacio J. Ortega


  -Mensaje original-----
  De: Kaneda K [mailto:[EMAIL PROTECTED]]
  Enviado el: mircoles 4 de abril de 2001 13:02
  Para: [EMAIL PROTECTED]
  Asunto: JDBCReamls Still freeze after 24 hours wokrs
 
 
 
  Hello, I upgrade my tomcat to 3.2.2 beta 6 (BTW how to check
  version when
  you did not downloaded it yourself ?) and the JDBCReamls
  still freeze
  afte

JDBCReamls Still freeze after 24 hours wokrs

2001-04-04 Thread Kaneda K


Hello, I upgrade my tomcat to 3.2.2 beta 6 (BTW how to check version when 
you did not downloaded it yourself ?) and the JDBCReamls  still freeze 
after 24 hours.

on
redhat 6.2
jdk sun 1.3.0
256 mo Ram

the package I download was at this url :

http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.2-beta-2/bin/jakarta-tomcat-3.2.2b2.zip




RE: JDBCReamls Still freeze after 24 hours wokrs

2001-04-04 Thread Kaneda K

At 13:13 04/04/2001 +0200, you wrote:
Please some logs, config files..every bit of info you can send will be
useful trying to find that.. attached files better..

Versions of JDBC drivers  db too

TIA

Saludos ,
Ignacio J. Ortega

server.xml :
RequestInterceptor
 className="org.apache.tomcat.request.JDBCRealm"
 debug="99"
 driverName="org.gjt.mm.mysql.Driver"
 connectionURL="jdbc:mysql://192.168.111.20/capimmo"
 connectionName="javaCheck"
 connectionPassword=""
 userTable="utilisateur"
 userNameCol="IdUtilisateur"
 userCredCol="Password"
 userRoleTable="userRole"
 roleNameCol="NomRoleFK" /

web.xml :
security-constraint
   web-resource-collection
   web-resource-nameProtected Area/web-resource-name
  !--
Define the context-relative URL(s) to be protected
--
url-pattern/admin/*/url-pattern
 url-pattern/my/*/url-pattern
!--
If you list http methods, only those methods are protected
--
 http-methodDELETE/http-method
http-methodGET/http-method
http-methodPOST/http-method
http-methodPUT/http-method
   /web-resource-collection
 auth-constraint
 !-- Anyone with one of the listed roles may access this 
area --
 role-namecap_acheteur/role-name
 role-namecap_vendeur/role-name
 role-namecap_agence/role-name
 role-namecap_admin/role-name
 /auth-constraint
 /security-constraint
login-config
   auth-methodFORM/auth-method
realm-namePlease identify yourself/realm-name
form-login-config
 form-login-page/security/login/Login.jsp/form-login-page
 form-error-page/security/login/Error.jsp/form-error-page
/form-login-config
 /login-config

the database is Mysql Ver 11.12 Distrib 3.23.32,

JDBC Driver is mm.mysql-2.0.2-bin.jar
(I recently upgrade to mm.mysql-2.0.4-bin.jar) but it did not change anything.
I don't have logs because I un comment the logger action. but I set it back 
and send you the Logs has soon has I got them (next 24 hours).

Thanks.



  -Mensaje original-
  De: Kaneda K [mailto:[EMAIL PROTECTED]]
  Enviado el: mircoles 4 de abril de 2001 13:02
  Para: [EMAIL PROTECTED]
  Asunto: JDBCReamls Still freeze after 24 hours wokrs
 
 
 
  Hello, I upgrade my tomcat to 3.2.2 beta 6 (BTW how to check
  version when
  you did not downloaded it yourself ?) and the JDBCReamls
  still freeze
  after 24 hours.
 
  on
  redhat 6.2
  jdk sun 1.3.0
  256 mo Ram
 
  the package I download was at this url :
 
  http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.2
  -beta-2/bin/jakarta-tomcat-3.2.2b2.zip
 
 




Re: Security

2001-03-28 Thread Kaneda K

At 17:16 27/03/2001 -0300, you wrote:

  Hi guys!!
  
  I'm using Apache.1.3.19 - Tomcat.3.2.1 - Mod_jk over Solaris v2.7
  
  The fact is that I want build a security schema but I'm confused because
I
  can do it with Apache or Tomcat. So what do you suggest to me? Should I
  build the schema over Apache or Tomcat?
  
  hope to hear from you!
 
  I would say, That I depends from you and your time (teams has well)
  a Apache+Tomcat would be the best, meanhwhile you could (like I do) Do not
  have time to learn Apache AND Tomcat, then Tomcat Stand Alone would be
  enough. I personnally only use Tomcat StandAlone because, I rather focus
on
  my JSP and servlet then on Apache Conf, but Apache allow Load Ballancing
  and Security Far better then Tomcat (Does Tomcat Allow Load ballancing in
  stand Alone BTW). So Count your time. And Focus. At leats have a look at
  both basic user guide. It you catch fast, that also count a lot.
  :) good Luck

I'm sorry, but I'm just running Apache-Tomcat because it's more efficient
and robust, what I need to know is if I can configure the security schema of
my contexts within Tomcat in the mod_jk.conf file or directly in the
httpd.conf.

I would say httpd.conf then.

thanks,

Martin

 
  Lic. Martin O. Mauri
  Profesion + Auge A.F.J.P
  Parana 666 - Cap. Federal
  TE: (011) 4373-7786/7 int: 422
  [EMAIL PROTECTED]
  www.profesi.com.ar




JDBCReamls Freeze.

2001-03-27 Thread Kaneda K

Hi, I am using Tomcat 3.2 and JDBCRealms, It seems that after 20-24 hours I 
cannot connect anymore, I have to restart the service to allow the 
authentification to works again. Is it a known bug, I did not notice It 
during my developpement because i use to close my service when I leave 
work. So is there something I am doing wrong or something I have to do ?

Thanks.




JDBCReamls Freeze.

2001-03-27 Thread Kaneda K

Hi, I am using Tomcat 3.2 and JDBCRealms, It seems that after 20-24 hours I 
cannot connect anymore, I have to restart the service to allow the 
authentification to works again. Is it a known bug, I did not notice It 
during my developpement because i use to close my service when I leave 
work. So is there something I am doing wrong or something I have to do ?

Thanks. 




Re: Security

2001-03-27 Thread Kaneda K

At 16:08 27/03/2001 -0300, you wrote:
Hi guys!!

I'm using Apache.1.3.19 - Tomcat.3.2.1 - Mod_jk over Solaris v2.7

The fact is that I want build a security schema but I'm confused because I
can do it with Apache or Tomcat. So what do you suggest to me? Should I
build the schema over Apache or Tomcat?

hope to hear from you!

I would say, That I depends from you and your time (teams has well)
a Apache+Tomcat would be the best, meanhwhile you could (like I do) Do not 
have time to learn Apache AND Tomcat, then Tomcat Stand Alone would be 
enough. I personnally only use Tomcat StandAlone because, I rather focus on 
my JSP and servlet then on Apache Conf, but Apache allow Load Ballancing 
and Security Far better then Tomcat (Does Tomcat Allow Load ballancing in 
stand Alone BTW). So Count your time. And Focus. At leats have a look at 
both basic user guide. It you catch fast, that also count a lot.
:) good Luck

Lic. Martin O. Mauri
Profesion + Auge A.F.J.P
Parana 666 - Cap. Federal
TE: (011) 4373-7786/7 int: 422
[EMAIL PROTECTED]
www.profesi.com.ar