Hi there,

I am using merlin-unit-3.2.5-dev.  I am currently
trying to test using Merlin for some services in the
application I am writing.

In my test, I am starting another engine (within the
Merlin container) that manages so JMX events.

It looks like when JMX kicks off, my thread errors out
and throws an EXCEPTION_ACCESS_VIOLATION error.  Any
idea what would be causing this.

Looking forward to your response.

David.


test:test:
    [junit] dir attribute ignored if running in the
same VM
    [junit] Running
org.apache.jetspeed.spi.services.prefs.TestPropertyManagerService
[INFO   ] (kernel): Merlin Kernel Environment Listing

  ${user.dir} ==
C:\tools\eclipse\workspace\jakarta-jetspeed-2\components\preferences
  ${user.home} == C:\Documents and Settings\David Le
Strat

  ${avalon.repository.cache} ==
C:\tools\maven-1.0-rc1\repository
  ${avalon.repository.hosts} ==
http://dpml.net/,http://ibiblio.org/maven

  ${merlin.override} == null
  ${merlin.lang} == null
  ${merlin.autostart} == true
  ${merlin.repository} == C:\Documents and
Settings\David Le Strat\.maven\repository
  ${merlin.home} ==
C:\tools\eclipse\workspace\avalon\merlin\target\merlin
  ${merlin.debug} == false
  ${merlin.kernel} ==
file:/C:/tools/eclipse/workspace/avalon/merlin/target/merlin/config/kernel.xml
  ${merlin.anchor} ==
C:\tools\eclipse\workspace\jakarta-jetspeed-2\components\preferences
  ${merlin.temp} == C:\DOCUME~1\DAVIDL~1\LOCALS~1\Temp
  ${merlin.server} == true
  ${merlin.config} ==
C:\tools\eclipse\workspace\avalon\merlin\target\merlin\config
  ${merlin.install} == [Ljava.lang.String;@a415a3
  ${merlin.context} ==
C:\tools\eclipse\workspace\jakarta-jetspeed-2\components\preferences\home
  ${merlin.system} ==
C:\tools\eclipse\workspace\avalon\merlin\target\merlin\system
  ${merlin.dir} ==
C:\tools\eclipse\workspace\jakarta-jetspeed-2\components\preferences
  ${merlin.info} == true
  ${merlin.deployment} ==

0 [main] INFO jetspeed.Jetspeed  - Jetspeed
environment attempting to initialize portal Engine...
 INFO: Creating portlet container...
JMX locked by operation init

Unexpected Signal : EXCEPTION_ACCESS_VIOLATION
(0xc0000005) occurred at PC=0x80C1548
Function=JVM_RegisterPerfMethods+0x134D1
Library=C:\j2sdk1.4.2\jre\bin\client\jvm.dll

Current Java thread:
        at
org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.execute(MbeansDescriptorsDOMSource.java:125)
        at
org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.loadDescriptors(MbeansDescriptorsDOMSource.java:113)
        at
org.apache.commons.modeler.Registry.load(Registry.java:792)
        at
org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:897)
        at
org.apache.commons.modeler.Registry.loadMetadata(Registry.java:307)
        at
org.apache.commons.modeler.Registry.loadRegistry(Registry.java:554)
        at
org.apache.jetspeed.services.jmx.JetspeedJMXService.init(JetspeedJMXService.java:260)
        at
org.apache.fulcrum.BaseServiceBroker.getService(Unknown
Source)
        - locked <0x1aaf3d08> (a java.lang.Class)
        at
org.apache.jetspeed.cps.CommonPortletServices.getPortalService(CommonPortletServices.java:189)
        at
org.apache.jetspeed.services.jmx.JMX.getService(JMX.java:95)
        at
org.apache.jetspeed.services.jmx.JMX.startJMX(JMX.java:85)
        at
org.apache.jetspeed.engine.JetspeedEngine.init(JetspeedEngine.java:170)
        at
org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:97)
        at
org.apache.jetspeed.test.JetspeedMerlinTest.setUp(JetspeedMerlinTest.java:118)
        at
junit.framework.TestCase.runBare(TestCase.java:125)
        at
junit.framework.TestResult$1.protect(TestResult.java:106)
        at
junit.framework.TestResult.runProtected(TestResult.java:124)
        at
junit.framework.TestResult.run(TestResult.java:109)
        at
junit.framework.TestCase.run(TestCase.java:118)
        at
