RHEL 4 64bit OAS 10.1.2.2.0 and PHP5
I am trying to support php5 with OAS 10.1.2.2.0 and am having a problem compiling php. Doing a normal compile of php results in a 64bit executable which does not work with Oracle apache as it is a 32 bit executable. I have tried compiling php using 'setarch i686' and having LD_LIBRARY_PATH pointing to only 32 bit library paths, but it will not compile at all under these conditions.
I get the following error when trying to compile as a 32 bit executable
relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
I have tried passing the -fPIC flag to gcc, but to no avail.
This is on a RedHat Linux 4 platform, so no yum. I have followed the steps on the oracle site, but this results in a 64bit php binary. The Apache binary that ships with OAS is 32 bit, so it won't load a 64bit php binary. The configure line is:
./configure with-apxs=$ORACLE_HOME/Apache/Apache/bin/apxs prefix=$ORACLE_HOME --with-config-file-path=$ORACLE_HOME/Apache/Apache/conf
The steps I follow are as follows:
1. linux32 bash
2. export PERL5LIB=$ORACLE_HOME/perl/lib
3. export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib/:/usr/lib/
4. setarch i686 (to force gcc to think it is on a 32bit system and compile a 32bit php binary)
5. ./configure with-apxs=$ORACLE_HOME/Apache/Apache/bin/apxs prefix=$ORACLE_HOME --with-config-file-path=$ORACLE_HOME/Apache/Apache/conf
I don't need the oci8 support as I don't need oracle db support. My requirement is simply to run php5 under OAS 10.1.2.2.0 I also cannot upgrade to OAS 10.1.3, as there are other OC4J's running that require 10.1.2.
Similar Messages
-
OAS 4.0.8.2.0 and WebtoGo Install fails
I'm running OAS 4.0.8.2.0 and want to install Webtogo. The installer won't let me install in OUIHome (because it is an 8i Universal Installer directory), so I follow the description and enter default_home and a new directory. But then there is an error "Web to go does not support multiple installation." and I should install into OUIHome.
So what can I do. Is there a workaround ?
Thanks PeterProblem solved.
I deleted OAS 4.0.8.2.0 and installed Web-to-go. Then I installed OAS 4.0.8.2.0. -
I updated Itunes today to the latest version. Windows 7 64bit. None of my drivers work and get an error when itunes starts, about registry setting for reading and writing dvds and cds missing. Anyone else have the same issue. I downloaded itunes again, reinstalled still have same issue.
I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
iTunes for Windows: "Registry settings" warning when opening iTunes -
my itune still cannot initiate on my window7 64bit since the first time I downloaded and re downloaded again and again
It had no message at all. It just like nothing happened atall when I clicked itune icon.
Can you check something for me please?
Restart your PC. after the PC restarts, bring up your Task manager, and go to the "Processes" tab. Click "Image name" to sort the processes alphabetically.
Now try to launch iTunes.
Does an itunes.exe process appear? If so, does it vanish after a second or so, or does it persist in the Processes tab (even though iTunes itself never shows up)? -
Problems setting up WNA with OAS 10.1.2.0.2 and Windows 2008
Hi,
I am trying to set up WNA with an OAS 10.1.2.0.2 in a RHEL 4 platform. I have been able to configure Synchronization and Windows External Authentication following these steps:
http://download.oracle.com/docs/cd/B14099_19/idmanage.1012/b14085/odip_actdir003.htm#i1010999
I have also tried to configure WNA without success with those steps.
The scenario is here:
* OAS 10.1.2.0.2 infra in a RHEL 4
* Windows 2008 SP1 (only i use AD from it)
* Windows XP (client) that should be able to log in without problems when WNA is configured
How can make it work? I haven´t find any useful documentation
Thanks,
MaxCheck these out:
http://www.freeoraclehelp.com/2011/09/oid-integration-with-ms-active.html
http://www.freeoraclehelp.com/2011/09/enable-ssl-for-oid-instance-of-oracle.html
http://www.freeoraclehelp.com/2011/09/oracle-password-filter-to-sync.html -
Web Logic 10.3.6 (64bit) - Could not load the sitemesh filter and library
Installed Web Logic 10.3.3 (32bit) and Java JDK 1.6.0_21 (32bit) in a customer's server (Windows Server 2008 R2 and 64-bit Operating System). The web page can be displayed with header and side menu.
However installed Web Logic 10.3.6 (64bit) and Java JDK 1.6.0_31 (64bit) on that same server. The web page cannot be displayed with header and side menu, it is just displayed with a blank background. Refer to the below "ERROR LOG", found the application could not load the sitemesh filter and library properly. We are using sitemesh-2.3.jar.
Have tried installed Web Logic 10.3.6 (64bit) and Java JDK 1.6.0_31 (64bit) in a test server (Windows Server 2008 R2 and 64-bit Operating System). The web page can be displayed with header and side menu.
Please assist on this issue. Thanks.
Below is the sitemesh that is declared and configured.
WEB-INF/web.xml
<filter>
<filter-name>sitemesh</filter-name>
<filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>sitemesh</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
WEB-INF/decorators.xml
<decorators defaultdir="/template/decorators">
<decorator name="plain" page="plain.jsp"/>
<decorator name="printable" page="printable.jsp"/>
<decorator name="standard" page="page_template_std.jsp">
<pattern>/*.jsp</pattern>
</decorator>
<excludes>
<pattern>/include/*</pattern>
<pattern>/js/*</pattern>
<pattern>/Login.jsp*</pattern>
</excludes>
</decorators>
WEB-INF/sitemesh.xml
<sitemesh>
<property name="decorators-file" value="/WEB-INF/decorators.xml"/>
<excludes file="${decorators-file}"/>
<page-parsers>
<parser content-type="text/html"
class="com.opensymphony.module.sitemesh.parser.HTMLPageParser" />
<parser content-type="text/html;charset=ISO-8859-1"
class="com.opensymphony.module.sitemesh.parser.HTMLPageParser" />
</page-parsers>
<decorator-mappers>
<mapper class="com.opensymphony.module.sitemesh.mapper.PageDecoratorMapper">
<param name="property.1" value="meta.decorator" />
<param name="property.2" value="decorator" />
</mapper>
<mapper class="com.opensymphony.module.sitemesh.mapper.FrameSetDecoratorMapper">
</mapper>
<mapper class="com.opensymphony.module.sitemesh.mapper.AgentDecoratorMapper">
<param name="match.MSIE" value="ie" />
<param name="match.Mozilla [" value="ns" />
<param name="match.Opera" value="opera" />
<param name="match.Lynx" value="lynx" />
</mapper>
<mapper class="com.opensymphony.module.sitemesh.mapper.PrintableDecoratorMapper">
<param name="decorator" value="printable" />
<param name="parameter.name" value="printable" />
<param name="parameter.value" value="true" />
</mapper>
<mapper class="com.opensymphony.module.sitemesh.mapper.RobotDecoratorMapper">
<param name="decorator" value="robot" />
</mapper>
<mapper class="com.opensymphony.module.sitemesh.mapper.ParameterDecoratorMapper">
<param name="decorator.parameter" value="decorator" />
</mapper>
<mapper class="com.opensymphony.module.sitemesh.mapper.FileDecoratorMapper">
</mapper>
<mapper class="com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper">
<param name="config" value="/WEB-INF/decorators.xml" />
</mapper>
</decorator-mappers>
</sitemesh>
ERROR LOG
####<May 8, 2012 5:38:49 PM SGT> <Error> <HTTP> <BHQKPK10060> <cms_cimbmy> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1336469929804> <BEA-101165> <Could not load user defined filter in web.xml: com.opensymphony.module.sitemesh.filter.PageFilter.
com.opensymphony.module.sitemesh.factory.FactoryException: Cannot construct Factory : com.opensymphony.module.sitemesh.factory.DefaultFactory: java.lang.reflect.InvocationTargetException
at com.opensymphony.module.sitemesh.Factory.getInstance(Factory.java:50)
at com.opensymphony.module.sitemesh.filter.PageFilter.init(PageFilter.java:87)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:343)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)
at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)Do you see any further nested exceptions OR errors in the log file.
Considering that the same WLS-JDK combination works on one machine and does not work on another machine, it indicates an environmental issue.
"However installed Web Logic 10.3.6 (64bit) and Java JDK 1.6.0_31 (64bit) on that same server. The web page cannot be displayed....
Have tried installed Web Logic 10.3.6 (64bit) and Java JDK 1.6.0_31 (64bit) in a test server (Windows Server 2008 R2 and 64-bit Operating System). The web page can be displayed with header and side menu."
I am suspecting if it has to do anything with the native libraries being loaded JAVA_LIB_PATH.
Please review the server log file again for identifying differences in LIB_PATH or PATH or any messages saying "Unable to load native.. performance pack.."
Arun -
Hi,
I have a JBoss AS to deploy the buisness services (spring + hibernate) and a OAS 10.1.2 to deploy the WUI (ADF faces).
I would like also use the ADF Model layer.
In summary:
view: ADF faces 11g on OAS 10.1.2
model: ADF Model layer on both servers
buisiness model: hibernate + spring + webservices on Jboss AS
It's possible do that with Jdev 11g ?Hi,
thats not going to work. Please use OC4J 11 with ADF Faces RC
Frank -
OAS 4.0.8.1 (wrksf and Listener Admin)
Installed OAS 4.0.8.1 onto SUSE 6.4. Install fine but I am unable to start the wrksf process either through the OAS admin or directly with owsctl. It appears to start then stops ????. Also when I try to administer the Listeners the wladmin call fails to return a page. Intending to run this against 8.1.6 database. DAD construction Ok.
nullDear jgerry,
Congrats on getting Apache compiled. I am new to all of this, and the documentation is poor. The way I understand the documentation on www.olab.com, libapadp.so must be linked into Apache. Is this true? If so, I would love to know how to recompile it. I have downloaded and unzipped/untared 1.3.12, but I can't find out how to just link in a .so file. The only references I see are how to start out with a .c file. I have fould libapadp.so and ndwfapd.so in the Oracle install. I thought that just doing "LoadModule ows_module ndwfapd.so" would do the trick if I put ndwfapd.so and libapadp.so in the modules subdir of my Apache 1.3.9 installation, but I get the message...
"Cannot load /etc/httpd/modules/ndwfapd.so into server: libapadp.so: cannot open shared object file: No such file or directory".
Do you have any ideas to help me over this hurdle.
Any help is appreciated.
Kirby -
64bit JVM Crash: interaction between Concurrent GC and HotSpot Compiler?
During a test of a standalone server application, the application experienced a JVM crash for with no readily identifiable cause. We would like to at least come up with a theory to explain the crash; right now we have no idea what happened. We haven't found anything similar on the web so I am posting this to see if anybody has come across a similar problem.
The OS was 64bit Windows Server 2003 family on an AMD machine with 8 hyperthreaded CPUs (4 dual-core, I believe). The JVM was a 1.5.0 Server VM. An excerpt of the crash log is below.
The closest report we can find is Bug ID 5048441 which identified intermittent crashes with the Concurrent MarkSweep GC enabled; somebody claimed to have seen the problem under 1.5 but didn't have much more to add.
We haven't started heavily testing under 64bit just yet but we will be moving soon, so we would really appreciate hearing about similar experiences.
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000000805dd33, pid=5100,
tid=5636
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_04-b05 mixed mode)
# Problematic frame:
# V [jvm.dll+0x5dd33]
--------------- T H R E A D ---------------
Current thread (0x00000000004ab8e0): JavaThread "CompilerThread1" daemon
[_thread_in_native, id=5636]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000000
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
par new generation total 42496K, used 27395K [0x000000007fff0000,
0x0000000082980000, 0x0000000082980000)
eden space 42432K, 64% used [0x000000007fff0000, 0x0000000081ab0de8,
0x0000000082960000)
from space 64K, 0% used [0x0000000082960000, 0x0000000082960000,
0x0000000082970000)
to space 64K, 0% used [0x0000000082970000, 0x0000000082970000,
0x0000000082980000)
concurrent mark-sweep generation total 30677440K, used 4502193K
[0x0000000082980000, 0x00000007d2ff0000, 0x00000007d2ff0000)
concurrent-mark-sweep perm gen total 21248K, used 12956K [0x00000007d2ff0000,
0x00000007d44b0000, 0x00000007d6ff0000)
VM Arguments:
jvm_args: -Xms30000M -Xmx30000M -enableassertions -XX:+PrintGCDetails
-XX:MaxPermSize=64M -XX:+PrintGCTimeStamps -XX:+UseParNewGC
-XX:+UseConcMarkSweepGC -Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5432 -verbose:gc
--------------- S Y S T E M ---------------
OS: Windows Server 2003 family Build 3790 Service Pack 1
CPU:total 8 em64t ht
Memory: 4k page, physical 33549364k(27243692k free), swap 45158008k(12023400k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (1.5.0_04-b05) for windows-amd64,
built on Jun 3 2005 01:43:58 by "java_re" with unknown MS VC++:1400I had a very similar experience on yesterday. It accepted my username and password, went to the next screen and when I clicked on transaction management, the screen went back to my desktop and and a notebook appeared (hs_err_pid3960). This is what the top portion said:
An unexpected error has been detected by HotSpot Virtual Machine:
Exception_Access_Violation (0xc0000005) at pc=0x6d700e9d, pid=3960, tid=968
Java VM: Java HotSpot (TM) Client VM (1.5.0_04-b05 mixed mode, sharing)
Problematic frame:
V [jvm.dll=0xc0e9d]
THREAD
Current thread (0x029ec868): VMThread [id=968]
siginfo: ExceptionCode=0xc0000005, reading address
This report is 4 pages long but it includes info on Registers, Top of Stack (sp=0x066cfba0), Instructions (pc=0x6d700e9d), Stack [0x065d0000, 0x066d0000), sp=0x066cfbao, free space=1022k. There were several Java Threads listed but they all said "thread blocked" and then listed an id=------. VM state: at safepoint (normal execution). It had Libraries, VM Arguments -xbootclasspath/a:c:\, and a few others. Environmental variables Path=C:
Processor_Identifier=x86 Family 15 Model 4 Stepping 1, GenuineIntel
OS: Windows XP Build 2600 Service Pack 2
CPU: total 2 family 15
Memory: 4k page,
vm_info: Java HotSpot (TM) Client VM (1.5.0_04-b05) for windows-x86, built on June 3, 2005 by "java_re" with MS VC++ 6.0
Now that I have given this info to you, how do I eleviate the problem so that I will be able to do my job. Without this function, I cannot perform an important part of my job. I am hoping that this info will help you all find out the problem and prevent it from continuing to happen. -
OAS 4.0.8.2.1 and Reports Cartridge
We configured OAS, Reports Cartridge and the Report Server 6i all in the same machine, but the cartridge can not communicate with the repserver. Is this possible? If somebody knows how to do it please give us a clue. Thanks.
^UP^
-
Vista, 64bit vs. 32bit vs. XP and LrTasks
Hi,
I have a plugin which towards the end of the export process uses LrTasks.execute to call a helper application.
On OS-X this seems to work just fine as the OS indexes these applications, and so they can be installed anywhere on the user's hard drive and a simple shell command such as open -a 'myApp' will work.
However, on Windows, I see that the only way ( I can think of ) to launch an application is to use the START command. This works just fine, but I see that it depends on which OS I am on as it needs an explicit path to the application, which can vary depending on which version os Windows you are on.
here is an example of what I am trying to do.... this assumes I am either on OS-X or XP
if MAC_ENV == true then
LrTasks.execute('open -a myAppr')
else
LrTasks.execute('START "" "C:\\Program Files\\myApp\\myApp.exe"')
end
As I recall, this will work with Vista 32, but with Vista64 it would be installed in a slightly different location... I think it's something like Program Files\i386 or something like that....
Anyway, I was just wondering if anyone had any experience with this, and if there was a) a better way to call the windows app, or b) a way to detect if it's vista or xp, etc... or c) if I just will have to bundle this thing three times...?
thanks for any help
-micahHi,
Just to follow up, I rewrote my code to reference the helper app within the plugin package file. I still needed an explicit reference for the START command for Windows, but this was easy enough with the _PLUGIN.path env variable. So far I have tested this on 64bit Vista and I will be trying it out on XP and 32 Bit Vista later today, but I think this solves my problem and it is a much more elegant way to package the plugin as a whole.
Now I am just wondering if using an installer app would still be really necessary as I think most users would be able to get through the process of using the LR plugin manager. Does anyone out there have thoughts or opinions on this?Does this make life difficult for doing software updates?
-micah -
RHEL 6.4 Gets HeartBeat error, erratic rates, and does not complete runs
Running RHEL 5.9, 6,4, 6.4 OELUEK, Windows 2008 R2, and Windows 2012 R1. Of these OSes, just RHEL 6.4 is giving an error. All the other OSes are passing this test fine giving the expected output. Some other facts are:
Using VDBench 5.03 (also tried 5.04 with same error)
Using jre1.7.0_21 (also tried IBM 1.5, Sun 1.6 versions with VDBench 5.03 & 5.04 which also did not complete)
This is happening for multipe machine types (Dell, IBM, HP). All have RAID 1 with 2 disks with RAID array controller.
Any feedback on what else to examine and ideas to resolve this will be appriecated. Thanks, Sam
The paramater file is
* Data Drive OLTP, size 1m to 1g, 64k transfer size, 70/30 read/write
fsd=fsd1,anchor=/data/perfdata/vdbench/DM-01,depth=1,width=1,files=12,size=(1m,25,100m,25,250m,25,1g,25),openflags=directio
fsd=fsd2,anchor=/data/perfdata/vdbench/DM-02,depth=1,width=1,files=12,size=(1m,25,100m,25,250m,25,1g,25),openflags=directio
fsd=fsd3,anchor=/data/perfdata/vdbench/DM-03,depth=1,width=1,files=12,size=(1m,25,100m,25,250m,25,1g,25),openflags=directio
fsd=fsd4,anchor=/data/perfdata/vdbench/DM-04,depth=1,width=1,files=12,size=(1m,25,100m,25,250m,25,1g,25),openflags=directio
fwd=fwd1,fsd=(fsd1,fsd2,fsd3,fsd4),xfersize=64k,fileselect=random,fileio=random,rdpct=70,threads=32
rd=rd1,fwd=*,fwdrate=max,format=yes,pause=60,elapsed=930,interval=30
rd=rd2,fwd=*,fwdrate=max,format=yes,pause=60,elapsed=930,interval=30
rd=rd3,fwd=*,fwdrate=max,format=yes,pause=60,elapsed=930,interval=30
rd=rd4,fwd=*,fwdrate=max,format=yes,pause=60,elapsed=930,interval=30
rd=rd5,fwd=*,fwdrate=max,format=yes,pause=60,elapsed=930,interval=30
rd=rd6,fwd=*,fwdrate=max,format=yes,pause=60,elapsed=930,interval=30
rd=rd7,fwd=*,fwdrate=max,format=yes,pause=60,elapsed=930,interval=30
Typical output of the problem is (trimming lines to be more readiable)
15:01:53.000 Starting RD=rd1; elapsed=930; fwdrate=max. For loops: None
Mar 11, 2014 .Interval. .ReqstdOps.. ...cpu%... read ....read.... ...write.... ..mb/sec... mb/sec .xfer..
rate resp total sys pct rate resp rate resp read write total size
15:02:23.440 1 784.4 41.03 0.5 0.10 69.6 545.9 54.01 238.6 11.33 34.12 14.91 49.03 65536
15:02:53.057 2 662.2 47.70 0.6 0.11 69.7 461.5 57.86 200.7 24.32 28.85 12.54 41.38 65529
15:03:23.056 3 671.8 47.46 0.6 0.11 69.8 468.7 58.67 203.1 21.60 29.29 12.70 41.99 65536
15:04:32.551 4 704.1 45.57 0.1 0.09 70.2 494.3 59.88 209.8 11.85 30.89 13.11 44.01 65536
15:04:32.570 5 693.1 46.18 0.1 0.08 70.2 486.3 59.45 206.8 14.96 30.40 12.93 43.32 65536
15:04:53.056 6 590.6 54.09 0.6 0.10 70.0 413.2 67.89 177.4 21.95 25.82 11.09 36.91 65536
15:05:23.048 7 712.5 44.83 0.2 0.11 69.6 496.2 60.53 216.3 8.79 31.01 13.52 44.53 65536
15:05:53.053 8 535.4 60.08 0.5 0.09 69.8 373.9 73.32 161.5 29.42 23.37 10.09 33.46 65536
15:06:23.053 9 571.4 55.76 0.6 0.10 69.5 397.4 67.74 174.0 28.39 24.84 10.88 35.71 65536
15:06:53.047 10 692.6 45.40 0.6 0.12 70.7 490.0 57.72 202.6 15.61 30.63 12.66 43.29 65536
15:07:23.053 11 561.2 57.33 0.1 0.08 70.4 395.0 71.35 166.2 24.02 24.69 10.39 35.08 65536
15:07:53.052 12 660.1 48.48 0.6 0.11 70.1 462.5 61.65 197.7 17.68 28.90 12.35 41.26 65536
15:08:23.048 13 576.2 55.33 0.5 0.10 70.1 403.7 67.12 172.5 27.75 25.23 10.78 36.01 65536
15:08:53.053 14 622.8 51.55 0.1 0.09 69.9 435.4 67.91 187.3 13.52 27.21 11.71 38.92 65536
15:09:23.052 15 712.6 44.16 0.1 0.09 70.3 500.6 58.00 212.0 11.47 31.29 13.25 44.54 65536
15:10:03.646 16 673.6 47.23 0.1 0.09 70.2 472.9 60.95 200.7 14.91 29.56 12.54 42.10 65536
15:10:23.052 17 561.4 47.18 0.6 0.11 70.6 396.2 59.54 165.2 17.51 24.76 10.32 35.09 65536
15:10:53.052 18 730.7 43.95 0.1 0.09 69.9 510.8 57.78 219.9 11.85 31.92 13.75 45.67 65536
15:14:37.119 HeartBeat.checkHeartBeat(): slave localhost-0 has not responded for 185 seconds.
15:17:44.961 Start/end command: executing '/banktools/perfbench/vdbench504/vdbench jstack'
15:17:44.962 execute(): /banktools/perfbench/vdbench504/vdbench jstack
15:17:44.977 19 707.8 45.18 0.1 0.08 69.6 492.3 62.26 215.5 6.15 30.77 13.47 44.24 65536 0.0 0.00 0.0 0.00 0.0 0.00 0.5 0.02 0.5 0.02 0.0 0.00 0.0 0.00 0.0 0.00
15:17:45.207 tg: java.lang.ThreadGroup[name=main,maxpri=10]
15:17:45.207 tg.get_name: main
15:17:45.207 tg.activeCount: 7
java.lang.ThreadGroup[name=main,maxpri=10]
Thread[Vdbmain,5,main]
Thread[SlaveStarter localhost-10-140311-14.58.51.646,5,main]
Thread[Get_cmd_stream stderr /banktools/perfbench/vdbench504/vdbench SlaveJvm -m localhost -n localhost-10-140311-14.58.51.646 -l localhost-0 -p 5570,5,main]
Thread[Get_cmd_stream stdout /banktools/perfbench/vdbench504/vdbench SlaveJvm -m localhost -n localhost-10-140311-14.58.51.646 -l localhost-0 -p 5570,5,main]
Thread[SlaveOnMaster,10,main]
Thread[Slave HeartBeat,5,main]
Thread[Reporter,10,main]
15:17:45.208 tl [Ljava.lang.Thread;@58093139
15:17:45.208 tl[]: Thread[Vdbmain,5,main]
15:17:45.208 tl[].isalive: true
15:17:45.208 Threadname: Vdbmain
15:17:45.209 dumpOneStack: java.lang.Thread -2
15:17:45.209 dumpOneStack: java.lang.Thread 340
15:17:45.209 dumpOneStack: Vdb.common 383
15:17:45.209 dumpOneStack: Vdb.common 367
15:17:45.209 dumpOneStack: Vdb.Vdbmain 784
15:17:45.209 dumpOneStack: Vdb.Vdbmain 572
15:17:45.209 tl [Ljava.lang.Thread;@58093139
15:17:45.209 tl[]: Thread[SlaveStarter localhost-10-140311-14.58.51.646,5,main]
15:17:45.209 tl[].isalive: true
15:17:45.209 Threadname: SlaveStarter localhost-10-140311-14.58.51.646
15:17:45.209 dumpOneStack: java.lang.Object -2
15:17:45.209 dumpOneStack: java.lang.Object 503
15:17:45.209 dumpOneStack: java.lang.UNIXProcess 210
15:17:45.209 dumpOneStack: Utils.OS_cmd 304
15:17:45.209 dumpOneStack: Utils.OS_cmd 234
15:17:45.209 dumpOneStack: Vdb.SlaveStarter 208
15:17:45.209 dumpOneStack: Vdb.SlaveStarter 157
15:17:45.210 dumpOneStack: Vdb.SlaveStarter 50
15:17:45.210 tl [Ljava.lang.Thread;@58093139
15:17:45.210 tl[]: Thread[Get_cmd_stream stderr /banktools/perfbench/vdbench504/vdbench SlaveJvm -m localhost -n localhost-10-140311-14.58.51.646 -l localhost-0 -p 5570,5,main]
15:17:45.210 tl[].isalive: true
15:17:45.210 Threadname: Get_cmd_stream stderr /banktools/perfbench/vdbench504/vdbench SlaveJvm -m localhost -n localhost-10-140311-14.58.51.646 -l localhost-0 -p 5570
15:17:45.210 dumpOneStack: java.io.FileInputStream -2
15:17:45.210 dumpOneStack: java.io.FileInputStream 272
15:17:45.210 dumpOneStack: java.io.BufferedInputStream 273
15:17:45.210 dumpOneStack: java.io.BufferedInputStream 334
15:17:45.210 dumpOneStack: sun.nio.cs.StreamDecoder 283
15:17:45.210 dumpOneStack: sun.nio.cs.StreamDecoder 325
15:17:45.210 dumpOneStack: sun.nio.cs.StreamDecoder 177
15:17:45.211 dumpOneStack: java.io.InputStreamReader 184
15:17:45.211 dumpOneStack: java.io.BufferedReader 154
15:17:45.211 dumpOneStack: java.io.BufferedReader 317
15:17:45.211 dumpOneStack: java.io.BufferedReader 382
15:17:45.211 dumpOneStack: Utils.Get_cmd_stream 640
15:17:45.211 tl [Ljava.lang.Thread;@58093139
15:17:45.211 tl[]: Thread[Get_cmd_stream stdout /banktools/perfbench/vdbench504/vdbench SlaveJvm -m localhost -n localhost-10-140311-14.58.51.646 -l localhost-0 -p 5570,5,main]
15:17:45.211 tl[].isalive: true
15:17:45.211 Threadname: Get_cmd_stream stdout /banktools/perfbench/vdbench504/vdbench SlaveJvm -m localhost -n localhost-10-140311-14.58.51.646 -l localhost-0 -p 5570
15:17:45.211 dumpOneStack: java.nio.charset.CoderResult 120
15:17:45.211 dumpOneStack: sun.nio.cs.StreamDecoder 318
15:17:45.211 dumpOneStack: sun.nio.cs.StreamDecoder 177
15:17:45.211 dumpOneStack: java.io.InputStreamReader 184
15:17:45.212 dumpOneStack: java.io.BufferedReader 154
15:17:45.212 dumpOneStack: java.io.BufferedReader 317
15:17:45.212 dumpOneStack: java.io.BufferedReader 382
15:17:45.212 dumpOneStack: Utils.Get_cmd_stream 640
15:17:45.212 tl [Ljava.lang.Thread;@58093139
15:17:45.212 tl[]: Thread[SlaveOnMaster,10,main]
15:17:45.212 tl[].isalive: true
15:17:45.212 Threadname: SlaveOnMaster
15:17:45.212 dumpOneStack: sun.nio.ch.FileDispatcherImpl -2
15:17:45.212 dumpOneStack: sun.nio.ch.FileDispatcherImpl 60
15:17:45.212 dumpOneStack: sun.nio.ch.IOUtil 93
15:17:45.212 dumpOneStack: sun.nio.ch.IOUtil 65
15:17:45.212 dumpOneStack: sun.nio.ch.FileChannelImpl 205
15:17:45.212 dumpOneStack: Utils.Bin 759
15:17:45.212 dumpOneStack: Utils.Bin 853
15:17:45.212 dumpOneStack: Vdb.FwdStats 668
15:17:45.212 dumpOneStack: Vdb.FwdReport 92
15:17:45.213 dumpOneStack: Vdb.CollectSlaveStats 415
15:17:45.213 dumpOneStack: Vdb.CollectSlaveStats 320
15:17:45.213 dumpOneStack: Vdb.SlaveOnMaster 113
15:17:45.213 dumpOneStack: Vdb.SlaveOnMaster 42
15:17:45.213 tl [Ljava.lang.Thread;@58093139
15:17:45.213 tl[]: Thread[Slave HeartBeat,5,main]
15:17:45.213 tl[].isalive: true
15:17:45.213 Threadname: Slave HeartBeat
15:17:45.213 dumpOneStack: java.lang.Thread 1588
15:17:45.213 dumpOneStack: Vdb.common 1633
15:17:45.213 dumpOneStack: Vdb.common 1627
15:17:45.213 dumpOneStack: Vdb.HeartBeat 78
15:17:45.213 tl [Ljava.lang.Thread;@58093139
15:17:45.213 tl[]: Thread[Reporter,10,main]
15:17:45.213 tl[].isalive: true
15:17:45.213 Threadname: Reporter
15:17:45.214 dumpOneStack: java.lang.Object -2
15:17:45.214 dumpOneStack: Utils.Semaphore 168
15:17:45.214 dumpOneStack: Vdb.CollectSlaveStats 489
15:17:45.214 dumpOneStack: Vdb.Reporter 189
15:17:45.214
15:17:45.214 Heartbeat monitor: One or more slaves did not respond
15:17:45.214
java.lang.RuntimeException: Heartbeat monitor: One or more slaves did not respond
at Vdb.common.failure(common.java:308)
at Vdb.HeartBeat.run(HeartBeat.java:79)Thanks for the tips. This is what has been done.
1) Ran adding fsd=defaulf,workingsetsize=16 (since 64 GB machine and 4 FSDs), which failed.
2) Removing the openflag=directio, it ran in spurts (faster and slower) which ran longer but then failed.
3) Did a run, origial options, with vmstat & iostat reporting every 5 seconds. In that noticed an increase in CPU an decrease in IO rate until VDBench gave an error.
I was unable to upload images with Excel graphs, so have the summary below. Thanks for looking at this.
CPU
sda
dm-7
Remarks
Time
%user
%nice
%system
%iowait
%steal
%idle
Time
tps
MB_read/s
MB_wrtn/s
MB_read
MB_wrtn
Time
tps
MB_read/s
MB_wrtn/s
MB_read
MB_wrtn
5:52:50
2.38
0
0.17
0
0
97.45
5:52:50
2.2
0
0.02
0
0
5:52:50
0
0
0
0
0
VDBench Start
5:52:55
1.3
0
0.64
0.26
0
97.8
5:52:55
433.6
0
42.99
0
214
5:52:55
553.8
0
43.9
0
219
Starting
RD=format_for_rd1
5:53:00
0.05
0
0.14
18.04
0
81.76
5:53:00
1014
0
113.22
0
566
5:53:00
1310.8
0
113.08
0
565
5:53:05
0.09
0
0.13
17.52
0
82.26
5:53:05
994.4
0
111.4
0
557
5:53:05
1294.6
0
111.4
0
557
5:53:10
0.03
0
0.16
16.1
0
83.72
5:53:10
992
0
112.06
0
560
5:53:10
1259
0
112.02
0
560
5:53:15
0.01
0
0.14
16.71
0
83.13
5:53:15
987.4
0
111.61
0
558
5:53:15
1252.2
0
111.44
0
557
5:53:20
0.07
0
0.14
16.34
0
83.44
5:53:20
1006
0
111.54
0
557
5:53:20
1297.2
0
111.32
0
556
5:53:25
2.8
0
0.29
14.65
0
82.26
5:53:25
986.4
0
112.87
0
564
5:53:25
1265.6
0
112.7
0
563
5:53:30
0.02
0
0.13
14.72
0
85.14
5:53:30
779.2
0
84.18
0
420
5:53:30
1024.8
0
84.24
0
421
5:53:35
0.03
0
0.11
13.13
0
86.73
5:53:35
687
0
77.48
0
387
5:53:35
907.8
0
77.47
0
387
5:53:40
0.03
0
0.13
13.49
0
86.35
5:53:40
726.2
0
83.77
0
418
5:53:40
946.2
0
83.76
0
418
5:53:45
0.03
0
0.15
11.37
0
88.45
5:53:45
930
0
102.99
0
514
5:53:45
1205.4
0
102.92
0
514
5:53:50
0.05
0
0.12
11.45
0
88.38
5:53:50
653.2
0
76.02
0
380
5:53:50
873.4
0
76.01
0
380
5:53:55
0.54
0
0.15
14
0
85.31
5:53:55
686.4
0
76.67
0
383
5:53:55
884.4
0
76.54
0
382
5:54:00
2.99
0
0.28
15.18
0
81.54
5:54:00
751.2
0
85.88
0
429
5:54:00
985
0
85.71
0
428
5:54:05
0.96
0
0.13
13.88
0
85.03
5:54:05
800.2
0
85.45
0
427
5:54:05
997.4
0
84.88
0
424
5:54:10
0.56
0
0.16
13.28
0
86
5:54:10
925.8
0
88.16
0
440
5:54:10
1015.6
0
86.02
0
430
5:54:15
0.02
0
0.11
10.02
0
89.86
5:54:15
854.4
0
73.46
0
367
5:54:15
1010.4
0
72.84
0
364
5:54:20
0.02
0
0.13
8.18
0
91.67
5:54:20
848.8
0
95.29
0
476
5:54:20
1067.4
0
95.26
0
476
5:54:25
0.14
0
0.11
8.26
0
91.49
5:54:25
506.6
0
56.35
0
281
5:54:25
647.2
0
56.34
0
281
5:54:30
0.02
0
0.13
7.78
0
92.08
5:54:30
740
0
82.9
0
414
5:54:30
925.4
0
82.8
0
413
5:54:35
2.35
0
0.26
8.1
0
89.29
5:54:35
943.2
0
106.95
0
534
5:54:35
1205.4
0
106.93
0
534
5:54:40
0.36
0
0.18
10.88
0
88.57
5:54:40
898.6
0
100.75
0
503
5:54:40
1145.2
0
100.63
0
503
5:54:45
0.03
0
0.16
9.81
0
90
5:54:45
856.8
0
96.83
0
484
5:54:45
1093.4
0
96.8
0
484
5:54:50
0.06
0
0.13
9.82
0
89.99
5:54:50
980.4
0
92.57
0
462
5:54:50
1206.8
0
92.52
0
462
5:54:55
0.23
0
0.12
8.68
0
90.97
5:54:55
706.4
0
79.35
0
396
5:54:55
901
0
79.34
0
396
5:55:00
0.02
0
0.13
7.34
0
92.51
5:55:00
966.4
0
109.26
0
546
5:55:00
1225
0
109.25
0
546
5:55:05
0.04
0
0.21
9.38
0
90.36
5:55:05
931
0
104.74
0
523
5:55:05
1185.4
0
104.68
0
523
5:55:10
2.12
0
0.26
9.21
0
88.42
5:55:10
922.2
0
103.49
0
517
5:55:10
1176
0
103.38
0
516
5:55:15
0.56
0
0.16
9.37
0
89.91
5:55:15
852.8
0
95.87
0
479
5:55:15
1081.8
0
95.65
0
478
5:55:20
0.03
0
0.16
9.42
0
90.4
5:55:20
872
0
98.11
0
490
5:55:20
1102
0
98.05
0
490
5:55:25
0.18
0
0.14
8.99
0
90.69
5:55:25
927.2
0
84.23
0
421
5:55:25
1137.8
0
84.16
0
420
5:55:30
0.03
0
0.11
9.29
0
90.57
5:55:30
879.8
0
99.34
0
496
5:55:30
1122.8
0
99.35
0
496
5:55:35
0.02
0
0.14
8.05
0
91.8
5:55:35
878
0
98.93
0
494
5:55:35
1116.8
0
98.9
0
494
5:55:40
0.05
0
0.13
7.43
0
92.39
5:55:40
922.4
0
103.69
0
518
5:55:40
1170.6
0
103.66
0
518
5:55:45
1.89
0
0.22
7.36
0
90.53
5:55:45
737.6
0
83.7
0
418
5:55:45
945.6
0
83.68
0
418
5:55:50
0.81
0
0.18
7.64
0
91.37
5:55:50
885
0
98.97
0
494
5:55:50
1122.6
0
98.84
0
494
5:55:55
0.07
0
0.13
6.73
0
93.07
5:55:55
964.6
0
91.49
0
457
5:55:55
1185.2
0
91.22
0
456
Starting RD=rd1
5:56:00
0.24
0
0.17
3.5
0
96.09
5:56:00
718.4
0
80.52
0
402
5:56:00
902
0
80.22
0
401
5:56:05
0.64
0
0.14
3.79
0
95.43
5:56:05
1016
41.73
18.6
208
93
5:56:05
1170.6
42.12
18.59
210
92
5:56:10
0.09
0
0.09
6.04
0
93.78
5:56:10
884
37.07
15.87
185
79
5:56:10
990.2
37.06
15.87
185
79
5:56:15
0.06
0
0.06
8.27
0
91.61
5:56:15
517.4
22.26
9.07
111
45
5:56:15
587.2
22.16
9.15
110
45
5:56:20
1.68
0
0.15
8.39
0
89.78
5:56:20
558.2
22.69
10.91
113
54
5:56:20
643.6
22.7
10.88
113
54
5:56:25
0.99
0
0.13
8.92
0
89.96
5:56:25
597
24.41
11.36
122
56
5:56:25
680.4
24.51
11.19
122
55
5:56:30
0.03
0
0.11
7.75
0
92.12
5:56:30
842.8
35.72
15.21
178
76
5:56:30
956.6
35.71
15.3
178
76
5:56:35
0.06
0
0.08
12.53
0
87.34
5:56:35
513.4
22.46
8.62
112 -
I have been using Bridge/Photoshop without any incident. But recently when I open Bridge it takes too long to show content and If I double click on a folder or photo It freezes showing in the bar above - not responding. After some seconds it goes back to life. I have not installed any software. I have the program installed in the C Hard Drive, the Photos and the Cache in different Hard Drives with plenty of space (WD - Black Series). I have also checked the hard drives just in case but are OK. Any guess???? Thank you
A month ago I uninstalled AVG Internet security from my computer making it a lot less potent to BSODs in general, (can't reacall having any.) So today I thought I'd try to learn some more Audition. I could Sit with it for a good while just playing around with recordings and settings and my system didn't react weirdly at all. So the next step was of course to try and load some of the Udemy lectures I had waiting.
As the video was buffering I turned away from the computer for a while, but when I came back it had completely froze up again... I don't think I've ever had a BSOD in this context either, instead of going into BSOD the computer just stops responding completely.
(I'm using the latest version of Flash, tried with both Firefox and Chrome.)
I'm thinking this is a very niche bug and I can't seem to se that it can be anything but a conflict with Flash. Weither it's a memory leek or what ever it is.
I can use Audition fine on my computer it seems, as long as I never start a browser in risk of loading a Flash application, (which would be fine if I was avid, but I need some lectures to get started.)
Nothing really seems to be overloaded (RAM/CPU) before the freeze ocurs either.
I don't really know where or how to adress this to the Flash Player forum/community, (or if there is one.)
Thanks. -
Re-Posting message with more information.
Toplink 9.0.4.8 and JTS not rolling back transaction
Hi
Scenario:
I have a session bean (EJB1) calling a session bean (EJB2).
When an EJB1 is called, EJB1 persists data on to Table1 in database.
And EJB1 makes multiple calls to EJB2 to create entries in three different tables. Trans-attribute is set as required on both EJBS.
Problem:
EJB1 gets a Runtime Exception while inserting the data into TABLE1 (ORA-12899: value too large for column), EJB1 transaction is rollback, but all other transactions related to EJB2 are getting committed. I assume that they should roll back too.
Also, I did JAD on external transaction controller and listener and noticed that there is a transaction associated to each call. Meaning EJB1 had Transaction T1 and EJB2 had T2, T3, and T4 for the subsequent calls. When EJB1 is getting runtime exception in the method beforeCompletion(), the it calls rollbackGlobalTransaction() which is calling T1.setRollbackonly(). But not on on T2, T3, and T4 rollback
Am I missing anything?
Please help me
Here are my configuration details:
The datasource configuration:
<data-source name="myTxDataSource"
class="com.evermind.sql.OrionCMTDataSource"
location="jdbc/myTxDataSourceCoreDS"
xa-location="jdbc/xa/myTxDataSourceXADS"
ejb-location="jdbc/myTxDataSourceDS"
pooled-location="jdbc/myTxDataSourcePooledDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="duser"
password="d123"
url="jdbc:oracle:thin:@localhost:1521:ORCL"
inactivity-timeout="30"
/>
Sessions.xml
<login>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<connection-url>jdbc:oracle:thin:@localhost:1521:orcl</connection-url>
<datasource>jdbc/DimpleTxDataSourceCoreDS</datasource>
<user-name>duser</user-name>
<encryption-class-name>oracle.toplink.internal.security.JCEEncryptor</encryption-class-name>
<encrypted-password>22F7AFE6F6B9672435537CE1189E123DD62D1A19DF561D1E</encrypted-password>
<uses-native-sequencing>true</uses-native-sequencing>
<uses-external-connection-pool>true</uses-external-connection-pool>
<uses-external-transaction-controller>true</uses-external-transaction-controller>
</login>
<external-transaction-controller-class>oracle.toplink.jts.oracle9i.Oracle9iJTSExternalTransactionController</external-transaction-controller-class>
Toplink Helper class that is used by both EJB's
This one uses SessionBroker. here is how it is initialized:
SessionManager manager = SessionManager.getManager();
sessionBroker = (SessionBroker) manager.getSession(xmlLoader,
sessionBrokerName, this.getClass().getClassLoader());
Oracle9iJTSExternalTransactionController extController = new Oracle9iJTSExternalTransactionController();
sessionBroker.setExternalTransactionController(extController);
It has common following commong methods:
public UnitOfWork getUnitOfWork() {
UnitOfWork uow = sessionBroker.getActiveUnitOfWork();
return uow;
public Object create(Object o)
UnitOfWork uow = getUnitOfWork();
uow.registerNewObject(o);
// added so that the assigned sequence number will be available before the commit happens
uow.assignSequenceNumber(o);
return o;
}A couple of this appear different in your sessions.xml. To do what you want you need to configure TopLink to:
1. Use an external XT controller - requires flag to be set and controller provided
2. Use the OC4J data source - requires flag to be set and data source name provided
I notice that your sessions.xml has both a data source name as well as a direct connection URL.
Here is a sample that shows the proper settings for the external TX and data source usage:
<?xml version = '1.0' encoding = 'UTF-8'?>
<!DOCTYPE toplink-configuration PUBLIC "-//Oracle Corp.//DTD TopLink Sessions 9.0.4//EN" "sessions_9_0_4.dtd">
<toplink-configuration>
<session>
<name>default</name>
<project-xml>META-INF/tlMap1.xml</project-xml>
<session-type>
<server-session/>
</session-type>
<login>
<datasource>jdbc/DimpleTxDataSourceCoreDS</datasource>
<platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
<uses-external-connection-pool>true</uses-external-connection-pool>
<uses-external-transaction-controller>true</uses-external-transaction-controller>
</login>
<external-transaction-controller-class>oracle.toplink.jts.oracle9i.Oracle9iJTSExternalTransactionController</external-transaction-controller-class>
<enable-logging>true</enable-logging>
<logging-options>
<print-thread>false</print-thread>
<print-date>false</print-date>
</logging-options>
</session>
</toplink-configuration>Doug -
Toplink 9.0.4.8 and JTS not rolling back transaction
Hi
Scenario:
I have a session bean (EJB1) calling a session bean (EJB2).
When an EJB1 is called, EJB1 persists data on to Table1 in database.
And EJB1 makes multiple calls to EJB2 to create entries in three different tables. Trans-attribute is set as required on both EJBS.
Problem:
EJB1 gets a Runtime Exception while inserting the data into TABLE1 (ORA-12899: value too large for column), EJB1 transaction is rollback, but all other transactions related to EJB2 are getting committed. I assume that they should roll back too.
Also, I did JAD on external transaction controller and listener and noticed that there is a transaction associated to each call. Meaning EJB1 had Transaction T1 and EJB2 had T2, T3, and T4 for the subsequent calls. When EJB1 is getting runtime exception in the method beforeCompletion(), the it calls rollbackGlobalTransaction() which is calling T1.setRollbackonly(). But not on on T2, T3, and T4 rollback
Am I missing anything?
Please help me
Here are my configuration details:
The datasource configuration:
<data-source name="myTxDataSource"
class="com.evermind.sql.OrionCMTDataSource"
location="jdbc/myTxDataSourceCoreDS"
xa-location="jdbc/xa/myTxDataSourceXADS"
ejb-location="jdbc/myTxDataSourceDS"
pooled-location="jdbc/myTxDataSourcePooledDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="duser"
password="d123"
url="jdbc:oracle:thin:@localhost:1521:ORCL"
inactivity-timeout="30"
/>
Sessions.xml
<login>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<connection-url>jdbc:oracle:thin:@localhost:1521:orcl</connection-url>
<datasource>jdbc/DimpleTxDataSourceCoreDS</datasource>
<user-name>duser</user-name>
<encryption-class-name>oracle.toplink.internal.security.JCEEncryptor</encryption-class-name>
<encrypted-password>22F7AFE6F6B9672435537CE1189E123DD62D1A19DF561D1E</encrypted-password>
<uses-native-sequencing>true</uses-native-sequencing>
<uses-external-connection-pool>true</uses-external-connection-pool>
<uses-external-transaction-controller>true</uses-external-transaction-controller>
</login>
<external-transaction-controller-class>oracle.toplink.jts.oracle9i.Oracle9iJTSExternalTransactionController</external-transaction-controller-class>
Toplink Helper class that is used by both EJB's
This one uses SessionBroker. here is how it is initialized:
SessionManager manager = SessionManager.getManager();
sessionBroker = (SessionBroker) manager.getSession(xmlLoader,
sessionBrokerName, this.getClass().getClassLoader());
Oracle9iJTSExternalTransactionController extController = new Oracle9iJTSExternalTransactionController();
sessionBroker.setExternalTransactionController(extController);
It has common following commong methods:
public UnitOfWork getUnitOfWork() {
UnitOfWork uow = sessionBroker.getActiveUnitOfWork();
return uow;
public Object create(Object o)
UnitOfWork uow = getUnitOfWork();
uow.registerNewObject(o);
// added so that the assigned sequence number will be available before the commit happens
uow.assignSequenceNumber(o);
return o;
}Doug, Andrei and others
I found the problem. I have a Delegate that provides access to all EJBS. This delegate is used by both the webtier and middle tier.It is written in a generic fashion so that the web server and middle tier does not have to be co-located in one container. getInitialContext() which is implemented as follows:
private static Context getInitialContext() throws NamingException
// Get InitialContext for Embedded OC4J.
// The embedded server must be running for lookups to succeed.
// actual code reads from the external parameters
String contextFactory = "com.evermind.server.rmi.RMIInitialContextFactory";
String principal = "admin";
String passwd = "admin123";
String providerURL = "ormi://localhost:3201/shc";
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, contextFactory);
env.put(Context.SECURITY_PRINCIPAL, principal);
env.put(Context.SECURITY_CREDENTIALS, passwd);
env.put(Context.PROVIDER_URL, providerURL);
env.put("dedicated.rmicontext","true");
return new InitialContext(env);
When the EJB1 tries to look up for EJB2, container thinks that the call is from outside the container and it is starting a new transaction.
When I changed the EJB1 to look up EJB2 to get the context as shown below,every thing seems to rolling back.
private static Context getInitialContext() throws NamingException
return new InitialContext();
Thanks again for pointing me in the right direction.
I will post the same message in other threads.
Raju
Maybe you are looking for
-
Editing html css in dashboard page
Hi experts! My client wants to delete all blanks dashboard, to make it as compact as possible. So I'm try to get good results I found and Addon in firefox called FireBug. And I can to see all blanks in my dashboard. I add a picture with difference of
-
Abap development in AFS Module
Hi ABAP Gurus, I am working as abap developer. I need to work on afs module.But i am new in AFS module. If any one has any good information like what kind of development we need to do in AFS and how to find usefule tables and basic understanding of A
-
I don't know what camara is it, and i need to use it with xp and didn't work
hi, i need help!!! i don't know exactly the model of the webcam, the cd said that is video blaster webcam, but y could't find it anywear, mi camera is this http://www.search4hardware.com/Images/tblDigitalCamera/Creative%20Video%20Blaster%20WebCam.jpg
-
How To Hide In Stock/Out Of Stock System Wide?
Hi, We are selling items that are setup as Bills of Material. The problem is that they always show as Not In Stock on the website. This is because the stock levels come from OITM (Items in B1) and for BoMs the matching item in B1 does not get a stock
-
How can I restore Unix-files and -direcories like /usr or /opt from a Time Machine backup?