Servlets, again...

Hi,

I am still on my way to install, configure and run Jigsaw on my solaris
machine.

Thank you for the new Servlet classes, I could compile them and use JSDK2.0.

I have followed the instructions in the FAQ to install servlets on my
server. Unfortunately, I got some strange behavior :

- I wanted to install the example servlets in the JSDK distribution
- I started with SimpleServlet, which work ok
- I continued with SnoopServlet and SessionServlet
- In the first case, I receive "Document contains no data" when I access the
servlet
- In the second case, I receive a "Internal Server Error"...

I tried those servlets with ServletRunner (in JSDK), they work ok. I have no
idea where is the problem.

Also, some questions to check my understanding of Jigsaw :

"Everytime I create a new servlet, I *have* to use Jigadm to create a new
resource (ServletWrapper)" ?
"Is it possible to run Jigadm on a remote machine ?" in this case, what do I
have to install on the remote machine and what is the value of the root
parameter ?

Thank you for your help !

Cheers, Olivier




ager.java:304)
        at
org.w3c.tools.resources.store.ResourceStoreManager.collect(ResourceSt
oreManager.java:522)
        at
org.w3c.tools.resources.store.StoreManagerSweeper.run(ResourceStoreMa
nager.java:390)
[org.w3c.tools.resources.store.SimpleResourceStore@/home2/olivier/Jigsaw/Jig
saw/
config/stores/st-24]: internalSave failed at shutdown.
[MEMORY] sweeper done  -> 16 stores still loaded.
[MEMORY] start sweeper <- 17 stores loaded.
java.io.FileNotFoundException:
/home2/olivier/Jigsaw/Jigsaw/config/stores/st-17.
tmp
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at
org.w3c.tools.resources.store.SimpleResourceStore.internalSave(Simple
ResourceStore.java:383)
        at
org.w3c.tools.resources.store.SimpleResourceStore.shutdown(SimpleReso
urceStore.java:599)
        at
org.w3c.tools.resources.store.StoreEntry.shutdownStore(ResourceStoreM
anager.java:314)
        at
org.w3c.tools.resources.store.StoreEntry.unloadStore(ResourceStoreMan
ager.java:304)
        at
org.w3c.tools.resources.store.ResourceStoreManager.collect(ResourceSt
oreManager.java:522)
        at
org.w3c.tools.resources.store.StoreManagerSweeper.run(ResourceStoreMa
nager.java:390)
[org.w3c.tools.resources.store.SimpleResourceStore@/home2/olivier/Jigsaw/Jig
saw/
config/stores/st-17]: internalSave failed at shutdown.
java.io.FileNotFoundException:
/home2/olivier/Jigsaw/Jigsaw/config/stores/st-18.
tmp
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at
org.w3c.tools.resources.store.SimpleResourceStore.internalSave(Simple
ResourceStore.java:383)
        at
org.w3c.tools.resources.store.SimpleResourceStore.shutdown(SimpleReso
urceStore.java:599)
        at
org.w3c.tools.resources.store.StoreEntry.shutdownStore(ResourceStoreM
anager.java:314)
        at
org.w3c.tools.resources.store.StoreEntry.unloadStore(ResourceStoreMan
ager.java:304)
        at
org.w3c.tools.resources.store.ResourceStoreManager.collect(ResourceSt
oreManager.java:522)
        at
org.w3c.tools.resources.store.StoreManagerSweeper.run(ResourceStoreMa
nager.java:390)
[org.w3c.tools.resources.store.SimpleResourceStore@/home2/olivier/Jigsaw/Jig
saw/
config/stores/st-18]: internalSave failed at shutdown.
java.io.FileNotFoundException:
/home2/olivier/Jigsaw/Jigsaw/config/stores/st-16.
tmp
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at
org.w3c.tools.resources.store.SimpleResourceStore.internalSave(Simple
ResourceStore.java:383)
        at
org.w3c.tools.resources.store.SimpleResourceStore.shutdown(SimpleReso
urceStore.java:599)
        at
org.w3c.tools.resources.store.StoreEntry.shutdownStore(ResourceStoreM
anager.java:314)
        at
org.w3c.tools.resources.store.StoreEntry.unloadStore(ResourceStoreMan
ager.java:304)
        at
org.w3c.tools.resources.store.ResourceStoreManager.collect(ResourceSt
oreManager.java:522)
        at
