Hi Thiago, The invoker is supposed to be disabled (which is why it's like that by default):
http://jakarta.apache.org/tomcat/faq/misc.html#evil It's better to change your application's web.xml as below instead. I think there's a directive in tomcat that you can unset to prevent the xml document from verifying against the dtd. But I can't seem to find it or remember what it is. Or you can download the dtd and copy it to the proper location. Just search for 'intake.dtd cvs' in google. David -----Original Message----- From: Thiago Souza [mailto:[EMAIL PROTECTED] Sent: Saturday, February 07, 2004 11:12 AM To: Turbine Users List Subject: Re: Newbie problems! Hi, Yeh, i could do it, the problema was that the invoker settings were disabled... but now, I could access it, but I got tons of Intake errors at the webpage and at tomcat's log window... I found out that it was something to do with intake.dtd, at intake.xml it says <!DOCTYPE input-data SYSTEM "../dtd/intake.dtd"> And at tomcat's log window it tries to get the dtd at C:\Program Files\Apache Software Foundation\Tomcat 5.0\dtd\intake.dtd, i didn't tried to fix it cause I think I might be doing something wrong else where... Cya! ----- Original Message ----- From: "David Demner" <[EMAIL PROTECTED]> To: "'Turbine Users List'" <[EMAIL PROTECTED]> Sent: Saturday, February 07, 2004 2:22 PM Subject: RE: Newbie problems! Yeah; my fault. It should read: <servlet-mapping> <servlet-name>newapp</servlet-name> <url-pattern>/servlet/newapp/*</url-pattern> </servlet-mapping> David -----Original Message----- From: Thiago Souza [mailto:[EMAIL PROTECTED] Sent: Saturday, February 07, 2004 9:01 AM To: Turbine Users List Subject: Re: Newbie problems! Hi, Yes, i'm using tdk, but it's tdk 2.2_01.... I tried putting this servlet-mapping, but didn't work... and then I noticed that there's no mapping for the newapp servlet, shouldn't it have one? Thanks! Thiago Souza ----- Original Message ----- From: "David Demner" <[EMAIL PROTECTED]> To: "'Turbine Users List'" <[EMAIL PROTECTED]> Sent: Saturday, February 07, 2004 12:16 AM Subject: RE: Newbie problems! Hi Thiago, I'm not sure if this is a typo, but you need to access <http://localhost:8080/newapp/servlet/newapp> http://localhost:8080/newapp/servlet/newapp to get to the sample application. Navigating to a .vm file also shows the code listing for my functional applications. Are you using the TDK (Turbine Development Kit - an archive containing tomcat, sample applications, and the appropriate jar files)? If not, try <http://kiasoft.com/~painter/tdk-2.3_20031210.tar.gz> http://kiasoft.com/~painter/tdk-2.3_20031210.tar.gz which is the TDK for turbine version 2.3 If you are using the tdk, try putting: <servlet-mapping> <servlet-name>benflex</servlet-name> <url-pattern>/servlet/benflex/*</url-pattern> </servlet-mapping> into webapps/newapp/WEB-INF/web.xml in the <webapp> section. Good luck, David -----Original Message----- From: Thiago Souza [mailto:[EMAIL PROTECTED] Sent: Friday, February 06, 2004 7:52 PM To: [EMAIL PROTECTED] Subject: Newbie problems! Hi there! I'm trying to use turbine... ok, i could build everything, and deploy the app to tomcat succesfully, but when I tried to access a .vm page, the page wasn't parsed (as if it were a normal text file). So i searched deeply in the velocity documents and I found out about the VelocityViewServlet, I didn't know if i had to use it, but I tried... unfortunatelly it didn't work, when I try to access the <http://localhost:8080/newapp/templates/app/layouts/Default.vm> http://localhost:8080/newapp/templates/app/layouts/Default.vm page I got a "Unable to find resource '/templates/app/layouts/Default.vm" error from the VelocityViewServlet (the page is there, i could access it before installing VelocityViewServlet)... I guess i'm not supposed to use this velocity tool cause i didn't see any reference to it in turbine's document, but I can't figure out! Help me! Thanks in advance! Thiago Souza --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
