weblogic

How do you run Spring 2.5.6 sample apps in Jdeveloper 11g?

I am trying to run imageDB and jpetstore in JDeveloper 11g. It compiles fine, but it won't run, and the weblogic server throws errors. Does anyone know how to successfully run Spring 2.5.x sample applications in Jdeveloper 11g? I get the following error when I try jpetstore sample. Jul 27, 2009 5:03:20 PM org.springframework.web.contex...

Weblogic 10.3 Throw Soap Fault - SOAPFaultException

I was previously using Axis 1.2 to create and throw AxisFaults to simulate a clients web service. We have since moved to Weblogic and I have taken the same code and converted it to a SOAPFault and now throw a new SoapFaultException( of SOAPFault), but Weblogic will now no longer compile the class. It yells about "javax.xml.soap.SOAPFau...

Best logic for storing categories of images.

I am creating a system where a user can select any combination of four options. Then results are displayed based on their exact combination. For example, if a user chose color, text, and logo. Only results featuring color, text, and logo would return. On the other side, I am creating "templates" that will eventually be the results ret...

Optimal number of connections in connection pool

Currently we are using 4 cpu windows box with 8gb RAM with MySQL 5.x installed on same box. We are using Weblogic application server for our application. We are targeting for 200 concurrent users for our application (Obviously not for same module/screen). So what is optimal number of connections should we configured in connection pool (m...

WebLogic XML External Entity Resolution: Is there another way besides using the XML Registry?

We have an application that uses SiteMesh, and when WebLogic tries to parse the TLD files, it sees the DOCTYPE specification, containing the reference to the TLD DTD, at "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd". The server can not initiate outbound connections to the Internet, and so cannot retrieve the DTD, which causes the ...

How to undeploy the weblogic application using ant task?

I have to deploy my application in weblogic through ant. what i am doing is: <target name="deployOnServer1" > <echo>*********** Start deploying war file on SERVER1 *********** </echo> <wldeploy action="redeploy" source="${dist.dir}/${ant.project.name}.war" name="${wls.appname}" user="${wls1.user}" ...

Axis loading modules - Creating tempfile and failing

We are using axis for webservice communication between different system in house. Every once in a while the axis calls fail with a: [org.apache.axis2.deployment.util.Utils] - Created temporary file : C:\WINDOWS\TEMP\_axis2\axis248890addressing-1.41.mar [org.apache.axis2.util.Loader] - java.lang.ClassNotFoundException: Class Not found : ...

clustering/replicating counter state with application level scope

I need to replicate a sequence/counter across an eight node cluster. This means that each http request receives the next value in the sequence by calling something like getNextIntAndIncrement(), where the sequence state is synchronized across all servers. To clarify, this must exist at application/global scope, not session. I know it ...

Websphere vs Weblogic

Friends, Recently I was asked on how do I compare Weblogic vs Websphere, and what are the pros and cons of using one over another. I answered IBM support, DB2 backend, IBM stack as some of the factors but could not think of any technical pros and cons of one over another. Does anyone know the technical pros and cons of using one over an...

Using external properties files in weblogic

I am working on deploying a J2ee application that I have previously been deploying in JBOSS into Weblogic 10.3.1.0. I am running into an issue with external properties files. In Jboss I can just put the properties files into $JBOSS_HOME/server/default/conf, and they are loaded onto the system classpath and I can access them without any...

Returning binary content from a JPF action with Weblogic Portal 10.2

Hi, One of the actions of my JPF controller builds up a PDF file and I would like to return this file to the user so that he can download it. Is it possible to do that or am I forced to write the file somewhere and have my action forward a link to this file? Note that I would like to avoid that as much as possible for security reasons a...

Bea Weblogic (8.1) and j_security_check

I'm working with a developer here who just inherited an existing site. It is a Weblogic 8.1 website with j_security_check authentication behind an apache reverse proxy. We're getting some issues with the logins, and are not sure about j_security_check config. It seems very black boxy and magicky. How do we get information on how it's...

converting struts 1.1 web application from weblogic 8.1 to weblogic 10.3

Hi all, I have a web application that was written to run under Weblogic 8.1. It is a struts 1.1 application, using Java 1.4. For the sake of maintainability we have decided to attempt to conver this application run under Java 6 and Weblogic 10gR3 in line with all our other applications. We've been putting off doign this because we ...

Does anyone know a good T3 (weblogic) source?

I have just started working using weblogic protocol - T3 and I am really having a rough time finding good info over the internet. Do you know any source/examples/books? Any help would be appreciated. ...

Does Weblogic 8.1 work with MS SQL Server 2008 ?

Weblogic documentation indicates that version 8.1 of Weblogic Supports MS SQL 2000 and MS SQL 2005. Has anyone used weblogic 8.1 with MS SQL 2008 ? If so, any "ifs" and "buts" to be aware of ? ...

Eclipse WebLogic Plugin problem - can't start WebLogic server

Hi, I am running Eclipse v3.4.1 with weblogic plugin (Oracle Server Tools v1.2.0.200907171310). I am running Oracle Weblogic 10gR3 locally. On the server tab within Eclipse, I click the Start Server button but receive the following error message: 'startWebLogic.cmd' is not recognized as an internal or external command, operable progra...

Weblogic or JBoss?

I am a long time java developer on JBoss(and Tomcat). In the last year I had to develop over weblogic and I have to say - I really miss JBoss. Since my experience with weblogic is pretty shallow, I am asking the more experienced guys out there: Is there a reason for spending money on weblogic? Isn't JBoss giving you all that you need...

Weblogic Transaction Timeout : how to set in admin console in WebLogic AS 8.1

I face the following exception: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds this is set within the Stateless Session EJB Bean as javax.transaction.UserTransaction jtaTransaction.setTransactionTimeout(300) but I cannot figure out, where in the application console to set this property. ...

How to make WebLogic use all the processors on a multi processor machine

Hi, We noticed a peculiar behavior with Java/Web Logic on one of our multi-processor servers, yesterday, so wanted to get your thoughts on it. For some reason, Web Logic/Java use only one processor of the available two processors. When we ran some heavy load, I could see the CPU on one reaching almost 100% and the other processor is co...

War file deployment

I wrote a jsp application, and if I generate a war file with eclipse in windows XP, language: tradition Chinese. and deploy to weblogic, it will have such problem: inputAdministrator.jsp:251:11: This type name is ambiguous because it matches more than one '*'-import, including 'java.io.*' and 'admin.iguard.businessObject.*'. ...