Showing posts with label Weblogic. Show all posts
Showing posts with label Weblogic. Show all posts

Friday

WebLogic RMI - Set timeout


Hashtable prop = new Hashtable();
prop.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
prop.put(Context.PROVIDER_URL, jmsProviderUrl);
prop.put(Context.SECURITY_PRINCIPAL, "");
prop.put(Context.SECURITY_CREDENTIALS, "");
prop.put("weblogic.jndi.connectTimeout", 15000);
prop.put("weblogic.jndi.responseReadTimeout", 15000);
                                   
InitialContext ctx = new InitialContext(prop);

Tuesday

Where is the generated JSP class files stored (JBOSS, Weblogic) ?

In JBOSS 7.1:

C:\jboss\jboss-as-7.1.0.Final\standalone\tmp\work\jboss.web\default-host\<project name>\org\apache\jsp\pages

In Oracle Weblogic Server 11gR1(10.3.6):

<Your weblogic path>\<user_projects>\domains\<YOUR_DOMAIN_NAME>\servers\<APP_SERVER_NAME>\tmp\_WL_user\<APPLICATION_WAR(for me \_auto_generated_ear_\8fkeak\jsp_servlet)>