weblogic12c

Jaxb XSD validationevent isn't working after migration to WebLogic12

一世执手 提交于 2021-02-20 04:53:25
问题 I am trying to validate Jaxb objects against an xsd by marshalling them. This was working fine in weblogic11 but after migration to weblogic12c it isn't working. For example, even if the mandatory tags are missing, there is no error and xml is being formed successfully! I noticed event.getLinkedException() is returning null. ValidateXml.java import java.io.File; import java.io.StringWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map;

How to deploy a Spring boot application to weblogic 12.2.1.3.0 without deploy a WAR file?

安稳与你 提交于 2021-02-11 12:42:37
问题 I have no right to access the weblogic.Deployer stuff nor the web admin GUI (if that exists in Linux server version) I can only upload file via FTP to a deployment folder (there are jsp/META-INF/WEB-INF sub folders) where the admin setup to us. And the admin also provide us a script to restart the app server. (OS is linux) I wonder if this is possible to unzip the WAR file and upload files to server and restart the app server to get it started? I actually tried and unable to see any spring

Error “Invalid broker URL” while bridging ActiveMQ Artemis 7.4 with Weblogic 12.x

别等时光非礼了梦想. 提交于 2021-02-10 06:20:08
问题 I am trying to create bridge between Oracle 12.x and Redhat ActiveMQ Artemis 7.4. This is what has been done to set up the bridge: Set artemis-jms-client-all-2.9.0.redhat-00005.jar to WL classpath Set the following properties to WL classpath: java.naming.factory.initial=org.apache.activemq.artemis.jndi.ActiveMQInitialContextFactory connectionFactory.ConnectionFactory=amq.xaqcf.myqueue queue.queues/myqueue=myqueue However, I get the following error: java.lang.Exception: javax.resource

Weblogic: how to replicate server configuration?

岁酱吖の 提交于 2021-02-08 06:17:33
问题 We're setting up a development team, where we want each developer to run its copy of Weblogic in their workstations. Ideally, we would like all these installs to be as similar to the production environment as possible. Things like: port numbers of servers Admin and managed servers JDBC data sources and JNDI names JMS data sources Additional jars in the classpath I would like to set the server once and replicate the configuration to everyone on the team. Is there a way to share this kind of

Weblogic: how to replicate server configuration?

ぐ巨炮叔叔 提交于 2021-02-08 06:17:16
问题 We're setting up a development team, where we want each developer to run its copy of Weblogic in their workstations. Ideally, we would like all these installs to be as similar to the production environment as possible. Things like: port numbers of servers Admin and managed servers JDBC data sources and JNDI names JMS data sources Additional jars in the classpath I would like to set the server once and replicate the configuration to everyone on the team. Is there a way to share this kind of

RuleBaseLoader loadFromInputStream drools 2.5 compilation error on Java8 and weblogic12c

时光毁灭记忆、已成空白 提交于 2021-02-04 08:36:06
问题 We are facing compilation error while compiling Rule Base from DB on server using drools-io-2.5.jar. RuleBaseLoader.loadFromInputStream(stream); stream is XML input stream picked from database. This code is working with JAVA6 and weblogic 11g but we start getting error when we deployed on weblogic 12c on JAVA8. Can someone please give a direction, how to resolve this. Error: <09-09-2020 18:12:47.235> <DEBUG> <ejbframework> <system> <RulesHelper> <subscriber-type-rules Checking rule base:

WebLogic 12c (12.2.1.4) with Hibernate 5.4

北慕城南 提交于 2021-01-28 14:53:19
问题 I have an application deployed on WebLogic 12c (12.2.1.4) using Hibernate 5.2.18. Weblogic 12c doc references JPA 2.1 compatibility and Hibernate 5.3+ requires JPA 2.2. Can I prepend the JPA 2.2 API to my startup classpath and use Hibernate 5.3+ or should I stick with Hibernate 5.2 for the time being? 回答1: Yes, this configuration is possible. To avoid conflicts with WebLogic built-in JPA capabilities you should do the following: According to this In a full Java EE environment, consider

WebLogic 12c (12.2.1.4) with Hibernate 5.4

落爺英雄遲暮 提交于 2021-01-28 14:34:06
问题 I have an application deployed on WebLogic 12c (12.2.1.4) using Hibernate 5.2.18. Weblogic 12c doc references JPA 2.1 compatibility and Hibernate 5.3+ requires JPA 2.2. Can I prepend the JPA 2.2 API to my startup classpath and use Hibernate 5.3+ or should I stick with Hibernate 5.2 for the time being? 回答1: Yes, this configuration is possible. To avoid conflicts with WebLogic built-in JPA capabilities you should do the following: According to this In a full Java EE environment, consider

How to deploy a Spring Boot (non-web) Application on Weblogic 12c

时间秒杀一切 提交于 2021-01-27 03:43:30
问题 I'm trying to deploy a Spring Boot application that does not do any servlets in a Weblogic 12c server. Normally the main application class would implement WebApplicationInitializer and then Weblogic would take it from there. When I don't do this for my application, Weblogic installs the war file just fine, but then nothing happens. Is there some other kind of interface my main application class needs to implement in order for Weblogic to start it up? 回答1: You can't deploy an artifact which

Error while uploading springboot war file to Weblogic 12.2.1.3 server

心不动则不痛 提交于 2020-12-26 08:25:05
问题 I have created a war of springboot project using maven and did some changes to deploy the same on weblogic. While I am uploading the war file to weblogic server its throwing error as shown in screenshot below. I have added configuration details of my project as well. Can you please help me to resolve this. Spring boot main class import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class