org.w3c.tools.resources.store.StoreManagerSweeper.run(ResourceStoreMa
nager.java:390)
[org.w3c.tools.resources.store.SimpleResourceStore@/home2/olivier/Jigsaw/Jig
saw/
config/stores/st-16]: internalSave failed at shutdown.
java.io.FileNotFoundException:
/home2/olivier/Jigsaw/Jigsaw/config/stores/st-15.
tmp
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at
org.w3c.tools.resources.store.SimpleResourceStore.internalSave(Simple
ResourceStore.java:383)
        at
org.w3c.tools.resources.store.SimpleResourceStore.shutdown(SimpleReso
urceStore.java:599)
        at
org.w3c.tools.resources.store.StoreEntry.shutdownStore(ResourceStoreM
anager.java:314)
        at
org.w3c.tools.resources.store.StoreEntry.unloadStore(ResourceStoreMan
ager.java:304)
        at
org.w3c.tools.resources.store.ResourceStoreManager.collect(ResourceSt
oreManager.java:522)
        at
org.w3c.tools.resources.store.StoreManagerSweeper.run(ResourceStoreMa
nager.java:390)
[org.w3c.tools.resources.store.SimpleResourceStore@/home2/olivier/Jigsaw/Jig
saw/
config/stores/st-15]: internalSave failed at shutdown.
java.io.FileNotFoundException:
/home2/olivier/Jigsaw/Jigsaw/config/stores/st-12.
tmp
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at
org.w3c.tools.resources.store.SimpleResourceStore.internalSave(Simple
ResourceStore.java:383)
        at
org.w3c.tools.resources.store.SimpleResourceStore.shutdown(SimpleReso
urceStore.java:599)
        at
org.w3c.tools.resources.store.StoreEntry.shutdownStore(ResourceStoreM
anager.java:314)
        at
org.w3c.tools.resources.store.StoreEntry.unloadStore(ResourceStoreMan
ager.java:304)
        at
org.w3c.tools.resources.store.ResourceStoreManager.collect(ResourceSt
oreManager.java:522)
        at
org.w3c.tools.resources.store.StoreManagerSweeper.run(ResourceStoreMa
nager.java:390)
[org.w3c.tools.resources.store.SimpleResourceStore@/home2/olivier/Jigsaw/Jig
saw/
config/stores/st-12]: internalSave failed at shutdown.
[MEMORY] sweeper done  -> 16 stores still loaded.
[MEMORY] start sweeper <- 17 stores loaded.
java.io.FileNotFoundException:
/home2/olivier/Jigsaw/Jigsaw/config/stores/st-25.
tmp
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at
org.w3c.tools.resources.store.SimpleResourceStore.internalSave(Simple
ResourceStore.java:383)
        at
org.w3c.tools.resources.store.SimpleResourceStore.shutdown(SimpleReso
urceStore.java:599)
        at
org.w3c.tools.resources.store.StoreEntry.shutdownStore(ResourceStoreM
anager.java:314)
        at
org.w3c.tools.resources.store.StoreEntry.unloadStore(ResourceStoreMan
ager.java:304)
        at
org.w3c.tools.resources.store.ResourceStoreManager.collect(ResourceSt
oreManager.java:522)
        at
org.w3c.tools.resources.store.StoreManagerSweeper.run(ResourceStoreMa
nager.java:390)
[org.w3c.tools.resources.store.SimpleResourceStore@/home2/olivier/Jigsaw/Jig
saw/
config/stores/st-25]: internalSave failed at shutdown.
[MEMORY] sweeper done  -> 16 stores still loaded.
[MEMORY] start sweeper <- 17 stores loaded.
java.io.FileNotFoundException:
/home2/olivier/Jigsaw/Jigsaw/config/stores/st-26.
tmp
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at
org.w3c.tools.resources.store.SimpleResourceStore.internalSave(Simple
ResourceStore.java:383)
        at
org.w3c.tools.resources.store.SimpleResourceStore.shutdown(SimpleReso
urceStore.java:599)
        at
org.w3c.tools.resources.store.StoreEntry.shutdownStore(ResourceStoreM
anager.java:314)
        at
org.w3c.tools.resources.store.StoreEntry.unloadStore(ResourceStoreMan
ager.java:304)
        at
org.w3c.tools.resources.store.ResourceStoreManager.collect(ResourceSt
oreManager.java:522)
        at
org.w3c.tools.resources.store.StoreManagerSweeper.run(ResourceStoreMa
nager.java:390)
[org.w3c.tools.resources.store.SimpleResourceStore@/home2/olivier/Jigsaw/Jig
saw/
config/stores/st-26]: internalSave failed at shutdown.
[MEMORY] sweeper done  -> 16 stores still loaded.
[MEMORY] start sweeper <- 17 stores loaded.
java.io.FileNotFoundException:
/home2/olivier/Jigsaw/Jigsaw/config/stores/st-27.
tmp
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at
org.w3c.tools.resources.store.SimpleResourceStore.internalSave(Simple
ResourceStore.java:383)
        at
