fail to access application server from inside war [message #533133] |
Wed, 12 May 2010 11:25  |
Eclipse User |
|
|
|
Hi, every body!
Need community help. I think this question must be in RAP FAQ.
My case.
RAP client use some functional of server part deploed on JBoss AS 5.1. When I started client from Eclipse, all works fine. Create war (by sample: http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .rap.help/help/html/advanced/deployment.html). When i try to start client (from war), got exception:
ava.lang.IllegalArgumentException: An entry point named 'test' does not exist.
org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:77)
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:231)
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:119)
java.lang.Thread.run(Thread.java:619)
If i comment all server calls and redeploy war all works fine.
My brain is boiling , please advise anybody.
Sincerely Egorov Dmitry.
[Updated on: Wed, 12 May 2010 11:38] by Moderator Report message to a moderator
|
|
|
Re: fail to access application server from inside war [message #533159 is a reply to message #533133] |
Wed, 12 May 2010 13:10   |
Eclipse User |
|
|
|
Hi,
this sounds more like your bundles was not resolved and thus the
entrypoint is not available. Did I understood it right that you use API
from the JBoss server?
Please us the "diag" and "ss" commands on the OSGi console to find out
if all bundles are started correctly.
Regards,
Benny
Dmitry Egorov wrote:
> Hi, every body!
> Need community help. I think this question must be in RAP FAQ.
> My case.
> RAP client use some functional of server part deploed on JBoss AS 5.1.
> When I started client from Eclipse, all works fine. Create war (by
> sample:
> http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .rap.help/help/html/advanced/deployment.html).
> When i try to start client (from war), got exception:
> ava.lang.IllegalArgumentException: An entry point named 'test' does not
> exist.
> org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU
> I(EntryPointManager.java:77)
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT
> LifeCycle.java:231)
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont
> roller.run(RWTLifeCycle.java:119)
> java.lang.Thread.run(Thread.java:619)
> If i comment all server calls and redeploy war all works fine. My
> brain is boiling :), please advise anybody.
> Sincerely Egorov Dmitry.
>
--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04414 seconds