Hi Allen,

you don't have to compile the Java files in the examples, RIFE takes care of that. If you do compile them, you should put them in WEB-INF/ classes.

How are you running them? Can you maybe create a zip archive of your hello world app (without the jars) and send it to the list. I can then have a quick look at what went wrong.

Best regards,

Geert

On 24 Apr 2006, at 07:48, Allen Young 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 RIFE
Errors occurred while processing the request.
com.uwyn.rife.engine.exceptions.ElementImplementationInstantiationExce ption

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/sprl
On 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

--
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

Reply via email to