weblogic

How to store mail password on server side?

梦想的初衷 提交于 2019-12-24 01:53:55
问题 I need to send e-mails from my application that is deployed on Weblogic 10.0. I try to put mail session properties on server side. Properties like mail.host or mail.debug work OK. But how do I configure password? Now I have it in spring configuration file: <bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl"> <property name="session" ref="mailSession"/> <property name="username" value="myLogin"></property> <property name="password" value="myPassword"></property>

Weblogic application switches back to http after secure login via https

こ雲淡風輕ζ 提交于 2019-12-24 01:39:47
问题 I have successfully configured SSL on Weblogic 9.2 MP3. I am able to login securely into the application using https and continue working on the application using https protocol. This is true in the case when user accesses the application giving following URL: https:/servername:7002/ If the user tries to access the above URL via HTTP i.e. http:/servername:7001/, application automatically redirects to https:/servername:7002/ page. However after user has been successfully authenticated by the

sl4j error in weblogic when deploying grails application war

帅比萌擦擦* 提交于 2019-12-24 00:46:19
问题 I create a WAR for my grails application and when I deploy it in Weblogic 12c server I get the following Exception <Mar 27, 2012 12:38:55 PM PDT> <Warning> <HTTP> <BEA-101162> <User defined listener org.codehaus.groovy.grails.web.context.GrailsC ontextLoaderListener failed: java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/Strin g;ILjava/lang/String;Ljava/lang/Throwable;)V. java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg

sl4j error in weblogic when deploying grails application war

南楼画角 提交于 2019-12-24 00:38:05
问题 I create a WAR for my grails application and when I deploy it in Weblogic 12c server I get the following Exception <Mar 27, 2012 12:38:55 PM PDT> <Warning> <HTTP> <BEA-101162> <User defined listener org.codehaus.groovy.grails.web.context.GrailsC ontextLoaderListener failed: java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/Strin g;ILjava/lang/String;Ljava/lang/Throwable;)V. java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg

Could use more clarification of classloader issues with “doesnt contain ObjectFactory.class or jaxb.index”

风格不统一 提交于 2019-12-24 00:35:35
问题 Just so it's clear, I've implemented and verified a solution for the error we were getting, but I'd just like to understand the innards of what's going on here. I've looked at similar instances of this same problem, and the answers usually don't go much past just providing the solution. I work with an application that uses a jar file with JAXB-annoated classes generated from XJC. The jar file has ObjectFactory classes in each relevant package. The application is deployed in a standard EAR

WebLogic, choosing the JDK

余生长醉 提交于 2019-12-23 21:46:51
问题 Regarding a Java EE application and WebLogic; I've noticed that I could change the Java VM (Sun JDK or JRockit) in different places: During creation of the WebLogic Domain Project classpath During creation of WebLogic Server Runtime Environment Other? Can you explain me what happens if I change one of the different settings? 回答1: The only real difference is that JRockit is specifically tuned to work with Weblogic so you'll see performance improvements. Memory settings will change when picking

JMS client app Error. Failed to connect using URL <t3://localhost:7001>

旧城冷巷雨未停 提交于 2019-12-23 21:04:43
问题 I'm writing client application on C# to connect to my local JMS (Weblogic Server 12c). I try to use sample code from here http://docs.oracle.com/cd/E15523_01/web.1111/e13746/app_examples.htm#JMSDN180 But on line context = ContextFactory.CreateContext(paramMap); I have error: An exception of type 'WebLogic.Messaging.Transport.TransportException' occurred in WebLogic.Messaging.dll but was not handled in user code Additional information: Failed to connect using URL t3://localhost:7001 may be I

Why does weblogic's “not found” behavior change after the first attempt?

自古美人都是妖i 提交于 2019-12-23 20:07:32
问题 I'm using Weblogic 10.3.5. I work on a large legacy enterprise application with Struts (1.x) mapped as the default servlet. Background A bit of legacy convolution to start: each enterprise customer has a "subscriber ID" which their users must provide at login in addition to their username and password. Subscriber IDs are numeric and always at least four digits, usually five. If you go to mysite.com/, you are presented with a three-field login page: subscriber ID, username, and password. Our

How to prefer JARs from Weblogic domain over those from weblogic system

半世苍凉 提交于 2019-12-23 18:43:50
问题 I am using Weblogic Server 12.1.1 and copied some JARs to my domain's lib folder. One of the JARs is a org.apache.commons.io jar. Now I have the problem that Weblogic itself comes with a different version of commons-io in its system classpath and so I get NoSuchMethodErrors . Is there any way to configure Weblogic to prefer the libs from domain over those from Weblogic system? The Filtering Classloader works only on those JARs provided with the application ( WEB-INF/lib ). 回答1: If you need to

static block is called twice, maybe multiple class loaders?

痞子三分冷 提交于 2019-12-23 16:15:59
问题 I have an MDB EJB, with static block inside it. I used the static block to initialize some components only once at the first time the application runs (i.e at deployment). The MDB EJB is deployed on a separate sever (My_Server) other than the Admin_Server. The problem is that the static block is called twice! The first time: just after deploying the MDB EJB (tageted to the My_Server). The second time: after the JMS queue (that the MDB is associated with) receives a message. Also, I printed