Questions tagged [weblogic]

WebLogic Server is a Java EE application server from Oracle. WebLogic Server is the centerpiece of Oracle's Fusion Middleware platform.

WebLogic is an Oracle owned brand that builds a complete product suite consisting of a couple of Java EE related products, such as:

  1. Java EE application server, WebLogic Application Server
  2. WebLogic JRockit JVM
  3. WebLogic RealTime Edition
  4. Virtual Assembly Builder

WebLogic came to Oracle through the acquisition of BEA Systems Inc. in 2008. See the Wikipedia entry for a complete history.

References

6049 questions
23
votes
2 answers

Getting a list of all classloaders in a JVM

Is it possible to get a list of all class loaders in a JVM or at least all class loaders associated with web apps in a Java EE Server (WebLogic in my case).
maneesh
  • 1,092
  • 1
  • 8
  • 11
22
votes
2 answers

WebLogic stuck thread protection

By default WebLogic kills stuck threads after 15 min (600 s), this is controlled by StuckThreadMaxTime parameter. However, I cannot find more details on how exactly "stuckness" is defined. Specifically: What is the point at which 15 min countdown…
user319799
21
votes
2 answers

Weblogic datasource disappears from JNDI tree

We are using weblogic version 12C. Steps to reproduce the issue: - Create the datasource. Deploy the application to weblogic. Application works fine. Update the deployed ear with the new one. Application is not able to connect the…
mittalpraveen
  • 481
  • 3
  • 13
20
votes
5 answers

java.lang.InternalError: name is too long to represent

I get this error: java.lang.InternalError: name is too long to represent at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at…
Paolo
  • 2,461
  • 5
  • 31
  • 45
20
votes
3 answers

JMS performance

I'm having a bit of trouble with understanding JMS from a performance perspective. We have this very straightforward code in our application: QueueConnection connection = null; QueueSession session = null; QueueSender sender = null; TextMessage msg…
Lukas Eder
  • 211,314
  • 129
  • 689
  • 1,509
20
votes
5 answers

Why use Unicast versus Multicast in Weblogic Clusters

It's unclear from the documentation why you should use Unicast rather than Multicast in a WebLogic cluster. Anyone have experience using either and the benefits of moving to Unicast?
BestPractices
  • 12,738
  • 29
  • 96
  • 140
20
votes
4 answers

Can I do an atomic MERGE in Oracle?

I have a couple instances of a J2EE app running in a single WebLogic cluster. At some point, these apps do a MERGE to insert or update a record into the back-end Oracle database. The MERGE checks to see if a row with a specified primary key is there…
Russell
  • 3,975
  • 7
  • 37
  • 47
19
votes
1 answer

Understanding MQ Series bindings files

Our Java app writes to MQ Series queues via a Weblogic JMS Message Bridge. The actual MQ Series connection/queue details are stored in the MQ Series .bindings file on the app server. I've never really got my head around the bindings file and what…
Marcus Leon
  • 55,199
  • 118
  • 297
  • 429
19
votes
1 answer

BEA-141297 - Could not get the server file lock

Following error is encountered when trying to start Oracle Weblogic Server: How…
Catalin Ciolocoiu
  • 542
  • 1
  • 6
  • 15
19
votes
2 answers

Class bytes found but defineClass()failed for error when deploying EAR

I am trying to deploy and old code base with EJB 1.1 stuff to Weblogic 10.3.6 and keep getting this strange error Class bytes found but defineClass()failed for. The classes are there and being found what is causing this?
user177800
18
votes
2 answers

Hot deploy with WebLogic server?

I have an enterprise application running on a WebLogic server. When I modify any Java class, I have to build the .ear file and deploy to the server every time. Even for a small modification, I need to build the whole application and deploy to the…
Ramesh Kotha
  • 8,266
  • 17
  • 66
  • 90
18
votes
4 answers

Weblogic is slow to start (11mins) under VM (VirtualBox and VMware)

(SOLVED! BY FAKING SYSTEM RANDOM GENERATOR, SEE BELOW) I'm setting up a VM image for my dev/build team. Inside that VM a Weblogic domain should be running. I use Ububtu server distro, WLS 9.2MP3 + ALSB. Everything works OK, quite fast, but at the…
Vladimir Dyuzhev
  • 18,130
  • 10
  • 48
  • 62
17
votes
7 answers

ClassCastException while parsing XML with WebLogic

I'm getting the following error message: java.lang.ClassCastException: weblogic.xml.jaxp.RegistryDocumentBuilderFactory cannot be cast to javax.xml.parsers.DocumentBuilderFactory I've gone through some forums researching this. They said to remove…
rose
  • 171
  • 1
  • 2
  • 5
17
votes
1 answer

DeferredResult causes an Exception in Weblogic

I have a Java 7 Spring Boot (1.5.4) RESTfull service with an endpoint that returns a DeferredResult: @RequestMapping(value = "/download/{templateName:.+}") public DeferredResult download(@PathVariable final String templateName, …
vkirilichev
  • 190
  • 8
17
votes
1 answer

Tomcat 8 - LDAP: NameNotFoundException error code 32, remaining name empty string

Trying to migrate an application from WebLogic 12.2.1 to Tomcat 8.5.4, what under Weblogic was an entry as Foreign JNDI Providers for an LDAP connection has been migrated to a new Resource under Tomcat. Following this advice on Stack Overflow, a…
A_Di-Matteo
  • 26,902
  • 7
  • 94
  • 128