IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1992.93 MB
Powered by
Channel Info
Network: freenodeChannel: #tomcat |
Search in www.irclog.org
Log from #tomcat at freenode 2006-07-13
[07:27]<gnvj>Hi all, just checking out the channel.
[07:27]<gnvj>Thought i would introduce cause i will prob need some advice over the next couple of days
[07:35]<fdcgg>heh
[07:35]<fdcgg>shoot off some fireworks for me!
[07:56]<r2rfygv>boom
[07:56]<fdcgg>sup jba
[07:56]<r2rfygv>playin w/croquet
[08:02]<fdcgg>im doing feature add on software i wrote 2 years ago
[08:02]<fdcgg>next time im quoting $500/hr just to make sure i dont ahve to do this work again :/
[08:06]<r2rfygv>I'll do it for $300.
[08:11]<fdcgg>im doing it for $250
[08:11]<fdcgg>so..
[08:13]<r2rfygv>Ok, I'll do it for $150 then.
[08:14]<r2rfygv>If you wanna get rid of it.... and they get a price break. :p
[09:23]<fdcgg>omg
[09:23]<fdcgg>this is the worst setup ive ever seen for a system
[09:23]<fdcgg>mod_jk and a fkn mess of files all over the document root of the httpd
[09:23]<fdcgg>please kill me now
[10:08]<grgmrg>hi, am new to tomcat and jsp whr to placem y jsp files ??
[10:09]<fdcgg>have you got tomcat installed ?
[10:10]<fdcgg>http://www.coreservlets.com/Apache-Tomcat-Tutorial/ <- might be of help
[11:02]<mzcmjnz>hi all..I have a small issue..if I use FormFile.getFileName() I always get the filename in lowercase..not sure why this is happening..can anyone help ?
[11:26]<mzcmjnz>no one here ?
[11:56]<mzcmjnz>never mind..found the problem..
[15:32]<mrxjugm>hey
[15:33]<mrxjugm>i have added an user to tomcat-users.xml with the manager,admin roles. however, only admin works ok
[15:33]<mrxjugm>the manager will show me "HTTP Status 403 - Access to the requested resource has been denied"
[15:33]<mrxjugm>:|
[15:33]<mrxjugm>does anybody know what is this about?
[15:36]<mrxjugm>the weird thing is... it doesn't even ask me to authenticate
[15:36]<mrxjugm>oh... and sometimes the log shows this:
[15:36]<mrxjugm>13/Jul/2006 13:33:40 org.apache.struts.action.RequestProcessor processMapping
[15:36]<mrxjugm>SEVERE: Invalid path was requested /login
[15:36]<mrxjugm>(using tomcat 5.5.17-r1)
[17:11]<mjzvuys>I'm a newbie to tomcat, I have a simple servlet running and would like to include a .css file. Could anyone tell me where I put the .css file and any other static files I want to host such as .js and .hmtl files?
[17:13]<swggvg>Mortuis: into your context's root-directory
[17:16]<mjzvuys>swente: I'm very new, so please excuse any stupid questions. But are you talking about the tomcat project's root directory? Or the WEB-INF/src directory? Or a folder on the hard drive?
[17:17]<swggvg>Mortuis: first - it's all folders on the harddrive, isn't it? :)
[17:18]<swggvg>Mortuis: if your app resides in "$TOMCAT/webapps/<YOURAPP>", then "YOURAPP" is your webapp, or called "context"
[17:18]<swggvg>Mortuis: "below" the context-dir, there's the WEB-INF directory.
[17:18]<mjzvuys>swente: Yeah, but I'm new so I'm still differentiating what I see in Eclipse and what I have to go to manually. ;-)
[17:19]<swggvg>Mortuis: mmh ok. in eclipse, it's the WebWhatever-structure .. the directory holding WEB-INF
[17:19]<swggvg>Mortuis: iirc "WebContent"
[17:20]<mjzvuys>Thanks swente, that worked!
[17:20]<swggvg>:)
[17:40]<vjdrs->I'm using tomcat with jboss to provide an ssl service, and when I connect via firefox, firefox says no common encryption algorithms found, and tomcat/jboss says "no cipher suites in common". The SSL certificate is from VeriSign, so I don't know if that somehow determines the cipher suites (since it worked with the default localhost cert). any idea what's wrong?
[17:42]<ngsypnzud>hello
[17:58]<mpz>hello.... does tomcat provide a tool to locate the directory it was installed in (or, even, better, provide path to webapps)? By default, current dir is the directory it was started from, which might be arbitrary...
[18:20]<mpz>Ensiferum: tomcat's env or regular environment variables?
[18:20]<fdcgg>dfr: if its been setup right
[18:21]<fdcgg>$CATALINA_HOME will tell you where tomcat is
[18:21]<fdcgg>and webapps is under $CATALINA_HOME/webapps
[18:22]<mpz>hrmph.... yes, but would asking for env variable make it platform independent?
[18:23]<fdcgg>assuming its a bash shell or some derivatiive
[18:24]<mpz>if it's windows.... =/
[18:24]<fdcgg>catalina home might be set
[18:27]<mpz>ok, thanks... I'll try that :)
[18:30]<ngsypnzud>anyone know if a custom authorization can be implemented with Realm ?
[18:35]<fzdjzj>hello all
[18:36]<fzdjzj>could any one can tell if there is a way to rewrit url in tomcat like mod_rewrite in apache?
[18:36]<fzdjzj>i want to use Tomcat standalone
[18:40]<xzzljjg>layoro: what is the goal of your rewriting?
[18:41]<xzzljjg>and yes... java servlet specification has something like that
[18:43]<fzdjzj>i want index it in google engine
[18:43]<xzzljjg>ah... ok
[18:43]<fzdjzj>cuz it's a dynamic web application using Struts ,hibernate
[18:44]<xzzljjg>ok.. i see it everytime.. software developer should not answer on administrativ questions...
[18:45]<fzdjzj>i have heard about module mod_rewrite apache
[18:45]<fzdjzj>but i wonder if it existe in Tomcat too
[18:46]<xzzljjg>layoro: servlet container have similar mechanisms
[18:46]<xzzljjg>but...
[18:46]<xzzljjg>too long time ago i've used them last time
[18:47]<fzdjzj>oh thanks.. do u have a sample to get start?
[18:49]<xzzljjg>sorry.. my books are at my home
[18:50]<fzdjzj>oh no problem..... thanks anyways...
[19:55]<mpz>so... how would I be able to extract something like $CATALINA_HOME from a servlet?
[20:03]<r2rfygv>dfr: Why would you want to?
[20:03]<r2rfygv>There is a method getRealPath() or something in the servlet context....
[20:05]<r2rfygv>ibot: hey
[20:05]<y2jv>hey is, like, almost for horses
[20:07]<mpz>jbalint: so that I can create files within webapps/image directory :)
[20:07]<mpz>jbalint: and the location of current directory can be pretty arbitrary
[20:09]<r2rfygv>dfr: is image your app?
[20:10]<r2rfygv>I would either a) put 'em in the servlet area via getRealPath() if they are temp files of b) setup a perm directory and put it as a context param or something if they are permanent files
[20:13]<mpz>jbalin: well, I want them to put in the webapp/myPackage/images directory....
[20:13]<mpz>jbalint: so I can then link them in my stuff via <img src="images/image.jpg"/>
[20:14]<mpz>jbalint lemme see if geTrealPath is what I need though :)
[20:15]<r2rfygv>Yeah, getRealPath() will give you something like /usr/local/mytomcat/webapps/myappname. Then you append "/images" to that.
[20:17]<mpz>jbalint: thanks! :)







