weblogic

How to leverage EL 2.2 functionality on Weblogic 10.3.x?

Deadly 提交于 2019-12-06 08:43:57
I have Weblogic 10.3.5 installed. I deployed a WAR with JSF 2.0 and JSTL 1.2 on the server. But I need EL 2.2 functionality as well. What JARs do I need? It'd be great if someone can point me to a step-by-step guide from scratch as I've been trying to set this up for hours with no luck. BalusC Easiest is to drop jboss-el.jar , which is an EL 2.1 compatible implementation offering the same features as EL 2.2, in /WEB-INF/lib and tell the JSF implementation to use that EL implementation instead. How to do that depends on the JSF implementation being used. In case of Mojarra, you need to add the

Auto commit transactions if not explicitly committed or rolledback

[亡魂溺海] 提交于 2019-12-06 08:36:03
we use Weblogic server and always set autoCommit to 'false' when getting Connection to Oracle 10g. I want to know if there is a setting in Weblogic wherein it will automatically Commit transactions if a Commit or Rollback is not explicitly called from within application code. I heard similar setting exists in Websphere. It looks like you are not using either Container-managed or Bean-managed transactions. Or, for that matter, you are merely retrieving a connection from a DataSource and then disabling autocommit , without the initial establishment a transaction context; this implies that you

weblogic 12.c Deployment could not be created. Deployment creator is null

只谈情不闲聊 提交于 2019-12-06 07:15:22
weblogic.management.DeploymentException: Deployment could not be created. Deployment creator is null. Message icon - Warning Errors were encountered while performing this operation. Any information on what a deployment creator is and why is it not recognizing the deployment of a simple war file would be welcomed. This bug manifests itself if the application being deployed fails initial activation ("activation" of the configuration changes in the admin console). For example, if you've forgot to configure required datasources etc. and application didn't start with some error because of it. If

Remote upload using WLST

▼魔方 西西 提交于 2019-12-06 06:45:58
问题 I'm trying to perform remote uploading and deploying via WLST . I succeed to deploy applications already present in the path of the WebLogic server. But now, I would like to deploy one remotely available. Is there any possibility to upload WAR/EAR on the WebLogic server via WLST before deploying it? I'm running weblogic 12C. I tried with: java -cp wlserver/server/lib/weblogic.jar weblogic.Deployer -adminurl t3://WeblogicServer:7001 -user weblogic -password weblogic -deploy /tmp/HelloWorld.war

Difference between WebLogic and WebSphere? [closed]

僤鯓⒐⒋嵵緔 提交于 2019-12-06 06:35:20
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 years ago . I am not able to find actual differences between these two Java EE servers. From my past experience, I found out following: WL is evolving more faster than WAS. WL is more user friendly than WAS. To simply deploy a application in WAS, we need to go in deep and its difficult

Weblogic的三种部署方式

删除回忆录丶 提交于 2019-12-06 06:26:38
Weblogic的三种部署方式 在weblogic中部署项目通常有三种方式:第一,在控制台中安装部署;第二,将部署包放在domain域中autodeploy目录下部署;第三,使用域中配置文件config.xml 进行项目的部署。 控制台部署 1 启动weblogic服务,登录到weblogic控制台页面,输入用户名和密码,登录到控制台里面 2 点击左侧的部署 3 在右侧点击安装按钮,准备进行项目安装 4 看到路径输入框,可以在下面选择要部署的项目的位置 5 也可以直接输入要部署的包的位置,敲回车 6 点击下一步即可 7 继续下一步 8 点击完成按钮 9 保存前面各步的设置 10 保存完成后,会看到激活更改的提示,且不需要重启。 11 这时便可以进行 测试 了,输入项目名称,看到了项目的欢迎页面,即项目部署成功。 如果前面的步骤操作完成了,但依然无法访问项目的话,可以参考下面的补充步骤 补充步骤 补1 点击部署,勾选上项目,点击启动 补2 待启动后,项目状态为活动,健康状况为OK时,继续测试。 autodeploy自动部署 自动部署时不需要登录控制台,在domain域的主目录下面有个autodeploy目录,直接将项目包拷贝到autodeploy目录下面就可以了。 autodeploy目录里面有个readme.txt 文档,打开看一下,这里摘第一段出来 [html] view

weblogic(一).简介与安装

≡放荡痞女 提交于 2019-12-06 06:26:35
weblogic(一).简介与安装 WebLogic是美国 Oracle 公司出品的一个application server,确切的说是一个基于JAVAEE架构的 中间件 ,WebLogic是用于开发、集成、部署和管理大型分布式Web应用、网络应用和 数据库应用 的Java 应用服务器 。将Java的动态功能和Java Enterprise标准的安全性引入大型网络应用的开发、集成、部署和管理之中。 往白了说,weblogic就是和我们常用的tomcat差不多的部署jeva web程序的服务器。那么weblogic又和tomcat有什么区别呢?我们在什么时候该用tomcat,什么时候该用weblogic? 不同点:关于EJB可参阅 https://www.cnblogs.com/strugglion/p/6027318.html (1).tomcat只能算是web container,是官方指定的jsp&servlet容器,只实现了jsp/servlet的相关规范,不支持EJB. (2).weblogic是将j2ee的应用服务器(web container+EJB container),包括ejb、jsp、servlet、jms等,属于全能型的。 (3). WebLogic Server凭借其出色的群集技术,拥有处理关键Web应用系统问题所需的性能、可扩展性和高可用性

Spring Batch DataSourceTransactionManager fails on Oracle

六眼飞鱼酱① 提交于 2019-12-06 05:40:28
I'm using WebLogic 10.3.3 with Oracle 11g and face a weird problem with Spring Batch as soon as I'm switching from Spring ResourcelessTransactionManager (which is mainly for testing) to the productive DataSourceTransactionManager . First I used WebLogics default driver oracle.jdbc.xa.client.OracleXADataSource but this one fails because Spring can't set the isolation level - this is also documented here . I'm fine with that since I don't need global transactions anyway so I switched to oracle.jdbc.driver.OracleDriver . Now I'm getting the error message ORA-01453: SET TRANSACTION must be first

Session Timeout in web.xml not working for weblogic server

那年仲夏 提交于 2019-12-06 05:31:19
问题 I have set the timeout to 30 mins in web.xml and have successfully deployed the webapp in WebLogic. Now the app is up and running but when the max inactive interval reaches, the session doesn't timeout. This same app is timing out in tomcat properly. Can anyone please suggest some idea? Also I want to know whether there is an app specific weblogic.xml? If yes, then where do I find it? 回答1: A couple of options you have: You can edit the File web.xml: Edit the session-timeout of the session

ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver when trying to use JPA with Derby

夙愿已清 提交于 2019-12-06 03:55:37
A related query I asked: How to configure & package a simple Java app to use JPA I have a simple Derby database which I can connect to via EJBs hosted in WebLogic. Now I would like to connect to it from a command line Java app using JPA. So far this Java code + persistence.xml file is throwing the error below. What am I doing wrong? My directory layout: C:. │ Registrar.class │ Registrar.java │ TxnClient.class │ TxnClient.java │ └───META-INF persistence.xml Standalone client: import javax.persistence.*; public class TxnClient { public static void main(String[] args) throws Exception {