oc4j

Memory Setting for OC4J in Eclipse

I've looked on the web for a while and can't seem to find the setting to increase the memory allocated to OC4J when launching from Eclipse. Does anyone know where the setting is? Thanks. ...

Get EAR name in the oc4j

Hi, How can I get the EAR name in the oc4j at runtime? Thanks a lot!! ...

EJB Local/Remote interface within separate applications in a single application server instance

Assume a single application server instance that has two EARs deployed. The first EAR invokes EJBs from the second EAR using remote EJB interfaces. It is rumored that even if the invokation is implemented using remote interfaces, the application server knows that everything is within the same JVM and internally uses the remote interface...

What would be the first thing that someone would check to resolve the UnsupportedOperationException in OC4J 10.1.3.5?

What would be the first thing that someone would check to resolve the UnsupportedOperationException in OC4J 10.1.3.5? This happen during logging out. We have two identical (from coding and classpath perspective) applications - one log out correctly, another one throws UnsupportedOperationException. 10/06/11 10:58:07 ERROR: Error during...

How to resolve issue of loading web application in OC4J (10.1.3.5) that err and says - can't find the class oracle.jbo.JboException?

How to resolve issue - while loading web application in OC4J (101.3.5) the application server can't find the class oracle.jbo.JboException? ...

How to resolve java.lang.IllegalStateException?

We are using OC4J 10.1.3.5 and ADF. I have a popup form and when closing we got error below. I wonder what am I missing and how can I resolve it? Jun 15, 2010 8:26:49 AM com.sun.faces.lifecycle.ApplyRequestValuesPhase execute SEVERE: java.lang.IllegalStateException: popView(): No view has been pushed. javax.faces.el.EvaluationExceptio...

How to resolve exception that thrown when session.invalidate() called in OC4J (10.1.3.5)?

How to resolve exception that thrown when session.invalidate() called in OC4J (10.1.3.5)? 10/06/22 07:46:39 ERROR: Error during SSO logout 10/06/22 07:46:39 java.lang.UnsupportedOperationException 10/06/22 07:46:39 at oracle.adf.share.DefaultContext.loadEnvironment(ADFContext.java:574) 10/06/22 07:46:39 at oracle.adf.share.A...

oracle JDeveloper 10g - Creating "Application Server" issue

i am quite new to oracle and its tools. i'm trying to connect our company server with jdeveloper i just clicked "application server" from the connection navigation panel, and i am having problems with these steps, although i read some documents about connection, i couldn't find the exact solution. the problem is in the connection tab(...

Sharing values in session between .jsp pages in OC4J

I am developing a web server with multiple .jsp pages. OC4J (10.1.3.1) is being used. But I found that Parameters, that are saved in session in a .jsp page, cannot be retrieved in another .jsp page Is there any hint ? FYI, OC4J is not customized by any means ... ...

Session in OC4J (9.0.4.1) and OC4J (10.1.3.1)

I wrote a very simple JSP file in order to check the Session in OC4J (9.0.4.1) and OC4J (10.1.3.1). I found that: [OC4J 10.1.3.1] Session keeps changing when web page is REFRESHED [OC4J 9.0.4.1] Session is maintained even web page is REFRESHED Anyone has clue to solve this issue ? The source codes are as follows: Session ID is ...

struts2, problem with oc4j

Hi, I am having trouble using urlrewrite with oc4j (10.1.3.1). It works perfectly on tomcat (6.0). I am not able to forward to struts2 actions. My web.xml: http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> <display-name>Struts Blank</display-name> <filter> <filter-name>UrlRewriteFilter</filter-name> <filter-class>org.tuckey...

J2EE JSP-0008 Unable to dispatch JSP page

I'm building a dynamic web application in Eclipse using Struts2 and OC4J 10.1.3.3.0. I'm using JDK and JRE 5 everywhere, and OC4J runs perfect when started from commandline. The problem comes when I try to deploy the proyect from Eclipse, it throws this error when trying to render the JSP: 2010-07-16 11:21:20.962 NOTIFICATION J2E...

How to make HTTP Cache Headers Work

Hi, Can someone please help me with a HTTP caching question? I thought that if I set the "Expires" and "Cache-Control:max-age" request headers, then a browser wouldn't make a GET request until after the max-age had passed? My server is seeing lots of conditional GET requests, and it replies with a 304. However, I'd like to eliminate t...

Configuring JAAS on OC4J

I'm trying to get JAAS working with OC4J. I've gotten JAAS working before with JBoss. Using JAAS with JBoss is simple (to me). In the app's jboss-web.xml, put this: <security-domain>java:/jaas/myApp</security-domain> And put the following in JBoss's login-config.xml: <application-policy name = "myApp"> <authentication> <log...

OC4J 9.0.4.1 Connection Pool and Datasource

I would need to connection to Oracle database via connection pool. Please correct me IF I am wrong that I only need to modify/add the datasources in data-sources.xml. Thanks. ...

How can UNCLOSED connection be found in OC4J/Oracle ?

I fixed and use Connection Pool to get the DB Connection from JSP to Oracle Database now. But then I found out from the OC4J console at once that there are many UNCLOSED/NOT-CLOSED connection. I am using OC4J 9.0.4.1 and Oracle 10g. Is there any effective way to find out the location or area that the connection is not closed. In addit...

OC4J 10.1.3.1 - Failed to look up JNDI Location

I am using OC4J 10.1.3.1. (It can be accessed via http://localhost/em) A connection pool is created. A DataSource is created. In my servlet, I initiate jndiContext with parameters: jndiFactory=oracle.j2ee.rmi.RMIInitialContextFactory jndiUri=opmn://localhost:6003/home/default jndiUsername=oc4jadmin jndiPassword=ds12345 BUT, accor...

Why is Oracle ADF not escaping quotes for me when I use <h:outputText/>?

Why is Oracle ADF not escaping quotes for me when I use to build up strings in Javascript? <jsp:root ...> <f:view ...> <afh:html> <f:loadBundle basename="message" var="msg"/> <afh:head ...> <script> function validate() { var errorMessages = ''; . . if (regNum == '') { errorMessages = err...

How to use Oracle jdbc driver fixedString property in datasource.xml?

I try configured fixedString property in the datasource.xml but doesnt work, this is in oc4j <data-source location="jdbc/prueba" class="com.evermind.sql.DriverManagerDataSource" password="dagrof" max-connect-attempts="3" xa-location="jdbc/xa/prueba" ejb-location="jdbc/prueba" wait-timeout="1800" connection-driver="oracle.jdbc.dr...

OC4J server DB persistence - queue message getting retrieved multiple times

Hello, Thanks for trying to help ... We are using oc4j server 10.1.3 and oracle 10g database and using database persistence for the the MDB (EJB 3.0) in the application we have 3 application servers and connected through the load balancer in the production enviornment As we are using database persistence the messages are sending ...