Page 1 of 1

cambozola

Posted: Fri Jun 22, 2007 1:00 pm
by danielareas
Hi There,

I´m having trouble configuring cambozola.jar. It worked like a charm when I had Zoneminder installed in /var/www/zm, but with the http://packages.debian.org/unstable/net/zoneminder package installation, the Zoneminder pages are in /usr/share/zoneminder. I copied the file cambozola.jar to this folder but when I try to view images using internet explorer, the page recognizes the applet, but doesn´t show me the image, just a blank frame appears with a red 'X' in the upper left corner. When I click on the right mouse button in the blank frame I´m able to see the error log concerning the applet load, it says:

Java Plug-in 1.5.0_08
Using JRE version 1.5.0_08 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Siqueira


----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

load: class com.charliemouse.cambozola.Viewer not found.
java.lang.ClassNotFoundException: com.charliemouse.cambozola.Viewer
at sun.applet.AppletClassLoader.findClass (Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode (Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run (Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100 (Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more

Do you hava any idea of what is happening? Do I have to configure any link to this file like I did to the zoneminder folder in the apache2 configuration file?
I noticed that zoneminder is accessing the cambozola.jar file but is not able to resolve it. Is it a permission problem? I already ran chmod 775 on the file and chown to my root on the zoneminder folder, but nothing worked.

Thank you for your help,

Daniel Areas

Posted: Fri Jun 22, 2007 11:43 pm
by Lee Sharp
with debian, the user www-data has to access the file. I just copy it in, and set the path in options, and it works. Are you useing the old version of cambozala from the ZM website?

Posted: Sun Jul 01, 2007 1:40 pm
by tony
I have the same problem on fedora core 7, I have done a new installation of zm, the only difference to std is my zm installation is not in /var/www/zm.

I am using the version of cambazola as I was with a previous installation of zm (1.20) and core 6 of fedora.

any ideas?

Tony

Posted: Fri Jul 06, 2007 7:09 pm
by Mellon
same problem here, i can see pictures of the recorder events, but i cant see stream in the montage view.

i was using feisty in 2 servers, now i change to dapper one of them. I have to change the hard drive couse coundt get my 320G sata to work, i setup an ide 320G.

it could be nice if someone help me to setup cambozola like in the dapper alternate guide, but in feisty. i already paste cambozola.jar into zoneminder dir and setup zoneminder to that path without any lock.

saludos,

sorry about my english

Posted: Sat Jul 07, 2007 12:00 am
by Lee Sharp
I have done this now on 4 Ubuntu systems, both edgy and feisty, with Peter's .deb and no problems. I download cambozola.jar and put it in /usr/share/zoneminder (with sudo) and enable in options->Images. The files in my .jar are all dated September 10th 2002.

Posted: Sat Oct 20, 2007 11:38 am
by kidy
Lee Sharp wrote:I have done this now on 4 Ubuntu systems, both edgy and feisty, with Peter's .deb and no problems. I download cambozola.jar and put it in /usr/share/zoneminder (with sudo) and enable in options->Images. The files in my .jar are all dated September 10th 2002.
Good morning Lee Sharp could kindly post all the procedures to install your zoneminder and your cambozola.jar thanks.
My procedure is:
sudo apt-get update
sudo apt-get upgrade
wget ftp://www.northern-ridge.com.au/zonemin ... 8_i386.deb
sudo dpkg -i zoneminder_1.22.3-8_i386.deb
sudo apt-get -f install
sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
sudo /etc/init.d/apache2 force-reload
sudo adduser www-data video
sudo rmmod bt878
sudo rmmod bttv
sudo apt-get install build-essential
cd /usr/local/src
sudo wget http://www.charliemouse.com/code/camboz ... est.tar.gz
sudo tar xvfz cambozola-latest.tar.gz
sudo cp /usr/local/src/cambozola-0.68/dist/cambozola.jar /var/www/zm
sudo chmod 775 /var/www/zm/cambozola.jar
However cambozola doesn't work

Posted: Sat Oct 20, 2007 5:47 pm
by cordel
Go into the web console, -> options under the vidio tab and put a checkmark in the box to enable the use of cambozola.

Posted: Sat Oct 20, 2007 7:16 pm
by tony
this is the result I get:

Java Plug-in 1.6.0_03
Using JRE version 1.6.0_03 Java HotSpot(TM) Client VM
User home directory = I:\Documents and Settings\tony
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@929206, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1479feb
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: completed perf rollup
network: Cache entry not found [url: http://wrighttwo/zm/com/charliemouse/ca ... ewer.class, version: null]
network: Connecting http://wrighttwo/zm/com/charliemouse/ca ... ewer.class with proxy=DIRECT
network: Connecting http://wrighttwo/zm/com/charliemouse/ca ... ewer.class with cookie "bandwidth=high; format=html; cookies=1; phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bi%3A-1%3B%7D; ZMSESSID=pvohnh1kvhm09ltff7sotg82q5"
network: Cache entry not found [url: http://wrighttwo/zm/com/charliemouse/ca ... ewer.class, version: null]
network: Connecting http://wrighttwo/zm/com/charliemouse/ca ... ewer.class with proxy=DIRECT
network: Connecting http://wrighttwo/zm/com/charliemouse/ca ... ewer.class with cookie "bandwidth=high; format=html; cookies=1; phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bi%3A-1%3B%7D; ZMSESSID=pvohnh1kvhm09ltff7sotg82q5"
load: class com.charliemouse.cambozola.Viewer not found.
java.lang.ClassNotFoundException: com.charliemouse.cambozola.Viewer
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
basic: Exception: java.lang.ClassNotFoundException: com.charliemouse.cambozola.Viewer


I have my zm files in another place than /var/www
I have cambozola in my zm folder with the owner as apache

I get "File does not exist: /<my web path>/zm/com" in the apache error log.

why is it looking for this file, is it truncated from something?

Just previewed this and noticed it is trying to find "http://wrighttwo/zm/com/charliemouse/ca ... ewer.class"
can this be right?

Tony

Posted: Mon Oct 22, 2007 8:05 pm
by Lee Sharp
I do not compile cambozola. I use the binary on the zoneminder download page. On that page it talks about issues with the later versions. I guess you found them. :)

Posted: Mon Oct 22, 2007 8:22 pm
by tony
well that's fixed it!

thanks

Tony