Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problems with war deployment on weblogic and websphere
Problems with war deployment on weblogic and websphere [message #98887] Fri, 18 July 2008 07:16 Go to next message
Barthel.Steckemetz@googlemail.com is currently offline Barthel.Steckemetz@googlemail.com
Messages: 3
Registered: July 2009
Junior Member
Problems with war deployment on weblogic and websphere

I am trying to deploy a simple test application on websphere 6.1 and
weblogic 8.1.
Using tomcat 5.5.26 everything works fine!
But on websphere I get the following message when opening the sample page:

Error 500: An entry point named 'default' does not exist.

On Weblogic I get some more Information:
Error 500--Internal Server Error

java.lang.IllegalArgumentException: An entry point named 'default' does
not exist.
at
org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:77)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:230)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:116)
at java.lang.Thread.run(Thread.java:534)

I already read lots of posting but can not find a solution.
My extensions section in plugin.xml looks like:

<extension
point="org.eclipse.rap.ui.entrypoint">
<entrypoint
class="org.eclipse.rap.helloworld.HelloWorldWorkbench"
id="org.eclipse.rap.helloworld.helloWorldWorkbench"
parameter="default">
</entrypoint>
</extension>
<extension
point="org.eclipse.ui.views">
<view
class="org.eclipse.rap.helloworld.HelloWorldView"
id="org.eclipse.rap.helloworld.helloWorldView"
name="Hello World"
restorable="true">
</view>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
class="org.eclipse.rap.helloworld.Perspective"
id="org.eclipse.rap.helloworld.perspective"
name="Hello World Perspevtive">
</perspective>
</extension>

The config.ini is here:

#Eclipse Runtime Configuration File
osgi.bundles=org.eclipse.equinox.http.registry_1.0.100.200807150941.jar@start,org.eclipse.equinox.http.servlet_1.0.100.200807150941.jar@start, org.eclipse.equinox.http.servletbridge_1.0.0.200807150941.ja r @start,org.eclipse.core.commands_3.4.0.I20080509-2000.jar@start,org.eclipse.core.contenttype_3.3.0.v20080604-1400.jar@start,org.eclipse.core.jobs_3.4.0.v20080512.jar@start,org.eclipse.core.runtime_3.4.0.v20080512.jar@start,org.eclipse.equinox.common_3.4.0.v20080421-2006.jar@2:start,org.eclipse.equinox.preferences_3.2.200.v20080421-2006.jar@start,org.eclipse.equinox.registry_3.4.0.v20080516-0950.jar@start,org.eclipse.osgi.services_3.1.200.v20071203.jar@start,org.eclipse.rap.jface_1.1.0.20080613-1055.jar@start,org.eclipse.rap.rwt_1.1.0.20080613-1055.jar@start,org.eclipse.rap.ui.workbench_1.1.0.20080613-1055.jar@start,org.eclipse.core.expressions_3.4.0.v20080603-2000.jar@start,org.eclipse.equinox.app_1.1.0.v20080421-2006.jar@start,org.eclipse.rap.ui_1.1.0.20080613-1055.jar@start,org.eclipse.rap.rwt.q07_1.1.0.20080613-1055.jar,org.eclipse.rap.jface.databinding_1.1.0.20080613-1055.jar@start,org.eclipse.core.databinding_1.1.0.I20080527-2000.jar@start,com.ibm.icu_3.8.1.v20080530.jar@start,org.eclipse.rap.ui.views_1.1.0.20080613-1055.jar@start,HelloRAP_1.0.0.jar@start,org.eclipse.equinox.servletbridge.extensionbundle
osgi.bundles.defaultStartLevel=4

To create the war file I used the following plugins of the demo
application and the servlet bridge and followed
the instructions in "How to deploy a RAP application to a servlet
container?".

javax.servlet 2.4.0
javax.servlet.source
org.eclipse.equinox.http.registry
org.eclipse.equinox.http.servlet
org.eclipse.equinox.http.servletbridge
org.eclipse.equinox.servletbridge
org.eclipse.equinox.servletbridge.feature
org.eclipse.rap.demo.feature
Re: Problems with war deployment on weblogic and websphere [message #98901 is a reply to message #98887] Fri, 18 July 2008 08:04 Go to previous messageGo to next message
Eclipse User
Originally posted by: fappel.innoopract.com

Hi,

the missing entrypoint message usually is a following up error, if the
bundle start of the bundle that declares the entry point fails. Please
have a look at the equinox .log file entries for more information about
this. One problem may be that the the java version of the classes in the
bundle are higher than that of the server-runtime - just a wild guess.


Ciao
Frank

-----Urspr√ľngliche Nachricht-----
Von: Barthel Steckemetz [mailto:Barthel.Steckemetz@gmail.com]
Bereitgestellt: Freitag, 18. Juli 2008 13:17
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Problems with war deployment on weblogic and websphere
Betreff: Problems with war deployment on weblogic and websphere

Problems with war deployment on weblogic and websphere

I am trying to deploy a simple test application on websphere 6.1 and
weblogic 8.1.
Using tomcat 5.5.26 everything works fine!
But on websphere I get the following message when opening the sample
page:

Error 500: An entry point named 'default' does not exist.

On Weblogic I get some more Information:
Error 500--Internal Server Error

java.lang.IllegalArgumentException: An entry point named
'default' does
not exist.
at
org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPoint
Manager.java:77)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.ja
va:230)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(R
WTLifeCycle.java:116)
at java.lang.Thread.run(Thread.java:534)

