Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » fail to access application server from inside war
fail to access application server from inside war [message #533133] Wed, 12 May 2010 07:25 Go to next message
Eclipse UserFriend
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 Smile, please advise anybody.
Sincerely Egorov Dmitry.




[Updated on: Wed, 12 May 2010 07:38] by Moderator

Re: fail to access application server from inside war [message #533159 is a reply to message #533133] Wed, 12 May 2010 09:10 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: fail to access application server from inside war [message #533203 is a reply to message #533133] Wed, 12 May 2010 10:48 Go to previous messageGo to next message
Eclipse UserFriend
Benjamin, thanks for answer.
Yes, your right, i use API from Jboss server.
I think, i see my trouble source. In list bundles (ss command) there is no my API bundles. Can anybody advise right method create|add custom bundles to war?
Re: fail to access application server from inside war [message #533831 is a reply to message #533203] Mon, 17 May 2010 04:55 Go to previous message
Eclipse UserFriend
Hi Dmitry,

did you include your bundles in the feature of the war export?

Regards,
Benny

Dmitry Egorov wrote:
> Benjamin, thanks for answer.
> Yes, your right, i use API from Jboss server. I think, i see my
> trouble source. In list bundles (ss command) there is no my API
> bundles. Can anybody advise right method create|add custom bundles to war?
>


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Previous Topic:PhaseListener
Next Topic:Coming soon to an incubator near you...
Goto Forum:
  


Current Time: Thu Mar 20 20:37:34 EDT 2025

Powered by FUDForum. Page generated in 0.03260 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top