Install PDK in an OC4J instance of OracleAS
Hello.
I have installed an OracleAS + Portal 10g (9.0.4), and I have created a new OC4J instance, named OC4J_newinstance.
My question is: How do I install PDK in OC4J_newinstance?
I have found a lot of tutorials and forums, but all of them explained how to install PDK in an OC4J STANDALONE instance. Please help me, and thanks in advance!
Greetings!
ps: I need to install PDK because I want to develop my own portlets, using my own JSP pages. I already have done that, but using an OC4J STANDALONE instance, and I want to use my OracleAS OC4J_newinstance.
Hi Shail,
i referred the link you have sent it was helpful to me, but the thing is while deleting the shared library apache.webservices it is saying the shared library is in use. When we brought down the Application Server and try to run the removeSharedLibrary command we got other error.
Error: "Failed at "Could not get DeploymentManager".
This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
Is the way which i have done is correct ?? Please reply me.
Thank You,
Ravi kumar.
Similar Messages
-
Error while installing OIM, during the OC4J Instance Configuration Assistan
Hi, running RHEL 4 32Bit Linux. There's an installation of the SOA Suite 10.1.3.1 (Release 2) on /u01/app/oracle/OracleAS_1, and I am installing OIM on /u01/app/oracle/OraHome_2
Near the end of the installation, when it's installing the recommended configuration assistants, I get an error while the OC4J Instance Configuration Assistant piece is running.
Here's the full readout:
Launched configuration assistant 'OC4J Instance Configuration Assistant'
Tool type is: Recommended.
The command being spawned is: '/u01/app/oracle/OraHome_2/jdk/bin/java -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/tmp -mx512M -classpath /u01/app/oracle/OraHome_2/dcm/lib/dcm.jar:/u01/app/oracle/OraHome_2/dcm/lib/oc4j_deploy_tools.jar:/u01/app/oracle/OraHome_2/opmn/lib/opmnplugin.jar -Doracle.ias.sysmgmt.logging.logdir=/u01/app/oracle/OraHome_2/j2ee/home/log oracle.j2ee.tools.deploy.Oc4jDeploy -oraclehome /u01/app/oracle/OraHome_2 -verbose -inifile /u01/app/oracle/OraHome_2/j2ee/deploy.ini '
Start output from spawned process:
Reading ini file - '/u01/app/oracle/OraHome_2/j2ee/deploy.ini'
Adding web-app 'wirelesssso-web.war' for app 'wirelesssso'.
Adding web-app 'web.war' for app 'sso'.
Adding web-app 'ssohelp.war' for app 'sso'.
Adding web-app 'pls.war' for app 'sso'.
OC4J instance 'OC4J_SECURITY': Adding java stop command line option '-server'
OC4J instance 'OC4J_SECURITY': Adding java command line option '-Xmx512m'
OC4J instance 'OC4J_SECURITY': Adding Environment variable 'LD_LIBRARY_PATH' with value '/u01/app/oracle/OraHome_2/lib32:/u01/app/oracle/OraHome_2/lib'
OC4J instance 'OC4J_SECURITY': Adding Environment variable 'DISPLAY' with value 'oracleb.djl.com:0.0'
Adding web-app 'ui.war' for app 'oiddas'.
OC4J instance 'OC4J_SECURITY': Adding java stop command line option '-Xss1M'
Ignoring jvm command-line option '-Xmx512m'. Larger heap already specified with '-Xmx512m'
OC4J instance 'OC4J_SECURITY': Env Option 'LD_LIBRARY_PATH' already exists with value '/u01/app/oracle/OraHome_2/lib32:/u01/app/oracle/OraHome_2/lib'
Initializing DCM...done.
Creating OC4J instance 'OC4J_SECURITY' (protected)...done.
Adding dependent libraries for application 'default'...done.
Calling SMI to save changes.
SMISession.saveChanges succeeded.
Starting OC4J instance 'OC4J_SECURITY'...done.
Deploying application 'wirelesssso' to OC4J instance 'OC4J_SECURITY'.
Notification ==> Application Deployer for wirelesssso STARTS [ 2006-11-27T17:20:23.691EST ]
Notification ==> Undeploy previous deployment
Notification ==> Removing files for app file:/u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso.ear
Notification ==> Copy the archive to /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso.ear
Notification ==> Unpack wirelesssso.ear begins...
Notification ==> Unpack wirelesssso.ear ends...
Notification ==> Initialize wirelesssso.ear begins...
Notification ==> Initialize wirelesssso.ear ends...
Notification ==> Initialize wirelesssso-web begins...
Notification ==> Initialize wirelesssso-web ends...
Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso.ear
Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso/wirelesssso-web.war
Notification ==> Application Deployer for wirelesssso COMPLETES [ 2006-11-27T17:20:24.193EST ]
Deploying application 'oiddas' to OC4J instance 'OC4J_SECURITY'.
Notification ==> Application Deployer for oiddas STARTS [ 2006-11-27T17:20:24.246EST ]
Notification ==> Undeploy previous deployment
Notification ==> Removing files for app file:/u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas.ear
Notification ==> Copy the archive to /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas.ear
Notification ==> Unpack oiddas.ear begins...
Notification ==> Unpack oiddas.ear ends...
Notification ==> Initialize oiddas.ear begins...
Notification ==> Initialize oiddas.ear ends...
Notification ==> Initialize ui begins...
Notification ==> Initialize ui ends...
Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas.ear
Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas/ui.war
Notification ==> Application Deployer for oiddas COMPLETES [ 2006-11-27T17:20:28.312EST ]
Deploying application 'sso' to OC4J instance 'OC4J_SECURITY'.
Notification ==> Application Deployer for sso STARTS [ 2006-11-27T17:20:28.351EST ]
Notification ==> Undeploy previous deployment
Notification ==> Removing files for app file:/u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso.ear
Notification ==> Copy the archive to /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso.ear
Notification ==> Unpack sso.ear begins...
Notification ==> Unpack sso.ear ends...
Notification ==> Initialize sso.ear begins...
Notification ==> Initialize sso.ear ends...
Notification ==> Initialize web begins...
Notification ==> Initialize web ends...
Notification ==> Initialize ssohelp begins...
Notification ==> Initialize ssohelp ends...
Notification ==> Initialize pls begins...
Notification ==> Initialize pls ends...
Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso.ear
Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso/web.war
Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso/ssohelp.war
Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso/pls.war
Notification ==> Application Deployer for sso COMPLETES [ 2006-11-27T17:20:29.806EST ]
Calling updateConfig to notify DCM of new deployments...done.
Adding OC4J mount points for application 'wirelesssso'...done.
Adding OC4J mount points for application 'oiddas'...done.
Adding dependent libraries for application 'sso'...done.
Adding OC4J mount points for application 'sso'...done.
Calling SMI to save changes.
SMISession.saveChanges succeeded.
Binding web app 'wirelesssso-web' to default-web-site for application 'wirelesssso' in OC4J instance 'OC4J_SECURITY'
Web app 'wirelesssso-web' bound successfully.
Binding web app 'ui' to default-web-site for application 'oiddas' in OC4J instance 'OC4J_SECURITY'
Web app 'ui' bound successfully.
Binding web app 'web' to default-web-site for application 'sso' in OC4J instance 'OC4J_SECURITY'
ERROR: Caught exception while binding web app 'web' to default-web-site:
Calling updateConfig to notify DCM of new web-bindings...java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
Caused by: com.evermind.client.orion.AdminCommandException: Disconnected: RMIConnection Disconnected
at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:31)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:139)
... 8 more
Caused by: com.evermind.server.rmi.OrionRemoteException: Disconnected: RMIConnection Disconnected
at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1621)
at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1572)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
at __Proxy0.bindWebApp(Unknown Source)
at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:28)
... 9 more
done.
Adding application 'wirelesssso' to the DCM repository...done.
Application 'wirelesssso' deployed successfully.
Adding application 'oiddas' to the DCM repository...done.
Application 'oiddas' deployed successfully.
Undeploying application 'sso' from OC4J instance 'OC4J_SECURITY'.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
Caused by: com.evermind.client.orion.AdminCommandException: IOException communicating with the remote server: Connection reset
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:121)
... 8 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2508)
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2361)
at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1800)
at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:725)
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:106)
... 8 more
FAILED!
ERROR: Caught exception while undeploying 'sso' from 'OC4J_SECURITY':
Removing OC4J mount points for application 'sso'...done.
Calling SMI to save changes.
SMISession.saveChanges succeeded.
Calling updateConfig to notify DCM of undeployments...done.
Stopping OC4J instance 'OC4J_SECURITY'...done.
Calling SMI to retry init of failed plugins...done.
Terminating DCM...done.
Copying /u01/app/oracle/OraHome_2/j2ee/deploy.ini to /u01/app/oracle/OraHome_2/j2ee/deploy.ini.1164667126315.bak.
Writing any undeployed entries back to /u01/app/oracle/OraHome_2/j2ee/deploy.ini.
Oc4jDeploy tool completed, but with errors.
End output from spawned process.
Any help is appreciated, thanks!Hi, did you ever resolve this problem? We've got the same error.
Cheers,
Eystein -
Problem with two OC4J instances in Oracle 10g AS
hi all,
i am using windows XP(OS), Oracle 10g Application Server.
when i create two instances of OC4j other than home instance, say instance1 and instance2 and deploy two different applications in two instances then i get "page not found" error.
both the applications gets deployed successfully and different ports get selected for both applications internally.
the thing is when i stop one of the above instance, say instance1 the instance2 works fine and doesnt throw an error. the moment i start instance 1 both the instance gives the above stated error.
Can anyone help??
thanks in advance!!935195 wrote:
Also, I am opening the sub-page from the parent page (through a hyperlink). Then in this case, Would session will be changed from parent to subpage? (I am not aware exactly and have the impression that, as the second page is a child, I guess it would take the same session).I'm not sure what "sub-page" or "parent page" means to you. If you're just linking from one page to another, "parent" and "child" don't really make sense since page A links to page B and B links to A quite frequently.
Assuming that you have to log in to access the site, it is likely that the two pages share the same middle tier application session. It is unlikely that the middle tier would hold the database session from the first request open waiting to see if the user eventually requested the second page. It is theoretically possible that you could code your middle tier this way but it is extremely unlikely that you would want to do so for a variety of reasons. So, when you say "would [the] session ... be changed", it is likely that the application session would be the same for both calls but that the database session would be different.
Justin -
Deleting the Shared library in oc4j instance of Oracle Application Server
Hi Friends,
I am using Oracle Application Server (10.1.3.4.0). I have some system level shared libraries. When i am deploying the application in home instance the application is deploying fine, but when i create an another instance using the default group i am getting two more system level shared libraries that are not present in the home instance. Because of this two shared libraries i am not able to deploy the application.
Is there a way to delete the system level shared libraries. If so provide the related information. If there is any other alternative solution provide me that also. This is very urgent to me. Please help me in resolving this issue.
Thank You,
Ravi kumar.Hi Shail,
i referred the link you have sent it was helpful to me, but the thing is while deleting the shared library apache.webservices it is saying the shared library is in use. When we brought down the Application Server and try to run the removeSharedLibrary command we got other error.
Error: "Failed at "Could not get DeploymentManager".
This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
Is the way which i have done is correct ?? Please reply me.
Thank You,
Ravi kumar. -
How do I install JDK into an OC4J instance
Does anyone know how to do this or know where there is documentation on it? I'm running 9iAS 9.0.2.0.1
THanksNathan,
This question has been discussed previously. I suggest you search this forum's archives for the term "jdk".
Good Luck,
Avi. -
Single SOA Suite Install with multiple oc4j instances and java processes
We right now have 5 BPEL processes and 5 ESB processes all running under one java.exe process. We would like to seperate some of
them out into their own java.exe processes without having to install more
%ORACLE_HOME% instances of SOA Suite. I can create an oc4j instance but of
course it doesn't have any SOA Suite stuff deployed to it. I tried to see what
the install would do with this new oc4j instance but it wants to create a new
%ORACLE_HOME% with an entire installation of SOA Suite.
Is there some sort of way to clone oc4j instances that have SOA Suite deployed to them so that you
don't need multiple %ORACLE_HOME% instances?
### How is this Issue Impacting Your Business ###
We really don't want to have a lot of %ORACLE_HOME% instances to have to maintain. We are
migrating projects over from our current integration server product and we'll
have potentially dozens more BPEL and ESB projects. We definitely want to
group and isolate projects so that outages of one project do not bring down
others that are unrelated.
We are currently experiencing periodic problems with one BPEL project that requires recycling but all the other BPEL and ESB
projects get recycled also. If we could put this project into it's own java
process without creating another SOA SUITE instance, it would be a big
help.
ANSWER
=======
You can create multiple domains in BPEL or create multiple systems/groups in ESB to group different projects.
MY REPLY:
=========
We have been using systems/groups in ESB but they all run under the save java.exe process. I would assume that having a seperate domain in BPEL would also run in that same java.exe process.
Right now, the one BPEL project we have a problem with will gobble up all the JDBC connections from time to time and that requires a recycle of SOA Suite, which means all BPEL and ESB projects that run in that java.exe process get recycled also. We're working that issue in a different ticket.
It would be nice if the SOA Suite installation would install against a new oc4j instance and not assume it has to create a complete %ORACLE_HOME% instance. The components of SOA Suite seem to be J2EE based components.
Scenario: I already have an oc4j instance called oc4j_soa and a complete %ORACLE_HOME% installation of soa suite. I then create a new oc4j instance from Enterprise Manager. Then I would deploy the esb-dt, esb-rt, orabpel, etc. components of SOA Suite to that new oc4j instance and modify the necessary config file so that it can work with OHS and the SOA Suite Databases. Is this possible?
Does anyone have any experience with this or do people typically install multiple complete installation of SOA Suite with mulitple Oracle Homes?Hi,
yes, on metalink you get in touch with real experts....
You have to install serveral application servers to get different ORACLE_HOMEs.
For each one, you can install a BPEL PM.
But: For each BPEL PM you need your own database instance, or you have to configure them as a clustered BPEL installation.... (but i do not know if this work with non RAC DBs) -
Second Forms Services OC4J Instance
What is a benefit of creating a Second Forms Services OC4J Instance In Oracle Application Server 10g?
In which cases it is a better to create a second oas OC4J instance than to create a new configuration section
in the same instance for new forms application ? Or such configuration with Second Forms Services OC4J Instance is supported by Oracle ?
Thank'sWhat's the alternative you're looking for?
If it is HTTPS to secure the communication - yes that's possible
If it's a plain socket connection in stead of HTTP - I think Oracle dropped that after version 6i, but I'm not 100% sure.
If it is traditional client-server - Oracle dropped that after version 6i.
So, please explain what is you want. -
Installation of the OC4J Instance Configuration Assistant FAILS!
Hi,
I'm trying to install Application Server 9i Release 3 on a Red Hat 7.2 machine. I can get to the very end of the installation without problems. However, when I reach the screen "Configuration Tools" when all the modules are automatically started, the 0C4J module always fails.
Looking at the log that generates at the bottom of the screen, it looks like I get a "java.io.IOException Permission Denied" on ALL the java applications that it's trying to install. Everything else is started with no problems, with the exception of this module.
Has anybody encountered this error before?
How can I fix it?
Thanks a lot for your help.
Sincerely,
JulianI also have the problem that I can not install one of the OC4J instances ( Re: Exception handling for the single row while using Bulk-collection ). I think it has something to do with the permission on the local machine. I haven't got an answer yet.
regards,
Thomas -
OC4J Instance Configuration Assistant Failed during SSO install
Hi,
I am building a Oracle Portal on Linux Server, at step of SSO installation i reached an error *"OC4J Instance Configuration Assistant Failed"* .
In the log file i found that :
Calling updateConfig to notify DCM of new deployments...done.
Adding OC4J mount points for application 'wirelesssso'...done.
Adding OC4J mount points for application 'oiddas'...done.
Adding dependent libraries for application 'sso'...done.
Adding OC4J mount points for application 'sso'...done.
Calling SMI to save changes.
SMISession.saveChanges succeeded.
Binding web app 'wirelesssso-web' to default-web-site for application 'wirelesssso' in OC4J instance 'OC4J_SECURITY'
Web app 'wirelesssso-web' bound successfully.
Binding web app 'ui' to default-web-site for application 'oiddas' in OC4J instance 'OC4J_SECURITY'
Web app 'ui' bound successfully.
Binding web app 'web' to default-web-site for application 'sso' in OC4J instance 'OC4J_SECURITY'
ERROR: Caught exception while binding web app 'web' to default-web-site:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
Caused by: com.evermind.client.orion.AdminCommandException: Disconnected: RMIConnection Disconnected
at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:31)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:139)
... 8 more
Caused by: com.evermind.server.rmi.OrionRemoteException: Disconnected: RMIConnection Disconnected
at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1621)
at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1572)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
at __Proxy0.bindWebApp(Unknown Source)
at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:28)
... 9 more
Calling updateConfig to notify DCM of new web-bindings...done.
Adding application 'wirelesssso' to the DCM repository...done.
Application 'wirelesssso' deployed successfully.
Adding application 'oiddas' to the DCM repository...done.
Application 'oiddas' deployed successfully.
Undeploying application 'sso' from OC4J instance 'OC4J_SECURITY'.
java.lang.reflect.InvocationTargetException
FAILED!
ERROR: Caught exception while undeploying 'sso' from 'OC4J_SECURITY':
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
Caused by: com.evermind.client.orion.AdminCommandException: IOException communicating with the remote server: Connection reset
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:121)
... 8 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2508)
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2361)
at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1800)
at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:725)
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:106)
... 8 more
Removing OC4J mount points for application 'sso'...done.
Calling SMI to save changes.
SMISession.saveChanges succeeded.
Calling updateConfig to notify DCM of undeployments...done.
Stopping OC4J instance 'OC4J_SECURITY'...done.
Calling SMI to retry init of failed plugins...done.
Terminating DCM...done.
Copying /u01/oracle/OraHome_1/j2ee/deploy.ini to /u01/oracle/OraHome_1/j2ee/deploy.ini.1342977480035.bak.
Writing any undeployed entries back to /u01/oracle/OraHome_1/j2ee/deploy.ini.
Oc4jDeploy tool completed, but with errors.
Can any one solve it.
Thanks very much!Use physical disks, not NFS mounts. But you are still restricted to a 10.2 database max. SSO won't install in an 11g database with the repca tools from IDM 10.1.2 and 10.1.4.
-
OC4J Instance Configuration Assistant Failed during Infrastructure install
Hi,
I tried to install the Oracle Infrastructure 10.1.4.0.1 on windows2003 machine.I had ram of 3GB.I got this error while installing it.In the log file i found that
Calling updateConfig to notify DCM of new deployments...done.
Adding OC4J mount points for application 'wirelesssso'...done.
Adding OC4J mount points for application 'oiddas'...done.
Adding dependent libraries for application 'sso'...done.
Adding OC4J mount points for application 'sso'...done.
Calling SMI to save changes.
SMISession.saveChanges succeeded.
Binding web app 'wirelesssso-web' to default-web-site for application 'wirelesssso' in OC4J instance 'OC4J_SECURITY'
Web app 'wirelesssso-web' bound successfully.
Binding web app 'ui' to default-web-site for application 'oiddas' in OC4J instance 'OC4J_SECURITY'
Web app 'ui' bound successfully.
Binding web app 'web' to default-web-site for application 'sso' in OC4J instance 'OC4J_SECURITY'
ERROR: Caught exception while binding web app 'web' to default-web-site:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.depCalling updateConfig to notify DCM of new web-bindings...loy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
Caused by: com.evermind.client.orion.AdminCommandException: Disconnected: Connection reset
at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:31)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:139)
... 8 more
Caused by: com.evermind.server.rmi.OrionRemoteException: Disconnected: Connection reset
at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1621)
at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1572)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
at __Proxy0.bindWebApp(Unknown Source)
at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:28)
... 9 more
can any solve it.
Thanks&Regards,
Rajesh.Hello,
I arrived on this thread by trying to install Oracle Portal 11.1.1.2 from scratch.
My environment is just for evaluating, so it is a vm with 6GB of RAM on 64b architecture.
I've installed so far:
OS: OEL5.6 - 64b
DB: 11.1.0.7 -64b
AS: Weblogic - [10.3.5 from JAR, as this is available for 64b|http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html]
OID - [11.1.1.2|http://www.oracle.com/technetwork/middleware/downloads/oid-11g-161194.html]
so until now everything went pretty smooth.
Further according to the install guide for portal , I needed to install SSO.
So I continued to install the mrcu(metadata repository ) which went fine
MRCU: [10.1.4.3.1|http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html]
Further I for SSO and DAS I've started to install following document:1069426.1
SSO+DAS : 10.1.4.1
Installing this I've get next error
Output generated from configuration assistant "OC4J Instance Configuration Assistant":
Calling SMI to save changes.SMISession.saveChanges succeeded.
Binding web app 'wirelesssso-web' to default-web-site for application 'wirelesssso' in OC4J instance 'OC4J_SECURITY'Web app 'wirelesssso-web' bound successfully.
Binding web app 'ui' to default-web-site for application 'oiddas' in OC4J instance 'OC4J_SECURITY'Web app 'ui' bound successfully.
Binding web app 'web' to default-web-site for application 'sso' in OC4J instance 'OC4J_SECURITY'ERROR: Caught exception while binding web app 'web' to default-web-site:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
Caused by: com.evermind.client.orion.AdminCommandException: Disconnected: RMIConnection Disconnected
at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:31)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:139)
... 8 more
Caused by: com.evermind.server.rmi.OrionRemoteException: Disconnected: RMIConnection Disconnected
at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1621)
at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1572)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
at __Proxy0.bindWebApp(Unknown Source)
at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:28)
... 9 more
Calling updateConfig to notify DCM of new web-bindings..done.
Adding application 'wirelesssso' to the DCM repository..done.
Application 'wirelesssso' deployed successfully.
Adding application 'oiddas' to the DCM repository..done.
Application 'oiddas' deployed successfully.
Undeploying application 'sso' from OC4J instance 'OC4J_SECURITY'.java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
Caused by: com.evermind.client.orion.AdminCommandException: IOException communicating with the remote server: Connection reset
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:121)
... 8 more
FAILED!
ERROR: Caught exception while undeploying 'sso' from 'OC4J_SECURITY':
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2508)
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2361)
at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1800)
at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:725)
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:106)
... 8 more
Removing OC4J mount points for application 'sso'..done.
Calling SMI to save changes.SMISession.saveChanges succeeded.
Calling updateConfig to notify DCM of undeployments..done.Stopping OC4J instance 'OC4J_SECURITY'..done.
Calling SMI to retry init of failed plugins...done.
Terminating DCM..done.
Copying /u01/app/oracle/product/Middleware/idm10/j2ee/deploy.ini to /u01/app/oracle/product/Middleware/idm10/j2ee/deploy.ini.1312567534091.bak.
Writing any undeployed entries back to /u01/app/oracle/product/Middleware/idm10/j2ee/deploy.ini.
Oc4jDeploy tool completed, but with errors.
Configuration assistant "OC4J Instance Configuration Assistant" failed
Edited by: ciprian.o on Aug 8, 2011 5:00 AM -
One Oracle Application Server and multiple OC4J Instances
While we are getting new server (for development) we have to set-up a Development and Production enviroment for our project (dont have previous OAS installation) but on the same machine.
So, is a good option to have One OAS INstallation (Ora Home) and then create multiple OC4J instances, one for each environment (Development, QA and Production)?, is it possible? How to manage deployments between OC4J instances, simulating different contexts if they are in the same server and under the same HTTP Server? Will be there conflicts?Hi,
you can do this and OracleAs will manage the different instances. The deployment can be done with Enterprise Manager in which case you select the OC4J instance first before deploying. If deploying from JDeveloper, you can specify the OC4J instance when creating the named connection
Frank -
How to deploy oracle forms + J2EE application in single OC4J instance
We have ORACLE forms application, which is deployed in OC4J Instance in application server.
There are some modules, which are developed in Java/J2EE, which are invoked from Oracle forms application. Currently this java application is
deployed in separate OC4J instance.
Could you please help us how to combine this forms +J2ee application in single ear file,
And this ear file has to be deployed in one OC4J instance.Maybe have a look at :
http://download.oracle.com/docs/cd/B14099_19/web.1012/b14032/basics.htm -
How to update item instance in oracle install base?
Hi,
I have a doubt in updating item instance in oracle install base.
I am using a API named csi_item_instance_pub.update_item_instance for this. I want to update Party OWNER, party contacts, Current location,Install location, bill_to address,ship_to address..etc. When i try to update party owner, it is updating in csi_i_parties(col:party_id) as well as updating in csi_item_instance(owner_party_id). In csi_item_instance table,owner_party_id column is updated. but corresponding owner_party_account_id is not changed. I have given party_account_id to update in csi_ip_accounts table. It has changed in csi_ip_accounts table. But in csi_item_instance table(owner_party_account_id) is not changing. Can anybody help on how to change owner_party_account_id in csi_item_instance table please? Thanks in advance.
--Muruga
Edited by: Murugeshapps on Jul 1, 2009 12:07 AMOut of the box, I don't think that there is any API or program to delete the records from csi_item_instances because deleting IB record affects many modules (like Inventory, Order, Service Contracts etc). IB records should be expired if they are created incorrectly and you can run Transaction History Purge program to delete all history records related to that item.
Thanks
Shree -
OC4J Instance Configuration Assistant Error on Install
I'm installing iAS-903 on Red Hat 8.0. I managed to get through the linking parts OK but when I get to the Configuration Tools part at the end, I get an error with the OC4J Instance Configuration Assistant. Something about permissions.
Has anybody seen this? Did anybody get by it?
The relevant part of the error message is below.
Starting OC4J instance 'OC4J_Demos'..done.
Deploying application 'ojspdemos' to OC4J instance 'OC4J_Demos'...
ERROR: Caught exception during deploy.
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)I'm getting the same configuration error. I installed the ias 903 J2EE and Web Cache application. I also received a linking error (ins_sql.mk link error I believe). I fixed the link problem by removing the -z defs from LD_SELF_CONTAINED and rerunning genclntsh script.
After installing 9ias, I can start oc4j_home and oc4j_demos without errors but I'm not sure if they are fully working. -
OC4J Instance Failed when installing the SSO against FMW OID 11g
Hi All,
We are facing an problem when installing the SSO against OID 11g. The error is OC4J Instance Failed.
In Installer log it is showing Target Invocation Exception.
Please anyone advise.
Thanks in Advance.
Vaasu.Hi All,
We are facing an problem when installing the SSO against OID 11g. The error is OC4J Instance Failed.
In Installer log it is showing Target Invocation Exception.
Please anyone advise.
Thanks in Advance.
Vaasu.
Maybe you are looking for
-
Hi Guys, I have just updated to Aperture 3.4.5. Annoyingly the adjustment brushes and sliders such as "straighten" no longer work. They are added to my adjustments panel when I select them from the drop-down menu, but are accompanied by the sound of
-
How do I make my MacBook Pro automatically connect to Wi-Fi?
how do i keep my wifi permanently on. before my wifi was reset, my wifi always came up automatically -- now it doesn't. How can I change that?
-
UCCX Modifying XML document in repository programatically
Hi, I'm trying to write a web application that so that our non-admin users can have the ability to add holidays, turn on outage messages etc. The files that I need to manipulate are XML files that reside in the document repository. I had originally p
-
In my launchpad there is: 2 iDVD icons 3 iMovie icons 2 iPhoto icons 2 Garageband icons When i press and hold one icon the start to "jiggle" but theres no "X" on them. How can i get all of them down to one???
-
Premiere-After Effects Dynamic Link render times vary wildly after minimal composition changes
Here is something strange that happens a lot to me. I'll have a sequence in Premiere Pro CC 2014 that is entirely or largely an AE comp that I have dynamically linked. I'll use a specific case as an example, but it's happened with various projects.