Setting OC4j mulitcast
How does one bind
multicast to the loopback device on a server. Is there any way to do this
with OC4J v1.0.2.2.1? The catch here is that ISP is using the software load
balancer provided with the OC4J for the sole purpose of load balancing. They
are not concerned with state replication for failover.
Lambros,
You just need to download OC4J standalone from OTN. Extract the file and run the command...
java -jar oc4j.jar -install
After this to start the server, you can type
java -jar oc4j.jar
OC4J uses the standard J2SE from Sun.
Hope this helps.
Similar Messages
-
Error while installing the OC4J version oc4j_extended_101310
Hi All,
I am getting the following stacktrace when i run java -jar oc4j.jar
I have set the foll env variables
CLASSPATH :-C:\j2sdk1.4.2_04\jre\lib\rt.jar;C:\j2sdk1.4.2_04\lib\tools.jar
JAVA_HOME :-C:\j2sdk1.4.2_04
PATH:-%JAVA_HOME%\bin;D:\Oracle\product\10.1.0\Client_1\bin;D:\ant\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\cvsnt
2006-09-11 17:38:53.910 NOTIFICATION Auto-unpacking D:\oc4j\j2ee\home\applications\dms.war...
2006-09-11 17:38:53.910 NOTIFICATION Unjar D:\oc4j\j2ee\home\applications\dms.war in D:\oc4j\j2ee\home\applications\dms
2006-09-11 17:38:53.910 NOTIFICATION Finished auto-unpacking D:\oc4j\j2ee\home\applications\dms.war
2006-09-11 17:38:53.910 NOTIFICATION Auto-unpacking D:\oc4j\j2ee\home\applications\JMXSoapAdapter-web.war...
2006-09-11 17:38:53.926 NOTIFICATION Unjar D:\oc4j\j2ee\home\applications\JMXSoapAdapter-web.war in D:\oc4j\j2ee\home\applications\JMXSoapAdapter-web
2006-09-11 17:38:53.960 NOTIFICATION Finished auto-unpacking D:\oc4j\j2ee\home\applications\JMXSoapAdapter-web.war
2006-09-11 17:38:54.076 NOTIFICATION Auto-unpacking D:\oc4j\j2ee\home\applications\jmsrouter.war...
2006-09-11 17:38:54.076 NOTIFICATION Unjar D:\oc4j\j2ee\home\applications\jmsrouter.war in D:\oc4j\j2ee\home\applications\jmsrouter
2006-09-11 17:38:54.110 NOTIFICATION Finished auto-unpacking D:\oc4j\j2ee\home\applications\jmsrouter.war
2006-09-11 17:38:54.143 NOTIFICATION Auto-unpacking D:\oc4j\j2ee\home\connectors\datasources\datasources.rar...
2006-09-11 17:38:54.143 NOTIFICATION Unjar D:\oc4j\j2ee\home\connectors\datasources\datasources.rar in D:\oc4j\j2ee\home\connectors\datasources\datasources
2006-09-11 17:38:54.143 NOTIFICATION Finished auto-unpacking D:\oc4j\j2ee\home\connectors\datasources\datasources.rar
2006-09-11 17:38:54.143 NOTIFICATION Auto-unpacking D:\oc4j\j2ee\home\connectors\OracleASjms\OracleASjms.rar...
2006-09-11 17:38:54.143 NOTIFICATION Unjar D:\oc4j\j2ee\home\connectors\OracleASjms\OracleASjms.rar in D:\oc4j\j2ee\home\connectors\OracleASjms\OracleASjms
2006-09-11 17:38:54.160 NOTIFICATION Finished auto-unpacking D:\oc4j\j2ee\home\connectors\OracleASjms\OracleASjms.rar
2006-09-11 17:38:54.193 NOTIFICATION Auto-unpacking D:\oc4j\j2ee\home\applications\ascontrol.ear...
2006-09-11 17:38:54.193 NOTIFICATION Unjar D:\oc4j\j2ee\home\applications\ascontrol.ear in D:\oc4j\j2ee\home\applications\ascontrol
2006-09-11 17:38:54.593 NOTIFICATION Finished auto-unpacking D:\oc4j\j2ee\home\applications\ascontrol.ear
2006-09-11 17:38:54.610 NOTIFICATION Auto-unpacking D:\oc4j\j2ee\home\applications\ascontrol\ascontrol.war...
2006-09-11 17:38:54.693 NOTIFICATION Unjar D:\oc4j\j2ee\home\applications\ascontrol\ascontrol.war in D:\oc4j\j2ee\home\applications\ascontrol\ascontrol
2006-09-11 17:39:01.542 NOTIFICATION Finished auto-unpacking D:\oc4j\j2ee\home\applications\ascontrol\ascontrol.war
06/09/11 17:39:01 Set OC4J administrator's password (password text will not be displayed as it is entered)
Enter password:
Confirm password:
The password for OC4J administrator "oc4jadmin" has been set.
06/09/11 17:39:12 The OC4J administrator "oc4jadmin" account is activated.
[Fatal Error] :-1:-1: Premature end of file.
2006-09-11 17:39:20.341 ERROR J2EE JCAC0006 Error initializing an ApplicationConnectionManager - ConnectorArchive and Application cannot be null
2006-09-11 17:39:20.341 ERROR J2EE JCAC0004 {0}
2006-09-11 17:39:20.341 WARNING J2EE JCAC0013 Error (Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException) while setting up RA for MCF (oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl) for standalone resource adapter 'Oracle JDBC Resource Adapter'
2006-09-11 17:39:20.341 ERROR J2EE OJR0105 Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
06/09/11 17:39:20 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors. Exception is: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
Sep 11, 2006 5:39:20 PM com.evermind.server.ApplicationStateRunning initConnector
SEVERE: Error occurred initializing connectors. Exception is: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
06/09/11 17:39:20 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
at com.evermind.server.ApplicationStateRunning.addConnectionFactory(ApplicationStateRunning.java:1551)
at com.evermind.server.ApplicationStateRunning.initManagedDataSource(ApplicationStateRunning.java:1504)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1968)
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
at com.evermind.server.Application.setConfig(Application.java:391)
at com.evermind.server.Application.setConfig(Application.java:308)
at com.evermind.server.ApplicationServer.initializeDefaultApplication(ApplicationServer.java:1489)
at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications(ApplicationServer.java:1470)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:922)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.InstantiationException: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
at com.evermind.server.connector.ApplicationConnectionManager.initOutbound(ApplicationConnectionManager.java:864)
at com.evermind.server.connector.ApplicationConnectionManager.init(ApplicationConnectionManager.java:665)
at com.evermind.server.connector.deployment.ConnectorArchive.createConnectionManager(ConnectorArchive.java:1193)
at com.evermind.server.connector.deployment.ConnectorArchive.addConnectionFactory(ConnectorArchive.java:607)
at com.evermind.server.ApplicationStateRunning.addConnectionFactory(ApplicationStateRunning.java:1546)
... 12 more
Sep 11, 2006 5:39:20 PM com.evermind.server.ApplicationStateRunning initConnector
SEVERE: Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
at com.evermind.server.ApplicationStateRunning.addConnectionFactory(ApplicationStateRunning.java:1551)
at com.evermind.server.ApplicationStateRunning.initManagedDataSource(ApplicationStateRunning.java:1504)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1968)
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
at com.evermind.server.Application.setConfig(Application.java:391)
at com.evermind.server.Application.setConfig(Application.java:308)
at com.evermind.server.ApplicationServer.initializeDefaultApplication(ApplicationServer.java:1489)
at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications(ApplicationServer.java:1470)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:922)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.InstantiationException: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
at com.evermind.server.connector.ApplicationConnectionManager.initOutbound(ApplicationConnectionManager.java:864)
at com.evermind.server.connector.ApplicationConnectionManager.init(ApplicationConnectionManager.java:665)
at com.evermind.server.connector.deployment.ConnectorArchive.createConnectionManager(ConnectorArchive.java:1193)
at com.evermind.server.connector.deployment.ConnectorArchive.addConnectionFactory(ConnectorArchive.java:607)
at com.evermind.server.ApplicationStateRunning.addConnectionFactory(ApplicationStateRunning.java:1546)
... 12 more
06/09/11 17:39:20 WARNING: Application.setConfig Application: default is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
Sep 11, 2006 5:39:20 PM com.evermind.server.Application setConfig
WARNING: Application: default is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
06/09/11 17:39:20 Error initializing server: Error occurred initializing connectors. Exception is: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
06/09/11 17:39:21 Fatal error: server exiting
Any suggestions are welcome.
Regards,
AshayaFYI: I got this error in the process of trying the install xerces. (just placed it in the j2ee/lib folder) I'll just the default jvm installed with SOA suite 10.1.3.1.0
[Fatal Error] :-1:-1: Premature end of file.
06/11/30 20:21:30 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors. Exception is: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
06/11/30 20:21:30 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
at com.evermind.server.ApplicationStateRunning.addConnectionFactory(ApplicationStateRunning.java:1605)
at com.evermind.server.ApplicationStateRunning.initManagedDataSource(ApplicationStateRunning.java:1558)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:2024)
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1272)
at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:345)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:206)
at com.evermind.server.Application.setConfig(Application.java:413)
at com.evermind.server.Application.setConfig(Application.java:314)
at com.evermind.server.ApplicationServer.initializeDefaultApplication(ApplicationServer.java:1565)
at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications(ApplicationServer.java:1547)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:974)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.InstantiationException: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
at com.evermind.server.connector.ApplicationConnectionManager.initOutbound(ApplicationConnectionManager.java:890)
at com.evermind.server.connector.ApplicationConnectionManager.init(ApplicationConnectionManager.java:297)
at com.evermind.server.connector.deployment.ConnectorArchive.createConnectionManager(ConnectorArchive.java:1140)
at com.evermind.server.connector.deployment.ConnectorArchive.addConnectionFactory(ConnectorArchive.java:630)
at com.evermind.server.ApplicationStateRunning.addConnectionFactory(ApplicationStateRunning.java:1600)
... 12 more
06/11/30 20:21:30 WARNING: Application.setConfig Application: default is in failed state as initialization failed.
java.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating Managed DataSource ConnectorPropertySet. Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
06/11/30 20:21:30 Error initializing server: Application: default is in failed state as initialization failed
06/11/30 20:21:32 Fatal error: server exiting -
Hi,
We have inherited an EJB application which was written during the hey days of JDK 1.3.
We have an Oracle AS 10.1.2.0.2 & we have successfully migrated most of the other Applications / Oracle J PDK Applications which were developed using JDK 1.4. Unfortunately, we now need to migrate the older EJB application to Oracle AS 10.1.2.0.2.
We tried a few dry runs with our staging Oracle As 10.1.2.0.2 instances - unfortunately, the application's code just won't compile - it looks as if we need to rewrite our application to compile under JDK 1.4. We can do this - but, we are hard pressed for time & we are looking for a solution that can bail us out of this tight corner.
I would like to know if we can switch the OC4J's JDK version to 1.3 in any supported way ? If yes, we can just install another Oracle AS J2EE instance dedicated to out legacy ( !! ) EJB Application at this time & think about reqwiting & performance tuing at leisure.
If not, what other options to I have ? Have I provided enough information or do I need to post additional infromation ? Please do let me know if more information is needed.
Thanks in advance,
SandeepHi,
We also tried to follow Metalink Note:351476.1 which talks about changing the JAVA version used to run a specific OC4J instance. However, after following the steps, when we try to start our OC4J instance, we see this error:-
D:\OraInfra\opmn\bin>opmnctl startproc process-type=OC4J_JDK13
opmnctl: starting opmn managed processes...
=============================================================================
opmn id=nac014:6200
0 of 1 processes started.
ias-instance id=OraInfra.myHost.idc.oracle.com
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
OC4J/OC4J_JDK13/default_island
Error
--> Process (pid=6240)
failed to start a managed process after the maximum retry limit
Log:
D:\OraInfra\opmn\logs\OC4J~OC4J_JDK13~default_island~1
Now, when I look into the log file, I see this ( !! ) :-
06/02/21 18:18:11 Start process
06/02/21 18:18:13 Start process
06/02/21 18:18:15 Start process
I understand that OC4J tried thrice before giving up, but if there are no error, I don't know why OC4J just refuses to start ? Truly, the mystery deepens....
Regards,
Sandeep -
OWB 11g - Repository Browser no OC4J instance
Hi All,
I have installed OWB11g and its working fine. But I don't see any OC4J instance startup under my program menu->oracle home and hence i cannot start the OWB repository browser. Do i need to configure any other thing to see OC4J instance startup or for 11g there is no OC4J requried. If no OC4J is requried for OWB repository browser in 11g , how do i start the browser ?
Thanks,
Sam.Hi All,
I got it - in 11g you can use startOwbbInst.bat under <ORACLE_HOME>/owb/bin/win32 to start the OC4J instance and in 11g when you run it for the first time it will ask you to set OC4J Administrator password.
Thanks,
Sam. -
Unable to start OC4J & HTTP Server
Hi All,
I am installing Oracle 10g Application Server Release 3(10.1.3) on IBM AIX 5.3L ML 04 operating system by remote desktop using "Xmanager" software for GUI.
I choose advanced installation type "Integrated Web Server, J2EE Server and Process Management". Everything went smoothly, till The Configuration Assistants. The OPMN configuration Assistant failed.
I went ahead with completion of the installation. Later I tried
$ ./opmnctl status
Processes in Instance: ingas.localhost
------------------------------------------------+---------
ias-component | process-type | pid | status
------------------------------------------------+---------
OC4J | home | N/A | Down
HTTP_Server | HTTP_Server | N/A | Down
ASG | ASG | N/A | Down
$ ./opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=InBlrIngAIX1:6200
0 of 2 processes started.
ias-instance id=ingas.localhost
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server/
Error
--> Process (index=1,uid=1867980863,pid=553168)
failed to start a managed process after the maximum retry limit
Log:
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/logs/HTTP_Server~1
ias-component/process-type/process-set:
OC4J/home/default_group/
Error
--> Process (index=1,uid=1867980864,pid=450578)
time out while waiting for a managed process to start
Log:
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/logs/OC4J~home~default_group
~1
Please find the details in the different log files
PATH: /usr/home/oracle/product/10.1.3/OracleAS_1/opmn/logs
LOGFILENAME: opmn.log
$ tail -100 opmn.log
08/03/24 15:40:54 [pm-process] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980847:450668)
08/03/24 15:40:54 [libopmnohs] Forcefully Terminating Process: HTTP_Server~HTTP_
Server~HTTP_Server~1 (1867980847:450668)
08/03/24 15:41:56 [pm-process] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980847:450668)
08/03/24 15:41:56 [libopmnohs] Forcefully Terminating Process: HTTP_Server~HTTP_
Server~HTTP_Server~1 (1867980847:450668)
08/03/24 15:42:58 [pm-process] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980847:450668)
08/03/24 15:42:58 [libopmnohs] Forcefully Terminating Process: HTTP_Server~HTTP_
Server~HTTP_Server~1 (1867980847:450668)
08/03/24 15:42:59 [pm-process] Process Stopped: HTTP_Server~HTTP_Server~HTTP_Ser
ver~1 (1867980847:450668)
08/03/24 15:47:52 [pm-requests] Request 4 Completed. Command: /start
08/03/24 15:47:52 [pm-process] Stopping Process: OC4J~home~default_group~1 (1867
980848:536588)
08/03/24 15:47:52 [libopmnoc4j] Process Stop Error: OC4J~home~default_group~1 (1
867980848:536588)
08/03/24 15:47:52 [libopmnoc4j] Failed to construct stop command for proc: 18679
80848
08/03/24 15:47:52 [libopmnoc4j] Forcefully Terminating Process: OC4J~home~defaul
t_group~1 (1867980848:536588)
08/03/24 15:47:54 [pm-process] Process Stopped: OC4J~home~default_group~1 (18679
80848:536588)
08/03/24 16:04:24 [pm-requests] Request 6 Started. Command: /start
08/03/24 16:04:24 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980849:0)
08/03/24 16:04:24 [pm-process] Starting Process: OC4J~home~default_group~1 (1867
980850:0)
08/03/24 16:04:24 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980849:0)
08/03/24 16:14:24 [pm-requests] Request 6 Completed. Command: /start
08/03/24 16:14:24 [pm-process] Stopping Process: OC4J~home~default_group~1 (1867
980850:499966)
08/03/24 16:14:24 [libopmnoc4j] Process Stop Error: OC4J~home~default_group~1 (1
867980850:499966)
08/03/24 16:14:24 [libopmnoc4j] Failed to construct stop command for proc: 18679
80850
08/03/24 16:14:24 [libopmnoc4j] Forcefully Terminating Process: OC4J~home~defaul
t_group~1 (1867980850:499966)
08/03/24 16:14:26 [pm-process] Process Stopped: OC4J~home~default_group~1 (18679
80850:499966)
08/03/24 16:26:31 [pm-requests] Request 9 Started. Command: /start
08/03/24 16:26:31 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980851:0)
08/03/24 16:26:31 [pm-process] Starting Process: OC4J~home~default_group~1 (1867
980852:0)
08/03/24 16:26:31 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980851:0)
08/03/24 16:36:31 [pm-requests] Request 9 Completed. Command: /start
08/03/24 16:36:31 [pm-process] Stopping Process: OC4J~home~default_group~1 (1867
980852:507910)
08/03/24 16:36:31 [libopmnoc4j] Process Stop Error: OC4J~home~default_group~1 (1
867980852:507910)
08/03/24 16:36:31 [libopmnoc4j] Failed to construct stop command for proc: 18679
80852
08/03/24 16:36:31 [libopmnoc4j] Forcefully Terminating Process: OC4J~home~defaul
t_group~1 (1867980852:507910)
08/03/24 16:36:33 [pm-process] Process Stopped: OC4J~home~default_group~1 (18679
80852:507910)
08/03/24 16:49:04 [pm-requests] Request b Started. Command: /start
08/03/24 16:49:04 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980853:0)
08/03/24 16:49:04 [pm-process] Starting Process: OC4J~home~default_group~1 (1867
980854:0)
08/03/24 16:49:04 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980853:0)
08/03/24 16:59:05 [pm-requests] Request b Completed. Command: /start
08/03/24 16:59:05 [pm-process] Stopping Process: OC4J~home~default_group~1 (1867
980854:479354)
08/03/24 16:59:05 [libopmnoc4j] Process Stop Error: OC4J~home~default_group~1 (1
867980854:479354)
08/03/24 16:59:05 [libopmnoc4j] Failed to construct stop command for proc: 18679
80854
08/03/24 16:59:05 [libopmnoc4j] Forcefully Terminating Process: OC4J~home~defaul
t_group~1 (1867980854:479354)
08/03/24 16:59:07 [pm-process] Process Stopped: OC4J~home~default_group~1 (18679
80854:479354)
08/03/24 17:09:28 [pm-requests] Request f Started. Command: /start?process-type
=HTTP_Server
08/03/24 17:09:28 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980855:0)
08/03/24 17:09:29 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980855:0)
08/03/24 17:09:31 [pm-requests] Request f Completed. Command: /start?process-typ
e=HTTP_Server
08/03/24 17:29:24 [pm-requests] Request 11 Started. Command: /start?process-typ
e=HTTP_Server
08/03/24 17:29:24 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980856:0)
08/03/24 17:29:25 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980856:0)
08/03/24 17:29:27 [pm-requests] Request 11 Completed. Command: /start?process-ty
pe=HTTP_Server
08/03/25 09:43:19 [pm-requests] Request 13 Started. Command: /stop
08/03/25 09:43:19 [pm-requests] Request 13 Completed. Command: /stop
08/03/25 09:45:23 [pm-internal] OPMN server stopped. Request handling disabled.
08/03/25 09:45:23 [pm-requests] Request 14 Started. Command: /shutdown
08/03/25 09:45:23 [pm-requests] Request 14 Completed. Command: /shutdown
08/03/25 09:45:24 [internal] Logging disabled
08/03/25 09:55:10 [ons-internal] ONS server initiated
08/03/25 09:55:10 [pm-internal] PM state directory exists: /usr/home/oracle/prod
uct/10.1.3/OracleAS_1/opmn/logs/states
08/03/25 09:55:10 [pm-internal] OPMN server ready. Request handling enabled.
08/03/25 10:15:01 [pm-requests] Request 2 Started. Command: /start
08/03/25 10:15:01 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980857:0)
08/03/25 10:15:01 [pm-process] Starting Process: OC4J~home~default_group~1 (1867
980858:0)
08/03/25 10:15:01 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980857:0)
08/03/25 10:25:01 [pm-requests] Request 2 Completed. Command: /start
08/03/25 10:25:01 [pm-process] Stopping Process: OC4J~home~default_group~1 (1867
980858:565454)
08/03/25 10:25:01 [libopmnoc4j] Process Stop Error: OC4J~home~default_group~1 (1
867980858:565454)
08/03/25 10:25:01 [libopmnoc4j] Failed to construct stop command for proc: 18679
80858
08/03/25 10:25:01 [libopmnoc4j] Forcefully Terminating Process: OC4J~home~defaul
t_group~1 (1867980858:565454)
08/03/25 10:25:03 [pm-process] Process Stopped: OC4J~home~default_group~1 (18679
80858:565454)
08/03/25 10:40:24 [pm-requests] Request 4 Started. Command: /start
08/03/25 10:40:24 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980859:0)
08/03/25 10:40:24 [pm-process] Starting Process: OC4J~home~default_group~1 (1867
980860:0)
08/03/25 10:40:24 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980859:0)
08/03/25 10:50:24 [pm-requests] Request 4 Completed. Command: /start
08/03/25 10:50:24 [pm-process] Stopping Process: OC4J~home~default_group~1 (1867
980860:540870)
08/03/25 10:50:24 [libopmnoc4j] Process Stop Error: OC4J~home~default_group~1 (1
867980860:540870)
08/03/25 10:50:24 [libopmnoc4j] Failed to construct stop command for proc: 18679
80860
08/03/25 10:50:24 [libopmnoc4j] Forcefully Terminating Process: OC4J~home~defaul
t_group~1 (1867980860:540870)
08/03/25 10:50:26 [pm-process] Process Stopped: OC4J~home~default_group~1 (18679
80860:540870)
08/03/25 15:39:39 [pm-requests] Request 7 Started. Command: /start
08/03/25 15:39:39 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980861:0)
08/03/25 15:39:39 [pm-process] Starting Process: OC4J~home~default_group~1 (1867
980862:0)
08/03/25 15:39:39 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980861:0)
08/03/25 15:49:39 [pm-requests] Request 7 Completed. Command: /start
08/03/25 15:49:39 [pm-process] Stopping Process: OC4J~home~default_group~1 (1867
980862:553126)
08/03/25 15:49:39 [libopmnoc4j] Process Stop Error: OC4J~home~default_group~1 (1
867980862:553126)
08/03/25 15:49:39 [libopmnoc4j] Failed to construct stop command for proc: 18679
80862
08/03/25 15:49:39 [libopmnoc4j] Forcefully Terminating Process: OC4J~home~defaul
t_group~1 (1867980862:553126)
08/03/25 15:49:41 [pm-process] Process Stopped: OC4J~home~default_group~1 (18679
80862:553126)
08/03/25 16:03:59 [pm-requests] Request 9 Started. Command: /start
08/03/25 16:03:59 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980863:0)
08/03/25 16:03:59 [pm-process] Starting Process: OC4J~home~default_group~1 (1867
980864:0)
08/03/25 16:03:59 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Se
rver~1 (1867980863:0)
08/03/25 16:13:59 [pm-requests] Request 9 Completed. Command: /start
08/03/25 16:13:59 [pm-process] Stopping Process: OC4J~home~default_group~1 (1867
980864:450578)
08/03/25 16:13:59 [libopmnoc4j] Process Stop Error: OC4J~home~default_group~1 (1
867980864:450578)
08/03/25 16:13:59 [libopmnoc4j] Failed to construct stop command for proc: 18679
80864
08/03/25 16:13:59 [libopmnoc4j] Forcefully Terminating Process: OC4J~home~defaul
t_group~1 (1867980864:450578)
08/03/25 16:14:01 [pm-process] Process Stopped: OC4J~home~default_group~1 (18679
80864:450578)
PATH: /usr/home/oracle/product/10.1.3/OracleAS_1/opmn/logs
LOGFILENAME: HTTP_Server~1
$ tail -100 HTTP_Server~1
08/03/24 15:41:57 Stop process
/usr/home/oracle/product/10.1.3/OracleAS_1/Apache/Apache/bin/apachectl hardstop:
httpd (pid 446594) not running
08/03/24 15:42:59 Stop process
/usr/home/oracle/product/10.1.3/OracleAS_1/Apache/Apache/bin/apachectl hardstop:
httpd stopped
08/03/24 16:04:24 Start process
/usr/home/oracle/product/10.1.3/OracleAS_1/Apache/Apache/bin/apachectl startssl:
httpd (pid 446602) already running
08/03/24 16:04:24 Start process
/usr/home/oracle/product/10.1.3/OracleAS_1/Apache/Apache/bin/apachectl startssl:
httpd (pid 446602) already running
08/03/24 16:26:31 Start process
/usr/home/oracle/product/10.1.3/OracleAS_1/Apache/Apache/bin/apachectl startssl:
httpd (pid 446602) already running
08/03/24 16:26:31 Start process
/usr/home/oracle/product/10.1.3/OracleAS_1/Apache/Apache/bin/apachectl startssl:
httpd (pid 446602) already running
08/03/24 16:49:04 Start process
/usr/home/oracle/product/10.1.3/OracleAS_1/Apache/Apache/bin/apachectl startssl:
httpd (pid 446602) already running
08/03/24 16:49:04 Start process
/usr/home/oracle/product/10.1.3/OracleAS_1/Apache/Apache/bin/apachectl startssl:
httpd (pid 446602) already running
08/03/24 17:09:28 Start process
apachectl is not owned by this user
08/03/24 17:09:30 Start process
apachectl is not owned by this user
08/03/24 17:29:24 Start process
apachectl is not owned by this user
08/03/24 17:29:26 Start process
apachectl is not owned by this user
08/03/25 10:15:02 Start process
apachectl is not owned by this user
08/03/25 10:15:02 Start process
apachectl is not owned by this user
08/03/25 10:40:25 Start process
apachectl is not owned by this user
08/03/25 10:40:25 Start process
apachectl is not owned by this user
08/03/25 15:39:40 Start process
/usr/home/oracle/product/10.1.3/OracleAS_1/Apache/Apache/bin/apachectl startssl:
httpd (pid 446602) already running
08/03/25 15:39:40 Start process
/usr/home/oracle/product/10.1.3/OracleAS_1/Apache/Apache/bin/apachectl startssl:
httpd (pid 446602) already running
08/03/25 16:04:00 Start process
/usr/home/oracle/product/10.1.3/OracleAS_1/Apache/Apache/bin/apachectl startssl:
httpd (pid 446602) already running
08/03/25 16:04:00 Start process
/usr/home/oracle/product/10.1.3/OracleAS_1/Apache/Apache/bin/apachectl startssl:
httpd (pid 446602) already running
PATH: /usr/home/oracle/product/10.1.3/OracleAS_1/opmn/logs
LOGFILENAME: HTTP_Server~1
$ tail -100 OC4J~home~default_group~1
08/03/24 15:11:42 Start process
WARNING: Unable to access loaded classes.
08/03/24 15:37:52 Start process
WARNING: Unable to access loaded classes.
08/03/24 16:04:24 Start process
WARNING: Unable to access loaded classes.
08/03/24 16:26:31 Start process
WARNING: Unable to access loaded classes.
08/03/24 16:49:04 Start process
WARNING: Unable to access loaded classes.
08/03/25 10:15:02 Start process
WARNING: Unable to access loaded classes.
08/03/25 10:40:25 Start process
WARNING: Unable to access loaded classes.
08/03/25 15:39:40 Start process
WARNING: Unable to access loaded classes.
08/03/25 16:04:00 Start process
WARNING: Unable to access loaded classes.
But when i tried "http://AppserverIP:7777" from my desktop, i was able to see the welcome screen, but was unable to see the enterprise manager page at "http://AppserverIP:7777/em "
Can anyone help me out on this regard?Hi,
I am sure that only the OMPN configuration assistant has failed. Find below the last few lines of the installation log.
Trying to check if config_order xml is present
The scratch path is =/tmp/OraInstall2008-03-24_12-37-24PM
The config_order.xml is null
Starting to execute configuration assistants
Launched configuration assistant 'ADF Configuration Assistant'
Tool type is: Recommended.
The command being spawned is: '/usr/home/oracle/product/10.1.3/OracleAS_1/jdk/bin/java -classpath /usr/home/oracle/product/10.1.3/OracleAS_1/lib/xmlparserv2.jar:/usr/home/oracle/product/10.1.3/OracleAS_1/BC4J/jlib/adfmant.jar buildsys.AdfConfigOc4j /usr/home/oracle/product/10.1.3/OracleAS_1 -oc4jInstanceName=home'
Start output from spawned process:
End output from spawned process.
Configuration assistant "ADF Configuration Assistant" succeeded
Result code for launching of configuration assistant is: 0
Launched configuration assistant 'OPMN Configuration Assistant'
Tool type is: Recommended.
The command being spawned is: '/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/bin/opmnctl startall'
Start output from spawned process:
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/bin/opmnctl[20]: unlimited: 0403-009 The specified number is not valid for this command.
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=InBlrIngAIX1:6200
0 of 2 processes started.
ias-instance id=ingas.localhost
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server/
Error
--> Process (index=1,uid=1867980845,pid=446594)
time out while waiting for a managed process to start
Log:
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/logs/HTTP_Server~1
ias-component/process-type/process-set:
OC4J/home/default_group/
Error
--> Process (index=1,uid=1867980846,pid=450632)
time out while waiting for a managed process to start
Log:
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/logs/OC4J~home~default_group~1
End output from spawned process.
Invalid Exit Code. The following result code will be used for configuration assistants: 1
Configuration assistant "OPMN Configuration Assistant" failed
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/bin/opmnctl[20]: unlimited: 0403-009 The specified number is not valid for this command.
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=InBlrIngAIX1:6200
0 of 2 processes started.
ias-instance id=ingas.localhost
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server/
Error
--> Process (index=1,uid=1867980845,pid=446594)
time out while waiting for a managed process to start
Log:
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/logs/HTTP_Server~1
ias-component/process-type/process-set:
OC4J/home/default_group/
Error
--> Process (index=1,uid=1867980846,pid=450632)
time out while waiting for a managed process to start
Log:
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/logs/OC4J~home~default_group~1
Result code for launching of configuration assistant is: 1
The OUICA command is launched from /usr/home/oracle/product/10.1.3/OracleAS_1/oui/bin/ouica.sh.
Error:*** Alert: Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured. Select the failed assistants and click the 'Retry' button to retry them. ***-----------------------------------------------------------------------------
*** Starting OUICA ***
Oracle Home set to /usr/home/oracle/product/10.1.3/OracleAS_1
Configuration directory is set to /usr/home/oracle/product/10.1.3/OracleAS_1/cfgtoollogs. All xml files under the directory will be processed
User Selected: Yes/OK
Starting to execute configuration assistants
Launched configuration assistant 'OPMN Configuration Assistant'
Tool type is: Recommended.
The command being spawned is: '/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/bin/opmnctl startall'
Start output from spawned process:
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/bin/opmnctl[20]: unlimited: 0403-009 The specified number is not valid for this command.
opmnctl: starting opmn and all managed processes...
The OUICA command is launched from /usr/home/oracle/product/10.1.3/OracleAS_1/oui/bin/ouica.sh.
Error:*** Alert: The assistant you are trying to stop is a "Recommended" assistant. Not successfully running any "Recommended" assistant means your system will not be correctly configured.
Do you wish to proceed? ***-----------------------------------------------------------------------------
*** Starting OUICA ***
Oracle Home set to /usr/home/oracle/product/10.1.3/OracleAS_1
Configuration directory is set to /usr/home/oracle/product/10.1.3/OracleAS_1/cfgtoollogs. All xml files under the directory will be processed
User Selected: Yes/OK
The OUICA command is launched from /usr/home/oracle/product/10.1.3/OracleAS_1/oui/bin/ouica.sh.
Error:*** Alert: The assistant you are trying to stop is a "Recommended" assistant. Not successfully running any "Recommended" assistant means your system will not be correctly configured.
Do you wish to proceed? ***-----------------------------------------------------------------------------
*** Starting OUICA ***
Oracle Home set to /usr/home/oracle/product/10.1.3/OracleAS_1
Configuration directory is set to /usr/home/oracle/product/10.1.3/OracleAS_1/cfgtoollogs. All xml files under the directory will be processed
User Selected: Yes/OK
================================================================================
opmn id=InBlrIngAIX1:6200
0 of 2 processes started.
ias-instance id=ingas.localhost
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server/
Error
--> Process (index=1,uid=1867980853,pid=516350)
failed to start a managed process after the maximum retry limit
Log:
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/logs/HTTP_Server~1
ias-component/process-type/process-set:
OC4J/home/default_group/
Error
--> Process (index=1,uid=1867980854,pid=479354)
time out while waiting for a managed process to start
Log:
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/logs/OC4J~home~default_group~1
End output from spawned process.
Configuration assistant "OPMN Configuration Assistant" was canceled.
Result code for launching of configuration assistant is: -1
Starting to execute configuration assistants
Launched configuration assistant 'OPMN Configuration Assistant'
Tool type is: Recommended.
The command being spawned is: '/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/bin/opmnctl startall'
Start output from spawned process:
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/bin/opmnctl[20]: unlimited: 0403-009 The specified number is not valid for this command.
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=InBlrIngAIX1:6200
0 of 2 processes started.
ias-instance id=ingas.localhost
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server/
Error
--> Process (index=1,uid=1867980859,pid=548904)
failed to start a managed process after the maximum retry limit
Log:
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/logs/HTTP_Server~1
ias-component/process-type/process-set:
OC4J/home/default_group/
Error
--> Process (index=1,uid=1867980860,pid=540870)
time out while waiting for a managed process to start
Log:
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/logs/OC4J~home~default_group~1
End output from spawned process.
Invalid Exit Code. The following result code will be used for configuration assistants: 1
Configuration assistant "OPMN Configuration Assistant" failed
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/bin/opmnctl[20]: unlimited: 0403-009 The specified number is not valid for this command.
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=InBlrIngAIX1:6200
0 of 2 processes started.
ias-instance id=ingas.localhost
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server/
Error
--> Process (index=1,uid=1867980859,pid=548904)
failed to start a managed process after the maximum retry limit
Log:
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/logs/HTTP_Server~1
ias-component/process-type/process-set:
OC4J/home/default_group/
Error
--> Process (index=1,uid=1867980860,pid=540870)
time out while waiting for a managed process to start
Log:
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/logs/OC4J~home~default_group~1
Result code for launching of configuration assistant is: 1
The OUICA command is launched from /usr/home/oracle/product/10.1.3/OracleAS_1/oui/bin/ouica.sh.-----------------------------------------------------------------------------
*** Starting OUICA ***
Oracle Home set to /usr/home/oracle/product/10.1.3/OracleAS_1
Configuration directory is set to /usr/home/oracle/product/10.1.3/OracleAS_1/cfgtoollogs. All xml files under the directory will be processed
The following configuration assistants have not been successfully completed. These assistants must be completed for your product to be completely configured.
Execute file /usr/home/oracle/product/10.1.3/OracleAS_1/cfgtoollogs/configToolCommands to re-run all skipped/failed configuration assistants.
echo OPMN Configuration Assistant
/usr/home/oracle/product/10.1.3/OracleAS_1/opmn/bin/opmnctl startall
Error:*** Alert: One or more "Recommended" configuration assistants have not completed successfully. Not successfully running any "Recommended" assistant means your system will not be correctly configured. A list of the assistants that need to be run is generated in the log of this session which is located at:
/usr/home/oracle/oraInventory/logs/installActions2008-03-24_12-37-24PM.log ***
User Selected: Yes/OK
Warning:*** Alert: A configuration script needs to be run as root before installation can proceed. Leaving this window open, open another window and run '/usr/home/oracle/product/10.1.3/OracleAS_1/root.sh' as root, then return to this window and click OK to continue. ***
User Selected: Yes/OK
*** End of Installation Page***
The installation of Oracle Application Server 10g was successful, but some optional configuration assistants failed, were cancelled or skipped.
Warning:*** Alert: Do you really want to exit? ***
User Selected: Yes/OK
The OUICA command is launched from /usr/home/oracle/product/10.1.3/OracleAS_1/oui/bin/ouica.sh.
User Exit-----------------------------------------------------------------------------
*** Starting OUICA ***
Oracle Home set to /usr/home/oracle/product/10.1.3/OracleAS_1
Configuration directory is set to /usr/home/oracle/product/10.1.3/OracleAS_1/cfgtoollogs. All xml files under the directory will be processed -
I'm planning to migrate applications running on OC4J to 1.6 java version, but OC4J server is currently using 1.5 according the logs. When I try to start newly compiled web service app I'm getting standard java version incompatibility error (java.lang.UnsupportedClassVersionError: Bad version number in .class file).
Is it possible and how to set OC4J to use 1.6 java to solve this error cause?
OC4J version 10.1.3.1
Thanks for the helpHi,
You can check the Metalink Note no 396096.1
Or follow the below link,it would be helpful
http://www.club-oracle.com/forums/upgrade-jdk-oc4j-for-oracle-application-server-10-1-3-a-t1392/
Regards
Fabian -
Cannot start OC4J process using opmnctl
opmn startall hangs and times out with error on OC4J_SECURITY
Posted: Oct 3, 2008 9:46 AM Reply
FYI.
A few days ago our system drive, on our Development system, crashed and we had to rebuild it.
All of our Oracle Installations remained intact,
But
I've had to: modify kernel parameters, install packages, etc., similar to pre-install procedures.
After re-creating some of the oracle specific files in the /etc and /usr/local/bin directories
I've been able to get our databases up and running.
But
I cannot start all of the necessary processes for our Application Server.
It hangs for several minutes then returns this error message:
ias-component/process-type/process-set:
OC4J/OC4J_SECURITY/default_island
Error
--> Process (pid=6304)
time out while waiting for a managed process to start
Log:
/oracle6/app/oracle/product/10.1.2as/opmn/logs/OC4J~OC4J_SECURITY~default_island~1
There is no helpful information in the, above mentioned, log file.
opmnctl status displays this information:
ias-component | process-type | pid | status
======================================
OC4J | OC4J_SECURITY | 0 | NONE
??? My thoughts are:
1. I've neglected to re-create a necessary Oracle specific file on the system drive, or
2. This is a port access issue due to firewalls or something of that nature.
Can you please help me here?
Thanks- GaryThank you for the info.
Also
I forgot to add one additional thought:
Could it be a linking issue, to some of the library files??
I don't know why this thought has crossed my mind,
but I know in times passed, (probably from years ago), I have had to do a relink of some sort to resolve
whatever issue it happened to be at the time.
I'd appreciate you thoughts on the 'relink' idea.
In the meantime, I will double check myself on having satisfied all of the necessary install requirements.
Thanks again- Gary -
We have OC4j running as an automatic service in Windows 2008 server. Now we have installed Apex listener but whenever the server is restarted it loses its config. I have researched and found that if we setup a temp dir {C:\myconfig} and set OC4J service settings to this folder then Apex will look for this folder on its startup.
Is there a way that we can modify the parameters for OC4J ,
can somebody help me the syntax of service creation and also setting up that temp dir
-Djava.io.tmpdir=c:\somedirectory
javaservice -install “Oracle OC4J” “C:\Program Files\Java\jdk1.5.0_11\jre\bin\client\jvm.dll” -XX:MaxPermSize=128m "-Djava.io.tmpdir=c:\OC4J\apex_lsnr_config"
“-Djava.class.path=D:\OC4J\j2ee\home\oc4j.jar” -start oracle.oc4j.loader.boot.BootStrap -description “oc4j 10.1.3”thank you
NSHi NS,
what's your actual target?
-Djava.io.tmpdir=c:\somedirectorybasically looks good. However, I'm not sure why you want to use it to store your APEX Listener's configuration. Using
javaservice -install “Oracle OC4J” “C:\Program Files\Java\jdk1.5.0_11\jre\bin\client\jvm.dll” -XX:MaxPermSize=128m "-Djava.io.tmpdir=c:\OC4J\apex_lsnr_config"
“-Djava.class.path=D:\OC4J\j2ee\home\oc4j.jar” -start oracle.oc4j.loader.boot.BootStrap -description “oc4j 10.1.3”I see two possible issues: One with your tmpdir, the other one with your JDK version.
Let's start with the latter:
As documented in APEX Listener's Installation Guide, a JDK 1.6.0 Update 20 or higher is required. It seems your OC4J is using 1.5.0 Update 11. You'll very likely encounter other issues than just losing your configuration upon restart.
Concerning your tmpdir
The option you set affects the whole OC4J. I'm not sure you acutally want all temp stuff to be processed in there. Despite that, it stays a temporary location and is due to be erased by OC4J upon each start.
The recommended way to store your APEX Listener's configuration would be to set the parameter config.dir in the web.xml of your apex.war . I really recommend to edit the web.xml before deploying the war file instead of modifying the web.xml after depoyment, so you'll be sure that even after a redeployment the proper configuration will be used.
-Udo -
Register non web application on SSO
how can i register non web application ? I have installed app server , oid and was able to sync with active directory. I need to integrate and have a single sign on for all my application . What will be the next step ?
Thanks Kiran for your prompt response. I dont have any web based application. I have some of the applications where backends are oracle and sybase. How can a provide a single sign on for the application. Once the user enters his user name or password. If he has the prvilege the use multiple apps he dont have to enter username and password for each application. I had syn with windows AD. I have oracle db on unix. I believe i have to sync with EM users for all oracle db. what about sybase ?? how can i have the single sign on . I have OID, IAS installed on a single windows server.
Yesterda when i restarted the server i got the following error. when i checked the opmnctl status
ias-component | process-type | pid | status
------------------------------------------------+---------
DSA | DSA | N/A | Down
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | OC4J_SECURITY | N/A | Down
HTTP_Server | HTTP_Server | 2088 | Alive
OID | OID | N/A | Down
earlier oc4j_security and OID was alive now only http_server is alive
when i tried to start the process i get the following errors
E:\OraHome_1\opmn\bin>opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=CV2K3TESTAPP02:6200
1 of 3 processes started.
ias-instance id=iasrep.cv2k3testapp02.corp.cvpsnet.net
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
OC4J/OC4J_SECURITY/default_island
Error
--> Process (pid=0)
oid dependency failed
OID
failed to start a managed process because a dependency check failed
Log:
none
ias-component/process-type/process-set:
OID/OID/OID
Error
--> Process (pid=0)
database dependency failed
iasrep
failed to start a managed process because a dependency check failed
Log:
I would appreciate if anyone could help me -
Oracle 10gR2 WebService Call-In & Call-Out via PL/SQL (Step-by-Step Guide)
Hi Everyone,
This guide is for those of you who tried to Call-In and Call-Out WebService via Oracle 10gR2 using PL/SQL but failed a couple of times, re-installed a couple of times and retry, got it to work but don't know what made it work scenarios.
Hope this helps ;-)
Thanks,
Henry Wu
Instructions on how to use Oracle10gR2 Webservice Call-Out feature (Oracle JAX-RPC DII - Dynamic Invocation (DII) APIs)
PREREQUISITE
=================================================================
1. Download Oracle Database 10g Release 2 (10.2.0.1.0) (ZIP, ~655MB)
http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winsoft.html
http://download.oracle.com/otn/nt/oracle10g/10201/10201_database_win32.zip
1.1 Choose Enterprise Edition
2. Download 10.1.3.1 Callout Utility for 10g (R1 +R2) RDBMS (ZIP, ~13MB)
http://download.oracle.com/technology/sample_code/tech/java/jsp/dbws-callout-utility-10131.zip
2.1 Extract to C:\oracle\product\10.2.0\db_1\dbws_callout_utility_10131
3. Download OC4J Standalone - Oracle Containers for J2EE (OC4J) 10g Release 3 (10.1.3.3) (ZIP, ~93MB; Pure Java—runs on all certified platforms)
http://www.oracle.com/technology/software/products/ias/index.html (Download Site)
http://download.oracle.com/otn/java/oc4j/101330/oc4j_extended_101330.zip
3.1 Extract to C:\oracle\product\10.2.0\db_1\oc4j_extended_101330
STEP-BY-STEP PROCEDURES
=================================================================
1. Prepare the database
1.1 Connect to SYS account (or any account that can connect as SYSDBA)
1.2 alter system set shared_pool_size=96M scope=both
1.3 alter system set java_pool_size=80M scope=both
1.4 ALTER USER SCOTT ACCOUNT UNLOCK;
1.5 ALTER USER SCOTT IDENTIFIED BY "tiger";
1.6 ALTER USER SCOTT QUOTA UNLIMITED ON USERS;
1.7 GRANT PUBLIC TO SCOTT;
1.8 GRANT Create Public Synonym TO SCOTT;
2. Load Oracle SOAP client to SCOTT (for Oracle 10g Release 2 Database)
2.1 Commands
2.1.1 Open command prompt (cmd.exe)
2.1.2 loadjava -u scott/tiger -r -v -f -genmissing -s -grant public C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\webservices\lib\soap.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\lib\dms.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\jlib\javax-ssl-1_1.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\lib\servlet.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\lib\mail.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\lib\activation.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\lib\http_client.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\lib\ejb.jar
2.1.3 It will take around 3 minutes and you will see "something" like the following when it completes (count may not be exact) :
Classes Loaded: 909
Resources Loaded: 75
Sources Loaded: 0
Published Interfaces: 0
Classes generated: 0
Classes skipped: 0
Synonyms Created: 984
Errors: 0
2.1.3 Close this command prompt
3. Load Oracle JAX-RPC client to SYS (for Oracle 10g Release 2 Database)
3.1 Commands
3.1.1 Open command prompt (cmd.exe)
3.1.2 loadjava -u sys/oracle -r -v -f -genmissing -s -grant public C:\oracle\product\10.2.0\db_1\dbws_callout_utility_10131\sqlj\lib\dbwsclientws.jar C:\oracle\product\10.2.0\db_1\dbws_callout_utility_10131\sqlj\lib\dbwsclientdb102.jar
3.1.2.1 It will take around 15 minutes and you will see "something" like following when it completes (count may not be exact) :
Classes Loaded: 4027
Resources Loaded: 81
Sources Loaded: 0
Published Interfaces: 0
Classes generated: 61
Classes skipped: 0
Synonyms Created: 4108
Errors: 0
3.1.3 Close this command prompt
4. Execute UTL_DBWS packages to SYS (for Oracle 10g Release 2 Database)
4.1 Commands
4.1.1 Connect to SYS account only
4.1.2 Execute the following (in TOAD you should execute them as Script, press the "thunder" button)
4.2.1 @"C:\oracle\product\10.2.0\db_1\dbws_callout_utility_10131\sqlj\lib\utl_dbws_decl.sql"
4.2.2 @"C:\oracle\product\10.2.0\db_1\dbws_callout_utility_10131\sqlj\lib\utl_dbws_body.sql"
4.2.3 CREATE PUBLIC SYNONYM utl_dbws FOR sys.utl_dbws;
5. Call-out a free Web Service using SCOTT
5.1 Commands
5.1.1 Connect to user SCOTT with password of TIGER
5.1.2 Copy and Paste the following "Anonymous Block" (sample #1) and execute it :
5.1.2.1 It sould return "PL/SQL DII client return ===> Redwood City"
declare
service_ utl_dbws.SERVICE;
call_ utl_dbws.CALL;
service_qname utl_dbws.QNAME;
port_qname utl_dbws.QNAME;
operation_qname utl_dbws.QNAME;
string_type_qname utl_dbws.QNAME;
retx ANYDATA;
retx_string VARCHAR2(1000);
retx_double number;
retx_len number;
params utl_dbws.ANYDATA_LIST;
l_input_params utl_dbws.anydata_list;
l_result ANYDATA;
l_namespace VARCHAR2(1000);
begin
-- open internet explorer and navigate to http://webservices.imacination.com/distance/Distance.jws?wsdl
-- search for 'targetNamespace' in the wsdl
l_namespace := 'http://webservices.imacination.com/distance/Distance.jws';
-- search for 'service name' in the wsdl
service_qname := utl_dbws.to_qname(l_namespace, 'DistanceService');
-- this is just the actual wsdl url
service_ := utl_dbws.create_service(HTTPURITYPE('http://webservices.imacination.com/distance/Distance.jws?wsdl'), service_qname);
-- search for 'portType name' in the wsdl
port_qname := utl_dbws.to_qname(l_namespace, 'Distance');
-- search for 'operation name' in the wsdl
-- there will be a lot, we will choose 'getCity'
operation_qname := utl_dbws.to_qname(l_namespace, 'getCity');
-- bind things together
call_ := utl_dbws.create_call(service_, port_qname, operation_qname);
-- default is 'FALSE', so we make it 'TRUE'
utl_dbws.set_property(call_, 'SOAPACTION_USE', 'TRUE');
-- search for 'operation soapAction' under <wsdl:operation name="getCity">
-- it is blank, so we make it ''
utl_dbws.set_property(call_, 'SOAPACTION_URI', '');
-- search for 'encodingstyle' under <wsdl:operation name="getCity">
utl_dbws.set_property(call_, 'ENCODINGSTYLE_URI', 'http://schemas.xmlsoap.org/soap/encoding/');
-- search for 'binding style'
utl_dbws.set_property(call_, 'OPERATION_STYLE', 'rpc');
-- search for 'xmlns:xs' to know the value of the first parameter
-- under <wsdl:message name="getCityResponse"> you will see the line <wsdl:part name="getCityReturn" type="xsd:string" />
-- thus the return type is 'string", removing 'xsd:'
string_type_qname := utl_dbws.to_qname('http://www.w3.org/2001/XMLSchema', 'string');
-- in the line <wsdl:operation name="getCity" parameterOrder="zip">
-- the parameterOrder is 'zip', thus we put in 'zip'
-- the 'ParameterMode.IN' is used to specify that we will be passing an "In Parameter" to the web service
-- the 'ParameterMode.IN' is a constant variable in the sys.utl_dbws package
utl_dbws.add_parameter(call_, 'zip', string_type_qname, 'ParameterMode.IN');
utl_dbws.set_return_type(call_, string_type_qname);
-- supply the In Parameter for the web service
params(0) := ANYDATA.convertvarchar('94065');
-- invoke the web service
retx := utl_dbws.invoke(call_, params);
-- access the returned value and output it to the screen
retx_string := retx.accessvarchar2;
dbms_output.put_line('PL/SQL DII client return ===> ' || retx_string);
-- release the web service call
utl_dbws.release_service(service_);
end;
5.1.3 Copy and Paste the following "Anonymous Block" (sample #2) and execute it :
5.1.3.1 It should return "PL/SQL DII client return ===> twelve thousand three hundred and forty five"
declare
service_ utl_dbws.SERVICE;
call_ utl_dbws.CALL;
service_qname utl_dbws.QNAME;
port_qname utl_dbws.QNAME;
operation_qname utl_dbws.QNAME;
string_type_qname utl_dbws.QNAME;
retx ANYDATA;
retx_string VARCHAR2(1000);
retx_double number;
retx_len number;
params utl_dbws.ANYDATA_LIST;
l_input_params utl_dbws.anydata_list;
l_result ANYDATA;
l_namespace VARCHAR2(1000);
begin
-- open internet explorer and navigate to http://www.dataaccess.com/webservicesserver/numberconversion.wso?WSDL
-- search for 'targetNamespace' in the wsdl
l_namespace := 'http://www.dataaccess.com/webservicesserver/';
-- search for 'service name' in the wsdl
service_qname := utl_dbws.to_qname(l_namespace, 'NumberConversion');
-- this is just the actual wsdl url
service_ := utl_dbws.create_service(HTTPURITYPE('http://www.dataaccess.com/webservicesserver/numberconversion.wso?WSDL'), service_qname);
-- search for 'portType name' in the wsdl
port_qname := utl_dbws.to_qname(l_namespace, 'NumberConversionSoap');
-- search for 'operation name' in the wsdl
-- there will be a lot, we will choose 'NumberToWords'
operation_qname := utl_dbws.to_qname(l_namespace, 'NumberToWords');
-- bind things together
call_ := utl_dbws.create_call(service_, port_qname, operation_qname);
-- default is 'FALSE', so we make it 'TRUE'
utl_dbws.set_property(call_, 'SOAPACTION_USE', 'TRUE');
-- search for 'operation soapAction' under <operation name="NumberToWords">
-- it is blank, so we make it ''
utl_dbws.set_property(call_, 'SOAPACTION_URI', '');
-- search for 'encodingstyle'
-- cannot find xml tag 'encodingstyle', so we just use the following as the generic encoding style
utl_dbws.set_property(call_, 'ENCODINGSTYLE_URI', 'http://schemas.xmlsoap.org/soap/encoding/');
-- search for 'binding style'
-- although 'document' was used, it produced an error, thus we will use 'rpc'
-- this value is generally only 'document' or 'rpc'
utl_dbws.set_property(call_, 'OPERATION_STYLE', 'rpc');
-- search for 'xmlns:xs' to know the value of the first parameter
-- under <xs:element name="NumberToWords"> you will see the line <xs:element name="ubiNum" type="xs:unsignedLong" />
-- thus the return type is 'unsignedlong', removing 'xs:'
-- however, upon testing, using 'unsignedlong' produced an error, while 'string' did not, so we will use 'string'
string_type_qname := utl_dbws.to_qname('http://www.w3.org/2001/XMLSchema', 'string');
-- under <xs:element name="NumberToWords"> you will see the line <xs:element name="ubiNum" type="xs:unsignedLong" />
-- the element name is 'ubiNum', thus we put in 'ubiNum'
-- the 'ParameterMode.IN' is used to specify that we will be passing an "In Parameter" to the web service
-- the 'ParameterMode.IN' is a constant variable in the utl_dbws package
utl_dbws.add_parameter(call_, 'ubiNum', string_type_qname, 'ParameterMode.IN');
utl_dbws.set_return_type(call_, string_type_qname);
-- supply the In Parameter for the web service
params(0) := ANYDATA.convertvarchar('12345');
-- invoke the web service
retx := utl_dbws.invoke(call_, params);
-- access the returned value and output it to the screen
retx_string := retx.accessvarchar2;
dbms_output.put_line('PL/SQL DII client return ===> ' || retx_string);
-- release the web service call
utl_dbws.release_service(service_);
end;
NOTES AND REFERENCES
=================================================================
This detailed step-by-step guide was produced with the following guide http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm
I could still not load Oracle JAX-RPC client to SCOTT (step 4) as it produces an error. See the following for more details :
http://forums.oracle.com/forums/thread.jspa?threadID=633219&tstart=0
Also, I could not consume some of the other free Web Services out there for reasons I don't know, hope someone can help clarify. See the following for more details :
http://forums.oracle.com/forums/thread.jspa?threadID=630733&tstart=0
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Instructions on how to use Oracle10gR2 Webservice Call-In feature
PREREQUISITE
=================================================================
1. Download Oracle Database 10g Release 2 (10.2.0.1.0) (ZIP, ~655MB)
http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winsoft.html
http://download.oracle.com/otn/nt/oracle10g/10201/10201_database_win32.zip
1.1 Choose Enterprise Edition
2. Download OC4J Standalone - Oracle Containers for J2EE (OC4J) 10g Release 3 (10.1.3.3) (ZIP, ~93MB; Pure Java—runs on all certified platforms)
http://www.oracle.com/technology/software/products/ias/index.html (Download Site)
http://download.oracle.com/otn/java/oc4j/101330/oc4j_extended_101330.zip
2.1 Extract to C:\oracle\product\10.2.0\db_1\oc4j_extended_101330
STEP-BY-STEP PROCEDURES
=================================================================
1. Connect to SYS account and create user STORE
CREATE USER store IDENTIFIED BY store;
GRANT connect, resource TO store;
2. Connect to Oracle using the user STORE and password STORE
CONNECT store/store;
3. Execute the following objects for this excercise
CREATE SEQUENCE order_sq;
CREATE TABLE product_types (
product_type_id INTEGER
CONSTRAINT product_types_pk PRIMARY KEY,
name VARCHAR2(10) NOT NULL
CREATE TABLE products (
product_id INTEGER
CONSTRAINT products_pk PRIMARY KEY,
product_type_id INTEGER
CONSTRAINT products_fk_product_types
REFERENCES product_types(product_type_id),
name VARCHAR2(30) NOT NULL,
description VARCHAR2(50),
price NUMBER(5, 2)
CREATE TABLE customers (
customer_id INTEGER
CONSTRAINT customers_pk PRIMARY KEY,
first_name VARCHAR2(10) NOT NULL,
last_name VARCHAR2(10) NOT NULL,
dob DATE,
phone VARCHAR2(12)
CREATE TABLE orders (
order_id INTEGER
CONSTRAINT orders_pk PRIMARY KEY,
product_id INTEGER
CONSTRAINT purchases_fk_products
REFERENCES products(product_id),
customer_id INTEGER
CONSTRAINT purchases_fk_customers
REFERENCES customers(customer_id),
quantity INTEGER NOT NULL
INSERT INTO customers (
customer_id, first_name, last_name, dob, phone
) VALUES (
1, 'John', 'Brown', '01-JAN-1965', '800-555-1211'
INSERT INTO product_types (
product_type_id, name
) VALUES (
1, 'Book'
INSERT INTO products (
product_id, product_type_id, name, description, price
) VALUES (
1, 1, 'Modern Science', 'A description of modern science', 19.95
COMMIT;
CREATE OR REPLACE PACKAGE dbfunc AS
FUNCTION place_order (
p_product_id INTEGER,
p_customer_id INTEGER,
p_quantity INTEGER
RETURN VARCHAR2;
END dbfunc;
CREATE OR REPLACE PACKAGE BODY dbfunc AS
FUNCTION place_order (
p_product_id INTEGER,
p_customer_id INTEGER,
p_quantity INTEGER
RETURN VARCHAR2 IS
v_customer_count INTEGER;
v_product_count INTEGER;
v_order_id INTEGER;
BEGIN
-- count the number of products with the
-- supplied p_product_id (should be 1 if the product exists)
SELECT COUNT(*)
INTO v_product_count
FROM products
WHERE product_id = p_product_id;
IF v_product_count = 0 THEN
RETURN 'No such product';
END IF;
-- count the number of customers with the
-- supplied p_customer_id (should be 1)
SELECT COUNT(*)
INTO v_customer_count
FROM customers
WHERE customer_id = p_customer_id;
IF v_customer_count = 0 THEN
RETURN 'No such customer';
END IF;
-- get the next value from orders_sq
SELECT order_sq.nextval
INTO v_order_id
FROM dual;
-- place the order
INSERT INTO orders (
order_id, product_id, customer_id, quantity
) VALUES (
v_order_id, p_product_id, p_customer_id, p_quantity
COMMIT;
RETURN 'Order placed with id of ' || v_order_id;
EXCEPTION
WHEN OTHERS THEN
ROLLBACK;
RETURN 'Order not placed';
END place_order;
END dbfunc;
4. Install and Configure OC4J
4.1 Change Directory
4.1.1 Open command prompt (cmd.exe)
4.1.2 CD C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\bin
4.2 Configure Environment variables (type in command prompt)
4.2.1 set JAVA_HOME=C:\oracle\product\10.2.0\db_1\jdk
4.2.2 set ORACLE_HOME=C:\oracle\product\10.2.0\db_1\oc4j_extended_101330
4.3 Starting OC4J for the first time
4.3.1 oc4j -start
4.3.2 If this is not your first time to "start" oc4j, go to step 4.3.4
4.3.3 Set oc4jadmin password (use the password "oracle" w/o the quotation marks)
08/03/21 17:13:54 Set OC4J administrator's password (password text will not be displayed as it is entered)
Enter password:
Confirm password:
Confirm password: The password for OC4J administrator "oc4jadmin" has been set.
08/03/21 17:14:01 The OC4J administrator "oc4jadmin" account is activated.
4.3.4 OC4J has started if you see the message :
08/03/21 17:14:16 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
4.3.5 Leave this command prompt open
4.4 Configure Data Source
4.4.1 Open a new command prompt via the cmd.exe command
4.4.2 type "hostname" and then press enter
4.4.3 Keep this command prompt open for later use
4.4.4 Open Windows Explorer and navigate to the folder C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\config
4.4.5 Open the file data-sources.xml
4.4.6 Modify and Save the file so that it will look something like the following :
4.4.6.1 Note that "hpv2710us" is my hostname found in step 4.4.2
4.4.6.2 Note that "ORCLDEV" is the name of my Oracle Instance. (Default installation uses ORCL only)
<connection-pool name="Example Connection Pool">
<connection-factory factory-class="oracle.jdbc.pool.OracleDataSource"
user="store"
password="store"
url="jdbc:oracle:thin:@//hpv2710us:1521/ORCLDEV">
</connection-factory>
</connection-pool>
4.4.7 Close the text editor
4.4.8 Close the Windows Explorer
4.4.9 Close this command prompt (type exit)
5. Publishing a PL/SQL Package as a Database Web Service
5.1 Create the config.xml file
5.1.1 Open Notepad.exe
5.1.2 Copy and Paste the following :
5.1.2.1 Note that "hpv2710us" is my hostname found in step 4.4.2
5.1.2.2 Note that "ORCLDEV" is the name of my Oracle Instance. (Default installation uses ORCL only)
<web-service>
<display-name>PLSQL Web Service</display-name>
<description>PLSQL Sample</description>
<destination-path>./dbfunc.ear</destination-path>
<temporary-directory>/tmp</temporary-directory>
<context>/plsqlsample</context>
<stateless-stored-procedure-java-service>
<jar-generation>
<schema>store/store</schema>
<db-url>jdbc:oracle:thin:@hpv2710us:1521:ORCLDEV</db-url>
<prefix>db.func.place.order</prefix>
<db-pkg-name>dbfunc</db-pkg-name>
</jar-generation>
<uri>/dbfunc</uri>
<database-JNDI-name>jdbc/OracleDS</database-JNDI-name>
</stateless-stored-procedure-java-service>
<wsdl-gen>
<wsdl-dir>wsdl</wsdl-dir>
<option name="force">true</option>
<option name="httpServerURL">http://localhost:8888</option>
</wsdl-gen>
<proxy-gen>
<proxy-dir>proxy</proxy-dir>
<option name="include-source">true</option>
</proxy-gen>
</web-service>
5.1.3 Save file as config.xml in the directory C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\config
5.1.3.1 Note it should be config.xml and not config.txt
5.1.4 Close the text editor
5.2 Publish dbfunc Oracle Package as a Web Service
5.2.1 Open a new command prompt via the cmd.exe command
5.2.2 CD C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home
5.2.3 mkdir ear
5.2.4 CD ear
5.2.5 set ORACLE_HOME=C:\oracle\product\10.2.0\db_1\oc4j_extended_101330
5.2.6 set CLASSPATH=.;%ORACLE_HOME%\webservices\lib\wsdl.jar;%ORACLE_HOME%\lib\xmlparserv2.jar;%ORACLE_HOME%\soap\lib\soap.jar
5.2.7 java -jar %ORACLE_HOME%\webservices\lib\WebServicesAssembler.jar -config C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\config\config.xml
Please wait ...
STORE.DBFUNC
5.2.8 java -jar %ORACLE_HOME%\j2ee\home\admin_client.jar deployer:oc4j:localhost:23791 oc4jadmin oracle -deploy -file C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\ear\dbfunc.ear -deploymentName dbfunc
08/03/21 17:46:23 Notification ==>Application Deployer for dbfunc COMPLETES. Operation time: 296 msecs
5.2.9 java -jar %ORACLE_HOME%\j2ee\home\admin_client.jar deployer:oc4j:localhost:23791 oc4jadmin oracle -bindWebApp -appname dbfunc -webModuleName dbfunc_web
5.2.10 java -jar %ORACLE_HOME%\j2ee\home\admin_client.jar deployer:oc4j:localhost:23791 oc4jadmin oracle -bindAllWebApps -appname dbfunc
5.2.11 Close this command prompt (type exit)
6. Test dbfunc Web Service
6.1 Restart OC4J
6.1.1 Open the command prompt you used to start OC4J in step 4.1.1/4.3.1
6.1.2 In the keyboard, hit Ctrl+C
6.1.2.1 Type "Y" and then hit Enter
08/03/21 18:02:51 Shutting down OC4J...
Terminate batch job (Y/N)? Y
6.1.2.2 Note that the command prompt should still be open
6.1.2.2.1 If you accidentally closed the command prompt just do the following
6.1.2.2.1.1 Do 4.1.1 to 4.2.2 and then proceed to 6.1.3
6.1.3 oc4j -start
Starting OC4J from C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home...
08/03/21 18:07:57 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
6.1.4 Leave this command prompt open
6.2 Use the Web Service to "Order an Item"
6.2.1 Connect to Oracle using the user STORE and password STORE
6.2.2 select * from orders
6.2.2.1 Zero row should return
6.2.3 Open Internet Explorer
6.2.4 Navigate to http://localhost:8888/plsqlsample/dbfunc
6.2.5 Input the following :
6.2.5.1 param0 value: 1
6.2.5.2 param1 value: 1
6.2.5.3 param2 value: 10
6.2.6 Click the Invoke button
6.2.7 A pop-up window will appear having the following contents :
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <ns1:placeOrderResponse xmlns:ns1="http://db.func.place.order/dbfunc.wsdl" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<return xsi:type="xsd:string">Order placed with id of 1</return>
</ns1:placeOrderResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
6.2.8 Go back to SQLPLUS or Toad and execute "select * from orders" again
6.2.8.1 There should be one row
ORDER_ID, PRODUCT_ID, CUSTOMER_ID, QUANTITY
1, 1, 1, 10
NOTES AND REFERENCES
=================================================================
This detailed step-by-step guide was produced with the following article by Jason Price http://www.oracle.com/technology/pub/articles/price_10gws.htmlSuccess!!!
I had to grant this permissions:
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'getClassLoader', '' );
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'accessClassInPackage.sun.util.calendar', '' );
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'setFactory', '' )
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.util.PropertyPermission', 'HTTPClient.socket.idleTimeout', 'write' );
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.net.SocketPermission', 'localhost', 'resolve' );
call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.net.SocketPermission', '127.0.0.1:8084', 'connect,resolve' );
As I wrote earlier, WS_TEST is my user into which I load JAX-RPC client. Note that, if you load JAX-RPC client into user another than SYS, you have NOT to use -s -grant public option (wassam wrote about this too). Another thing is that I (finally) didn't load OC4J. To consume WebService I use utl_dbws.invoke(call_Handle CALL, request SYS.XMLTYPE) function.
voytec001 -
Hi,
I have installed Orcle grid control10.2.0.1 on node 1.Its a 11gr2 rac database.
But i am not able to start OEM.
[oracle@rac1 bin]$ ./opmnctl status
Processes in Instance: EnterpriseManager0.rac1.raczone.com
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | 0 | NONE
HTTP_Server | HTTP_Server | 8176 | Init
LogLoader | logloaderd | 0 | NONE
dcm-daemon | dcm-daemon | 0 | NONE
OC4J | home | 8168 | Init
WebCache | WebCache | 8191 | Alive
WebCache | WebCacheAdmin | N/A | Down
[oracle@rac1 bin]$ ./opmnctl startproc ias-component=OC4J
opmnctl: starting opmn managed processes...
================================================================================
opmn id=rac1.raczone.com:6202
no processes matched this request
[oracle@rac1 bin]$ ./opmnctl startproc ias-component=DSA
opmnctl: starting opmn managed processes...
================================================================================
opmn id=rac1.raczone.com:6202
no processes matched this request
[oracle@rac1 bin]$ ./opmnctl startproc ias-component=HTTP_Server
opmnctl: starting opmn managed processes...
================================================================================
opmn id=rac1.raczone.com:6202
no processes matched this request
[oracle@rac1 bin]$ ./opmnctl status
Processes in Instance: EnterpriseManager0.rac1.raczone.com
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | 0 | NONE
HTTP_Server | HTTP_Server | 8176 | Alive
LogLoader | logloaderd | 0 | NONE
dcm-daemon | dcm-daemon | 0 | NONE
OC4J | home | 0 | NONE
WebCache | WebCache | 8191 | Alive
WebCache | WebCacheAdmin | N/A | Down
[oracle@rac1 bin]$ opmnctl startproc process-type=OC4J_EMPROV
-bash: opmnctl: command not found
[oracle@rac1 bin]$ ./opmnctl startproc process-type=OC4J_EMPROV
opmnctl: starting opmn managed processes...
================================================================================
opmn id=rac1.raczone.com:6202
no enabled components for this request
[oracle@rac1 bin]$ ./opmnctl startproc process-type=DSA
opmnctl: starting opmn managed processes...
================================================================================
opmn id=rac1.raczone.com:6202
no enabled components for this request
[oracle@rac1 bin]$ ./opmnctl status
Processes in Instance: EnterpriseManager0.rac1.raczone.com
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | 0 | NONE
HTTP_Server | HTTP_Server | 8176 | Alive
LogLoader | logloaderd | 0 | NONE
dcm-daemon | dcm-daemon | 0 | NONE
OC4J | home | 0 | NONE
WebCache | WebCache | 8191 | Alive
WebCache | WebCacheAdmin | N/A | Down
[oracle@rac1 bin]$ ./opmnctl stopall
opmnctl: stopping opmn and all managed processes...
[oracle@rac1 bin]$ ./opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=rac1.raczone.com:6202
3 of 4 processes started.
ias-instance id=EnterpriseManager0.rac1.raczone.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
OC4J/home/default_island
Error
--> Process (pid=9016)
failed to start a managed process after the maximum retry limit
Log:
/raczone/oem/OracleHomes/oms10g/opmn/logs/OC4J~home~default_island~1
[oracle@rac1 bin]$ ./opmnctl status
Processes in Instance: EnterpriseManager0.rac1.raczone.com
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | N/A | Down
HTTP_Server | HTTP_Server | 8936 | Alive
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | N/A | Down
WebCache | WebCache | 8963 | Alive
WebCache | WebCacheAdmin | 8945 | Alive
[oracle@rac1 bin]$ ./opmnctl startproc process-type=DSA
opmnctl: starting opmn managed processes...
================================================================================
opmn id=rac1.raczone.com:6202
no enabled components for this request
[oracle@rac1 bin]$ ./opmnctl status
Processes in Instance: EnterpriseManager0.rac1.raczone.com
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | N/A | Down
HTTP_Server | HTTP_Server | 8936 | Alive
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | N/A | Down
WebCache | WebCache | 8963 | Alive
WebCache | WebCacheAdmin | 8945 | Alive
[oracle@rac1 bin]$ cd ../
[oracle@rac1 opmn]$ cd ../../agent10g/bin/
[oracle@rac1 bin]$ ls -lrt emctl
-rwxr--r-- 1 oracle oinstall 11777 Jun 19 20:59 emctl
[oracle@rac1 bin]$ ./emctl status agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Malformed URL: http://rac1.raczone.com:%EM_SERVLET_PORT%/emd/main/
Error connecting to http://rac1.raczone.com:%EM_SERVLET_PORT%/emd/main/
[oracle@rac1 bin]$Its a fresh installation
nothing is logged in opms.log file
[oracle@rac1 logs]$ ls -lrt
total 196
-rw------- 1 oracle oinstall 0 Jun 19 20:48 opmn.log
-rw-r--r-- 1 root root 90 Jun 25 17:06 DSA~1
-rw-r--r-- 1 root root 76 Jun 25 17:06 LogLoader~logloaderd~1
-rw-r--r-- 1 root root 51 Jun 25 17:06 dcm-daemon~dcm-daemon~dcm~1
-rw------- 1 oracle oinstall 9043 Jul 4 12:26 ons.log
-rw------- 1 oracle oinstall 3479 Jul 4 12:26 WebCache~WebCacheAdmin~1
-rw------- 1 oracle oinstall 3400 Jul 4 12:26 WebCache~WebCache~1
-rw------- 1 oracle oinstall 14009 Jul 4 12:26 HTTP_Server~1
-rw------- 1 oracle oinstall 77612 Jul 4 12:26 OC4J~home~default_island~1
drwx------ 2 oracle oinstall 4096 Jul 4 12:26 states
-rw------- 1 oracle oinstall 57908 Jul 4 12:26 ipm.log
[oracle@rac1 logs]$ -
Oracle application server 10.1.3 not starting after crash
Hi, I've been struggling with starting up application server 10.1.3 on Windows XP Professional SP2 following a system crash (power outage). When we restarted the machine we noted that the database wasn't coming up because our redo logs were full. We backed up the database with RMAN (freeing the logs) and the database started without a problem.
We then tried to log into application server control from the website but were faced with a connection error. It is definitely the correct page as it was bookmarked on the server. I cannot start application server from the command line using opmnctl. Here is the output:
C:\product\10.1.3\OracleAS_1\opmn\bin>opmnctl status
Processes in Instance: appserv.MSRSFR
------------------------------------------------+---------
ias-component | process-type | pid | status
------------------------------------------------+---------
OC4J | home | N/A | Down
ASG | ASG | N/A | Down
C:\product\10.1.3\OracleAS_1\opmn\bin>echo %time%
11:32:13.78
C:\product\10.1.3\OracleAS_1\opmn\bin>opmnctl startall
opmnctl: starting opmn and all managed processes...
==================================================
opmn id=msrsfr:6200
0 of 1 processes started.
ias-instance id=appserv.MSRSFR
++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
OC4J/home/default_group/
Error
--> Process (index=1,uid=1339952132,pid=2136)
failed to start a managed process after the maximum retry limit
Log:
C:\product\10.1.3\OracleAS_1\opmn\logs\OC4J~home~default_group~1
C:\product\10.1.3\OracleAS_1\opmn\bin>echo %time%
11:32:39.12
C:\product\10.1.3\OracleAS_1\opmn\logs\OC4J~home~default_group~1
07/12/30 11:32:22 Start process
07/12/30 11:32:24 Error initializing server: Error instantiating default application at Unable to get ApplicationConfig for default : Could not read connectors file at file:/C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: ./oc4j-connectors.xml
07/12/30 11:32:24 Fatal error: server exiting
07/12/30 11:32:26 Start process
07/12/30 11:32:28 Error initializing server: Error instantiating default application at Unable to get ApplicationConfig for default : Could not read connectors file at file:/C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: ./oc4j-connectors.xml
07/12/30 11:32:28 Fatal error: server exiting
07/12/30 11:32:30 Start process
07/12/30 11:32:32 Error initializing server: Error instantiating default application at Unable to get ApplicationConfig for default : Could not read connectors file at file:/C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: ./oc4j-connectors.xml
07/12/30 11:32:32 Fatal error: server exiting
C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: Notice the /'s versus standard windows \'s. The actual file is empty (contains only blank spaces).
I'm not sure where to go from here, I've tried stopping the oracle services manually and starting them up in various orders. We have the following services running:
Oracle-appservProcessManager Started
OracleDBConsoleTSTONE Started
OracleJobSchedulerTSTONE Disabled
OracleOraDb10g_home1iSQL*Plus Started
OracleOraDb10g_home1TNSListener Started
OracleServiceTSTONE Started
I'm sort of at a loss for where to go from here, help would be much appreciated!
Thanks,
RezaHere you have it.
<?xml version="1.0" standalone='yes'?>
<oc4j-connectors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNam
espaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/oc4j-connectors-10
_0.xsd" schema-major-version="10" schema-minor-version="0" >
<connector name="datasources" path="datasources.rar">
</connector>
<connector name="OracleASjms" path="OracleASjms.rar">
<config-property name="lookupMethod" value="resourceProvider"/>
<config-property name="resourceProviderName" value="oc4jjms"/>
<adminobject-config location="OracleASjms/Queues">
<adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
tQueueImpl</adminobject-class>
<config-property name="resourceProviderName" value="oc4j
jms"/>
</adminobject-config>
<adminobject-config location="OracleASjms/MyQueue1">
<adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
tQueueImpl</adminobject-class>
<config-property name="jndiName" value="jms/demoQueue"/>
<config-property name="resourceProviderName" value="oc4j
jms"/>
</adminobject-config>
<adminobject-config location="OracleASjms/Topics">
<adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
tTopicImpl</adminobject-class>
<config-property name="resourceProviderName" value="oc4j
jms"/>
</adminobject-config>
<adminobject-config location="OracleASjms/MyTopic1">
<adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
tTopicImpl</adminobject-class>
<config-property name="jndiName" value="jms/demoTopic"/>
<config-property name="resourceProviderName" value="oc4j
jms"/>
</adminobject-config>
</connector>
</oc4j-connectors> -
How can I bypass the password with createinstance ?
Hi,
When i use the command :
$ORACLE_HOME/bin/createinstance -instanceName MEDIWEB_OPE -groupName default_group
I am asked for the administrator password.
I have been following the documentation at http://www.oracle.com/technetwork/middleware/ias/oc4j-faq-mgt-10131-133750.pdf
but I cannot fix the issue.
I tried this command :
$ORACLE_HOME/bin/createinstance -instanceName MEDIWEB_OPE -groupName default_group -defaultAdminPass
There is no error and the instance is created
But then i do :
$ORACLE_HOME/opmn/bin/opmnctl startproc process-type=MEDIWEB_OPE
But I got the following error :
3 avr. 2012 11:41:50 com.evermind.server.XMLDataSourcesConfig parseRootNode
INFO: Legacy datasource detected...attempting to convert to new syntax.
12/04/03 11:41:50 Set OC4J administrator's password (password text will not be displayed as it is entered)
12/04/03 11:41:50 Error initializing server: OC4J administrator's password is empty.
Fatal error: server exiting
How can I avoid prompting password ? In 9g it was easy to do it but now on 10g it seems tricky.
ThanksSolution at https://kr.forums.oracle.com/forums/thread.jspa?threadID=457772.
In particular i followed the instructions of userAK.
Edited by: 922691 on 6 avr. 2012 00:58 -
EBS R12 - Error in starting adoacorectl.sh
Hi Friends,
I got error in starting adoacorectl :(
Executing service control script:
/u02/applmgr/VIS/inst/apps/VIS_accelerator/admin/scripts/adoacorectl.sh start
script returned:
You are running adoacorectl.sh version 120.11.12000000.2
Starting OPMN managed OACORE OC4J instance ...
adoacorectl.sh: exiting with status 204
The logs contains:
=========================
08/20/08-12:40:29 :: adoacorectl.sh version 120.11.12000000.2
08/20/08-12:40:29 :: adoacorectl.sh: starting OPMN if it is not running
opmnctl: opmn is already running.
08/20/08-12:40:29 :: adoacorectl.sh: Starting OPMN managed OACORE OC4J instance
opmnctl: starting opmn managed processes...
================================================================================
opmn id=accelerator.infotech.com:6200
0 of 1 processes started.
ias-instance id=VIS_accelerator.accelerator.infotech.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
OC4J/oacore/default_group/
Error
--> Process (index=1,uid=97,pid=20232)
failed to start a managed process after the maximum retry limit
Log:
/u02/applmgr/VIS/inst/apps/VIS_accelerator/logs/ora/10.1.3/opmn/OC4J~oacore~default_group~1
08/20/08-12:41:19 :: adoacorectl.sh: exiting with status 204
================================================================================
Please helpsorry for late reply..
No there is no changes in ip address.
It was a runnning instance.
i can not see any log file at that location but in log/adoacorectl.txt file it is showing already running.
here is the log what is in adoacorectl.txt .
09/30/08-10:32:15 :: adoacorectl.sh: starting OPMN if it is not running
opmnctl: opmn is already running.
09/30/08-10:32:16 :: adoacorectl.sh: Starting OPMN managed OACORE OC4J instance
opmnctl: starting opmn managed processes...
================================================================================
opmn id=ammk437:12706
0 of 1 processes started.
ias-instance id=BEIG_benwebq3.benwebq3.fmr.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
OC4J/oacore/default_group/
Error
--> Process (index=1,uid=1738686640,pid=3743758)
failed to start a managed process after the maximum retry limit
Log:
/bendbsq3/hwel/oab/BEIG_APPS/ora/inst/apps/BEIG_ammk437/logs/ora/10.1.3/opmn/OC4J~oacore~default_group~1
09/30/08-10:32:22 :: adoacorectl.sh: exiting with status 204
================================================================================ -
Error while starting Oracle 10.1.3
Error Starting Application Server Oracle 10.1.3 in Linux :
Error Starting ORMI server localhost.localdomain port 12,401: Address already in use.
I got the following Exception while starting Server
oas10g@localhost bin]$ ./opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================opmn id=localhost.localdomain:6201
1 of 2 processes started.
ias-instance id=app.localhost.localdomain
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ias-component/process-type/process-set:
OC4J/home/default_group/
Error
--> Process (index=1,uid=104,pid=4321)
failed to start a managed process after the maximum retry limit
Log:
/home/app/product/10.1.3/OracleAS_1/opmn/logs/OC4J~home~default_group~1
This i got in OC4J~home~default_group~1 file
10/01/08 15:18:26 Start process
10/01/08 15:18:30 Error starting ORMI server localhost.localdomain port 12,401: Address already in use
10/01/08 15:18:30 WARNING: Application.setConfig Application: system is in failed state as initialization failedjava.lang.InstantiationException: Error initializing ejb-modules: No such file or directory; nested exception is: java.util.zip.ZipException: No such file or directory
Jan 8, 2010 3:18:30 PM com.evermind.server.Application setConfig
WARNING: Application: system is in failed state as initialization failedjava.lang.InstantiationException: Error initializing ejb-modules: No such file or directory; nested exception is: java.util.zip.ZipException: No such file or directory
10/01/08 15:18:31 Error initializing server: Error initializing ejb-modules: No such file or directory; nested exception is: java.util.zip.ZipException: No such file or directory
10/01/08 15:18:31 Fatal error: server exiting
Edited by: user4584823 on Jan 8, 2010 2:54 AMI don't think is possible that your server doesn't have a name, you need to correct this, problem of using this name is that the configuration of the OAS will use the ip 127.0.0.0 and if for some reason it found the othe ip, it will be seen as an ip change and this kind of errors could happen.
I think you have to correct this, set a name for the server, put it in the host file and reinstall, in the installation notes there is one part in the prerequisits, that ask you to check that you have set this correctly, use a qualified name hostname.domainname and by preference an static IP and this has to match the hostname command.
Hope this helps.
Greetings.
Maybe you are looking for
-
Is it possible to hide / show columns in Dashboard?
Hi All, This is my very first post in this OBIEE forum. My requirement is to allow users to select what columns they want to see from the answers request in Dashboard. For example in Answers request there are 10 columns and 5 of them are hidden. Is i
-
Can't add a new account to mail
Hello all, Hope to get some help with this annoying and frustrating situation. I need to create a gmail account in mail v4.5 because I'll be moving from my current location and prefer not to have to access gamil through safari. I am prevented to get
-
I want to upgrade my hp pavilion dv4000 having p/n EW874EA#ABV
i want to upgrade my hp pavilion dv4000 having p/n EW874EA#ABV
-
Strange problem while clearing a customer
Hi everybody I am encountering this strange problem while trying to clear some open items for certain customers. Though these customers have open items on them (checked in BSID and FBL5N), the system is giving a warning message saying that there are
-
HT201317 change order of photos in photo stream album
How do I change order of photos posted in photo stream album?