weblogic

Weblogic 10.3 domain unpacking problem

Hi, I'm trying to unpack a Weblogic 10.3 domain on one of our production servers (SunOS 5.10), but get the following error: $ /opt/bea10/wlserver_10.3/common/bin/unpack.sh -template=/tmp/CM.jar -domain=/opt/bea10/user_projects/CM Error: failed to create the temporary script file Assuming that this is a priviledge problem: where act...

Server name in XML response message?

Hi there, guys! I'm currently developing a set of webservices in Java, to host on Axis2 running over WebLogic 10.3.0. These webservices receive and return SOAP messages. As I have a clustered environment on WebLogic, I would like to have the WebLogic's server name (the one I configured using the Administration Console) returned in the ...

how can Weblogic send page with Unicode charset

99.9% of the pages in my application are using UTF-8 encoding. However for some special usecase in the client side, I need one of them to use Unicode (2 bytes for each character) For that matter the header of this page is: <%@ page language="java" contentType="text/html; charset=unicode"%> ...<my content>... This implementation work...

Redirecting https requests to two different weblogic servers using the Weblogic proxy and Apache2

I have a server serverA running a weblogic application App1, with base url /app1/ on port 7001, and another server serverB, running a weblogic application App2, with base url /app2/ on port 8001. Both servers run Solaris, Apache2 and Weblogic 9.2 (details changed, but these are representantive) In other words, app1 could be accessed on...

Unable to initalize log4j

Hi, I am trying to initialize log4j-1.2.8 for my application by creating a listener class implemented from the ApplicationLifecycleListener of Weblogic 9.2 When I deploy the application, I am getting following exceptions: java.lang.NoClassDefFoundError: org/apache/log4j/spi/RepositorySelector at java.lang.ClassLoader.defineClass1(Nati...

WebLogic load balancing

Hello, guys! I'm currently developing a project supported on a WebLogic clustered environment. I've successfully set up the cluster, but now I want a load-balancing solution (currently, only for testing purposes, I'm using WebLogic's HttpClusterServlet with round-robin load-balancing). Is there any documentation that gives a clear compa...

Asynchronous response message from WCF to WebLogic

We are providing web service interfaces to our system using WCF. Our clients typically use some kind of middleware platform, e.g. WebLogic, to interact with us and others. For scalability and robustness reasons, we want to queue incoming requests, process them, then send a response to the middleware platform. Hence, we are not using the...

How to change Weblogic 10/11's log format?

I want to change the log format for Weblogic's server log. Right now it's generating logs using its default format-- I want to be able to specify my own format. For example, it generates logs that look like this: ####<Jan 21, 2010 3:24:24 PM EST> <Info> <Socket> <FS2LOANER-00981> <DPSCoreServer1> <[STANDBY] ExecuteThread: '1' for queu...

MDB Transaction Propagation

Hi Guys, I am very new to EJB 3.0 I have deployed a EAR in WebLogic 10.3 g which have two ejb modules called ServicesDump MessageDump In ServicesDump i have a session bean which doing the database updates, After i have deployed, When i called these remote session-bean from out side of container to test the functionalites it working...

How to remote deploy an application in weblogic ?

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. ...

Error while shutting down 'Admin Server' from weblogic enterprise management console

I am using Weblogic Server em console to restart a webserver, URL looks like this: http://localhost:7001/em/ AdminServer is named 'AdminServer', I wish to restart this server instance, I click on server in EM console then user menu option like this: (Weblogic server>Control>Shut Down...) I get this error: 'No Machine associated with ...

Can Weblogic Server's identity JKS contain multiple host/dns names?

Hi All, Server is setup using SSL and have come across the need to have multiple DNS names point to the same site hosted on the server. Addresses below are for demonstrative purposes.. For example, application address is: https://www.server.com/application/ . The server's identity JKS indicates that it's www.server.com. The need is t...

Weblogic 10 shared library not showing up in referencing apps

Hi, On WebLogic 10.0 I use the "Shared J2EE Libraries" ( http://download.oracle.com/docs/cd/E11035_01/wls100/programming/libraries.html ) feature of WLS to group some jars which would need to be accessible in multiple ear's. These jars resided on the system classpath, and I try to move them into the shared lib from there. My problem is...

Weblogic: Call DB2 stored procedure without schema name (property currentSchema)

Hello, I have a Java application that runs on Weblogic. The application needs to access a stored procedure in a DB2 data base, therefore a JDBC data source is configured and accessed by its JNDI name. Data source: ClassDriver: com.ibm.db2.jcc.DB2Driver Properties: user=MYUSER DatabaseName=MYDB The following example works as expecte...

Using a proxy to access the Weblogic Administration server

We have set up where the Weblogic admin server is on port 9002, but all access to the system can only come on port 80. The application itself runs on some other ports, and I've successfully proxied the relevant URLs from port 80 to Weblogic using the Weblogic Apache proxy plugin. However, this doesn't work for the Weblogic Admin consol...

weblogic cert validation

How do I validate whether a Weblogic certificate is valid or not? ...

How to automate building and deploying a BPEL application

I need to automate the building and deployment of (several) BPEL applications to a weblogic server. I now do it using jDeveloper 11g, but I guess there should be some command line tools to do it. (I come from a Microsoft /.NET / Visual Studio background, and I can automate the deployment of my .NET applications using the command line an...

Posting a SOAP XML to an SSL

When I try to post the XML to an SSL link by the following code public void send(String url, String xmldoc) { StringBuffer sb = new StringBuffer(); try { ByteArrayInputStream bais = new ByteArrayInputStream(xmldoc .getBytes()); InputSource is = new InputSource(bais); DocumentBuilderFactory factory = DocumentBuil...

Customize WebLogic's heartbeat message

Hello, guys! I'm currently developing a system to ensure high performance, availability and scalability; fail-over and crash recovery on a WebLogic integration scenario. Does anybody know if it is possible to customize WebLogic's native heartbeat messages, to add some additional information such as current CPU usage and/or network load...

Determine target URL within login page using Forms authentication with WebLogic

I have an application running under WebLogic that is using standard forms authentication. The login page is a JSP that presents the login form that will post to j_security_check. So as you would expect, when a user tries to access a page but is not yet authenticated, they will be redirected to the login.jsp. My question is, how can I ...