weblogic-10.x

log4j with multiple WebLogic instances

Hi all, I'm creating a Java Web Services application. I intend to run multiple instances of WebLogic on each machine in a cluster. I'd like each application instance to write to its own log file, but I'm not sure how to do so without creating instance specific log4j properties files. Is there some way for me to dynamically determine th...

Weblogic Workshop 10.0 very slow

i am working in weblogic 10.0 workshop the problem is that it is very very slow i am using a 4 GB RAM PC (with 3.2GB detected RAM).it is very slow for editing, ctrl+c, ctrl+v consumers a hell lot of time and if its a accidental right click on the editor its goin to eat your time wirthlessly any suggestions to improve ?? ...

ClassCastException jboss-seam on weblogic 10.3

Hi guys, I have many problem to installed jboss-seam 2.2.0 on weblogic 10.3. I want to deploy the exemple furnish by jboss but I get the following error: java.lang.ClassCastException: com.sun.faces.application.WebappLifecycleListener cannot be cast to java.util.EventListener at weblogic.servlet.internal.WebComponentContributor.createL...

Weblogic 10.3 MDB throwing javax.sql.DataSource exception

Here are the applications that I'm using: Weblogic 10.3.3 Websphere MQ 7.0 Oracle 11g Express Edition (DB) Here is the current process flow: A message is read off a Websphere MQ queue by Weblogic and processed by the MDB The MDB saves the message to the DB The MDB writes the message to another Websphere MQ queue This is an XA tra...

JSF doesn't interpreted in seam

Hy guys, I installed jboss-seam on weblogic 10.3 (with many problem :( ) but now it's work, my application is deployed. But now, I have a new problem, my JSF isn't interpreted and the JSF code appears in HTML. Here is my web.xml: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml...

Downloading application from weblogic server

Hi , I have requirement for testing a j2ee application which is deployed in a weblogic server. I have to get the ear add my testclasses into that and depoly it back. Since weblogic server takes so much memory , I want to run my testcases to run in another box , connect to the weblogic server and download the ear from there and modify...

weblogic ejb ComplianceException

Hi guys, I try to deploy an application which uses EJB on weblogic 10.3. I use the framework seam 2.2.0 I created an EJB project and en EAR project with workshop. When I compile the project, I get this error: weblogic.ejb.container.compliance.ComplianceException: No business interface, component interface or web service endpoint inte...

weblogic appc: include generic arguments in the ejb client jar

I have an EJB returning a list of my own ValidationMessage objects: @Remote public interface Intf { List<ValidationMessage> validateFile(); } I'm generating EJB client JAR with weblogic's appc utility. The problem is that it does not include ValidationMessage class into the client JAR. Perhaps it does not see the dependency to thi...

Failure while running TestQuery in Weblogic 10.3 server

Hi Friends while configuring the weblogic admin console i am getting this problem i dont know why but my user name and password for Oracle 11g server is "SYS" only. Here is the error which i am getting now: Message icon - Error Connection test failed. Message icon - Error [BEA][Oracle JDBC Driver][Oracle]ORA-01017: invalid us...

Set entityManager components.xml seam weblogic

Hi guys, I develop an application with Seam 2.2.0 on weblogic 10.3 In my components.xml, when I set my entityManager, I do this: <persistence:managed-persistence-context name="entityManager" auto-create="true" persistence-unit-jndi-name="OSSPortailDataSource" /> My DataSource is configured like this on weblogic: JNDI name: ...

Weblogic 10.3 ClassCast exception for OracleConnection

I am trying to send the database Array by using the method below: OracleConnection oracleConnection = (OracleConnection) ((WLConnection)connection).getVendorConnection(); -- Exception in this LINE ArrayDescriptor arrayDesc = ArrayDescriptor.createDescriptor( "MY_ARRAY", oracleConnection); String vals = {"1", "2"} ARRAY ocbsArray = new A...

java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator Seam weblogic 10.3

Hi guys, I have a big problem with Hibernate (use with seam) on weblogic 10.3. When I publish my application, I get this error: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.<init>(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations....

Weblogic 10.3.1.0 is using com.bea.core.apache.commons.net_1.0.0.0_1-4-1.jar... I want to use commons-net-2.0.jar from my code

Weblogic 10.3.1.0 is using com.bea.core.apache.commons.net_1.0.0.0_1-4-1.jar... I want to use commons-net-2.0.jar from my code. How can I force it to use the newer JAR in my code only? ...

EJB 3 timer or quartz how to automate my ejb method

Ive been looking online for a while and i cant seem to find a simple solution to my problem. I have an enterprise ejb 3.0 application that deploys on weblogic 10. I have no front end just back end. I need to setup quartz/timer at startup to schedule a job via cron trigger, this job is a method invoked on one of my stateless session beans...

How to use commonJ Timer Manager in MDB at Weblogic 10.3 environment

Hi, I am getting javax.naming.NameNotFoundException while trying to look up TimerManager. Here I am giving MDB components. MDBTimer.java package my.examples.mdb.timer; import javax.ejb.MessageDriven; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; import javax.jms.Message; import javax.jms.Messa...

Error installing weblogic server in Eclipse

When I try to install Weblogic server, I get the following error. Any idea why this might be? I'm trying to add weblogic server on Eclipse Helios. Cannot complete the install because one or more required items could not be found. Software being installed: Oracle WebLogic Server Tools 1.6.0.201007221355 (oracle.eclipse.tools.galileo.we...

JNDI names in Weblogic Server

Is it mandatory to provide a JNDI name for a stateless session bean using the mappedName attribute of the Stateless annotation? I thought that on deployment the server will assign a JNDI name if one is not provided based on the pkgname and the class name. I have not checked the ejb 3.x spec! However with Weblogic 10.3 I found that you h...

Download operation from Weblogic Portal 10.3

Hi, i'm stuck with a problem which involved Weblogic Portal, an Struts 1.3 Portlet and a Download Operation. Normally a download operation can be triggered by: response.setContentType("application/octet-stream"); response.setHeader("Content-Disposition", "attachment; filename=file.csv"); response.setHeader("Content-Length", Str...

weblogic datasource automatically getting deleted

I do have a cluster with four managed servers with datasources created in the nodes. How would a datasource in some of the managed servers in a weblogic cluster get deleted automatically? ...

@Override for interface methods causes JSP compilation to fail.

For some reason, putting @Override on methods overriding interface methods causes JSP compilation to fail in weblogic. Everything is definitely running off of JDK 1.6.0_14, but this Java 5'ism still persists. Oddly, JSP compilation occasionally fails with a stacktrace pointing at code not necessarily obviously used by the JSP itself. W...