weblogic

Get list of all applications deployed on a weblogic server

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-10 15:56:06
问题 Using the following code, I am able to connect to the weblogic server. Now I want to get a list of all the applications deployed on the server. listapplications() from the command prompt lists the applications, but I am not able to store the output into a variable when I execute interpreter.exec(listapplications()) because interpreter.exec returns a void. Any ideas on how can I store the applications list in a collection/array? Any other alternative or leads would also help. import org.python

J2EE/EJB + service locator: is it safe to cache EJB Home lookup result?

落爺英雄遲暮 提交于 2019-12-10 15:42:52
问题 In a J2EE application, we are using EJB2 in weblogic. To avoid losing time building the initial context and looking up EJB Home interface, I'm considering the Service Locator Pattern. But after a few search on the web I found that even if this pattern is often recommended for the InitialContext caching, there are some negative opinion about the EJB Home caching. Questions: Is it safe to cache EJB Home lookup result ? What will happen if one my cluster node is no more working ? What will

com.aspose 生成pdf在linux生成PDF乱码解决(window环境正常)

為{幸葍}努か 提交于 2019-12-10 14:51:39
linux 环境下日志查看在GBK环境下,中文正常显示,web应用通过浏览器看到的jsp均不乱码,只有aspose生成的pdf,查看时中文全部显示不出来,其解决方案如下: 1. 通过增加jdk的字体库信息解决 cd $JAVA_HOME/jre/lib/fonts mkdir fallback,cd fallback, cp msyh.ttf ./ #此处的msyh.ttf是字体文件,可以从Windows平台拷贝过来(c:/Windows/Fonts/msyh.ttf),也可以用其他字体文件,只要支持中文即可。 mkfontdir #生成字体查询文件 mkfontscale #生成scale文件 #重启weblogic后依然乱码(之前解决sqldeveloper时生效,但现在不生效) 2.通过操作系统层面解决 cd /usr/share/fonts/ #进入字体库文件夹 mkdir fonttmp #创建自己使用的字体库文件夹 cd fonttmp #进行字体库 cp *.ttc,cp *.ttf #copy windows下的字体文件 (ttc和ttf)或支持中文的字体文件(ttc和ttf)到此文件夹下 mkfontdir #生成字体查询文件 mkfontscale #生成scale文件 fc-cache #扫描字体目录并生成字体信息的缓存 #重启welogic后问题解决

Migrating JSF-Application to Weblogic 12

此生再无相见时 提交于 2019-12-10 13:47:13
问题 We developed a Seam 2 based Java EE 5 application and it runs on Weblogic 11g. Now I tried to deploy the same WAR file to the new Weblogic 12c (12.1.1.0 on my local Windows 7 machine) by following the same steps as on the previous WLS, including the deployment of the required JSF 1.2 library. The deployment and start of the application works fine, but when I open the URL in the browser, I get an 500 error and the logfile shows the following exception: java.lang.UnsupportedOperationException

Weblogic javax.naming.NameNotFoundException while running application

你离开我真会死。 提交于 2019-12-10 13:38:18
问题 I have created a data source name in Weblogic 10.3.6 as jdbc/appsmDS and the same name has been given in application to lookup. However when I am trying to run application, I am getting the following error javax.naming.NameNotFoundException: While trying to lookup 'jdbc/appsmDS' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/appsmDS' How can I resolve this issue? 回答1: when looking up the DS the full JNDI structure maps to java:jdbc/appsmsDS . Please use it for lookup. 回答2:

WLSTException: Error cding to the MBean on line 4

故事扮演 提交于 2019-12-10 11:52:04
问题 I have written a wlst script to create multiple connection factories. Code is as below : def createJMSConnFac(systemModuleName,ConnectionFactoryJNDIName,connectionFactoryName): cd('/JMSSystemResources/'+systemModuleName+'/JMSResource/'+systemModuleName) cmo.createConnectionFactory(connectionFactoryName) cd('/JMSSystemResources/'+systemModuleName+'/JMSResource/'+systemModuleName+'/ConnectionFactories/'+connectionFactoryName) cmo.setJNDIName(ConnectionFactoryJNDIName) print "Created a

How to make weblogic form authentication in wicket

纵然是瞬间 提交于 2019-12-10 11:44:11
问题 I want make weblogic form validation in wicket but I dont know how to create login page. I followed this tutorial where is example in jsp: http://docs.oracle.com/cd/E13222_01/wls/docs100/security/thin_client.html#wp1057581 I create similar form in wicket but I dont know what should I do when I push submit button. There is some action called "j_security_check" but i dont know how should i implement it in java and wicket UPDATE: I am using weblogic 10.something and I cant use newest I try to

Linux卸载静默安装的weblogic12

我怕爱的太早我们不能终老 提交于 2019-12-10 11:32:29
按理,Linux卸载weblogic应该行执: /root/Oracle/Middleware/wlserver_10.3/uninstall/uninstall.sh 看清楚,卸载文件在uninstall文件夹下 但是我用静默安装的weblogic12(fmw_12.1.3.0.0_wls.jar)找不到这个文件,它在 /home/weblogic/oracle/oui/bin 下,叫deinstall.sh 所以在bin目录下执行:./deinstall.sh -silent 来源: CSDN 作者: 熟人介绍的 链接: https://blog.csdn.net/u010201575/article/details/103470379

Which JAR contains the weblogic.servlet.security.ServletAuthentication class?

女生的网名这么多〃 提交于 2019-12-10 11:25:39
问题 I trying to create a servlet to logout from multiple JSF applications running on Oracle Glassfish. I tried the following code, weblogic.servlet.security.ServletAuthentication.logout(request); weblogic.servlet.security.ServletAuthentication.invalidateAll(request); weblogic.servlet.security.ServletAuthentication.killCookie(request); but I am not able to find the JAR file containing the required class in order to get the code to compile. I downloaded Oracle WebLogic and tried various of its JARs

<BEA-050001> WLContext.close() was called in a different thread than the one in which it was created

ぐ巨炮叔叔 提交于 2019-12-10 11:25:11
问题 I have written wlst script to achieve the below tasks recursively Stopping the applications Undeploying the applications Deploying the appliactions When ever i execute the script, Either undeploy or Deploy happens only for 1 application. For other applications it fails with below error message.Can you please help me to fix the issue? File "<iostream>", line 1116, in domainConfig File "<iostream>", line 1848, in raiseWLSTException WLSTException: Error cding to the MBean <Feb 20, 2014 11:28:44