Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » RAP - Doesn't Start Application
RAP - Doesn't Start Application [message #1287246] Mon, 07 April 2014 15:18 Go to next message
marco giudici is currently offline marco giudiciFriend
Messages: 204
Registered: February 2013
Location: Italy
Senior Member
Hi all,
I have the following problem: my scout applycation doesn't start in RAP mode.

When I start the server-side, the console show me the following messages:
!SESSION 2014-04-07 17:07:36.565 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Framework arguments:  -product org.zeiss.mo.scout.CZVEDIController.server.product
Command-line arguments:  -product org.zeiss.mo.scout.CZVEDIController.server.product -data C:\Projects\scout/../runtime-CZVEDIController-server-dev.product -dev file:C:/Projects/scout/.metadata/.plugins/org.eclipse.pde.core/CZVEDIController-server-dev.product/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog

!ENTRY org.zeiss.mo.scout.CZVEDIController.server 1 0 2014-04-07 17:07:38.708
!MESSAGE org.zeiss.mo.scout.CZVEDIController.server.ServerApplication.start(ServerApplication.java:44) CZVEDIController server initialized


When I start the RAP-side, the console show me the following messages:
2014-04-07 17:07:56.880:INFO:oejs.Server:jetty-8.1.3.v20120522
2014-04-07 17:07:56.961:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8082


index.php/fa/17893/0/

But after that nothing happens.
I try to launch my application directly from IE, but IE return to me the message "Impossible show the web page".

I think that the problem is located on the config.ini of RAP or/and Server side, but this error escapes me.

I use "Eclipse Scout Juno 3.8"

Any suggestions or advices are appreciated. If you need other information not reported here, free to ask.
Thanks in advance
  • Attachment: img.png
    (Size: 13.29KB, Downloaded 899 times)

[Updated on: Tue, 08 April 2014 10:43]

Report message to a moderator

Re: RAP - Doesn't Start Application [message #1295397 is a reply to message #1287246] Mon, 14 April 2014 08:29 Go to previous messageGo to next message
Claudio Guglielmo is currently offline Claudio GuglielmoFriend
Messages: 256
Registered: March 2010
Senior Member
Hi Marco

After launching the rap server you need to open the rap url in your browser. The url is written in the config.ini of the rap product (probably http://localhost:8082). If it still does not work please post the error message displayed in the browser.

-
Claudio
Re: RAP - Doesn't Start Application [message #1295435 is a reply to message #1295397] Mon, 14 April 2014 09:05 Go to previous messageGo to next message
marco giudici is currently offline marco giudiciFriend
Messages: 204
Registered: February 2013
Location: Italy
Senior Member
Thanks Claudio for your suggestion.

Now start but after logic return to me an error on web-page

Quote:
Problem accessing /web. Reason:

oracle.jdbc.OracleDriver


and in the console report the following messages:

!ENTRY org.eclipse.scout.http.servletfilter 4 0 2014-04-14 10:57:47.084
!MESSAGE org.eclipse.scout.http.servletfilter.security.DataSourceSecurityFilter.isValidUser(DataSourceSecurityFilter.java:168) Cannot SELECT user/pass.
!STACK 0
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at org.eclipse.scout.http.servletfilter.security.DataSourceSecurityFilter.createJdbcDirectConnection(DataSourceSecurityFilter.java:222)
	at org.eclipse.scout.http.servletfilter.security.DataSourceSecurityFilter.isValidUser(DataSourceSecurityFilter.java:162)
	at org.eclipse.scout.http.servletfilter.security.DataSourceSecurityFilter.negotiate(DataSourceSecurityFilter.java:124)
	at org.eclipse.scout.http.servletfilter.security.AbstractChainableSecurityFilter.doFilter(AbstractChainableSecurityFilter.java:119)
	at org.eclipse.scout.http.servletfilter.internal.FilterChainImpl.doFilter(FilterChainImpl.java:41)
	at org.eclipse.scout.http.servletfilter.ServletFilterDelegate.delegateServiceMethod(ServletFilterDelegate.java:57)
	at org.eclipse.scout.rt.ui.rap.internal.servletfilter.DelegateFilter.doFilter(DelegateFilter.java:48)
	at org.eclipse.equinox.http.registry.internal.FilterManager$FilterWrapper.doFilter(FilterManager.java:173)
	at org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter(FilterRegistration.java:81)
	at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:35)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:132)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
	at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:386)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:486)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
	at org.eclipse.jetty.server.Server.handle(Server.java:350)
	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454)
	at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890)
	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538)
	at java.lang.Thread.run(Unknown Source)


I use a "DataSourceSecurityFilter" with SQL to validate login and password.
If I understand correctly, the error message says me that the class "oracle.jdbc.OracleDriver" isn't defined in RAP context.
I need to check the configuration of RAP Client, correct?
Re: RAP - Doesn't Start Application [message #1295486 is a reply to message #1295435] Mon, 14 April 2014 10:02 Go to previous messageGo to next message
Claudio Guglielmo is currently offline Claudio GuglielmoFriend
Messages: 256
Registered: March 2010
Senior Member
You need to add the fragment containing the oracle driver to your product configuration (as you probably already did for the actual server).

But maybe you should consider having the authentication mechanism only on the actual server and not on the rap server as well. The suggested pattern for this is to provide a servlet (/auth) on the actual server to which the rap server connects. See also
https://www.eclipse.org/forums/index.php/t/652211/ for details.
Re: RAP - Doesn't Start Application [message #1295495 is a reply to message #1295486] Mon, 14 April 2014 10:12 Go to previous message
marco giudici is currently offline marco giudiciFriend
Messages: 204
Registered: February 2013
Location: Italy
Senior Member
Thank you for your suggestion.

Now check this link and I try to adapt this implementation to my situation.

I find my mistake in the configuration of RAP in "rap-dev.product" and in "ScoutRap.target"

[Updated on: Wed, 16 April 2014 09:50]

Report message to a moderator

Previous Topic:Define rows selection in a TableField at server side.
Next Topic:problem with AbstractFileChooserField
Goto Forum:
  


Current Time: Fri Apr 19 04:04:30 GMT 2024

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

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

Back to the top