Re: java.lang.NoSuchFieldError: time

Darren Middleman <[email protected]>
Newsgroups gmane.comp.corba.orbacus
Organization IONA | Making Software Work Together TM
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.