How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread James liu
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

2007-03-21 Thread Rashmi Rubdi
Instead of setting CLASSPATH , I set JAVA_HOME to the JDK home folder , CATALINA_HOME to Tomcat home folder in system environment variables. You can try the above and see if Tomcat 6 identifies the JAR files in tomcat's lib folder. -Rashmi On 3/21/07, James liu [EMAIL PROTECTED] wrote: Now i

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread James liu
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

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread Rashmi Rubdi
There's a file called RUNNING.txt , which is located under Tomcat's root folder, which gives Tomcat configuration instructions. The RUNNING.txt file mentions setting JAVA_HOME , and doesn't mention any of the other environment variables like TOMCAT_HOME , CATALINA_HOME, CATALINA_BASE, CLASSPATH

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread Rashmi Rubdi
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

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread James liu
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

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread James liu
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

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread Rashmi Rubdi
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

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread James liu
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