junit.framework.TestSuite.runTest(TestSuite.java:208)
        at
junit.framework.TestSuite.run(TestSuite.java:203)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:848)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532)
        at
org.apache.tools.ant.Task.perform(Task.java:341)
        at
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
        at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at
org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
        at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at
com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at
com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
        at
org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
        at
org.apache.maven.cli.App.doMain(App.java:543)
        at
org.apache.maven.cli.App.main(App.java:1109)
        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
com.werken.forehead.Forehead.run(Forehead.java:551)
        at
com.werken.forehead.Forehead.main(Forehead.java:581)

Dynamic libraries:
0x00400000 - 0x00406000        
C:\j2sdk1.4.2\bin\java.exe
0x77F50000 - 0x77FF7000        
C:\WINDOWS\System32\ntdll.dll
0x77E60000 - 0x77F46000        
C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E5D000        
C:\WINDOWS\system32\ADVAPI32.dll
0x78000000 - 0x78086000        
C:\WINDOWS\system32\RPCRT4.dll
0x77C10000 - 0x77C63000        
C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08136000        
C:\j2sdk1.4.2\jre\bin\client\jvm.dll
0x77D40000 - 0x77DCC000        
C:\WINDOWS\system32\USER32.dll
0x77C70000 - 0x77CB0000        
C:\WINDOWS\system32\GDI32.dll
0x76B40000 - 0x76B6C000        
C:\WINDOWS\System32\WINMM.dll
0x10000000 - 0x10007000        
C:\j2sdk1.4.2\jre\bin\hpi.dll
0x00390000 - 0x0039E000        
C:\j2sdk1.4.2\jre\bin\verify.dll
0x003A0000 - 0x003B8000        
C:\j2sdk1.4.2\jre\bin\java.dll
0x003C0000 - 0x003CD000        
C:\j2sdk1.4.2\jre\bin\zip.dll
0x032D0000 - 0x032DF000        
C:\j2sdk1.4.2\jre\bin\net.dll
0x71AB0000 - 0x71AC4000        
C:\WINDOWS\System32\WS2_32.dll
0x71AA0000 - 0x71AA8000        
C:\WINDOWS\System32\WS2HELP.dll
0x71A50000 - 0x71A8B000        
C:\WINDOWS\System32\mswsock.dll
0x76F20000 - 0x76F45000        
C:\WINDOWS\System32\DNSAPI.dll
0x76FB0000 - 0x76FB7000        
C:\WINDOWS\System32\winrnr.dll
0x76F60000 - 0x76F8C000        
C:\WINDOWS\system32\WLDAP32.dll
0x76FC0000 - 0x76FC5000        
C:\WINDOWS\System32\rasadhlp.dll
0x71A90000 - 0x71A98000        
C:\WINDOWS\System32\wshtcpip.dll
0x76C90000 - 0x76CB2000        
C:\WINDOWS\system32\imagehlp.dll
0x6D510000 - 0x6D58D000        
C:\WINDOWS\system32\DBGHELP.dll
0x77C00000 - 0x77C07000        
C:\WINDOWS\system32\VERSION.dll
0x76BF0000 - 0x76BFB000        
C:\WINDOWS\System32\PSAPI.DLL

Heap at VM Abort:
Heap
 def new generation   total 1024K, used 614K
[0x10010000, 0x10120000, 0x10c50000)
  eden space 960K,  62% used [0x10010000, 0x100a5260,
0x10100000)
  from space 64K,  27% used [0x10100000, 0x10104618,
0x10110000)
  to   space 64K,   0% used [0x10110000, 0x10110000,
0x10120000)
 tenured generation   total 12360K, used 5863K
[0x10c50000, 0x11862000, 0x1a010000)
   the space 12360K,  47% used [0x10c50000,
0x11209ef8, 0x1120a000, 0x11862000)
 compacting perm gen  total 11264K, used 11241K
[0x1a010000, 0x1ab10000, 0x1e010000)
   the space 11264K,  99% used [0x1a010000,
0x1ab0a6e0, 0x1ab0a800, 0x1ab10000)

Local Time = Mon Dec 08 11:38:51 2003
Elapsed Time = 11
#
# HotSpot Virtual Machine Error :
EXCEPTION_ACCESS_VIOLATION
# Error ID : 4F530E43505002EF
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed
mode)
#
# An error report file has been saved as
hs_err_pid3236.log.
# Please refer to the file for further information.

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to