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=4447&dsMessageId=2954669
>

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

Reply via email to