cambozola

Support and queries relating to all previous versions of ZoneMinder
Locked
danielareas
Posts: 33
Joined: Thu Oct 26, 2006 6:00 pm

cambozola

Post 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
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post 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?
User avatar
tony
Posts: 29
Joined: Mon Dec 29, 2003 8:30 pm

Post 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
Mellon
Posts: 2
Joined: Thu Apr 05, 2007 2:27 pm

Post 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
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post 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.
kidy
Posts: 2
Joined: Sat Oct 20, 2007 11:35 am
Location: Italia

Post 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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
User avatar
tony
Posts: 29
Joined: Mon Dec 29, 2003 8:30 pm

Post 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
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post 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. :)
User avatar
tony
Posts: 29
Joined: Mon Dec 29, 2003 8:30 pm

Post by tony »

well that's fixed it!

thanks

Tony
Locked