Skip to main content

shell command list?

4 replies [Last post]
stillwater
Offline
Joined: 2007-08-19
Points: 0

HI
Has someone got a complete shell command list for JXTA 2.4.1?
with "man" I can not list all the command in the shell. What the JXTA book says by B.Wilson is sometimes out of date.

tks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
stillwater
Offline
Joined: 2007-08-19
Points: 0

tks a lot Waldiman!

waldiman
Offline
Joined: 2007-06-26
Points: 0

Hi,

same problem for me with JXTA 2.4.1 shell. But shell of 2.5RC2 works fine for me (Sorry for the bad formatting...I just copy & pasted from command line):

The following commands are available:

Shell JXTA Shell command interpreter
cat Concatenate and display a Shell object
chpgrp Change the current peer group
clear Clear the shell's screen
dumpcm Dump the content of the local cache (CM)
env Display environment variables
exit Exit the Shell
exportfile Export enviroment variable to an external file
flush flush a jxta advertisement
get Get data from a pipe message
grep Search for matching patterns
groups Discover peer groups
help To access help pages use the 'man' command.
history No description available for this ShellApp
importfile Import an external file
info display info about an jxta advertisement
instjar Installs jar-files containing additional Shell commands
join Instantiate and join peer group
leave Resign from and optionally stop a peer group
logging Display and optionally adjust logging levels
login Authenticate with the group's membership service.
man An on-line help command that displays information about a specific Shell command
mem Display memory information
mkadv Make an advertisement from a document
mkmsg Make a pipe message
mkpipe Create a pipe
more Page through a Shell object or from standard input.
newmoduleclass Create a new Module Class advertisment
newmodulespec Create a new Module Class advertisment
newpgrp Create a new peer group advertisement
newpipe Create a new pipe advertisment
peerconfig Force Peer Reconfiguration
peerinfo Get information about peers
peers Discover peers
pse.certs Display the certificates contained in the current group's PSE Membership
pse.createkey Creates a key in the PSE key store
pse.dumpcred Dumps a credential.
pse.dupkey Creates a key in the PSE key store
pse.erase Erases a key or certificate from the PSE key store
pse.importcert Imports a trusted certificate chain.
pse.keys Display the keys contained in the current group's PSE Membership
pse.newcsr Generates certificate signing request document.
pse.signcsr Signs a certificate signing request
pse.status Display status infomation for the group's PSE Membership
publish Publish a JXTA advertisement
put Put data into a message
rdvcontrol Controls rendezvous service behaviour
rdvserver No description available for this ShellApp
rdvstatus Display information about the rendezvous service
recv Receive a message from a pipe
relaystatus Display the list of relays and clients connected to this peer.
remotepublish remote publish a jxta advertisement
route Display information about a peer's route info
rsh Connects to a remote JXTA Shell
rshd Remote JXTA Shell Deamon
search Discover jxta advertisements
send Send a message into a pipe
set Set an environment variable
sftp Send a file to another peer
share Share an advertisement
sleep Sleep for a specified amount of milliseconds
talk Talk to another peer
transports Display information about the message transports available in the current group
uninstjar Uninstalls jar-files previously installed with 'instjar'
unset Removes an environment variable
version Display the version number of this Shell instance.
wc Count the number of lines, words, and chars in an object
who Display credential information
whoami Display information about this peer or the current peergroup
xfer Send a file to another peer

======================================================

Shell 2.4.1 throws following exception when the man command is invoked:

