Best unofficial Apache Server developers community |
| |||||
| Jul 28, 2010 | |||||
|
David |
|
||||
| Tags: | |||||
Similar Threads
Re: Is it safe to replace master.db file?
OK thanks for the reply. I have a partition and all my entries are under that partition. What I replaced was the master.db from in system folder not in my partition folder so will it affect?
Is it safe to replace master.db file?
Hi,
I am using ApacheDs 1.5.4, after running successfully for a long time, now
getting the following error:
Exception in thread "main" java.lang.NullPointerException
at
org.apache.directory.server.core.entry.ClonedServerEntry.<init>
(ClonedServerEntry.java:67)
at
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.lookup
(JdbmPartition.java:457)
at
org.apache.directory.server.core.partition.impl.btree.ServerEntryCursorAdaptor.get
(ServerEntryCursorAdaptor.java:140)
at
org.apache.directory.server.core.partition.impl.btree.ServerEntryCursorAdaptor.get
(ServerEntryCursorAdaptor.java:40)
at
org.apache.directory.server.core.filtering.BaseEntryFilteringCursor.next
(BaseEntryFilteringCursor.java:502)
at org.apache.directory.server.core.authz.GroupCache.initialize
(GroupCache.java:151)
at org.apache.directory.server.core.authz.GroupCache.<init>
(GroupCache.java:115)
at
org.apache.directory.server.core.authz.AciAuthorizationInterceptor.init
(AciAuthorizationInterceptor.java:211)
at
org.apache.directory.server.core.interceptor.InterceptorChain.register0
(InterceptorChain.java:439)
at
org.apache.directory.server.core.interceptor.InterceptorChain.register
(InterceptorChain.java:395)
at
org.apache.directory.server.core.interceptor.InterceptorChain.init
(InterceptorChain.java:255)
at
org.apache.directory.server.core.DefaultDirectoryService.initialize
(DefaultDirectoryService.java:1385)
at
org.apache.directory.server.core.DefaultDirectoryService.startup
(DefaultDirectoryService.java:840)
at org.apache.directory.server.configuration.ApacheDS.startup
(ApacheDS.java:126)
at org.apache.directory.server.Service.init(Service.java:86)
at org.apache.directory.server.UberjarMain.main
(UberjarMain.java:56)
Data Backup
Most backup software programs data offer some form of data . Filtering allows you to filter certain types of files for backup. For example, you can select to backup all of the images in your hard drive- giving you the freedom to refine your data backup in ways that best suit your needs. This tool is also available on most backup software. http://www.geekzwa.com.au
DO NOT REPLY New: backup manager reports too few current sessions
https://issues.apache.org/bugzilla/show_bug.cgi?id=49407
Summary: backup manager reports too few current sessions
Product: Tomcat 6
Version: 6.0.20
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Cluster
AssignedTo: de### @tomcat.apache.org
ReportedBy: ma### @apache.org
With 100 sessions shared across 4 nodes (i.e. 25 active sessions per
node), the
delta manager reports 100 current sessions per node (25 active and the
copies
of the sessions from the other nodes). The back manager reports 25. For
consistency it should report 50. The 25 active sessions plus the 25 (or
so)
that are backed up on that node.
Do implementations of Watcher need to be thread-safe?
Hi, Do implementations of Watcher need to be thread-safe, or can I assume that process(...) will always be called by the same thread? Thanks, Josh "Ua" Ball
Is it safe to use timestamps (or versions) to load old values.
Hi all, I use automatic unconditional data load from other sources into my database. But data, already loaded, can be changed by users (or updated by MR jobs, f.e. some foreign keys resolutions or text cleanup). My loaders can load same data once more (with old data) and possibly override changes, made to stored data. I can't allow this. Not long ago I asked subj on iirc, and answer was: it is not safe to put old data (with old timestamps). Now I use versioned qualifiers and store version in them. But this is very hard to support and it is hard to use such implementation with other tools (like hive or pig), it is hard to use with filters (i should use custom very specific filters), it is no support for ttl or num of versions in scan. So, i want to ask againt. What is a best strategy in such situtaion. I need to put old data and don't override if it exists. I don't want place version in key (it is the same complexity as in qualifiers). My be here some plans to support such situation in 0.89? It looks, that i can use solution with old timestamps, but it leads to incorrect answers (this new data from memstore) until hbase compact table. PS: to be more specific, here is example of my schema (sql like notation): table bsn.main( long pk Thanks for any advise. Andrey.
DO NOT REPLY SSI Servlet should support safe configuration
https://issues.apache.org/bugzilla/show_bug.cgi?id=48960
Mark Thomas <ma### @apache.org> changed:
What |Removed |Added
DO NOT REPLY SSI Servlet should support safe configuration
https://issues.apache.org/bugzilla/show_bug.cgi?id=48960 --- Comment #8 from Mark Thomas <mar### @apache.org> 2010-07-13 17:16:40 EDT --- The diff is inverted and the patch is using tabs rather than spaces. I should eb able to work with that but you might need to fix it.
DO NOT REPLY New: SSI Servlet should support safe configuration
https://issues.apache.org/bugzilla/show_bug.cgi?id=49520
Summary: SSI Servlet should support safe configuration
Product: Tomcat 7
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: Catalina
AssignedTo: de### @tomcat.apache.org
ReportedBy: yair.### @citi.com
This is a duplicate request from the Tomcat 6 (Bug 48960). See proposed
solution/discussion:
https://issues.apache.org/bugzilla/show_bug.cgi?id=48960
The current configuration of the SSI module is "All" or "None". The "ALL"
option will expose all the legacy Apache SSI directive (echo, printenv,
if,
exec, ...). As documented, allowing SSI will allow execution of arbitrary
programs using the "exec". As a result, there is no safe way to expose
sites/projects containing SSI directive, without taking a security risk,
or
reviewing of every file.
The "exec" directive, with the cmd option is a major risk. Even for
Apache, you
have the option to allowing the "safe" include (includeNoExec). The
includeNoExec allow pages to be served, even when the content is not
reviewed,
or when users are allowed to upload content to the site.
I have a big site which need to be converted into JSP. I would like to use
the
SSI servlet to allow for transition over time. The extra risk from ( from
exec
cmd) make it impossible to deploy the SSI.
My request: Modify the configuration of SSI as follow: By default, it will
only
allow "safe" directive (no exec cmd=...). This will eliminate the risk
from
arbitrary execution of commands ("del *.*"). It will also remove many
potentail
load problems. The cmd= should only be allowed using a directive like
"allowUnsafeExec", which will default to false.
I think that the change will make it easier to use the SSI feature,
without
exposing the server to big risk. The risk associated with the "safer"
version
of SSI is similar to the risk from running JSP pages.
A better alternative is to eliminate the "exec cmd=" option alltogether.
DO NOT REPLY SSI Servlet should support safe configuration
https://issues.apache.org/bugzilla/show_bug.cgi?id=48960 --- Comment #4 from Mark Thomas <ma### @apache.org> 2010-06-29 12:45:54 EDT --- *** Bug 49520 has been marked as a duplicate of this bug. ***
DO NOT REPLY SSI Servlet should support safe configuration
https://issues.apache.org/bugzilla/show_bug.cgi?id=48960
--- Comment #5 from Yair Lenga <yair.l### @citi.com> 2010-07-09
10:01:32 EDT ---
(In reply to comment #4)
*** Bug 49520 has been marked as a duplicate of this bug. ***
Mark,
Is there anything I can do to speed up the inclusion of this change ? I've
noticed it did not make it for 6.0.28, where few other CGI/SSI related
changed
were incorporated. I would love to use the SSI, but I can not use it
because of
the security reisk of the "unsafe" include/exec.
DO NOT REPLY SSI Servlet should support safe configuration
https://issues.apache.org/bugzilla/show_bug.cgi?id=48960 --- Comment #6 from Mark Thomas <mar### @apache.org> 2010-07-09 10:17:16 EDT --- Providing patches in diff -u format would help.
DO NOT REPLY SSI Servlet should support safe configuration
https://issues.apache.org/bugzilla/show_bug.cgi?id=48960 --- Comment #11 from Mark Thomas <ma### @apache.org> 2010-07-13 18:08:34 EDT --- Sorry truck should have been trunk and trunk == 7.0.x so it is already there.
DO NOT REPLY SSI Servlet should support safe configuration
https://issues.apache.org/bugzilla/show_bug.cgi?id=48960 --- Comment #7 from Yair Lenga <yair.### @citi.com> 2010-07-13 15:52:28 EDT --- Created an attachment (id=25760) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25760) Patch to disable exec by default, new allowExec tag Patch for three files, created against 6.0.26-src
DO NOT REPLY SSI Servlet should support safe configuration
https://issues.apache.org/bugzilla/show_bug.cgi?id=48960 --- Comment #10 from Yair Lenga <yair.l### @citi.com> 2010-07-13 17:54:53 EDT --- Mark, Thanks for taking the change. I'll follow you suggestions regarding svn diff for the next time. Do I have to submit anything for the change to flow to 7.X ? Yair
DO NOT REPLY SSI Servlet should support safe configuration
https://issues.apache.org/bugzilla/show_bug.cgi?id=48960 --- Comment #9 from Mark Thomas <mar### @apache.org> 2010-07-13 17:38:55 EDT --- In the end I used the patch a guide and write a new one. Some additional comments: - if you do an svn diff against a normal source tree patches usually apply cleanly - new features should be documented The patch has been applied to truck and proposed for 6.0.x
File not found exception when setup share file system master/slave
Hi, i tried to setup share file system master/slave on activemq 5.3.2 , my activemq.xml is updated as below: <broker xmlns="http://activemq.apache.org/schema/core" brokerName="share" useJmx="false" deleteAllMessagesOnStartup="true" dataDirectory="${activemq.base}/data" destroyApplicationContextOnStop="true"> .... <persistenceAdapter> <!--<kahaDB directory="${activemq.base}/data/kahadb"/>--> <kahaDB directory="//9.186.10.68/share"/> </persistenceAdapter> //9.186.10.68/share is samba share opened on a suse 10.2 system with anonymous access. but when i start up activemq, there is an error: Database \\9.186.10.68\share\lock is locked... waiting 10 seconds for the database to be unlocked. Reason: java.io.FileNotFoundException: \\9.186.10.68\share\lock (Access is denied) Can somebody help figure out how to configure share file system? i just followed this article http://activemq.apache.org/shared-fil...master-slave.html, my shared directory is setup wrong? THanks a lot!
Resolved: (SLING-1532) contentloader should overwrite file contents, not file nodes
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Justin Edelson resolved SLING-1532.
Commented: (SLING-1532) contentloader should overwrite file contents, not file nodes
[
https://issues.apache.org/jira/browse...1#action_12874061
]
Justin Edelson commented on SLING-1532:
Created: (CAMEL-2776) Cached stream file deletion causing file not found errors
Cached stream file deletion causing file not found errors
Redirect a call for /css/file.css to /dir/css/file.css ?
May 12, 2010 Backup Software Jun 23, 2010 How to Transfer/Backup iPod files (Windows/Mac) May 29, 2010 File Truncate Jun 8, 2010 Problem in FILE pointers May 30, 2010 .htaccess file prob May 17, 2010 Problem with adding DLL/lib file into VC++ Project Jul 6, 2010 How to use one file for multiple class declarations? Jul 9, 2010 Question about .htaccess (*.jpg file redirect) - ~80k hit per day Jun 5, 2010 index.pl not executing (prompts to save as a file) Jul 29, 2010 | |||||
(43 lines) Aug 11, 2010 02:31