weblogic

How to configure WebLogic Server to existing Eclipse

梦想与她 提交于 2019-12-05 04:36:46
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. Open your old Eclipse installation, click Window->Show View->Other... Type servers , select Servers and click OK. Right-click the Servers view, click New->Server Now, it depends on which version of Eclipse you are using, but

How can my application access the keystore configured in Weblogic admin console?

房东的猫 提交于 2019-12-05 02:15:20
问题 I would like to access the Identity keystores (JKS) configured in Weblogic's Custom keystore configuration in my web application. How can I get weblogic to expose this without relying on the following environment properties: -Djavax.net.ssl.Keystore, -Djavax.net.ssl.KeystorePassword. 回答1: You can use following code as a starting point. A couple of notes: User executing the code needs to belong to a group called OracleSystemGroup Keystore is loaded from file system which is not recommended by

oracle Array filled with null data in java

六月ゝ 毕业季﹏ 提交于 2019-12-05 02:07:46
问题 When I try to throw an Array of strings to oracle stored procedure as: String arrStr[] ={"val1","val2","val3"}; ArrayDescriptor descriptor = ArrayDescriptor.createDescriptor("STR_ARRAY", connection ); oracle.sql.ARRAY oracleArray = new oracle.sql.ARRAY(descriptor, connection, arrStr); oracleArray holds null data , oracleArray.datumArray = {???,???,???} 回答1: In my case (see my comment above), it was caused by encoding problem, however - without any exception or debug information. Including

How to specify JAXBContext implementation in weblogic 12.1.3

梦想与她 提交于 2019-12-05 00:26:50
问题 I have created a MDB in java using JAXB to parse the xml content. This MDB is working from a long time now (about 3 years) on a 10.3.4 weblogic server. Now I've to migrate it on a weblogic 12.1.3 server, and for a reason I'm not knowing yet, the implemention choose by weblogic isn't the same as I want. But I can't figure out how to set it. Right now my code init code is this : private JAXBContext getJAXBContext() throws JAXBException { if (v1JaxbContext == null) { v1JaxbContext = JAXBContext

What is weblogic.socket.Muxer?

主宰稳场 提交于 2019-12-05 00:08:59
Does any of you understand what weblogic.socket.Muxer is used for in WebLogic 8.1? Often in thread dumps I see stack traces similar to this: "ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'" id=20 idx=0x68 tid=26709 prio=5 alive, in native, blocked, daemon -- Blocked trying to get lock: java/lang/String@0x2b673d373c50[fat lock] at jrockit/vm/Threads.waitForUnblockSignal()V(Native Method) at jrockit/vm/Locks.fatLockBlockOrSpin(Locks.java:1675)[optimized] at jrockit/vm/Locks.lockFat(Locks.java:1776)[optimized] at jrockit/vm/Locks.monitorEnterSecondStageHard(Locks.java:1312)[optimized] at

Weblogic increase memory

萝らか妹 提交于 2019-12-04 22:58:35
问题 How do I increase the memory used by my Weblogic (Java). While starting the server from eclipse it shows a message that JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=256m . I couldn't understand from where is it taking that value from. After sometime the Weblogic server fails because of low permgen space. I added startup arguments from console but that doesn't have any effect. Can you help me from where is it taking the memory values from? 回答1: When you configure a "Server" in

Grails: what are the main issues (and his solutions) when deploying in weblogic?

戏子无情 提交于 2019-12-04 20:58:02
I'm trying to deploy my grails application (*.war) in a weblogic server. But now I'm getting error: "/index.gsp" not found. While I run to solve this I'm think what more problems can happen when someone change deploy from Apache Tomcat to Oracle Weblogic. Anybody have a list of commons problems/solutions to share? Thanks A list of common problems with different application servers and how to deal with these problems can already be found in the FAQ on the Grails community page. http://www.grails.org/FAQ#Application Servers http://www.grails.org/Deployment#Weblogic 11g 来源: https://stackoverflow

How to remote deploy an application in weblogic?

我与影子孤独终老i 提交于 2019-12-04 20:31:57
问题 I have two computers , I don't want to install weblogic and oracle in my development computer, they consume too much memory, the problem is how can I deploy my application on development computer to another free computer which has oracle and weblogic installed ? I am using weblogic 10.3. 回答1: I don't want to install weblogic and oracle in my development computer , they consume too much memory Even when not running? how can I deploy my application from my development machine to another machine

Weblogic Message Driven Bean reading from a secured queue @RunAs does not work

杀马特。学长 韩版系。学妹 提交于 2019-12-04 20:28:22
I have a MDB very simple which works fine as long as the queue from where it reads messages is not secured After I secure the Queue with a username it can;t read messages anymore @MessageDriven(mappedName = "DistributedQueueTest") public class MdbReceiver implements MessageListener { @Resource private MessageDrivenContext mdc; @Override public void onMessage(Message inMessage) { TextMessage msg = null; try { msg = (TextMessage) inMessage; System.out.println("Test MdbReceiver Message received : " + msg.getText()); } catch (JMSException e) { e.printStackTrace(); mdc.setRollbackOnly(); } } } I

how is it possible, 3 threads are in blocked state waiting same monitor, and there is no thread owned that monitor

£可爱£侵袭症+ 提交于 2019-12-04 20:25:48
In our production environment, weblogic server hangs for half an hour, It looks like it has dead-locked threads. But after investigating thread dumps, 3 threads are blocked for the same lock, but no other threads own this lock.. Here is the stacktrace .. Do you have any reasonable explanation for this stiuation?. Here is the blocked threads; "pool-1013-thread-5" prio=7 tid=600000000842be00 nid=17280 lwp_id=518677 waiting for monitor entry [9fffffffe6aff000..9fffffffe6b00bd0] java.lang.Thread.State: BLOCKED (on object monitor) at org.apache.log4j.Category.callAppenders(Category.java:201) -