You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Tim Moloney <ti...@gmail.com> on 2011/05/19 20:20:13 UTC

How do I specify the LDAP query for config:list?

I'm going to show my ignorance here, but can someone tell me what I'm
doing wrong?

karaf@root> config:list
...
----------------------------------------------------------------
Pid:            org.apache.karaf.log
BundleLocation: mvn:org.apache.karaf.shell/org.apache.karaf.shell.log/2.2.0
Properties:
   service.pid = org.apache.karaf.log
   size = 500
   felix.fileinstall.filename =
/home/tmmoloney/workspace/com.mrsl.vp.driver/target/driver-1.1.0-SNAPSHOT/etc/org.apache.karaf.log.cfg
   pattern = %d{ABSOLUTE} | %-5.5p | %-16.16t | %-32.32c{1} | %-32.32C
%4L | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
karaf@root> config:list (Pid=org.apache.karaf.log)
Error executing command: Missing opening parenthesis: org.apache.karaf.log
karaf@root> config:list (Pid=(org.apache.karaf.log))
Command not found: org.apache.karaf.log
karaf@root> config:list (Pid='org.apache.karaf.log')
Error executing command: Missing opening parenthesis: org.apache.karaf.log
karaf@root> config:list (Pid="org.apache.karaf.log")
Error executing command: Missing opening parenthesis: org.apache.karaf.log
karaf@root> config:list '(Pid=org.apache.karaf.log)'
karaf@root> config:list "(Pid=org.apache.karaf.log)"
karaf@root> config:list \(Pid=org.apache.karaf.log\)
karaf@root>

I'll admit I'm not an LDAP query expert (I can barely spell it), but
one of those commands should have worked, right?


-- 
Tim Moloney
ManTech Real-time Systems Laboratory
2015 Cattlemen Road                                 \       /
Sarasota, FL  34232                     .________\(O)/________.
(941) 377-6775 x208                          '    '    O(.)O    '    '

Re: How do I specify the LDAP query for config:list?

Posted by Tim Moloney <ti...@gmail.com>.
Doh!  I had to publicly embarrass myself before I figured out that the
command is any of the following:

config:list '(service.pid=org.apache.karaf.log)'
config:list "(service.pid=org.apache.karaf.log)"
config:list \(service.pid=org.apache.karaf.log\)


On Thu, May 19, 2011 at 2:20 PM, Tim Moloney <ti...@gmail.com> wrote:
> I'm going to show my ignorance here, but can someone tell me what I'm
> doing wrong?
>
> karaf@root> config:list
> ...
> ----------------------------------------------------------------
> Pid:            org.apache.karaf.log
> BundleLocation: mvn:org.apache.karaf.shell/org.apache.karaf.shell.log/2.2.0
> Properties:
>   service.pid = org.apache.karaf.log
>   size = 500
>   felix.fileinstall.filename =
> /home/tmmoloney/workspace/com.mrsl.vp.driver/target/driver-1.1.0-SNAPSHOT/etc/org.apache.karaf.log.cfg
>   pattern = %d{ABSOLUTE} | %-5.5p | %-16.16t | %-32.32c{1} | %-32.32C
> %4L | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
> karaf@root> config:list (Pid=org.apache.karaf.log)
> Error executing command: Missing opening parenthesis: org.apache.karaf.log
> karaf@root> config:list (Pid=(org.apache.karaf.log))
> Command not found: org.apache.karaf.log
> karaf@root> config:list (Pid='org.apache.karaf.log')
> Error executing command: Missing opening parenthesis: org.apache.karaf.log
> karaf@root> config:list (Pid="org.apache.karaf.log")
> Error executing command: Missing opening parenthesis: org.apache.karaf.log
> karaf@root> config:list '(Pid=org.apache.karaf.log)'
> karaf@root> config:list "(Pid=org.apache.karaf.log)"
> karaf@root> config:list \(Pid=org.apache.karaf.log\)
> karaf@root>
>
> I'll admit I'm not an LDAP query expert (I can barely spell it), but
> one of those commands should have worked, right?
>
>
> --
> Tim Moloney
> ManTech Real-time Systems Laboratory
> 2015 Cattlemen Road                                 \       /
> Sarasota, FL  34232                     .________\(O)/________.
> (941) 377-6775 x208                          '    '    O(.)O    '    '
>



-- 
Tim Moloney
ManTech Real-time Systems Laboratory
2015 Cattlemen Road                                 \       /
Sarasota, FL  34232                     .________\(O)/________.
(941) 377-6775 x208                          '    '    O(.)O    '    '