Dear Friends,
I installed the JAVA3D visualization tool on Solaris 5.8 with the
graphics card like gfxp0, accompanying with the installation of the jdk
1.2.2_07, java3d 1.2.1, OpenGL1.2.1 and plug-in 1.2.2_02. Now I can
compile the software. But when I run it in the following ways, it always
gives me the corresponding error messages:
1)Application error messages.
   When I type "java-debug CLASSNAME", the following messages appears:
    Can find class sun.tools.agent.Agent
    Could not create the Java virtual machine.
    See details in the file err for running as an application.
2)Appletviewer errors
   See the file err_appletviewer for using the appletivewer.
3)
  See the file err_plugin for running in a browser.

For the error like "can't open files", I did modify the "properties"
file by adding
"ac1.read=/home/myfiles/mydata" But still it didn't work.
Could the segmentation violation problem be related to the graphics borad?
Should what patch be downloaded in case the problem is related to the
graphics board?

You help will be greatly appreciated.

Thank you so much for your attention.

Li

--------------filename="err"

WARNING: Canvas3D constructed with a null GraphicsConfiguration.
JMVS Running As An APPLICATION

Loading Data

PDB:
HELIX ID: 1 DUNNO: H1 RES: ILE CHAIN: 7 RESNO: 0
HELIX ID: 2 DUNNO: H2 RES: GLU CHAIN: NO_CHAIN RESNO: 23
        Atoms Loaded
        Bonds Loaded

Loading Data Complete
mmapLeoDestroyScrnInfo: Unable unmmap blt_mutex
SIGSEGV 11 segmentation violation
    si_signo [11]: SEGV
    si_errno [0]:
    si_code [1]: SEGV_MAPERR [addr: 0x4c]

        stackpointer=F8E11218
"J3D-Renderer-1" (TID:0xdec990, sys_thread_t:0xdec8c8, state:R, thread_t:
t@33, threadID:0xf8e11d78, stack_bottom:0xf8e12000, stack_size:0x20000)
prio=5 *current thread*

[1] javax.media.j3d.Canvas3D.createContext(Native Method)
[2] javax.media.j3d.Renderer.doWork(Renderer.java:160)
[3] javax.media.j3d.J3dThread.run(J3dThread.java:254)
-------------------
"J3D-InputDeviceScheduler-1" (TID:0xdcaa40, sys_thread_t:0xdca978, state:CW,
thread_t: t@32, threadID:0xf8e41d78, stack_bottom:0xf8e42000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2] javax.media.j3d.J3dThread.runMonitor(J3dThread.java:265)
[3] javax.media.j3d.J3dThread.run(J3dThread.java:254)
-------------------
"J3D-SoundSchedulerUpdateThread-1" (TID:0xdfc610, sys_thread_t:0xdfc548,
state:CW, thread_t: t@31, threadID:0xf8e71d78, stack_bottom:0xf8e72000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2] javax.media.j3d.J3dThread.runMonitor(J3dThread.java:265)
[3] javax.media.j3d.J3dThread.run(J3dThread.java:254)
-------------------
"J3D-RenderStructureUpdateThread-1" (TID:0xde1d00, sys_thread_t:0xde1c38,
state:CW, thread_t: t@30, threadID:0xf8eb1d78, stack_bottom:0xf8eb2000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2] javax.media.j3d.J3dThread.runMonitor(J3dThread.java:265)
[3] javax.media.j3d.J3dThread.run(J3dThread.java:254)
-------------------
"J3D-BehaviorScheduler-1" (TID:0xdf85a8, sys_thread_t:0xdf84e0, state:CW,
thread_t: t@29, threadID:0xf8ee1d78, stack_bottom:0xf8ee2000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2] javax.media.j3d.J3dThread.runMonitor(J3dThread.java:265)
[3] javax.media.j3d.J3dThread.run(J3dThread.java:254)
-------------------
"J3D-TransformStructureUpdateThread-1" (TID:0xdea600, sys_thread_t:0xdea538,
state:CW, thread_t: t@28, threadID:0xf8f11d78, stack_bottom:0xf8f12000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2] javax.media.j3d.J3dThread.runMonitor(J3dThread.java:265)
[3] javax.media.j3d.J3dThread.run(J3dThread.java:254)
-------------------
"J3D-RenderingEnvironmentStructureUpdateThread-1" (TID:0xde7558,
sys_thread_t:0xde7490, state:CW, thread_t: t@27, threadID:0xf8f41d78,
stack_bottom:0xf8f42000, stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2] javax.media.j3d.J3dThread.runMonitor(J3dThread.java:265)
[3] javax.media.j3d.J3dThread.run(J3dThread.java:254)
-------------------
"J3D-SoundStructureUpdateThread-1" (TID:0xdde168, sys_thread_t:0xdde0a0,
state:CW, thread_t: t@26, threadID:0xf8f71d78, stack_bottom:0xf8f72000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2] javax.media.j3d.J3dThread.runMonitor(J3dThread.java:265)
[3] javax.media.j3d.J3dThread.run(J3dThread.java:254)
-------------------
"J3D-GeometryStructureUpdateThread-1" (TID:0xe09ae8, sys_thread_t:0xe09a20,
state:CW, thread_t: t@25, threadID:0xf9051d78, stack_bottom:0xf9052000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2] javax.media.j3d.J3dThread.runMonitor(J3dThread.java:265)
[3] javax.media.j3d.J3dThread.run(J3dThread.java:254)
-------------------
"J3D-BehaviorStructureUpdateThread-1" (TID:0xd18990, sys_thread_t:0xd188c8,
state:CW, thread_t: t@24, threadID:0xf9081d78, stack_bottom:0xf9082000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2] javax.media.j3d.J3dThread.runMonitor(J3dThread.java:265)
[3] javax.media.j3d.J3dThread.run(J3dThread.java:254)
-------------------
"J3D-MasterControl" (TID:0xdca608, sys_thread_t:0xdca540, state:CW,
thread_t: t@23, threadID:0xf91f1d78, stack_bottom:0xf91f2000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2] javax.media.j3d.MasterControl.runMonitor(MasterControl.java:2727)
[3] javax.media.j3d.MasterControl.doWork(MasterControl.java:2529)
[4] javax.media.j3d.MasterControlThread.run(MasterControlThread.java:27)
-------------------
"J3D-TimerThread" (TID:0xe098c8, sys_thread_t:0xe09800, state:CW, thread_t:
t@22, threadID:0xf92c1d78, stack_bottom:0xf92c2000, stack_size:0x20000)
prio=5

