Re: Activity started time

David Simón <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
Thank you.

I have downloaded this version and I have tried to compile it, but using
jdk 1.4.2_07 it gives me the next error:


[javac] /apps/shark-1.1/modules/SharkUtilities/DODS/src/org/enhydra/shark/utilities/dods/DODSUtilities.java:20: cannot access org.enhydra.shark.api.RootException
    [javac] bad class
file: /apps/shark-1.1/output/Shark/lib/sharkcommonapi.jar
(org/enhydra/shark/api/RootException.class)
    [javac] class file has wrong version 49.0, should be 48.0
    [javac] Please remove or make sure it appears in the correct
subdirectory of the classpath.
    [javac] import org.enhydra.shark.api.RootException;
    [javac]                              ^
    [javac] 1 error

It seems it is related to the jdk version, but according to the
documentation a jdk 1.4.x should work. Anyone can help me?

Kind regards,

David.

El mar, 26-07-2005 a las 11:45 +0300, Monique Maker escribió:

> Hi Simon,
> 
> Unfortunately getActivityCreatedTime method is implemented after version 1.0.
> 
> I would propose you to download the sources for 1.1-2 and to find out how getActivityCreatedTime method works. I am almost sure that it is question of a SQL query. Then you can implement your own getActivityCreatedTime method in the sources of Shark 1.0 an recompile.
> 
> By the way, if you need activity creation time in a script (or deadline), there is a (system) variable called ACTIVITY_ACTIVATED_TIME. If you need its value outside a script, you can try to copy it to a WRD and use it from there.
> 
> Good luck!
> 
> Best Regards,
> Monique
> 
> David Simón wrote:
> > Thank you Monique, but I cannot find this method in my API, maybe it is 
> > because I am using Shark 1.0. Sorry, I forgot to mention it. I need to 
> > solve this with Shark 1.0 because by the moment a migration to 1.1 is 
> > not possible.
> > 
> > Best regars,
> > 
> > David
> > 
> >>Hello David,
> >>
> >>See
> >><Shark_install>/doc/api/SharkAPI/org/enhydra/shark/api/client/wfservice/AdminMisc.html - getActivityCreatedTime
> >><Shark_install>/doc/api/SharkAPI/org/enhydra/shark/api/client/wfservice/AdminMisc.html#getActivityCreatedTime(java.lang.String,%20java.lang.String)
> >><Shark_install>/doc/api/SharkAPI/org/enhydra/shark/api/client/wfservice/AdminMisc.html#getActivityCreatedTime(org.enhydra.shark.api.SharkTransaction,%20java.lang.String,%20java.lang.String)
> >>
> >>Regards,
> >>Monique
> >>
> >>David Simón wrote:
> >>> Hi all,
> >>> 
> >>> 
> >>> Anyone knows how to get the time when an activity was started? I have 
> >>> found the last_state_tiem from WFActivity, but this time changes when an 
> >>> activity is accepted, for instance, and I would need to know the 
> >>> activity started time always (until it is completed or aborted).
> >>> 
> >>> Best regards.
> >>> 
> >>> 
> >>> David
> >>
> >> plain text document adjunto (message-footer.txt)
> >>
> >>--
> >>You receive this message as a subscriber of the [email protected] <mailto:[email protected]> mailing list.
> >>To unsubscribe: mailto:[email protected] <mailto:[email protected]>
> >>For general help: mailto:[email protected] <mailto:[email protected]>?subject=help
> >>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >>
> > ------------------------------------------------------------------------
> > 
> > 
> > *David Simón*
> > OPENTRENDS
> > phone: +34 93 320 84 14
> > fax: +34 93 300 35 27
> > ([email protected] <mailto:[email protected]>) 	
> > 
> 
> 
> plain text document adjunto (message-footer.txt)
> 
> --
> You receive this message as a subscriber of the [email protected] mailing list.
> To unsubscribe: mailto:[email protected]
> For general help: mailto:[email protected]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
message-footer.txt (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
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.