Re: [Rife-users] Problem with online user guide's Get Started part

2006-04-24 Thread Emmanuel Okyere
That is also a TODO for me now to change the Getting Started page to just point to Jumpstart :)Cheers,EmmanuelOn 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.

HTHcheers,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 RIFE
Errors occurred while processing the request.
com.uwyn.rife.engine.exceptions.ElementImplementationInstantiationExceptionThe implementation 'tutorial.helloworld.HelloWorld' of element 'manual:HelloWorld' couldn't be instantiated.







atcom.uwyn.rife.engine.ElementFactory
getInstance
( ElementFactory.java : 135 )

atcom.uwyn.rife.engine.ElementInfo
deploy
( ElementInfo.java : 236 )

atcom.uwyn.rife.engine.SiteBuilder
setupElements
( SiteBuilder.java : 974 )

atcom.uwyn.rife.engine.SiteBuilder
setupData
( SiteBuilder.java : 1590 )

atcom.uwyn.rife.engine.SiteBuilder
finish
( SiteBuilder.java : 253 )

atcom.uwyn.rife.engine.SiteBuilder
process
( SiteBuilder.java : 244 )

atcom.uwyn.rife.engine.SiteBuilder
getSite
( SiteBuilder.java : 176 )

atcom.uwyn.rife.rep.participants.ParticipantSite
initialize
( ParticipantSite.java : 36 )

atcom.uwyn.rife.rep.participants.ParticipantSite
_getObject
( ParticipantSite.java : 49 )

atcom.uwyn.rife.rep.BlockingParticipant
getObject
( BlockingParticipant.java : 471 )

atcom.uwyn.rife.rep.BlockingParticipant
_getObject
( BlockingParticipant.java : 447 )

atcom.uwyn.rife.rep.BlockingParticipant
getObject
( BlockingParticipant.java : 415 )

atcom.uwyn.rife.engine.Site
getRepInstance
( Site.java : 158 )

atcom.uwyn.rife.engine.Gate
obtainSite
( Gate.java : 185 )

atcom.uwyn.rife.engine.Gate
handleRequest
( Gate.java : 290 )

atsun.reflect.NativeMethodAccessorImpl
invoke0
( unknown )

atsun.reflect.NativeMethodAccessorImpl
invoke
( unknown )


17 more ...
com.uwyn.rife.engine.exceptions.ElementImplementationNotFoundExceptionThe implementation 'tutorial.helloworld.HelloWorld' of element 'manual:HelloWorld' couldn't be found.




atcom.uwyn.rife.engine.ElementFactory
getJavaInstance
( ElementFactory.java : 98 )

atcom.uwyn.rife.engine.ElementFactory
getInstance
( ElementFactory.java : 126 )

atcom.uwyn.rife.engine.ElementInfo
deploy
( ElementInfo.java : 236 )

atcom.uwyn.rife.engine.SiteBuilder
setupElements
( SiteBuilder.java : 974 )

atcom.uwyn.rife.engine.SiteBuilder
setupData
( SiteBuilder.java : 1590 )

atcom.uwyn.rife.engine.SiteBuilder
finish
( SiteBuilder.java : 253 )

atcom.uwyn.rife.engine.SiteBuilder
process
( SiteBuilder.java : 244 )

atcom.uwyn.rife.engine.SiteBuilder
getSite
( SiteBuilder.java : 176 )

atcom.uwyn.rife.rep.participants.ParticipantSite
initialize
( ParticipantSite.java : 36 )

atcom.uwyn.rife.rep.participants.ParticipantSite
_getObject
( ParticipantSite.java : 49 )

atcom.uwyn.rife.rep.BlockingParticipant
getObject
( BlockingParticipant.java : 471 )

atcom.uwyn.rife.rep.BlockingParticipant
_getObject
( BlockingParticipant.java : 447 )

atcom.uwyn.rife.rep.BlockingParticipant
getObject
( BlockingParticipant.java : 415 )

atcom.uwyn.rife.engine.Site
getRepInstance
( Site.java : 158 )

atcom.uwyn.rife.engine.Gate
obtainSite
( Gate.java : 185 )

atcom.uwyn.rife.engine.Gate
handleRequest
( Gate.java : 290 )

atsun.reflect.NativeMethodAccessorImpl
invoke0
( unknown )


18 more ...
java.lang.ClassNotFoundExceptiontutorial.helloworld.HelloWorld




