weblogic

Log file not produced until WebLogic is restarted

巧了我就是萌 提交于 2020-01-03 13:08:04
问题 I'm working on the development of an application that is deployed on WebLogic 10.3. It is packaged as an EAR and includes one module. The application works fine by itself but I am faced with issue related to logging. I am using Log4j. The library is included in the EAR file and log4j.xml is placed under JAR module. So the config location is the following: A.ear/B.jar/log4j.xml Log4j config is following: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

ssl_error_weak_server_cert_key issue in firefox [closed]

坚强是说给别人听的谎言 提交于 2020-01-03 10:56:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am facing the following problem when i access my local weblogic server over SSL. My Firefox version is 39.0 An error occurred during a connection to localhost:7002. The server certificate included a public key that was too weak. (Error code: ssl_error_weak_server_cert_key) . I red some thing related to it. It

Service Reference (VS2013) more than one fault is declared with element name in namespace

北战南征 提交于 2020-01-03 09:05:18
问题 I'm attempting to consume a web service created by Oracle Web Logic in Visual Studio 2013. I've added the service reference OK but when I call the service constructor I get the error: In operation (operationName), more than one fault is declared with element name (elementName) in namespace (namespace URL) The snippets for this operation from the WSDL is shown in the image below: This exception is thrown each time I attempt to use the service, and I can't proceed any further. Is this an issue

How to create security role in weblogic

家住魔仙堡 提交于 2020-01-03 03:36:09
问题 I followed this totorial to create security role in weblogic: http://blog.whitehorses.nl/2010/01/29/weblogic-web-application-container-security-part-1/ I create in weblogic server group RobMon and user monitor with pass. Then I create this xml: my web.xml: <security-constraint> <web-resource-collection> <web-resource-name>my-application</web-resource-name> <url-pattern>/admin</url-pattern> </web-resource-collection> <auth-constraint> <role-name>RobMon</role-name> </auth-constraint> </security

InvalidClassException error while deserializing session data

偶尔善良 提交于 2020-01-03 03:14:08
问题 Here is the calling code: Object attribute = session.getAttribute(name, scope); and this throws the following eror: Could not deserialize session data. java.io.InvalidClassException: org.apache.commons.lang.time.FastDateFormat; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = -7186497712641044641 The environment is Weblogic. The Web application is a spring portlet. I'm trying to understand how to fix this issue. 回答1: Had to add the commons-lang

Is there a way to recover the common name of a client certificate from java code in a 2 way ssl connection?

心不动则不痛 提交于 2020-01-03 01:28:25
问题 We have a weblogic server configured to require a client certificate on stablishing a ssl connection with client for a web service solution. The ssl handshake works perfectly as we have already configured all that is required. Now, after the connection we do receive a soap request where the client id is one of the fields of this request soap. What we need to do is to check this id against the common name of the client certificate used to connect within our server in order to garantee the

javax.xml.ws.WebServiceException: Failed to access the WSDL. Response: '401: Unauthorized'

醉酒当歌 提交于 2020-01-02 10:05:51
问题 I am trying to access a web service for a project i'm working on. I'm using JAX-WS and the app is deployed on weblogic. When i'm trying to access the WS, i get the following exception: javax.portlet.PortletException: javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://xxx.xxxx.ro:40000/idm/ws/cup?wsdl. It failed with: Response: '401: Unauthorized' for url: 'http://xxx.xxxx.ro:40000/idm/ws/cup?wsdl'. at com.bea.portlet.container.PortletStub.processAction(PortletStub.java:346

Why java uses default location keystore/truststore of JAVA_HOME/lib/security/cacerts though I have supplied -Djavax.net.ssl.trustStore properties

雨燕双飞 提交于 2020-01-02 07:25:47
问题 In my java application I am running with supplied -Djavax.net.ssl.trustStore System properties as below. -Djavax.net.ssl.trustStore=/myapp/app.jks -Djavax.net.ssl.trustStorePassword=XXXXX -Djavax.net.ssl.trustStoreType=jks -Djavax.net.debug=ssl This is my Complete command line : $JAVA_HOME/bin/java -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Xms512m -Xmx1024m -XX:MaxPermSize=192m -Djavax.net.ssl.trustStore=/myapp/app.jks -Djavax.net.ssl.keyStore=/myapp/app.jks -Djavax.net.ssl

Why java uses default location keystore/truststore of JAVA_HOME/lib/security/cacerts though I have supplied -Djavax.net.ssl.trustStore properties

此生再无相见时 提交于 2020-01-02 07:25:11
问题 In my java application I am running with supplied -Djavax.net.ssl.trustStore System properties as below. -Djavax.net.ssl.trustStore=/myapp/app.jks -Djavax.net.ssl.trustStorePassword=XXXXX -Djavax.net.ssl.trustStoreType=jks -Djavax.net.debug=ssl This is my Complete command line : $JAVA_HOME/bin/java -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Xms512m -Xmx1024m -XX:MaxPermSize=192m -Djavax.net.ssl.trustStore=/myapp/app.jks -Djavax.net.ssl.keyStore=/myapp/app.jks -Djavax.net.ssl

How to configure WebLogic Server to existing Eclipse

∥☆過路亽.° 提交于 2020-01-02 02:48:07
问题 I just installed WebLogic Server. But in install process I forgot about setting path to my Eclipse and now I work with new installed Eclipse (from oracle installation wizard). How to configure Oracle WebLogic Server to use my Eclipse? P.S. I will not want to lose my settings and plugins, futhermore - I will not want to install all my plugins and configurate eclipse again. 回答1: Open your old Eclipse installation, click Window->Show View->Other... Type servers , select Servers and click OK.