Application configuration file
Hi all, can someone suggest me how to manage an application configuration file in a struts application? I'm thinking a configuration file like myapp.properties Is there a place in a struts app where I can read the properties cfg file just once and share it in every java file (actions, )? Thanks giu - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
struts-jquery-tree-tags issues
Hi, I'm trying to manage a tree using struts-jquery-tree. In my jsp I have: s:url var=menuTreeDataUrl action=menuTreeData/ sjt:tree id=jsonTree href=%{menuTreeDataUrl} onClickTopics=treeClicked onClick=managenode() / I implemented using java the menuTreeDataUrl action and the tree is filled correctly. My problem is that I do not know in the javascript managenode function how to get information regarding the current selected node, i.e. like his id, his text, ... Could someone tell me how to retrieve those information? Thanks Giuliano - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
[us...@httpd] memory leak (?) when a copy of the ErrorLog is done
Hi, I'm using the httpd apache server and inside the httpd.conf I have the ErrorLog set as: ErrorLog /logs/SystemLogs.trace I'm using also a custom module writing a lot of trace in the ErrorLog using the API like: ap_log_error (__FILE__, __LINE__, APLOG_ERR, 0, prrRequestRec - server, %s, ...); or ap_log_error (__FILE__, __LINE__, APLOG_WARNING, 0, prrRequestRec - server, %s, ...); I have also a crontab job that periodically copy the /logs/SystemLogs.trace in a repository cp /logs/SystemLogs.trace /Repository/SystemLogs.trace and reset the current log using the command: echo /logs/SystemLogs.trace So, the issue is that: - every time the copy is done we saw the memory usage is decreased a lot and - if we remove the copied log file (rm /Repository/SystemLogs.trace) the memory usage is again increased Why the memory usage is impacted when the copy of the log file is done or the copied log file is removed? Thanks in advance for your help giu
[Bug 61235] Re: USB mass storage stops working after a while
Alberto, the problem I have is that when I copy inside the external USB2 HD a large file or I do many access to it, through for example rsync, the HD goes in hang and I have to restart it to make it works again. The /var/log/messages shows me traces like: Aug 2 12:22:23 Lucia kernel: usb 5-7: reset high speed USB device using ehci_hcd and address 8 Aug 2 12:23:23 Lucia last message repeated 2 times I'll be happy to provide you any kind information/logs to help to understand the problem. The problem is absolutely reproducible. Thanks giu -- USB mass storage stops working after a while https://bugs.launchpad.net/bugs/61235 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 61235] Re: USB mass storage stops working after a while
Hi all I have a Freecom USB2 external HD and I have the same problem. Basically if I copy on it a large file or I do many access to it, through for example rsync, the HD goes in hang and I have to restart it to make it work again. The problem is so reproducible that I can't use the HD. I verified the proposed solutions above in this emails thread like echo 1024 /sys/block/sdX/device/max_sectors echo 1 /sys/class/scsi_disk/X\:0\:0\:0/allow_restart but the problem is still there. I'm using the kernel version 2.6.22.1-41. Thanks in advance for the help giu -- USB mass storage stops working after a while https://bugs.launchpad.net/bugs/61235 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs