Home » Eclipse Projects » Remote Application Platform (RAP) » RAP deployment on Weblogic fails
RAP deployment on Weblogic fails [message #657554] |
Thu, 03 March 2011 04:31  |
Eclipse User |
|
|
|
Hi all,
Since two days, we are facing issue to deploy a RAP application on Weblogic 10.3. Our EAR is weel deployed on JBoss and WAS 6.1 and 7.
But when we tray to deploy on Weblogic, we get issue ProxyServlet: /eDD_War/rap and we then get a 404 errro.
It seems that the rap servlet is not mapped.
After debugging in RAP framework initialization, here is what we found :
Look at the HttpServiceTracker class (exists twice, once in the equinox and once in the workbench.rap plugin)
In Jboss, both classes are used, in Werblogic, only one in used... why ?
Here is our launch.ini file:
# Eclipse Runtime Configuration Overrides
# These properties are loaded prior to starting the framework and can also be used to override System Properties
# @null is a special value used to override and clear the framework's copy of a System Property prior to starting the framework
# "*" can be used together with @null to clear System Properties that match a prefix name.
osgi.*=@null
org.osgi.*=@null
eclipse.*=@null
The web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app id="WebApp">
<servlet id="bridge">
<servlet-name>equinoxbridgeservlet</servlet-name>
<display-name>Equinox Bridge Servlet</display-name>
<description>Equinox Bridge Servlet</description>
<servlet-class>org.eclipse.equinox.servletbridge.BridgeServlet </servlet-class>
<!-- the OSGi console is useful for trouble shooting but will fill up your
appserver log quickly, so deactivate on production use -->
<!--
<init-param>
<param-name>commandline</param-name>
<param-value>-console</param-value>
</init-param>
-->
<!-- Framework Controls could be useful for testing purpose, but
we disable it per default -->
<init-param>
<param-name>enableFrameworkControls</param-name>
<param-value>false</param-value>
</init-param>
<!-- Enable multi-language support for the extension registry -->
<init-param>
<param-name>commandline</param-name>
<param-value>-registryMultiLanguage</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>equinoxbridgeservlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
<!-- ***************** -->
<!-- Security -->
<!-- ***************** -->
<security-constraint>
<web-resource-collection>
<web-resource-name>EDD access</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>EDDACCESS</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>eDDRealm</realm-name>
</login-config>
<security-role>
<role-name>EDDACCESS</role-name>
</security-role>
</web-app>
And the config.ini:
#Product Runtime Configuration File
osgi.bundles.defaultStartLevel=4
osgi.bundles=com.ibm.icu.base@start,com.sopra.datadictionary.ui.rcp.application@start,com.sopra.datadictionary.ui.rcp.classeditor@start,com.sopra.datadictionary.ui.rcp.core@start,com.sopra.datadictionary.ui.rcp.dataheadingeditor@start, com.sopra.datadictionary.ui.rcp.dataheadingrepresentationedi tor @start,com.sopra.datadictionary.ui.rcp.dataheadingtypeeditor@start,com.sopra.datadictionary.ui.rcp.dhtreeview@start,com.sopra.datadictionary.ui.rcp.domaineditor@start,com.sopra.datadictionary.ui.rcp.dstreeview@start,com.sopra.datadictionary.ui.rcp.product@start,com.sopra.datadictionary.ui.rcp.viewlogeditor@start,com.sopra.framework.ui.rap@start,org.eclipse.core.commands@start,org.eclipse.core.contenttype@start,org.eclipse.core.databinding@start,org.eclipse.core.databinding.beans@start,org.eclipse.core.databinding.observable@start,org.eclipse.core.databinding.property@start,org.eclipse.core.expressions@start,org.eclipse.core.jobs@start,org.eclipse.core.runtime@start,org.eclipse.equinox.app@start,org.eclipse.equinox.common@start,org.eclipse.equinox.http.registry@start,org.eclipse.equinox.http.servlet@start,org.eclipse.equinox.http.servletbridge@start,org.eclipse.equinox.preferences@start,org.eclipse.equinox.registry@start,org.eclipse.equinox.servletbridge@start,org.eclipse.equinox.servletbridge.extensionbundle,org.eclipse.help@start,org.eclipse.osgi.services@start,org.eclipse.rap.jface@start,org.eclipse.rap.rwt@start,org.eclipse.rap.rwt.q07,org.eclipse.rap.ui@start,org.eclipse.rap.ui.forms@start,org.eclipse.rap.ui.views@start,org.eclipse.rap.ui.workbench@start
This would be very nice for us if some of you had an idea about this.
Thanks in advance
|
|
| | | | | | | | | | |
Goto Forum:
Current Time: Mon Jun 09 08:21:33 EDT 2025
Powered by FUDForum. Page generated in 0.07247 seconds
|