RE: java.lang.NoSuchFieldError: time
"Callaghan, Ryan" <[email protected]>
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Message-ID | <B296B276D5151C4290EA0E6F520365CC68F806@idc1exc0003.corp.global.level3.com> |
I've actually tried a couple different JREs both 1.4.2_06 and the one included with WebLogic 8.1 SP 2 1.4.1_05. I've run the servlet using both JREs under Tomcat without any problems. The solution to this obviously lies within how WebLogic does class loading for applications deployed within it. I did note that UtcT.java does contain the public field 'time.' Have you seen this problem before or played much with using Orbacus apps in WebLogic? Thanks Ryan -----Original Message----- From: Darren Middleman [mailto:[email protected]] Sent: Friday, March 18, 2005 5:20 PM To: Callaghan, Ryan Cc: [email protected] Subject: Re: [OB-Users] java.lang.NoSuchFieldError: time Hi Ryan, On Fri, Mar 18, 2005 at 12:20:34PM -0700, Callaghan, Ryan wrote: > I've been working at this for a little while now and I was wondering if > someone could help out. > > I'm moving a servlet from Tomcat over to WebLogic 8.1 SP 2. The servlet > uses Orbacus on the client side. > > The servlet works properly in Tomcat. In WebLogic I get a > java.lang.NoSuchFieldError: time when connecting to the CORBA server. > The stack trace is attached below. Both Tomcat and WebLogic are running > off the same JRE. > > Obviously there is some sort of runtime issue and the source code should > be fine. > > If anyone else has run into this problem before I'd be interested in > hearing how you worked around it. > > Thanks > > Ryan > > java.lang.NoSuchFieldError: time > at com.ooc.OB.TimeHelper.toUtcT(TimeHelper.java:125) > at com.ooc.OB.TimeHelper.utcMin(TimeHelper.java:73) > at > com.ooc.OB.RefCountPolicyList.getRequestStartTime(RefCountPolicyList.jav > a:196) > at com.ooc.OB.RefCountPolicyList.(RefCountPolicyList.java:378) > at com.ooc.OB.ObjectFactory.createObject(ObjectFactory.java:92) > [...] This is an interesting error. If you take a look at the file ob/src/generated/org/omg/TimeBase/UtcT.java, you can see that 'time' definitely is a member of the class, so it should be due to a runtime issue as you said. Which JRE are you using to run your application? Regards, Darren -- Darren Middleman, Software Engineer Team Orbacus - Your CORBA Source Email: mailto:[email protected] WWW: http://www.orbacus.com/ _______________________________________________ OB-Users Mailing List - [email protected] http://mail.ooc.nf.ca/mailman/listinfo/ob-users Visit our support FAQ before you send a message. http://www.orbacus.com/faq/support.html