weblogic

Failure of server APACHE bridge with Weblogic Server

Hi all, I am getting the following error when I am trying to upload the file using IE7: Failure of server APACHE bridge: No Backend Sever available for connections": timed out after 10 seconds or idempotent is set to off I looked at the Weblogic 10 threads info on console and everything seems ok (no deadlocks etc) Has anyone had this...

Weblogic wlserver memory setting?

When we start up Weblogic (8.1) from the command line, we’re passing it memory usage arguments of the form “-Xms256m -Xmx1024m” which gives it a GB to play with. When we’re starting it up from ANT, we’re using a “wlserver” task instead which, I’m guessing, does a live launch of it. What memory parameters is it using then? How I would I...

Obtaining an IntialContext from Weblogic without using clear text password

I can obtain the Weblogic InitialContext from a JNDI Client using the following properties as the Environment parameters for InitialContext Hashtable jndiProps = new Hashtable(); Hashtable.put( the below 4) java.naming.factory.initial "t3://localhost:7001" java.naming.provider.url "weblogic.jndi.WLInitialContextFactory" java.naming.secu...

Speed up Weblogic Server startup times

At my work, we use Weblogic Server to host an enterprise portal. Which is fine. However, I've recently had the opportunity to use Tomcat for some side projects, and I am struck by the incredible difference in speed. Tomcat takes 3-5 seconds to start up, and 10-15 seconds to deploy a medium-sized projects. Wewblogic takes 3-5 minutes to ...

Weblogic server: Why response sent prior to post completion

When analyzing traffic with a packet sniffer, we are seeing an http response from a weblogic server prior to the completion of the http post to that server. In this case, the jsp page on the server is basically a static page, no logic to do anything with the contents of the post at this time. But why would the server send the response ...

What do these HPROF errors mean?

I'm seeing the following errors in my console logs: HPROF ERROR: unable to resolve a method id HPROF ERROR: got NULL trace in obj_alloc HPROF ERROR: duplicate obj_id in object_alloc HPROF ERROR: unable to resolve a method id HPROF ERROR: got NULL trace in obj_alloc HPROF ERROR: unable to resolve a method id HPROF ERROR: got NULL trace i...

How do I change the max failed login attempts to lock out the user in Weblogic 10.0?

We have a requirement to set the number of login attempts to 3 before we lock out the user. It seems the default is 5. How do I change this value in Weblogic 10.0? ...

Unit-Of-Order in WLI JMSControl

Hello guys! One of our clientes is intented to use the Unit-Of-Order Weblogic Server Feature (UOO). Everything is OK using UOO in pure java code for sending JMS Messages with custom UOO Names, as well as propagating the UOO Name in Aqualogic Service Bus from the Proxy Service to a Business Service (both using JMS as the transfer proto...

Using log4j logging in weblogic 9/10

In weblogic I can configure in the console for the Serverlog to use log4j instead of default JDK logging. However the serverlog is not using a log4j.properties file, but seems to use the configuration in config.xml Even if the log4j.properties file is in the classpath and I set these properties: set JAVA_OPTIONS=%JAVA_OPTIONS% -Dlog4j....

Storing username that last modified database row via EJB3.0 and JPA

I'd like to store username that has last modified table row to as a field in every table. I have following setup: an user logs in, web layer calls some EJB 3.0 beans. Those EJB beans create and modify some JPA entities. Now, I'd like that username (from weblayer) would be automatically stored to every JPA entity (and database row) that...

Does Weblogic 10.3 support EJB2.0 Specification?

Does Weblogic 10.3 support EJB2.0 Sepcification? ...

WLST Best Practices: Shell vs MBeans?

Are there any admins out there who use WLST? On our project we are in the process of automating many of our day-to-day tasks such as deployments and domain settings. We're also building scripts that will create domains based on our baseline configurations, JDBC, FNJDI, etc. One of the features offered through WLST is the navigation of ...

Using WLST to bounce a managed server?

Is there a way to bounce/restart a managed server using WLST? The ServerRuntime MBean seems to have the correct functions to do this but as far as I can tell, you can only access this MBean for the server WLST is connected to ie the admin server. Is there a way to access this MBean for each Managed Server? ...

Weblogic "Abandoning transaction" warning

We randomly get warnings such as below on our WL server. We'd like to better understand what exactly these warnings are and what we should possibly do to avoid them. Abandoning transaction after 86,606 seconds: Xid=BEA1-52CE4A8A9B5CD2587CA9(14534444), Status=Committing,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds sinc...

How do you build an EAR with policy files included using WLS Ant Tasks?

I've been working with JAX-WS with Weblogic Server, using their Ant tasks to build EAR files that can be deployed on the server. I've gotten basic SOAP calls to work with JAX-WS, but now I'm trying to add some message-level security via WS-Security. According to the documentation, there are two ways of adding security policies to web s...

Does Weblogic 9.2 support Sun Jdk 1.6?

Does anyone have experience running Weblogic 9.2 on JDK 1.6? I am having trouble finding that information on Oracle site. In the Supported Configurations page they just mention Sun 32/64bit JDK but I haven't found any references to specific java version. I would like to upgrade from java 1.5 to 1.6, but we are not quite ready yet to upg...

Which Weblogic 10.3 JAR contains weblogic.rmi.RemoteException

I am trying to track down the Weblogic 10.3 JAR that contains weblogic.rmi.RemoteException in order to solve a build path issue. Thanks in advance. ...

Can my requirements be met with JMX?

I am completely new to JMX. I have a specific requirement and wanted to know if it is possible to accomplish within the scope of JMX. Requirements: I have a set of resources which include many weblogic instances, jBoss instances and Tomcat instances running across many servers. Now I need a one stop solution, UI to monitor these resou...

Best Way to Launch External Process from Java Web-Service?

I've inherited a Java web-services code-base (BEA/Oracle Weblogic) and need to start/launch an external background application from a web-service. I've already tried: ProcessBuilder pb = new ProcessBuilder(arg); pb.start(); as well as: Runtime.exec(cmdString); But am experiencing strange behaviors when launching applications in th...

How do I make Weblogic 8.1 serve static content?

I come from the Open source world where I'm used to having Apache serve up my images, css, javascript, etc., while Tomcat or an app server of its ilk handles all the JEE lifting. But now I'm doing a project with Weblogic 8.1, and I can't seem to figure out how to get it to work. For example, the concept of a document root. How can I con...