atjava.net.URLClassLoader$1
run
( unknown )

atjava.security.AccessController
doPrivileged
( unknown )

atjava.net.URLClassLoader
findClass
( unknown )

atjava.lang.ClassLoader
loadClass
( unknown )

atsun.misc.Launcher$AppClassLoader
loadClass
( unknown )

atjava.lang.ClassLoader
loadClass
( unknown )

atjava.lang.ClassLoader
findSystemClass
( unknown )


Re: [Rife-users] Problem with online user guide's Get Started part

2006-04-24 Thread Allen Young
The zip file isso big that the mail-list blocked it. I just used the same filestructure as the standard 01_helloworld example except for putting lib/rife.jar under /WEB-INF.

On 4/24/06, Geert Bevin [EMAIL PROTECTED] wrote:
Hi Allen,you don't have to compile the Java files in the examples, RIFE takescare 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 yourhello world app (without the jars) and send it to the list. I canthen have a quick look at what went wrong.Best regards,
GeertOn 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. atcom.uwyn.rife.engine.ElementFactory getInstance ( ElementFactory.java : 135 ) atcom.uwyn.rife.engine.ElementInfo deploy( 
ElementInfo.java : 236 ) atcom.uwyn.rife.engine.SiteBuilder setupElements ( SiteBuilder.java : 974 ) atcom.uwyn.rife.engine.SiteBuilder setupData ( SiteBuilder.java : 1590 )
 atcom.uwyn.rife.engine.SiteBuilder finish( SiteBuilder.java : 253 ) atcom.uwyn.rife.engine.SiteBuilder process ( SiteBuilder.java : 244 ) atcom.uwyn.rife.engine.SiteBuilder
 getSite ( SiteBuilder.java : 176 ) atcom.uwyn.rife.rep.participants.ParticipantSite initialize ( ParticipantSite.java : 36 ) atcom.uwyn.rife.rep.participants.ParticipantSite _getObject
 ( ParticipantSite.java : 49 ) atcom.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 471 ) atcom.uwyn.rife.rep.BlockingParticipant _getObject ( BlockingParticipant.java
 : 447 ) atcom.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 415 ) atcom.uwyn.rife.engine.Site getRepInstance( Site.java : 158 ) atcom.uwyn.rife.engine.Gate
 obtainSite( Gate.java : 185 ) atcom.uwyn.rife.engine.Gate handleRequest( Gate.java : 290 ) atsun.reflect.NativeMethodAccessorImpl invoke0( unknown ) atsun.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.
 atcom.uwyn.rife.engine.ElementFactory getJavaInstance ( ElementFactory.java : 98 ) atcom.uwyn.rife.engine.ElementFactory getInstance ( ElementFactory.java : 126 )
 atcom.uwyn.rife.engine.ElementInfo deploy( ElementInfo.java : 236 ) atcom.uwyn.rife.engine.SiteBuilder setupElements ( SiteBuilder.java : 974 ) atcom.uwyn.rife.engine.SiteBuilder
 setupData ( SiteBuilder.java : 1590 ) atcom.uwyn.rife.engine.SiteBuilder finish( SiteBuilder.java : 253 ) atcom.uwyn.rife.engine.SiteBuilder process ( SiteBuilder.java : 244 )
 atcom.uwyn.rife.engine.SiteBuilder getSite ( SiteBuilder.java : 176 ) atcom.uwyn.rife.rep.participants.ParticipantSite initialize ( ParticipantSite.java : 36 ) atcom.uwyn.rife.rep.participants.ParticipantSite
 _getObject ( ParticipantSite.java : 49 ) atcom.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 471 ) atcom.uwyn.rife.rep.BlockingParticipant _getObject
 ( BlockingParticipant.java : 447 ) atcom.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 415 ) atcom.uwyn.rife.engine.Site getRepInstance( Site.java : 158 )
 atcom.uwyn.rife.engine.Gate obtainSite( Gate.java : 185 ) atcom.uwyn.rife.engine.Gate handleRequest( Gate.java : 290 ) atsun.reflect.NativeMethodAccessorImpl invoke0( unknown )
 18 more ... java.lang.ClassNotFoundException tutorial.helloworld.HelloWorld atjava.net.URLClassLoader$1 run( unknown ) atjava.security.AccessController
 doPrivileged( unknown ) atjava.net.URLClassLoader findClass( unknown ) atjava.lang.ClassLoader loadClass( unknown ) atsun.misc.Launcher$AppClassLoader loadClass( unknown )
 atjava.lang.ClassLoader loadClass( unknown ) atjava.lang.ClassLoader findSystemClass( unknown ) atcom.uwyn.rife.engine.EngineClassLoader loadClass ( EngineClassLoader.java
 : 573 ) atcom.uwyn.rife.engine.ElementFactory getJavaInstance ( ElementFactory.java : 83 ) atcom.uwyn.rife.engine.ElementFactory getInstance ( ElementFactory.java : 126 ) at
