Re: webserver not starting?

Steph Smith <[email protected]> Wed, 30 Jun 2004 10:51:24 -0400
Newsgroups gmane.mail.zoe.general
Message-ID <[email protected]>
> Hmmm... it looks like the JVM get confuse during startup... make sure 
> that the '<ZOE>/Library/Java/' directory doesn't contain any duplicate 
> jars.

I've got 23 jar files, all unique (two files can't share the same
filename in the same directory)

> You can also start the JVM in "verbose" mode. This will show you where 
> the JVM is choking. From the command line:
> java -verbose -jar Zoe.jar debug

It looks like verbose reports on actions which have just completed,
rather than actions which its getting stuck on. I.e., the last lines
printed are:

-------------------------------
[Loaded jdbm.recman.FreePhysicalRowIdPage]
[Loaded alt.dev.szfoundation.SZUUID]
[Loaded java.security.SecureRandom from
/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar]
[Loaded java.security.SecureRandomSpi from
/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar]
[Loaded sun.security.provider.SecureRandom from
/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar]
[Loaded sun.security.provider.SeedGenerator from
/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar]
[Loaded sun.security.provider.SeedGenerator$1 from
/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar]
[Loaded sun.security.provider.SeedGenerator$URLSeedGenerator from
/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar]
[Loaded sun.security.provider.NativeSeedGenerator from
/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar]
[Loaded sun.security.provider.SeedGenerator$4 from
/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar]
[Loaded sun.security.provider.SeedGenerator$2 from
/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar]
-----------------------------------

This all looks successful, so I gather the problem is with whatever is
supposed to come next? Not knowing what that is, its hard to deduce
anything from this.

To my untrained eye, the debug output looks a bit informative. Here's
the pertinent bit from my previous message:

--------------------------------------------
06/29 11:00:11 (Debug) SZConfiguration.properties: Looking for                                 
'/home/arakune/Zoe/Library/SZ/Configurations/Default/alt.dev.szdb.SZDB.properties'.   
--------------------------------------------

As I mentioned before, the file that it is looking for does *not* exist;
nor does the entire Configurations tree. Is this something that should
exist the first time Zoe is run, or do these files get created through
the set-up process (still to come)? 

Or am I barking up the wrong tree with this?

> Another possibility would be that some port numbers are already taken, 
> preventing the application from starting properly.
> You can run 'netstat' to check who is using what. ZOE uses ports in the 
> 10000 range.

Netstat? Cool. I thought it only showed which IPs were listening on
which ports, not the adjoining programs. lsof also does the trick. 

However, no joy here. I don't have anything which uses ports in that range.

Steph

-- 
"Athens built the Acropolis.  Corinth was a commercial city, interested in
purely materialistic things.  Today we admire Athens, visit it, preserve the
old temples, yet we hardly ever set foot in Corinth."
- Dr. Harold Urey, Nobel Laureate in chemistry


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com