Problem in shutdown OC4J when configure Publisher
I have OBI installed on Linux server and I am configuring Publisher deployed on OC4J. According to the document:
Oracle® Business Intelligence Publisher
Deploying Oracle Business Intelligence Publisher in J2EE Application Servers
Release 10.1.3.4
Part No. B32481-03the last step is to restart the application server, in this case it is OC4J. I see, using ps -fe|grep oc4j, a OC4J running as:
/bin/sh /u01/app/obiee/oc4j_bi/bin/oc4j -start
and I find the port from /u01/app/obiee/oc4j_bi/j2ee/home/config/rmi.xml
ssl-port = "23943"
Then I shutdown OC4J with command
/bin/sh /u01/app/obiee/oc4j_bi/bin/oc4j -shutdown -port 23791 -password javapassword
Got error messgae
Error: Could not connect to the remote server. Please check if the server is down or the client is using invalid host, ORMI port or password to connect: Connection refused
Since the server is up, and the port is from the rmi.xml, can the problem due to the password. I use the password as I install OBIEE. What could be wrong?
Thank you for help.
Hi
During the install did you opt for the OC4J install rather than to an existing web server? Im assuming yes, you would have had to provide the user/pwd for the OC4J container - so that could be the issue. In my desperation in the past I have just killed the oc4j session, ps -ef | grep java will find it.
When you bring it back up, it recovers very nicely with no ill affects.
regards
Tim
Similar Messages
-
Problem in zip generation when exporting Publisher content
Hi all
On AIX when exporting, the publisher content size of the generated zip located in ptcs/6.4/settings/migration/ is changing between exports.
For example, the first time export generates a 1234 bits file and the second (same content is exported) generates a 1238 bits file.
does anybody know why?Hi all
On AIX when exporting, the publisher content size of the generated zip located in ptcs/6.4/settings/migration/ is changing between exports.
For example, the first time export generates a 1234 bits file and the second (same content is exported) generates a 1238 bits file.
does anybody know why? -
Problems with some photos when converting Publisher files to PDF using Acrobat 9
I tried to make a pdf of a publisher document that has a number of photographs. Two of the photographs appear grey with streaks -looks like some of the colours are not converting properly. The same document works fine with Acrobat 8 but not with version 9. Anybody have this experience?
Graffit's suggestion did not work for me.
I work for the Ontario government, and we are still using Office 2003. I am not sure what version of 9 we are using as we get bulk licences to use the program. I only got the program in August 2010. I used the default settings in the program.
I try to open the publisher document in Adobe. I have also tried opening the publisher document, then converting it to the PDF. Both have two of the photos that don't convert properly. The other photos are fine.
The two photos in question were given to us by the Communications department. I don't have the originals. The photos were copied from other document. I don't know what the format of the orginal photos were. The person in Communications has not responded to my request yet. -
Please HELP-Problem of Standalone OC4J Container
Hi All,
I developed one ERP Product using ADF BC Swing and deploymed at 3 clients running online,But problem is of OC4J,
When i Start Standalone OC4J then user connects and do the entries,but when he close his form or Application then oc4j is not releasing the JDBC connection.so because of that my Connections in use are Increasing Very Much and At one Instance its Increasing Maximum Limit in Database so then i have to Restart the Application Server after that the Connection in use get zero,it is working fine for next 8 hr then same situation will occur and I have to restart my Appllication. because of this My Clients are not satisfied,they are shouting on me.
I am Using JDeveloper (10.1.3.0.4) and OC4J 10.1.3.0 and OracleDB 10g .
1) I am not able to understand weather the oc4j is not capable of handling such big Transactions?
2) If so then what is the alternate solution for this,can i go for Oracle Application Server.
3) If so then which is the best or suitable version of Application Server for my application ?
4) How to Install Application Server on Redhat Enterprise Linux 5 ?
5) How to Deployee ADF BC Swing Application on it?
Please guide me so that i will correct myself.
Thanks In Advance
Vijay ChavanYou might want to post it in OC4J forum here:
OC4J -
When I publish my site on one specific page where I've added {tag_pagecontent} I get the error:
'Some files on the server may be missing or incorrect. Clear browser cache and try again. If the problem persists please contact website author.'
I'm trying to get a blog module going, I've even deleted the html insert bog with the tag in and re-published which then I don't get the error but as a result no blog either. But then I add the tag in again and publish the error comes back. I've used the dev console and it says that my musicians sample.css is out of date but why is it only out of date when I add in html to my muse site?
HELP!!!! I've searched other threads and to no avail I'm publishing so no direct ftp going on. the only thing I changed in business catalyst was the module stylesheet in order to style the blog. I've tried uploading and replacing all files nothing seems to work. the site is here:
http://www.musicstudentsforhire.co.uk/musicians-samples.html
It's only this page as it has the blog on. Also I've noticed when I've re-published occasionally it will show the mobile version on my desktop and not the desktop version??? no idea why that's happening so I've had to turn that off. any explanation on why that is happening would also be much appreciated.I haven't received an answer as of yet, I'll post t on here when I do. I de-activated the mobile site because it's my clients site so he needs it to be operational during the day. I hope someone gives me an answer soon.
-
i am facing problem when configuring listener.ora and tnsnamess.ora in listener side it is showing The listener supports no services The command completed successfully and in when i cross check with listener from tns it is showing the error
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
here is my listener file
lsn =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.125.128)(PORT = 1575))
#ADR_BASE_LISTENER = /u01/app/oracle
(SID_LIST_LISTENER=
(SERVICE_NAME=kull)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1)
tnsnames.ora
to_lsn=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = kull )
my database name is kull
please somebody helpBiswaranjan wrote:
i have two database one is kull and another is kk
i configured listener.ora in kull
and tnsnames.ora in kk
when i am running lsnrctl start listener in database kull
This makes no sense. You don't configure a listener nor a tnsnames.ora "in a database". I hope this is just a language issue and not reflective of a fundamental misunderstanding of how tns works.
read: http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/ Help! I can’t connect to my database
read: http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/ Help! I can’t connect to my database (part duex)
it is showing the message
Alias lsn
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 05-JUL-2013 19:08:06
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/11.2.0/db_1/log/diag/tnslsnr/server1/lsn/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1575)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=server1)(PORT=1575)))
The listener supports no services
The command completed successfully
and in another database in kk when i am giving the command tnsping to_lsn
it is giving this message
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = kull)))
OK (0 msec)
but when i am cross check sqlplus system/manager@ to_lsn
it is giving the following error
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor -
Run shutdown oc4j instance automatically when user Turn off/Log off
Hi All,
Can you help me anyone to run the shutdown oc4j instance automatically when user Turn off/Log off the application or the computer?
I want to use any Schema level trigger if possible to solve the issue.
I am using oracle Developer Suite 10g and Database 10g as well.
ArifAh, sorry I misunderstood your question (probably not enough coffee in the morning); anyway there are folders for scripts which should be executed on startup / shutdown or logon / logoff:
Startup
%SYSTEMROOT%\System32\GroupPolicy\Machine\Scripts\StartupShutdown
%SYSTEMROOT%\System32\GroupPolicy\Machine\Scripts\ShutdownLogon
%SYSTEMROOT%\System32\GroupPolicy\User\Scripts\LogonLogoff
%SYSTEMROOT%\System32\GroupPolicy\User\Scripts\LogoffWrite a script to startup / shutdown your OC4J (probably calls to startinst.bat and stopinst.bat) and place them in the apropriate folders.
cheers -
Problems overwriting when I publish to a folder
When I publish to a folder the updated content of my website I get an error message like "files can be damaged or you don´t have enough privileges to do this". I have to delete all the folder and publish it again in a new folder.
Does anyone know how to solve it?
Thank´sPublishing to a folder is all or nothing.
Either say yes to replace the folder or publish to another location and only replace the page (including the folder that's used by that page) you updated.
As an added note, you should never put custom stuff in such a folder after publishing. -
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 -
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. -
Netweaver Developer Studio 7.0 - Problems with MI Plug-in Configuration
Hi,
I installed the NetWeaver Developer Studio 7.0.11 and have problem when configuring the MI Plugin. The configuration page does not save the settings and then it just doesn't show any fields in the screen. Does anyone has the same problem?Any ideas? Thanks in advance.Hello Jon,
I agree, but 2 GB RAM is sufficient to run the NWDS efficiently, consider the following points to increase its performance.
1. Tweak your eclipse.ini : This will increase the memory usage of Eclipse, but will give you the best startup and working performance. If you think eclipse is using up too much memory, lower the Xms, Xmx and PermSize values.
-startupplugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar--launcher.XXMaxPermSize256m-vmargs -Xms256m -Xmx512m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+AggressiveOpts-XX:+StringCache-XX:+UseFastAccessorMethods-XX:+UseLargePages-XX:LargePageSizeInBytes=4m-XX:AllocatePrefetchLines=1-XX:AllocatePrefetchStyle=1-Dide.gc=true
2. Disable the un-necessary startup plugins
It loads up certain (un-necessary) plugins at startup. We can tweak this a bit to improve the startup performance.
Go to Window > Preferences
Expand General and select Startup and Shutdown
On the right side, uncheck the plugins you don't want to start. Usually, you can uncheck all of them. Don't worry, it just makes the startup minimal. Once you need to access the module in the IDE, it will start it up.
Click OK and restart IDE.
BR
Satish Kumar -
OC4J Instance Configuration Assistant fails
hi guys,
I am trying to install OEM Release 2 (10.2.0.2) on 2003 server, and below error shows up. Any comment would be useful
thanks in advance..
Calling updateConfig to notify DCM of new deployments...failed!
ERROR: Caught exception calling updateConfig: oracle.ias.sysmgmt.exception.TransactionFailedException: An exception occurred in the "apache" plugin provided by the "OHS" component while validating configuration files for that component.
Resolution:
The resolution information provided by the "OHS" component may be helpful.
In addition, here are some common causes of problems:
incorrect permissions on files
configuration files are missing or invalid
syntax error in configuration files
Exception thrown by plugin "apache":
java.io.IOException
CreateProcess: C:\OracleHomes\oms10g//Apache//Apache//bin//apachectl configtest -f C:\OracleHomes\oms10g\Apache\Apache\conf\httpd.conf.ohsPluginTmp -D SSL error=2
ERROR! DEPLOY TOOL CANNOT CONTINUE DEPLOYMENTS: could not update DCM repository with newly deployed applications - ALL APPLICATIONS WILL BE UNDEPLOYED.
Undeploying application 'IsWebCacheWorking' from OC4J instance 'home'.
Application 'IsWebCacheWorking' successfully undeployed.
Stopping OC4J instance 'home'...done.
Terminating DCM...done.
Copying C:\OracleHomes\oms10g/j2ee/deploy.ini to C:\OracleHomes\oms10g/j2ee/deploy.ini.1214993246828.bak.
Writing any undeployed entries back to C:\OracleHomes\oms10g/j2ee/deploy.ini.
Oc4jDeploy tool completed, but with errors.Are your system regional settings not English?
You may be hitting this issue:
Subject: Problem While Upgrading To 10.2.0.3.0 Configuration assistant "OMS Patch Configuration" failed
Doc ID: NOTE:459705.1 TYPE: PROBLEM
Last Revision Date: 25-JUN-2008 Status: MODERATED
In this Document
Symptoms
Cause
Solution
References
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.
Applies to:
Enterprise Manager Grid Control - Version: 10.2.0.2.0
Microsoft Windows
Symptoms
From installActions2007-09-07_04-21-44PM.log,
INFO: Configuration assistant "Repository Upgrade" succeeded
INFO: Command = oracle.sysman.emcp.oms.OmsPatchUpgrade -configureOms
Operation Stopping OPMN Processes is in progress.
Operation EM Deploying is in progress.
Command = oracle.sysman.emcp.oms.OmsPatchUpgrade has failed
INFO: Configuration assistant "OMS Patch Configuration" failed
Cause
This is caused due to Bug 4377902 in the Application server which comes with Oracle Management Server.
"In Turkish, the capitalized form of character "i" is not "I". Instead it is an"I" with a dot on top. (To explain further - there is also capital "I" but the lowercase of that letter does not have a dot - and i with dot and without dot are different vowels).
When Turkish locale is set and if somehow the Java capitalizes the lowercase i , that in turn can become invalid for eg. Windows."
From oracle.sysman.top.oms_2007-09-07_04-29-59-PM.log,
Redeploying application 'em' to OC4J instance 'OC4J_EM'.
Notification ==> Application Deployer for em STARTS [ 2007-09-07T16:43:02.612EEST ]
Notification ==> Undeploy previous deployment
Notification ==> Copy the archive to D:\oracle\oms10g\j2ee\OC4J_EM\applications\em.ear
Notification ==> Unpack em.ear begins...
Notification ==> Unpack em.ear ends...
Notification ==> Initialize em.ear begins...
Notification ==> Initialize em.ear ends...
Notification ==> Initialize em begins...
Notification ==> Initialize em ends...
Notification ==> Application Deployer for em COMPLETES [ 2007-09-07T16:45:19.076EEST ]
Calling updateConfig to notify DCM of new deployments...failed!
ERROR: Caught exception calling updateConfig:
oracle.ias.sysmgmt.exception.TransactionFailedException: An exception occurred in the "apache"
plugin provided by the "OHS" component while validating configuration files for that component.
Resolution:
The resolution information provided by the "OHS" component may be helpful.
In addition, here are some common causes of problems:
incorrect permissions on files
configuration files are missing or invalid
syntax error in configuration files
Exception thrown by plugin "apache":
java.io.IOException
CreateProcess: d:\Oracle\oms10g//Apache//Apache//bin//apachectl configtest -f
d:\Oracle\oms10g\Apache\Apache\conf\httpd.conf.ohsPluginTmp -D SSL error=2
ERROR! DEPLOY TOOL CANNOT CONTINUE DEPLOYMENTS: could not update DCM repository with newly
deployed applications - ALL APPLICATIONS WILL BE UNDEPLOYED.
Undeploying application 'EMAgentPush' from OC4J instance 'OC4J_EMPROV'.
Application 'EMAgentPush' successfully undeployed.
Stopping OC4J instance 'OC4J_EMPROV'...done.
Undeploying application 'rlmgr' from OC4J instance 'OC4J_EM'.
Application 'rlmgr' successfully undeployed.
Undeploying application 'em' from OC4J instance 'OC4J_EM'.
Application 'em' successfully undeployed.
Stopping OC4J instance 'OC4J_EM'...done.
Terminating DCM...done.
Copying d:/Oracle/oms10g/j2ee/deploy.ini to d:/Oracle/oms10g/j2ee/deploy.ini.1189172785308.bak.
Writing any undeployed entries back to d:/Oracle/oms10g/j2ee/deploy.ini.
Oc4jDeploy tool completed, but with errors.
INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Command Output stderr:
'java.io.IOException: CreateProcess: d:\Oracle\oms10g//Apache//Apache//bin//apachectl configtest
-f d:\Oracle\oms10g\Apache\Apache\conf\httpd.conf.ohsPluginTmp -D SSL error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:66)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:428)
at java.lang.Runtime.exec(Runtime.java:364)
at java.lang.Runtime.exec(Runtime.java:326)
at
oracle.ias.sysmgmt.repository.plugin.advanced.apache.StateTranslator.checkConfigFileValidity(Unknown
Source)
at
oracle.ias.sysmgmt.repository.plugin.advanced.apache.StateTranslator.validateConfigDuringEvaluate(Un
known Source)
at oracle.ias.sysmgmt.repository.plugin.advanced.apache.PlugInImpl.localConfigValidation(Unknown
Source)
at oracle.ias.sysmgmt.repository.DcmPlugin.localConfigValidation(Unknown Source)
at oracle.ias.sysmgmt.repository.RepositoryImpl.performLocalValidation(Unknown Source)
at oracle.ias.sysmgmt.repository.SyncUpHandler._updatePluginConfigData(Unknown Source)
at oracle.ias.sysmgmt.repository.SyncUpHandler.syncUpFromLocalFiles(Unknown Source)
at oracle.ias.sysmgmt.repository.SyncUpHandler.syncUpFromLocalFiles(Unknown Source)
at oracle.ias.sysmgmt.repository.RepositoryImpl.syncUpFromLocalFiles(Unknown Source)
at oracle.ias.sysmgmt.configsvc.LocalEditsHandler.evaluate(Unknown Source)
at oracle.ias.sysmgmt.configsvc.ConfigurationServiceImpl.evaluate(Unknown Source)
at oracle.ias.sysmgmt.task.LocalEditPropagateAdapter.evaluate(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.sync_evaluate(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(Unknown Source)
at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(Unknown Source)
at oracle.ias.sysmgmt.task.DaemonWorker.run(Unknown Source)
Died at d:\Oracle\oms10g\sysman\install\emdeploy.pl line 154.
INFO: oracle.sysman.top.oms:Oms deploying
INFO: oracle.sysman.top.oms:OmsPlugIn:Requested Configuration Step 1 have been completed with
status=false
INFO: oracle.sysman.top.oms:EmcpPlug:invoke:Completed EmcpPlug invoke method on an
aggregate=oracle.sysman.top.oms for Action=patchsetConfiguration in step=1:microstep=0
INFO: oracle.sysman.top.oms:The plug-in OMS Patch Configuration has failed its perform method
Solution
A workaround on MS Windows is to set the system regional settings to English (for the time of the install) as indicated below:
1. Go to Regional Settings in Control Panel and set the locale and Default Locale to US English and reboot the computer.
2. Repeat the install
References
Bug 4377902 - JAVA SECURITY CONFIG ASSISTANT FAILS WHEN LOCALE IS SET TO TURKISH
Note 373962.1 - OMNIPortlet Error - Unsupported IANA Encoding - 1so-8859-9 for Turkish
Note 311910.1 - Turkish Locale Install of OAS Forms & Reports Services Fails: ADMN-202027 Java Security Assistant -
Nothing happens if I shutdown OC4J
Hello
I'm trying to shutdown OC4J after running some web apps and after running:
java -jar admin.jar ormi://appsrv/ admin ias9i -shutdown force
I get "Shutting down..." but the server doesn't come out. I've tried using the IP, localhost and the machine name and they get the same results.Hey Guys,
See my reply in this post:
problem when try to install html db
Cheers,
Avi. -
Problem with internet. When i open System preferences, Network, message drops down: 'your network settings have been changed by another application'. I click OK, but it dropps the message again and again, preventing me to do anything about the setting.
A Fix for "Your network preferences have been changed by another application" Error
In the Library/Preferences/SystemConfiguration/ folder delete the following:
com.apple.airport.preferences.plist
NetworkInterfaces.plist
preferences.plist
com.apple.nat.plist
You will have to re-configure all your network settings since deleting.
(10.4.10)
Use Software Update to update your OS to last version of Tiger. Install all the other updates that goes along w/it. -
How can avoid the problem of Parameter Prompting when I submitting ?
I am developing web application in visual studio 2008 in csharp.How can avoid the issue or problem of Parameter Prompting when I send parameters programaticaly or dyanmicaly? I am sending the values from .net web form to crystal report but it is still asking for parameters. so when i submit second time that is when the reports is being genereated. How can i solve this problem. Please help. The code Iam using is below.
1. using System;
2. using System.Collections;
3. using System.Configuration;
4. using System.Data;
5. using System.Linq;
6. using System.Web;
7. using System.Web.Security;
8. using System.Web.UI;
9. using System.Web.UI.HtmlControls;
10. using System.Web.UI.WebControls;
11. using System.Web.UI.WebControls.WebParts;
12. using System.Xml.Linq;
13. using System.Data.OleDb;
14. using System.Data.OracleClient;
15. using CrystalDecisions.Shared;
16. using CrystalDecisions.CrystalReports.Engine;
17. using CrystalDecisions.Web;
18.
19.
20. public partial class OracleReport : System.Web.UI.Page
21. {
22. CrystalReportViewer crViewer = new CrystalReportViewer();
23. //CrystalReportSource crsource = new CrystalReportSource();
24. int nItemId;
25.
26. protected void Page_Load(object sender, EventArgs e)
27. {
28. //Database Connection
29. ConnectionInfo ConnInfo = new ConnectionInfo();
30. {
31. ConnInfo.ServerName = "127.0.0.1";
32. ConnInfo.DatabaseName = "Xcodf";
33. ConnInfo.UserID = "HR777";
34. ConnInfo.Password = "zghshshs";
35. }
36. // For Each Logon parameters
37. foreach (TableLogOnInfo cnInfo in this.CrystalReportViewer1.LogOnInfo)
38. {
39. cnInfo.ConnectionInfo = ConnInfo;
40.
41. }
42.
43.
44.
45.
46.
47.
48. //Declaring varibles
49. nItemId = int.Parse(Request.QueryString.Get("ItemId"));
50. //string strStartDate = Request.QueryString.Get("StartDate");
51. //int nItemId = 20;
52. string strStartDate = "23-JUL-2010";
53.
54. // object declration
55. CrystalDecisions.CrystalReports.Engine.Database crDatabase;
56. CrystalDecisions.CrystalReports.Engine.Table crTable;
57.
58.
59. TableLogOnInfo dbConn = new TableLogOnInfo();
60.
61. // new report document object
62. ReportDocument oRpt = new ReportDocument();
63.
64. // loading the ItemReport in report document
65. oRpt.Load("C:
Inetpub
wwwroot
cryreport
CrystalReport1.rpt");
66.
67. // getting the database, the table and the LogOnInfo object which holds login onformation
68. crDatabase = oRpt.Database;
69.
70. // getting the table in an object array of one item
71. object[] arrTables = new object[1];
72. crDatabase.Tables.CopyTo(arrTables, 0);
73.
74. // assigning the first item of array to crTable by downcasting the object to Table
75. crTable = (CrystalDecisions.CrystalReports.Engine.Table)arrTables[0];
76.
77. dbConn = crTable.LogOnInfo;
78.
79. // setting values
80. dbConn.ConnectionInfo.DatabaseName = "Xcodf";
81. dbConn.ConnectionInfo.ServerName = "127.0.0.1";
82. dbConn.ConnectionInfo.UserID = "HR777";
83. dbConn.ConnectionInfo.Password = "zghshshs";
84.
85. // applying login info to the table object
86. crTable.ApplyLogOnInfo(dbConn);
87.
88.
89.
90.
91.
92.
93. crViewer.RefreshReport();
94.
95. // defining report source
96. crViewer.ReportSource = oRpt;
97. //CrystalReportSource1.Report = oRpt;
98.
99. // so uptill now we have created everything
100. // what remains is to pass parameters to our report, so it
101. // shows only selected records. so calling a method to set
102. // those parameters.
103. setReportParameters();
104. }
105.
106. private void setReportParameters()
107. {
108.
109. // all the parameter fields will be added to this collection
110. ParameterFields paramFields = new ParameterFields();
111. //ParameterFieldDefinitions ParaLocationContainer = new ParameterFieldDefinitions();
112. //ParameterFieldDefinition ParaLocation = new ParameterFieldDefinition();
113.
114. // the parameter fields to be sent to the report
115. ParameterField pfItemId = new ParameterField();
116. //ParameterField pfStartDate = new ParameterField();
117. //ParameterField pfEndDate = new ParameterField();
118.
119. // setting the name of parameter fields with wich they will be recieved in report
120.
121. pfItemId.ParameterFieldName = "RegionID";
122.
123. //pfStartDate.ParameterFieldName = "StartDate";
124. //pfEndDate.ParameterFieldName = "EndDate";
125.
126. // the above declared parameter fields accept values as discrete objects
127. // so declaring discrete objects
128. ParameterDiscreteValue dcItemId = new ParameterDiscreteValue();
129. //ParameterDiscreteValue dcStartDate = new ParameterDiscreteValue();
130. //ParameterDiscreteValue dcEndDate = new ParameterDiscreteValue();
131.
132. // setting the values of discrete objects
133.
134.
135. dcItemId.Value = nItemId;
136.
137. //dcStartDate.Value = DateTime.Parse(strStartDate);
138. //dcEndDate.Value = DateTime.Parse(strEndDate);
139.
140. // now adding these discrete values to parameters
141. //paramField.HasCurrentValue = true;
142.
143.
144.
145. //pfItemId.CurrentValues.Clear();
146. int valueIDD = int.Parse(Request.QueryString.Get("ItemId").ToString());
147. pfItemId.Name = valueIDD.ToString();
148.
149. pfItemId.CurrentValues.Add(dcItemId);
150. //ParaLocation.ApplyCurrentValues;
151. pfItemId.HasCurrentValue = true;
152.
153. //pfStartDate.CurrentValues.Add(dcStartDate);
154. //pfEndDate.CurrentValues.Add(dcEndDate);
155.
156. // now adding all these parameter fields to the parameter collection
157. paramFields.Add(pfItemId);
158.
159. //paramFields.Add(pfStartDate);
160. //paramFields.Add(pfEndDate);
161. /////////////////////
162. //Formula from Crystal
163. //crViewer.SelectionFormula = "{COUNTRIES.REGION_ID} = " + int.Parse(Request.QueryString.Get("ItemId")) + "";
164. crViewer.RefreshReport();
165. // finally add the parameter collection to the crystal report viewer
166. crViewer.ParameterFieldInfo = paramFields;
167.
168.
169.
170. }
171. }Keep your post to under 1200 characters, else you loose the formatting. (you can do two posts if need be).
Re. parameters. First, make sure yo have SP 1 for CR 10.5:
https://smpdl.sap-ag.de/~sapidp/012002523100009351512008E/crbasic2008sp1.exe
Next, see the following:
[Crystal Reports for Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23]
CR Dev help file:
http://msdn2.microsoft.com/en-us/library/bb126227.aspx
Samples:
https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Maybe you are looking for
-
How to set up an HP6122 on home network with Win 7 laptop?
HP6122 works when plugged into laptop USB port. Can't get it to work when it's plugged into an XP computer on the same network.
-
Settlement rule sould be SDI in MTO production order
Hello, I have a problem with my MTO scenario. The Assignment Category of the Settlement Rule in my production order is MAT. It should be SDI. In OPL8 I can´t change it from PP1 to SDI. In OKO7 if I change the Default object type form MAT to SDI I can
-
Syncing IE11 favourites bar TO my iPad Air
How do I sync the IE11 Favourites Bar TO my iPad Air. When I do this, I only seem able to sync FROM the iPad and this overwrites the existing Favourites Bar on IE. I have the Favourites set up as I want them on IE11, but when I sync the iPad, they ar
-
Creating PDF in Illustrator CS 5.5 -
Using a mac powerbook. When i save a copy to create a PDF, the dialog box does not appear. Yet, the other screen functions are grayed out. I must hit "return", at which point a PDF is created -- but i have no control over the parameters. It's as if t
-
Whenever i hook my ipod up to my computer, my itunes turns to a pink color on the screen where it had the tabs for summary, music, video, etc. Does anyone know why this is?