Advertisement
filpano

glassfish.env

Oct 22nd, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 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/mfg.jar${FS}${JAS_HOME}/jars/orders.jar${FS}${JAS_HOME}/jars/supplier.jar${FS}${JAS_HOME}/jars/util.jar${FS}${J2EE_JARS}/appserv-rt.jar${FS}${J2EE_JARS}/javaee.jar
  17.  
  18. # Additional environment needed for make
  19. JAVAX_JAR=${J2EE_JARS}/appserv-rt.jar:${J2EE_JARS}/javaee.jar
  20.  
  21. # The following variables specify the URL of the
  22. # server in which the SPECjAppServer beans are deployed
  23. # JAS_PREFIX used to access the Web components
  24. # For Example DeliveryServlet. Default is /
  25. JAS_HOST=specdelivery
  26. JAS_PORT=8000
  27. JAS_PREFIX=/
  28.  
  29. # The following variables specify the URL of the server
  30. # in which the Supplier Emulator is deployed
  31. # EMULATOR_PREFIX used to access the Web components
  32. # For Example EmulatorServlet. Default is /
  33. EMULATOR_HOST=specemulator
  34. EMULATOR_PORT=8080
  35. EMULATOR_PREFIX=/
  36.  
  37. #
  38. # AppServer Environment variables for JNDI provider and classes
  39. #
  40. IIOP_PORT=3700
  41. NAMING_PROVIDER=iiop://${JAS_HOST}:${IIOP_PORT}
  42. IIOP_ENDPOINTS=${JAS_HOST}:${IIOP_PORT}
  43.  
  44. JAVA="$JAVA_HOME/bin/java -server -XX:+DisableExplicitGC -Xmx256m -Xss256k -Djava.naming.provider.url=${NAMING_PROVIDER} -Djava.naming.provider.url.pkgs=com.sun.enterprise.naming -Dcom.sun.appserv.iiop.orbconnections=5 -Dcom.sun.appserv.iiop.endpoints=${IIOP_ENDPOINTS} -Dorg.omg.CORBA.ORBInitialHost=${JAS_HOST} -Dorg.omg.CORBA.ORBInitialPort=${IIOP_PORT} -Dnetworkaddress.cache.ttl=0 -Dsun.net.inetaddr.ttl=0 "
  45.  
  46. # We need to export all variables needed by make
  47. export JAS_HOME JAVA_HOME JAVAX_JAR JAS_HOST JAS_PORT EMULATOR_HOST EMULATOR_PORT LD_LIBRARY_PATH CLASSPATH J2EE_HOME
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement