¡@

Home 

java Programming Glossary: p.put

ejb lookup failing with NamingException

http://stackoverflow.com/questions/1473939/ejb-lookup-failing-with-namingexception

javax.naming.NamingException Properties p new Properties p.put Context.INITIAL_CONTEXT_FACTORY org.jnp.interfaces.NamingContextFactory.. org.jnp.interfaces.NamingContextFactory p.put Context.URL_PKG_PREFIXES org.jboss.naming org.jnp.interfaces.. org.jboss.naming org.jnp.interfaces p.put Context.PROVIDER_URL jnp 127.0.0.1 1099 return new javax.naming.InitialContext..

Can't make JDBC connection to MySQL (using Java, IntelliJ, and Linux)

http://stackoverflow.com/questions/2102912/cant-make-jdbc-connection-to-mysql-using-java-intellij-and-linux

com.mysql.jdbc.Driver Properties p new Properties p.put user user_name p.put password password connection DriverManager.getConnection.. Properties p new Properties p.put user user_name p.put password password connection DriverManager.getConnection jdbc..

How to configure OpenEJB logging?

http://stackoverflow.com/questions/4176924/how-to-configure-openejb-logging

via InitialContext properties Properties p new Properties p.put Context.INITIAL_CONTEXT_FACTORY org.apache.openejb.client.LocalInitialContextFactory.. org.apache.openejb.client.LocalInitialContextFactory p.put log4j.rootLogger fatal C p.put log4j.category.OpenEJB warn p.put.. p.put log4j.rootLogger fatal C p.put log4j.category.OpenEJB warn p.put log4j.category.OpenEJB.options..

Best Practice on Configuring Log4j Properties Path

http://stackoverflow.com/questions/4825414/best-practice-on-configuring-log4j-properties-path

Properties p new Properties Config.ETC log4j.properties p.put log.dir dynamicLog overwrite log.dir PropertyConfigurator.configure..