00:19.44 | *** join/#tomcat cppexpert (n=cppexper@c-24-130-62-198.hsd1.ca.comcast.net) |
00:40.46 | *** join/#tomcat kaos01 (n=kaos01@turing.une.edu.au) |
00:54.07 | *** join/#tomcat Infinito- (n=yingyang@li6-217.members.linode.com) |
01:01.04 | *** join/#tomcat jwisher (n=jwisher@79-75-120-118.dynamic.dsl.as9105.com) |
01:20.46 | MHSL | unomystEz, use servlet, if you want to use jsp, don't use getoutputstream, since there is a variable "out" that you can use as the outputstream |
01:49.29 | *** join/#tomcat jhawkins (n=jhawkins@adsl-224-4-220.asm.bellsouth.net) |
04:36.19 | *** join/#tomcat nmoidu (n=nabeel@89.211.33.44) |
04:55.00 | *** join/#tomcat nmoidu (n=nabeel@89.211.33.44) |
05:36.10 | *** join/#tomcat trifon_ (n=chatzill@87-126-5-87.btc-net.bg) |
05:37.31 | *** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org) |
06:03.55 | *** join/#tomcat bindaas (n=bindaas@59.94.106.247) |
06:08.12 | *** part/#tomcat bindaas (n=bindaas@59.94.106.247) |
06:15.22 | *** join/#tomcat hokatichenci (n=hoka@c-24-16-98-244.hsd1.mn.comcast.net) |
06:19.09 | *** join/#tomcat hbmax (n=max@fastable.com) |
06:23.56 | *** join/#tomcat bindaas (n=bindaas@59.96.162.64) |
06:27.06 | *** join/#tomcat trifon_ (n=chatzill@87-126-243-118.btc-net.bg) |
06:32.43 | *** join/#tomcat acidjnk (i=acid@pD95087D4.dip0.t-ipconnect.de) |
06:45.33 | *** join/#tomcat ufk_ (n=ufk@bzq-79-181-162-120.red.bezeqint.net) |
06:59.29 | *** join/#tomcat jwisher (n=jwisher@79-75-120-118.dynamic.dsl.as9105.com) |
07:37.34 | *** join/#tomcat nmoidu (n=nabeel@89.211.33.44) |
07:46.20 | *** join/#tomcat cofeineSunshine1 (n=justinas@78-62-11-114.static.zebra.lt) |
07:58.01 | *** part/#tomcat bindaas (n=bindaas@59.96.162.64) |
08:05.00 | *** join/#tomcat npm1 (n=NielsMay@cpe-75-83-171-237.socal.res.rr.com) |
08:08.14 | *** join/#tomcat crYpe (i=bnccrype@noxfire.org) [NETSPLIT VICTIM] |
08:17.48 | *** join/#tomcat victori_ (n=victori@cpe-75-80-141-237.san.res.rr.com) [NETSPLIT VICTIM] |
08:17.48 | *** join/#tomcat fix_ (n=fixremot@78-23-85-249.access.telenet.be) [NETSPLIT VICTIM] |
08:20.04 | *** join/#tomcat Akos_beginner2 (n=apuci@dsl51B697E2.pool.t-online.hu) |
08:20.46 | Akos_beginner2 | Hi |
08:20.55 | Akos_beginner2 | I need a bit help :-) |
08:21.21 | Akos_beginner2 | Trying ot login to Tomcat Manager and got this: 401 Unauthorized You are not authorized to view this page |
08:21.42 | Akos_beginner2 | tomcat-users.xml is updated with manager role user. |
08:22.04 | Akos_beginner2 | Still no luck :-( |
08:22.49 | Akos_beginner2 | My father need it, but I cannot solve that... |
08:23.49 | Akos_beginner2 | it is tomcat 6, Fedora9 |
08:25.36 | Akos_beginner2 | java version "1.6.0" |
08:25.36 | Akos_beginner2 | OpenJDK Runtime Environment (build 1.6.0-b09) |
08:25.36 | Akos_beginner2 | OpenJDK Client VM (build 1.6.0-b09, mixed mode) |
08:26.26 | Akos_beginner2 | Any idea? |
08:26.46 | nmoidu | did u restart tomcat ? |
08:27.20 | Akos_beginner2 | many times: /etc/init.d tomcat6 restart |
08:27.49 | nmoidu | <PROTECTED> |
08:27.57 | nmoidu | is that how u gave the username ? |
08:28.50 | Akos_beginner2 | I create a pastbin link with user-xnl... |
08:28.55 | Akos_beginner2 | just a seconb |
08:31.51 | Akos_beginner2 | tomcat-users.xml: |
08:31.52 | Akos_beginner2 | http://pastebin.com/d43b1df5a |
08:33.19 | Akos_beginner2 | What I would do is to check that when tomcat starts it is even touch/read this file, I am affraid no. But no idea how to check it. |
08:37.25 | *** join/#tomcat fix_ (n=fixremot@78-23-85-249.access.telenet.be) [NETSPLIT VICTIM] |
08:39.45 | *** join/#tomcat [a]ton (i=aton@cleartext.overthewire.org) |
08:40.42 | *** join/#tomcat victori_ (n=victori@cpe-75-80-141-237.san.res.rr.com) |
08:40.55 | *** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org) |
08:46.32 | kjkoster5489 | Akos_beginner2: edit the config files by hand. Much easier and easier to secure. |
08:47.04 | Akos_beginner2 | okay, and what should I edit? |
08:47.53 | kjkoster5489 | Depends on what you need done. I never use the admin webapp myself. In fact, I routinely delete it from my webapps dir. |
08:48.00 | kjkoster5489 | So, what do you want done? |
08:48.23 | Akos_beginner2 | Basic problem :-) |
08:48.28 | Akos_beginner2 | CAnnot login to Manager. |
08:49.17 | Akos_beginner2 | Here is my tomcat-users.xml: http://pastebin.com/d43b1df5a |
08:50.25 | Akos_beginner2 | I moved this folder to my TEmp folder and restarted Tomcat, but this does not told me: Hey! I cannot find users file?! :-( |
08:50.52 | nmoidu | is this on windows or linux ? |
08:50.57 | nmoidu | ah ok |
08:56.49 | nmoidu | Akos_beginner2, can you post ll /etc/tomcat6 ? |
08:56.57 | Akos_beginner2 | sure |
08:57.46 | Akos_beginner2 | http://pastebin.com/d523d14d3 |
08:59.13 | nmoidu | change ownership of tomcat-users.xml to tomcat . and when u restart, stop , check with ps -ef to make sure it stops . then start |
09:00.16 | nmoidu | I think 644 is enough on that file.777 is not required |
09:00.55 | Akos_beginner2 | ok |
09:04.48 | Akos_beginner2 | still cannot login |
09:10.11 | nmoidu | Akos_beginner2, is this the default package in fedora 9 ? |
09:15.27 | Akos_beginner2 | yes |
09:32.12 | *** join/#tomcat schizoschaf (n=schaf@e176062032.adsl.alicedsl.de) |
09:35.16 | Akos_beginner2 | THis is all I have installed: http://pastebin.com/d4e8a257d |
09:38.39 | *** join/#tomcat schizoschaf_ (n=schaf@e176062032.adsl.alicedsl.de) |
09:40.50 | nmoidu | what did u mean by moved to temp folder etc ? |
09:42.17 | Akos_beginner2 | mv /etc/tomcat6/tomcat-users.xml /home/Akos/ |
09:42.33 | nmoidu | do you have selinux enabled ? |
09:43.14 | *** join/#tomcat hbmax (n=max@fastable.com) |
09:43.21 | nmoidu | cat /selinux/enforce |
09:43.45 | Akos_beginner2 | it is on permissive now |
09:44.14 | nmoidu | cat /selinux/enforce |
09:45.45 | hbmax | have any body use Bea Jrockit jvm to run tomcat ? |
09:46.00 | *** join/#tomcat Nicke_ (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se) |
09:46.17 | Akos_beginner2 | I got this: Jul 13, 2008 11:23:52 AM org.apache.catalina.users.MemoryUserDatabase save |
09:46.17 | Akos_beginner2 | WARNING: User database is not persistable - no write permissions on directory |
09:46.34 | Akos_beginner2 | But I have fixed that andstill not able to login., |
09:47.25 | Akos_beginner2 | [root@akos-pc tomcat6]# cat /selinux/enforce |
09:47.26 | Akos_beginner2 | 0[root@akos-pc tomcat6]# |
09:48.46 | Akos_beginner2 | What is this message about? |
09:48.50 | Akos_beginner2 | INFO: The listener "listeners.ContextListener" is already configured for this context. The duplicate definition has been ignored. |
09:48.50 | Akos_beginner2 | Jul 13, 2008 11:42:16 AM org.apache.catalina.core.StandardContext addApplicationListener |
09:49.34 | *** join/#tomcat pfn (n=pfnguyen@hanhuy.com) |
09:51.29 | nmoidu | try chown tomcat.tomcat on /etc/tomcat6 |
09:52.59 | Akos_beginner2 | I tried it: |
09:53.02 | Akos_beginner2 | [root@akos-pc etc]# ls -lat | grep tomc |
09:53.02 | Akos_beginner2 | drwxr-xr-x 3 tomcat tomcat 4096 2008-07-13 11:49 tomcat6 |
09:53.10 | Akos_beginner2 | no way |
09:53.14 | Akos_beginner2 | to login |
09:53.54 | MHSL | Akos_beginner2, for the listener problem, you can either use tomcat 6.0.14 or just ignore it, this is a known problem on tomcat 6.0.16 |
09:55.31 | Akos_beginner2 | if this does not cause my login issue, than I do not care with this "duplicate definition" log entry.. |
09:55.59 | Akos_beginner2 | CAn I reaise the logging level for Tomcat somehow? |
09:56.09 | Akos_beginner2 | or debug? |
09:57.10 | *** join/#tomcat _julian_ (n=julian@dslc-082-082-134-197.pools.arcor-ip.net) |
09:57.13 | _julian_ | hi all |
09:58.26 | _julian_ | I have a problem with a webapp I run in tomcat. in it's web.xml I have added <welcome-file>index.jspx</welcome-file> to the welcome-file-list, but if I try to open the application just through the top url http://localhost/mywebapp I get a filenotfound exception telling me that mywebapp is a directory |
09:58.30 | _julian_ | any ideas about that? |
09:59.16 | MHSL | Akos_beginner2, what do you have now if you restart tomcat? |
10:00.02 | MHSL | _julian_, is your webapp context path = mywebapp? |
10:00.45 | Akos_beginner2 | this : http://pastebin.com/dd44b9c6 |
10:01.16 | Akos_beginner2 | from those files: |
10:01.18 | Akos_beginner2 | [root@akos-pc etc]# ps -ax | grep tail |
10:01.19 | Akos_beginner2 | Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ |
10:01.19 | Akos_beginner2 | 19292 pts/1 S 0:00 tail -f catalina.2008-07-13.log |
10:01.19 | Akos_beginner2 | 19293 pts/1 S 0:00 tail -f catalina.out |
10:01.19 | Akos_beginner2 | 19294 pts/1 S 0:00 tail -f localhost.2008-07-13.log |
10:01.45 | _julian_ | MHSL: how can I check that? - I just use eclipse to deploy it to local tomcat |
10:01.49 | MHSL | Akos_beginner2, Cannot find specified temporary folder at /var/tmp/tomcat6 |
10:02.13 | MHSL | Akos_beginner2, your tomcat-users.xml? |
10:02.51 | Akos_beginner2 | "/var/tmp" is empty |
10:03.08 | MHSL | _julian_, you can check your project properties, you can also check whether your context is created properly by eclipse. i havent tried to deploy webapp through eclipse, so i'm not really sure |
10:03.34 | MHSL | _julian_, you can also check your deployed webapp, whether it has the index.jspx you mentioned |
10:04.11 | MHSL | Akos_beginner2, can i have the link to your tomcat-users.xml? |
10:04.23 | _julian_ | MHSL: index.jspx is there, I can reach it by adding /index.jspx to the url |
10:04.31 | MHSL | _julian_, ic |
10:04.38 | Akos_beginner2 | tomcat-users.xml : http://pastebin.com/d43b1df5a |
10:04.51 | MHSL | _julian_, then you can check whether your web.xml is deployed with your webapp |
10:05.08 | MHSL | Akos_beginner2, remove the comments |
10:05.20 | MHSL | Akos_beginner2, i.e. remove this # |
10:05.21 | MHSL | <!-- |
10:05.43 | _julian_ | MHSL: it must be, because before I changed the web.xml to include index.jspx I got a 404 error when accessing the toplevel url |
10:05.43 | MHSL | Akos_beginner2, the one before the role and --> after <user> |
10:06.23 | MHSL | Akos_beginner2, basically it's because the role and user block is commented out |
10:06.29 | nmoidu | bows before MHSL |
10:06.40 | nmoidu | all this time I just didn't notice that .......... |
10:06.46 | MHSL | heh |
10:07.40 | _julian_ | http://paste.biz/paste-3272.html this is the full trace I get |
10:09.03 | MHSL | _julian_, not sure, although seems to me that's eclipse specific |
10:09.22 | _julian_ | MHSL: I just tried to distribute it manually on a tomcat server. same result |
10:09.56 | MHSL | _julian_, is your webapp located under /home/julian/jee_workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/flexCashStatistics? |
10:11.02 | _julian_ | MHSL: yes. and on the standalone server it is /usr/local/tomcat/webapps/report - which is there reported as filenotfoundexception |
10:11.27 | MHSL | _julian_, you can see what's inside com.icesoft.faces.webapp.http.core.FileServer$1.respond(FileServer.java:35) |
10:12.02 | _julian_ | MHSL: how can I see that? |
10:12.11 | MHSL | _julian_, do you have the source for that? |
10:12.23 | MHSL | that fileserver stuff |
10:12.24 | Akos_beginner2 | MHSL you are a kinG!!! |
10:12.36 | _julian_ | MHSL: not that I know of. I think it's part of icefaces |
10:12.43 | MHSL | Akos_beginner2, no i'm not, if i'm, i wont be chatting here |
10:12.45 | Akos_beginner2 | thanks! |
10:12.49 | MHSL | np |
10:13.21 | MHSL | _julian_, ic, do you think there is a configuration for that icefaces for a directory/file? |
10:14.37 | MHSL | i've never heard/used icefaces, so it may be configuration issue with icefaces or something |
10:14.48 | _julian_ | MHSL: not really. there's only a faces-config.xml, but that does only setup beans and stuff |
10:15.25 | MHSL | _julian_, ic, so is there a javadoc or something of that icefaces to check what does FileServer.respond do? |
10:16.41 | _julian_ | http://sventon.icefaces.org/svn/showfile.svn?path=%2ficefaces%2fbranches%2ficefaces-1.7%2ficefaces%2fcore%2fsrc%2fcom%2ficesoft%2ffaces%2fwebapp%2fhttp%2fcore%2fFileServer.java&revision=16953&name=repo |
10:16.43 | _julian_ | that is the source |
10:17.52 | MHSL | _julian_, if my guess is right, since you requested /mywebapp/ there is no file at the end, and /mywebapp points to a directory, that's why it gave you the exception |
10:18.08 | MHSL | _julian_, what are you using icefaces for? |
10:18.23 | _julian_ | MHSL: but isn't that exactly what welcome-file is thought for? |
10:18.40 | _julian_ | MHSL: icefaces provides ajax integration and enhanced jsf-components which I use |
10:18.48 | MHSL | _julian_, yes if you do it without this icefaces thingy |
10:19.17 | MHSL | _julian_, i.e., the welcome-file will be handled by the web container, i.e., tomcat |
10:19.49 | MHSL | _julian_, you can try it without icefaces, it should work |
10:19.53 | _julian_ | hmm |
10:20.05 | *** part/#tomcat Akos_beginner2 (n=apuci@dsl51B697E2.pool.t-online.hu) |
10:21.52 | _julian_ | MHSL: ok, I found a solution: I added a index.jsp which I set as welcome-file and which is then doing: response.sendRedirect("index.jspx"); |
10:22.02 | MHSL | _julian_, ok |
10:22.27 | _julian_ | MHSL: thanks for the help |
10:22.37 | MHSL | np |
10:23.39 | *** join/#tomcat clajo04 (n=John_Cla@cpe-066-056-194-193.ec.res.rr.com) |
10:55.09 | clajo04 | Hi - I am having troubles installing Tomcat on my machine - I am attempting to install Tomcat 6.0.16 on Windows Vista Ultimate x64, with Java 1.5.0_16 installed. The tomcat logs are: |
10:55.24 | clajo04 | [2008-07-13 06:50:49] [1334 prunsrv.c] [debug] Procrun log initialized |
10:55.24 | clajo04 | [2008-07-13 06:50:49] [info] Procrun (2.0.3.0) started |
10:55.24 | clajo04 | [2008-07-13 06:50:49] [info] Running Service... |
10:55.24 | clajo04 | [2008-07-13 06:50:49] [1158 prunsrv.c] [debug] Inside ServiceMain... |
10:55.24 | clajo04 | [2008-07-13 06:50:49] [info] Starting service... |
10:55.25 | clajo04 | [2008-07-13 06:50:49] [174 javajni.c] [error] %1 is not a valid Win32 application. |
10:55.27 | clajo04 | [2008-07-13 06:50:49] [986 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.5.0_16\jre\bin\server\jvm.dll |
10:55.30 | clajo04 | [2008-07-13 06:50:49] [1260 prunsrv.c] [error] ServiceStart returned 1 |
10:55.32 | clajo04 | [2008-07-13 06:50:49] [info] Run service finished. |
10:55.34 | clajo04 | [2008-07-13 06:50:49] [info] Procrun finished. |
10:59.42 | *** join/#tomcat schizoschaf_ (n=schaf@d116232.adsl.hansenet.de) |
10:59.55 | clajo04 | Searching the web suggested that the "%1 is not a valid Win32 application error" message could be caused by having the application installed into the Program Files (x86) directory, so I moved my Tomcat installation to an \Apache\Tomcat directory, but this didn't change anything... |
11:11.15 | MHSL | clajo04, have you tried to run it without procrun? |
11:26.04 | *** join/#tomcat clajo04 (n=John_Cla@cpe-066-056-194-193.ec.res.rr.com) |
11:28.44 | *** part/#tomcat clajo04 (n=John_Cla@cpe-066-056-194-193.ec.res.rr.com) |
11:37.01 | *** join/#tomcat clajo04 (n=clajo04@cpe-066-056-194-193.ec.res.rr.com) |
11:54.54 | *** join/#tomcat Bollinger (n=peter@88-105-230-77.dynamic.dsl.as9105.com) |
12:16.52 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
13:03.09 | *** join/#tomcat chemm (n=Miranda@i59F556C8.versanet.de) |
13:03.14 | *** part/#tomcat chemm (n=Miranda@i59F556C8.versanet.de) |
13:08.50 | *** join/#tomcat chemm (n=Miranda@89.245.148.172) |
13:15.43 | *** join/#tomcat clajo04 (n=clajo04@cpe-066-056-194-193.ec.res.rr.com) |
13:21.50 | *** join/#tomcat schizoschaf_ (n=schaf@d116232.adsl.hansenet.de) |
13:26.24 | *** join/#tomcat andyt (n=andyt@user-12hdo95.cable.mindspring.com) |
13:42.08 | *** join/#tomcat da_krowa (n=Miranda@chello089077099221.chello.pl) |
13:52.15 | *** part/#tomcat clajo04 (n=clajo04@cpe-066-056-194-193.ec.res.rr.com) |
14:05.38 | *** join/#tomcat schizoschaf_ (n=schaf@d116232.adsl.hansenet.de) |
14:18.47 | *** join/#tomcat schizoschaf_ (n=schaf@d116232.adsl.hansenet.de) |
14:31.21 | *** join/#tomcat ufk__ (n=ufk@bzq-79-182-138-76.red.bezeqint.net) |
14:49.38 | *** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-5432c6f88e72cf8e) |
14:58.05 | *** join/#tomcat bindaas (n=bindaas@59.94.103.110) |
15:06.29 | *** join/#tomcat schizoschaf (n=schaf@d116232.adsl.hansenet.de) |
15:36.34 | *** join/#tomcat mhaller (n=mhaller@elma.smartwerkz.com) |
15:40.06 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
16:01.00 | *** join/#tomcat aerie (n=aerie@243.248.50.60.brf03-home.tm.net.my) |
16:01.06 | aerie | hi all |
16:01.38 | aerie | when attempting to deploy my web service I get the following error: |
16:01.58 | aerie | SEVERE: Error configuring application listener of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener java.lang.NoClassDefFoundError: javax/servlet/ServletContextAttributeListener |
16:02.17 | aerie | I've thrown every .jar file in my EE install into /endorsed to no avail |
16:02.42 | aerie | how can it be missing javax.servlet? the very copy of java running tomcat itself has this |
16:03.45 | acidjnk | Very old Tomcat, before Servlet 2.3? |
16:04.26 | acidjnk | the "EE install" and all that is not relevant, only the servlet.jar or servlet-api.jar of Tomcat itself. |
16:05.21 | aerie | latest tomcat stable |
16:05.34 | aerie | 6.0.16 |
16:05.39 | acidjnk | imo: Totally messed up Tomcat config. Reinstall Tomcat. |
16:05.46 | aerie | its fresh... |
16:05.59 | aerie | but okay |
16:06.03 | aerie | can't hurt I guess |
16:06.15 | aerie | been at this 4 hours now |
16:08.01 | acidjnk | Or something very strange related to libraries. What you are saying is all very strange. |
16:08.20 | acidjnk | Are you mixing .jars from the Java EE SDK with things in Tomcat? |
16:08.32 | acidjnk | bbl |
16:09.38 | aerie | also how do I add a manager user to tomcat? |
16:09.44 | *** join/#tomcat schizoschaf (n=schaf@d116232.adsl.hansenet.de) |
16:10.37 | aerie | nm found out how to add users |
16:19.31 | aerie | acidjnk, I can't start a standalone tomcat now :( |
16:19.33 | aerie | JAVA_HOME is set and definitely correct |
16:19.53 | aerie | I unzip, run startup.bat and a window quickl appears with some errors and disappears again |
16:20.15 | aerie | no log even |
16:22.18 | aerie | oh this is new |
16:22.23 | aerie | null pointer |
16:22.36 | aerie | LogConfigurationException |
16:26.01 | aerie | woot |
16:26.04 | aerie | working now |
16:55.16 | *** join/#tomcat trifon_ (n=chatzill@87-126-243-118.btc-net.bg) |
17:01.02 | *** join/#tomcat Infinito- (n=yingyang@li6-217.members.linode.com) |
17:53.25 | *** join/#tomcat strife25 (i=458604cd@gateway/web/ajax/mibbit.com/x-11b8bd4f144dcfa7) |
18:46.52 | *** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-0c84ddaddf23973b) |
18:51.16 | *** join/#tomcat cppexpert (n=cppexper@c-24-130-62-198.hsd1.ca.comcast.net) |
18:54.21 | *** part/#tomcat cppexpert (n=cppexper@c-24-130-62-198.hsd1.ca.comcast.net) |
19:10.08 | *** join/#tomcat jwisher (n=jwisher@79-75-120-118.dynamic.dsl.as9105.com) |
19:15.02 | *** join/#tomcat markoo (n=bla@77.46.197.75) |
19:23.37 | strife25 | hi i am using java 1.5, tomcat 6.0.16 in geronimo 2.1.1, and running ubuntu 8.04, i am setting up user authentication in my webapp and I am wondering how I can logout a user using BASIC authentication, I have been trying session.invalidate() in a servlet and that has not been working. |
19:29.17 | strife25 | nvm, i found the issue |
19:46.28 | *** join/#tomcat balla (n=balla@217.202.27.211) |
19:59.29 | *** join/#tomcat cppexpert (n=cppexper@c-24-130-62-198.hsd1.ca.comcast.net) |
19:59.56 | *** part/#tomcat cppexpert (n=cppexper@c-24-130-62-198.hsd1.ca.comcast.net) |
20:39.44 | *** join/#tomcat davidzc (n=davids@63.87.118.237) |
20:40.38 | strife25 | hi i am using java 1.5, tomcat 6.0.16 in geronimo 2.1.1, and running ubuntu 8.04, in my webapp I login, then log out, then if i test logging in again, I am able to authenticate, but I do not get sent to the page I am suppose to be sent to, I just stay on the login page |
20:40.44 | davidzc | Jboss 4.2.2 question -- Does everyone redploy their war every time they make a change to files like html, css, images.. etc... ? (A lot of time is wasted having to do that.) or do people deploy expanded wars and edit the files in it... or is there another way to do things that I am unware of? |
20:42.32 | davidzc | strife25: How does your logout work? What page are they sent to on logout? |
20:52.55 | strife25 | they are sent back to the homepage of my site using dispatcher.forward() |
20:57.36 | *** join/#tomcat trifon_ (n=chatzill@83.228.58.121) |
21:00.39 | strife25 | ok, i just changed the forwarding of the servlet to response.sendRedirect() |
21:01.59 | strife25 | and i am also using form-based login |
21:03.33 | davidzc | Sorry not sure -- after login it shows the page you directed them to |
21:03.46 | davidzc | you aren't linking them to the login page right? |
21:04.06 | strife25 | nope |
21:04.10 | davidzc | (if you link them to the login page it will show the login after they are logged in -- i assume you know that) |
21:04.18 | davidzc | k |
21:05.23 | davidzc | Anyone know how I can make servletContext.getResource(..) to map files to a location other than the root of the WAR? (read the description of the getResource method - http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getResource(java.lang.String)) |
21:05.31 | strife25 | ya lol, this is a funky error |
21:06.13 | davidzc | yea, login stuff in webapps is really weird. |
21:07.43 | strife25 | pretty much, i am doing this in geronimo and took me all weekend to get something together from the massive lack of howtos on this :-/ |
21:12.25 | *** part/#tomcat bindaas (n=bindaas@59.94.103.110) |
21:31.03 | strife25 | davidzc, my problem was fixed, i guess the problem was that I was getting sent to an html page instead of a jsp |
21:31.15 | strife25 | thanks for the help tho :) |
22:03.48 | *** join/#tomcat da_krowa (n=Miranda@chello089077099221.chello.pl) |
22:10.47 | *** join/#tomcat ghostwalker (n=rhonabwy@dslb-084-057-046-075.pools.arcor-ip.net) |
22:24.58 | *** join/#tomcat Blackmind (i=SLR@unaffiliated/blackmind) |
23:31.36 | MHSL | davidzc, take a look at servletContext.getRealPath() |
23:31.55 | MHSL | davidzc, or if you want to read a file outside of the webapp, you have to use the File class |
23:32.56 | MHSL | davidzc, or you can use Class.getResource() |
23:57.43 | *** join/#tomcat cppexpert (n=cppexper@c-24-130-62-198.hsd1.ca.comcast.net) |
23:57.55 | cppexpert | Hi guys. |
23:58.38 | cppexpert | Could you recommend a DB persistence library with supports stored procedures ? |