RE: restlet problem. urgent! Please help me!

2012-06-19 Thread Jerome Louvel
Hi Zhu,

I'm happy to report that this issue is now fixed:
https://github.com/restlet/restlet-framework-java/issues/437

Best regards,
Jerome
--
http://www.restlet.com
http://twitter.com/#!/jlouvel


-Message d'origine-
De : yunwu zhu [mailto:zhuywt...@gmail.com] 
Envoyé : dimanche 15 avril 2012 19:12
À : discuss@restlet.tigris.org
Objet : restlet problem. urgent! Please help me!

Now, I am building a web service using Restlet. It works well. but when I
use jmeter to make performance test, there is a problem. 

When 50 users send the http request at the same time, The first several
requests will be discarded. The eclipse console will print the log as below:

=
INFORMATIN: FrameworkServlet 'restlet': initialization completed in 2078 ms
2012-4-16 9:59:44 org.restlet.engine.ChainHelper handle

SEVERE: The org.restlet.Application class has no Restlet defined to process
calls. Maybe it wasn't properly started.
2012-4-16 9:59:44 org.restlet.engine.ChainHelper handle




Does it anyone how should I solve this problem? I will appreciate for your
advice.

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=29485
42

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2972109


Re: Re: restlet problem. urgent! Please help me!

2012-05-02 Thread Thierry Boileau
Hello,

when hosted by a servlet container a Restlet-based application is not
started by default and not even instantiated. The first call to the servlet
container allows to instantiate the application and start it.
I wonder if your code makes some assumptions about the fact that the
application is started or not. Could you check that?
Havind said that, we have to make some checks also, I've entered an issue
for that : https://github.com/restlet/restlet-framework-java/issues/579.

Best regards,
Thierry Boileau


Thank you for your answer.

 The version of my restlet framework is as below:

 ===
 Manifest-Version: 1.0
 Ant-Version: Apache Ant 1.7.0
 Created-By: 1.5.0_22-b03 (Sun Microsystems Inc.)
 Main-Class: org.restlet.Component
 Bundle-ManifestVersion: 2
 Bundle-Name: Restlet API
 Bundle-SymbolicName: org.restlet
 Bundle-Version: 2.0.6.0
 Bundle-Vendor: Noelios Technologies
 Export-Package: org.restlet,org.restlet.data,org.restlet.engine,org.re
  stlet.engine.application,org.restlet.engine.component,org.restlet.eng
  ine.converter,org.restlet.engine.http,org.restlet.engine.http.adapter
  ,org.restlet.engine.http.connector,org.restlet.engine.http.header,org
  .restlet.engine.http.io,org.restlet.engine.http.security,org.restlet.
  engine.internal,org.restlet.engine.io,org.restlet.engine.local,org.re
  stlet.engine.log,org.restlet.engine.resource,org.restlet.engine.riap,
  org.restlet.engine.security,org.restlet.engine.util,org.restlet.repre
  sentation,org.restlet.resource,org.restlet.routing,org.restlet.securi
  ty,org.restlet.service,org.restlet.util
 Import-Package: javax.net,javax.net.ssl,javax.xml.parsers,org.osgi.fra
  mework
 Bundle-RequiredExecutionEnvironment: J2SE-1.5
 Bundle-Activator: org.restlet.engine.internal.Activator
 Class-Path:

 Name: org.restlet
 Implementation-Title: org.restlet
 Implementation-Version: 2.0.6 (build 0)
 Implementation-Vendor: Noelios Technologies

 ===
 I am sorry, I can not upload the source code because it will violate the
 company's rule.

 Can you give me some clue or some advices? I will appreciate your helping.

 --

 http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2954669


--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2957060

RE: Re: restlet problem. urgent! Please help me!

2012-04-29 Thread yunwu zhu
Thank you for your answer.

The version of my restlet framework is as below:

===
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 1.5.0_22-b03 (Sun Microsystems Inc.)
Main-Class: org.restlet.Component
Bundle-ManifestVersion: 2
Bundle-Name: Restlet API
Bundle-SymbolicName: org.restlet
Bundle-Version: 2.0.6.0
Bundle-Vendor: Noelios Technologies
Export-Package: org.restlet,org.restlet.data,org.restlet.engine,org.re
 stlet.engine.application,org.restlet.engine.component,org.restlet.eng
 ine.converter,org.restlet.engine.http,org.restlet.engine.http.adapter
 ,org.restlet.engine.http.connector,org.restlet.engine.http.header,org
 .restlet.engine.http.io,org.restlet.engine.http.security,org.restlet.
 engine.internal,org.restlet.engine.io,org.restlet.engine.local,org.re
 stlet.engine.log,org.restlet.engine.resource,org.restlet.engine.riap,
 org.restlet.engine.security,org.restlet.engine.util,org.restlet.repre
 sentation,org.restlet.resource,org.restlet.routing,org.restlet.securi
 ty,org.restlet.service,org.restlet.util
Import-Package: javax.net,javax.net.ssl,javax.xml.parsers,org.osgi.fra
 mework
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-Activator: org.restlet.engine.internal.Activator
Class-Path: 

Name: org.restlet
Implementation-Title: org.restlet
Implementation-Version: 2.0.6 (build 0)
Implementation-Vendor: Noelios Technologies

===
I am sorry, I can not upload the source code because it will violate the 
company's rule. 

Can you give me some clue or some advices? I will appreciate your helping.

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2954669


RE: restlet problem. urgent! Please help me!

2012-04-19 Thread yunwu zhu
Does anyone meet this problem?

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2949722


Re: restlet problem. urgent! Please help me!

2012-04-19 Thread Thierry Boileau
Hello,

can you send us a sample app in order to reproduce the error? What is your
version of the Restlet framework?

Best regards,
Thierry Boileau

Does anyone meet this problem?

 --

 http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2949722


--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2949814