weblogic

Why do I get NoClassDefFoundError: java/awt/Desktop?

旧巷老猫 提交于 2019-12-02 09:50:07
I'm trying to open an URI with Swing that I get above error. What is the reason and how can I fix it? When I do it in console everything is OK but when I do in GUI I get this error. I should say that I use Weblogic as server. Code private static void open(URI uri) { if (Desktop.isDesktopSupported()) { try { Desktop.getDesktop().browse(uri); } catch (IOException e) { /* TODO: error handling */ } } else { /* TODO: error handling */ } } Stack trace: Exception in thread "AWT-EventQueue-1" java.lang.NoClassDefFoundError: java/awt/Desktop at be.azvub.ext.bcfidownloder.BcfiDownloadPanel.open

ibatis spring java.lang.NoSuchMethodError com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse

夙愿已清 提交于 2019-12-02 09:34:32
i am using spring 3.2.0 with ibatis 2.3.4 in weblogic 10.3.6 while deploying in weblogic. I am getting this NoSuchMethodError as below: User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gatewayService' defined in ServletContext resource [/WEB-INF/applicationContext-granite-webservice.xml]: Cannot resolve reference to bean 'daoIPInventory' while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with

javax.naming.NameNotFoundException: While trying to lookup 'abc' didn't find subcontext 'abc'

混江龙づ霸主 提交于 2019-12-02 08:33:49
问题 I've developed a EJB application, with a Remote interface. This application was deployed on weblogic 12. With a java application, i'm trying use my EJB application, but when I call method lookup from the class InitialContext, i get this message "javax.naming.NameNotFoundException: While trying to lookup 'NewSessionBean.remote' didn't find subcontext 'NewSessionBean" This is code from remote interface: package co.com.tutorial.stateless; import java.util.List; import javax.ejb.Remote; /** * *

Configuring container-managed security in Weblogic

冷暖自知 提交于 2019-12-02 07:51:30
Anyone know of any guides for this? I'm a complete newbie to weblogic and to container-managed security. What I've done already is: setup an LDAP authenticator in Weblogic created a simple webapp in Eclipse Configure web.xml: Added security-constraint, security-role and login-config elements. The realm name used is "myrealm" which already exists in Weblogic. The role name I used is "Admin" which is a global role in Weblogic Create a simple jsp page "login.jsp". It doesn't actually do any logging in but just a Hello World type of thing. I set this page as form-login-page and form-error-page in

Weblogic 创建集群并创建代理服务

。_饼干妹妹 提交于 2019-12-02 07:43:51
双机集群规划: 域 服务 IP 端口 账号 密码 备注 cluster_domain AdminServer 172.22.39.50 9001 weblogic weblogic1 主控 cluster_domain proxyServer 172.22.39.50 9010 weblogic weblogic1 主控代理 cluster_domain nodeServer1 172.22.39.50 9011 weblogic weblogic1 节点1 cluster_domain nodeServer2 172.22.39.50 9012 weblogic weblogic1 节点2 node_domain nodeServer3 192.168.137.223 9013 weblogic weblogic1 节点3 node_domain nodeServer4 192.168.137.223 9014 weblogic weblogic1 节点4 检查双机是否可以互相访问,最简单的方式ping ip; 创建weblogic 工具这里就不介绍了,不懂想具体了解的可以自行Google。这边安装过程描述我也是精简,各位看官直接看图,个人比较喜欢用图说话,哈哈..... 域名:根据见名知意原则,不喜欢说随便取,还是有个良好的习惯比较好。也方便自己以后部署项目(纯属个人意见)

使用docker搭建weblogic环境

 ̄綄美尐妖づ 提交于 2019-12-02 06:17:48
使用docker搭建weblogic环境 前言 操作机:ubuntu 16 x64 Docker version 18.09.7 下载镜像 命令:docker pull ismaleiva90/weblogic12 启动容器 命令:docker run -d -p 7001:7001 -p 7002:7002 ismaleiva90/weblogic12:latest 连接测试 在浏览器中访问weblogic: http://IP:7001/console 来源: https://www.cnblogs.com/zy-king-karl/p/11734080.html

使用docker搭建weblogic环境

纵然是瞬间 提交于 2019-12-02 06:13:01
使用docker搭建weblogic环境 前言 操作机:ubuntu 16 x64 Docker version 18.09.7 下载镜像 命令:docker pull tomcat 启动容器 命令:docker run --name tomcat -p 8080:8080 -v /data/tomcat/test:/usr/local/tomcat/webapps/test -d tomcat 进入容器 命令:docker exec -it tomcat /bin/bash 连接测试 访问: http://your-ip:8080/ 来源: https://www.cnblogs.com/zy-king-karl/p/11733969.html

Weblogic Prefer application packages not working

别说谁变了你拦得住时间么 提交于 2019-12-02 05:35:00
问题 I am using Weblogic 10.3.6 portal server. Weblogic 10.3.6 always uses common-fileupload jar that comes with weblogic. But I want the server to use the one I have inside my war. Use case is I have war1 it uses apache jars which are inside war2. I added below lines in weblogic.xml of both wars but it is not working and still loading weblogic specific jars. <wls:container-descriptor> <wls:prefer-application-packages> <wls:package-name>com.sample.*</wls:package-name> </wls:prefer-application

NoClassDefFoundError in spring

北慕城南 提交于 2019-12-02 04:55:49
问题 I wrote a Spring application which runs on Weblogic 10.3. In this application I have some JMS Queue consumers. Sometimes I got an error when the application is closing or opening (I saw this error in both situation) saying: java.lang.NoClassDefFoundError: org/springframework/jms/connection/SmartConnectionFactory at org.springframework.jms.connection.ConnectionFactoryUtils.releaseConnection(ConnectionFactoryUtils.java:72) at org.springframework.jms.listener.AbstractJmsListeningContainer

How to correctly deploy a EAR file on Oracle Weblogic administrator console

China☆狼群 提交于 2019-12-02 03:03:01
问题 I have an EAR file that I have built from my existing maven web application . I want to deploy the same on the Oracle Weblogic Server Administration Console . To go ahead with that, I logged in to the weblogic conole on http://localhost:7001/console and went to the deployments tab . Previously, I had placed the EAR file in my Oracle_Middleware\domain\mydomain\base\applications folder. In the deployments section, on the console, I get to chose myprojectname.ear and when I select that I get an