weblogic

facing perm gen space error in weblogic

老子叫甜甜 提交于 2019-11-29 17:36:11
问题 I am new to weblogic. After starting the server when i see administrator console and get log-in it throws below exception. Root cause of ServletException. java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:791) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:335) at weblogic.utils

sl4j/logback under weblogic

旧时模样 提交于 2019-11-29 17:25:43
问题 I'm trying to configure sl4j/logback under Weblogic12. I deploy ear file, which has war file, which has WEB-INF\classes\logback.xml Here is the config: <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> </encoder> </appender> <root level="debug"> <appender-ref ref="STDOUT" /> </root> </configuration> My code to log : private static final Logger logger = LoggerFactory.getLogger

Two way ssl with Tomcat as client to weblogic

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-29 17:06:41
I have setup two-way SSL for Weblogic 9.2 for one of my project. The setup was not difficult at all when a browser is a client. I need to setup tomcat as a client now instead using a browser client. In this scenario, Tomcat will host a JSP page or a servlet and call a web service hosted on Weblogic. I have Googled but have not found much documentation for this setup. Any idea - will setting the HTTPS connector work in this case? Thank you Finally I was able to configure it the following way. SSL set up for Weblogic server Generate server private key and certificate java utils.CertGen

windo8 weblogic

限于喜欢 提交于 2019-11-29 16:45:19
需要的软件包 现在安装jdk 则先进入你电脑自带jdk \bin目录下 然后java -jar 执行你的jar包就可以了 欢迎界面直接点击下一步,跳到更新界面,直接选择跳过 然后选择安装目录(注意:目录不要有中文) 安装类型选择默认,无脑选择下一步,到最后安装完成界面(注意: 保持安装完成的“自动完成配置向导”的勾,否则无法创建域 ) 创建域的步骤: 选择创建新的域 然后设置用户名和密码(要记住,后面会用到) 域模式和JDK,选择默认的即可 高级配置,直接点下一步 配置概要如下 点击创建,等到进度跑完,点击下一步,然后点击完成 C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\bin 在域目录下的bin目录,找到startWebLogic.cmd,双击启动WebLogic(跟tomcat的startup.sh类似)。 启动之后可以访问控制台,地址:http://localhost:7001/console 访问地址之后,输入用户名和密码登陆(就是刚才设置的用户名和密码) 如何将项目部署到weblogic下: 在上图中登陆到首页,点击部署,在点击安装,选择项目的路径即可 配置数据源: 点击服务->数据源->创建一般数据源,按自己需求填写信息即可 https://blog.csdn.net

中间件简介

纵然是瞬间 提交于 2019-11-29 16:42:53
公司里边的中间件使用java语言的比较多,java语言有一个特点,一次编译到处运行;java语言的中间件有很多,比如Tomcat、Jboss、weblogic(收费)、webspere(性能最好,收费)。一般公司里边使用Tomcat的比较多,但是如果是金融公司,一般都是weblogic 目前来说IBM的WebSphere,Oracle的Weblogic占据了市场上Java语言Web站点的部分份额,该两种软件由于无与伦比的性能及可靠性等优势被广泛应用于大型互联网公司的Web场景中,但是其高昂的价格也使得中小型互联网公司对此望而却步。 Tomcat自5.x版本以来,其性能上已经得到很大幅度的提升,加上其开放性的框架和二次开发等特性,已经完全可以用在访问量不是很大的生产环境下,目前大多数用于JSP技术开发的电子商务网站基本上都应用了Tomcat。 来源: https://www.cnblogs.com/pubufan/p/11523295.html

Weblogic 10.1 配置JNDI 数据源

。_饼干妹妹 提交于 2019-11-29 16:24:23
一 . JNDI 连接的使用原理: 1.1 在设计器中先用 JDBC 连接到数据库,建立数据库连接,然后用 SQL 或者其他方法创建数据集,使用数据集制作好 报表 ,然后把建立的数据库连接从 JDBC 连接改成 JNDI 连接,保存模板,并部署至 weblogic 服务器。 1.2 服务器端配置数据源。 1.3 修改应用 WEB-INF 下的 web.xml 文件 这样就可以通过 WEB 浏览器浏览到使用 JNDI 数据源的 报表 了。 二 . 我们以 oracle 10g 数据源制作的模板 jndi.cpt 为例来说明 2.1 设计器制作报表: l 在设计器中用 JDBC 连接到 oracle 10g 数据库,使用数据库中的数据表 student 制作如下模板 jndi.cpt : http://www.finereport.com/forumimages/w-formwork.jpg l 回到定义数据连接面板,将先前定义的数据库连接变为 JNDI 连接,设置 JNDI 的名字为 oracle http://www.finereport.com/forumimages/w-link1.jpg http://www.finereport.com/forumimages/w-link2.jpg l 保存模板至 weblogic 10 的应用目录 WebReport/WEB-INF

Deploying two Spring batch applications in same cluster in a single Weblogic Domain?

笑着哭i 提交于 2019-11-29 16:21:19
BackGround - I am trying to deploy two spring batch applications as .war in same cluster in a single Weblogic Domain & each of them have spring batch admin console configured in servlet.xml like below - <?xml version="1.0" encoding="UTF-8" ?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> <!-- Spring Batch Admin --> <import resource="classpath*:/org/springframework/batch/admin/web/resources/servlet

How can I use Weblogic (12 C) without the application context in the URL?

僤鯓⒐⒋嵵緔 提交于 2019-11-29 14:32:38
I am working on a web project that requires Weblogic server and the only way I can view the site after deploying (on my Macbook Pro) is by specifying the application name as a prefix to the entire site. E.g. http://localhost:7001/myapp-weblogic/ This breaks a ton of styling and JavaScript code that access resources with root URLs (e.g. /images/example.png) While I can programmatically add "/my-app" to content in a .jsp, I can't do that in my .css files. I tried setting the "Default WebApp Context Root:" in Weblogic > console > Environment > Servers > myserver > Protocols > HTTP - But that did

Weblogic Guava issue when deploying application

懵懂的女人 提交于 2019-11-29 12:10:55
I'm trying to deploy an application to a weblogic server, and I get the following error. I have guava.jar in my classpath, I tried with all the latest versions I tried from 10 and up. Can somebody help me out with this? <Error> <Console> <BEA-240003> <Administration Console encountered the following error: weblogic.application.ModuleException: [HTTP:101216]Servlet: "action" failed to preload on startup in Web application: "...". java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor()Lcom/google/common/util/concurrent/ListeningExecutorService; at com