Re: Runtime command in jsp
1. exec commands are Strings. 2. arguments are in an array. 3. your program should not even compile. Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Ramachandran, Sudhir" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 13, 2001 3:47 PM Subject: Runtime command in jsp > Hi All, > > I am calling a separate process in my jsp page as > > Process aaa=Runtime.getRuntime().exec(swiftgen c:/a/b/c.swf); > > it is calling the process but not creating any file but the same works in > command prompt. please help me or advice me, if there is ant path setting > for this. > > Thanks in advance > > -sudhir > Sudhir Ramachandran > ILSG Learning Tools and Solutions > Ph-(408) 525 4416 > e-mail- [EMAIL PROTECTED] >
Re: Tomcat Server Setup question
Set the JAVA_HOME variable within the tomcat.bat file. That may be a hack, but thats the way I did it. Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Michael Reeves" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 09, 2001 3:07 PM Subject: Tomcat Server Setup question > Hi, > > I'm beyond newbie, meaning, painfully unaware of how to do this. I've been > reading for days the User Guide and all the supporting documents at the > Jakarta website for days and still can't figure out where/why I'm not doing > this correctly. > > I'm attempting to install the Tomcat to run with Apache. However, because > I'm painfully ignorant, I cannot seem to get Tomcat running correctly. I've > successfully installed the Service (can see it in my Component Services > applet), but when I attempt to start the service, it returns "you must set > Java_Home to point at your java development kit installation." > > Where do I find that configuration file? > > I've modified my wrapper.properties and worker.properties configuration > files to point at my Tomcat installation home. I've also set up correctly > (I think), the jk_nt_service.exe module. > > I'm running Windows 2000 with Tomcat 3.3 and Apache 1.3. > > Any help would be greatly appreciated, especially in this heat. > > Sincerely, > > Michael L. Reeves (c)?(c) > > >
Re: Using Tomcat with MSAccess
Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "William Kaufman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 09, 2001 7:14 AM Subject: RE: Using Tomcat with MSAccess > > > > > > "".equals(passwd) > > > > rather than > > > > passwd.equals( "" ) > > > > > No you shouldn't. That's totally evil. For a start, you're > > > creating another String object by doing "" > > > > > > As "" is a constant string, it is created just once. So there > > is not much overhead. > > True, other than the overhead of calling String.intern() when the class is > loaded (JLS 3.10.5). > > > ("".equals might be even faster, because > > the jit can inline the method call, as the address of the object > > and the equals method is constant in this case. > > False. If the compiler can inline equals(), it can inline length(), too. > (In fact, it's more likely to inline length(), since it's a far simpler > method.) I wonder if equals() is implemented with a bitwise "and". If that were the case, then the first invocation of equals would be simpler than the length method (that is with delayed lazy evaluation). > > (And take a look at the source for String.equals(): at best, with comparable > inlining of the two methods, you've added an "instanceof" and a downcast, > which likely swamps any time taken for the rest of the comparison.) > > -- Bill K.
Re: JDBC Realms
Actually, I see why you would not want the passwords in memory. Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Michael Wentzel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 06, 2001 12:13 PM Subject: RE: JDBC Realms > > > Advantage: You don't lose existing session data > > > Disadv : You're not actually re-authenticating > > (not really authenticating, you lost me) > > After looking at some code I figured something out... > I was thinking about this architecture wrong. Kyle was > right just using: > > session.setAttribute("j_password", sPassword); > > will provide a hook for password changes. > > > --- > Michael Wentzel > Software Developer > Software As We Think - http://www.aswethink.com >
Re: mod_jk.so unable to compile, please help. Urgent
Funny signature! Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "raghu" <[EMAIL PROTECTED]> To: "tomcat" <[EMAIL PROTECTED]> Sent: Monday, August 06, 2001 7:01 AM Subject: mod_jk.so unable to compile, please help. Urgent > > ../jk/jk_jni_worker.c:67: jni.h: No such file or directory > ../jk/jk_jni_worker.c:770: warning: > #warning --- > > ../jk/jk_jni_worker.c:771: warning: #warning NO JAVA 2 HEADERS! SUPPORT FOR > JAVA > 2 FEATURES DISABLED > ../jk/jk_jni_worker.c:772: warning: > #warning --- > > apxs:Break: Command failed with rc=1 > > "black holes are, > when GOD is dividing by zero" >
Re: JDBC Realms
Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Michael Wentzel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 06, 2001 6:13 AM Subject: RE: JDBC Realms > > You could store the password in the session. When the user > > changes his or > > her password, just update the session information. > > > > Advantage: You don't lose existing session data > Disadv : You're not actually re-authenticating (not really authenticating, you lost me) > > > > > > > If you're using FORM based authentication I believe you could do > > > a request passing with a username and new password passed in URL > > > as j_username and j_password to j_security_check. Haven't tried > > > this myself but it's worth a try. > > Advantage: You're actually re-authenticating > Disadv : You will lose existing session data and start with new session > > It all depends on exactly what you're trying to accomplish and which > method best fits your needs. > > > --- > Michael Wentzel > Software Developer > Software As We Think - http://www.aswethink.com
Re: JDBC Realms
You could store the password in the session. When the user changes his or her password, just update the session information. Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Michael Wentzel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 06, 2001 5:38 AM Subject: RE: JDBC Realms > > I wonder if anyone else has come across this. > > > > I'm happily using JDBC Realms with Tomcat v3.3. > > > > I would like to let my users change their passwords - of > > course I can put up > > a screen that lets them alter the value of their password on > > the database, > > but then they have to log in again with the new password. Is > > there any way > > round this? - ie to let Tomcat know that they've entered a > > new password? > > If you're using FORM based authentication I believe you could do > a request passing with a username and new password passed in URL > as j_username and j_password to j_security_check. Haven't tried > this myself but it's worth a try. > > > --- > Michael Wentzel > Software Developer > Software As We Think - http://www.aswethink.com
Re: Servllet
Maybe do a sleep instead of busy waiting (looping takes up too much cpu time). Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Michael Wentzel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 06, 2001 4:10 AM Subject: RE: Servllet > > How about running an application that periodically posts to > > the servlet? > > > > > > > How can a servlet be automatically be invoked by > > > itself, say peroidically? > > > Usul > > I think a better way is to write a servlet which is configured > as a load on startup servlet which forks a separate "scheduler" > thread which then defines tasks to be completed at specified > interval(using a properties file or init params...). The > Thread(Runnable) will essentially be a infinite loop which will > check to see if it's time to run certain tasks. i.e. > > while(1) { > if ( /*somethings true 1*/ ) { > /*perform task 1*/ > } > if ( /*somethings true 2*/ ) { > /*perform task 2*/ > } > // ... > } > > > --- > Michael Wentzel > Software Developer > Software As We Think - http://www.aswethink.com
Re: Servllet
How about running an application that periodically posts to the servlet? Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Usul Chandra" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, August 04, 2001 8:29 PM Subject: Servllet > How can a servlet be automatically be invoked by > itself, say peroidically? > Usul > > > __ > Do You Yahoo!? > Make international calls for as low as $.04/minute with Yahoo! Messenger > http://phonecard.yahoo.com/ >
Re: Is someone attempting to hack my server's tomcat 3.2.3?
They are trying to exploit a buffer overflow bug in IIS. They keep trying to do the same thing to me, but I am not running IIS or have it installed. Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Kasnol (2001)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 05, 2001 7:32 AM Subject: Is someone attempting to hack my server's tomcat 3.2.3? > Hello all, > > I am using tomcat 3.2.3, windows 2000 professional at my home, upon > occasional inspection of my tomcat log, an intresting, strange error is > observed and enclosed below. I only can caputure 200 lines from my log > screen, but below is the best bit of the tomcat output. The full version is > appended below to my message: > > Parse error, missing : in ccept: */* > t > Full GET > /default.ida?N > > > > > NNN%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7 > 801% > u9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u%u00=a HTTP/1.0 > Content-type: text/xmlHOST:www.worm.com Accept: */* > trol: bypass-client=202.156.138.27 > Connection: closeVia: 1.0 HHCE3X-Forwarded-For: 202.156.138.27 > > I can tell that someone is trying to access via GET method, and > default.ida(?) or is it downloading somestuff somewhere in the net? > > I believe it can be somehow related to the recent worm scare at win2k. > Is someone trying to implant a worm in my computer, or is this something > tomcat, win2k, is vulnerable to ? > I haven't seen anything wrong with my computer yet... but I guess I should > start a full visurs scan > > Thankx! > Any help/light is appreciated > Regards > Kas > > /* Log Description ***/ > 2001-08-05 19:53:07 - ContextManager: Error reading request, ignored - > java.lang > .NumberFormatException: 3379 > at java.lang.Integer.parseInt(Integer.java:423) > at java.lang.Integer.parseInt(Integer.java:463) > at > org.apache.tomcat.core.RequestImpl.getContentLength(RequestImpl.java: > 284) > at > org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio > n(HttpConnectionHandler.java:200) > at > org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java: > 416) > at > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java > :501) > at java.lang.Thread.run(Thread.java:484) > > Parse error, missing : in ccept: */* > t > Full GET > /default.ida?N > > > > > NNN%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7 > 801% > u9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u%u00=a HTTP/1.0 > Content-type: text/xmlHOST:www.worm.com Accept: */* > trol: bypass-client=202.156.138.27Connection: closeVia: 1.0 > HHCE3X-Forward > ed-For: 202.156.138.27 > > 2001-08-05 19:55:27 - Ctx( ): 404 R( + /default.ida + null) null > 2001-08-05 20:10:54 - ContextManager: Error reading request, ignored - > java.lang > .NumberFormatException: 3379 > at java.lang.Integer.parseInt(Integer.java:423) > at java.lang.Integer.parseInt(Integer.java:463) > at > org.apache.tomcat.core.RequestImpl.getContentLength(RequestImpl.java: > 284) > at > org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio > n(HttpConnectionHandler.java:200) > at > org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java: > 416) > at > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java > :501) > at java.lang.Thread.run(Thread.java:484) > > 2001-08-05 20:23:28 - ContextManager: Error reading request, ignored - > java.lang > .NumberFormatException: 3379 > at java.lang.Integer.parseInt(Integer.java:423) > at java.lang.Integer.parseInt(Integer.java:463) > at > org.apache.tomcat.core.RequestImpl.getContentLength(RequestImpl.java: > 284) > at > org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio > n(HttpConnectionHandler.java:200) > at > org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java: > 416) > at > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java > :501) > at java.lang.Thread.run(Thread.java:484) > > 2001-08-05 20:29:41 - ContextManager: Error reading request, ignored - > java.lang > .NumberFormatException: 3379 > at java.lang.Integer.parseInt(Integer.java:423) > at java.lang.Integer.parseInt(Integer.java:463) > at > org.apache.tomcat.core.RequestImpl.getContentLength(RequestIm
Re: TOMCAT and Apache
The apache server is a more robust server, and therefore should be used for static pages. Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "alexus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 03, 2001 10:20 AM Subject: TOMCAT and Apache > hello > > can someone explain me what's is better run tomcat through apache or as a > stand alone and why? > > thank you > >
Re: Tomcat/4.0-b6: ERROR reading java.io.FileInputStream
Maybe something happened to the classloader. To identify the object you need the originating classloader. Is catalina loading new classloaders (perhaps for efficiency reasons)? Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Cyril Bouteille" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 03, 2001 11:10 AM Subject: Re: Tomcat/4.0-b6: ERROR reading java.io.FileInputStream > Beth Kelly wrote: > > For some reason your classloader cannot load the class FileInputStream. The > > classpath may be wrong or some other path. java.io.FileInputStream@fab6 is > > an object with hashcode fab6. It looks like a loading problem. > > It looks like an object reference to me. If so, that means the VM has > been able instantiate it. This standard java class has therefore most > likely been loaded right. The problem I think is that it's trying to > read a file, but I don't know which one... > > Is there any way to make Catalina display more info? > I tried to pass the debug parameter at the command line and it's > displaying all kind of stuff, but nothing related to this error. > > Regards, > > - Original Message - > > From: "Cyril Bouteille" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, August 03, 2001 9:07 AM > > Subject: Re: Tomcat/4.0-b6: ERROR reading java.io.FileInputStream > > > > > Beth Kelly wrote: > > > > Line 25 of the servlet code may contain the answer to your problem. > > > > > > I believe the line number refers the first tag in my web.xml > > > file. If I move the tags around in this file, the line number is updated > > > accordingly. Somehow, the default servlet declaration generates this > > > error. The servlet class name is correct though... > > > > > > Has anyone an idea of what could be the cause of this error? > > > ERROR reading java.io.FileInputStream@fa6f > > > At Line 25 /web-app/servlet/ > > > > > > Thanks, > > > > > > > > > > > - Original Message - > > > > > > > > From: "Cyril Bouteille" <[EMAIL PROTECTED]> > > > > > > > > To: <[EMAIL PROTECTED]> > > > > > > > > Cc: "Sean Connolly" <[EMAIL PROTECTED]> > > > > > > > > Sent: Thursday, August 02, 2001 2:57 PM > > > > > > > > Subject: Tomcat/4.0-b6: ERROR reading java.io.FileInputStream > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > I installed Tomcat/4.0-b6 and tried to set it up in our > > > > environment, > > > > > > but > > > > > > > > > I get a startup error: > > > > > > > > > > > > > > > > > > Starting Tomcat with -server -ms128m -mx512m > > > > > > > > > > > > > > > > > > > > > -Djava.util.logging.config.file=/export/home/cyril/p4/phoenix/main/deploy/ > > > > > > > > dev/logging.properties > > > > > > > > > -cp > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /export/home/cyril/p4/java/sunos-sparc/1.4b/lib/tools.jar:/export/home/cyril > > > > > > > > /p4/apache/tomcat/4.0b6/bin/bootstrap.jar > > > > > > > > > -Dcatalina.home=/export/home/cyril/p4/apache/tomcat/4.0b6 > > > > > > > > > > > > > > > > > > > > > -Dhotwire.props=/export/home/cyril/p4/phoenix/main/deploy/dev/hotwire.view > > > > > > > > .props > > > > > > > > > -f > > > > > > /export/home/cyril/p4/phoenix/main/deploy/dev/tomcat/conf/server.xml > > > > > > > > > Starting service Tomcat-Standalone > > > > > > > > > Apache Tomcat/4.0-b6 > > > > > > > > > ERROR reading java.io.FileInputStream@fa6f > > > > > > > > > At Line 25 /web-app/servlet/ > > > > > > > > > > > > > > > > > > I believe this error refers to the first node in my > > > > web.xml, > > > > > > > > > but I don't find anything wrong with it and am not sure what > >
Re: Is there a way to get the Referrer information from a request?
<% Enumeration names = request.getHeaderNames(); while(names.hasMoreElements()) { out.write(names.nextElement()+" = "+request.getHeader((String)names.nextElement())+""); } %> Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Corey A. Johnson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 02, 2001 4:17 PM Subject: Re: Is there a way to get the Referrer information from a request? > how did you print out all the header info? > > Cj > > Beth Kelly wrote: > > > Good points. I printed out all of the headers fields, and values. The > > header does not contain a Referrer, Referer, referer, or referrer field. > > > > Kyle Wayne Kelly > > (504)391-3985 > > http://www.cs.uno.edu/~kkelly > > - Original Message - > > From: "Dan Garcia" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, August 02, 2001 3:20 PM > > Subject: Re: Is there a way to get the Referrer information from a request? > > > > > On Thu, 2 Aug 2001, Beth Kelly wrote: > > > > I have read that a million times, but that field is not in the header > > > > either. > > > > > > I notice you keep writing it as referrer in your emails, however the > > proper > > > spelling fr the -header- is referer - one r :) > > > > > > Note: that sometimes there won't be a referer... > > > > > > --Dg > > > > > > > Kyle Wayne Kelly > > > > (504)391-3985 > > > > http://www.cs.uno.edu/~kkelly > > > > - Original Message - > > > > From: "Corey A. Johnson" <[EMAIL PROTECTED]> > > > > To: <[EMAIL PROTECTED]> > > > > Sent: Thursday, August 02, 2001 3:05 PM > > > > Subject: Re: Is there a way to get the Referrer information from a > > request? > > > > > > > > > > > > > this will do it: > > > > > > > > > > request.getHeader("referer"); > > > > > > > > > > purposely misspell referrer. > > > > > > > > > > Kyle Wayne Kelly wrote: > > > > > > > > > > > I printed out the html header, and it did not include the referrer > > > > field. > > > > > > Is there another way to get the referrer field? > > > > > > > > > > > > Kyle Wayne Kelly > > > > > > (504)391-3985 > > > > > > http://www.cs.uno.edu/~kkelly > > > > > > > > > > -- > > > > > corey a. johnson <><> cni <><> 1.321.259.1984 <><> 1.800.264.5547 > > > > > > > > > > > > > > > > > > > > > > > -- > corey a. johnson <><> cni <><> 1.321.259.1984 <><> 1.800.264.5547 > > >
Re: Application Server
Thanks Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "William Kaufman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 02, 2001 2:39 PM Subject: RE: Application Server > The important bit is: > > > ezmlm-reject: fatal: Sorry, I don't accept messages of MIME > > Content-Type > > 'multipart/alternative' (#5.2.3) > > The lesson here is, use plain text, like it says in the "welcome" message > we're all sent when we sign on to the mailing list. > > In Outlook, you can set this in the dialog run from the "Tools/Options" > menu--it's on the "Mail Format" page. You can also set this on each > message, by selecting the "Format/Plain Text" menu. > > -- Bill K. > > > -Original Message- > > From: Beth Kelly [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, August 02, 2001 4:21 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Application Server > > > > > > How can I send mail to the server? When I send a message to > > the newsgroup, > > I receive the following message: > > > > > > Hi. This is the qmail-send program at apache.org. > > I'm afraid I wasn't able to deliver your message to the > > following addresses. > > This is a permanent error; I've given up. Sorry it didn't work out. > > > > <[EMAIL PROTECTED]>: > > ezmlm-reject: fatal: Sorry, I don't accept messages of MIME > > Content-Type > > 'multipart/alternative' (#5.2.3) > > > > --- Below this line is a copy of the message. > > > > Return-Path: <[EMAIL PROTECTED]> > > Received: (qmail 93996 invoked from network); 2 Aug 2001 > > 21:03:59 - > > Received: from mail301.mail.bellsouth.net (HELO > > imf01bis.bellsouth.net) > > (205.152.58.161) > > by h31.sny.collab.net with SMTP; 2 Aug 2001 21:03:59 - > > Received: from wisdom ([66.20.122.79]) by imf01bis.bellsouth.net > > (InterMail vM.5.01.01.01 201-252-104) with SMTP > > id <20010802210431.BNWQ3259.imf01bis.bellsouth.net@wisdom> > > for <[EMAIL PROTECTED]>; > > Thu, 2 Aug 2001 17:04:31 -0400 > > Message-ID: <002a01c11ba8$a883cc30$3f7cfea9@wisdom> > > From: "Kyle Wayne Kelly" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Subject: Is there a way to get the Referrer information from > > a request? > > Date: Thu, 2 Aug 2001 16:12:53 -0700 > > MIME-Version: 1.0 > > Content-Type: multipart/alternative; > > boundary="=_NextPart_000_0027_01C11B6D.FBDD63E0" > > X-Priority: 3 > > X-MSMail-Priority: Normal > > X-Mailer: Microsoft Outlook Express 5.50.4522.1200 > > X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 > > X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > > > > This is a multi-part message in MIME format. > > > > --=_NextPart_000_0027_01C11B6D.FBDD63E0 > > Content-Type: text/plain; > > charset="iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > I printed out the html header, and it did not include the referrer = > > field. Is there another way to get the referrer field? > > > > Kyle Wayne Kelly > > (504)391-3985 > > http://www.cs.uno.edu/~kkelly > > > > --=_NextPart_000_0027_01C11B6D.FBDD63E0 > > Content-Type: text/html; > > charset="iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > > > > > > charset=3Diso-8859-1"> > > > > > > > > > > I printed out the html > > header, and it = > > did not=20 > > include the referrer field. Is there another way to get the = > > referrer=20 > > field? > > > > Kyle Wayne > > Kelly(504)391-3985 > > > href=3D"http://www.cs.uno.edu/~kkelly";>http://www.cs.uno.edu/~ > > kkelly<= > > /FONT> > > > > --=_NextPart_000_0027_01C11B6D.FBDD63E0-- > > > > > > Kyle Wayne Kelly > > (504)391-3985 > > http://www.cs.uno.edu/~kkelly > > - Original Message - > > From: "arnox" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, August 02, 2001 1:33 PM > > Subject: RE: Application Server > > > > > > > Orion is quite excellent :) (no I'm not affiliated in any > > way).
Re: Tomcat/4.0-b6: ERROR reading java.io.FileInputStream
For some reason your classloader cannot load the class FileInputStream. The classpath may be wrong or some other path. java.io.FileInputStream@fab6 is an object with hashcode fab6. It looks like a loading problem. Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Cyril Bouteille" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 03, 2001 9:07 AM Subject: Re: Tomcat/4.0-b6: ERROR reading java.io.FileInputStream > Beth Kelly wrote: > > Line 25 of the servlet code may contain the answer to your problem. > > I believe the line number refers the first tag in my web.xml > file. If I move the tags around in this file, the line number is updated > accordingly. Somehow, the default servlet declaration generates this > error. The servlet class name is correct though... > > Has anyone an idea of what could be the cause of this error? > ERROR reading java.io.FileInputStream@fa6f > At Line 25 /web-app/servlet/ > > Thanks, > > > > > > > - Original Message - > > > > > > From: "Cyril Bouteille" <[EMAIL PROTECTED]> > > > > > > To: <[EMAIL PROTECTED]> > > > > > > Cc: "Sean Connolly" <[EMAIL PROTECTED]> > > > > > > Sent: Thursday, August 02, 2001 2:57 PM > > > > > > Subject: Tomcat/4.0-b6: ERROR reading java.io.FileInputStream > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > I installed Tomcat/4.0-b6 and tried to set it up in our > > environment, > > > > but > > > > > > > I get a startup error: > > > > > > > > > > > > > > Starting Tomcat with -server -ms128m -mx512m > > > > > > > > > > > > > -Djava.util.logging.config.file=/export/home/cyril/p4/phoenix/main/deploy/ > > > > > > dev/logging.properties > > > > > > > -cp > > > > > > > > > > > > > > > > > > > /export/home/cyril/p4/java/sunos-sparc/1.4b/lib/tools.jar:/export/home/cyril > > > > > > /p4/apache/tomcat/4.0b6/bin/bootstrap.jar > > > > > > > -Dcatalina.home=/export/home/cyril/p4/apache/tomcat/4.0b6 > > > > > > > > > > > > > -Dhotwire.props=/export/home/cyril/p4/phoenix/main/deploy/dev/hotwire.view > > > > > > .props > > > > > > > -f > > > > /export/home/cyril/p4/phoenix/main/deploy/dev/tomcat/conf/server.xml > > > > > > > Starting service Tomcat-Standalone > > > > > > > Apache Tomcat/4.0-b6 > > > > > > > ERROR reading java.io.FileInputStream@fa6f > > > > > > > At Line 25 /web-app/servlet/ > > > > > > > > > > > > > > I believe this error refers to the first node in my > > web.xml, > > > > > > > but I don't find anything wrong with it and am not sure what this > > > > error > > > > > > > message means. > > > > > > > > > > > > > > Any idea what is configured wrong? > > > > > > > I attach to this message my web.xml and server.xml file. > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > > > > > -- > > > > -- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > PUBLIC > > > > > > > "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > > > > > > > "http://java.sun.com/dtd/web-app_2_3.dtd";> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > default > > > > > > > > > > > > > > > > > > > org.apache.catalina.servlets.DefaultServlet > > > > > > > > > > > > > > debug > > > > > > > 0 > > > > > > > > > > > > > > > > > > > > > listings > > >
Re: Tomcat/4.0-b6: ERROR reading java.io.FileInputStream
Can you print out the servlet source code? Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Cyril Bouteille" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 02, 2001 3:24 PM Subject: Re: Tomcat/4.0-b6: ERROR reading java.io.FileInputStream > Beth Kelly wrote: > > Is the JAVA_HOME variable set? > > Yes. > > cyril@wyvern:~/p4/phoenix/main/build> echo $JAVA_HOME > /export/home/cyril/p4/java/sunos-sparc/1.4b > > I get Catalina to start, it appears to break when reading my web.xml > file. > > Regards, > > - Original Message - > > From: "Cyril Bouteille" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Cc: "Sean Connolly" <[EMAIL PROTECTED]> > > Sent: Thursday, August 02, 2001 2:57 PM > > Subject: Tomcat/4.0-b6: ERROR reading java.io.FileInputStream > > > > > Hi, > > > > > > I installed Tomcat/4.0-b6 and tried to set it up in our environment, but > > > I get a startup error: > > > > > > Starting Tomcat with -server -ms128m -mx512m > > > -Djava.util.logging.config.file=/export/home/cyril/p4/phoenix/main/deploy/ > > dev/logging.properties > > > -cp > > > > > /export/home/cyril/p4/java/sunos-sparc/1.4b/lib/tools.jar:/export/home/cyril > > /p4/apache/tomcat/4.0b6/bin/bootstrap.jar > > > -Dcatalina.home=/export/home/cyril/p4/apache/tomcat/4.0b6 > > > -Dhotwire.props=/export/home/cyril/p4/phoenix/main/deploy/dev/hotwire.view > > .props > > > -f /export/home/cyril/p4/phoenix/main/deploy/dev/tomcat/conf/server.xml > > > Starting service Tomcat-Standalone > > > Apache Tomcat/4.0-b6 > > > ERROR reading java.io.FileInputStream@fa6f > > > At Line 25 /web-app/servlet/ > > > > > > I believe this error refers to the first node in my web.xml, > > > but I don't find anything wrong with it and am not sure what this error > > > message means. > > > > > > Any idea what is configured wrong? > > > I attach to this message my web.xml and server.xml file. > > > > > > Thanks, > > > > -- -- > > > > > > > > > > > > > > > PUBLIC > > > "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > > > "http://java.sun.com/dtd/web-app_2_3.dtd";> > > > > > > > > > > > > > > > > > > > > > > > > default > > > > > org.apache.catalina.servlets.DefaultServlet > > > > > > debug > > > 0 > > > > > > > > > listings > > > true > > > > > > 1 > > > > > > > > > > > > > > > invoker > > > > > org.apache.catalina.servlets.InvokerServlet > > > > > > debug > > > 0 > > > > > > 2 > > > > > > > > > > > > > > > jsp > > > org.apache.jasper.servlet.JspServlet > > > > > > > > > javaEncoding > > > UTF-8 > > > > > > > > > > > > logVerbosityLevel > > > WARNING > > > > > > 4 > > > > > > > > > > > > system > > > hotwire.view.web.servlet.SystemServlet > > > 1 > > > > > > > > > > > > controller > > > > > hotwire.view.web.servlet.ControllerServlet > > > 2 > > > > > > > > > > > > > > > > > > default > > > / > > > > > > > > > jsp > > > /jsp/* > > > > > > > > > system > > > /system > > > > > > > > > controller > > > *.jsp > > > > > > > > > > > > > > > 30 > > > > > > > > > > > > > > > index.html > > > index.jsp > > > > > > > > > > > > 404 > > > /jsp/error.jsp > > > > > > > > > > > > http://www.hotwire.com/taglib-1.0 > >
Re: Is there a way to get the Referrer information from a request?
I am using an apache server. Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Tim O'Neil" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 02, 2001 3:18 PM Subject: Re: Is there a way to get the Referrer information from a request? > Your web server must not be setting it then. What server > are you using? Write a quick perl script that prints out > all the headers. > > At 05:20 PM 8/2/2001, you wrote: > >I have read that a million times, but that field is not in the header > >either. > >Kyle Wayne Kelly > >(504)391-3985 > >http://www.cs.uno.edu/~kkelly > >- Original Message - > >From: "Corey A. Johnson" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Thursday, August 02, 2001 3:05 PM > >Subject: Re: Is there a way to get the Referrer information from a request? > > > > > > > this will do it: > > > > > > request.getHeader("referer"); > > > > > > purposely misspell referrer. > > > > > > Kyle Wayne Kelly wrote: > > > > > > > I printed out the html header, and it did not include the referrer > >field. > > > > Is there another way to get the referrer field? > > > > > > > > Kyle Wayne Kelly > > > > (504)391-3985 > > > > http://www.cs.uno.edu/~kkelly > > > > > > -- > > > corey a. johnson <><> cni <><> 1.321.259.1984 <><> 1.800.264.5547 > > > > > > >
Re: Is there a way to get the Referrer information from a request?
I used a link, and it worked. Before, I was trying to use the referrer information from the outer frame. Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Jeff Rancier" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 03, 2001 5:58 AM Subject: RE: Is there a way to get the Referrer information from a request? > What did you do to make it work? > > -Original Message- > From: Beth Kelly [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 02, 2001 8:46 PM > To: [EMAIL PROTECTED] > Subject: Re: Is there a way to get the Referrer information from a > request? > > > Ok, now it works. > > Kyle Wayne Kelly > (504)391-3985 > http://www.cs.uno.edu/~kkelly > - Original Message - > From: "Dan Garcia" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, August 02, 2001 3:20 PM > Subject: Re: Is there a way to get the Referrer information from a request? > > > > On Thu, 2 Aug 2001, Beth Kelly wrote: > > > I have read that a million times, but that field is not in the header > > > either. > > > > I notice you keep writing it as referrer in your emails, however the > proper > > spelling fr the -header- is referer - one r :) > > > > Note: that sometimes there won't be a referer... > > > > --Dg > > > > > Kyle Wayne Kelly > > > (504)391-3985 > > > http://www.cs.uno.edu/~kkelly > > > - Original Message - > > > From: "Corey A. Johnson" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Thursday, August 02, 2001 3:05 PM > > > Subject: Re: Is there a way to get the Referrer information from a > request? > > > > > > > > > > this will do it: > > > > > > > > request.getHeader("referer"); > > > > > > > > purposely misspell referrer. > > > > > > > > Kyle Wayne Kelly wrote: > > > > > > > > > I printed out the html header, and it did not include the referrer > > > field. > > > > > Is there another way to get the referrer field? > > > > > > > > > > Kyle Wayne Kelly > > > > > (504)391-3985 > > > > > http://www.cs.uno.edu/~kkelly > > > > > > > > -- > > > > corey a. johnson <><> cni <><> 1.321.259.1984 <><> 1.800.264.5547 > > > > > > > > > > > > > > > > > >
Re: Is there a way to get the Referrer information from a request?
Ok, now it works. Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Dan Garcia" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 02, 2001 3:20 PM Subject: Re: Is there a way to get the Referrer information from a request? > On Thu, 2 Aug 2001, Beth Kelly wrote: > > I have read that a million times, but that field is not in the header > > either. > > I notice you keep writing it as referrer in your emails, however the proper > spelling fr the -header- is referer - one r :) > > Note: that sometimes there won't be a referer... > > --Dg > > > Kyle Wayne Kelly > > (504)391-3985 > > http://www.cs.uno.edu/~kkelly > > - Original Message - > > From: "Corey A. Johnson" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, August 02, 2001 3:05 PM > > Subject: Re: Is there a way to get the Referrer information from a request? > > > > > > > this will do it: > > > > > > request.getHeader("referer"); > > > > > > purposely misspell referrer. > > > > > > Kyle Wayne Kelly wrote: > > > > > > > I printed out the html header, and it did not include the referrer > > field. > > > > Is there another way to get the referrer field? > > > > > > > > Kyle Wayne Kelly > > > > (504)391-3985 > > > > http://www.cs.uno.edu/~kkelly > > > > > > -- > > > corey a. johnson <><> cni <><> 1.321.259.1984 <><> 1.800.264.5547 > > > > > > > > > > >
Re: Is there a way to get the Referrer information from a request?
I have read that a million times, but that field is not in the header either. Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Corey A. Johnson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 02, 2001 3:05 PM Subject: Re: Is there a way to get the Referrer information from a request? > this will do it: > > request.getHeader("referer"); > > purposely misspell referrer. > > Kyle Wayne Kelly wrote: > > > I printed out the html header, and it did not include the referrer field. > > Is there another way to get the referrer field? > > > > Kyle Wayne Kelly > > (504)391-3985 > > http://www.cs.uno.edu/~kkelly > > -- > corey a. johnson <><> cni <><> 1.321.259.1984 <><> 1.800.264.5547 > >
Re: Is there a way to get the Referrer information from a request?
Good points. I printed out all of the headers fields, and values. The header does not contain a Referrer, Referer, referer, or referrer field. Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "Dan Garcia" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 02, 2001 3:20 PM Subject: Re: Is there a way to get the Referrer information from a request? > On Thu, 2 Aug 2001, Beth Kelly wrote: > > I have read that a million times, but that field is not in the header > > either. > > I notice you keep writing it as referrer in your emails, however the proper > spelling fr the -header- is referer - one r :) > > Note: that sometimes there won't be a referer... > > --Dg > > > Kyle Wayne Kelly > > (504)391-3985 > > http://www.cs.uno.edu/~kkelly > > - Original Message - > > From: "Corey A. Johnson" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, August 02, 2001 3:05 PM > > Subject: Re: Is there a way to get the Referrer information from a request? > > > > > > > this will do it: > > > > > > request.getHeader("referer"); > > > > > > purposely misspell referrer. > > > > > > Kyle Wayne Kelly wrote: > > > > > > > I printed out the html header, and it did not include the referrer > > field. > > > > Is there another way to get the referrer field? > > > > > > > > Kyle Wayne Kelly > > > > (504)391-3985 > > > > http://www.cs.uno.edu/~kkelly > > > > > > -- > > > corey a. johnson <><> cni <><> 1.321.259.1984 <><> 1.800.264.5547 > > > > > > > > > > >
Re: Application Server
How can I send mail to the server? When I send a message to the newsgroup, I receive the following message: Hi. This is the qmail-send program at apache.org. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. <[EMAIL PROTECTED]>: ezmlm-reject: fatal: Sorry, I don't accept messages of MIME Content-Type 'multipart/alternative' (#5.2.3) --- Below this line is a copy of the message. Return-Path: <[EMAIL PROTECTED]> Received: (qmail 93996 invoked from network); 2 Aug 2001 21:03:59 - Received: from mail301.mail.bellsouth.net (HELO imf01bis.bellsouth.net) (205.152.58.161) by h31.sny.collab.net with SMTP; 2 Aug 2001 21:03:59 - Received: from wisdom ([66.20.122.79]) by imf01bis.bellsouth.net (InterMail vM.5.01.01.01 201-252-104) with SMTP id <20010802210431.BNWQ3259.imf01bis.bellsouth.net@wisdom> for <[EMAIL PROTECTED]>; Thu, 2 Aug 2001 17:04:31 -0400 Message-ID: <002a01c11ba8$a883cc30$3f7cfea9@wisdom> From: "Kyle Wayne Kelly" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Is there a way to get the Referrer information from a request? Date: Thu, 2 Aug 2001 16:12:53 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_NextPart_000_0027_01C11B6D.FBDD63E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This is a multi-part message in MIME format. --=_NextPart_000_0027_01C11B6D.FBDD63E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I printed out the html header, and it did not include the referrer = field. Is there another way to get the referrer field? Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly --=_NextPart_000_0027_01C11B6D.FBDD63E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I printed out the html header, and it = did not=20 include the referrer field. Is there another way to get the = referrer=20 field? Kyle Wayne Kelly(504)391-3985http://www.cs.uno.edu/~kkelly";>http://www.cs.uno.edu/~kkelly<= /FONT> --=_NextPart_000_0027_01C11B6D.FBDD63E0-- Kyle Wayne Kelly (504)391-3985 http://www.cs.uno.edu/~kkelly - Original Message - From: "arnox" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 02, 2001 1:33 PM Subject: RE: Application Server > Orion is quite excellent :) (no I'm not affiliated in any way). It is > fast, free for development (as long as it takes..), and at $1500 it really > isn't all that much compared to competition. > > I tested it on SuSE 7.2 and Windows and haven't found a problem. > I would definitely recommend it. > > -arnox > > -Original Message- > From: Gregor Kovae [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 02, 2001 3:27 AM > To: [EMAIL PROTECTED] > Subject: Re: Application Server > > > Hi! > First of all I cannot find www.orionserver.org > Second of all, if you mean www.orionserver.com they have their Pricing page > that says > - Orion Application Server development version (full version for > development and for non-commercial deployment) FREE > - Orion Application Server for commercial deployment $1500 per physical > server > > So ? > > Best regards, > Kovi > > > At 16:41 2.8.01 +1000, you wrote: > >Utech - Han Lim wrote: > > > > > > Hi, About WebLogic I don't think it's free:( Do you know the free one > > beside > > > JBoss and JRun Developer Edition? > > > >orion is free (http://www.orionserver.org), but there are plenty of ppl > >running JBoss on BSD, did you post on the JBoss list with your problem? > > > >cheers > >dim > > > > > > > > Thanks. > > > > > > regards, > > > Han Lim > > > > > > -Original Message- > > > From: Moin Anjum H. [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, August 02, 2001 1:39 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: Application Server > > > > > > Hi, > > > > > > How about WebLogic from BEA Systems. > > > > > > HTH > > > Regards > > > Moin, > > > > > > Utech - Han Lim wrote: > > > > > > > Does anyone know the good application server that support EJB and > J2EE? I > > > > found JBoss but I have a problem when running it on FreeBSD machine, > any > > > > suggestion? > > > > > > > > Thanks > > > > > > > > Han Lim > > >