tomcat 6 and virtual donmains
HEllo i have one great problem. i am working using tomcat 5.0.XX and my virtual host configuration i made into the server.xml file. i am testing tomcat 6 i am configuring the virtualhost into the server xml and it says me always, whe i try to load the page, that the conext doesn't exist. can you help me? my configuration into the server.xml is: unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> prefix="domain_log." suffix=".txt" timestamp="true"/> factory org.apache.commons.dbcp.BasicDataSourceFactory driverClassName org.postgresql.Driver url jdbc:postgresql://127.0.0.1:5432/db username user password maxActive 100 maxIdle 20 maxWait -1 removeAbandoned true removeAbandonedTimeout 300 logAbandoned true - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat 6 and virtual donmains
and can you help me for making the same configuration into tomcat 6? i am reading the doc and i dont load the configurationç thanks - Original Message - From: "Hassan Schroeder" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, July 22, 2007 3:46 PM Subject: Re: tomcat 6 and virtual donmains On 7/22/07, Miren Urkixo <[EMAIL PROTECTED]> wrote: . i am working using tomcat 5.0.XX and my virtual host configuration i made into the server.xml file. i am testing tomcat 6 i am configuring the virtualhost into the server xml and it says me always, whe i try to load the page, that the conext doesn't exist. can you help me? my configuration into the server.xml is: just plain wrong -- Resource params are done quite differently now. You should read the documentation for the version you're using, not just copy things from the configuration of previous versions. :-) And putting Context elements in server.xml is strongly discouraged. HTH, -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
the tomcat welcome file one struts action
Hello I am trying to make one web aplication using struts into one tomcat 5.0.XX In my web.xml file i writte whic is my welcome file, one struts action (Index.do) but the tomcat doesn't not show the action, shows me the all files from the index directory, listing my / directory. Can you help me for making the index file , welcome file, been one struts action (Index.do)? Thanks My web.xml file is this: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> VeniveNicaragua javax.servlet.jsp.jstl.fmt.localizationContext /WEB-INF/classes/com/ApplicationResources Filtro Filtro com.gestor.Filtro Filtro / Filtro *.jsp Filtro /Index.do InitServlet com.gestor.servlets.InitServlet 1 action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml debug 3 detail 3 0 action *.do Index.do /WEB-INF/struts-bean.tld /WEB-INF/struts-bean.tld /WEB-INF/struts-html.tld /WEB-INF/struts-html.tld /WEB-INF/struts-logic.tld /WEB-INF/struts-logic.tld /WEB-INF/struts-nested.tld /WEB-INF/struts-nested.tld /WEB-INF/struts-tiles.tld /WEB-INF/struts-tiles.tld http://java.sun.com/jstl/fmt /WEB-INF/fmt.tld /WEB-INF/c-rt.tld /WEB-INF/c-rt.tld /WEB-INF/c.tld /WEB-INF/c.tld - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: the tomcat welcome file one struts action
hello thanks for your answer. When i call: http://localhost:8080/Index.do the aplic show me the page well, the tomcat shows me the index page but if i call http://localhost:8080/ it not shows me the page. In my struts.config i have: Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";> /> And into the web.xml i have: /Index.do but if i call the / (http://localhost:8080/ i doesnt show me the index page, it list the / directory. Can you help me? thanks - Original Message - From: "Gabriel Wong" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, September 09, 2007 1:14 AM Subject: Re: the tomcat welcome file one struts action You may want to check on the Struts list. It could be a CASE SENSITIVITY issue. Does your app come up when you include Index.do in the URL? Miren Urkixo wrote: Hello I am trying to make one web aplication using struts into one tomcat 5.0.XX In my web.xml file i writte whic is my welcome file, one struts action (Index.do) but the tomcat doesn't not show the action, shows me the all files from the index directory, listing my / directory. Can you help me for making the index file , welcome file, been one struts action (Index.do)? Thanks My web.xml file is this: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> VeniveNicaragua javax.servlet.jsp.jstl.fmt.localizationContext /WEB-INF/classes/com/ApplicationResources Filtro Filtro com.gestor.Filtro Filtro / Filtro *.jsp Filtro /Index.do InitServlet com.gestor.servlets.InitServlet 1 action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml debug 3 detail 3 0 action *.do Index.do /WEB-INF/struts-bean.tld /WEB-INF/struts-bean.tld /WEB-INF/struts-html.tld /WEB-INF/struts-html.tld /WEB-INF/struts-logic.tld /WEB-INF/struts-logic.tld /WEB-INF/struts-nested.tld /WEB-INF/struts-nested.tld /WEB-INF/struts-tiles.tld /WEB-INF/struts-tiles.tld http://java.sun.com/jstl/fmt /WEB-INF/fmt.tld /WEB-INF/c-rt.tld /WEB-INF/c-rt.tld /WEB-INF/c.tld /WEB-INF/c.tld - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Regards Gabriel Wong Beyond Private JVM JAVA Hosting http://www.webappcabaret.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat and dir for writting
Hello i have my tomcat into the /usr/share/tomcat5 directory i have some (10) applications running into this tomcat. I have one appache and using the jk connector i am runnig the apache + tomcat. well. i have into my server one dir /tmp/files for wriiting the apllications, my java applications but how can i say to tomcat that this directory is into the path? using weblogic i make this: set CONFIG=C:/config set WEBLOGIC_CLASSPATH=%CONFIG% set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH% and fom the weblogic i can using this directory for wrttinf from all applications But how can y made thisinto tomcat? thanks - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
alias for directory
Hello into one apache http server i can to map one directory to oen alias can i make it into tomcat? i only uses into this server tomcat without apache thanks - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]