com.uwyn.rife.engine.ElementInfo deploy( ElementInfo.java : 236 ) atcom.uwyn.rife.engine.SiteBuilder setupElements ( SiteBuilder.java : 974 ) atcom.uwyn.rife.engine.SiteBuilder setupData
 ( SiteBuilder.java : 1590 ) atcom.uwyn.rife.engine.SiteBuilder finish( 

Re: [Rife-users] Problem with online user guide's Get Started part

2006-04-24 Thread Allen Young
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.
HTHcheers,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 RIFE
Errors occurred while processing the request.
com.uwyn.rife.engine.exceptions.ElementImplementationInstantiationExceptionThe implementation 'tutorial.helloworld.HelloWorld' of element 'manual:HelloWorld' couldn't be instantiated.





atcom.uwyn.rife.engine.ElementFactory
getInstance
( ElementFactory.java : 135 )

atcom.uwyn.rife.engine.ElementInfo
deploy
( ElementInfo.java : 236 )

atcom.uwyn.rife.engine.SiteBuilder
setupElements
( SiteBuilder.java : 974 )

atcom.uwyn.rife.engine.SiteBuilder
setupData
( SiteBuilder.java : 1590 )

atcom.uwyn.rife.engine.SiteBuilder
finish
( SiteBuilder.java : 253 )

atcom.uwyn.rife.engine.SiteBuilder
process
( SiteBuilder.java : 244 )

atcom.uwyn.rife.engine.SiteBuilder
getSite
( SiteBuilder.java : 176 )

atcom.uwyn.rife.rep.participants.ParticipantSite
initialize
( ParticipantSite.java : 36 )

atcom.uwyn.rife.rep.participants.ParticipantSite
_getObject
( ParticipantSite.java : 49 )

atcom.uwyn.rife.rep.BlockingParticipant
getObject
( BlockingParticipant.java : 471 )

atcom.uwyn.rife.rep.BlockingParticipant
_getObject
( BlockingParticipant.java : 447 )

atcom.uwyn.rife.rep.BlockingParticipant
getObject
( BlockingParticipant.java : 415 )

atcom.uwyn.rife.engine.Site
getRepInstance
( Site.java : 158 )

atcom.uwyn.rife.engine.Gate
obtainSite
( Gate.java : 185 )

atcom.uwyn.rife.engine.Gate
handleRequest
( Gate.java : 290 )

atsun.reflect.NativeMethodAccessorImpl
invoke0
( unknown )

atsun.reflect.NativeMethodAccessorImpl
invoke
( unknown )


17 more ...
com.uwyn.rife.engine.exceptions.ElementImplementationNotFoundExceptionThe implementation 'tutorial.helloworld.HelloWorld' of element 'manual:HelloWorld' couldn't be found.




atcom.uwyn.rife.engine.ElementFactory
getJavaInstance
( ElementFactory.java : 98 )

atcom.uwyn.rife.engine.ElementFactory
getInstance
( ElementFactory.java : 126 )

atcom.uwyn.rife.engine.ElementInfo
deploy
( ElementInfo.java : 236 )

atcom.uwyn.rife.engine.SiteBuilder
setupElements
( SiteBuilder.java : 974 )

atcom.uwyn.rife.engine.SiteBuilder
setupData
( SiteBuilder.java : 1590 )

atcom.uwyn.rife.engine.SiteBuilder
finish
( SiteBuilder.java : 253 )

atcom.uwyn.rife.engine.SiteBuilder
process
( SiteBuilder.java : 244 )

atcom.uwyn.rife.engine.SiteBuilder
getSite
( SiteBuilder.java : 176 )

atcom.uwyn.rife.rep.participants.ParticipantSite
initialize
( ParticipantSite.java : 36 )

atcom.uwyn.rife.rep.participants.ParticipantSite
_getObject
( ParticipantSite.java : 49 )

atcom.uwyn.rife.rep.BlockingParticipant
getObject
( BlockingParticipant.java : 471 )

atcom.uwyn.rife.rep.BlockingParticipant
_getObject
( BlockingParticipant.java : 447 )

atcom.uwyn.rife.rep.BlockingParticipant
getObject
( BlockingParticipant.java : 415 )

atcom.uwyn.rife.engine.Site
getRepInstance
( Site.java : 158 )

atcom.uwyn.rife.engine.Gate
obtainSite
( Gate.java : 185 )

atcom.uwyn.rife.engine.Gate
handleRequest
( Gate.java : 290 )

atsun.reflect.NativeMethodAccessorImpl
invoke0
( unknown )


18 more ...

Re: [Rife-users] Problem with online user guide's Get Started part

2006-04-24 Thread Geert Bevin

Hi Allen,

can you tell us more about your environment? Which JDK are you using?  
Which OS? Which IDE?


Best regards,

Geert

On 24 Apr 2006, at 08:12, Allen Young 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 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 

Re: [Rife-users] Problem with online user guide's Get Started part

2006-04-24 Thread Allen Young
I even didn't use a ant building file. I was just trying to run the Hello World example, I didn't do any coding myself yet. I've send my file structure as attachment already, you could check that.

On 4/24/06, Emmanuel Okyere [EMAIL PROTECTED] wrote:

I won't be able to say without knowing the physical structure you have there now... can you paste a file/tree list of your physical structure, and attach your ant build?
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.
HTHcheers,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 RIFE
Errors occurred while processing the request.
com.uwyn.rife.engine.exceptions.ElementImplementationInstantiationExceptionThe implementation 'tutorial.helloworld.HelloWorld' of element 'manual:HelloWorld' couldn't be instantiated.





atcom.uwyn.rife.engine.ElementFactory
getInstance
( ElementFactory.java : 135 )

atcom.uwyn.rife.engine.ElementInfo
deploy
( ElementInfo.java : 236 )

atcom.uwyn.rife.engine.SiteBuilder
setupElements
( SiteBuilder.java : 974 )

atcom.uwyn.rife.engine.SiteBuilder
setupData
( SiteBuilder.java : 1590 )

atcom.uwyn.rife.engine.SiteBuilder
finish
( SiteBuilder.java : 253 )

atcom.uwyn.rife.engine.SiteBuilder
process
( SiteBuilder.java : 244 )

atcom.uwyn.rife.engine.SiteBuilder
getSite
( SiteBuilder.java : 176 )

atcom.uwyn.rife.rep.participants.ParticipantSite
initialize
( ParticipantSite.java : 36 )

atcom.uwyn.rife.rep.participants.ParticipantSite
_getObject
( ParticipantSite.java : 49 )

atcom.uwyn.rife.rep.BlockingParticipant
getObject
( BlockingParticipant.java : 471 )

atcom.uwyn.rife.rep.BlockingParticipant
_getObject
( BlockingParticipant.java : 447 )

atcom.uwyn.rife.rep.BlockingParticipant
getObject
( BlockingParticipant.java : 415 )

atcom.uwyn.rife.engine.Site
getRepInstance
( Site.java : 158 )

atcom.uwyn.rife.engine.Gate
obtainSite
( Gate.java : 185 )

atcom.uwyn.rife.engine.Gate
handleRequest
( Gate.java : 290 )

atsun.reflect.NativeMethodAccessorImpl
invoke0
( unknown )

atsun.reflect.NativeMethodAccessorImpl
invoke
( unknown )


17 more ...
com.uwyn.rife.engine.exceptions.ElementImplementationNotFoundExceptionThe implementation 'tutorial.helloworld.HelloWorld' of element 'manual:HelloWorld' couldn't be found.




atcom.uwyn.rife.engine.ElementFactory
getJavaInstance
( ElementFactory.java : 98 )

atcom.uwyn.rife.engine.ElementFactory
getInstance
( ElementFactory.java : 126 )

atcom.uwyn.rife.engine.ElementInfo
deploy
( ElementInfo.java : 236 )

atcom.uwyn.rife.engine.SiteBuilder
setupElements
( SiteBuilder.java : 974 )

atcom.uwyn.rife.engine.SiteBuilder
setupData
( SiteBuilder.java : 1590 )

atcom.uwyn.rife.engine.SiteBuilder
finish
( SiteBuilder.java : 253 )

atcom.uwyn.rife.engine.SiteBuilder
process
( SiteBuilder.java : 244 )

atcom.uwyn.rife.engine.SiteBuilder
getSite
( SiteBuilder.java : 176 )

atcom.uwyn.rife.rep.participants.ParticipantSite
initialize
( ParticipantSite.java : 36 )

atcom.uwyn.rife.rep.participants.ParticipantSite
_getObject
( ParticipantSite.java : 49 )

atcom.uwyn.rife.rep.BlockingParticipant
getObject
( BlockingParticipant.java 

Re: [Rife-users] Problem with online user guide's Get Started part

2006-04-24 Thread Allen Young
To run helloworld, I put it under tomcat's webapps directory, start tomcat, go to http://localhost:8080/01_helloworld/home

To run jumpstart, I just import it into my eclipse, run webui as the instruction said, and then go to http://localhost:8080/

On 4/24/06, Geert Bevin [EMAIL PROTECTED] wrote:
How are you executing the helloworld application, and how did you tryto execute the jumpstart?
On 24 Apr 2006, at 08:19, Allen Young wrote: Yeah, I'm runing windows xp sp2, using tomcat 5.5.12, rife1.4- jdk15, jre1.5.06. I'm using eclipse 3.1 now but I don't think this is the point because I didn't make the link between my server and
 eclipse.--Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED]Use what you need Avenue de Scailmont 34Skype: gbevin
http://www.uwyn.com 7170 Manage, BelgiumAIM: geertbevingbevin at uwyn dot comTel: +32 64 84 80 03 Mobile: +32 477 302 599PGP Fingerprint : 4E21 6399 CD9E A384 6619719A C8F4 D40D 309F D6A9
Public PGP key: available at servers pgp.mit.edu, wwwkeys.pgp.net___Rife-users mailing list
Rife-users@uwyn.comhttp://lists.uwyn.com/mailman/listinfo/rife-users
___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users


Re: [Rife-users] Problem with online user guide's Get Started part

2006-04-24 Thread Allen Young
According to the user guide, all I need to do is to create lib directory at Web-INF, copy rife.jar into lib, then copy 01_helloworld into my server's deployment directory which in my condition is tomcat-root/webapps. Am I write?


On 4/24/06, Geert Bevin [EMAIL PROTECTED] wrote:
Hi Alan,how did you run it if you didn't use Ant, nor Eclipse?Best regards,Geert
On 24 Apr 2006, at 08:22, Allen Young wrote: I even didn't use a ant building file. I was just trying to run the Hello World example, I didn't do any coding myself yet. I've send my file structure as attachment already, you could check that.
--Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED]Use what you need Avenue de Scailmont 34Skype: gbevin
http://www.uwyn.com 7170 Manage, BelgiumAIM: geertbevingbevin at uwyn dot comTel: +32 64 84 80 03 Mobile: +32 477 302 599PGP Fingerprint : 4E21 6399 CD9E A384 6619719A C8F4 D40D 309F D6A9
Public PGP key: available at servers pgp.mit.edu, wwwkeys.pgp.net___Rife-users mailing list
Rife-users@uwyn.comhttp://lists.uwyn.com/mailman/listinfo/rife-users
___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users


Re: [Rife-users] Problem with online user guide's Get Started part

2006-04-24 Thread Geert Bevin
Ok, give me a minute. I'll try it out on windows with your exact same  
setup.
Did you use the .exe installer for tomcat or are you running it from  
a .zip archive?


On 24 Apr 2006, at 08:41, Allen Young wrote:


Yes, I did it again just now to make sure that.

On 4/24/06, Geert Bevin [EMAIL PROTECTED] wrote: Ok, let's take a  
few steps back.


* you downloaded the examples
* copied the RIFE jar to each individual example (or maybe just
01_helloworld):
  http://rifers.org/examples#B
* you moved the 01_helloworld directory to the tomcat webapps  
directory

* you started tomcat
* it didn't work

Is this right? Did you change anything else?

On 24 Apr 2006, at 08:29, Allen Young wrote:

 To run helloworld, I put it under tomcat's webapps directory, start
 tomcat, go to http://localhost:8080/01_helloworld/home

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


[Rife-users] Problem with online user guide's Get Started part

2006-04-23 Thread Allen Young
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


Re: [Rife-users] Problem with online user guide's Get Started part

2006-04-23 Thread Geert Bevin

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 )