Questions tagged [oc4j]

OC4J is the Oracle Application Server (Oracle Container 4 Java, formerly Orion), up to Oracle 10g.

Oracle Corporation refers to its implementation of the Java EE specification as Oracle Containers for J2EE and abbreviates the concept as OC4J. OC4J, originally based on the IronFlare Orion Application Server, has developed solely under Oracle's control since Oracle Corporation acquired the source code.

OC4J includes the following servers:
- Web Container
- Enterprise JavaBean Container
- JMS Server

Since the BEA purchase by Oracle, it has been replaced in 11g by WebLogic.

169 questions
1
vote
1 answer

setMaxInactiveInterval on OC4J isn't accurate

I've a servlet app deployed in side oc4j. I am trying to invalidate the user session after 1 minute using: session.setMaxInactiveInterval(1 * 60); But What happens is that It takes over 1 minute (and may reach 1 min and half) before the session get…
Muhammad Hewedy
  • 29,102
  • 44
  • 127
  • 219
1
vote
1 answer

How to send a username between web service requests?

Basically the problem is this: There is a stored database procedure that takes a username as an argument and produces some XML data depending on it. It is called by a method with no arguments in an unsecured web service (let's call that web service…
Sevas
  • 4,215
  • 3
  • 27
  • 26
1
vote
0 answers

Trinidad Nested panelTabbed not working

I'm having some trouble using Trinidad's . I have 1 main panelTab and a secondary one inside one of the main's panel showDetailItem. The problem is : When i switch tabs on the main one "tabbedPanel" everything works as expected, but when I click on…
ufasoli
  • 1,038
  • 2
  • 19
  • 41
1
vote
1 answer

How can OC4J be configured to support Arabic?

How can OC4J be configured to support Arabic? some arabic contents appear as ? question marks, however in the pages that this probelm arises in it, the page encoding (<%@ page pageEncoding="windows-1256" %>) is set properly (I tried all possible…
Ali Abdel-Aziz
  • 249
  • 3
  • 11
1
vote
1 answer

How to fix a Resource not Found error in OC4J?

I am trying to deploy a web app on OC4J, and although I've followed the instructions to the letter and the deployment process goes without a hitch, I keep getting a 500 error (below). I am a newbie in OC4J, so I would appreciate some hints on what…
Max Maximus
  • 779
  • 10
  • 14
1
vote
1 answer

getClass().getClassLoader().getResource() Doesn't work in OC4J App Server

I've the following code snipet that doesn't work in EJB code in OC4J: String name = getClass().getPackage().getName(); name = name.replace('.','/'); URL url = this.getClass().getClassLoader().getResource(name); File directory = new…
Muhammad Hewedy
  • 29,102
  • 44
  • 127
  • 219
1
vote
0 answers

Failed to Parse and JAX-RPC 1.1 method is not supported in WLS 8.1 clients error

I got a WSDL and its client from a third party, when i load the client in my jDeveloper its working fine. But when i create a client from that WSDL its giving me "Failed to Parse WSDL" error. And with some modifications in my client i am getting…
sudeep
  • 93
  • 2
  • 6
  • 17
1
vote
3 answers

How to enable debug_mode for a JSP page

when you hit a serious compilation error while writing JSP pages and running under Oracle OC4J or Application Server, you can end up with the following displayed on screen: 500 Internal Server Error OracleJSP: An error occurred. Consult your …
tardate
  • 16,424
  • 15
  • 50
  • 50
1
vote
5 answers

Browser asking to save JSPs

I've worked with JBoss and WebLogic before, but at my current job, we're using OC4J, which is a first for me. I think that my problem might be related to that. I'm creating an EAR file that has one WAR file inside it. The top level JSPs seems to…
Gary Kephart
  • 4,860
  • 5
  • 39
  • 52
1
vote
2 answers

Deploying to OC4j: Unable to find/read file META-INF/application.xml

Continuum build server deploys to my oc4j instance I get the following error it seems every other build. 09/03/10 13:47:49 Notification ==>Operation failed with error: Unable to find/read file META-INF/application.xml in…
Rob Reel
1
vote
0 answers

How can I confirm that Spring Transactions are working properly?

I working on an Spring 3.2 application running in OC4j. I have a number of methods annotated with Spring's @Transactional annotation as follows: // in MyServiceImpl @Transactional() public void insertPaymentData(PaymentParams paymentParams) { …
Shane
  • 305
  • 6
  • 16
1
vote
1 answer

Need to load some class by bootstrap Classloader

I've the following scenario: I've a byte[] that contains the .class data of a class (loaded from the file system) And I have another byte[] of this some object of this class that was previously Serialized to some other stream. First do load the…
Muhammad Hewedy
  • 29,102
  • 44
  • 127
  • 219
1
vote
1 answer

configuring datasource in orion-web the same way as orion-application.xml

In Oc4j, If we have an EAR app, we can tell the deployer to create a datasource for the application using orion-application with something like:
Muhammad Hewedy
  • 29,102
  • 44
  • 127
  • 219
1
vote
1 answer

Getting Discrepancy in OC4J server - Spring-framework 3.0.1.RELEASE jar and commons-logging-1.1.1.jar

Using Spring-framework 3.0.1.RELEASE jar and added commons-logging-1.1.1.jar but still I m getting the below error, when try to deploy in OC4J 10.1.3 version server Added the required jar to server.xml but still only commons-logging-1.1.1.jar jar is…
user3428736
  • 864
  • 2
  • 13
  • 33
1
vote
1 answer

HQL works on Tomcat not on Oracle AppServer 10.1.3?

When running an app on Tomcat I don't get any error. When running on Oracle (OC4J) 10.1.3 I get the following: org.hibernate.hql.ast.QuerySyntaxError: unexpected end of subtree [ SELECT c, cc, pa, ta FROM com.test.CASE c LEFT OUTER JOIN…
jlpp
  • 1,564
  • 5
  • 23
  • 36
1 2
3
11 12