Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 11:25 Go to next message
Dmitry Egorov is currently offline Dmitry EgorovFriend
Messages: 11
Registered: July 2009
Location: Moscow
Junior Member
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 11:38]

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 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
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 14:48 Go to previous messageGo to next message
Dmitry Egorov is currently offline Dmitry EgorovFriend
Messages: 11
Registered: July 2009
Location: Moscow
Junior Member
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 08:55 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
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: Sat Jul 27 01:20:04 GMT 2024

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

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

Back to the top