How to manually patch oc4j to run bc4j
A patch has been released to enable bc4j components to run with oc4j. This patch only works on windows, how do I patch oc4j running on linux?
I've copied the bc4j jars from jdeveloper 9i to oc4j/lib. But the patch also mentions that the jsp compiler needs to be patched. How do i do this?
Thanks,
Andrej
If you manually replace components used by the server software you are going to almost certainly break things especially Server.app (for administration) and in this case you would also almost certainly break Profile Manager and the Wiki server.
If you want to use Apple's server software then you have no real choice but like the rest of us to wait for Apple to include any upgrades.
As examples the bootpd and racoon software and even the ntp client included by Apple are not merely different versions compared to the latest stable releases but are actually heavily customised by Apple and behave significantly differently. As far as I am aware the Apache used by Apple is pretty standard and the main difference is the name and locations of files Appe uses, i.e. not only do Apple not use the standard httpd.conf file and location but the process of installing SSL certificates is very different to a standard Apache system.
It is possible to upgrade some components e.g. perl with minimal risk of break Apple services, it is also possible to install separate copies of items like Apache and run them separately to Apple's. However such a separate install of Apache would not serve Profile Manager up for you.
Similar Messages
-
How to manually patch OS X Server bundled outdated components?
Referring to OS X Server (v3.1.2), it is bundled with Apache (v2.2.26), and mod_ssl (v2.2.26).
In the latest stable version of Apache and mod_ssl, they have lots of security patches.
Due to security concerns, I need to update these components.
Since there is no OS X Server updates for now...
How do I manually update Apache and mod_ssl, on my current server which is running Profile Manager?
(without affecting the current server configurations and files)
Thanks.If you manually replace components used by the server software you are going to almost certainly break things especially Server.app (for administration) and in this case you would also almost certainly break Profile Manager and the Wiki server.
If you want to use Apple's server software then you have no real choice but like the rest of us to wait for Apple to include any upgrades.
As examples the bootpd and racoon software and even the ntp client included by Apple are not merely different versions compared to the latest stable releases but are actually heavily customised by Apple and behave significantly differently. As far as I am aware the Apache used by Apple is pretty standard and the main difference is the name and locations of files Appe uses, i.e. not only do Apple not use the standard httpd.conf file and location but the process of installing SSL certificates is very different to a standard Apache system.
It is possible to upgrade some components e.g. perl with minimal risk of break Apple services, it is also possible to install separate copies of items like Apache and run them separately to Apple's. However such a separate install of Apache would not serve Profile Manager up for you. -
How to create new OC4J instance in AS 10.1.3 with BC4J- and ADF-Libraries
Hi
I have done all the steps mentioned in this thread:
How to create new OC4J instance in AS 10.1.3
However, the new created OC4J instance obviously misses some libraries. If I deploy my Application to this OC4J I get an internal error: Class not found: oracle.jbo.JboException.
The same Application runs well in the "home" Instance.
What is the trick, to create a new OC4J instance, which more or less behaves the same way as the "home" instances (and especially has all the same libraries)?
Thanks for your help
Frank BrandstetterI encountered this last month. I definitely agree that it is a glaring omission to not have "Create Like" functionality when instantiating new containers. Here's my notes on the manual steps required after using createinstance to create the fresh container. Not too bad. I've been deploying ADF applications to the new container with no problems after this.
==============
The default (home) OC4J container is pre-configured for ADF 10.1.3 applications; however, when $ORACLE_HOME/bin/createinstance is used to create additional containers, these containers are not configured automatically to host ADF 10.1.3 applications.
I followed these manual steps:
1. $ORACLE_HOME/j2ee/home/config/server.xml defines three shared libraries that "install" the needed JARs for Oracle ADF applications in your application server instance (container). Note that "install" does not necessarily mean available to applications (see Step 2). Copy the three shared library element definitions to the <application-server> element of your new container (in server.xml).
<shared-library name="oracle.expression-evaluator" version="10.1.3" library-compatible="true">
<code-source path="/usr2/oracle/as10130/jlib/commons-el.jar"/>
<code-source path="/usr2/oracle/as10130/jlib/oracle-el.jar"/>
<code-source path="/usr2/oracle/as10130/jlib/jsp-el-api.jar"/>
</shared-library>
<shared-library name="adf.oracle.domain" version="10.1.3" library-compatible="true">
<code-source path="/usr2/oracle/as10130/BC4J/lib"/>
<code-source path="/usr2/oracle/as10130/jlib/commons-cli-1.0.jar"/>
<code-source path="/usr2/oracle/as10130/mds/lib/concurrent.jar"/>
<code-source path="/usr2/oracle/as10130/mds/lib/mdsrt.jar"/>
<code-source path="/usr2/oracle/as10130/jlib/share.jar"/>
<code-source path="/usr2/oracle/as10130/jlib/regexp.jar"/>
<code-source path="/usr2/oracle/as10130/jlib/xmlef.jar"/>
<code-source path="/usr2/oracle/as10130/BC4J/jlib/adfmtl.jar"/>
<code-source path="/usr2/oracle/as10130/BC4J/jlib/adfui.jar"/>
<code-source path="/usr2/oracle/as10130/BC4J/jlib/adf-connections.jar"/>
<code-source path="/usr2/oracle/as10130/BC4J/jlib/dc-adapters.jar"/>
<code-source path="/usr2/oracle/as10130/ord/jlib/ordim.jar"/>
<code-source path="/usr2/oracle/as10130/ord/jlib/ordhttp.jar"/>
<code-source path="/usr2/oracle/as10130/jlib/ojmisc.jar"/>
<code-source path="/usr2/oracle/as10130/jlib/jdev-cm.jar"/>
<code-source path="/usr2/oracle/as10130/lib/xsqlserializers.jar"/>
<import-shared-library name="oracle.xml"/>
<import-shared-library name="oracle.jdbc"/>
<import-shared-library name="oracle.cache"/>
<import-shared-library name="oracle.dms"/>
<import-shared-library name="oracle.sqlj"/>
<import-shared-library name="oracle.toplink"/>
<import-shared-library name="oracle.ws.core"/>
<import-shared-library name="oracle.ws.client"/>
<import-shared-library name="oracle.xml.security"/>
<import-shared-library name="oracle.ws.security"/>
<import-shared-library name="oracle.ws.reliability"/>
<import-shared-library name="oracle.jwsdl"/>
<import-shared-library name="oracle.http.client"/>
<import-shared-library name="oracle.expression-evaluator"/>
</shared-library>
<shared-library name="adf.generic.domain" version="10.1.3" library-compatible="true">
<code-source path="/usr2/oracle/as10130/BC4J/jlib/bc4jdomgnrc.jar"/>
<code-source path="/usr2/oracle/as10130/BC4J/lib"/>
<code-source path="/usr2/oracle/as10130/jlib/commons-cli-1.0.jar"/>
<code-source path="/usr2/oracle/as10130/mds/lib/concurrent.jar"/>
<code-source path="/usr2/oracle/as10130/mds/lib/mdsrt.jar"/>
<code-source path="/usr2/oracle/as10130/jlib/share.jar"/>
<code-source path="/usr2/oracle/as10130/jlib/regexp.jar"/>
<code-source path="/usr2/oracle/as10130/jlib/xmlef.jar"/>
<code-source path="/usr2/oracle/as10130/BC4J/jlib/adfmtl.jar"/>
<code-source path="/usr2/oracle/as10130/BC4J/jlib/adfui.jar"/>
<code-source path="/usr2/oracle/as10130/BC4J/jlib/adf-connections.jar"/>
<code-source path="/usr2/oracle/as10130/BC4J/jlib/dc-adapters.jar"/>
<code-source path="/usr2/oracle/as10130/ord/jlib/ordim.jar"/>
<code-source path="/usr2/oracle/as10130/ord/jlib/ordhttp.jar"/>
<code-source path="/usr2/oracle/as10130/jlib/ojmisc.jar"/>
<code-source path="/usr2/oracle/as10130/jlib/jdev-cm.jar"/>
<code-source path="/usr2/oracle/as10130/lib/xsqlserializers.jar"/>
<import-shared-library name="oracle.xml"/>
<import-shared-library name="oracle.jdbc"/>
<import-shared-library name="oracle.cache"/>
<import-shared-library name="oracle.dms"/>
<import-shared-library name="oracle.sqlj"/>
<import-shared-library name="oracle.toplink"/>
<import-shared-library name="oracle.ws.core"/>
<import-shared-library name="oracle.ws.client"/>
<import-shared-library name="oracle.xml.security"/>
<import-shared-library name="oracle.ws.security"/>
<import-shared-library name="oracle.ws.reliability"/>
<import-shared-library name="oracle.jwsdl"/>
<import-shared-library name="oracle.http.client"/>
<import-shared-library name="oracle.expression-evaluator"/>
</shared-library>
2. To make the necessary ADF and JSF support libraries available to your deployed ADF application, the default application (that your ADF application and the majority of applications should inherit from) should explicitly import the shared library in the <orion-application> element of $ORACLE_HOME/j2ee/<your container>/config/application.xml.
<imported-shared-libraries>
<import-shared-library name="adf.oracle.domain"/>
</imported-shared-libraries>
Note: the adf.oracle.domain shared library imports several other shared libraries including oracle.expression-evaluator. -
How to run BC4J JSP programs generated by JDeveloper 9i?
I used JDeveloper 9i to:
Create a new Project Workspace
Create New Business Components
Click on Run, Run Project
The Java application works perfectly alright.
Click on New, BC4J JSP, Business Components JSP Application
Then a full set of JSP source code is generated based on the Business Components Java Application.
Right-click on main.html, Run main.html
I can see that deployment of the JSP programs is OK but the Internet Explorer does not start the main.html.
I enter address: http://localhost:8988/ in Internet Explorer and can see that OC4J is running.
I would like to enter the path of the deployed JSP program.
How can I know what is the path of the URL?I have change the settings in tools->preferences to point to the right location, i.e.
C:\Program Files\Internet Explorer\IEXPLORE.EXE
Internet Explorer does not start after it shows:
C:\oracle\ora9ids\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora9ids\j2ee\home\oc4j.jar -Dhttp.proxyHost=hqproxy.vtc.edu.hk -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora9ids\jdev\system\oc4j-config\server.xml
[Starting OC4J using the following ports: HTTP=8990, RMI=23893, JMS=9229.]
[waiting for the server to complete its initialization...]
Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
ApplicationServer: appName = bc4j
ApplicationServer: appName = current-workspace-app
ApplicationServer: appName = bc4j
ApplicationServer: appName = current-workspace-app
ApplicationServer: appName = bc4j
ApplicationServer: appName = current-workspace-app
ApplicationServer: appName = bc4j
ApplicationServer: appName = current-workspace-app
ApplicationServer: appName = bc4j
ApplicationServer: appName = current-workspace-app -
HOW TO: Set up your application server to run BC4J
How To set up your application server to run BC4J.
INTRODUCTION
A running BC4J application is actually the combination of:
* Your own application files
* BC4J runtime libraries
In order to successfully run your BC4J application in local mode, the first requirement is
that your application server contains the necessary BC4J libraries.
This How To describes the steps required to ensure that you have a functional
BC4J runtime environment installed on your application server.
Oracle IAS 1.0.2 and Tomcat 3.1 will be used as examples.
THE BC4J RUNTIME LIBRARIES
Whatever application server you deploy to, the following libraries
are required in the following order to be in the classpath.
BC4J Libraries:
xmlparserv2.jar
jdev-rt.zip
jbojdbcpatch.zip
connectionmanager.zip
jbohtml.zip
jboimdomains.zip
ordim817.zip
ordvir817.zip
ordhttp.zip
jbomt.zip
jbodomorcl.zip
jboremote.zip
jndi.jar
jbodatum12.zip
These libraries can be found in <JDEV_HOME>/lib/
INSTALLING THE LIBRARIES ON IAS:
Installing the libraries is simply a matter of copying them to the
application server's filesystem and adding them to the classpath.
IAS's classpath can be modified by editing the file:
<IAS_HOME>\Apache\Jserv\conf\jserv.properties
In this file you'll find the existing pre-installed BC4J libraries which
looks like this:
wrapper.classpath=<IAS_HOME>\Apache\BC4J\lib\ordvir817.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\lib\ordim817.zip
etc.
Note! These BC4J libraries correspond to JDeveloper 3.1.1.
In order to run JDev 3.2 based applications you will have to update these libraries
to JDeveloper 3.2 production.
Steps:
1. Copy (or FTP) the JDev 3.2 BC4J libraries from <JDEV_HOME>\lib to a NEW directory on the
appserver's filesystem called:
<IAS_HOME>\Apache\BC4J\newlib
2. Modify the classpath by editing <IAS_HOME>\Apache\Jserv\conf\jserv.properties.
Example: (modified classpath entries)
# New 3.2 BC4J Runtime libraries
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\xmlparserv2.jar
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jdev-rt.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbojdbcpatch.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\connectionmanager.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbohtml.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jboimdomains.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\ordim817.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\ordvir817.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\ordhttp.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbomt.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbodomorcl.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jboremote.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jndi.jar
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbodatum12.zip
Note: Make sure to remove or comment out the existing 3.1.1 BC4J library entries!
To see the changes, you must restart IAS and that's it, your IAS will be updated with
the JDev 3.2 BC4J libraries which allow you to run BC4J Data Tags among other
things!
INSTALLING THE LIBRARIES ON TOMCAT
As before, this process involves both the copying of the libraries
and modifying the classpath.
After copying the BC4J libraries to a path accessible from Tomcat,
you can modify Tomcat's classpath by editing it's startup script:
<TOMCAT_HOME>\bin\tomcat.bat (NT)
<TOMCAT_HOME>\bin\tomcat.sh (Unix)
Here is a portion of a modified tomcat.bat (on NT)
rem Add BC4J libraries
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\xmlparserv2.jar
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jdev-rt.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbojdbcpatch.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\connectionmanager.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbohtml.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jboimdomains.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\or dim817.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\ordvir817.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\ordhttp.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbomt.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbodomorcl.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jboremote.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jndi.jar
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbodatum12.zip
rem Add Oracle JDBC library
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\classes12.zip
Note: I also added the Oracle JDBC library since Tomcat does not have it.
It is found at:
<JDEV_HOME>\jdbc\lib\oracle8.1.7\classes12.zip
And That's It!
When Tomcat is restarted using this script, the necessary BC4J libraries
will be in the classpath..
A follow up How To:"How To Deploy a BC4J JSP Application on IAS and Tomcat"
will be posted shortly!I copied the following files in jserv classpath
bc4jct.jar
bc4jctejb.jar
bc4jdomorcl.jar
bc4jhtml.jar
bc4jimdomains.jar
bc4jmt.jar
bc4jmtejb.jar
bc4juixtags.jar
collections.jar
datatags.jar
jdev-cm.jar
regexp.jar
share.jar
uix2.jar
cabo.war
classes12.jar
nls_charset12.jar
ordim.jar
ordhttp.jar
runtime12.jar
jdev-rt.jar
xmlparserv2.jar
bc4j_jclient_common.jar
webapp.war
I got this list from Jdev 9031 on-line help
I also copied the new DataTags.tld file to /webapp directory
When i run my jsp page i get this error..
java.lang.NoClassDefFoundError: java/util/TimerTask
at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:693)
at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:148)
at jspapp.odrjsp__html._menu._jspService(Compiled Code)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code)
at oracle.jsp.JspServlet.doDispatch(Compiled Code)
at oracle.jsp.JspServlet.internalService(Compiled Code)
at oracle.jsp.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at oracle.portal.provider.v1.http.JspRenderer.renderBody(JspRenderer.java:116)
at oracle.portal.provider.v1.RenderManager.render(RenderManager.java:164)
at oracle.portal.provider.v1.http.ServletProviderResponse.showPortlet(Compiled Code)
at oracle.portal.provider.v1.http.HttpProvider.dispatchProviderAction(Compiled Code)
at oracle.portal.provider.v1.http.HttpProvider.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.jserv.JServConnection.processRequest(Compiled Code)
at org.apache.jserv.JServConnection.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
In the JDK 1.3 APi docs, i found that TimerTask was introduced only in JDK 1.3
Does this mean that BC4J (in jdev 9031) will only work
with JDK 1.3 or later?
Thanks for your time.
Harish -
I'm trying to sync my ipad mini with itunes and i get an error message '' there is no free space on your ipad mini''..... any ideas on how to empty some space on ipad mini manually? currently i run on 6.0.2
iOS device backups are stored in your iTunes library.
Move your iTunes library to an external drive. -
How to manually eject a CD on my 24" iMac.
Dear guys,
Can anyone help to answer my question on how to manually eject a cd on my 24" imac. I inserted the Window XP Pro SP3 into my imac. Its started to run the os now cannot boot the system. Actually can anyone help to advise how to go about do the boot camp process. Great thanks.
Please help....If the mouse routine does not work. on some Macs, there is a little manual trigger in the extreme top of the disc slot. Carefully trip it with something like a straightened paperclip. It is just a fraction of an inch inside.
Your post is a bit cryptic. Did you actually follow the BootCamp process or just insert this Windows disc?
There is an entire Apple Discussion forum dedicated to Boot Camp and Windows.
Whereas, not everyone here with an Intel iMac has installed, tried to install or has experience with BC & Windows, everyone there has or at least has an interest. You may attract help more quickly there.
The Forums are at the bottom of the main Apple Discussions page under Windows Compatible Technology. Here is a link;
Boot Camp: Installation and Storage -
Q: How to do Many:1, and 1:Many OR-mapping with OC4J/Jdev9i (NO
BC4J)?
Q: How to do SessionTracking & debuggning with OC4J?
Q: How to do batch-updates ?
HSHi Hamid,
I don't know the answers to your questions, but the following
resources may be helpful (if you don't already know about them):
NOTE: Not in any particular order.
http://www.orionserver.com
http://www.orionsupport.com
http://www.atlassian.com
http://www.elephantwalker.com
Hope this helps,
Avi. -
How to setup new OC4J instance to host jdev business component (EJB)
From Jdeveloper 9.0.3 I want to deploy a business component to an new oc4j instance running under 9ias version 9.0.3.
In jdeveloper I have built and tested an application server connection (type=Oracle Application Sever Remote DCM) to my new oc4j instance on 9ias. My understanding is that the jdeveloper deployment profile wizard will help me construct a profile to build what is known as an "EJB session bean".
Using EmWebSite, I have created and started the new oc4j instance, and i constructed a datasource to be used for the database connection.
Is there anything else that I will need to do to the new 9ias oc4j instance prior to building the deployment profile in jdeveloper, and then running the deployment? For instance, does this new oc4j instance somehow have the necessary hooks in it to support this bc4j component? Do I need to install any missing jar files? Do I need to define rmi ports ? Do I need to configure BC4J support?
BTW ... I have tried to pursue this topic from the Jdeveloper side but the support personnel are not familar with 9ias 903, nor are they familar with 9ias Remote DCM deployment.Yes, you should be able to deploy an BC4J application without making any other changes to an IAS instance. For standalone OC4J please look at http://otn.oracle.com/products/jdev/htdocs/config_oc4j_for_bc4j.html
regards
Debu -
Manually Patch Cisco ISE Deployment
Is there a documented process for manually installing patch bundles in ISE? We had a bad experience last spring with deploying Patch 8 through the "fire and forget" patch installation through the GUI. We have held off far too long on patching our 20 node deployment and I will be asked whether the process failure was due to Patch 8, or whether the patching process itself failed. Please let me know if there is a procedure on how one would go about manually patching a deployment via the CLI.
Thank youinstall a patch from a primary administration node that is part of a distributed deployment, Cisco ISE installs the patch on the primary node and then all the secondary nodes in the deployment. If the patch installation is successful on the primary node, Cisco ISE then continues patch installation on the secondary nodes. If it fails on the primary node, the installation does not proceed to the secondary nodes. However, if the installation fails on any of the secondary nodes for any reason, it still continues with the next secondary node in your deployment. Secondary Cisco ISE nodes are restarted consecutively after the patch is installed on those nodes. While installing a patch on secondary nodes, you can continue to perform tasks on the primary administration node.
http://www.cisco.com/c/en/us/td/docs/security/ise/1-2/cli_ref_guide/ise_cli/ise_cli_app_a.html#pgfId-2476373 -
How to calculate number of threads running on Windows 2000 terminal?
How to calculate number of threads running on Windows 2000 terminal for the oracle process?
I have installed Oracle 9i DataBase with 6 patch(9.2.0.6.0) on Windows 2000 Terminal.
But,after database is started up, when i check up the sessions in v$session view.
It is showing like for SYSTEM osuser alone, 10 ORACLE.EXE sessions running on this server machine in active state.
Why it is creating 10 ORACLE.EXE sessions for a single Oracle Server.
This is the output of v$session view.
SQL> select terminal,osuser,status,sid,serial#,program from v$session;
TERMINAL OSUSER STATUS SID SERIAL# PROGRAM
IMGDBSVR SYSTEM ACTIVE 1 1 ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 2 1 ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 3 1 ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 4 1 ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 5 1 ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 6 1 ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 7 1 ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 8 1 ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 9 1 ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 10 1 ORACLE.EXE
SUGANTHI_DBA suganthi ACTIVE 11 91 sqlplusw.exe
11 rows selected.
SQL>This is how i have related these two views:
SQL> select s.terminal,s.osuser,s.status,s.paddr s_paddr,b.paddr p_paddr,s.program
2 from v$session s,gv$bgprocess b
3 where s.paddr=b.paddr;
TERMINAL OSUSER STATUS S_PADDR P_PADDR PROGRAM
IMGDBSVR SYSTEM ACTIVE 33AF2270 33AF2270 ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 33AF2654 33AF2654 ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 33AF2A38 33AF2A38 ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 33AF2E1C 33AF2E1C ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 33AF3200 33AF3200 ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 33AF35E4 33AF35E4 ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 33AF39C8 33AF39C8 ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 33AF3DAC 33AF3DAC ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 33AF4958 33AF4958 ORACLE.EXE
IMGDBSVR SYSTEM ACTIVE 33AF4D3C 33AF4D3C ORACLE.EXE
10 rows selected.
SQL>
Here, It shows 10 sessions are running.
Whether this means 10 threads are running on the particular server or not? -
How to install patches in DWM?
I've been trying but I can't figure out how to install patches in DWM. For instance I'm trying to install the Fancybar pathc from the DWM. I tried to do this by going to my dwm directory, run patch -p1 < ~/fancybar-r1496.diff, then rebuild DWM with makepkg -efi --skipinteg and finally restart DWM.. But it doesn't work
What am I doing wrong?patroclo7 wrote:If you compile dwm, by hand, you obviously need to run plain "make clean install" and not resort to makepkg. If you want to resort to makepkg (which is in this specific case, IMOO, overkill) you can: apply the patch in the PKGBUILD itself; apply the patch by hand in $startdir/src/dwm-<version>, but then you need to use the specific option "-e", so to instruct makepkg to use the existing $startdir/src without untarring again the source tarball.
Well, the reason I'm using PKGBUILD is because that's what the Arch Wiki says. But if make's better then I'll use that instead. How exactly do I do that? -
[solved] How many dbus process are you running?
Hi there,
Recently I looked how many dbus processes there are running on my system. I realised it is quite a few:
~ ps aux | grep dbus
root 367 0.0 0.0 124760 3688 ? Ssl 07:31 0:00 /usr/sbin/thermald --no-daemon --dbus-enable
dbus 374 0.0 0.0 27084 1952 ? Ss 07:31 0:01 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
lightdm 846 0.0 0.0 17992 544 ? S 07:32 0:00 /usr/bin/dbus-launch --autolaunch e8b37a474b614e438a0ab6a142101c2c --binary-syntax --close-stderr
lightdm 896 0.0 0.0 26664 1040 ? Ss 07:32 0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
lightdm 902 0.0 0.0 26664 1540 ? S 07:32 0:00 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
orschiro 1128 0.0 0.0 15896 616 ? S 07:32 0:00 dbus-launch --sh-syntax --exit-with-session
orschiro 1129 0.0 0.0 27012 1496 ? Ss 07:32 0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
orschiro 1445 0.0 0.0 17992 540 ? S 07:33 0:00 dbus-launch --autolaunch e8b37a474b614e438a0ab6a142101c2c --binary-syntax --close-stderr
orschiro 1446 0.0 0.0 26664 1036 ? Ss 07:33 0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
Is this the same for you?
I do not start dbus manually anywhere on my system except for launching lightdm and thermald through a systemd service.
Last edited by orschiro (2014-02-28 07:16:45)I will mark this as solved for now. In order to minimise the running dbus sessions, I switched back from ldm to startx and also removed the pulseaudio autostart from /etc/X11/xinit/xinitrc.d/ since I want to control myself when pulseaudio starts the dbus sessions.
This is how it looks now with X running and udisks2/gvfs enabled dbus session.
dbus 331 0.0 0.0 27048 1608 ? Ss Feb27 0:10 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
orschiro 1574 0.0 0.0 15896 448 tty1 S Feb27 0:00 dbus-launch --sh-syntax --exit-with-session
orschiro 1581 0.0 0.0 27160 1396 ? Ss Feb27 0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
orschiro 12920 0.0 0.0 26664 1216 ? S Feb27 0:00 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
orschiro 15516 0.0 0.0 17992 532 ? S 06:26 0:00 dbus-launch --autolaunch e8b37a474b614e438a0ab6a142101c2c --binary-syntax --close-stderr
orschiro 15523 0.0 0.0 26664 964 ? Ss 06:26 0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session -
How to manually install updates?
I use Sun Update Manager and there are 110 updates available for now. Among the 110 updates, 37 updates that require manual installation are still on the available updates list after I click the 'Install Updates' button and restart the system. How do I install these 37 updates?
There are a couple of things that could be causing this.
Without more info, its hard to know what.
There are some patches that genuinely require manual handling, but they're not common so 30 odd seems like too many.
Your probably blocked on one manual patch, thats a prereq for the rest.
What kernel level are you currently on. If 118833-36 show up in the list of patches to install then thats the one thats causing the problems. (Or 118855 in the x86 world).
Try "smpatch add -i 118833-36"
followed by a reboot. Sun recommends doing this in single user mode. I don't normally bother unless the machine is heavily used and/or critically important. -
How to apply patches to SP16?
Hi,
I am looking for a clear direction of how to apply patches to the J2EE Engine 6.40 SP16 to SP20. I have NW04, and the patch level is 102141.313. Please tell me how to start. Thank you.
Regards,
-NapadolHi,
Download te following file from service markeplace
CTRLMSS20_0-20001822.SAR
J2EERT20_0-10001982.SAR
J2EERTOS20_0-20001822.SAR
SAPINST20_0-20001822.SAR
Uncar these SAR files
Hope you know how to uncar these files.
After Uncarring two folders will be generated.
J2EE-RUNT-CD
SAPINST-CD
Run the <b>sapinst</b> present within the SAPINST-CD folder.
Choose the option Import support package.
This will patch the engine from SP16 to SP20
Any queries revert back.
Do reward poits.
Regards,
Nayana
Maybe you are looking for
-
It keeps asking me to restart the system, but the same problem occurs after many restarts. It would seem to me the best thing to do is uninstall and reinstall, but I can't even uninstall. Sent many automatic crash reports. No reply from Firefox.
-
How can i downgrade from iChat 5.0.3 to iChat 3.1.9 ??
I have a problem here in the office. We have lots of Apple computers, come old as eMac 700Mhz to brand new iMac... of course MAC OS X system in them are 10.4.11 to 10.5.6 In most of them iChat is in version 3.1.9, but is a case there is a iChat 5.0.3
-
How to give permission to Internal client local admin rights to install applications
Dear All, I want to give internal client rights to install application in his computer. At the same time I don't want him to login to windows server 2008 with admin rights. Could you please let me know how to do that?
-
Web content reporting User information
HI Guys, We have been using the web content reporting tool for a while now. We however want to have information about WHO logged on. If I look into the databse I can see a hashed userid is logged. Has anyone allready tried to get this information i
-
BI Overview SAP course for NW2004s ? (BI 7.0)
Hi, Does anyone know if there is a one day BI overview (introduction) course available at SAP education for release NW2004s (BI 7.0 ?) I found the courses SAPBI and SAPNW but these seem to be for release 3.5 ? If not, does anyone have a one day BI 7.