22.08.2007 16:40:01 net.jxta.impl.shell.ShellCmds cmdlist
WARNUNG: Failure processing : file:/C:/jxta.jar
java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/jxta.jar
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.(Unknown Source)
at net.jxta.impl.shell.ShellCmds.cmdlist(ShellCmds.java:291)
at net.jxta.impl.shell.bin.man.man.selfHelp(man.java:205)
at net.jxta.impl.shell.bin.man.man.startApp(man.java:109)
at net.jxta.impl.shell.ShellApp.exec(ShellApp.java:706)
at net.jxta.impl.shell.bin.Shell.Shell.processCmd(Shell.java:757)
at net.jxta.impl.shell.bin.Shell.Shell.processPipeCmd(Shell.java:873)
at net.jxta.impl.shell.bin.Shell.Shell.processMultipleCmd(Shell.java:780
)
at net.jxta.impl.shell.bin.Shell.Shell.runShell(Shell.java:924)
at net.jxta.impl.shell.bin.Shell.Shell.run(Shell.java:187)
at java.lang.Thread.run(Unknown Source)
22.08.2007 16:40:01 net.jxta.impl.shell.ShellCmds cmdlist
WARNUNG: Failure processing : file:/C:/jxtashell.jar
java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/jxtashell.jar
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.(Unknown Source)
at net.jxta.impl.shell.ShellCmds.cmdlist(ShellCmds.java:291)
at net.jxta.impl.shell.bin.man.man.selfHelp(man.java:205)
at net.jxta.impl.shell.bin.man.man.startApp(man.java:109)
at net.jxta.impl.shell.ShellApp.exec(ShellApp.java:706)
at net.jxta.impl.shell.bin.Shell.Shell.processCmd(Shell.java:757)
at net.jxta.impl.shell.bin.Shell.Shell.processPipeCmd(Shell.java:873)
at net.jxta.impl.shell.bin.Shell.Shell.processMultipleCmd(Shell.java:780
)
at net.jxta.impl.shell.bin.Shell.Shell.runShell(Shell.java:924)
at net.jxta.impl.shell.bin.Shell.Shell.run(Shell.java:187)
at java.lang.Thread.run(Unknown Source)
22.08.2007 16:40:01 net.jxta.impl.shell.ShellCmds cmdlist
WARNUNG: Failure processing : file:/C:/log4j.jar
java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/log4j.jar
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.(Unknown Source)
at net.jxta.impl.shell.ShellCmds.cmdlist(ShellCmds.java:291)
at net.jxta.impl.shell.bin.man.man.selfHelp(man.java:205)
at net.jxta.impl.shell.bin.man.man.startApp(man.java:109)
at net.jxta.impl.shell.ShellApp.exec(ShellApp.java:706)
at net.jxta.impl.shell.bin.Shell.Shell.processCmd(Shell.java:757)
at net.jxta.impl.shell.bin.Shell.Shell.processPipeCmd(Shell.java:873)
at net.jxta.impl.shell.bin.Shell.Shell.processMultipleCmd(Shell.java:780
)
at net.jxta.impl.shell.bin.Shell.Shell.runShell(Shell.java:924)
at net.jxta.impl.shell.bin.Shell.Shell.run(Shell.java:187)
at java.lang.Thread.run(Unknown Source)
22.08.2007 16:40:01 net.jxta.impl.shell.ShellCmds cmdlist
WARNUNG: Failure processing : file:/C:/bcprov-jdk14.jar
java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/bcprov-jdk14.jar
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.(Unknown Source)
at net.jxta.impl.shell.ShellCmds.cmdlist(ShellCmds.java:291)
at net.jxta.impl.shell.bin.man.man.selfHelp(man.java:205)
at net.jxta.impl.shell.bin.man.man.startApp(man.java:109)
at net.jxta.impl.shell.ShellApp.exec(ShellApp.java:706)
at net.jxta.impl.shell.bin.Shell.Shell.processCmd(Shell.java:757)
at net.jxta.impl.shell.bin.Shell.Shell.processPipeCmd(Shell.java:873)
at net.jxta.impl.shell.bin.Shell.Shell.processMultipleCmd(Shell.java:780
)
at net.jxta.impl.shell.bin.Shell.Shell.runShell(Shell.java:924)
at net.jxta.impl.shell.bin.Shell.Shell.run(Shell.java:187)
at java.lang.Thread.run(Unknown Source)
22.08.2007 16:40:01 net.jxta.impl.shell.ShellCmds cmdlist
WARNUNG: Failure processing : file:/C:/org.mortbay.jetty.jar
java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/org.mortbay.jetty.jar
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.(Unknown Source)
at net.jxta.impl.shell.ShellCmds.cmdlist(ShellCmds.java:291)
at net.jxta.impl.shell.bin.man.man.selfHelp(man.java:205)
at net.jxta.impl.shell.bin.man.man.startApp(man.java:109)
at net.jxta.impl.shell.ShellApp.exec(ShellApp.java:706)
at net.jxta.impl.shell.bin.Shell.Shell.processCmd(Shell.java:757)
at net.jxta.impl.shell.bin.Shell.Shell.processPipeCmd(Shell.java:873)
at net.jxta.impl.shell.bin.Shell.Shell.processMultipleCmd(Shell.java:780
)
at net.jxta.impl.shell.bin.Shell.Shell.runShell(Shell.java:924)
at net.jxta.impl.shell.bin.Shell.Shell.run(Shell.java:187)
at java.lang.Thread.run(Unknown Source)
22.08.2007 16:40:01 net.jxta.impl.shell.ShellCmds cmdlist
WARNUNG: Failure processing : file:/C:/javax.servlet.jar
java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/javax.servlet.jar
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.(Unknown Source)
at net.jxta.impl.shell.ShellCmds.cmdlist(ShellCmds.java:291)
at net.jxta.impl.shell.bin.man.man.selfHelp(man.java:205)
at net.jxta.impl.shell.bin.man.man.startApp(man.java:109)
at net.jxta.impl.shell.ShellApp.exec(ShellApp.java:706)
at net.jxta.impl.shell.bin.Shell.Shell.processCmd(Shell.java:757)
at net.jxta.impl.shell.bin.Shell.Shell.processPipeCmd(Shell.java:873)
at net.jxta.impl.shell.bin.Shell.Shell.processMultipleCmd(Shell.java:780
)
at net.jxta.impl.shell.bin.Shell.Shell.runShell(Shell.java:924)
at net.jxta.impl.shell.bin.Shell.Shell.run(Shell.java:187)
at java.lang.Thread.run(Unknown Source)

Cheers,
Jens

Message was edited by: waldiman

bondolo
Offline
Joined: 2003-06-11
Points: 0

Aha!

I hadn't previously seen the URISyntaxException. I'll look in to seeing if I can resolve the problem with parsing file:// paths with spaces in the name.

bondolo
Offline
Joined: 2003-06-11
Points: 0

I have committed a fix to the jxse-shell that should hopefully correct the problem. If you could try the nightly build of the shell I believe the problem is fixed.

Mike