Hi Dave,
Are you running the latest version of SmartFrog? If this is the case then you
need to use JDK 1.5. We abandoned support for 1.4 after version 3.12.000
because some potential problems with concurrency in the 1.4 VM architecture and
because we thought there was almost nobody using 1.4 anymore. Are you
constrained by JDK 1.4? I am asking because I just read in your previous email
that you were planning to migrate everything to 1.4 JDK. At the moment there is
very little 1.5 only code in the SF core but some of the newer components are
being written for 1.5 only.
I think the problem you are getting could be related to 1.4 failing to load the
1.5 java classes; but having tried to compile with 1.5 and run with 1.4 I get a
different message:
...\smartfrog\dist>bin\sfDaemon
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/smartfrog/SFSystem (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
...
Could you try to run "sfDaemon -d > sfdiag.txt" and send us the result to see
it we can see what could be wrong? I don't know if this will produce any result
because you seem to be getting some kind of bytecode or jvm problem but it is
worth it to try it.
Regards,
Julio G.
PS: I haven't replied to your previous email yet because it requires some
proper reading and I am just caching up with my email after a short break. I
will try to reply to it tomorrow.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Brown
Sent: 17 February 2008 19:39
To: [email protected]
Subject: [Smartfrog-users] Noob and SmartFrog Tutorial sfDaemon does not start
with exceptions et. al.
Hello Steve, commit-folks, dev, gurus and users, I overshot my first email to
this list by a considerable margin. I am back with slightly less ambitious
intent. I will start humbly with the SmartFrog Tutorial example: helloworld. I
have successfully compiled SF at the command-line against: dist, build and all.
I have successfully pulled the ant target: <published> into Eclipse and I am
able to compile the example target <kernel-dist> for the helloworld example.
Following the instructions on page 3 of the SF Tutorial to command-line start
the sfDaemon...
A beginner's configuration is to have your Java classes on your local host, and
to start the sfDaemon script manually from a command-line shell.
(julio.guijarro)
..I am getting the following exception included below. The sfDaemon is
pre-requisite to anything I hope to do with SF.
ERROR: Could not use org.smartfrog.iniFile : Unresolved compilation problem:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
at
org.smartfrog.sfcore.logging.LogFactory.sfGetProcessLog(LogFactory.java:192)
at org.smartfrog.SFSystem.sfLog(SFSystem.java:704)
at org.smartfrog.SFSystem.initSystem(SFSystem.java:637)
at org.smartfrog.SFSystem.execute(SFSystem.java:404)
at org.smartfrog.SFSystem.main(SFSystem.java:392)
I looked at the JavaBean LogFactory source but I do not understand or fail to
see what is wrong by inspecting the source.
Ultimately my goal is the dynamicwebserver example and onward to a
dynamicservletserver e.g. Tomcat or JBoss. The particulars follow:
OS: Windows XP (dev), Debian 3.1 (testing).
JDK: 1.4.x (Windows and Debian 3.1).
Eclipse: 3.3 (Windows XP)
Please advise, David.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Smartfrog-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartfrog-users