Sill confused.
I've gone through and identified and fixed cases of the static initializers as described below. I've tried a number of different options to resolve this but it seems that I am still getting the java.lang.ExceptionInInitializerError. From what I can tell
it is happening when I try to access the database and retrieve some value. I've tried a couple different approaches to retrieve data from the database but both give the error found in the portion of the stacktrace below.
Here's a section of code from EvaluateCredit.EvaluateCredit_String() showing what I have tried. The line with the objectsMatchingKeyAndValue that is currently commented out was tried before the current EOFetchSpecification code and produced the same error.
//NSArray nsarray = EOUtilities.objectsMatchingKeyAndValue(ec,"RMConfig","sKey","#WebSvcLockFile");
NSMutableArray arrayInstanceId = new NSMutableArray();
arrayInstanceId.addObject("#WebSvcLockFile");
EOQualifier qualQuoteProd = EOQualifier.qualifierWithQualifierFormat("sKey = %@", arrayInstanceId);
EOFetchSpecification fs = new EOFetchSpecification("RMQuoteProduct",qualQuoteProd, null);
fs.setIsDeep(false);
NSArray nsarray = (NSArray)ec.objectsWithFetchSpecification(fs);
NSLog.out.appendln(" ---- EvaluateCredit: returned from objectsMatchingKeyAndValue");
if (nsarray == null) {
NSLog.out.appendln(" ---- EvaluateCredit: getparm -- nsarray is null ");
}
if (nsarray.count() > 0) {
EOEnterpriseObject eoobj = (EOEnterpriseObject)nsarray.objectAtIndex(0);
NSLog.out.appendln(" ---- RMConfig: getparm -- returns: "+(String)eoobj.storedValueForKey("sValue"));
}
NSLog.out.appendln(" ---- After call to RMConfig to get the lock file name = "+fOutputFile);
I noticed in the log file that it goes through a process of loading all of my plist items from the model and the output generally looks like this, where TempQuoteExemption is one of my EOModel objects. This comes just before the error below in the log
file:
17:32:14,531 TRACE [org.jboss.modules] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) Finding local class TempQuoteExemption from Module "deployment.axis.war:main" from Service Module Loader
17:32:14,531 TRACE [org.jboss.modules] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) Loading class TempQuoteExemption locally from Module "deployment.axis.war:main" from Service Module Loader
17:32:14,532 TRACE [org.jboss.modules] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) Attempting to define class TempQuoteExemption in Module "deployment.axis.war:main" from Service Module Loader
17:32:14,532 TRACE [org.jboss.modules] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) Defined class TempQuoteExemption in Module "deployment.axis.war:main" from Service Module Loader
Do you have any other suggestions for what might be causing this error or what I should look at next?
17:32:14,641 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) com.webobjects.foundation.NSForwardException for java.lang.ExceptionInInitializerError
17:32:14,642 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOAdaptor.infoDictionaryForAdaptorNamed(EOAdaptor.java:238)
17:32:14,642 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOAdaptor.classNameForAdaptorNamed(EOAdaptor.java:254)
17:32:14,643 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOAdaptor.classForAdaptorNamed(EOAdaptor.java:271)
17:32:14,643 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOAdaptor.adaptorWithName(EOAdaptor.java:295)
17:32:14,644 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOAdaptor.adaptorWithModel(EOAdaptor.java:325)
17:32:14,644 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EODatabase.<init>(EODatabase.java:215)
17:32:14,645 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EODatabaseContext.registeredDatabaseContextForModel(EODatabaseContext.java:1111)
17:32:14,645 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:32:14,646 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
17:32:14,646 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
17:32:14,647 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.reflect.Method.invoke(Method.java:606)
17:32:14,647 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSSelector.invoke(NSSelector.java:354)
17:32:14,647 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSSelector._safeInvokeSelector(
NSSelector.java:108)
17:32:14,648 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EODatabaseContext._cooperatingObjectStoreNeeded(EODatabaseContext.java:1290)
17:32:14,648 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:32:14,649 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
17:32:14,650 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
17:32:14,650 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.reflect.Method.invoke(Method.java:606)
17:32:14,651 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:120)
17:32:14,652 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNotificationCenter.java:598)
17:32:14,653 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:542)
17:32:14,653 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:572)
17:32:14,654 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOObjectStoreCoordinator.requestStore(EOObjectStoreCoordinator.java:213)
17:32:14,655 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectStoreForFetchSpecification(EOObjectStoreCoordinator.java:293)
17:32:14,656 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:530)
17:32:14,656 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4053)
17:32:14,657 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4438)
17:32:14,658 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at EvaluateCredit.EvaluateCredit_String(Unknown Source)
17:32:14,658 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:32:14,659 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
17:32:14,659 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
17:32:14,660 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.reflect.Method.invoke(Method.java:606)
17:32:14,660 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
17:32:14,661 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
17:32:14,661 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
17:32:14,662 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
17:32:14,662 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
17:32:14,663 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
17:32:14,663 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
17:32:14,663 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
17:32:14,664 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
17:32:14,664 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
17:32:14,665 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
17:32:14,666 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
17:32:14,667 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
17:32:14,667 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
17:32:14,668 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.verizon.itwagent.ITWBAgent.doFilter(ITWBAgent.java:589)
17:32:14,669 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
17:32:14,671 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
17:32:14,671 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
17:32:14,672 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
17:32:14,673 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
17:32:14,674 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
17:32:14,675 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
17:32:14,675 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
17:32:14,676 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
17:32:14,677 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
17:32:14,677 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
17:32:14,678 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
17:32:14,679 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.Thread.run(Thread.java:724)
17:32:14,681 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) Caused by: java.lang.NullPointerException
17:32:14,682 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSBundle.LoadUserAndBundleProperties(NSBundle.java:640)
17:32:14,682 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:367)
17:32:14,683 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) ... 60 more
Thanks,
Terry Soles
214-273-3916
(v922) 3916
Sent: Tuesday, February 10, 2015 2:15 PM
Subject: Re: JBoss 6.2 and EOModelGroup issues
A static initializer will be either a block like you show below, or something like
static Foo foo = new Foo();
From the stack trace you can see
at com.webobjects.eoaccess.EOUtilities.objectatchingKeyAndValue(EOUtilities.java:168)
at RMConfig.getParm(Unknown Source)
at RMMktSegment.<clinit>(Unknown Source)
So RMMktSegment has a static initializer that calls RMConfig.getParm() which triggers a fetch.
This is doing a similar thing:
at RMConfig.getParmWithDefault(Unknown Source)
at RMCustProfile.<clinit>(Unknown Source)
This is generally a bad idea. It won't fail 100% of the time. But subtle code and environmental changes can make it start failing. The Lazy Creation pattern is a good way to refactor this into safe code.
Chuck
On 2015-02-10, 10:29 AM, "Soles, James T" wrote:
Unfortunately I don't think that I am going to get an explanation for what the IllegalMonitorState exception was since that change was many years ago and the person who made the change no longer works with us.
I tried commenting out those static references to eomodel and I still get the same error. I am still not understanding exactly what is meant by "static initializers that access EOF". Can you help me understand this or let me know what else I might need
to look for?
I'm open to making whatever changes are necessary to get our application to work with JBoss 6.2 and even willing to do some trial and error approaches to determine what the issue is and the final resolution. Any help you can provide would be greatly appreciated.
Thanks,
Terry Soles
214-273-3916
(v922) 3916
Sent: Sunday, February 08, 2015 10:59 PM
Subject: Re: JBoss 6.2 and EOModelGroup issues
Without knowing what the IllegalMonitorState exception was, I can't guess why this was done
On 2015-02-06, 11:14 AM, "Soles, James T" wrote:
Chuck,
Thank you for the response.
Yes, if I understand what is meant by static initializers, I believe that we are using them.
public static EOModelGroup eomodel;
static {
// @version 8.2 Added following line to resolve IllegalMonitorStateException when loading eomodel
EOSharedEditingContext.defaultSharedEditingContext();
eomodel = EOModelGroup.defaultGroup();
}
This dates back to the original development of our application some 15 years ago and has not presented an issue, that I am aware of, until this upgrade to JBoss 6. I guess we have been lucky in the past with regards to how the classes were being loaded.
Is there an approach that I can take to resolve this while not creating new issues for my application? I don't know the reason this approach was used in the beginning so I'm not sure if this approach was used to resolve some issue they were having at
the time or just a bad approach.
Thanks,
Terry Soles
214-273-3916
(v922) 3916
Sent: Friday, February 06, 2015 1:52 PM
Subject: Re: JBoss 6.2 and EOModelGroup issues
It looks like you might be doing some Bad Things (tm) in your EO classes. Do you have static initializers that access EOF? That is generally a pretty bad idea.
com.webobjects.fouation.NSForwardException for java.lang.ExceptionInInitializerErrorat java.lang.Class.forName0ative Method)
at java.lang.Class.forName(Class.java:190)
at com.webobjects.fouation._NSUtilities._classWithPartialName(_NSUtilities.java:307)
at com.webobjects.fouation._NSUtilities.classWithName(_NSUtilities.java:291)
at com.webobjects.eoaccess.EOModel._setEntityForEntityNameClassName(EOModel.java:1246)
at com.webobjects.eoaccess.EOModel._addFakeEntityWithPropertyList(EOModel.java:1284)
at com.webobjects.eoaccess.EOModel._initWithTableOfContentsPropertyLisathURL(EOModel.java:1096)
at com.webobjects.eoaccess.EOModel.<init>(EOModel.java:806)
at com.webobjects.eoaccess.EOModelGroup.addModelWitathURL(EOModelGroup.java:498)
...
at com.webobjects.eoaccess.EOUtilities.objectatchingKeyAndValue(EOUtilities.java:168)
at RMConfig.getParm(Unknown Source)
at RMMktSegment.<clinit>(Unknown Source)
at java.lang.Class.forName0ative Method)
at java.lang.Class.forName(Class.java:190)
at com.webobjects.fouation._NSUtilities._classWithPartialName(_NSUtilities.java:307)
at com.webobjects.fouation._NSUtilities.classWithName(_NSUtilities.java:291)
at com.webobjects.eoaccess.EOModel._setEntityForEntityNameClassName(EOModel.java:1246)
at com.webobjects.eoaccess.EOModel._addFakeEntityWithPropertyList(EOModel.java:1284)
at com.webobjects.eoaccess.EOModel._initWithTableOfContentsPropertyLisathURL(EOModel.java:1096)
at com.webobjects.eoaccess.EOModel.<init>(EOModel.java:806)
at com.webobjects.eoaccess.EOModelGroup.addModelWitathURL(EOModelGroup.java:498)
...
at RMConfig.getParmWithDefault(Unknown Source)
at RMCustProfile.<clinit>(Unknown Source)
at java.lang.Class.forName0ative Method)
at java.lang.Class.forName(Class.java:190)
at com.webobjects.fouation._NSUtilities._classWithPartialName(_NSUtilities.java:307)
at com.webobjects.fouation._NSUtilities.classWithName(_NSUtilities.java:291)
at com.webobjects.eoaccess.EOModel._setEntityForEntityNameClassName(EOModel.java:1246)
at com.webobjects.eoaccess.EOModel._addFakeEntityWithPropertyList(EOModel.java:1284)
at com.webobjects.eoaccess.EOModel._initWithTableOfContentsPropertyLisathURL(EOModel.java:1096)
at com.webobjects.eoaccess.EOModel.<init>(EOModel.java:806)
at com.webobjects.eoaccess.EOModelGroup.addModelWitathURL(EOModelGroup.java:498)
On 2015-02-03, 6:03 AM, "Soles, James T" wrote:
All,
This is going to be a very long post as I try to describe an issue I have been struggling with for a couple of weeks now. In general, I am looking for help or guidance with upgrading JBoss from version 4 to version 6.
Here's some background on what I have done and where I am currently:
I started trying to do what I hoped was a simple migration with just copying my entire axis.war directory structure from the JBoss 4 implementation to the JBoss 6. This didn't work initially. After some help from RedHat we were able to get JBoss 6 to
load my web service code and execute it when the service is called. My problem now is that when I attempt to make a database call, NSArray nsarray = EOUtilities.objectsMatchingKeyAndValue(ec,"RMConfig","sKey",sKey);, I get an error like this:
com.webobjects.foundation.NSForwardException for java.lang.ExceptionInInitializerError
Based on the reading that I have done it is likely that this is being caused when trying to load the EOModel. To support the service running from JBoss 4 we created a class (ModelGroup) to be used as a delegate since the web service was not running our
entire application but is just an entry point class. However, with JBoss 6 the classes are loaded differently and it appears to me that this delegate approach is not working the same way it did with JBoss 4. I have tried a number of different approaches
to resolve this issue but nothing has worked so far. I'm hoping that someone on the list has had a similar experience and can provide some direction.
Here is the initial part of the method which is the web service entry point (this works with JBoss 4):
public String EvaluateCredit_String(String sRequest)
{
String smsg;
String sRespURL = "";
String sRefId = "";
boolean success = false;
// The time below is no longer actually CST but the time zone of the system and handles whether it is Day Light Saving time or not
NSTimeZone cstTimeZone = NSTimeZone.systemTimeZone();
URL urls[] = {};
// Model delegate class created to make it possible for this method to be able to access the
// database model data when called by a web service.
ModelGroup modelGroup = new ModelGroup(urls);
EOModelGroup.setClassDelegate(modelGroup);
String sCurrentDateTime = RMObject.CreateStringDtOfFormatWithTZ(new NSTimestamp(), "%m/%d/%Y %H:%M:%S",cstTimeZone);
smsg = sCurrentDateTime+" ---- eVal Credit Web service Server has started ";
NSLog.out.appendln(smsg);
// add code to check for a response URL in the SOAP header
SOAPHeaderHandler respHandler = new SOAPHeaderHandler();
sRespURL = respHandler.getResponseURL();
sRefId = respHandler.getReferenceId();
smsg = "*** In EvaluateCredit the sRefId = "+sRefId+"***";
NSLog.out.appendln(smsg);
RamsRegistryServer server = new RamsRegistryServer();
// create a temporary lock file to prevent multiple requests from being processed at the same time
File fOutputFile = null;
FileWriter fileWriter = null;
BufferedWriter out = null;
try {
NSLog.out.appendln(" ---- Before call to RMConfig to get the lock file name");
NSLog.out.appendln(" ---- Before call to RMConfig to get the lock file name = "+ RMConfig.WEBSVC_LOCK_FILE);
fOutputFile = new File(RMConfig.getParm(RMConfig.WEBSVC_LOCK_FILE));
//fOutputFile = new File("/tmp/Lock_Web_Svc");
NSLog.out.appendln(" ---- After call to RMConfig to get the lock file name = "+fOutputFile);
This is where we were setting up the model delegate. Here is the entire ModelGroup class:
import java.io.File;
import java.net.URL;
import java.net.URLClassLoader;
import com.webobjects.eoaccess.EOModel;
import com.webobjects.eoaccess.EOModelGroup;
import com.webobjects.eocontrol.EOEditingContext;
/**
* This class is used to define the Model being used to access the data from the database. It is used primarily
* by methods which will be called by a web service.
* @version 8.0 8/21/08 T. Soles Initial creation.
*/
public class ModelGroup extends URLClassLoader {
protected EOModelGroup modelGroup;
protected EOModel model;
protected EOEditingContext ec;
protected boolean isModelLoaded = false;
public ModelGroup(URL[] urls) {
super(urls);
}
public EOModelGroup defaultModelGroup()
{
if (isModelLoaded)
{
return modelGroup;
}
else
{
try
{
// the path for the RamsModel has to be hardcoded here instead of using a config value because the Model
// has not uet been set and it can not get the config value
File f = new File ("/opt/Apple/Local/Library/Frameworks/RamsBusObjJava.framework/Resources/RamsModel.eomodeld");
java.net.URL modelURL = f.toURL();
modelGroup =new EOModelGroup();
modelGroup.addModelWithPathURL(modelURL);
EOModelGroup.setDefaultGroup(modelGroup);
}
catch( Exception e )
{
//System.out.println("Failed");
e.printStackTrace();
System.exit(0);
}
isModelLoaded = true;
return modelGroup;
}
}
}
RMConfig, the first database object the code attempts to retrieve, like all of our other classes which support database objects extends the RMEOGenericRecord class which extends the EOGenericRecord class. In RMEOGenericRecord we have this code to support
EOModel access by all of our applications:
public class RMEOGenericRecord extends EOGenericRecord implements NSKeyValueCoding.ErrorHandling{
/**Hashtable that contains any key/value pair that is not part of a business object.
*/
Hashtable rmhtOtherValues = new Hashtable();
/**error ids used in this class
*/
protected boolean bLockable = false; //objects that are lockable will set this to true example RMReq, RMCustProfile
private NSTimeZone currentZone = NSTimeZone.systemTimeZone();
private static String CHANGEREQUIRED = "ChangeRequired";
static String DECODE_LENGTH_ERR = "DecodeLength";
static String DECODE_DATE_ERR = "DecodeDate";
static String DECODE_NUMBER_ERR = "DecodeNumber";
static String DECODE_NUMBER_LENGTH_ERR = "DecodeNumLength";
private String sKeyForLockedObject = null;
public static EOModelGroup eomodel;
static {
// @version 8.2 Added following line to resolve IllegalMonitorStateException when loading eomodel
EOSharedEditingContext.defaultSharedEditingContext();
eomodel = EOModelGroup.defaultGroup();
}
public NSTimestamp dtTimestamp;
/** Constructor for validation
*/
public RMEOGenericRecord(EOEditingContext context, EOClassDescription classDesc, EOGlobalID gid)
{
super(context, classDesc, gid);
}
public RMEOGenericRecord()
{
super();
}
.
.
.
A very lengthy stack trace:
13:26:54,709 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) com.webobjects.foundation.NSForwardException for java.l
ang.ExceptionInInitializerError
13:26:54,711 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.Class.forName0(Native Method)
13:26:54,712 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.Class.forName(Class.java:190)
13:26:54,713 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation._NSUtilities._classWith
PartialName(_NSUtilities.java:307)
13:26:54,713 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation._NSUtilities.classWithN
ame(_NSUtilities.java:291)
13:26:54,714 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModel._setEntityForEnti
tyNameClassName(EOModel.java:1246)
13:26:54,714 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModel._addFakeEntityWit
hPropertyList(EOModel.java:1284)
13:26:54,715 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModel._initWithTableOfC
ontentsPropertyListPathURL(EOModel.java:1096)
13:26:54,716 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModel.<init>(EOModel.ja
va:806)
13:26:54,716 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModelGroup.addModelWith
PathURL(EOModelGroup.java:498)
13:26:54,717 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at ModelGroup.defaultModelGroup(Unknown Source)
13:26:54,717 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nati
ve Method)
13:26:54,718 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke(Nativ
eMethodAccessorImpl.java:57)
13:26:54,718 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(D
elegatingMethodAccessorImpl.java:43)
13:26:54,719 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.reflect.Method.invoke(Method.java:606)
13:26:54,719 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSSelector._safeInvokeM
ethod(NSSelector.java:120)
13:26:54,720 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation._NSDelegate._perform(_N
SDelegate.java:225)
13:26:54,720 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation._NSDelegate.perform(_NS
Delegate.java:158)
13:26:54,721 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModelGroup.defaultGroup
(EOModelGroup.java:365)
13:26:54,722 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModelGroup.modelGroupFo
rObjectStoreCoordinator(EOModelGroup.java:887)
13:26:54,722 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EODatabaseContext._cooper
atingObjectStoreNeeded(EODatabaseContext.java:1265)
13:26:54,723 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nati
ve Method)
13:26:54,723 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke(Nativ
eMethodAccessorImpl.java:57)
13:26:54,724 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(D
elegatingMethodAccessorImpl.java:43)
13:26:54,725 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.reflect.Method.invoke(Method.java:606)
13:26:54,725 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSSelector._safeInvokeM
ethod(NSSelector.java:120)
13:26:54,726 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSNotificationCenter$_E
ntry.invokeMethod(NSNotificationCenter.java:598)
13:26:54,726 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSNotificationCenter.po
stNotification(NSNotificationCenter.java:542)
13:26:54,727 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSNotificationCenter.po
stNotification(NSNotificationCenter.java:572)
13:26:54,727 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOObjectStoreCoordinator
.requestStore(EOObjectStoreCoordinator.java:213)
13:26:54,728 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOObjectStoreCoordinator
.objectStoreForFetchSpecification(EOObjectStoreCoordinator.java:293)
13:26:54,729 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOObjectStoreCoordinator
.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:530)
13:26:54,729 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOEditingContext.objects
WithFetchSpecification(EOEditingContext.java:4053)
13:26:54,730 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOEditingContext.objects
WithFetchSpecification(EOEditingContext.java:4438)
13:26:54,730 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOUtilities.objectsMatchi
ngValues(EOUtilities.java:193)
13:26:54,731 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOUtilities.objectsMatchi
ngKeyAndValue(EOUtilities.java:168)
13:26:54,731 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at RMConfig.getParm(Unknown Source)
13:26:54,732 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at RMMktSegment.<clinit>(Unknown Source)
13:26:54,732 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.Class.forName0(Native Method)
13:26:54,735 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.Class.forName(Class.java:190)
13:26:54,736 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation._NSUtilities._classWith
PartialName(_NSUtilities.java:307)
13:26:54,736 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation._NSUtilities.classWithN
ame(_NSUtilities.java:291)
13:26:54,737 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModel._setEntityForEnti
tyNameClassName(EOModel.java:1246)
13:26:54,738 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModel._addFakeEntityWit
hPropertyList(EOModel.java:1284)
13:26:54,739 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModel._initWithTableOfC
ontentsPropertyListPathURL(EOModel.java:1096)
13:26:54,740 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModel.<init>(EOModel.ja
va:806)
13:26:54,741 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModelGroup.addModelWith
PathURL(EOModelGroup.java:498)
13:26:54,742 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at ModelGroup.defaultModelGroup(Unknown Source)
13:26:54,743 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nati
ve Method)
13:26:54,743 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke(Nativ
eMethodAccessorImpl.java:57)
13:26:54,744 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(D
elegatingMethodAccessorImpl.java:43)
13:26:54,744 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.reflect.Method.invoke(Method.java:606)
13:26:54,745 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSSelector._safeInvokeM
ethod(NSSelector.java:120)
13:26:54,745 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation._NSDelegate._perform(_N
SDelegate.java:225)
13:26:54,746 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation._NSDelegate.perform(_NS
Delegate.java:158)
13:26:54,746 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModelGroup.defaultGroup
(EOModelGroup.java:365)
13:26:54,746 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModelGroup.modelGroupFo
rObjectStoreCoordinator(EOModelGroup.java:887)
13:26:54,748 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EODatabaseContext._cooper
atingObjectStoreNeeded(EODatabaseContext.java:1265)
13:26:54,749 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nati
ve Method)
13:26:54,750 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke(Nativ
eMethodAccessorImpl.java:57)
13:26:54,750 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(D
elegatingMethodAccessorImpl.java:43)
13:26:54,755 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.reflect.Method.invoke(Method.java:606)
13:26:54,756 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSSelector._safeInvokeM
ethod(NSSelector.java:120)
13:26:54,757 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSNotificationCenter$_E
ntry.invokeMethod(NSNotificationCenter.java:598)
13:26:54,758 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSNotificationCenter.po
stNotification(NSNotificationCenter.java:542)
13:26:54,759 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSNotificationCenter.po
stNotification(NSNotificationCenter.java:572)
13:26:54,760 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOObjectStoreCoordinator
.requestStore(EOObjectStoreCoordinator.java:213)
13:26:54,760 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOObjectStoreCoordinator
.objectStoreForFetchSpecification(EOObjectStoreCoordinator.java:293)
13:26:54,760 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOObjectStoreCoordinator
.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:530)
13:26:54,761 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOEditingContext.objects
WithFetchSpecification(EOEditingContext.java:4053)
13:26:54,761 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOEditingContext.objects
WithFetchSpecification(EOEditingContext.java:4438)
13:26:54,762 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOUtilities.objectsMatchi
ngValues(EOUtilities.java:193)
13:26:54,763 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOUtilities.objectsMatchi
ngKeyAndValue(EOUtilities.java:168)
13:26:54,764 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at RMConfig.getParmWithDefault(Unknown Source)
13:26:54,764 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at RMCustProfile.<clinit>(Unknown Source)
13:26:54,765 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.Class.forName0(Native Method)
13:26:54,766 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.Class.forName(Class.java:190)
13:26:54,766 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation._NSUtilities._classWith
PartialName(_NSUtilities.java:307)
13:26:54,767 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation._NSUtilities.classWithN
ame(_NSUtilities.java:291)
13:26:54,768 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModel._setEntityForEnti
tyNameClassName(EOModel.java:1246)
13:26:54,768 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModel._addFakeEntityWit
hPropertyList(EOModel.java:1284)
13:26:54,769 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModel._initWithTableOfC
ontentsPropertyListPathURL(EOModel.java:1096)
13:26:54,769 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModel.<init>(EOModel.ja
va:806)
13:26:54,769 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModelGroup.addModelWith
PathURL(EOModelGroup.java:498)
13:26:54,770 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at ModelGroup.defaultModelGroup(Unknown Source)
13:26:54,770 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nati
ve Method)
13:26:54,771 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke(Nativ
eMethodAccessorImpl.java:57)
13:26:54,771 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(D
elegatingMethodAccessorImpl.java:43)
13:26:54,772 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.reflect.Method.invoke(Method.java:606)
13:26:54,772 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSSelector._safeInvokeM
ethod(NSSelector.java:120)
13:26:54,772 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation._NSDelegate._perform(_N
SDelegate.java:225)
13:26:54,773 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation._NSDelegate.perform(_NS
Delegate.java:158)
13:26:54,773 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModelGroup.defaultGroup
(EOModelGroup.java:365)
13:26:54,774 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at RMEOGenericRecord.<clinit>(Unknown Source)
13:26:54,774 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at EvaluateCredit.EvaluateCredit_String(Unknown Sour
ce)
13:26:54,774 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nati
ve Method)
13:26:54,775 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke(Nativ
eMethodAccessorImpl.java:57)
13:26:54,776 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(D
elegatingMethodAccessorImpl.java:43)
13:26:54,777 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.reflect.Method.invoke(Method.java:606)
13:26:54,777 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.providers.java.RPCProvider.invoke
Method(RPCProvider.java:397)
13:26:54,778 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.providers.java.RPCProvider.proces
sMessage(RPCProvider.java:186)
13:26:54,779 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.providers.java.JavaProvider.invok
e(JavaProvider.java:323)
13:26:54,779 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.strategies.InvocationStrategy.vis
it(InvocationStrategy.java:32)
13:26:54,780 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.SimpleChain.doVisiting(SimpleChai
n.java:118)
13:26:54,781 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.SimpleChain.invoke(SimpleChain.ja
va:83)
13:26:54,782 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.handlers.soap.SOAPService.invoke(
SOAPService.java:454)
13:26:54,783 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.server.AxisServer.invoke(AxisServ
er.java:281)
13:26:54,783 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.transport.http.AxisServlet.doPost
(AxisServlet.java:699)
13:26:54,784 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at javax.servlet.http.HttpServlet.service(HttpServle
t.java:754)
13:26:54,785 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.axis.transport.http.AxisServletBase.se
rvice(AxisServletBase.java:327)
13:26:54,785 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at javax.servlet.http.HttpServlet.service(HttpServle
t.java:847)
13:26:54,786 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.core.ApplicationFilterChain.i
nternalDoFilter(ApplicationFilterChain.java:295)
13:26:54,787 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.core.ApplicationFilterChain.d
oFilter(ApplicationFilterChain.java:214)
13:26:54,788 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.verizon.itwagent.ITWBAgent.doFilter(ITWBAgent
.java:589)
13:26:54,788 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.core.ApplicationFilterChain.i
nternalDoFilter(ApplicationFilterChain.java:246)
13:26:54,789 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.core.ApplicationFilterChain.d
oFilter(ApplicationFilterChain.java:214)
13:26:54,790 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.core.StandardWrapperValve.inv
oke(StandardWrapperValve.java:230)
13:26:54,791 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.core.StandardContextValve.inv
oke(StandardContextValve.java:149)
13:26:54,791 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.jboss.as.web.security.SecurityContextAssociat
ionValve.invoke(SecurityContextAssociationValve.java:169)
13:26:54,792 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:145)
13:26:54,793 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.valves.ErrorReportValve.invok
e(ErrorReportValve.java:97)
13:26:54,793 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.core.StandardEngineValve.invo
ke(StandardEngineValve.java:102)
13:26:54,794 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.catalina.connector.CoyoteAdapter.servi
ce(CoyoteAdapter.java:336)
13:26:54,795 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.coyote.http11.Http11Processor.process(
Http11Processor.java:856)
13:26:54,795 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.coyote.http11.Http11Protocol$Http11Con
nectionHandler.process(Http11Protocol.java:653)
13:26:54,796 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run
(JIoEndpoint.java:920)
13:26:54,797 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.Thread.run(Thread.java:724)
13:26:54,800 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) Caused by: com.webobjects.foundation.NSForwardException
[java.lang.ExceptionInInitializerError] null
13:26:54,800 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSForwardException._run
timeExceptionForThrowable(NSForwardException.java:45)
13:26:54,801 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSSelector._safeInvokeM
ethod(NSSelector.java:122)
13:26:54,802 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation._NSDelegate._perform(_N
SDelegate.java:225)
13:26:54,803 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation._NSDelegate.perform(_NS
Delegate.java:158)
13:26:54,803 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModelGroup.defaultGroup
(EOModelGroup.java:365)
13:26:54,804 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOModelGroup.modelGroupFo
rObjectStoreCoordinator(EOModelGroup.java:887)
13:26:54,805 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EODatabaseContext._cooper
atingObjectStoreNeeded(EODatabaseContext.java:1265)
13:26:54,805 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nati
ve Method)
13:26:54,806 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.NativeMethodAccessorImpl.invoke(Nativ
eMethodAccessorImpl.java:57)
13:26:54,807 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(D
elegatingMethodAccessorImpl.java:43)
13:26:54,807 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at java.lang.reflect.Method.invoke(Method.java:606)
13:26:54,808 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSSelector._safeInvokeM
ethod(NSSelector.java:120)
13:26:54,809 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSNotificationCenter$_E
ntry.invokeMethod(NSNotificationCenter.java:598)
13:26:54,809 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSNotificationCenter.po
stNotification(NSNotificationCenter.java:542)
13:26:54,810 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.foundation.NSNotificationCenter.po
stNotification(NSNotificationCenter.java:572)
13:26:54,811 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOObjectStoreCoordinator
.requestStore(EOObjectStoreCoordinator.java:213)
13:26:54,811 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOObjectStoreCoordinator
.objectStoreForFetchSpecification(EOObjectStoreCoordinator.java:293)
13:26:54,812 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOObjectStoreCoordinator
.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:530)
13:26:54,813 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOEditingContext.objects
WithFetchSpecification(EOEditingContext.java:4053)
13:26:54,813 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eocontrol.EOEditingContext.objects
WithFetchSpecification(EOEditingContext.java:4438)
13:26:54,814 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOUtilities.objectsMatchi
ngValues(EOUtilities.java:193)
13:26:54,815 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at com.webobjects.eoaccess.EOUtilities.objectsMatchi
ngKeyAndValue(EOUtilities.java:168)
13:26:54,815 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at RMConfig.getParmWithDefault(Unknown Source)
13:26:54,816 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) at RMQueue.<clinit>(Unknown Source)
13:26:54,817 ERROR [stderr] (http-ecvomzsdd01.vzbi.com/146.1.200.130:8444-1) ... 126 more
I'm thinking that with the way the classes are being loaded now that there is some sort of conflict between what is being done in RMEOGenericRecord and EvaluateCredit_String, where the delegate is being loaded. The problem is that I do not know how to
prove this or how to resolve it. Does anyone have experience with this sort of issue or have any suggestions?
Thanks,
Terry Soles
214-273-3916
(v922) 3916