weblogic11g

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;

getOutputStream in HttpServletResponseWrapper getting called multiple times

这一生的挚爱 提交于 2021-02-08 10:21:05
问题 We are using a servlet filter to inject a string into the response before returning it. We are using an implementation of HttpServletResponseWrapper to do this. The wrapper class is called from the `doFilter() method: chain.doFilter(request, responseWrapper); The code snipppet from our ResponseWrapper class is: @Override public ServletOutputStream getOutputStream() throws IOException { String theString = "someString"; // Get a reference to the superclass's outputstream. ServletOutputStream

how do I pass “-D” argument in Eclipse to my weblogic server

别等时光非礼了梦想. 提交于 2020-01-21 12:10:44
问题 I am developing on Eclipse on ubuntu and deploy on weblogic. I am fething the system property values using System.getProperty("key") ... how do I pass "-Dxxx=yyy" argument in Eclipse to my weblogic server. In Run -> Run configurations I dont have “Arguments” tab for weblogic server 回答1: I found the solution: Menu: Run > Run configurations > environment tab add: JAVA_OPTIONS variable with arguments "-Dxxx=yyy -Daaa=bbb" 回答2: I assume you have added the server to the Servers-View in Eclipse. If

Is it safe to delete the stage directory?

有些话、适合烂在心里 提交于 2020-01-17 05:10:28
问题 One of my servers is running out of capacity, mostly due to WebLogic's stage folder. I've been looking for information and it seems to be a temporal folder, but unlike older versions, on WL11g this folder is out of the tmp folder. So I'm not sure whether or not I can safely remove it. 回答1: Stage directory is where weblogic copies all the applications that it needs to deploy on to the managed servers. Wls does not delete any file from this folder. So in the long run if you have done deployment

WLST query (List deployed applications and hosts together)

北城余情 提交于 2020-01-16 14:40:36
问题 I have two WLST queries. I execute it through WebLogic Scripting Tool console. These queries are: 1) List of deployed applications and status: connect('weblogic','password','t3://localhost:7001') cd('AppDeployments') deplymentsList=cmo.getAppDeployments() for app in deplymentsList: domainConfig() cd ('/AppDeployments/'+app.getName()+'/Targets') mytargets = ls(returnMap='true') domainRuntime() cd('AppRuntimeStateRuntime') cd('AppRuntimeStateRuntime') for targetinst in mytargets: curstate4=cmo

WLST query (List deployed applications and hosts together)

旧街凉风 提交于 2020-01-16 14:40:21
问题 I have two WLST queries. I execute it through WebLogic Scripting Tool console. These queries are: 1) List of deployed applications and status: connect('weblogic','password','t3://localhost:7001') cd('AppDeployments') deplymentsList=cmo.getAppDeployments() for app in deplymentsList: domainConfig() cd ('/AppDeployments/'+app.getName()+'/Targets') mytargets = ls(returnMap='true') domainRuntime() cd('AppRuntimeStateRuntime') cd('AppRuntimeStateRuntime') for targetinst in mytargets: curstate4=cmo

Error while deployment java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence

蹲街弑〆低调 提交于 2020-01-16 13:50:50
问题 I am Hibernate 4 Final and Spring 3. When I am deploying an application to Weblogic 10.3.6 using Maven 3 I am getting the following excpetions although I have included hibernate-entitymanager in pom java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <url>http:/

java.security.InvalidAlgorithmParameterException: parameter object not a ECParameterSpec

帅比萌擦擦* 提交于 2020-01-14 11:49:47
问题 We are using WL 11g and jdk1.7 update 121 on linux machine. We are seeing below error during web service call to another weblogic machine. Any thoughts 2017-02-14 18:23:20,777 [system] [DEBUG] [rule] UserProvisioningServiceUtility.log - tcContactPK:: 0 2017-02-14 18:23:20,777 [system] [DEBUG] [rule] UserProvisioningServiceUtility.log - replacing created by with actual pk 2017-02-14 18:23:20,778 [system] [DEBUG] [rule] UserProvisioningServiceUtility.log - hostname : uatapp.corp.com 2017-02-14

java.security.InvalidAlgorithmParameterException: parameter object not a ECParameterSpec

霸气de小男生 提交于 2020-01-14 11:47:33
问题 We are using WL 11g and jdk1.7 update 121 on linux machine. We are seeing below error during web service call to another weblogic machine. Any thoughts 2017-02-14 18:23:20,777 [system] [DEBUG] [rule] UserProvisioningServiceUtility.log - tcContactPK:: 0 2017-02-14 18:23:20,777 [system] [DEBUG] [rule] UserProvisioningServiceUtility.log - replacing created by with actual pk 2017-02-14 18:23:20,778 [system] [DEBUG] [rule] UserProvisioningServiceUtility.log - hostname : uatapp.corp.com 2017-02-14

running struts project with weblogic server in eclipse

你离开我真会死。 提交于 2020-01-05 06:26:57
问题 I am new to struts and trying to setup a basic struts application with weblogic server in eclipse. while running the project with the basic jsp, web xml,struts xml and action i am getting the below error ####<Feb 20, 2017 12:45:31 AM IST> <Error> <HTTP> <Gaurav-PC> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1487531731340> <BEA-101371> <There was a failure when processing annotations for application D:\Eclipse Workspace