Advertisement
filpano

glassfish.env

Nov 4th, 2013
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. # Generic environment needed for the apps server
  2. JAS_HOME=/opt/SPECjAppServer2004
  3. JAVA_HOME=/usr/lib/jvm/jdk1.7.0
  4. FS=:
  5. BINDWAIT=45
  6.  
  7. J2EE_HOME=/opt/glassfish3/glassfish
  8. J2EE_JARS=${J2EE_HOME}/lib
  9. JAS_ADMIN_PORT=4848
  10. J2EE_INSTANCE=server
  11.  
  12. DB_HOST=specdb
  13. JDBC_CLASSPATH=${JAS_HOME}/jdbc/postgresql-9.2-1003.jdbc4.jar
  14.  
  15. # Environment needed for the driver
  16. CLASSPATH=${JAS_HOME}/classes${FS}${JAS_HOME}/jars/corp.jar${FS}${JAS_HOME}/jars/
  17. mfg.jar${FS}${JAS_HOME}/jars/orders.jar${FS}${JAS_HOME}/jars/supplier.jar${FS}${J
  18. AS_HOME}/jars/util.jar${FS}${J2EE_JARS}/appserv-rt.jar${FS}${J2EE_JARS}/javaee.ja
  19. r
  20.  
  21. # Additional environment needed for make
  22. JAVAX_JAR=${J2EE_JARS}/appserv-rt.jar:${J2EE_JARS}/javaee.jar
  23.  
  24. # The following variables specify the URL of the
  25. # server in which the SPECjAppServer beans are deployed
  26. # JAS_PREFIX used to access the Web components
  27. # For Example DeliveryServlet. Default is /
  28. JAS_HOST=specdelivery
  29. JAS_PORT=8000
  30. JAS_PREFIX=/
  31.  
  32. # The following variables specify the URL of the server
  33. # in which the Supplier Emulator is deployed
  34. # EMULATOR_PREFIX used to access the Web components
  35. # For Example EmulatorServlet. Default is /
  36. EMULATOR_HOST=specemulator
  37. EMULATOR_PORT=8080
  38. EMULATOR_PREFIX=/
  39.  
  40. #
  41. # AppServer Environment variables for JNDI provider and classes
  42. #
  43. IIOP_PORT=3700
  44. NAMING_PROVIDER=iiop://${JAS_HOST}:${IIOP_PORT}
  45. IIOP_ENDPOINTS=${JAS_HOST}:${IIOP_PORT}
  46.  
  47. JAVA="$JAVA_HOME/bin/java -server -XX:+DisableExplicitGC -Xmx256m -Xss4m -Djava.n
  48. aming.provider.url=${NAMING_PROVIDER} -Djava.naming.provider.url.pkgs=com.sun.ent
  49. erprise.naming -Dcom.sun.appserv.iiop.orbconnections=5 -Dcom.sun.appserv.iiop.end
  50. points=${IIOP_ENDPOINTS} -Dorg.omg.CORBA.ORBInitialHost=${JAS_HOST} -Dorg.omg.COR
  51. BA.ORBInitialPort=${IIOP_PORT} -Dnetworkaddress.cache.ttl=0 -Dsun.net.inetaddr.tt
  52. l=0 "
  53.  
  54. # We need to export all variables needed by make
  55. export JAS_HOME JAVA_HOME JAVAX_JAR JAS_HOST JAS_PORT EMULATOR_HOST EMULATOR_PORT
  56. LD_LIBRARY_PATH CLASSPATH J2EE_HOME
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement