Re: [Personalbackup-users] ok i ran debug mode
Status: Beta
Brought to you by:
linuxtuxie
From: Kim K. <kk...@sk...> - 2005-11-24 00:37:24
|
Kim Kuylen wrote: After a debug session Marshal found a bug in the java applet! The urlbase was set incorrectly which caused the java applet to fail. In fact, it could not find the tree.cgi script if you where using a seperate folder to store your personalbackup scripts. I have adjusted the code and uploaded it to CVS...so you can grab the corrected version there :) Regards, Kim > Marshal McInnis wrote: > > Ok the problem here is located in the fact that it cannot fin the > tree.cgi perl script: > > http://10.10.0.71/tree.cgi?dbmfile=/tmp/95bcbe5f380bd5bd4c9b2d4319e6b735.dbm&share_name=music&folder= > > > Are you sure that the permissions on tree.cgi are set correctly > (execute permissions) ? > And that ExecCGI is enabled in your apache config for the folder > containging the script ? > > You can easily test if the script is working by pasting the above url > in your browser. > The scipt will just output some text... if this should fail, you can > check your apache loggings to find > out what is causing the problem. > > Regards, > Kim > >> >> >> Java Plug-in 1.5.0_04 >> >> Using JRE version 1.5.0_04 Java HotSpot(TM) Client VM >> >> User home directory = C:\Documents and Settings\Marshal >> >> >> >> >> >> ---------------------------------------------------- >> >> 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> >> >> ---------------------------------------------------- >> >> >> >> ReadParams() - Setting Debug to 0 >> >> ReadParams() - Setting FileMode to 0 >> >> getChildrenFromServer(FileTreeNode, String) - Error in >> getChildrenFromServer routine: java.io.IOException: Server returned >> HTTP response code: 403 for URL: >> http://10.10.0.71/tree.cgi?dbmfile=/tmp/95bcbe5f380bd5bd4c9b2d4319e6b735.dbm&share_name=music&folder= >> >> >> java.lang.NullPointerException >> >> at FileTreeNode.getChildCount(FileTreeNode.java:81) >> >> at >> javax.swing.tree.DefaultTreeModel.getChildCount(Unknown Source) >> >> at >> javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unknown >> Source) >> >> at >> javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unknown >> Source) >> >> at >> javax.swing.tree.VariableHeightLayoutCache.rebuild(Unknown Source) >> >> at >> javax.swing.tree.VariableHeightLayoutCache.setModel(Unknown Source) >> >> at javax.swing.plaf.basic.BasicTreeUI.setModel(Unknown >> Source) >> >> at >> javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(Unknown >> Source) >> >> at >> java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) >> >> at >> java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) >> >> at java.awt.Component.firePropertyChange(Unknown Source) >> >> at javax.swing.JTree.setModel(Unknown Source) >> >> at javax.swing.JTree.<init>(Unknown Source) >> >> at javax.swing.JTree.<init>(Unknown Source) >> >> at javax.swing.JTree.<init>(Unknown Source) >> >> at TreeView.init(TreeView.java:143) >> >> at sun.applet.AppletPanel.run(Unknown Source) >> >> at java.lang.Thread.run(Unknown Source) >> >> Exception in thread "AWT-Shutdown" java.lang.IllegalThreadStateException >> >> at java.lang.ThreadGroup.addUnstarted(Unknown Source) >> >> at java.lang.Thread.init(Unknown Source) >> >> at java.lang.Thread.<init>(Unknown Source) >> >> at sun.awt.AppContext$CreateThreadAction.run(Unknown Source) >> >> at java.security.AccessController.doPrivileged(Native >> Method) >> >> at sun.awt.AppContext.stopEventDispatchThreads(Unknown >> Source) >> >> at sun.awt.AWTAutoShutdown.run(Unknown Source) >> >> at java.lang.Thread.run(Unknown Source) >> >> ReadParams() - Setting Debug to 1 >> >> ReadParams() - Reading Parameters... >> >> ReadParams() - Setting FileMode to 0 >> >> ReadParams() - Setting BackgroundColor to >> java.awt.Color[r=229,g=229,b=229] >> >> ReadParams() - Setting FormField to document.changeform.folders >> >> ReadParams() - Setting ShareName to music >> >> ReadParams() - Setting MachineName to tech-2 >> >> ReadParams() - Setting DBMFile to >> /tmp/c628761b826c159d8d46d6d007d0ff36.dbm >> >> LoadIcons() - Loading Icons... >> >> LoadIcons() - Loading MachineIcon from >> http://10.10.0.71/images/net-mypc.gif >> >> LoadIcons() - Loading DriveIcon from >> http://10.10.0.71/images/drive-shared.gif >> >> LoadIcons() - Loading OnIcon from http://10.10.0.71/images/on_box.gif >> >> LoadIcons() - Loading OffIcon from http://10.10.0.71/images/off_box.gif >> >> LoadIcons() - Loading DisabledIcon from >> http://10.10.0.71/images/disabled_box.gif >> >> LoadIcons() - Loading PartialIcon from >> http://10.10.0.71/images/partial_box.gif >> >> LoadIcons() - Loading ProtectedIcon from >> http://10.10.0.71/images/protected_box.gif >> >> LoadIcons() - Loading FileIcon from http://10.10.0.71/images/file.gif >> >> LoadIcons() - Loading BadFileIcon from >> http://10.10.0.71/images/badfile.gif >> >> LoadIcons() - Loading SkipFileIcon from >> http://10.10.0.71/images/skipfile.gif >> >> LoadIcons() - Loading LimitFileIcon from >> http://10.10.0.71/images/limitfile.gif >> >> LoadIcons() - Loading FolderOpenIcon from >> http://10.10.0.71/images/folder-open.gif >> >> LoadIcons() - Loading FolderCloseIcon from >> http://10.10.0.71/images/folder-closed.gif >> >> getChildrenFromServer(FileTreeNode, String) - Fetching from server >> http://10.10.0.71/tree.cgi?dbmfile=/tmp/c628761b826c159d8d46d6d007d0ff36.dbm&share_name=music&folder= >> >> >> getChildrenFromServer(FileTreeNode, String) - Error in >> getChildrenFromServer routine: java.io.IOException: Server returned >> HTTP response code: 403 for URL: >> http://10.10.0.71/tree.cgi?dbmfile=/tmp/c628761b826c159d8d46d6d007d0ff36.dbm&share_name=music&folder= >> >> >> java.lang.NullPointerException >> >> at FileTreeNode.getChildCount(FileTreeNode.java:81) >> >> at >> javax.swing.tree.DefaultTreeModel.getChildCount(Unknown Source) >> >> at >> javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unknown >> Source) >> >> at >> javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unknown >> Source) >> >> at >> javax.swing.tree.VariableHeightLayoutCache.rebuild(Unknown Source) >> >> at >> javax.swing.tree.VariableHeightLayoutCache.setModel(Unknown Source) >> >> at javax.swing.plaf.basic.BasicTreeUI.setModel(Unknown >> Source) >> >> at >> javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(Unknown >> Source) >> >> at >> java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) >> >> at >> java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) >> >> at java.awt.Component.firePropertyChange(Unknown Source) >> >> at javax.swing.JTree.setModel(Unknown Source) >> >> at javax.swing.JTree.<init>(Unknown Source) >> >> at javax.swing.JTree.<init>(Unknown Source) >> >> at javax.swing.JTree.<init>(Unknown Source) >> >> at TreeView.init(TreeView.java:143) >> >> at sun.applet.AppletPanel.run(Unknown Source) >> >> at java.lang.Thread.run(Unknown Source) >> >> ____________________________________________________ >> >> But in this world nothing can be said to be certain, except death and >> taxes. <http://www.quotationspage.com/quote/29769.html> >> Benjamin Franklin >> <http://www.quotationspage.com/quotes/Benjamin_Franklin/> /Letter to >> Jean Baptiste Le Roy (1789) >> >> Marshal McInnis T&G >> Professional Computing Inc >> 205-344-4455 (208) 720 61^st >> Tuscaloosa Al 35404/ >> >> >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Personalbackup-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/personalbackup-users > |