Re: Configure Tomcat 6 for php 5.2.2
Do u mean tomcat6 support php? i only know resin support php, and not tomcat. does it true? 2007/5/22, Pierluigi Fabbris [EMAIL PROTECTED]: Hi, I've problem to configuring Tomcat 6. The problem is: I use saxon b, java and php how can I configure the last one? In Tomcat 5 and php 5.0 is possible. Is possible in Tomcat 6 and php 5.2.2, too? Hoping in a reply. Sincerally yours, Fabbris Pierluigi -- regards jl
question: java.net.UnknownHostException: .chemease.local: .chemease.local
i use freebsd 6.2 , tomcat 6(gz file which not installed). java 1.5_07 anyone know how to solve? Error information: Mar 22, 2007 9:03:40 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet jsp threw exception java.net.UnknownHostException: .chemease.local: .chemease.local at java.net.InetAddress.getLocalHost(InetAddress.java:1308) at org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:106) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java :70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service( JspServletWrapper.java:384) at org.apache.jasper.servlet.JspServlet.serviceJspFile( JspServlet.java:320) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:228) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java:104) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java:216) at org.apache.coyote.http11.Http11Processor.process( Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( Http11Protocol.java:634) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:445) at java.lang.Thread.run(Thread.java:595) Mar 22, 2007 9:04:56 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet jsp threw exception java.net.UnknownHostException: .chemease.local: .chemease.local at java.net.InetAddress.getLocalHost(InetAddress.java:1308) at org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:106) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java :70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service( JspServletWrapper.java:384) at org.apache.jasper.servlet.JspServlet.serviceJspFile( JspServlet.java:320) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:228) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java:104) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java:216) at org.apache.coyote.http11.Http11Processor.process( Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( Http11Protocol.java:634) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:445) at java.lang.Thread.run(Thread.java:595) -- regards jl
Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local
I don't know where error happen from this information. It work well when i use winxp+tomcat6(same zip file)+java 1.6 It is index.jsp. %@ page contentType=text/html; charset=utf-8 pageEncoding=UTF-8% %-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --% %-- $Id: index.jsp 487199 2006-12-14 13:03:40Z bdelacretaz $ --% %-- $Source: /cvs/main/searching/SolrServer/resources/admin/index.jsp,v $ --% %-- $Name: $ --% %@ page import=java.util.Date % %-- jsp:include page=header.jsp/ --% %-- do a verbatim include so we can use the local vars --% [EMAIL PROTECTED] file=header.jsp % br clear=all table tr td h3Solr/h3 /td td [a href=get-file.jsp?file=schema.xmlSchema/a] [a href=get-file.jsp?file=solrconfig.xmlConfig/a] [a href=analysis.jsp?highlight=onAnalysis/a] br [a href=stats.jspStatistics/a] [a href=registry.jspInfo/a] [a href=distributiondump.jspDistribution/a] [a href=pingPing/a] [a href=logging.jspLogging/a] /td /tr tr td strongApp server:/strongbr /td td [a href=get-properties.jspJava Properties/a] [a href=threaddump.jspThread Dump/a] % if (enabledFile!=null) if (isEnabled) { % [a href=action.jsp?action=DisableDisable/a] % } else { % [a href=action.jsp?action=EnableEnable/a] % } % /td /tr jsp:include page=get-file.jsp?file=admin-extra.htmloptional=y flush=true/ /tableP table tr td h3Make a Query/h3 /td td [a href=form.jspFull Interface/a] /td /tr tr td Query String: /td td colspan=2 form name=queryForm method=GET action=../select/ textarea class=std rows=4 cols=40 name=q%= defaultSearch %/textarea input name=version type=hidden value=2.2 input name=start type=hidden value=0 input name=rows type=hidden value=10 input name=indent type=hidden value=on brinput class=stdbutton type=button value=search onclick=if (queryForm.q.value.length==0) alert('no empty queries, please'); else queryForm.submit(); /form /td /tr /tablep table tr td h3Assistance/h3 /td td [a href=http://incubator.apache.org/solr/;Documentation/a] [a href=http://issues.apache.org/jira/browse/SOLR;Issue Tracker/a] [a href=mailto:solr-user@lucene.apache.org;Send Email/a] br [a href= http://lucene.apache.org/java/docs/queryparsersyntax.html;Lucene Query Syntax/a] /td !-- td rowspan=3 a href=http://incubator.apache.org/solr/;img align=right border=0 height=107 width=148 src=power.png/a /td -- /tr tr td /td td Current Time: %= new Date() % /td /tr tr td /td td Server Start At: %= new Date(core.getStartTime()) % /td /tr /table /body /html 2007/3/22, Rashmi Rubdi [EMAIL PROTECTED]: java.net.UnknownHostException Thrown to indicate that the IP address of a host could not be determined. Could you post the snippet of code that throws this error? -Rashmi On 3/21/07, James liu [EMAIL PROTECTED] wrote: SEVERE: Servlet.service() for servlet jsp threw exception java.net.UnknownHostException: .chemease.local: .chemease.local - 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 jl
Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local
Maybe header.jsp output host cause it happen Am i right? i m jsp newbie. %@ page contentType=text/html; charset=utf-8 pageEncoding=UTF-8% %-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --% [EMAIL PROTECTED] file=_info.jsp % script var host_name=%= hostname % /script html head link rel=stylesheet type=text/css href=solr-admin.css link rel=icon href=favicon.ico type=image/ico/link link rel=shortcut icon href=favicon.ico type=image/ico/link titleSolr admin page/title /head body a href=.img border=0 align=right height=61 width=142 src= solr-head.gif alt=Solr/a h1Solr Admin (%= collectionName %) %= enabledStatus==null ? : (isEnabled ? - Enabled : - Disabled) % /h1 %= hostname %:%= port %br/ cwd=%= cwd % SolrHome=%= solrHome %
Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local
i fix itjust modify my host name Thk u,Rashmi
How to use my customer jar with tomcat6 in FreeBSD6
It work well when i use it in winxp+tomcat6+java1.6 Now i use freebsd6, use same tomcat6, my customer jar is put under $TOMCAT_HOME/lib/,,,and set classpath to it. but tomcat 6 seems not know it. How to can i fix it? -- regards jl
Re: How to use my customer jar with tomcat6 in FreeBSD6
This is some informat in my ~/.cshrc file . I set all what u said. setenv JAVA_HOME /usr/local/diablo-jdk1.5.0 setenv TOMCAT_HOME /tmp/apache-tomcat-6.0.10 setenv CATALINA_HOME /tmp/apache-tomcat-6.0.10 setenv CATALINA_BASE /tmp/apache-tomcat-6.0.10 setenv CATALINA_TMPIR /tmp/apache-tomcat-6.0.10/temp set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin $JAVA_HOME/bin $TOMCAT_HOME/b setenv CLASSPATH .:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$TOMCAT_HOME/lib/je- analysis-1.5.1.jar:$TOMCAT
Re: How to use my customer jar with tomcat6 in FreeBSD6
failed emporarily. log show me inforamtion: xml i use editplus to test, it is ok...so i don't know where is error. Mar 22, 2007 10:55:07 AM org.apache.catalina.core.ApplicationContext log SEVERE: StandardWrapper.Throwable org.apache.solr.core.SolrException: Schema Parsing Failed at org.apache.solr.schema.IndexSchema.readConfig(IndexSchema.java:441) at org.apache.solr.schema.IndexSchema.init(IndexSchema.java:69) at org.apache.solr.core.SolrCore.init(SolrCore.java:191) at org.apache.solr.core.SolrCore.getSolrCore(SolrCore.java:172) at org.apache.solr.servlet.SolrServlet.init(SolrServlet.java:72) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet( StandardWrapper.java:1161) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java :981) at org.apache.catalina.core.StandardContext.loadOnStartup( StandardContext.java:4044) at org.apache.catalina.core.StandardContext.start(StandardContext.java :4350) at org.apache.catalina.core.ContainerBase.addChildInternal( ContainerBase.java:761) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java :741) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java :525) at org.apache.catalina.startup.HostConfig.deployDescriptor( HostConfig.java:626) at org.apache.catalina.startup.HostConfig.deployDescriptors( HostConfig.java:553) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java :488) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at org.apache.catalina.startup.HostConfig.lifecycleEvent( HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent( LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java :1023) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java :1015) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java :443) at org.apache.catalina.core.StandardService.start(StandardService.java :448) at org.apache.catalina.core.StandardServer.start(StandardServer.java :710) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) 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.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.ClassCastException: jeasy.analysis.MMAnalyzer at org.apache.solr.schema.IndexSchema.readAnalyzer(IndexSchema.java :468) at org.apache.solr.schema.IndexSchema.readConfig(IndexSchema.java:296) ... 31 more Mar 22, 2007 10:55:07 AM org.apache.catalina.core.StandardContextloadOnStartup SEVERE: Servlet /solr1 threw load() exception java.lang.ClassCastException: jeasy.analysis.MMAnalyzer at org.apache.solr.schema.IndexSchema.readAnalyzer(IndexSchema.java :468) at org.apache.solr.schema.IndexSchema.readConfig(IndexSchema.java:296) at org.apache.solr.schema.IndexSchema.init(IndexSchema.java:69) at org.apache.solr.core.SolrCore.init(SolrCore.java:191) at org.apache.solr.core.SolrCore.getSolrCore(SolrCore.java:172) at org.apache.solr.servlet.SolrServlet.init(SolrServlet.java:72) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet( StandardWrapper.java:1161) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java :981) at org.apache.catalina.core.StandardContext.loadOnStartup( StandardContext.java:4044) at org.apache.catalina.core.StandardContext.start(StandardContext.java :4350) at org.apache.catalina.core.ContainerBase.addChildInternal( ContainerBase.java:761) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java :741) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java :525) at org.apache.catalina.startup.HostConfig.deployDescriptor( HostConfig.java:626) at org.apache.catalina.startup.HostConfig.deployDescriptors( HostConfig.java:553) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java :488) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at org.apache.catalina.startup.HostConfig.lifecycleEvent( HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent( LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java :1023) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java :1015) at
Re: How to use my customer jar with tomcat6 in FreeBSD6
Yes i test and i remain JAVA_HOME and CATALINA_HOME. But test failed. 2007/3/22, Rashmi Rubdi [EMAIL PROTECTED]: I forgot to mention, don't unset the path and CATALINA_HOME variables, but change $TOMCAT_HOME to $CATALINA_HOME in the path variable you have. set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin $JAVA_HOME/bin $TOMCAT_HOME/bin - 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 jl
Re: How to use my customer jar with tomcat6 in FreeBSD6
2007/3/22, Rashmi Rubdi [EMAIL PROTECTED]: These errors are SOLR related errors, I don't think they are Tomcat errors. I don't know SOLR at this moment, but it appears that the code is looking for some XML or Schema file and unable to read it possibly due to file read permissions on Unix or it could be due to other reasons such as path separators need to be changed from \ to / in some XML file etc (all these are wild guesses). You could check with the SOLR user mailing list for further assistance, if there's no solution on a search engine. org.apache.solr.core.SolrException: Schema Parsing Failed SEVERE: Servlet /solr1 threw load() exception Caused by: java.lang.ClassCastException: jeasy.analysis.MMAnalyzer at org.apache.solr.schema.IndexSchema.readAnalyzer(IndexSchema.java:468) -Rashmi - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thk u, Rashmi. I send question to solr mail list. -- regards jl
How to increate memory resonably with Tomcat6, java 1.6..system: winxp , help appreciated.
i m tomcat newer. -- regards jl
Re: my question: how to make tomcat6 and java1.6 more effect
I have web and back program. web i use php+apache back: i use tomcat+ solr php create xml and curl it to tomcat...this process will take more cpu(i tract it by windows monitor,cpu will taked up with current process, and this process will take bigest cpu resource) but this pc should do other work(like people search something),,so how to let index process not take more cpu resource...like limit it to take defined cpu resource. I m tomcat newer, i just know how to limit tomcat take cpu. Maybe other way can fix it when i wanna index and search can do in the same time. They will not affect each other like now.