Sei sulla pagina 1di 3

Problems Running Note: 578043.

1 'How Can Oc4j Be Set Up To Run As A Windows


Service (4.6.1.10) [ID 739905.1]

  Modified 02-JUL-2009     Type PROBLEM     Status PUBLISHE  
D

In this Document
  Symptoms
  Cause
  Solution
  References

Applies to:

Adverse Event Reporting System - Version: 4.6.1.10


This problem can occur on any platform.

Symptoms

Following Details in Metalink Note 578043.1 in order to set BI Publisher Startup as a Windows


Service for use with AERS 4.6.1.10 and higher patch versions

However when attempting to start the newly added windows service the following message is
reported:

C:\oracle\BIPEE\jdk\jre\bin>net start OracleBIPEE-OC4JService


The OracleBIPEE-OC4JService service is starting.
The OracleBIPEE-OC4JService service could not be started.

The service did not report an error.

More help is available by typing NET HELPMSG 3534 which showed the error:

Could not find the service class

Cause

Install commands need to be run from the 'javaservice.exe' download directory path.

Solution

Below is a sample install based on details outlined in Metalink Note 578043.1  using an AERS


4.6.1.10 middle tier.

 Navigate to your AERS middle tier machine (This will be referred to throughout as
'xyz..us.oracle.com') where BI Publisher / AERS 4.6.1.10 is installed
 Download (if not already installed) the latest JDK v 5.1 from Sun Website
(http://java.sun.com/j2se/1.5.0/download.jsp)
 Install this on middle tier machine xyz.us.oracle.com in desired directory e.g. :
o d:\Program Files\Java\jdk1.5.0_16\
 Navigate to website mentioned in Metalink Note 578043.1  e.g. :
http://forge.objectweb.org/project/showfiles.php?group_id=137
 Download latest file : "JavaService-2.0.10.zip" onto your AERS 4.6.1.10 middle tier e.g.
xyx.us.oracle.com
 Accept the License agreement and opt to download from nearest server to your site
 Unzip the file contents to a local directory on your middle tier machine xyz.us.oracle.com
e.g:
D:\javaservice_download
 From MS-DOS prompt navigate to your download directory mentioned in step
above e.g. D:\javaservice_download
 Run the command to install (including your paths to jdk 1.5 and bipee OC4J) for
example:

javaservice -install "Oracle BI: OC4J Service" "D:\Program


Files\Java\jdk1.5.0_16\jre\bin\client\jvm.dll" -XX:MaxPermSize=128m -Xmx512m
"-Djava.class.path=D:\Oracle\bipee\oc4j_bi\j2ee\home\oc4j.jar" -start
oracle.oc4j.loader.boot.BootStrap -description "Oracle BI Oc4J Service"

 This should return the message:

The Oracle BI: OC4J Service automatic service was successfully installed.
 To confirm:
o Navigate to Control Panel - Services
o You should now have a service called 'Oracle BI: OC4J Service', with the path to
executable
defined as:

D:\javaservice_download\JavaService.exe

Startup type auto defined to 'Automatic'

Logon = 'Local System Account'


 If you now click on [Start], the Service should move to Status = Started.
 Refresh the services console to confirm service remains at started status.
 Sign into AERS 4.6.1.10 application as a user who has access to all reports (e.g.
SUPERUSER)
 Navigate to one of the BIP Reports e.g.
o Reports
o Regulatory Drafts
o ASR BIP (Draft)
 Run a test Annual Safety Report
 This should complete with success using new windows service, confirm report can be
opened / viewed successfully

References
NOTE:578043.1 - How Can OC4J Be Set Up To Run As A Windows Service

 Related

Potrebbero piacerti anche