How can I set tomcat 5.5 NOT Case Sensitive
Hello, Sir i have a problem . Actually i am using tomcat 5.5, and i want that when i run jsp file on the server it will be case insensitive. means case sensitive free. as when I write in browser's 'http://localhost/test.html' equals to 'http://localhost/TEST.htm'. Can I do it ? Sir, i search this on the web like "google" But they all said that to use I have use this also, but i dont get any sollution Sir please giv me whole information about above topic in detail. Thanks !! -- View this message in context: http://www.nabble.com/How-can-I-set-tomcat-5.5-NOT-Case-Sensitive-tf3270850.html#a9094007 Sent from the Tomcat - User mailing list archive at Nabble.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]
RE: Real time optimization problem
Sorry Richard, I did not notice reply among huge collection of mails. Let me go with Tim's advice, seems very logical. Just adding one more thing here regarding my web service: Below is my JSP which is being called by Application server to send response to the User's Web service. (Application server --> JSP -->User's Web Service with necessary parameters) JSP is given below <% //I feel this part can be resued UserService service = (UserService )new UserServiceLocator(); // Now use the service to get a stub to the service UserServicePort fib = service.get UserServiceSoapPort(); //above instances can be created once and be reused %> <% //Calling the function here String result = fib.callFun(..param lis); %><%=result%> Is it possible by setting some kind of scope? -Mukesh -Original Message- From: Richard Mixon [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 9:43 AM To: 'Tomcat Users List' Subject: RE: Real time optimization problem Mukesh, Tim Funk's reply to your post earlier gave pretty good guidance as to what steps you need to take. Your question/post has not changed so I'm not sure what you are asking. HTH - Richard -Original Message- From: mukesh [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 8:19 PM To: 'Tomcat Users List' Subject: Real time optimization problem Hi friends, Got to optimize a system, flow is explained below Request Scenario Step 1. User invokes a My webservice deployed on Tomcat 5.5. Tomcat 5.5 is connected to internet via Apache 2.0 + Mod_jk. Step 2. My Webservice forward request to application server Step 3. Application Server calls database (oracle) Step 4. After doing necessary database manipulation (insertion and some other checks), Application Server Construct Response Response Scenario Step1. after constructing response Application server calls User's webservice deployed on his end, via JSP. (application server --> JSP -->User's Web Service with nessary parameters Step 2.User's Webservice then returns the service to the User. Now, 1. User (and His Web service) is on some remote server (do not know the configuration of his server) 2. My Webservice + application server is on another system running linux 7.0, Apache2.0 + mod_jk and Tomcat5.5 + Axis1.3 3. Database (Oracle 8i) is on another server All three servers are connected via internet Problem One request-response cycle takes around 3 seconds while requirement is min 3 request-response per second.. I have removed all logs and other pritln statements which results in slight imporvment. Please how and where is the possibility for optimization? My Webservice is pretty simple, all connection are http connection except database (which must be using some other protocol) Your suggestions are highly appreciated. Kind regards Mukesh - 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]
Real time optimization problem
Hi friends, Got to optimize a system, flow is explained below Request Scenario Step 1. User invokes a My webservice deployed on Tomcat 5.5. Tomcat 5.5 is connected to internet via Apache 2.0 + Mod_jk. Step 2. My Webservice forward request to application server Step 3. Application Server calls database (oracle) Step 4. After doing necessary database manipulation (insertion and some other checks), Application Server Construct Response Response Scenario Step1. after constructing response Application server calls User's webservice deployed on his end, via JSP. (application server --> JSP -->User's Web Service with nessary parameters Step 2.User's Webservice then returns the service to the User. Now, 1. User (and His Web service) is on some remote server (do not know the configuration of his server) 2. My Webservice + application server is on another system running linux 7.0, Apache2.0 + mod_jk and Tomcat5.5 + Axis1.3 3. Database (Oracle 8i) is on another server All three servers are connected via internet Problem One request-response cycle takes around 3 seconds while requirement is min 3 request-response per second.. I have removed all logs and other pritln statements which results in slight imporvment. Please how and where is the possibility for optimization? My Webservice is pretty simple, all connection are http connection except database (which must be using some other protocol) Your suggestions are highly appreciated. Kind regards Mukesh
Real time optimization problem
Hi friends, Got to optimize a system, flow is explained below Request Scenario Step 1. User invokes a My webservice deployed on Tomcat 5.5. Tomcat 5.5 is connected to internet via Apache 2.0 + Mod_jk. Step 2. My Webservice forward request to application server Step 3. Application Server calls database (oracle) Step 4. After doing necessary database manipulation (insertion and some other checks), Application Server Construct Response Response Scenario Step1. after constructing response Application server calls User's webservice deployed on his end, via JSP. (application server --> JSP -->User's Web Service with nessary parameters Step 2.User's Webservice then returns the service to the User. Now, 1. User (and His Web service) is on some remote server (do not know the configuration of his server) 2. My Webservice + application server is on another system running linux 7.0, Apache2.0 + mod_jk and Tomcat5.5 + Axis1.3 3. Database (Oracle 8i) is on another server All three servers are connected via internet Problem One request-response cycle takes around 3 seconds while requirement is min 3 request-response per second.. I have removed all logs and other pritln statements which results in slight imporvment. Please how and where is the possibility for optimization? My Webservice is pretty simple, all connection are http connection except database (which must be using some other protocol) Your suggestions are highly appreciated. Kind regards Mukesh
SoapMapper string could not be found
Hi, I have a function called deliverMTMessage which accepts an array of String as parameter but in wsdl it is defined as "anyType" and when I generate stub using WSDL2Java the gets mapped to following way param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "Message"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "anyType"), java.lang.Object.class, false, false); I am getting following error AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: SoapMapper: The schema definition with a targetnamespace of http://schemas.xmlsoap.org/soap/encoding/ for SoapMapper string could not be found faultActor: http://tempuri.org/action/clsECPAMT.deliverMTMessage faultNode: faultDetail: {http://schemas.microsoft.com/soap-toolkit/faultdetail/error/}errorInfo:-2147467259SoapMapperThe schema definition with a targetnamespace of http://schemas.xmlsoap.org/soap/encoding/ for SoapMapper string could not be found-2147467259SoapMapper< /mserror:component>Can't create mapper for array element of type string in namespace http://schemas.xmlsoap.org/soap/encoding/.-2147467259SoapMapperRestoring data into SoapMapper (null) failed-2147467259SoapMapper Restoring data into SoapMapper anyType failed-2147467259WSDLReader None of the matching operations for soapAction http://tempuri.org/action/clsECPAMT.deliverMTMessage could successfully load the incoming request. Potential typemapper problem-2147467259 SoapMapper: The schema definition with a targetnamespace of http://schemas.xmlsoap.org/soap/encoding/ for SoapMapper string could not be found at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:2 22) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:12 9) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationCo ntext.java:1087) at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403) at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator .java:1550) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM LDocumentScanner.java:1149) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner. java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext .java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796 ) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java: 32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at maxis.ws.ClsECPAMTSoapBindingStub.deliverMTMessage(ClsECPAMTSoapBindingStub. java:337) at maxis.ws.ECPATester.main(ECPATester.java:111) Exception: SoapMapper: The schema definition with a targetnamespace of http://schemas.xmlsoap.org/soap/encoding/ for SoapMapper string could not be found How can I remove this error ? what is causing this error ? **one way around is I can change the "anyType" to "string" manually and the complie it ..but it doen't seems a logical problem. I am sure some you must be knowing some smart and logical solution. Please advice it very urgent. -mukesh
javax.servlet.ServletException: javax/xml/rpc/Service
e.java:105 ) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:744) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:674) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java :866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:684) Please help to get rid of it. -mukesh
Logging problem
Hi friends, I am not able to log the information. Though file gets created after restarting the tomcat5.5.12 but nothing is being written. **I have done application specific setting log4j.properties is on /usr/local/apache-tomcat-5.5.12/webapps/axis/WEB-INF/classes/ And log4j-1.2.8.jar , commons-logging-1.0.4.jar are on following path /usr/local/apache-tomcat-5.5.12/webapps/axis/WEB-INF/lib/ Following text is from Log4j.properties //starts # Configuration for standard output ("catalina.out"). # log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout # # Print the date in ISO 8601 format # log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n # # Configuration for a rolling log file ("tomcat.log"). # log4j.appender.R=org.apache.log4j.DailyRollingFileAppender log4j.appender.R.DatePattern='.'-MM-dd # # Edit the next line to point to your logs directory. # The last part of the name is the log file name. # log4j.appender.R.File=/usr/local/apache-tomcat-5.5.12/logs/ tomcat.log log4j.appender.R.layout=org.apache.log4j.PatternLayout # # Print the date in ISO 8601 format # log4j.appender.R.layout.ConversionPattern=%d [%t] %-5p %c - %m%n # # Application logging options # #log4j.logger.org.apache=DEBUG log4j.logger.org.apache=INFO #log4j.logger.org.apache.struts=DEBUG #log4j.logger.org.apache.struts=INFO ENDS And following is the code I am using to write the log in to the file import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; /** * * @author mukesh */ public class HungamamwsImpl { private Log myLog; /** Creates a new instance of HungamamwsImpl */ public HungamamwsImpl() { myLog = LogFactory.getLog(HungamamwsImpl.class); myLog.info("Logging started in Hungama Web Service"); myLog.info("**") ; } public String func1(String s) { return s; } } Above mentioned file is a webservice. Please suggest what could be the problem. Regards Mukesh
RE: WSDLReader:Analyzing the WSDL file failed
Hi friends, Problem lies in encoding scheme which is http://schemas.xmlsoap.org/soap/encoding in this case but it is not supported by MSSoap Client. Now I have to change it to xsd but Java2WSDL command in axis encode in http://schemas.xmlsoap.org/soap/encodin scheme by default. Solution is that I have to change it to xsd but how ? Please let me if someone knows how to change encoding ? -Mukesh -Original Message- From: mukesh [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 28, 2005 2:07 PM To: 'Tomcat Users List' Subject: RE: WSDLReader:Analyzing the WSDL file failed Bob, Thanks for your response. If it is typo mistake then Axis must have detected it. -Mukesh -Original Message- From: Bob Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 28, 2005 1:56 PM To: Tomcat Users List Subject: Re: WSDLReader:Analyzing the WSDL file failed Mukesh, This may merely be a typo in your message; <http://schemas.xmlsoap.org/soap/encodin> should be: <http://schemas.xmlsoap.org/soap/encoding> - Bob --- mukesh <[EMAIL PROTECTED]> wrote: > Hi friends, > > > > I am able to access my web service > (deployed on tomcat5.512 , > using axis1.3) from tomcat 4.1 using Axis1.3. > > > > But following error is coming when > trying to call from VB using > MSSoap Client, running IIS on WIN NT > > > > WSDLReader:Analyzing the WSDL file failed > HRESULT=0x80004005 - > WSDLReader:Initialization of service failed > HRESULT=0x80004005 - > WSDLService:Initialization of the port for service > HungamaMWSService failed > HRESULT=0x80004005 - WSDLPort:Analyzing the binding > information for port > hungamamws failed HRESULT=0x80004005 - WSDLPort:An > operation for port > hungamamws could not be initialized > HRESULT=0x80004005 - > WSDLOperation:Initializing of the input message > failed for operation > deliverMOMessage HRESULT=0x80004005 - > WSDLOperation:Initialization of a > SoapMapper for operation deliverMOMessage failed > HRESULT=0x80004005 - > SoapMapper:The SoapMapper for element string could > not be created > HRESULT=0x80004005 - SoapMapper:The schema > definition with a targetnamespace > of http://schemas.xmlsoap.org/soap/encodin > > > > Please advice. > > > > Regards, > > Muesk > > __ Yahoo! for Good - Make a difference this year. http://brand.yahoo.com/cybergivingweek2005/ - 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]
RE: WSDLReader:Analyzing the WSDL file failed
Bob, Thanks for your response. If it is typo mistake then Axis must have detected it. -Mukesh -Original Message- From: Bob Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 28, 2005 1:56 PM To: Tomcat Users List Subject: Re: WSDLReader:Analyzing the WSDL file failed Mukesh, This may merely be a typo in your message; <http://schemas.xmlsoap.org/soap/encodin> should be: <http://schemas.xmlsoap.org/soap/encoding> - Bob --- mukesh <[EMAIL PROTECTED]> wrote: > Hi friends, > > > > I am able to access my web service > (deployed on tomcat5.512 , > using axis1.3) from tomcat 4.1 using Axis1.3. > > > > But following error is coming when > trying to call from VB using > MSSoap Client, running IIS on WIN NT > > > > WSDLReader:Analyzing the WSDL file failed > HRESULT=0x80004005 - > WSDLReader:Initialization of service failed > HRESULT=0x80004005 - > WSDLService:Initialization of the port for service > HungamaMWSService failed > HRESULT=0x80004005 - WSDLPort:Analyzing the binding > information for port > hungamamws failed HRESULT=0x80004005 - WSDLPort:An > operation for port > hungamamws could not be initialized > HRESULT=0x80004005 - > WSDLOperation:Initializing of the input message > failed for operation > deliverMOMessage HRESULT=0x80004005 - > WSDLOperation:Initialization of a > SoapMapper for operation deliverMOMessage failed > HRESULT=0x80004005 - > SoapMapper:The SoapMapper for element string could > not be created > HRESULT=0x80004005 - SoapMapper:The schema > definition with a targetnamespace > of http://schemas.xmlsoap.org/soap/encodin > > > > Please advice. > > > > Regards, > > Muesk > > __ Yahoo! for Good - Make a difference this year. http://brand.yahoo.com/cybergivingweek2005/ - 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]
WSDLReader:Analyzing the WSDL file failed
Hi friends, I am able to access my web service (deployed on tomcat5.512 , using axis1.3) from tomcat 4.1 using Axis1.3. But following error is coming when trying to call from VB using MSSoap Client, running IIS on WIN NT WSDLReader:Analyzing the WSDL file failed HRESULT=0x80004005 - WSDLReader:Initialization of service failed HRESULT=0x80004005 - WSDLService:Initialization of the port for service HungamaMWSService failed HRESULT=0x80004005 - WSDLPort:Analyzing the binding information for port hungamamws failed HRESULT=0x80004005 - WSDLPort:An operation for port hungamamws could not be initialized HRESULT=0x80004005 - WSDLOperation:Initializing of the input message failed for operation deliverMOMessage HRESULT=0x80004005 - WSDLOperation:Initialization of a SoapMapper for operation deliverMOMessage failed HRESULT=0x80004005 - SoapMapper:The SoapMapper for element string could not be created HRESULT=0x80004005 - SoapMapper:The schema definition with a targetnamespace of http://schemas.xmlsoap.org/soap/encodin Please advice. Regards, Muesk
RE: Connection refused
Hi pulkit, 1) Well I can access http:///axis/ page 2) well I am connection using stubs generated by AXIS (WSDL2Java) 3) ?? 4) I am getting "nested exception is: java.net.ConnectException: Connection refused" Regards, Mukesh -Original Message- From: Pulkit Singhal [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 27, 2005 2:52 AM To: Tomcat Users List Subject: Re: Connection refused Hi Mukesh, 1) Do you have any way of making sure that whatever it is that you are trying to connect to is actually up and running and accepting connections? 2) If so, then are you sure that the details you use to make the actual connection...are correct? 3) After your second post, I feel that maybe, this is more of a development related question and not really a Tomcat question. Am I right? Or am I missing your issue with Tomcat here? 4) Also, keep the details coming :) Cheers, - Pulkit On 12/26/05, mukesh <[EMAIL PROTECTED]> wrote: > > Hi friends, > I have found the cause of the error, in fact function is never > gets > called. Its throwing an error "nested exception is: > java.net.ConnectException: Connection refused" > > > Code is like this > > Try > { > //calling function here > }catch(Exception e) > { > out.println(e.getMessage()); > } > > In fact I have connected tomcat 5.5.12 to apache2.0 via mod_jk. > > Outpus is "nested exception is: java.net.ConnectException: Connection > refused" > > Please suugest the solution. > > Kind regards > Mukesh Kumar > > > -Original Message- > From: mukesh [mailto:[EMAIL PROTECTED] > Sent: Monday, December 26, 2005 5:29 PM > To: 'Tomcat Users List' > Subject: Method returning null > > Hi all, > > > > I have deployed a web service on my tomcat 5.5.12 running on > linux7.0. I am using axis 1.3. > > > > I am trying to call a function which returns an integer but I > am > getting "null" always. > > > > Why so? Please advice what could be the problem? > > > > Regards, > > Mukesh Kumar > > > > > > > - > 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]
Connection refused
Hi friends, I have found the cause of the error, in fact function is never gets called. Its throwing an error "nested exception is: java.net.ConnectException: Connection refused" Code is like this Try { //calling function here }catch(Exception e) { out.println(e.getMessage()); } In fact I have connected tomcat 5.5.12 to apache2.0 via mod_jk. Outpus is "nested exception is: java.net.ConnectException: Connection refused" Please suugest the solution. Kind regards Mukesh Kumar -Original Message- From: mukesh [mailto:[EMAIL PROTECTED] Sent: Monday, December 26, 2005 5:29 PM To: 'Tomcat Users List' Subject: Method returning null Hi all, I have deployed a web service on my tomcat 5.5.12 running on linux7.0. I am using axis 1.3. I am trying to call a function which returns an integer but I am getting "null" always. Why so? Please advice what could be the problem? Regards, Mukesh Kumar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Method returning null
Hi all, I have deployed a web service on my tomcat 5.5.12 running on linux7.0. I am using axis 1.3. I am trying to call a function which returns an integer but I am getting "null" always. Why so? Please advice what could be the problem? Regards, Mukesh Kumar
RE: Tomcat with Apache 2.2.0
Can u tell me please if you've happened to use Apache2.0 with Tomcat 5.5.12 on Redhat Linux 7 using mod_jk ? -Mukesh -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Sam Lee Sent: Wednesday, December 07, 2005 7:23 PM To: users@tomcat.apache.org Subject: Tomcat with Apache 2.2.0 Anyone tried the newest apache 2.2.0 with tomcat using jk? - 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: RE: JSP on apache
Hi friends, First, thanks to warren. In my case workers.properties file is on Tomcat side, not on apache side. Its in /usr/local/tomcat-5/conf/jk. And I've followed the instructions. I am giving my entire configuration /usr/local/tomcat-5/conf/jk/workers.properties # Setting Tomcat & Java Home workers.tomcat_home=/usr/local/tomcat-5 workers.java_home=/usr/local/jdk1.5.0_02 ps=/ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 /usr/local/tomcat-5/conf/server.xml # #I have added following statements to server.xml at different places # #above line is under #above line is under # #above line is under # /usr/local/apache/conf/httpd.conf #added following line at end of this file Include /usr/local/tomcat-5/conf/jk/mod_jk.conf-auto Path of mod_jk.so file APACHE_HOME/modules/mod_jk.so Please not here, when I generated mod_jk.so by executing following commands cd CONNECTOR_HOME/jk/native ./buildconf.sh ./configure --with-apxs=/usr/local/apache/bin/apxs make make install then mod_jk.so was not present in CONNECTOR_HOME/jk/native/apache-2.0/ although I copied it from CONNECTOR_HOME/jk/native/apache-1.3/ and put it in APACHE_HOME/modules/ I am attaching the mod_jk.conf file contents which is being generated by tomcat web server on /usr/local/tomcat-5/conf/auto path. Again, I am running Tomcat version 5.5.12, Apache 2, Redhat Linux 7.0 and mod_jk 1.2.15 Please correct me where I am going wrong. Regards Mukesh -Original Message- From: Warren Pace [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 8:24 AM To: Tomcat Users List Subject: Re: RE: JSP on apache Mukesh, Did you also edit your httpd.conf file and workers.properties? I've attached some snippets from mine as text files. Once you've configured everything, restart the servers first tomcat and then apache. Regards Warren > > From: "mukesh" <[EMAIL PROTECTED]> > Date: 2005/12/06 Tue PM 05:23:34 EST > To: "'Tomcat Users List'" > Subject: RE: JSP on apache > > > Hi tim, > Thanks for your help so far. > > Finally I've downloaded jakarta-tomcat-connectors-1.2.15-src.tar.gz > and configured installed it using instruction from > http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html. > > Now when I start the tomcat then mod_jk.conf is being generated in > /usr/local/tomcat/conf/auto directory and I am able access all the deployed > services including http://:8080/jsp-examples. Apache is > running on port 80. > > But I am not able to execute http:///jsp-examples. It gives > me page notr found error. I have added "Include > /usr/local/tomcat/conf/auto/mod_jk.conf" statement also though this > statement is different in > http://tomcat.apache.org/connectors-doc/howto/apache.html document. here it > says "Include /var/tomcat3/conf/jk/mod_jk.conf-auto" where /var/tomcat3/ is > TOMCAT installation directory. > > Both apache and tomcat server are running on same machine. > > > Please guide. > > Regards, > -Mukesh > > > > > > > -Original Message- > From: Tim Funk [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 06, 2005 5:37 PM > To: Tomcat Users List > Subject: Re: JSP on apache > > If you are using tomcat 5.5 - do not refer to the tomcat 3 docs ;) > > http://tomcat.apache.org/connectors-doc/ > http://tomcat.apache.org/faq/ > > -Tim > > mukesh wrote: > > > Hi, > > I have tried all the option given in > > http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s2. FAQ But I > > could not build the > > jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-prefork.so > > (renamed as mod_jk.so). > > > > > > if I run "make" command then following message appears > > make: Nothing to be done for `mod_jk.so'. > > > > > > My installation paths are > > > > Tomcat: /usr/local/tomcat-5 > > Apache: /usr/local/apache (version is 2.0) > > JDK: /usr/local/jdk1.5.0_02 > > > > Everything is working fine but no success with mod_jk. I must tell that > this > > is my first experience with apache and tomcat ( mod_jk too). > > > > Please guide me if someone has already done mod_jk installation on Linux. > I > > am running Redhat 7.0 > > > > Please advice. > > > > Regards, > > Mukesh Kumar > > > > > > > > -Original Message- > > From: Tim Funk [mailto:[
RE: JSP on apache
Hi tim, Thanks for your help so far. Finally I've downloaded jakarta-tomcat-connectors-1.2.15-src.tar.gz and configured installed it using instruction from http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html. Now when I start the tomcat then mod_jk.conf is being generated in /usr/local/tomcat/conf/auto directory and I am able access all the deployed services including http://:8080/jsp-examples. Apache is running on port 80. But I am not able to execute http:///jsp-examples. It gives me page notr found error. I have added "Include /usr/local/tomcat/conf/auto/mod_jk.conf" statement also though this statement is different in http://tomcat.apache.org/connectors-doc/howto/apache.html document. here it says "Include /var/tomcat3/conf/jk/mod_jk.conf-auto" where /var/tomcat3/ is TOMCAT installation directory. Both apache and tomcat server are running on same machine. Please guide. Regards, -Mukesh -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 5:37 PM To: Tomcat Users List Subject: Re: JSP on apache If you are using tomcat 5.5 - do not refer to the tomcat 3 docs ;) http://tomcat.apache.org/connectors-doc/ http://tomcat.apache.org/faq/ -Tim mukesh wrote: > Hi, > I have tried all the option given in > http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s2. FAQ But I > could not build the >jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-prefork.so > (renamed as mod_jk.so). > > > if I run "make" command then following message appears > make: Nothing to be done for `mod_jk.so'. > > > My installation paths are > > Tomcat: /usr/local/apache-tomcat-5.5.12 > Apache: /usr/local/apache(version is 2.0) > JDK: /usr/local/jdk1.5.0_02 > > Everything is working fine but no success with mod_jk. I must tell that this > is my first experience with apache and tomcat ( mod_jk too). > > Please guide me if someone has already done mod_jk installation on Linux. I > am running Redhat 7.0 > > Please advice. > > Regards, > Mukesh Kumar > > > > -Original Message- > From: Tim Funk [mailto:[EMAIL PROTECTED] > Sent: Friday, December 02, 2005 7:43 PM > To: Tomcat Users List > Subject: Re: JSP on apache > > Both of those binaries look to be for apache2. My guess is to rename the > version you are using (apache worker vs prefork) to mod_jk.so. > > Place the mod_jk.so libexec directory then add the appropriate so load > module > directives and othr jk config directives. The FAQ should have some links > (some good, some possibly not so good now) to external how-tos. > > -Tim > > mukesh wrote: > > >>Tim, >> I have downloaded two files >> 1) jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-prefork.so >> 2) jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-worker.so >> >> I have gone through documentation. It says that I need mod_jk.so to >>complete the task which I could not find anywhere. >> >> And second documentation say that Tomcat has >>TOMCAT_HOME/native/mod_jk directory structure but its not true in case of >>Tomcat 5.5. Do I need to create the directories manually ? >> >> Third, which file I should use and where ? >> >> I have downloaded above file from >> > > http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux/jk > - 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: JSP on apache
Hi, I have tried all the option given in http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s2. FAQ But I could not build the jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-prefork.so (renamed as mod_jk.so). if I run "make" command then following message appears make: Nothing to be done for `mod_jk.so'. My installation paths are Tomcat: /usr/local/apache-tomcat-5.5.12 Apache: /usr/local/apache(version is 2.0) JDK: /usr/local/jdk1.5.0_02 Everything is working fine but no success with mod_jk. I must tell that this is my first experience with apache and tomcat ( mod_jk too). Please guide me if someone has already done mod_jk installation on Linux. I am running Redhat 7.0 Please advice. Regards, Mukesh Kumar -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Friday, December 02, 2005 7:43 PM To: Tomcat Users List Subject: Re: JSP on apache Both of those binaries look to be for apache2. My guess is to rename the version you are using (apache worker vs prefork) to mod_jk.so. Place the mod_jk.so libexec directory then add the appropriate so load module directives and othr jk config directives. The FAQ should have some links (some good, some possibly not so good now) to external how-tos. -Tim mukesh wrote: > Tim, > I have downloaded two files > 1) jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-prefork.so > 2) jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-worker.so > > I have gone through documentation. It says that I need mod_jk.so to > complete the task which I could not find anywhere. > > And second documentation say that Tomcat has > TOMCAT_HOME/native/mod_jk directory structure but its not true in case of > Tomcat 5.5. Do I need to create the directories manually ? > > Third, which file I should use and where ? > > I have downloaded above file from > http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux/jk > -1.2.14/ . > - 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: JSP on apache
Tim, I have downloaded two files 1) jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-prefork.so 2) jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-worker.so I have gone through documentation. It says that I need mod_jk.so to complete the task which I could not find anywhere. And second documentation say that Tomcat has TOMCAT_HOME/native/mod_jk directory structure but its not true in case of Tomcat 5.5. Do I need to create the directories manually ? Third, which file I should use and where ? I have downloaded above file from http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux/jk -1.2.14/ . Please correct me where I am wrong. -Mukesh -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Friday, December 02, 2005 5:55 PM To: Tomcat Users List Subject: Re: JSP on apache In that case ... http://tomcat.apache.org/connectors-doc/ -Tim mukesh wrote: > Tim, > I am working on a live server (apache 2.0) which is hosting a > website. So I can not think of downloading any other server. I have to > integrate my tomcat (version 5.5) with existing server only. > > -Mukesh > > > -Original Message- > From: Tim Funk [mailto:[EMAIL PROTECTED] > Sent: Friday, December 02, 2005 5:30 PM > To: Tomcat Users List > Subject: Re: JSP on apache > > Now that apache 2.2 is just released - it comes with mod_ajp out of the box > so there is no need for mod_jk > > -Tim > > mukesh wrote: > > >>Thanks for your kind response. >> >>Well I am using tomcat 5.5 and I could not find any directory with name >>"native" as its mentioned in mod_jk documentation that aforementioned >>directory contains mod_jk module. >> >>Please suggest which version of mod_jk should I use and where I can get it >>from? > - 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: JSP on apache
Tim, I am working on a live server (apache 2.0) which is hosting a website. So I can not think of downloading any other server. I have to integrate my tomcat (version 5.5) with existing server only. -Mukesh -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Friday, December 02, 2005 5:30 PM To: Tomcat Users List Subject: Re: JSP on apache Now that apache 2.2 is just released - it comes with mod_ajp out of the box so there is no need for mod_jk -Tim mukesh wrote: > Thanks for your kind response. > > Well I am using tomcat 5.5 and I could not find any directory with name > "native" as its mentioned in mod_jk documentation that aforementioned > directory contains mod_jk module. > > Please suggest which version of mod_jk should I use and where I can get it > from? - 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: JSP on apache
Thanks for your kind response. Well I am using tomcat 5.5 and I could not find any directory with name "native" as its mentioned in mod_jk documentation that aforementioned directory contains mod_jk module. Please suggest which version of mod_jk should I use and where I can get it from? Regards Mukesh -Original Message- From: Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 30, 2005 12:41 AM To: Tomcat Users List Cc: mukesh Subject: Re: JSP on apache Mukesh, I would use tomcat with Apache to accomplish this... Or jetty. the links are below: To integrate the Tomcat server processes with the Apache HTTP server we need the mod_jk module, which implements the interface between Tomcat and Apache, combined with some small steps to configure Apache and Tomcat to our needs. found here : http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html Jetty Rox: its raw baby!! But it roCKS http://jetty.mortbay.org/jetty/ On Nov 29, 2005, at 8:56, mukesh wrote: > Hi friends, > > > > How can I run JSPs on apache server? My apache server > is running > on Linux. In fact I have developed some web services in Java (and > JSP) and > want to deploy on the same server. Is it possible to deploy them > directly or > is there some other way around? > > > > Please advice. > > > > Regards > > Mukesh > > > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
preferred tomcat version
Hi friends, I am using Redhat Linux 7.0 and Apache web server (not tomcat). Which is the preferred version of tomcat I should use to add the JSP/Servlet to my apache we server (and why)? And that tomcat version must support mod_jk in order to connect it to apache (thankfully this has been suggested by someone on this list) Please advice. Regards, Mukesh
JSP on apache
Hi friends, How can I run JSPs on apache server? My apache server is running on Linux. In fact I have developed some web services in Java (and JSP) and want to deploy on the same server. Is it possible to deploy them directly or is there some other way around? Please advice. Regards Mukesh