RE: Tomcat at startup
I shall forward you tomcat service script at your email ID. Edit it to specify JAVA_HOME. Amit Gupta Mobile: 91-9891062552 Yahoo IM: amitguptainn MSN IM : amitguptainn -Original Message- From: Mario Moroni [mailto:[EMAIL PROTECTED] Sent: Saturday, January 08, 2005 3:11 PM To: tomcat-user@jakarta.apache.org Subject: Tomcat at startup Hi all, I have installed Tomcat on a Linux developement server . I configured it for port 80 ;) and now I'd like to startup and shutdown tomcat when system start/stop Could someone suggest me a good script to startup/shutdown ? thanks. Mario -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Dai più energia al tuo sport! Rigenera il tuo corpo in maniera naturale * Grazie agli integratori sport che trovi solo su Erboristeria.com Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2379d=8-1 - 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]
RE: Tomcat Suddenly Stopped!
Dear friend, some threads may be spinning. I find similar problem on user mode Linux. Amit Gupta Mobile: 91-9818052171 Yahoo IM: amitguptainn MSN IM : amitguptainn -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Monday, January 03, 2005 6:54 AM To: Tomcat Users List Subject: Re: Tomcat Suddenly Stopped! Check your log files. Report back what you find. Doug - Original Message - From: Aris Javier [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Sunday, January 02, 2005 8:16 PM Subject: Tomcat Suddenly Stopped! Before anything else, I would like to greet everybody HAPPY NEW YEAR!!! Ok, serious now... Why is it Tomcat suddenly stopped... ? I'm trying to figure out what happen... Is it with the number of connections or users of my intranet web app? But we are just 50 in the organization... I'm using Tomcat 5.0.25 jk2 IIS Jsp/Servlets Or do i have to upgrade my Tomcat to higher version? Thanks! Aris mailto:[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]
RE: I need to configure logs on my virtual hosting
Thanks Bob. Amit Gupta Mobile: 91-9818052171 Yahoo IM: amitguptainn MSN IM : amitguptainn -Original Message- From: Goel, Manish Kumar [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 4:09 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: I need to configure logs on my virtual hosting Hi, can any body help me this same thing not working on tomcat 5.0.19 version. Manish -Original Message- From: Roberto Rios [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 4:03 PM To: 'Amit Gupta'; 'Tomcat Users List' Subject: RES: I need to configure logs on my virtual hosting Hi, Yes, you can. Take a look at the admin context provided with tomcat (as an example): Context path=/admin docBase=${catalina.home}/server/webapps/admin debug=0 privileged=true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_admin_log. suffix=.txt timestamp=true/ /Context Bob -Mensagem original- De: Amit Gupta [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 30 de dezembro de 2004 02:33 Para: Tomcat Users List; [EMAIL PROTECTED] Assunto: RE: I need to configure logs on my virtual hosting Hi Bob, I am using tomcat 5.0. I found that logger is used below tomcat 5.5.0. Can I use logger in context.xml in mywebapp/META-INF/context.xml? Amit Gupta Mobile: 91-9818052171 Yahoo IM: amitguptainn MSN IM : amitguptainn -Original Message- From: Roberto Rios [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 28, 2004 8:30 PM To: tomcat-user@jakarta.apache.org Subject: RE: I need to configure logs on my virtual hosting Hi, Which tomcat version? For tomcat 4.X put a LOGGER component inside the context and specify the directory that you want. Take a look at (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/logger.html) This procedure works with TC 5.0.X, but it's deprecated. For TC 5.5, look at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html. Bob -Mensagem original- De: Amit Gupta [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 28 de dezembro de 2004 04:27 Para: Tomcat Users List Assunto: I need to configure logs on my virtual hosting Hi, I need to configure logs on my virtual hosting. How can I do it? Till now logs are created at global logs directory to which I don't have access. I need logs in my webapps directory. - 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] *** Information contained in this email message is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the [EMAIL PROTECTED] and destroy the original message. ** - 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]
problem arising because server had jdk 1.4 and I compiled classes with jdk 1.5
Hi, I just want to share my experience with you. I want struggling with web application for 5 days. It was working in local but not virtual hosting server. Just few minutes before I came to know reason behind my problem. 1) I compiled classes with JDK 1.5 and server had jdk 1.4.. Because of this version difference, classes were failing on hosting server. 2) My application runs on hosting server when I call from 8080 port but not on 80 port. I think hosting server is not configured to proxy '*.do' type URLs to tomcat. Amit Gupta Mobile: 91-9818052171 Yahoo IM: amitguptainn MSN IM : amitguptainn
RE: I need to configure logs on my virtual hosting
Bob, Log files are not being created. I am specifying directory=logs\ in logger in context.xml. Does it matter? Amit Gupta Mobile: 91-9818052171 Yahoo IM: amitguptainn MSN IM : amitguptainn -Original Message- From: Roberto Rios [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 5:51 PM To: 'Goel, Manish Kumar'; 'Tomcat Users List' Subject: RES: I need to configure logs on my virtual hosting Hi, Can you provide more details? Are you getting errors or the log files aren't being created? I always used logger inside my contexts and I never had problem. I never used TC5.0.19. I did an upgrade from TC4.1.30 to 5.0.28 and everything works well. Bob -Mensagem original- De: Goel, Manish Kumar [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 30 de dezembro de 2004 08:39 Para: Tomcat Users List; [EMAIL PROTECTED] Assunto: RE: I need to configure logs on my virtual hosting Hi, can any body help me this same thing not working on tomcat 5.0.19 version. Manish -Original Message- From: Roberto Rios [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 4:03 PM To: 'Amit Gupta'; 'Tomcat Users List' Subject: RES: I need to configure logs on my virtual hosting Hi, Yes, you can. Take a look at the admin context provided with tomcat (as an example): Context path=/admin docBase=${catalina.home}/server/webapps/admin debug=0 privileged=true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_admin_log. suffix=.txt timestamp=true/ /Context Bob -Mensagem original- De: Amit Gupta [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 30 de dezembro de 2004 02:33 Para: Tomcat Users List; [EMAIL PROTECTED] Assunto: RE: I need to configure logs on my virtual hosting Hi Bob, I am using tomcat 5.0. I found that logger is used below tomcat 5.5.0. Can I use logger in context.xml in mywebapp/META-INF/context.xml? Amit Gupta Mobile: 91-9818052171 Yahoo IM: amitguptainn MSN IM : amitguptainn -Original Message- From: Roberto Rios [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 28, 2004 8:30 PM To: tomcat-user@jakarta.apache.org Subject: RE: I need to configure logs on my virtual hosting Hi, Which tomcat version? For tomcat 4.X put a LOGGER component inside the context and specify the directory that you want. Take a look at (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/logger.html) This procedure works with TC 5.0.X, but it's deprecated. For TC 5.5, look at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html. Bob -Mensagem original- De: Amit Gupta [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 28 de dezembro de 2004 04:27 Para: Tomcat Users List Assunto: I need to configure logs on my virtual hosting Hi, I need to configure logs on my virtual hosting. How can I do it? Till now logs are created at global logs directory to which I don't have access. I need logs in my webapps directory. - 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] *** Information contained in this email message is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the [EMAIL PROTECTED] and destroy the original message. ** - 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]
RE: I need to configure logs on my virtual hosting
Hi Bob, I am using tomcat 5.0. I found that logger is used below tomcat 5.5.0. Can I use logger in context.xml in mywebapp/META-INF/context.xml? Amit Gupta Mobile: 91-9818052171 Yahoo IM: amitguptainn MSN IM : amitguptainn -Original Message- From: Roberto Rios [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 28, 2004 8:30 PM To: tomcat-user@jakarta.apache.org Subject: RE: I need to configure logs on my virtual hosting Hi, Which tomcat version? For tomcat 4.X put a LOGGER component inside the context and specify the directory that you want. Take a look at (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/logger.html) This procedure works with TC 5.0.X, but it's deprecated. For TC 5.5, look at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html. Bob -Mensagem original- De: Amit Gupta [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 28 de dezembro de 2004 04:27 Para: Tomcat Users List Assunto: I need to configure logs on my virtual hosting Hi, I need to configure logs on my virtual hosting. How can I do it? Till now logs are created at global logs directory to which I don't have access. I need logs in my webapps directory. - 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]
I am facing problems in running Tomcat on User mode Linux server
I am facing problems in running Tomcat on User mode Linux server. It crashes soon after it is started. I tried renaming /lib/tls to /lib/tls-disabled and then starting tomcat. But no success. Please help me. Amit Gupta Mobile: 91-9818052171 Yahoo IM: amitguptainn MSN IM : amitguptainn
RE: JVM Crash
I am facing similar problem on user mode Linux. Amit Gupta Mobile: 91-9818052171 Yahoo IM: amitguptainn MSN IM : amitguptainn -Original Message- From: Rodrigo Schmidt [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 28, 2004 5:05 PM To: Tomcat Users List Subject: Re: JVM Crash Amit, I am using a dedicated server. Rodrigo Amit Gupta wrote: You are using User mode Linux or dedicated server? Amit Gupta Mobile: 91-9818052171 -Original Message- From: Rodrigo Schmidt [mailto:[EMAIL PROTECTED] Sent: Monday, December 27, 2004 11:18 PM To: tomcat-user@jakarta.apache.org Subject: JVM Crash Hello all, I deployed Atlassian Jira Enterprise 3.0.3 in Tomcat 5.0.28 and I experienced two random JVM crashes in a period of one month. The strange part is that the crashes occured when the application was at a very low load, doing almost nothing. I searched the archives for this topic, but I still can't figure out what could have caused these crashes. I have no idea whether they are related to Jira, Tomcat, J2SDK or RedHat. I would like to isolate the problem, so that I can ask the proper vendor for support. Below I will post information about my system and the JVM error logs, sorry for the long message. Any help is greatly appreciated, thanks a lot. Rodrigo System: Linux 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386 GNU/Linux Red Hat Enterprise Linux AS release 3 (Taroon) Tomcat 5.0.28 java version 1.4.2_06 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03) Java HotSpot(TM) Server VM (build 1.4.2_06-b03, mixed mode) JAVA_OPTS=-server -Xmx512m 1GB RAM CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 09 Error log 1: Unexpected Signal : 11 occurred at PC=0xB7289E78 Function=(null) Library=/usr/local/j2sdk1.4.2_06/jre/lib/i386/server/libjvm.so NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: at java.lang.String.intern(Native Method) at java.lang.Class.searchMethods(Class.java:1877) at java.lang.Class.getDeclaredMethod(Class.java:1262) at org.apache.commons.logging.impl.LogFactoryImpl.isJdk14Available(LogFactoryImpl.java:489) at org.apache.commons.logging.impl.LogFactoryImpl.getLogClassName(LogFactoryImpl.java:331) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:368) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) at org.apache.commons.beanutils.ConvertUtilsBean.init(ConvertUtilsBean.java:130) at org.apache.commons.beanutils.BeanUtilsBean.init(BeanUtilsBean.java:110) at org.apache.commons.beanutils.BeanUtilsBean$1.initialValue(BeanUtilsBean.java:68) at org.apache.commons.beanutils.ContextClassLoaderLocal.get(ContextClassLoaderLocal.java:80) - locked 0x925030d0 (a org.apache.commons.beanutils.BeanUtilsBean$1) at org.apache.commons.beanutils.BeanUtilsBean.getInstance(BeanUtilsBean.java:78) - locked 0xaeeb91a0 (a java.lang.Class) at org.apache.commons.beanutils.ConvertUtilsBean.getInstance(ConvertUtilsBean.java:115) at org.apache.commons.beanutils.ConvertUtils.convert(ConvertUtils.java:217) at org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:457) at org.apache.commons.digester.Rule.end(Rule.java:276) at org.apache.commons.digester.Digester.endElement(Digester.java:1058) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1548) at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:515) - locked 0x92641798 (a org.apache.commons.digester.Digester) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:623) - locked 0x93a28f98 (a org.apache.catalina.startup.ContextConfig
RE: JVM Crash
You are using User mode Linux or dedicated server? Amit Gupta Mobile: 91-9818052171 -Original Message- From: Rodrigo Schmidt [mailto:[EMAIL PROTECTED] Sent: Monday, December 27, 2004 11:18 PM To: tomcat-user@jakarta.apache.org Subject: JVM Crash Hello all, I deployed Atlassian Jira Enterprise 3.0.3 in Tomcat 5.0.28 and I experienced two random JVM crashes in a period of one month. The strange part is that the crashes occured when the application was at a very low load, doing almost nothing. I searched the archives for this topic, but I still can't figure out what could have caused these crashes. I have no idea whether they are related to Jira, Tomcat, J2SDK or RedHat. I would like to isolate the problem, so that I can ask the proper vendor for support. Below I will post information about my system and the JVM error logs, sorry for the long message. Any help is greatly appreciated, thanks a lot. Rodrigo System: Linux 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386 GNU/Linux Red Hat Enterprise Linux AS release 3 (Taroon) Tomcat 5.0.28 java version 1.4.2_06 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03) Java HotSpot(TM) Server VM (build 1.4.2_06-b03, mixed mode) JAVA_OPTS=-server -Xmx512m 1GB RAM CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 09 Error log 1: Unexpected Signal : 11 occurred at PC=0xB7289E78 Function=(null) Library=/usr/local/j2sdk1.4.2_06/jre/lib/i386/server/libjvm.so NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: at java.lang.String.intern(Native Method) at java.lang.Class.searchMethods(Class.java:1877) at java.lang.Class.getDeclaredMethod(Class.java:1262) at org.apache.commons.logging.impl.LogFactoryImpl.isJdk14Available(LogFactoryImpl.java:489) at org.apache.commons.logging.impl.LogFactoryImpl.getLogClassName(LogFactoryImpl.java:331) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:368) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) at org.apache.commons.beanutils.ConvertUtilsBean.init(ConvertUtilsBean.java:130) at org.apache.commons.beanutils.BeanUtilsBean.init(BeanUtilsBean.java:110) at org.apache.commons.beanutils.BeanUtilsBean$1.initialValue(BeanUtilsBean.java:68) at org.apache.commons.beanutils.ContextClassLoaderLocal.get(ContextClassLoaderLocal.java:80) - locked 0x925030d0 (a org.apache.commons.beanutils.BeanUtilsBean$1) at org.apache.commons.beanutils.BeanUtilsBean.getInstance(BeanUtilsBean.java:78) - locked 0xaeeb91a0 (a java.lang.Class) at org.apache.commons.beanutils.ConvertUtilsBean.getInstance(ConvertUtilsBean.java:115) at org.apache.commons.beanutils.ConvertUtils.convert(ConvertUtils.java:217) at org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:457) at org.apache.commons.digester.Rule.end(Rule.java:276) at org.apache.commons.digester.Digester.endElement(Digester.java:1058) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1548) at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:515) - locked 0x92641798 (a org.apache.commons.digester.Digester) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:623) - locked 0x93a28f98 (a org.apache.catalina.startup.ContextConfig) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4290) - locked 0x93a119f0 (a org.apache.catalina.core.StandardContext) at org.apache.catalina.core.ContainerBase.addChildInternal
RE: Newbie question on Database and struts
I tried SQLMaps. It is wonderful but is there any easy manual (except PDF that come with ibatis) available on net? Amit Gupta -Original Message- From: Dustin [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 28, 2004 1:28 AM To: Tomcat Users List Subject: Re: Newbie question on Database and struts This isn't exactly answering your question but... Check out iBATIS SQL Maps: http://www.ibatis.com/common/sqlmaps.html I won't go into how to use it. They have an excellent manual and tutorial. It is ridiculously easy to learn and use. Especially with Struts. Basically, you set up a query in an XML file, make a call, and it will return the results as a bean you've created or a list of beans. My description, I'm sure, does not do this software justice. It has numerous features. Check it out. You'll never look back. Dustin --- Manisha Sathe [EMAIL PROTECTED] wrote: I am new to struts (even new to java also) I have one form developed in struts. What i want to do is depending on form values, run sql qry in Action form, get result set and display it on JSP. I have created a databean for the results. But with result set - How to create array of databeans ? and how to post it on JSP ? if anybody can pass me the samples pls would be of great help regards Manisha - Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - 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]
I need to configure logs on my virtual hosting
Hi, I need to configure logs on my virtual hosting. How can I do it? Till now logs are created at global logs directory to which I don't have access. I need logs in my webapps directory.
RE: How to configure struts enable application to reload
My Concern is that whenever I deploy finished application to give demo to clinet, I need to realod application at hosting server. As said I cannot do it due to lack of access to tomcat manager. Aamit Gupta -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Monday, December 27, 2004 10:09 AM To: Tomcat Users List Subject: Re: How to configure struts enable application to reload On Mon, Dec 27, 2004 at 09:53:17AM +0530, Amit Gupta wrote: : I am giving demo of my Struts based application on a hosting server. I don't : have access to tomcat manager application to reload my demo. Can I do : something on my part to automatically reload my application whenever I update : any class in application? If this isn't a FAQ, it's at least in the docs. Check out the reloadable attribute of the Context/ tag. Then again, given your situation (using a hosting provider) this may not be possible. You could also setup a small Tomcat environment on your local workstation to do development, then upload the finished product to the hosting provider. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - 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]
How to configure struts enable application to reload
Hi, I am struggling with a problem. I am giving demo of my Struts based application on a hosting server. I don't have access to tomcat manager application to reload my demo. Can I do something on my part to automatically reload my application whenever I update any class in application? Amit Gupta 91-9818052171
RE: windows-1251 (Russian encoding)
What DBMS are you using? MySQL/Oracle/SQL server? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, December 24, 2004 4:27 PM To: tomcat-user@jakarta.apache.org Subject: windows-1251 (Russian encoding) Good day. Sorry for my English, I'll try to explain. I'm using Tomcat to construct site (using JSP) that extract data using SQL from DB Server. But I have trouble. Some information from DB written using character encoding windows-1251. After SQL request I retrieve information like ??? ? instead of normal russian word. If you ever used Sybase Jaguar Server you saw that there you can correct charsets parameters for your language but in Tomcat I don't know how I can do it. How I can configure retrieve info from DB in correct charset in Tomcat? Thanks a lot. ps: sorry for my English. By the way, I'm from Ukrain. 8) Kvitka Maxim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Newbie question on Database and struts
Hi Manisha, I was also struggling with problem similar to you. I came you with following: package forklifts; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.apache.struts.action.ActionForm; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import java.util.Collection; import java.sql.*; public final class registrationAction extends Action { public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { javax.sql.DataSource dataSource; Connection conn; try { dataSource = getDataSource(request); conn = dataSource.getConnection(); Statement stmt = null; ResultSet rs = null; String sqlquery=select * from my_table where username='+request.getParameter(username)+'; stmt = conn.createStatement(); rs=stmt.executeQuery(sqlquery); if(rs.next()) { request.setAttribute(msg,h5 class=errorUser with username '+request.getParameter(username)+' is already registered. Try another username./h5 ); if(rs!=null) rs.close(); if(stmt!=null) stmt.close(); if(conn!=null) conn.close(); return mapping.findForward(success); } else { sqlquery=Insert into my_table set username='+request.getParameter(username)+',password='+request.getParameter(password)+',FirstName='+request.getParameter(FirstName)+',LastName='+request.getParameter(LastName)+',Address='+request.getParameter(Address)+',Street='+request.getParameter(Street)+',City='+request.getParameter(City)+',State='+request.getParameter(State)+',Country='+request.getParameter(Country)+',Zip='+request.getParameter(Zip)+',Email='+request.getParameter(Email)+',Phone1='+request.getParameter(Phone)+',title='+request.getParameter(title)+',company='+request.getParameter(company)+',website='+request.getParameter(website)+',fax='+request.getParameter(fax)+'; try { stmt = conn.createStatement(); stmt.executeUpdate(sqlquery); request.setAttribute(msg,h5 class=successYour account created successfully/h5); if(rs!=null) rs.close(); if(stmt!=null) stmt.close(); if(conn!=null) conn.close(); return mapping.findForward(success);} catch(SQLException ex1) { request.setAttribute(msg,h5 class=errorSorry! regsitration failed/h5 ); return mapping.findForward(sqlexception); } } } catch(SQLException ex) { request.setAttribute(msg,h5 class=errorSorry! regsitration failed/h5 ); return mapping.findForward(sqlexception); } } } I hope above code will give you sufficient idea you to pass data to JSP page. -Original Message- From: Manisha Sathe [mailto:[EMAIL PROTECTED] Sent: Friday, December 24, 2004 8:55 AM To: tomcat-user@jakarta.apache.org Subject: Newbie question on Database and struts I am new to struts (even new to java also) I have one form developed in struts. What i want to do is depending on form values, run sql qry in Action form, get result set and display it on JSP. I have created a databean for the results. But with result set - How to create array of databeans ? and how to post it on JSP ? if anybody can pass me the samples pls would be of great help regards Manisha - Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard.
RE: Newbie question on Database and struts
Following code fetch records from database table , populate them to hastable and create vector of these hashtables . Then we pass this vector to JSP through request attribute. Action class import org.apache.struts.action.*; import javax.servlet.http.*; import java.sql.*; import java.util.*; import org.apache.commons.beanutils.*; public class viewWsForkliftsAction extends org.apache.struts.action.Action { public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { HttpSession session=request.getSession(); if(session.getAttribute(username)!=null) { request.setAttribute(username, session.getAttribute(username)); } javax.sql.DataSource dataSource; Connection conn; try { dataSource = getDataSource(request); conn = dataSource.getConnection(); Statement stmt = null; ResultSet rs = null; String sqlquery=select * from my_table; sqlquery=sqlquery+and dcc_forklifts.status=\Active\; stmt = conn.createStatement(); rs= stmt.executeQuery(sqlquery); ResultSetMetaData rsmd = rs.getMetaData(); int numberOfColumns = rsmd.getColumnCount(); Vector rows=new Vector(); while(rs.next()) { rs=stmt.getResultSet(); Hashtable fields=new Hashtable(); for(int j=1; j=numberOfColumns;j++) { fields.put(rsmd.getColumnName(j),rs.getString(rsmd.getColumnName(j))); } rows.add(fields); } request.setAttribute(rows,rows); conn.close(); return mapping.findForward(request.getParameter(page)); } catch (SQLException sqle) { request.setAttribute(val,sqle); return mapping.findForward(sqlexception); } } } In JSP page , I access this vector as Vector rows =(Vector)request.getAttribute(rows); int sz=rows.size(); for(int i=0;i sz;i++) { Hashtable row=(Hashtable)rows.get(i); ... } With regards, Amit Gupta -Original Message- From: Manisha Sathe [mailto:[EMAIL PROTECTED] Sent: Friday, December 24, 2004 8:55 AM To: tomcat-user@jakarta.apache.org Subject: Newbie question on Database and struts I am new to struts (even new to java also) I have one form developed in struts. What i want to do is depending on form values, run sql qry in Action form, get result set and display it on JSP. I have created a databean for the results. But with result set - How to create array of databeans ? and how to post it on JSP ? if anybody can pass me the samples pls would be of great help regards Manisha - Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard.
file Permissions to tomcat?
My Tomcat creates lot of problem in starting. I think reason can be linux permissions. Can any body tell me what permissions should it have? Amit Gupta
Problems with tomcat
Hi, I am running Tomcat server 5.5.3 with JDK 1.5 on three servers. These servers are User mode Linux. Two servers have fedora core 2 and 1 server has redhat 9. I am installing same binaries downloaded from Jakarta.apache.org and java.sun.com. On one server(Fedora core2 with 64 MB RAM). Tomcat is working fine with no issues. Deploys applications automatically when uploaded. No problem with this server. On second server (Fedora core2 with 128 MB RAM) Tomcat starts and don't kill java process it created when shutdown.sh in CATALINA_HOME/bin/ is executed. So tomcat runs only once and hence need reboot of system . Problem don't solve even if I manually kill process. Third server (Redhat 9 with 128 MB RAM), Tomcat is too slow to execute applications. Also tomcat startup on second and third server is moody. Sometimes it start when CATALINA_HOME/bin/ startup.sh is executed some times don't. Please help... Amit Gupta
Configuring JK connector to execute JSP pages.
Hi , I have configured tomcat 5.5.3 with jk connector . My jk.config is LoadModule jk_module modules/jakarta-tomcat-connectors-jk-1.2.6-linux-fc2-i386-apache-2.0.50.so JkWorkersFile /etc/httpd/conf/workers2.properties JkAutoAlias /usr/local/tomcat/webapps JkMount /java-server/* testWorker JkMount /*/servlet/ testWorker Alias /java-server/ /usr/local/tomcat/webapps/ Directory /usr/local/tomcat/webapps/ Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all /Directory It is not executing JSP pages. How should I configure it. Amit Gupta
Error with tomcat 5.5.3
When I try to stop tomcat following error occur org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.init(Socket.java:365) at java.net.Socket.init(Socket.java:178) at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:394) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:320) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:411) What may be the reason? Amit Gupta
Doubts with tomcat
Hello everybody, I have following section in server.xml Connector port=8080 maxThreads=25 minSpareThreads=5 maxSpareThreads=15 enableLookups=false redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=2 disableUploadTimeout=true / !-- Note : To disable connection timeouts, set connectionTimeout value to 0 -- !-- Note : To use gzip compression you could set the following properties : compression=on compressionMinSize=2048 noCompressionUserAgents=gozilla, traviata compressableMimeType=text/html,text/xml -- !-- Define a SSL HTTP/1.1 Connector on port 8443 -- !-- Connector port=8443 maxThreads=25 minSpareThreads=5 maxSpareThreads=15 enableLookups=false disableUploadTimeout=true acceptCount=100 debug=0 scheme=https secure=true clientAuth=false sslProtocol=TLS / -- !-- Define an AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=false redirectPort=8443 debug=0 protocol=AJP/1.3 / I have following queries: 1) When I start tomcat with above server.xml , it creates 9 process with same output on shell. it is /usr/java/jdk1.5.0//bin/java -Djava.endorsed.dirs=/usr/local/tomcat/common/endorsed -classpath /usr/java/jdk1.5.0//lib/tools.jar:/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/commons-logging-api.jar -Dcatalina.base=/usr/local/tomcat -Dcatalina.home=/usr/local/tomcat -Djava.io.tmpdir=/usr/local/tomcat/temp org.apache.catalina.startup.Bootstrap start. I configured tomcat to run with minSpareThreads=5 then why it start with 9 threads? 2) In tomcat , port 8080 is redirected to SSL port 8443. Why NON-SSL port is redited to SSL port? Please help me to understand these basics. Amit Gupta
Is their any tutorial for optimizing tomcat performance?
Hi, Is their any tutorial for optimizing tomcat performance? I run it on 64 MB RAM and 64 SWAP Space. is it Ok or not? Amit Gupta Email: [EMAIL PROTECTED]
Re: Doubts with tomcat
With following mod_jk2.conf LoadModule jk2_module modules/mod_jk2.so JkSet config.file /etc/httpd/conf/workers2.properties JkAutoAlias /usr/local/tomcat/webapps JkMount /*.jsp ajp13 JkMount /*/servlet/ ajp13 Following error is coming: service httpd start Starting httpd: Syntax error on line 7 of /etc/httpd/conf.d/jk2.conf: Invalid command 'JkAutoAlias', perhaps mis-spelled or defined by a module not included in the server configuration please help boss. Amit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
Hi , I have configured Tomcat/5.5.3 with jdk1.5.0. When I configure tomcat to run on then it DONOT work. On 8080 port tomcat work fine. What May be the reason? Amit Gupta
Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication. * Synchronous means that the thread that executes the request, is also the thread the replicates the data to the other nodes, and will not return until all nodes have received the information. * Asynchronous means that there is a specific 'sender' thread for each cluster node, so the request thread will queue the replication request into a smart queue, and then return to the client. The smart queue is a queue where when a session is added to the queue, and the same session already exists in the queue from a previous request, that session will be replaced in the queue instead of replicating two requests. This almost never happens, unless there is a large network delay. -- !-- When configuring for clustering, you also add in a valve to catch all the requests coming in, at the end of the request, the session may or may not be replicated. A session is replicated if and only if all the conditions are met: 1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND 2. a session exists (has been created) 3. the request is not trapped by the filter attribute The filter attribute is to filter out requests that could not modify the session, hence we don't replicate the session after the end of this request. The filter is negative, ie, anything you put in the filter, you mean to filter out, ie, no replication will be done on requests that match one of the filters. The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to. filter=.*\.gif;.*\.js; means that we will not replicate the session after requests with the URI ending with .gif and .js are intercepted. The deployer element can be used to deploy apps cluster wide. Currently the deployment only deploys/undeploys to working members in the cluster so no WARs are copied upons startup of a broken node. The deployer watches a directory (watchDir) for WAR files when watchEnabled=true When a new war file is added the war gets deployed to the local instance, and then deployed to the other instances in the cluster. When a war file is deleted from the watchDir the war is undeployed locally and cluster wide -- !-- Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster managerClassName=org.apache.catalina.cluster.session.DeltaManager expireSessionsOnShutdown=false useDirtyFlag=true notifyListenersOnReplication=true Membership className=org.apache.catalina.cluster.mcast.McastService mcastAddr=228.0.0.4 mcastPort=45564 mcastFrequency=500 mcastDropTime=3000/ Receiver className=org.apache.catalina.cluster.tcp.ReplicationListener tcpListenAddress=auto tcpListenPort=4001 tcpSelectorTimeout=100 tcpThreadCount=6/ Sender className=org.apache.catalina.cluster.tcp.ReplicationTransmitter replicationMode=pooled ackTimeout=15000/ Valve className=org.apache.catalina.cluster.tcp.ReplicationValve filter=.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;/ Deployer className=org.apache.catalina.cluster.deploy.FarmWarDeployer tempDir=/tmp/war-temp/ deployDir=/tmp/war-deploy/ watchDir=/tmp/war-listen/ watchEnabled=false/ /Cluster -- !-- Normally, users must authenticate themselves to each web app individually. Uncomment the following entry if you would like a user to be authenticated the first time they encounter a resource protected by a security constraint, and then have that user identity maintained across *all* web applications contained in this virtual host. -- !-- Valve className=org.apache.catalina.authenticator.SingleSignOn debug=0/ -- !-- Access log processes all requests for this virtual host. By default, log files are created in the logs directory relative to $CATALINA_HOME. If you wish, you can specify a different directory with the directory attribute. Specify either a relative (to $CATALINA_HOME) or absolute path to the desired directory. -- !-- Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=common resolveHosts=false/ -- /Host /Engine /Service /Server Amit Gupta Email: [EMAIL PROTECTED] http://amit-gupta.prudence-india.com A request - given the barrage of spam these days, there is a non-zero probability that I accidentally delete important emails. If a response is necessary to your email, rest assured that I will respond in time. If however, you have not received a response in a reasonable period, please don't hesitate to resend. - Original Message - From: Shinobu Kawai [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, November 06, 2004 4:00 PM Subject: Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port . Hi Amit, I have
Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
I am not able to access it through http://my_url: Amit Gupta Email: [EMAIL PROTECTED] http://amit-gupta.prudence-india.com - Original Message - From: Shinobu Kawai [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, November 06, 2004 4:42 PM Subject: Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port . Hi Amit, I installed it binary downloaded from ftp.ntua.gr. Copied files to /usr/local/tomcat/ . I am running tomcat with /usr/local/tomcat/bin/startup.sh. I have exported JAVA_HOME variable. Its /usr/java/jdk1.5.0/ I'm not sure about your environment, Here is my server.xml But the same server.xml works with the Windows version. Again, 2. How doesn't it work? Any error messages, logs? What gave you the conclusion that it isn't working? Best regards, -- Shinobu Kawai -- Shinobu Kawai [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]
Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
Nothing appears. Even no HTTP error appears Amit Gupta - Original Message - From: Shinobu Kawai [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, November 06, 2004 5:04 PM Subject: Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port . Hi Amit, I am not able to access it through http://my_url: What do you mean by not able to access? You must be expecting the Tomcat top page, but what are you actually getting? Do you see anything in the log? 2. How doesn't it work? Any error messages, logs? What gave you the conclusion that it isn't working? Best regards, -- Shinobu Kawai -- Shinobu Kawai [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]
Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
No I have opened it on firewall. Can you come online Yahoo/MSN chat. Amit Gupta - Original Message - From: Shinobu Kawai [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, November 06, 2004 5:22 PM Subject: Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port . Hi Amit, Nothing appears. Even no HTTP error appears How about the log? Could it be that you are blocking port ? Best regards, -- Shinobu Kawai -- Shinobu Kawai [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]
Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
It is remote server So can not check it except browser. - Original Message - From: Shinobu Kawai [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, November 06, 2004 5:41 PM Subject: Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port . Hi Amit, No I have opened it on firewall. Okay. Firewalls are for the client side. How about server side? Can you come online Yahoo/MSN chat. Sorry, I'm too much a security coward to do chat. ;) Again, How about the log? Best regards, -- Shinobu Kawai -- Shinobu Kawai [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]
Re: [OT] Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
Yes I have verified about ports Amit Gupta - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, November 06, 2004 6:48 PM Subject: Re: [OT] Tomcat/5.5.3 with jdk1.5.0 DONOT run on port . On Sat, 2004-11-06 at 07:36, Amit Gupta wrote: I am server administrator and port is open Have you scanned the ports to see if anything else is bound to it on that server? - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Amit Gupta [EMAIL PROTECTED] Sent: Saturday, November 06, 2004 6:03 PM Subject: [OT] Tomcat/5.5.3 with jdk1.5.0 DONOT run on port . On Sat, 2004-11-06 at 07:17, Amit Gupta wrote: It is remote server So can not check it except browser. Your server.xml looks fine. If you don't have access to the server, you will need to check with whomever does to find out if port is open and available for you to use. This is not a Tomcat issue. - Original Message - From: Shinobu Kawai [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, November 06, 2004 5:41 PM Subject: Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port . Hi Amit, No I have opened it on firewall. Okay. Firewalls are for the client side. How about server side? Can you come online Yahoo/MSN chat. Sorry, I'm too much a security coward to do chat. ;) Again, How about the log? Best regards, -- Shinobu Kawai -- Shinobu Kawai [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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]