weblogic

Help needed for working with Weblogic

I would like to seek help from you regarding some doubts. I'm very new to webLogic part. I'm given to write and run a simple program to connect to database and retrieve the values from the database using a java DAO class using hibernate in BEA workshop. I have created the bean class with xdoclets embedded in it and DAO class and hbm fil...

jaxws 2.1.5 on weblogic 10.3.1 instead of pre-installed jaxws 2.1.1?

Is it possible, and when yes, how? ...

Where is WebLogic Jar containing javax.servlet in 10.3?

I am trying to configure my path to include javax.servlet with WebLogic. WebLogic has split out the Jar files, so which one contains javax.servlet? ...

Deliver JMS message to all nodes in the cluster in Weblogic

Is there a way to configure WebLogic 9.x cluster to receive a JMS message on a single JMS queue address from remote client and that the message is delivered to each cluster node? Any links would be great. ...

How to store mail password on server side?

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

Can I use getSkinPath for an image that is hosted outside of the app server?

I am working on a Weblogic application with a lot of image files. The application is accessed through a proxy server. As a performance improvement, we are moving all the static content (.gif, .jpg, .js, etc) to the proxy server and not rerouting requests for that content through to the weblogic server. Problem is, the application conta...

Weblogic Apache plugin and session stickiness

If two webserver are configured in between a load balancer and weblogic cluster, will the two Apache server maintain session stickiness.?? Say for e.g. the load balancer forwards the first request to the 1st apache and inturn 1st apache forwards to 1st WL managed instance.Even if the second req from the same user is forwarded by the load...

How to set a queue producer timeout?

Hello all, I am testing WebLogic 10.3.1 JMS, but there has a problem. My Testing step: Start WebLogic Server Start JMS Client Client send a object to WebLogic JMS and server received the object. Stop WebLogic Server Send another object to WebLogic JMS. What I expect is a exception come out, but there have not anything appear and pr...

Override 302 response in WebLogic

When I do a redirect inside J2EE web application deployed on WebLogic it sends back to the client the following response: HTTP/1.1 302 Moved Temporarily Cache-Control: no-cache="set-cookie" Date: Sat, 12 Dec 2009 07:37:43 GMT Transfer-Encoding: chunked Location: http://server:port/front/page Set-Cookie: JSESSIONID=CDdjLjLHSLlGxzzBT7dmLC...

How to deploy WebLogic's JMS module to another server

If I have a JMS module defined in a file (my-module-jms.xml) copied from one of WebLogic 9.x domains, then is there a way to deploy that module to another WebLogic with minimal effort using either WebLogic Administration Console or WLST? ...

Weblogic application complains about some classes missing, how to debug?

I have a rather complex J2EE app I don't have any documentation for and I am trying to get it to run. I have gotten the ant build script to compile a EAR file that contains a WAR file, but this application even though I get "successfully deployed" on weblogic console is still not working. There are many required jars missing from the...

How to use JPA to connect to Derby

A related query I asked: http://stackoverflow.com/questions/1892089/how-to-configure-package-a-simple-java-app-to-uss-jpa I have a simple Derby database which I can connect to via EJBs hosted in WebLogic. Now I would like to connect to it from a command line Java app using JPA. So far this Java code + persistence.xml file is throwing...

Possible to get CMP for EJB entities without using session beans?

Newbie to EJB, exploring CMP and trying to figure out the angles... I'm using Weblogic 10.3. I've created entities, utilized them from a session bean via JPA and called the session bean from a command line app. This gave me CMP. When I tried to use the entities directly from a command line app via JPA without using the session bean, ...

How to get JDBC connections obtained from a JNDI datasource to participate in a UserTransaction using Weblogic 10.3?

I am currently retrieving both a UserTransaction and a DataSource from a Weblogic 10.3 server using JNDI. I have set the Datasource up to 'Support Global Transactions' and to use 'Logging Last Resource' My hope was that by beginning a UserTranscation and then retrieving a JDBC connection from the Datasource the connection would partici...

Weblogic domain and cluster creation with WLST

I want to create a cluster with 2 managed servers on 2 different physical machines. I have following tasks to be performed (please correct me if I miss something) Domain creation. Set admin server properties and create AdminServer under SSL Create logical machines for the physical ones Create managed servers create cluster with the m...

CXF + SSL + WebLogic 9.10

Hi I im developing a web application, its a servlet which basically acts as a front end for a web service, im using CXF for the web service client, the application is running on a WebLogic 9.10 server, every thing was working ok until the project owner decided to add ssl supprt, no big problem, since im using cxf whitout spring, i mana...

Validate html 4.01 tags with weblogic

Hi everyone I need to validate a web application in html 4.01 transitional. In my project im working on skeletons/head.jsp to add meta tags. The problem is that i want to add tags like: <meta name="robots" content="follow"> without the enclosing tag. And the document type is defined on skeleton.xml as HTML 4.01 Transitional. But when ...

How to generate WSDL client stub in eclipse over HTTPS

I have an Oracle Weblogic server set up using a mutual authentication SSL configuration. I'm trying to create a client stub in eclipse from a wsdl under the https protocol. Problem is, when I copy in the URL to the service definition, eclipse complains that the service definition is invalid. My guess is that eclipse isn't passing its cer...

Migrating To Weblogic From Tomcat

I have a web application running on tomcat. I want to deploy it on a weblogic server but i get some problems. Error(s) found in module 'BatchMonitoring'. Publish was cancelled. See "Problems" view for details. Target runtime SpringSource dm Server (Runtime) v1.0 is not defined. at BatchMonitoring Java compiler level does not match t...

Deploy J2ee Project in Weblogic

I have WebLogic installed in my computer. I already added it as a server in my Eclipse IDE. How do I configure my Web application to run or for it to be deployed on the WebLogic server. I found a sample project and found a weblogic.xml in it. Where do I start? Do I need to add something, etc. ...