I already read lots of posting but can not find a solution.
My extensions section in plugin.xml looks like:

<extension
point="org.eclipse.rap.ui.entrypoint">
<entrypoint
class="org.eclipse.rap.helloworld.HelloWorldWorkbench"
id="org.eclipse.rap.helloworld.helloWorldWorkbench"
parameter="default">
</entrypoint>
</extension>
<extension
point="org.eclipse.ui.views">
<view
class="org.eclipse.rap.helloworld.HelloWorldView"
id="org.eclipse.rap.helloworld.helloWorldView"
name="Hello World"
restorable="true">
</view>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
class="org.eclipse.rap.helloworld.Perspective"
id="org.eclipse.rap.helloworld.perspective"
name="Hello World Perspevtive">
</perspective>
</extension>

The config.ini is here:

#Eclipse Runtime Configuration File
osgi.bundles=org.eclipse.equinox.http.registry_1.0.100.20080 7150941.jar@
start,org.eclipse.equinox.http.servlet_1.0.100.200807150941.jar@start,or
g.eclipse.equinox.http.servletbridge_1.0.0.200807150941.jar@start,org.ec
lipse.core.commands_3.4.0.I20080509-2000.jar@start,org.eclipse.core.cont
enttype_3.3.0.v20080604-1400.jar@start,org.eclipse.core.jobs_3.4.0.v2008
0512.jar@start,org.eclipse.core.runtime_3.4.0.v20080512.jar@start,org.ec
lipse.equinox.common_3.4.0.v20080421-2006.jar@2:start,org.eclipse.equino
x.preferences_3.2.200.v20080421-2006.jar@start,org.eclipse.equinox.regis
try_3.4.0.v20080516-0950.jar@start,org.eclipse.osgi.services_3.1.200.v20
071203.jar@start,org.eclipse.rap.jface_1.1.0.20080613-1055.jar@start,org
..eclipse.rap.rwt_1.1.0.20080613-1055.jar@start,org.eclipse.rap.ui.workbe
nch_1.1.0.20080613-1055.jar@start,org.eclipse.core.expressions_3.4.0.v20
080603-2000.jar@start,org.eclipse.equinox.app_1.1.0.v20080421-2006.jar@s
tart,org.eclipse.rap.ui_1.1.0.20080613-1055.jar@start,org.eclipse.rap.rw
t.q07_1.1.0.20080613-1055.jar,org.eclipse.rap.jface.databind ing_1.1.0.20
080613-1055.jar@start,org.eclipse.core.databinding_1.1.0.I20080527-2000.
jar@start,com.ibm.icu_3.8.1.v20080530.jar@start,org.eclipse.rap.ui.views
_1.1.0.20080613-1055.jar@start,HelloRAP_1.0.0.jar@start,org.eclipse.equi
nox.servletbridge.extensionbundle
osgi.bundles.defaultStartLevel=4

To create the war file I used the following plugins of the demo
application and the servlet bridge and followed
the instructions in "How to deploy a RAP application to a servlet
container?".

javax.servlet 2.4.0
javax.servlet.source
org.eclipse.equinox.http.registry
org.eclipse.equinox.http.servlet
org.eclipse.equinox.http.servletbridge
org.eclipse.equinox.servletbridge
org.eclipse.equinox.servletbridge.feature
org.eclipse.rap.demo.feature
Re: Problems with war deployment on weblogic and websphere [message #99215 is a reply to message #98901] Tue, 22 July 2008 04:47 Go to previous message
Barthel.Steckemetz@googlemail.com is currently offline Barthel.Steckemetz@googlemail.com
Messages: 3
Registered: July 2009
Junior Member
Thanks Frank,

you guess was right. Works now on Websphere.

Just for the record:

1. I found the relevant log-file in:
/opt/IBM/Websphere61/AppServer/profiles/AppSrv01/temp/node_1 /server1/rapdemo/rapdemo.war/eclipse/workspace/.metadata/.lo g

2. The server was running with java 5, our application class files were
using java 6.

3. When exporting a plugin using the export wizard the Java-Files are once
more compiled. This time using the first (I guess) JDK listet in
plugin.xml; Overview; Execution Environment.
Previous Topic:showing selected row in TableViewer - bug
Next Topic:Memory leak after session cleanup
Goto Forum:
  


Current Time: Tue Jul 29 17:04:11 EDT 2014

Powered by FUDForum. Page generated in 0.03752 seconds