BTViewer

46 views
Skip to first unread message

zuo

unread,
Jan 26, 2011, 7:24:07 AM1/26/11
to biotapes...@googlegroups.com
Hi,

I got a new problem for placing btp file on the website.

what i did is following BioTapestryViewerDistribution-11-24-10.zip README.txt file to generate data.jar file and make changes in biotapestry.jnlp file. The files are in /var/www/view path.

like ...

/var/www/view$ ls -l
total 3800
-rw-r--r-- 1 root root 3873326 2011-01-26 11:44 bioTapestryViewer.5.0.1.jar
-rw-r--r-- 1 root root    4956 2011-01-26 11:43 tryhello.jar
drwxr-xr-x 2 root root    4096 2011-01-26 11:51 webStart

the tryhello.jar and modified jnlp file are attached.


The jnlp file can be launched from web  link automatically, but after showing bioTapestry image, no further responses, and java console  says

Java Web Start 1.6.0_22
----------------------------------------------------
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/systemsbiology/biotapestry/ui/dialogs/MultiSelectionPropertiesDialog
    at org.systemsbiology.biotapestry.ui.PopControl.<init>(PopControl.java:143)
    at org.systemsbiology.biotapestry.ui.SUPanel.<init>(SUPanel.java:298)
    at org.systemsbiology.biotapestry.app.CommonView.buildViewOnlyView(CommonView.java:1033)
    at org.systemsbiology.biotapestry.app.ViewerWindow.<init>(ViewerWindow.java:82)
    at org.systemsbiology.biotapestry.app.ViewerApplication.launch(ViewerApplication.java:130)
    at org.systemsbiology.biotapestry.app.ViewerApplication.access$100(ViewerApplication.java:44)
    at org.systemsbiology.biotapestry.app.ViewerApplication$2.run(ViewerApplication.java:103)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.ClassNotFoundException: org.systemsbiology.biotapestry.ui.dialogs.MultiSelectionPropertiesDialog
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:332)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 15 more
 

any thing wrong with the jnlp configuration?  or jar file path is misleading?  the btp file is ok for BT editor.



Kind Regards

 
jié zu
 
Email: po_...@yahoo.com
Tel: +44 (0)1865 222470
Fax: +44 (0)1865 222501



tryhello.jar
bioTapestry.jnlp
tryhello.btp

William Longabaugh

unread,
Jan 26, 2011, 12:47:33 PM1/26/11
to biotapes...@googlegroups.com
Sigh. This is not my week...

A dependency snuck into the Viewer that I didn't catch.
The best near-term solution is to use the Editor
jar file (sBioTapestry-J15-V5.0.1.jar) instead of the
viewer jar. It is larger and takes longer to download,
but I think it should do the trick until I roll 5.0.2 out...

-- Bill

> ji� zu

> --
> You received this message because you are subscribed to the Google
> Groups "BioTapestry-users" group.
> To post to this group, send email to biotapes...@googlegroups.com.
> To unsubscribe from this group, send email to
> biotapestry-us...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/biotapestry-users?hl=en.

Paul Rigor

unread,
Jan 26, 2011, 1:13:51 PM1/26/11
to biotapes...@googlegroups.com
No worries, Best of luck!
Paul





zuo wrote:
 jié zu

 Email: po_...@yahoo.com
Tel: +44 (0)1865 222470
Fax: +44 (0)1865 222501



--
You received this message because you are subscribed to the Google Groups "BioTapestry-users" group.
To post to this group, send email to biotapes...@googlegroups.com.
To unsubscribe from this group, send email to biotapestry-us...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/biotapestry-users?hl=en.

zuo

unread,
Jan 27, 2011, 5:18:33 AM1/27/11
to biotapes...@googlegroups.com
Sorry to hear that, anyway, may I make it further ?

Actually I need to use Editor , not pure Viewer, as I want users to generate BTP file dynamically from our DB and edit the result immediately.  So  Editor would be a better option.

