applet setup

Trouble during PacsOne Server installations
pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Thu Apr 08, 2004 1:12 am

The actionItem.php script is not directly accessible from a URL of a browser since it's a utility script.

The JAR file appears to be correctly placed under the dicomviewer sub-directory where the PHP scripts are located.

If you see the Show button but got error loading the JAR file, then it's possible that the JAR file is corrupted or your Java Runtime Environment does not recognize the content of the JAR file. You can try download the package again from the website and install it again to see if the problem goes away.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Fri Apr 09, 2004 3:27 am

Hmm, this is weird since the JAR file appears to be under the correct directory.

I can only suggest downloading the applet and install the package again, just to make sure you didn't have a corrupted JAR file.

Guest

Post by Guest » Fri Apr 09, 2004 7:19 am

I tried Radscaper with PacsOne's basic edition and didn't have any problem with it. I am now trying Radscaper with my Premium Edition. BTW, Radscaper works with Microsoft JVM so you don't need to install Sun's JVM.

gregwong
Posts:28
Joined:Wed Mar 31, 2004 11:08 pm
Location:SF, CA en route to Washington DC
Contact:

viewer.php

Post by gregwong » Tue Apr 13, 2004 6:02 pm

I am looking through the applet.php code.

There is a file called viewer.php. Is this supposed to reside in my PacsOne/php directory?

I actually cannot find this file. Was it supposed to be downloaded with the applet or is this part of the original pacsone install?

-g

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Wed Apr 14, 2004 11:53 am

Yes, 'viewer.php' should be under the php sub-directory where PacsOne was installed. If you can't find such file in the directory, you should probably download again from the PacsOne website and do another install. (Remember to un-check the Drop and create database tables checkbox if you're re-installing, since this is an upgrade instead of a fresh install.)

gregwong
Posts:28
Joined:Wed Mar 31, 2004 11:08 pm
Location:SF, CA en route to Washington DC
Contact:

viewer.php not in install!

Post by gregwong » Wed Apr 14, 2004 10:22 pm

I have the Basic Edition. Is viewer.php supposed to be there?

-g

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Thu Apr 15, 2004 3:33 am

Ok, I think we finally found where the problem is:

The file viewer.php was not included in the applet.zip package, nor was it included in the php.zip web user interface package for the PacsOne Server Basic Edition.

The bug has been fixed and the file is now included in both the php.zip and applet.zip packages, you can now download either package and get the missing file.

Thanks for reporting this problem.

gregwong
Posts:28
Joined:Wed Mar 31, 2004 11:08 pm
Location:SF, CA en route to Washington DC
Contact:

viewer.php loaded

Post by gregwong » Thu Apr 15, 2004 9:01 pm

Thanks pacsone. I installed viewer.php and tried to run the applet. The problem still persists that dicomviewer.Viewer is not found.

Any suggestions at this point? I tried launching another applet and it launches fine. I reloaded applet.jar from the current applet.zip file from the pacsone download page.

Still no luck.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Fri Apr 16, 2004 1:04 am

Hmm, that's indeed puzzling, I'm assuming you have the following directory structure:

{PacsOne Install Dir}\php\*.php
{PacsOne Install Dir}\php\dicomviewer\applet.jar

If so, can you send your applet.jar file to:

mailto:pacsone@pacsone.net

and I'll take a look.

gregwong
Posts:28
Joined:Wed Mar 31, 2004 11:08 pm
Location:SF, CA en route to Washington DC
Contact:

sent...

Post by gregwong » Fri Apr 16, 2004 6:45 pm

I sent the jar file yesterday.
Thanks for looking into this.
-g

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Sat Apr 17, 2004 1:51 am

Your applet.jar runs fine with my PC running MSIE 6.0 on Windows XP Home Edition.

Make sure you select the Sun JVM instead of the Microsoft JVM, which is the default JVM for MSIE, and remember to reboot your PC after switching your JVM.

gregwong
Posts:28
Joined:Wed Mar 31, 2004 11:08 pm
Location:SF, CA en route to Washington DC
Contact:

applet java files

Post by gregwong » Fri Apr 23, 2004 2:50 pm

pacsone,

I found that for MSIE 6.0, the class files need to be built for JRE 1.1 (so either use the target flag set to 1.1 or use a 1.1 JRE).

Could you furnish me with the java files?
Still haven't been able to run it. Although, I have integrated ImageJ to open up the files. I now have the capabilities to do measurements and can even install my own plugins.

if anyone would like the integration, I can post it somewhere.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Fri Apr 23, 2004 3:16 pm

The Java applet source codes are distributed along with the applet package under the 'src' sub-directory, as per GPL requirements from the original author.

Post Reply