org.w3c.tools.resources.store.SimpleResourceStore.shutdown(SimpleReso
urceStore.java:599)
        at
org.w3c.tools.resources.store.StoreEntry.shutdownStore(ResourceStoreM
anager.java:314)
        at
org.w3c.tools.resources.store.StoreEntry.unloadStore(ResourceStoreMan
ager.java:304)
        at
org.w3c.tools.resources.store.ResourceStoreManager.collect(ResourceSt
oreManager.java:522)
        at
org.w3c.tools.resources.store.StoreManagerSweeper.run(ResourceStoreMa
nager.java:390)
[org.w3c.tools.resources.store.SimpleResourceStore@/home2/olivier/Jigsaw/Jig
saw/
config/stores/st-27]: internalSave failed at shutdown.
[MEMORY] sweeper done  -> 16 stores still loaded.
[MEMORY] start sweeper <- 18 stores loaded.
java.io.FileNotFoundException:
/home2/olivier/Jigsaw/Jigsaw/config/stores/st-28.
tmp
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at
org.w3c.tools.resources.store.SimpleResourceStore.internalSave(Simple
ResourceStore.java:383)
        at
org.w3c.tools.resources.store.SimpleResourceStore.shutdown(SimpleReso
urceStore.java:599)
        at
org.w3c.tools.resources.store.StoreEntry.shutdownStore(ResourceStoreM
anager.java:314)
        at
org.w3c.tools.resources.store.StoreEntry.unloadStore(ResourceStoreMan
ager.java:304)
        at
org.w3c.tools.resources.store.ResourceStoreManager.collect(ResourceSt
oreManager.java:522)
        at
org.w3c.tools.resources.store.StoreManagerSweeper.run(ResourceStoreMa
nager.java:390)
[org.w3c.tools.resources.store.SimpleResourceStore@/home2/olivier/Jigsaw/Jig
saw/
config/stores/st-28]: internalSave failed at shutdown.
java.io.FileNotFoundException:
/home2/olivier/Jigsaw/Jigsaw/config/stores/st-5.t
mp
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at
org.w3c.tools.resources.store.SimpleResourceStore.internalSave(Simple
ResourceStore.java:383)
        at
org.w3c.tools.resources.store.SimpleResourceStore.acceptUnload(Simple
ResourceStore.java:579)
        at
org.w3c.tools.resources.store.StoreEntry.unloadStore(ResourceStoreMan
ager.java:301)
        at
org.w3c.tools.resources.store.ResourceStoreManager.collect(ResourceSt
oreManager.java:522)
        at
org.w3c.tools.resources.store.StoreManagerSweeper.run(ResourceStoreMa
nager.java:390)
[org.w3c.tools.resources.store.SimpleResourceStore@/home2/olivier/Jigsaw/Jig
saw/
config/stores/st-5]: internalSave failed at acceptUnload
java.io.FileNotFoundException:
/home2/olivier/Jigsaw/Jigsaw/config/stores/st-29.
tmp
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at java.io.FileOutputStream.<init>(FileOutputStream.java)
        at
org.w3c.tools.resources.store.SimpleResourceStore.internalSave(Simple
ResourceStore.java:383)
        at
org.w3c.tools.resources.store.SimpleResourceStore.shutdown(SimpleReso
urceStore.java:599)
        at
org.w3c.tools.resources.store.StoreEntry.shutdownStore(ResourceStoreM
anager.java:314)
        at
org.w3c.tools.resources.store.StoreEntry.unloadStore(ResourceStoreMan
ager.java:304)
        at
org.w3c.tools.resources.store.ResourceStoreManager.collect(ResourceSt
oreManager.java:522)
        at
org.w3c.tools.resources.store.StoreManagerSweeper.run(ResourceStoreMa
nager.java:390)
[org.w3c.tools.resources.store.SimpleResourceStore@/home2/olivier/Jigsaw/Jig
saw/
config/stores/st-29]: internalSave failed at shutdown.
[MEMORY] sweeper done  -> 16 stores still loaded.
SimpleServlet: init
SessionServlet: init
SnoopServlet: init
SnoopServlet: destroy
SimpleServlet: init
SimpleServlet: destroy
SnoopServlet: init
SnoopServlet: destroy
SnoopServlet: init

Received on Wednesday, 13 May 1998 01:12:34 UTC