- From: Sangmin Park <sangmin.park@gmail.com>
- Date: Wed, 21 Oct 2009 13:24:31 -0400
- To: www-jigsaw@w3.org
- Message-ID: <e799c53e0910211024x110e2ff8v3fc6de64ac5e74e3@mail.gmail.com>
I solved the problem. The url should be ended with /. java org.w3c.jigsaw.admin.JigKill -u admin -p admin --stop http://127.0.0.1:8009/ <http://127.0.0.1:8009/>Thanks, Sangmin On Wed, Oct 21, 2009 at 1:25 AM, Sangmin Park <sangmin.park@gmail.com>wrote: > BTW, I got the same problem in my linux machine. Please let me know whether > it is Jigsaw's problem, or I am doing wrong. > FYI, I did some tricks in installation stages, because I couldn't compile > and install Jigsaw by following installation page. Please consider to apply > my tricks into new version of installation page. (Or, tell me if I am doing > wrong.) > > First, I've added jakarta-oro-2.0.8.jar file (downloaded from oro page) > into classes folder. Without the jar file, Jigsaw didn't compile. Second, > I've added servlet.jar to CLASSPATH as well as jigsaw.jar, sax.jar, and > xp.jar. Finally, I've modified a part of build.xml as follows. > > <!-- extra library jar --> > <path id="build.classpath"> > <pathelement path="classes/sax.jar"/> > <pathelement path="classes/xp.jar"/> > <pathelement path="classes/servlet.jar"/> > <pathelement path="classes/jakarta-oro-2.0.8.jar"/> > <pathelement path="classes/xerces.jar"/> > <pathelement path="classes/Tidy.jar"/> > <pathelement path="${build.core.classes}"/> > </path> > > Note that I am working on Jigsaw 2.2.6. > > Thanks, > Sangmin > > > On Tue, Oct 20, 2009 at 9:59 PM, Sangmin Park <sangmin.park@gmail.com>wrote: > >> Hi, >> I am having trouble executing JigKill as a commandline. What I want to do >> is to stop the Jigsaw server with JigKill API. I'll explain what I did, so >> please correct me the problem that I made. >> >> (1) install Jigsaw as this link: >> http://www.w3.org/Jigsaw/Doc/User/installation.html >> >> (2) start Jigsaw admin, server >> >> C:\workspace\subjects\original\Jigsaw\Jigsaw>java org.w3c.jigsaw.Main >> loading properties from: >> C:\workspace\subjects\original\Jigsaw\Jigsaw\config\server.props >> *** Warning : JigAdmin[2.2.6]: no logger specified, not logging. >> JigAdmin[2.2.6]: serving at http://admin-PC:8009/ >> Jigsaw[2.2.6]: serving at http://admin-PC:8001/ >> >> (3) start JigKill in the commandline. >> >> C:\workspace\subjects\original\Jigsaw\Jigsaw>java >> org.w3c.jigsaw.admin.JigKill -u admin -p admin http://127.0.0.1:8009 >> java.net.MalformedURLException: For input string: "8009null" >> at java.net.URL.<init>(Unknown Source) >> at java.net.URL.<init>(Unknown Source) >> at java.net.URL.<init>(Unknown Source) >> at org.w3c.jigsaw.admin.PlainRemoteResource.createRemoteFrames(Unknown >> Source) >> at org.w3c.jigsaw.admin.PlainRemoteResource.<init>(Unknown Source) >> at org.w3c.jigsaw.admin.PlainRemoteResource.<init>(Unknown Source) >> at >> org.w3c.jigsaw.admin.RemoteResourceFactory.createRemoteResource(Unknown >> Source) >> at org.w3c.jigsaw.admin.AdminReader.readResource(Unknown Source) >> at org.w3c.jigsaw.admin.AdminContext.loadRoot(Unknown Source) >> at org.w3c.jigsaw.admin.AdminContext.initialize(Unknown Source) >> at org.w3c.jigsaw.admin.JigKill.<init>(Unknown Source) >> at org.w3c.jigsaw.admin.JigKill.main(Unknown Source) >> java.net.MalformedURLException: For input string: "8009auth-frame" >> at java.net.URL.<init>(Unknown Source) >> at java.net.URL.<init>(Unknown Source) >> at java.net.URL.<init>(Unknown Source) >> at org.w3c.jigsaw.admin.PlainRemoteResource.<init>(Unknown Source) >> at org.w3c.jigsaw.admin.PlainRemoteResource.createRemoteFrames(Unknown >> Source) >> at org.w3c.jigsaw.admin.PlainRemoteResource.<init>(Unknown Source) >> at org.w3c.jigsaw.admin.PlainRemoteResource.<init>(Unknown Source) >> at org.w3c.jigsaw.admin.RemoteResourceFactory.createRemoteResource(Unknown >> Source) >> at org.w3c.jigsaw.admin.AdminReader.readResource(Unknown Source) >> at org.w3c.jigsaw.admin.AdminContext.loadRoot(Unknown Source) >> at org.w3c.jigsaw.admin.AdminContext.initialize(Unknown Source) >> at org.w3c.jigsaw.admin.JigKill.<init>(Unknown Source) >> at org.w3c.jigsaw.admin.JigKill.main(Unknown Source) >> java.net.MalformedURLException: For input string: "8009null" >> at java.net.URL.<init>(Unknown Source) >> at java.net.URL.<init>(Unknown Source) >> at java.net.URL.<init>(Unknown Source) >> at org.w3c.jigsaw.admin.PlainRemoteResource.createRemoteFrames(Unknown >> Source) >> at org.w3c.jigsaw.admin.PlainRemoteResource.update(Unknown Source) >> at >> org.w3c.jigsaw.admin.PlainRemoteResource.enumerateResourceIdentifiers(Unknown >> Source) >> at org.w3c.jigsaw.admin.JigKill.getControls(Unknown Source) >> at org.w3c.jigsaw.admin.JigKill.<init>(Unknown Source) >> at org.w3c.jigsaw.admin.JigKill.main(Unknown Source) >> java.net.MalformedURLException: For input string: "8009auth-frame" >> at java.net.URL.<init>(Unknown Source) >> at java.net.URL.<init>(Unknown Source) >> at java.net.URL.<init>(Unknown Source) >> at org.w3c.jigsaw.admin.PlainRemoteResource.<init>(Unknown Source) >> at org.w3c.jigsaw.admin.PlainRemoteResource.createRemoteFrames(Unknown >> Source) >> at org.w3c.jigsaw.admin.PlainRemoteResource.update(Unknown Source) >> at >> org.w3c.jigsaw.admin.PlainRemoteResource.enumerateResourceIdentifiers(Unknown >> Source) >> at org.w3c.jigsaw.admin.JigKill.getControls(Unknown Source) >> at org.w3c.jigsaw.admin.JigKill.<init>(Unknown Source) >> at org.w3c.jigsaw.admin.JigKill.main(Unknown Source) >> java.net.MalformedURLException: For input string: "8009http-server" >> at java.net.URL.<init>(Unknown Source) >> at java.net.URL.<init>(Unknown Source) >> at java.net.URL.<init>(Unknown Source) >> at org.w3c.jigsaw.admin.PlainRemoteResource.loadResource(Unknown Source) >> at org.w3c.jigsaw.admin.JigKill.getControls(Unknown Source) >> at org.w3c.jigsaw.admin.JigKill.<init>(Unknown Source) >> at org.w3c.jigsaw.admin.JigKill.main(Unknown Source) >> Error : For input string: "8009http-server" >> >> Thanks, >> Sangmin >> > >
Received on Wednesday, 21 October 2009 17:25:06 UTC