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.

168 questions
16
votes
9 answers

SEVERE: A message body writer for Java class java.util.ArrayList and MIME media type application/json was not found

I am testing RESTful services and when I execute I am getting exceptions although I have the following jars in my class path(WEB-INF/lib), I am not using Maven and my JDK version is 1.5. Other questions regarding this issue didn't help to resolve…
Jacob
  • 13,463
  • 58
  • 188
  • 302
12
votes
3 answers

Does changing Log4j's log.properties require a restart?

Does changing Log4j's log.properties require a restart for the changes to take effect? I'm trying to work out an issue in one of our systems and don't have the ability to restart the server process (OC4J in this case).
Scott Bennett-McLeish
  • 8,908
  • 10
  • 38
  • 45
11
votes
3 answers

How do I create an EAR file with an ant build including certain files?

I'm using eclipse to build an ear file using ant. I'm using oc4j, and I want to make sure that orion-application.xml is included in the build. What I'm currently using but does not work is: Building…
user149100
  • 1,041
  • 3
  • 12
  • 16
6
votes
1 answer

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…
yannisf
  • 5,568
  • 9
  • 37
  • 59
5
votes
2 answers

Avoiding timeout on container-managed EntityManager

I have an J2EE application whose beans have container-managed EntityManager's. In long running method calls, trying to merge data throws a RollbackException (Timed out) I have tried using an EntityManagerFactory but it doesn't seem to be…
Filipe Gomes
  • 168
  • 1
  • 10
4
votes
1 answer

javax.persistence.spi.PersistenceUnitInfo.getSharedCacheMode() Ljavax/persistence/SharedCacheMode;

I have persistence-api-1.0.2,hibernate-jpa-2.0-api-1.0.1.Final and other related jars in the lib directory. However, when I am deploying war file, I am getting the following error nested exception is…
Jacob
  • 13,463
  • 58
  • 188
  • 302
4
votes
6 answers

How to determine the version of oc4j being used?

I have an oc4j installation bereft of any release notes or version documentation. In the absence of such documents, how do I know for sure, which version of oc4j I am using?
Swapnonil Mukherjee
  • 2,270
  • 3
  • 22
  • 32
4
votes
4 answers

Determine Which Application Server our application is deployed to?

Our J2EE Application is deployed to JBoss and sometimes to OC4J . Can I know which one is being used? I hope there is a method returning the container information on runtime.
Egycator
  • 41
  • 1
  • 2
4
votes
3 answers

Ensuring serial processing of JMS messages in an OC4J cluster

We have an application that processes JMS message using a message driven bean. This application is deployed on an OC4J application server. (10.1.3) We are planning to deploy this application on multiple OC4J application servers that will be…
3
votes
3 answers

Debug web application in Eclipse under Oracle Application Server

I am using Eclipse and I am familiar with Apache Tomcat. I can run/debug my web applications under Tomcat. But I can not do it for Oracle Application Server. When I try to start the server from eclipse it is beginning to start, but after 240 seconds…
user179437
  • 713
  • 1
  • 7
  • 16
3
votes
1 answer

Forcing HttpOnly JSESSIONID in deployed OC4J/Oracle Application Server

We have a legacy application running on Oracle Application Server J2EE 10g 10.1.3.5.0 using OC4J containers. To clear a Veracode dynamic scan flaw CWE ID-402 (and for best practice) we need to set the HttpOnly flag on our JSESSIONID cookies. We…
kmarx
  • 43
  • 5
3
votes
1 answer

How to install OC4J 10.1.3.n server adapter to eclipse

I am using eclipse and tried to define a new OC4J 10.1.3.n. I installed "Eclipse web tools platform", "Oracle Enterprise Pack For Eclipse". But it did't works. Is there any solution?
karlkeller
  • 1,121
  • 3
  • 11
  • 21
3
votes
1 answer

Using OC4J Server Adapter with Eclipse Kepler

After banging my head against the wall for awhile (trying to figure out how to set up an OC4J server adapter in Eclipse), I finally realized that Eclipse Kepler has retired all support for the Oracle generic OC4J server adapter. Is there anyway to…
Laura Ritchey
  • 711
  • 7
  • 20
3
votes
1 answer

CGLIB with spring throws IllegalAccessError

I have a spring app with aop enabled using cglib proxies for logging:
6ton
  • 4,038
  • 1
  • 18
  • 37
3
votes
1 answer

Sending verification request every single second to the server (repeating task)

I've some service that's being called by a Mobile app. The mobile app need to be up to date with the server. So, Every 1 second I do check the server for any additional data, if found I got the data from the server (repeating task). Is there any…
Muhammad Hewedy
  • 26,344
  • 42
  • 116
  • 201
1
2 3
11 12