then new trick comes up . i used sBioTapestry-J15-V5.0.1.jar but not bioTapestryViewer.5.0.1.jar in JNLP file. After launch, java Console report error.

Java Web Start 1.6.0_22
----------------------------------------------------
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at org.systemsbiology.biotapestry.ui.DisplayOptions.<init>(DisplayOptions.java:172)
    at org.systemsbiology.biotapestry.ui.DisplayOptionsManager.<init>(DisplayOptionsManager.java:222)
    at org.systemsbiology.biotapestry.ui.DisplayOptionsManager.getMgr(DisplayOptionsManager.java:199)
    at org.systemsbiology.biotapestry.app.CommonView.buildCore(CommonView.java:1176)
    at org.systemsbiology.biotapestry.app.CommonView.buildViewOnlyView(CommonView.java:1050)

    at org.systemsbiology.biotapestry.app.ViewerWindow.<init>(ViewerWindow.java:82)
    at org.systemsbiology.biotapestry.app.ViewerApplication.launch(ViewerApplication.java:130)
    at org.systemsbiology.biotapestry.app.ViewerApplication.access$100(ViewerApplication.java:44)
    at org.systemsbiology.biotapestry.app.ViewerApplication$2.run(ViewerApplication.java:103)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
 

Hopefully this bug is easy to catch.  many thanks.





Kind Regards

 
jié zu
--- On Wed, 1/26/11, William Longabaugh <wlong...@systemsbiology.org> wrote:
>  jié zu

>  Email: po_...@yahoo.com
> Tel: +44 (0)1865 222470
> Fax: +44 (0)1865 222501
>
>
>
> -- You received this message because you are subscribed to the Google Groups "BioTapestry-users" group.
> To post to this group, send email to biotapes...@googlegroups.com.
> To unsubscribe from this group, send email to biotapestry-users+unsub...@googlegroups.com.

> For more options, visit this group at http://groups.google.com/group/biotapestry-users?hl=en.

-- You received this message because you are subscribed to the Google Groups "BioTapestry-users" group.
To post to this group, send email to biotapes...@googlegroups.com.
To unsubscribe from this group, send email to biotapestry-users+unsub...@googlegroups.com.

William Longabaugh

unread,
Jan 27, 2011, 1:13:45 PM1/27/11
to biotapes...@googlegroups.com
There is another bug in the Viewer. It will be fixed in
5.0.2. Thanks for catching it.

I the meantime, since you want to run the Editor anyway,
specify the Editor entry point in your jnlp file:

<application-desc
main-class="org.systemsbiology.biotapestry.app.EditorApplication">

This should workaround the Viewer bug you uncovered.

-- Bill

> ji� zu

> --- On *Wed, 1/26/11, William Longabaugh

> > ji� zu
> > Email: po_...@yahoo.com </mc/compose?to=po_...@yahoo.com>


> > Tel: +44 (0)1865 222470
> > Fax: +44 (0)1865 222501
> >
> >
> >
> > -- You received this message because you are subscribed to the
> Google Groups "BioTapestry-users" group.
> > To post to this group, send email to
> biotapes...@googlegroups.com

> </mc/compose?to=biotapes...@googlegroups.com>.


> > To unsubscribe from this group, send email to

> biotapestry-us...@googlegroups.com
> </mc/compose?to=unsub...@googlegroups.com>.


> > For more options, visit this group at
> http://groups.google.com/group/biotapestry-users?hl=en.
>
> -- You received this message because you are subscribed to the
> Google Groups "BioTapestry-users" group.
> To post to this group, send email to
> biotapes...@googlegroups.com

> </mc/compose?to=biotapes...@googlegroups.com>.


> To unsubscribe from this group, send email to

> biotapestry-us...@googlegroups.com
> </mc/compose?to=unsub...@googlegroups.com>.


> For more options, visit this group at
> http://groups.google.com/group/biotapestry-users?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "BioTapestry-users" group.
> To post to this group, send email to biotapes...@googlegroups.com.
> To unsubscribe from this group, send email to

> biotapestry-us...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages