AW: tomcat-3.3.2 dev 12. July 2003

2003-07-15 Thread Power-Netz \(Schwarz\)
> > Check and see if you have commons-logging-api.jar under the > %CATALINA_HOME%/common/lib directory. If you don't, you can > download one at > http://mirrors.ccs.neu.edu/Apache/dist/jakarta/commons/logging/binaries/ > > -Sudhir. thx.. ---

tomcat-3.3.2 dev 12. July 2003

2003-07-15 Thread Power-Netz \(Schwarz\)
[EMAIL PROTECTED] /java]# less /var/log/tomcat.log Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.tomcat.util.compat.Jdk11Compat.(Jdk11Compat.java:77) at org.apache.tomcat.startup.Main.(Main.java:153) [EMAIL PROTECTED]

AW: AW: [ot] Re: GD Lib for TC or Java ?

2003-06-26 Thread Power-Netz \(Schwarz\)
> In that case - You can use awt to an "offscreen" buffer and just > use all the > awt methods. Then conver the buffer to an image. There are plenty google > links about this. > Interresting idea. Thx. - To unsubscribe, e-mai

AW: [ot] Re: GD Lib for TC or Java ?

2003-06-26 Thread Power-Netz \(Schwarz\)
> http://jcharts.sourceforge.net/ that's for charts, i meat more makeing complet images alone.. self drawn.. > > Power-Netz (Schwarz) wrote: > > Hi, > > > > I seek something like the gdlib , in best case the gdlib :) , for java. > > Has anyone an ide

GD Lib for TC or Java ?

2003-06-26 Thread Power-Netz \(Schwarz\)
Hi, I seek something like the gdlib , in best case the gdlib :) , for java. Has anyone an idea whats best for tc/java ? It should scale images and create images, should handle texts. It does not need to be full of functions , just some basic routines .. Thx M.Schwarz >>> POWER-NETZ®

AW: Session Obj List

2003-04-02 Thread Power-Netz \(Schwarz\)
(B> Is there any way we can get List /Enum of all session Objects in a (B> particular Context? I am trying for disabling multiple logins by the same (B> user. (B (Btell your login bean to be on applicationwide scope. (Band use a session scoped userdata bean. (B (BMarius (B (B (B---

GNUPG & TC , could be OT!

2003-03-10 Thread Power-Netz \(Schwarz\)
Hi, we have the following constellation: A webapp uses a java class to send emails , this class uses another class to SIGN this email via GNUPG. The host was up for app. 200 days without rebooting and everything worked fine until last friday ( An idiot @ our computer centre switched the machine

AW: export exel spreadsheets from jsp

2003-02-06 Thread Power-Netz \(Schwarz\)
Thx all, thats very helpfull, because it's useable for Word as well. > There is a link on jakarta home to article on how to use POI to create > Excel reports. I would think that might be a starting point... and , jepp , it's of course "spreadsheet" :-) Did to much html in the last weeks ;-)

export exel stylesheets from jsp

2003-02-06 Thread Power-Netz \(Schwarz\)
Hi , does anyone know if theres a package to make exel stylesheets ? I want to dump a database and make downloadable on the fly for the user.. Ihr Support-Team >>> POWER-NETZ® Full-Service-Provider <<< Online-Support: Support: 0190 - 15 11 15 (EUR 0,62/Min) http://Support.Powe

AW: AW: [OT] jspMyAdmin

2003-01-30 Thread Power-Netz \(Schwarz\)
> o.k., I jared the classes dir, where exactly did you put the file and > what was it's name? unimportant, all jars in the spezific dir are loaded/used.. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

AW: [OT] jspMyAdmin

2003-01-29 Thread Power-Netz \(Schwarz\)
> org.apache.jasper.JasperException: > /myadmin/jspmyadmin/index.jsp(16,0) This absolute uri > (http://jakarta.apache.org/taglibs/i18n-1.0) cannot be resolved > in either web.xml or the jar files deployed with this application > at > org.apache.jasper.compiler.DefaultErrorHandler.jspError(D

AW: [OT] jspMyAdmin

2003-01-29 Thread Power-Netz \(Schwarz\)
> -Ursprungliche Nachricht- > Von: Henning Heil [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 28. Januar 2003 21:50 > An: Tomcat Users List > Betreff: [OT] jspMyAdmin > > > Good evening! > > (or good-"whatever daytime you may have" :-)) > > I just found an older version (0.6) of this t

AW: Session Tracking based on the Client's IP

2002-11-21 Thread Power-Netz \(Schwarz\)
> would have to punch in the code for verification, that would definetly > defeat any script but is less convenient for the user. I would prefer to > dynamically identify any individual user who uses my service more > than say > 10-15 times in a minute and ban him for an hour or so. Set a coo

AW: JSP to JSP

2002-11-12 Thread Power-Netz \(Schwarz\)
> is it possible to get the data of a remote database by invoking the jsp > running at that location ???. Any help in this regard will be helpfull.. Why don't you connect to the other database directly ??? If you won't do that, send your data via a normal POST form to the other JSP M.Schwarz

AW: Sending GIF image from tomat web application to browser

2002-11-11 Thread Power-Netz \(Schwarz\)
> -Ursprungliche Nachricht- > Von: Peter Lee [mailto:tomcatuser@;shaw.ca] > Gesendet: Dienstag, 5. November 2002 11:52 > An: [EMAIL PROTECTED] > Betreff: Sending GIF image from tomat web application to browser > > > > I am trying to send GIF or JPEG images from a Tomcat web > application

AW: Server.xml and keystore password

2002-10-31 Thread Power-Netz \(Schwarz\)
> security hole. Is there anyway around this? Any ideas or > recommendations will be greatly appreciated. set the ugw flags to readonly for the tomcat user :) -- To unsubscribe, e-mail: For additional commands, e-mail:

AW: index.jsp + index$jsp.java + index$jsp.class == wasted-space.

2002-10-31 Thread Power-Netz \(Schwarz\)
> -Ursprungliche Nachricht- > Von: Garrett Smith [mailto:javadevmac2@;yahoo.com] > Gesendet: Freitag, 1. November 2002 03:24 > An: Tomcat Users List > Betreff: index.jsp + index$jsp.java + index$jsp.class == wasted-space. > > > Can I eliminate this wasted space somehow? > you will fin

AW: JSP blank lines !?

2002-10-31 Thread Power-Netz \(Schwarz\)
>There is one linefeed between each tag, > if you want to avoid that, you have to use > something like that: > > <%! > // some code > %> /> /><% > // some code > %> Ralph is right , with one exception: the last %> in your doc will produce a "\n" . If anyone knows how to hide it , pls

tc3.3.2dev: Exception: getOutputstream() called twice

2002-10-30 Thread Power-Netz \(Schwarz\)
Hi , I get this exception from tc 3.3.2dev: java.lang.IllegalStateException: getOutputStream() has already been called at org.apache.tomcat.facade.HttpServletResponseFacade.getWriter(HttpServletResp onseFacade.java:199) at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterI

closed: php -> jdni -> java : simulation JSP via php?

2002-10-23 Thread Power-Netz \(Schwarz\)
Due to a lack of wisdome this posting has been closed. > Has anyone expiriencies with "converting" jsp/java to php/j(d)?(n)i/java ? > > I have seen, that someone did using java under php. > > The question is how complicate is it, to rewrite jsp > to php so, that the whole thing will works without

php -> jdni -> java : simulation JSP via php?

2002-10-21 Thread Power-Netz \(Schwarz\)
Hi, Has anyone expiriencies with "converting" jsp/java to php/j(d)?(n)i/java ? I have seen, that someone did using java under php. The question is how complicate is it, to rewrite jsp to php so, that the whole thing will works without TC . It's a complex application, i uses perlscript via runt

AW: Problems binding tomcat to a single IP

2002-10-18 Thread Power-Netz \(Schwarz\)
> but after a restart, the Tomcat blocks the other 9 ip ´s on the > server too. You can't run two services on one port. You have to connect ISS and Tomcat with modjk or something similar. On the other hand , why using ISS if you can have tomcat alone??? :-))) cu -- To unsubscribe, e-mail:

AW: Too Many Sessions!

2002-10-10 Thread Power-Netz \(Schwarz\)
> > > I'm using Tomcat 4.1.12 on a NT 4.0 system. I've been > > watching my logs and I'm noticing a lot of sessions being > > created for no apparent reason when there is no user activity > > on the system and no activity (as far as I can tell) in my > > servlet. Here's a sample from the logs

AW: tomcat3.3.1 JDBC

2002-10-07 Thread Power-Netz \(Schwarz\)
> -Ursprüngliche Nachricht- > Von: CLAIRE Celine [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 7. Oktober 2002 18:01 > An: Tomcat Users List > Betreff: RE: tomcat3.3.1 JDBC > > > is there any configuration to do in server.xml and web.xml? > nope. M.Schwarz -- To unsubscribe, e-mail:

AW: tomcat3.3.1 JDBC

2002-10-07 Thread Power-Netz \(Schwarz\)
> -Ursprungliche Nachricht- > Von: CLAIRE Celine [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 7. Oktober 2002 17:07 > An: [EMAIL PROTECTED] > Betreff: tomcat3.3.1 JDBC > > > hello! > I use tomcat 3.3.1 > I would like to know if a web application can access a database > via a JDBC drive

AW: Communicating with Tomcat3 through shell scripts.

2002-09-10 Thread Power-Netz \(Schwarz\)
> >> We need to disable the user input sometimes and typically we store a > >> flag in the session. To modify this flag we use a jsp page. > >> If I can communicate with tomcat from shell scripts while it is > >> running, I will be able to able to set it up in crontab etc. Write a framework that

3.3.2dev and CGI-Servlets

2002-09-10 Thread Power-Netz \(Schwarz\)
Hi, has anyone a good resource for a cgi / php / perl servlets for TC 3.3.2dev ? I want to do calls like this /webapp/cgi/addblah.pl Is something like this available? Ihr Support-Team >>> POWER-NETZ® Full-Service-Provider <<< Online-Support: Support: 0190 - 15 11 15 (EUR 0,62/Min

AW: HELP! Configuring HTTP-headers per mime type?

2002-09-10 Thread Power-Netz \(Schwarz\)
> I'd like to send out the following HTTP headers for all *.xml files > "Content-Cache=maxage=3600" while for *.jsp it should be > "Content-Cache=no-cache". > > I know how to configure headers per mime type under Apache, > but how is this > done under Tomcat? *Can* it be done? simple

AW: Tomcat standalone Versus Apache

2002-09-09 Thread Power-Netz \(Schwarz\)
> Von: Vikramjit Singh [mailto:[EMAIL PROTECTED]] > Betreff: RE: Tomcat standalone Versus Apache > 4) https. i don't know if any certificate signing authorities do > certs for > java/tomcat (probably) but its very easy for mod_ssl or apache-ssl. Theres no difference in SSL, "maybe" you have on

AW: line feeds in response

2002-09-09 Thread Power-Netz \(Schwarz\)
use <%@. %> aso. -- To unsubscribe, e-mail: For additional commands, e-mail:

AW: Tomcat standalone Versus Apache

2002-09-09 Thread Power-Netz \(Schwarz\)
> What do most people run for production and why? Tomcat > standalone or Tomcat > with Apache? And for that matter, isn't the http server for > Tomcat Apache - > or is it something else? For help in your decision : we run our tc standalone because nearly every page handles dynamic content. just

AW: Tomcat shutdown does not kill java process

2002-08-30 Thread Power-Netz \(Schwarz\)
> -Ursprungliche Nachricht- > Von: Jim Coble [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 30. August 2002 16:18 > An: [EMAIL PROTECTED] > Betreff: Tomcat shutdown does not kill java process > > > I'm running Tomcat 4.0.3 stand-alone on a Solaris 8 server. When > I execute > bin/s

OT: mm.mysql 2.0.8 : unwanted query output : solution

2002-08-27 Thread Power-Netz \(Schwarz\)
Just informational for JDBC + MySQL user: If someone still uses the mm.mysql2.0.8 jdbc driver (maybe other versions too), you will have unwanted output from the driver in your stdout. class EscapeProcessor { . --->> System.out.println("Query is: " + stringbuffer1.toString());

noone here who ever made subdomains for vhosts?

2002-08-22 Thread Power-Netz \(Schwarz\)
I can't believe that noone ever made a subdomain within tomcat ? --repost-- Hi, I tried to setup a subdomain for a vhost, but it only reaches the sld vhost entry. As you can see i tried two version, but neither routet bugzilla to the /ticket webapp :-( Any ideas ? for tc.3.3.2 : ---

Q: subdomains for vhosts

2002-08-21 Thread Power-Netz \(Schwarz\)
Hi, I tried to setup a subdomain for a vhost, but it only reaches the sld vhost entry. As you can see i tried two version, but neither routet bugzilla to the /ticket webapp :-( Any ideas ? for tc.3.3.2 : --- v2 --- v1

global errorpage?

2002-08-15 Thread Power-Netz \(Schwarz\)
Hi, which was the server.xml or apps-??.xml option to set an errorpage i.e. for page not found errors .. ??? TC 3.3.2 thx Ihr Support-Team >>> POWER-NETZ® Full-Service-Provider <<< Online-Support: Support: 0190 - 15 11 15 (EUR 0,62/Min) http://Support.Power-Netz.de (kostenlos)

AW: Refresh Issue

2002-08-15 Thread Power-Netz \(Schwarz\)
> Add this to your servlet generated html > > > how about setting it in the resonse ? -- To unsubscribe, e-mail: For additional commands, e-mail:

AW: configuring tomcat for 100+ contexts

2002-08-09 Thread Power-Netz \(Schwarz\)
student in the servlet.xml. I would _like_ to be able to say for every > directory that you find a WEB-INF, such as > /var/www/htdocs/$course/$student/WEB-INF > > Would > appBase="/var/www/htdocs/" reloadable="true" debug="0"/> > make any sense? > I suggest a small per

AW: Missing constructor!??

2002-08-09 Thread Power-Netz \(Schwarz\)
> > I thought constructors weren't supposed to be marked public? Either way I > tried and it made no difference. You have tested your class from a normal java test routine or? If you can use it from normal java code, you can use it from jsp, except you did something wrong in the includes.. M.S

AW: TC and applicationwide beans

2002-07-30 Thread Power-Netz \(Schwarz\)
> If you need only one instance, how about some sort of static factory that > creates one instance of your bean JVM-wide? good idea. thx. -- To unsubscribe, e-mail: For additional commands, e-mail:

AW: TC and applicationwide beans

2002-07-29 Thread Power-Netz \(Schwarz\)
> So, you can use the same class definition of a bean in two > separate webapps > if the class definition is in $TOMCAT_HOME/lib/apps... > (or alternatively, in the WEB-INF/lib directories of your two webapps, but > that is just wasted space). The webapps will create two separate instances > of y

TC and applicationwide beans

2002-07-29 Thread Power-Netz \(Schwarz\)
Hi, can tomcat swap beans from one application to another if both use the classes? If I have a webapp A which granted access to the system and uses a login bean to store the data, does tc accept this bean ( in the same session ) on the webapp B with same classes? Or is a new session created if

AW: Request forwarding to a specific target frame?

2002-07-25 Thread Power-Netz \(Schwarz\)
> 3 ways to achive something like that: > - include javascript in the output of the servlet > - include javascript in the calling page that issues > the request from the right target. > - forget abou frames (That's what I prefer) 4th way: - output of [autoreloading] frameset and saving the req

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

2002-07-23 Thread Power-Netz \(Schwarz\)
> > Hello, > > I need to have SSL certificate . Web server is Tomcat4.04 serving > static and > dynamic pages. Should i upgrade it to APACHE+TOMCAT+SSL or TOMCAT+SSL will > do? . TOMCAT+SSL will do. -- To unsubscribe, e-mail: For additional commands, e-mail:

AW: localhost vs IP address in the URL

2002-07-23 Thread Power-Netz \(Schwarz\)
> on the same machine where tomcat is installed. Using localhost is 20 times > slower than using IP address. names -> ip resolves take time . not caching the name -> ip result will take MUCH MORE TIME :)) > > Doesnt make a difference if I use Apache/AJP/Tomcat or Direct to > Tomcat web > server

AW: Reposting Bean question

2002-07-22 Thread Power-Netz \(Schwarz\)
> > I posted this question, but no one responded before, so here it is again: maybe , because you didn't even tell us, which system / releases you use? > mySite folder jarred the bean with it's mainfest. Now I'm getting a > ClassNotFoundException and a list of packages where it must be > loo

AW: getRemoteHost()/Addr() do always return localhost/127.0.0.1

2002-07-19 Thread Power-Netz \(Schwarz\)
> > Hi, can anyone tell me if it^s normal with TC 3.3.x to get > localhost/127.0.0.1 instead > of the correct remote ip with response.getRemoteHost/Addr() > > It's the default state of this tc implementation since the first day. > Examples in /examples have the same problem. > > TC 3.3.x >

getRemoteHost()/Addr() do always return localhost/127.0.0.1

2002-07-19 Thread Power-Netz \(Schwarz\)
Hi, can anyone tell me if it^s normal with TC 3.3.x to get localhost/127.0.0.1 instead of the correct remote ip with response.getRemoteHost/Addr() It's the default state of this tc implementation since the first day. Examples in /examples have the same problem. TC 3.3.x Linux RH 7.2 Ihr

jsp:forward & encodeURL()

2002-07-18 Thread Power-Netz \(Schwarz\)
Hi, we found out that encodeURL() should not be used for URL for calls with TC 3.3.x . It just does not work. I think the forward takes filenames instead of URLs, right? Ok, just fine and clear because when the code gets to the forward the session is already set and the next codepage is proces

AW: Connect JSP and Mysql

2002-07-18 Thread Power-Netz \(Schwarz\)
> > Hi, > I get confuse when I try to connect JSP and Mysql. > > I use statement: > > <%@page import="java.sql.*"%> > <% > //Khai bao ket noi: > Connection conn; > Statement stm; > ResultSet rs_matau; > String sql_matau=""; > > //Create connection: > Class.forName("org.gjt.mm.my

AW: Excapetion Handling in JSP

2002-07-16 Thread Power-Netz \(Schwarz\)
> -Ursprüngliche Nachricht- > Von: Power-Netz (Schwarz) [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 16. Juli 2002 12:59 > An: tomcat liste > Betreff: Excapetion Handling in JSP > > > > Is it possible for me to catch this exception inside a jsp? >

Excapetion Handling in JSP

2002-07-16 Thread Power-Netz \(Schwarz\)
Is it possible for me to catch this exception inside a jsp? A simple yes or no is enough :) -- javax.servlet.ServletException: getAttributeNames: Session already invalidated Root Cause: java.lang.IllegalStateException:

AW: getRequestURI() final.

2002-07-11 Thread Power-Netz \(Schwarz\)
> I have tested it on tomcat 4.0.x (Resine, WebLogic, WebSphere) > both with cookies turn of and on > both cases return /index.jsp (WITHOUT any jsessionid) > only on JRUN jsession is added to the name of the file >> If you had tested it with cookies turned off , you had have this >> result : "

AW: getRequestURI() final.

2002-07-11 Thread Power-Netz \(Schwarz\)
> JRun 3.1 and Jrun 4.0 are sure it should return > /index.jsp;jsessionid=384975938475 > > > While all other Application servers return just: > /index.jsp > > Who is right? If you had tested it with cookies turned off , you had have this result : "index.jsp;jsessionid=n2mcnodtnl" with cookie

VHOSTS and different SSL keys??

2002-07-10 Thread Power-Netz \(Schwarz\)
Hi , is it possible to use different ssl keys for differen vhosts? TC 3.3.x Linux? M.Schwarz Ihr Support-Team >>> POWER-NETZ® Full-Service-Provider <<< Online-Support: Support: 0190 - 15 11 15 (EUR 0,62/Min) http://Support.Power-Netz.de (kostenlos) http://Support.Power-Netz.com (

AW: Connect JSP and Mysql

2002-07-10 Thread Power-Netz \(Schwarz\)
onnection: > // Class.forName("org.gjt.mm.mysql.Driver"); ^^^use this, it works. > conn = > > DriverManager.getConnection("jdbc:mysql_caucho://localhost/ticket" localhost:PORT/DBNAME PO

AW: Tomcat Performance question

2002-07-08 Thread Power-Netz \(Schwarz\)
> One more point. These servlets must be in a secure environment. They > > use a Thawte certificate for security. I thought Tomcat could be > > configured to use a secure certificate fairly simply, but he says > > otherwise. Thawte certs can be used with tomcat, just the installation of the ce

AW: updating records in a Mysql db using jsp.

2002-07-03 Thread Power-Netz \(Schwarz\)
> > Hi, > > I am using a mysql db with jdbc on a win2000 server with Tomcat. I wonder > how I can update or delete items in a row or delete a complete row. I can > select the specific data in the table and put it on the webpage, > but I also > want to edit this selected item. stmt.execute("upd

AW: Problems with jsp:setProperty

2002-07-03 Thread Power-Netz \(Schwarz\)
> > I'm unable to use setProperty with any of my beans with tomcat, it worked > under jserv so I know my beans have the correct mutators. > > > > misses param="inputnamefromform" ! > > generates this error message: > org.apache.jasper.JasperException: Can't find a method to write prop

expired beans in expired sessions block new sessions? TC 3.3.x

2002-07-02 Thread Power-Netz \(Schwarz\)
Hi, i wonder about this behavior: 1. Login in my site via a login bean ( self made ) login.jsp ... if (login.valid()) { %><% } ... login Form target -> login2.jsp ... This works great as long as the session is valid. 2. The session times out and the login.jsp is forwarded

AW: querying remote databases

2002-07-02 Thread Power-Netz \(Schwarz\)
> Hi, > > I want to query remote databases, which are located in different > computers and different instituon by using servlets an JSP. For > this purpose, I want to send a parameter to this remote databases > using an HTML form. And I want to receive all responds and serve > them in a HTML page

AW: Tomcat 4 - OpenSSL - IE client certificate works partially

2002-07-01 Thread Power-Netz \(Schwarz\)
This is the answere: http://www.comu.de/docs/tomcat_ssl.htm and its really easy. > -Ursprungliche Nachricht- > Von: Henrik Schultz [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 1. Juli 2002 16:43 > An: tomcat-user > Betreff: Tomcat 4 - OpenSSL - IE client certificate works partially

AW: JNDI - What resources are loaded?

2002-06-28 Thread Power-Netz \(Schwarz\)
OT: what is JNDI ??? > > > Is there a way to list all of the JNDI Resources that are loaded for a > > particular context? > > Sure. > > Here is a snipp from my "JNDI browser" JSP: > > <%@ page > info="JNDI browser" > import="javax.naming.*, javax.sql.*, java.sql.*" > contentType="text/html

AW: logging

2002-06-26 Thread Power-Netz \(Schwarz\)
> > does anyone know why tomcat 3.2.2 clears the log file on start-up? i need > all that information to stay there. add "cat $TOMCAT_HOME/logs/stdout.log >>/var/log/tomcat" to your startscript before the startup and you have it. Have fun M.Schwarz -- To unsubscribe, e-mail:

AW: Versisign Global Certificate and Tomcat 4.0.3?

2002-06-14 Thread Power-Netz \(Schwarz\)
http://www.comu.de/docs/tomcat_ssl.htm change the defaults alias to 'tomcat' and ie. password="changeit". > -Ursprungliche Nachricht- > Von: Ryan Cornia [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 14. Juni 2002 16:22 > An: [EMAIL PROTECTED] > Betreff: Versisign Global Certificate an

Tomcat SSL + VHosts was: Apache SSLCERT + Tomcat 3.3 + keytool

2002-06-14 Thread Power-Netz \(Schwarz\)
> and now to MultiDomainVirtuellHosting and SSL with different CERTS :-) To add serveral CERTS to the keyring is not the problem, but to tell Tomcat to use a specific key for a vhost. Is this possible?? I can't see any options for this in the vhost xml directives. Any suggestions? -- To unsu

AW: Tomcat performance issues

2002-06-14 Thread Power-Netz \(Schwarz\)
> Hi All > > I have designed some jsp pages which extract from a database. But > the pages > can take upto 5 minutes before they show the content. Is there > anyway I can > pinpoit where the bottle neck is. My current settings are APACHE > + MOD_jk + > Tomcat 4.03 (could the bottle neck be my Ap

AW: Error found while connecting to mysql from JSP page deployedontomcat

2002-06-14 Thread Power-Netz \(Schwarz\)
> > Hi, > > I have installed tomcat on HP-UX box.I have deployed my web application > on tomcat container.I have copied mysql JDBC driver under common/lib > area. > > While running the application i am getting following error > > Cannot load JDBC driver class 'null' > java.lang.NullPointerExc

AW: Apache SSLCERT + Tomcat 3.3 + keytool

2002-06-14 Thread Power-Netz \(Schwarz\)
> > See http://www.comu.de/docs/tomcat_ssl.htm > > | i have a THAWTE standart CERTIFICATION which thawte says it's X.509v3 , > | but the keytool does not allow to import the corresponding RSA key, > | with / without the password, build as .pem file. > | The same .pem works great with the apache

Apache SSLCERT + Tomcat 3.3 + keytool

2002-06-13 Thread Power-Netz \(Schwarz\)
Hi, i have a THAWTE standart CERTIFICATION which thawte says it's X.509v3 , but the keytool does not allow to import the corresponding RSA key, with / without the password, build as .pem file. The same .pem works great with the apache. How to import this RSA Key with keytool? Ihr Support-

AW: How many rows have a ResultSet?

2002-06-12 Thread Power-Netz \(Schwarz\)
> If you are using JDBC 1.2 you can do it like this (snippet): > > //declare your Statement to return a scroll insensitive result set > //before you make the query > stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, > ResultSet.CONCUR_READ_ONLY); > > //get the number of rows by sc

AW: JasperException

2002-06-10 Thread Power-Netz \(Schwarz\)
> > I'm trying to use a jsp page with a JavaBean and getting the > following error: > "org.apache.jasper.JasperException: Unable to compile class for JSP" > > The jsp page is very simple: > > >TEST PAGE > > > should be id (a typo in your mail or your application

AW: AW: Security problem?

2002-06-07 Thread Power-Netz \(Schwarz\)
> Hi all, > > thanks for your advices. > > Well, I have never worked with encryption. Well I know what is > RSA, but how > can I implement it? Do I have to install something? What have I to use to > implement ansd use an RSA alghoritm? javax.crypto classes could help you. M.Schwarz -- To unsu

AW: Security problem?

2002-06-07 Thread Power-Netz \(Schwarz\)
> > In response to M. Schwarz, with public key encryption schemes > know the clear > text of really doesn't help very much at cracking the private key. Besides > which, the user (presumably) knows what the price of the thing > they are buy > anyway right? So they know what the cleartext of the mes

AW: Security problem?

2002-06-07 Thread Power-Netz \(Schwarz\)
> > This is one way, there are probably others. By using encryption > you can make > such a transaction secure. > If site X is where they buy the thing and site Y is your site: > > You could get site X to pass two things: > - the amount of money the user is to pay in clear text > - the amount of m

AW: Security problem?

2002-06-07 Thread Power-Netz \(Schwarz\)
> -Ursprüngliche Nachricht- > Von: Laura [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 7. Juni 2002 10:47 > An: [EMAIL PROTECTED] > Betreff: Security problem? > > > Hi all, > > it might be that I have a security problem and you should tell me if I am > right. > Well, I have a server wi

AW: Oracle JDBC Drivers not fully working

2002-06-05 Thread Power-Netz \(Schwarz\)
> It is still true. > > Did you find another drivers to replace them??? > No. I had to work around it. But I didn't searched the whole internet for it ;) M.Schwarz -- To unsubscribe, e-mail: For additional commands, e-mail:

mod_jk slows down apache 1.3.23

2002-06-04 Thread Power-Netz \(Schwarz\)
Hi, I have found that the auto config of tomcat for mod_jk slows down my apache. I guess that i did not configure tomcat correctly. Where should i look for and change things?? mod_jk is working so far, as i can access my apps via normale http urls like http://domain/application but no longer v

AW: Session variables?

2002-06-04 Thread Power-Netz \(Schwarz\)
> in JSP or JavaBeans? In JSP with JavaBeans :-) <% int X; yourname.setValue(X); X = yourname.getValueX(); %> public class whatever { private int x = 0; void setValue(int value) { x = value; } int getValueX() {

Oracle JDBC Drivers not fully working

2002-06-04 Thread Power-Netz \(Schwarz\)
Hi, last time i tried oracle, i found that serveral extremly nice functions about traversing a resultset, are not implemented in the oracle drivers. They just throw SQL-exceptions. Be prepared for it :-) >>> POWER-NETZ® Full-Service-Provider <<< Online-Support: Support: 0190 - 15

AW: Detect Cookie Rejection

2002-06-04 Thread Power-Netz \(Schwarz\)
> Does anyone know of a way to detect when cookies are not accepted > by a browser. My site uses session cookies and I'd like to be > able to redirect people somewhere to tell them that the site > requires cookies and what to do to activate them... An easy way to find out if cookies are enabled

AW: tomcat 3.3 | contexts | sessions

2002-05-31 Thread Power-Netz \(Schwarz\)
> For 2: > - Are cookies enable/disabled ? as far as i see , yes.. i check the session state with isNew(), and get everytime the true. > - Do you use response.encodeUrl() for all links between pages ? how is it done? -- To unsubscribe, e-mail: For additional

tomcat 3.3 | contexts | sessions

2002-05-31 Thread Power-Netz \(Schwarz\)
JDK 1.4 Tomcat 3.3final Linux RH7 Hi, i have two problems with tomcat: 1. i want one application i.e. /datenbank be accessible from only one virtual host, which is already defined in httpd.conf ( apache 1.3.23 ) . All other apps should not be accessible, and! no other vhost should access /daten