Message:
The following issue has been closed.
Resolver: Howard M. Lewis Ship
Date: Tue, 31 Aug 2004 1:08 PM
Easy to reproduce, hard to fix. I believe I have it nailed, but I'm concerned
that there might be class loader issues in non-trivial deployments (i.e.,
inside an EAR with different EJB and WAR modules sharing a single Registry).
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/HIVEMIND-48
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HIVEMIND-48
Summary: ServicePropertyFactory fails if Holder and User are not in one
module
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: HiveMind
Components:
library
Fix Fors:
1.0
Versions:
1.0
Assignee: Howard M. Lewis Ship
Reporter: Michael Frericks
Created: Tue, 31 Aug 2004 5:40 AM
Updated: Tue, 31 Aug 2004 1:08 PM
Environment: hivemind-1.0-rc-1
Description:
The ServicePropertyFactory fails if the
serices 'PropertyHolder', 'Property' and 'PropertyUser'
are togetheer in one module.
If the 'PropertyHolder' defined in a separate module, the
the following error occurs (src of example will be uploaded):
org.apache.hivemind.ApplicationRuntimeException: Unable to construct service
serviceproperty.test2.Property: Unable to lookup $ThreadedProxy_feb4d1ae00_42:
$ThreadedProxy_feb4d1ae00_42
at
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:156)
at
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:130)
at
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:69)
at $InnerProxy_feb4d1ae0a_44._service($InnerProxy_feb4d1ae0a_44.java)
at $InnerProxy_feb4d1ae0a_44.getValue($InnerProxy_feb4d1ae0a_44.java)
at
$SingletonProxy_feb4d1ae0a_43.getValue($SingletonProxy_feb4d1ae0a_43.java)
at PropertyUserImpl.workOnProperty(PropertyUserImpl.java:15)
at
$InnerProxy_feb4d1adec_39.workOnProperty($InnerProxy_feb4d1adec_39.java)
at
$SingletonProxy_feb4d1add8_38.workOnProperty($SingletonProxy_feb4d1add8_38.java)
at PropertyTest.testTwoModules(PropertyTest.java:19)
at java.lang.reflect.Method.invoke(Native Method)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]