|
RE: Enhydra build fails on Solaris: msg#00118java.enhydra.general
Hi ********** The compile is fired by a script included with the source called compile.sh. It does expand on the classpath, and includes the ant, optional, junit, xerces and tools jar in addition to my regular classpath (which already included tools, as well as the regular j2se/lib dir). ******* Hmm, thats strange. Have you tried clearing your CLASSPATH env variable and running the script? That might eliminate any conflicts with different versions of XML parsers, etc. XMLC uses xerces 1.4 right now, so If you have xerces 2.0 in your path somewhere you might have problems. Here is an example of my startup script, Many of the jars are jars needed for my app, so you can delete those references. I keep this script in my enhydra/bin directory, note that it calls the standard multiserver script at the end. You will need the XMLC, XERCES, DODS, ENHYDRA, TOMCAT, SERVLET, REGEX jars plus your own app's jars. ============================================= #!/bin/sh XMLCPATH=/opt/enhydra/lib/xmlc.jar:/opt/enhydra/lib/xmlcSupport.jar XERCES=/opt/enhydra/lib/xerces.jar DODS=/opt/enhydra/lib/dods.jar ENHYDRA=/opt/enhydra/lib/core.jar PIHANAPORTAL=/opt/enhydra/pihanaportal/lib/PihanaPortal.jar:/opt/enhydra/pihanaportal/lib/PihanaServices.jar MYSQL=/opt/enhydra/pihanaportal/lib/mysql-connector-java-2.0.14-bin.jar TOOLSJAR=/opt/jdk1.3_aux/lib/tools.jar GLUEJARS=/opt/enhydra/lib/GLUE-STD.jar:/opt/enhydra/lib/jnet.jar REGEXJAR=/opt/enhydra/lib/gnu-regexp.jar TOMCAT=/opt/enhydra/lib/tomcat.jar SERVLET=/opt/enhydra/lib/servlet.jar JFREECHART=/opt/enhydra/lib/jcommon-0.6.4.jar:/opt/enhydra/lib/jfreechart-0.9.2.jar JASPERREPORTS=/opt/enhydra/lib/jasperreports.jar:/opt/enhydra/lib/iText.jar JAVAMAIL=/opt/usr/javamail-1.2/mail.jar ACTIVATION=/opt/usr/jaf-1.0.1/activation.jar SNMP=/opt/enhydra/lib/joesnmp-0.2.6.jar TELNET=/opt/enhydra/lib/jta25b.jar CLASSPATH=$ENHYDRA:$XMLCPATH:$XERCES:$DODS:$MYSQL:$TOMCAT:$SERVLET:$REGEXJAR:$TO OLSJAR:$JASPERREPORTS:$JFREECHART:$PIHANAPORTAL:$JAVAMAIL:$ACTIVATION:$GLUEJARS: $SNMP:$TELNET export CLASSPATH ./multiserver -java-arg -server -java-arg -mx128m -java-arg -ms16m -java-arg -Djava.awt.headless=true Mike.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Enhydra digest, Vol 1 #436 - 6 msgs, canderson |
|---|---|
| Next by Date: | Cactus4Enhydra: New Documents., MIYACHI Yasuhiko |
| Previous by Thread: | RE: Enhydra build fails on Solaris, Mike Warne |
| Next by Thread: | Cactus4Enhydra, MIYACHI Yasuhiko |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |