weblogic

Deploy war problem

落花浮王杯 提交于 2019-12-11 00:35:10
问题 What does the following error error mean? I'm use eclipse and export web project as war file then I deploy to weblogic there is error message that I don't understand. Message icon - Error Unable to access the selected application. Message icon - Error Exception in AppMerge flows' progression Message icon - Error Exception in AppMerge flows' progression Message icon - Error VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.4a: Expected elements 'description@http://java.sun.com/xml/ns

Can't upload files in spring boot

自作多情 提交于 2019-12-10 23:33:03
问题 I've been struggling with this for the past 3 days now, I keep getting the following exception when I try upload a file in my spring boot project. org.springframework.web.multipart.support.MissingServletRequestPartException: Required request part 'file' is not present I'm not sure if it makes a differance but I am deploying my application as a war onto weblogic, here is my controller @PostMapping public AttachmentDto createAttachment(@RequestParam(value = "file") MultipartFile file) { logger

JMX01-用途

帅比萌擦擦* 提交于 2019-12-10 22:12:08
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> JMX(Java Management Extensions)是一个 为应用程序植入管理功能的框架 。JMX是一套标准的代理和服务,用户可以在任何Java应用程序中使用这些代理和服务实现对应用程序的管理。这是官方文档上的定义。中间件软件WebLogic的管理页面就是基于JMX开发的,而JBoss则整个系统都基于JMX构架。 我看过很多次也无法很好的理解。我个人的理解是JMX让程序有被管理的功能,例如你开发一个WEB网站,它是在24小时不间断运行,那么你肯定会对网站进行监控,如每天的UV、PV是多少;又或者在业务高峰的期间,你想对接口进行限流,就必须去修改接口并发的配置值。 关于应用程序配置变更的管理: 初级程序员:一般是写死在程序中,到要改变的时候就去修改代码,然后重新编译发布。 熟手程序员:使用配置文件,但配置文件变更需要重启系统。 好手程序员:先把配置文件读入内存,应用程序获取配置项时,先看配置文件有没有变更,如果没有变更直接从内存中读取配置;如果配置文件有变更,则重新加载配置文件到内存后,再从内存中读取。 高手程序员,懂得物为我用,在应用程序中集成JMX框架,把配置文件的属性集中在一个类中,然后写一个MBean,来管理应用程序的相关配置项;同时JMX还为我们提供了一个工具页,方便我们对参数值进行管理和编辑

Error : Can' t connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable

烈酒焚心 提交于 2019-12-10 20:11:00
问题 I've got 2 applications that are working well except on production environment for 1 feature. This feature is an excel generation from a simple table. On all my others environment the generation of the excel is OK, but when I am trying to use it on production environment. I've got this error in log and a naugthy error 500 on my app ! 2014-04-29 09:27:05,690 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR com.btoc.reporting .web.misc.MiscServletFilter -

@Singleton bean failed to initialize because of not expected transaction status

前提是你 提交于 2019-12-10 19:31:00
问题 I had a scenario in which I needed one bean (ReportManager) to be loaded at application startup, so it can schedule reports for execution (polled from database by DataStore bean). Googling around I found @Singleton, @Startup and @DependsOn annotations, which I've used like this: @Singleton @Startup @DependsOn("DataStore") public class ReportManager { @EJB DataStore dataStore; @PostConstruct public void scheduleReports() { logger.log("INITIALIZED"); List<Report> reports = dataStore.getReports(

java.lang.ClassCastException: oracle.j2ee.ws.saaj.soap.TextImpl cannot be cast to javax.xml.soap.SOAPElement

别等时光非礼了梦想. 提交于 2019-12-10 18:52:35
问题 I get this java.lang.ClassCastException by trying to communicate with my Webservice which has SOAPHeader Handler implimentation. The error occurs by String data= ((Text) ((SOAPElement) is.next()).getChildElements().next()).getValue(); in the incomming method this class " oracle.j2ee.ws.saaj.soap.TextImpl " I can not explain from where it comes i didn't bind it anywhere NOTE 1. I'am using Weblogic Server 12c 2. I search after TextImpl class in the hole server but no result May be somebody

Symfony / PHP - Best way to store single value

♀尐吖头ヾ 提交于 2019-12-10 18:32:15
问题 Assuming that I have an application running on Symfony 3.2 / Doctrine. Question : What is the best way to store a single value that gonna change over some actions. First thoughts : Im thinking that creating an Entity that is going to have a single property which will create a table with a single column that is going to have a single value (changing over some actions), is not an optimized solution. I have also have thought about storing that value on a text file, but im saying that there might

HTTP caching headers settings weblogic

泄露秘密 提交于 2019-12-10 17:52:53
问题 Does anyone know how to modify weblogic settings to set the HTTP cache header to a far future date? For example in my current setup weblogic sets the http cache headers to expire in 5 hours (as a response of HTTP/1.1 304 Not Modified). This is the cache header value on a .gif file ... Date: Tue, 16 Mar 2010 20:39:13 GMT. I have re-checked and it's always 5 hours. There must be some for of settings that I can tweak to change it. Thanks for your time! 回答1: Static content is served by a weblogic

How to Enable Java Persistence 2.0 for Weblogic 10.3.6

左心房为你撑大大i 提交于 2019-12-10 17:48:44
问题 I am using eclipse with weblogic server. In order to add the project to the weblogic server, it needs to support Java Persistance 2.0, however when trying to install it, I keep getting this message Error Enabling Java Persistence 2.0 in Weblogic Server installation I tried to follow the Oracle documents to solve this but they make no sense since I'm pretty novice with Weblogic. http://docs.oracle.com/cd/E17904_01/web.1111/e13720/using_toplink.htm#CIHDJHHI Please help! I understand the second

How to update application using wlst

不羁的心 提交于 2019-12-10 17:48:17
问题 From the console If 1 were to update the application what 1 does is.. 1. Click on deployments. 2. Selects the application name and clicks update option. 3. Here he may change: i. Source Path ii. Deployment Plan Now in my application No Plan path is specified so to update the application I only change the source path. The application gets successfully updated. I want to update the application using wlst command by giving the new source path. Is it possible? like updateApplication('backoffice',