[1] java.lang.Object.wait(Native Method)
[2] java.lang.Object.wait(Object.java:424)
[3] javax.media.j3d.TimerThread.runMonitor(TimerThread.java:127)
[4] javax.media.j3d.TimerThread.run(TimerThread.java:89)
-------------------
"J3D-RenderingAttributesStructureUpdateThread" (TID:0xe096a8,
sys_thread_t:0xe095e0, state:CW, thread_t: t@21, threadID:0xf92f1d78,
stack_bottom:0xf92f2000, stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2] javax.media.j3d.J3dThread.runMonitor(J3dThread.java:265)
[3] javax.media.j3d.J3dThread.run(J3dThread.java:254)
-------------------
"Thread-7" (TID:0x197170, sys_thread_t:0x1970a8, state:MW, thread_t: t@1,
threadID:0x25228, stack_bottom:0xffbf0000, stack_size:0x800000) prio=5

-------------------
"Screen Updater" (TID:0xb1e100, sys_thread_t:0xb1e038, state:CW, thread_t:
t@20, threadID:0xf9181d78, stack_bottom:0xf9182000, stack_size:0x20000)
prio=4

[1] java.lang.Object.wait(Object.java:424)
[2] sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:78)
[3] sun.awt.ScreenUpdater.run(ScreenUpdater.java:98)
-------------------
"Thread-5" (TID:0xa8bc38, sys_thread_t:0xa8bb70, state:CW, thread_t: t@18,
threadID:0xf9221d78, stack_bottom:0xf9222000, stack_size:0x20000) prio=1

[1] java.lang.Object.wait(Object.java:424)
[2]
javax.swing.colorchooser.DefaultHSBChooserPanel$AbstractHSBImage.computeRow(DefaultHSBChooserPanel.java:554)
[3]
javax.swing.colorchooser.SyntheticImageGenerator.run(SyntheticImage.java:106)
-------------------
"Thread-3" (TID:0xa73b50, sys_thread_t:0xa73a88, state:CW, thread_t: t@16,
threadID:0xf9291d78, stack_bottom:0xf9292000, stack_size:0x20000) prio=1

[1] java.lang.Object.wait(Object.java:424)
[2]
javax.swing.colorchooser.DefaultHSBChooserPanel$AbstractHSBImage.computeRow(DefaultHSBChooserPanel.java:554)
[3]
javax.swing.colorchooser.SyntheticImageGenerator.run(SyntheticImage.java:106)
-------------------
"AWT-Motif" (TID:0x4a5ac0, sys_thread_t:0x4a59f8, state:R, thread_t: t@10,
threadID:0xf9571d78, stack_bottom:0xf9572000, stack_size:0x20000) prio=5

[1] sun.awt.motif.MToolkit.run(Native Method)
[2] java.lang.Thread.run(Thread.java:479)
-------------------

