cheers,
emmanuel
On 4/24/06, Allen Young <[EMAIL PROTECTED]> wrote:
I've tried Jumpstart, I can get it run very well. I'm just trying to follow the user guide when this problem happened. Could tell me what the classpath problem exactly is? Now if I put the .class file in classes directory, "Hello World" works! But if I only use the .java file in "implementations" directory, it doesn't work again,
On 4/24/06, Emmanuel Okyere < [EMAIL PROTECTED]> wrote:That is also a TODO for me now to change the "Getting Started" page to just point to Jumpstart :)
Cheers,
Emmanuel
On 4/24/06, Emmanuel Okyere <[EMAIL PROTECTED] > wrote:Allen,
You are having classpath issues and nothing to do with the hello world or rife implementation. I don't think you need to move anything around for the hello world experience with rife... and since you are just starting with the framework, it's probably much better to play around with the default settings, at least until you have a fair idea of what's going on.
Just download jumpstart (and i'm assuming eclipse is your IDE of choice), import the project into your workspace, and click the launcher (i think it's Run WebUI or so) to start it. It will compile and start Jetty (default app server that comes with jumpstart).
You can open the "Run WebUI.launch" file and/or look at the included ant build file to see how the classpath is setup... and if you have any more problems, we'll be here to provide some guidance.
HTH
cheers,
Emmanuel
On 4/24/06, Allen Young < [EMAIL PROTECTED] > wrote:Thanks.First, I've found out the problem is that in the rife-examples-1.4-jdk15.zip I had downloaded, there are no .class files in the "/WEB-INF/classes/implementations" folder but .java files. I was thinking there should be .class files so I hadn't check that. Just now, I complied the .java files and put .class files in the folder, something happened at last, but not the "HelloWorld" I expected, but exceptions. I think this is another problem. The detail expcetion information is as follows:
Uwyn RIFEErrors occurred while processing the request.com.uwyn.rife.engine.exceptions.ElementImplementationInstantiationException
The implementation 'tutorial.helloworld.HelloWorld' of element 'manual:HelloWorld' couldn't be instantiated.
at com.uwyn.rife.engine.ElementFactory getInstance ( ElementFactory.java : 135 ) at com.uwyn.rife.engine.ElementInfo deploy ( ElementInfo.java : 236 ) at com.uwyn.rife.engine.SiteBuilder setupElements ( SiteBuilder.java : 974 ) at com.uwyn.rife.engine.SiteBuilder setupData ( SiteBuilder.java : 1590 ) at com.uwyn.rife.engine.SiteBuilder finish ( SiteBuilder.java : 253 ) at com.uwyn.rife.engine.SiteBuilder process ( SiteBuilder.java : 244 ) at com.uwyn.rife.engine.SiteBuilder getSite ( SiteBuilder.java : 176 ) at com.uwyn.rife.rep.participants.ParticipantSite initialize ( ParticipantSite.java : 36 ) at com.uwyn.rife.rep.participants.ParticipantSite _getObject ( ParticipantSite.java : 49 ) at com.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 471 ) at com.uwyn.rife.rep.BlockingParticipant _getObject ( BlockingParticipant.java : 447 ) at com.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 415 ) at com.uwyn.rife.engine.Site getRepInstance ( Site.java : 158 ) at com.uwyn.rife.engine.Gate obtainSite ( Gate.java : 185 ) at com.uwyn.rife.engine.Gate handleRequest ( Gate.java : 290 ) at sun.reflect.NativeMethodAccessorImpl invoke0 ( <unknown> ) at sun.reflect.NativeMethodAccessorImpl invoke ( <unknown> ) 17 more ...
com.uwyn.rife.engine.exceptions.ElementImplementationNotFoundException
The implementation 'tutorial.helloworld.HelloWorld' of element 'manual:HelloWorld' couldn't be found.
at com.uwyn.rife.engine.ElementFactory getJavaInstance ( ElementFactory.java : 98 ) at com.uwyn.rife.engine.ElementFactory getInstance ( ElementFactory.java : 126 ) at com.uwyn.rife.engine.ElementInfo deploy ( ElementInfo.java : 236 ) at com.uwyn.rife.engine.SiteBuilder setupElements ( SiteBuilder.java : 974 ) at com.uwyn.rife.engine.SiteBuilder setupData ( SiteBuilder.java : 1590 ) at com.uwyn.rife.engine.SiteBuilder finish ( SiteBuilder.java : 253 ) at com.uwyn.rife.engine.SiteBuilder process ( SiteBuilder.java : 244 ) at com.uwyn.rife.engine.SiteBuilder getSite ( SiteBuilder.java : 176 ) at com.uwyn.rife.rep.participants.ParticipantSite initialize ( ParticipantSite.java : 36 ) at com.uwyn.rife.rep.participants.ParticipantSite _getObject ( ParticipantSite.java : 49 ) at com.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 471 ) at com.uwyn.rife.rep.BlockingParticipant _getObject ( BlockingParticipant.java : 447 ) at com.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 415 ) at com.uwyn.rife.engine.Site getRepInstance ( Site.java : 158 ) at com.uwyn.rife.engine.Gate obtainSite ( Gate.java : 185 ) at com.uwyn.rife.engine.Gate handleRequest ( Gate.java : 290 ) at sun.reflect.NativeMethodAccessorImpl invoke0 ( <unknown> ) 18 more ...
java.lang.ClassNotFoundException
tutorial.helloworld.HelloWorld
at java.net.URLClassLoader$1 run ( <unknown> ) at java.security.AccessController doPrivileged ( <unknown> ) at java.net.URLClassLoader findClass ( <unknown> ) at java.lang.ClassLoader loadClass ( <unknown> ) at sun.misc.Launcher$AppClassLoader loadClass ( <unknown> ) at java.lang.ClassLoader loadClass ( <unknown> ) at java.lang.ClassLoader findSystemClass ( <unknown> ) at com.uwyn.rife.engine.EngineClassLoader loadClass ( EngineClassLoader.java : 573 ) at com.uwyn.rife.engine.ElementFactory getJavaInstance ( ElementFactory.java : 83 ) at com.uwyn.rife.engine.ElementFactory getInstance ( ElementFactory.java : 126 ) at com.uwyn.rife.engine.ElementInfo deploy ( ElementInfo.java : 236 ) at com.uwyn.rife.engine.SiteBuilder setupElements ( SiteBuilder.java : 974 ) at com.uwyn.rife.engine.SiteBuilder setupData ( SiteBuilder.java : 1590 ) at com.uwyn.rife.engine.SiteBuilder finish ( SiteBuilder.java : 253 ) at com.uwyn.rife.engine.SiteBuilder process ( SiteBuilder.java : 244 ) at com.uwyn.rife.engine.SiteBuilder getSite ( SiteBuilder.java : 176 ) at com.uwyn.rife.rep.participants.ParticipantSite initialize ( ParticipantSite.java : 36 ) 26 more ...Allen.
RIFE 1.4 © 2001-2006 by Uwyn bvba/sprlOn 4/24/06, Geert Bevin <[EMAIL PROTECTED]> wrote:Hi Allen,
can you give us more information about what doesn't work? It's
difficult to help you without additional information.
Best regards,
Geert
On 24 Apr 2006, at 05:53, Allen Young wrote:
> Hi, all.
>
> I'm using tomcat 5.5.12, I've done all the operations in "Get
> Started" section, but cannot get the "Hello World" page. I have
> jre1.5.06 installed and tried both rife1.4 for jdk1.4 and jdk1.5,
> but neither worked. Anybody have any idea on this? Thanks!
>
> Allen.
> _______________________________________________
> Rife-users mailing list
> Rife-users@uwyn.com
> http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED]
"Use what you need" Avenue de Scailmont 34 Skype: gbevin
http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin
gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users
--Johann Wolfgang von Goethe - "Character develops itself in the stream of life."
--
Johann Wolfgang von Goethe - "Character develops itself in the stream of life."_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Johann Wolfgang von Goethe - "Character develops itself in the stream of life."
_______________________________________________ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users