Exiting Thread (sys_thread_t:0xff343db0) : no stack
"SunToolkit.PostEventQueue-0" (TID:0x474df0, sys_thread_t:0x474d28,
state:CW, thread_t: t@8, threadID:0xf99f1d78, stack_bottom:0xf99f2000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2] sun.awt.PostEventQueue.run(SunToolkit.java:407)
-------------------
"AWT-EventQueue-0" (TID:0x46ce68, sys_thread_t:0x46cda0, state:CW, thread_t:
t@7, threadID:0xfa6d1d78, stack_bottom:0xfa6d2000, stack_size:0x20000)
prio=6

[1] java.lang.Object.wait(Object.java:424)
[2] java.awt.EventQueue.getNextEvent(EventQueue.java:212)
[3] java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:100)
[4] java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:91)
[5] java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
-------------------
"Finalizer" (TID:0x158218, sys_thread_t:0x158150, state:CW, thread_t: t@6,
threadID:0xfe3c1d78, stack_bottom:0xfe3c2000, stack_size:0x20000) prio=8

[1] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:146)
[2] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:168)
[3]
java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:124)
-------------------
"Reference Handler" (TID:0x1526a0, sys_thread_t:0x1525d8, state:CW,
thread_t: t@5, threadID:0xfe3f1d78, stack_bottom:0xfe3f2000,
stack_size:0x20000) prio=10

[1] java.lang.Object.wait(Object.java:424)
[2] java.lang.ref.Reference$ReferenceHandler.run(Reference.java:130)
-------------------
"Signal dispatcher" (TID:0x12d220, sys_thread_t:0x12d158, state:MW,
thread_t: t@4, threadID:0xfec51d78, stack_bottom:0xfec52000,
stack_size:0x20000) prio=10

-------------------

--------------filename="err_appletviewer"

WARNING: Canvas3D constructed with a null GraphicsConfiguration.
JMVS Running As An APPLET
Cannot List Files
Exception occurred during event dispatching:
java.lang.NullPointerException
        at java.awt.Container.addImpl(Compiled Code)
        at java.awt.Container.add(Compiled Code)
        at filehandling.FileMenuHandler$FileListDialog.<init>(Compiled Code)
        at filehandling.FileMenuHandler.actionPerformed(FileMenuHandler.java:160)
        at javax.swing.AbstractButton.fireActionPerformed(Compiled Code)
        at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1101)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Compiled Code)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
        at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:204)
        at java.awt.Component.processMouseEvent(Component.java:3165)
        at java.awt.Component.processEvent(Compiled Code)
        at java.awt.Container.processEvent(Compiled Code)
        at java.awt.Component.dispatchEventImpl(Compiled Code)
        at java.awt.Container.dispatchEventImpl(Compiled Code)
        at java.awt.Component.dispatchEvent(Compiled Code)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
        at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
        at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
        at java.awt.Container.dispatchEventImpl(Compiled Code)
        at java.awt.Component.dispatchEvent(Compiled Code)
        at java.awt.EventQueue.dispatchEvent(Compiled Code)
        at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code)
        at java.awt.EventDispatchThread.pumpEvents(Compiled Code)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
java.lang.InterruptedException: operation interrupted
java.lang.InterruptedException: operation interrupted

--------------filename="err_plugin"

Java(TM) Plug-in: Version 1.2.2_02  Oct-11-1999
Using JRE version 1.2.2

Proxy Configuration: no proxy

JAR cache enabled.
WARNING: Canvas3D constructed with a null GraphicsConfiguration.
JMVS Running As An APPLET
Cannot List Files
Exception occurred during event dispatching:
java.lang.NullPointerException
        at java.awt.Container.addImpl(Compiled Code)
        at java.awt.Container.add(Compiled Code)
        at filehandling.FileMenuHandler$FileListDialog.<init>(Compiled Code)
        at filehandling.FileMenuHandler.actionPerformed(FileMenuHandler.java:160)
        at javax.swing.AbstractButton.fireActionPerformed(Compiled Code)
        at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1101)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Compiled Code)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
        at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:204)
        at java.awt.Component.processMouseEvent(Component.java:3165)
        at java.awt.Component.processEvent(Compiled Code)
        at java.awt.Container.processEvent(Compiled Code)
        at java.awt.Component.dispatchEventImpl(Compiled Code)
        at java.awt.Container.dispatchEventImpl(Compiled Code)
        at java.awt.Component.dispatchEvent(Compiled Code)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1853)
        at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
        at java.awt.Container.dispatchEventImpl(Compiled Code)
        at java.awt.Component.dispatchEvent(Compiled Code)
        at java.awt.EventQueue.dispatchEvent(Compiled Code)
        at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code)
        at java.awt.EventDispatchThread.pumpEvents(Compiled Code)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)






_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to