cancel
Showing results for 
Search instead for 
Did you mean: 

Local installation of WebIDE leads to 404

Former Member
0 Kudos

Hello everybody,

what I've done is setting up the WebIDE according to to the official documentation.

Everything worked pretty fine until I came to the chapter 3.1.4 "Starting SAP WebIDE". When I try to access http://localhost:8080/webide/index.html I'm just getting an error 404.

HTTP ERROR: 404

Problem accessing /webide. Reason:

    ProxyServlet: /webide


Powered by Jetty://


OR:


HTTP ERROR: 404

Problem accessing /webide/index.html. Reason:

    ProxyServlet: /webide/index.html


Powered by Jetty://


What can possibly be wrong?

Thanks in advance and best regards,

Kai

Accepted Solutions (0)

Answers (9)

Answers (9)

0 Kudos

Hi Ervin,

I did the same. I executed cmd.exe which was open and I went to the orion.exe and again it prompted the command window and just goes off.

I think I need to reinstall the SAP WEBide set up again.

0 Kudos

Hi,

It might that the default port is used by other application. Could you please change the port in orion.ini?

In case it does work then turn on orion logging as following link and attach the myApp.log file

https://wiki.eclipse.org/Orion/How_Tos/Turn_on_Server_Logging

Regards,

Raja

0 Kudos

Hi Keidar,

my problem is bit different here. When I double click on Orion.exe the command prompt comes and immediately its going off and hence I cannot start the Orion on my local host

Do you have any idea on this?

ErvinSzolke
Product and Topic Expert
0 Kudos

Hi vedamoorthy,

could you please first run the cmd.exe, navigate to the folder where the executable found (orion.exe) and start from there? This way we can see in the command line window if there are any errors during the startup which I assume there are and this is why it is "going off" immediately.

I hope this helps.

Cheers,

Ervin

0 Kudos

Did anyone find the answer to this error. .? I too face the same error now.

I am in my organisation network what changes i need to do in proxy to make it work ?

michal_keidar
Active Contributor
0 Kudos

Hi,

Take a look at the Developer's guide here: https://scn.sap.com/docs/DOC-58848

in "Setting the Proxy Server" section.

Former Member
0 Kudos

What is your URL for the localhost?

Check if the format of your URL is-

http://localhost:<port number>/webide/index.html

and not http://localhost:<port number>/webide/index/html

I faced a similar problem, tried out all the solutions given on the entire internet, until I stumbled upon this idiotic mistake of mine.

Now, it works just fine.

Cheers,

-NK

Former Member
0 Kudos

Hi Dana,

What is "java -version" on command line returning for you? Is it equal to or greater than 1.7?

Regards, Sanjeev

dana_schreiber
Explorer
0 Kudos

FYI, whenever I launch Orion.exe I see this in the log.  This is irrespective of installing webide add-on.

!SESSION 2015-05-10 19:50:10.528 -----------------------------------------------

eclipse.buildId=8.0.0.v20150216-1836

java.version=1.6.0_45

java.vendor=Sun Microsystems Inc.

BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

Command-line arguments:  -os win32 -ws win32 -arch x86_64

It appears that the orion build of eclipse is compile using Java Version 1.6.0_45.  As orion is directly extracted from the zip file, how does one go about recompiling or rebuilding it on JSE 1.7?

Former Member
0 Kudos

I have been trying to insall SAPWebIDE and this SCN thread was the closest i could find to nailing down the issues I am facing

Summary

Windows 7 64 bit OS

Downloaded and Installed Oracle Sun Java 1.7 build 80 64 bit - jre-7u80-windows-x64.exe

Downloaded Orion version 8 - eclipse-orion-8.0-win32.win32.x86_64.zip

Downloaded SAP WebIDE Local edition version 1.8.4

Followed all the steps per SAP WebIDE install guide

I am certain all components are 64 bit and my JRE is 1.7

Here is my java version

C:\SAPWebIDE\director>java -version

java version "1.7.0_80"

Java(TM) SE Runtime Environment (build 1.7.0_80-b15)

Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)

Here is my java environment variable

JAVA_HOME = C:\Program Files (x86)\Java\jre7\

When I launch orion.exe I can see the following:

osgi> ss com.sap.webide.orionplugin

"Framework is launched."

id      State       Bundle

43      INSTALLED   com.sap.webide.orionplugin_1.8.4

44      INSTALLED   com.sap.webide.orionplugin.reverseproxy_1.8.4

osgi> start 43

gogo: BundleException: Could not resolve module: com.sap.webide.orionplugin [43]

  Unresolved requirement: Require-Bundle: com.sap.webide.orionplugin.reverseproxy

    -> Bundle-SymbolicName: com.sap.webide.orionplugin.reverseproxy; bundle-version="1.8.4"; singleton:="true"

       com.sap.webide.orionplugin.reverseproxy [44]

         Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

osgi> start 44

gogo: BundleException: Could not resolve module: com.sap.webide.orionplugin.reverseproxy [44]

  Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

Orion is clearly looking for JSE 1.7 and not finding it. Its already installed so not sure what to do. Please suggest a fix!

0 Kudos

Hi,

Could you please try to use the java jdk instead of the jre?

Regard,

Raja

0 Kudos

It seems orionplugins did not started. you could check this with orion console:

Check the status of the orionplugins it should be with STARTING state

ss com.sap.webide.orionplugin

if not in starting state, try to start them manually with:

start <bundleId>|<bundleName>

if not started, then check what was the error

Former Member
0 Kudos

Hi Raja,

thanks for your reply.

What I get is:


osgi>ss com.sap.webide.orionplugin

"Framework is launched."

id        State        Bundle

136     Starting     com.sap.webide.orionplugin_1.4.4

137     Starting     com.sap.webide.orionplugin.reverseproxy_1.4.4

Thanks and regards,

Kai

0 Kudos

Hi Kai,

try to start it manually in orion console:

start 136 or star com.sap.webide.orionplugin_1.4.4

start 137 or star com.sap.webide.orionplugin.reverseproxy_1.4.4

Regards,

Raja

Former Member
0 Kudos

Hi Raja,

thanks for the input.

Your suggestion did work but I'm still getting the 404 if I try to access the WebIDE.

This is what my console looks like:


osgi> start 136

osgi> start 137

osgi> ss com.sap.webide.orionplugin

"Framework is launched."

id          State          Bundle

136       ACTIVE      com.sap.webide.orionplugin_1.4.4

137       ACTIVE      com.sap.webide.orionplugin.reverseproxy_1.4.4

But still getting this error if I try to access the "http://localhost:8080/webide/index.html":

HTTP ERROR: 404

Problem accessing /webide/index.html. Reason:

    ProxyServlet: /webide/index.html


Powered by Jetty://


Thanks and regards,

Kai

0 Kudos

Hi Kai,

It should work as the bundle has ACTIVE status.

Please try to restart the orion server and test again. Could you please check if you can access the orion root http://localhost:8080/?

Another try is to use java jdk instead of JRE. if this also didn't help then you need to enable the server logging in orion server as the following link:

Orion/How Tos/Turn on Server Logging - Eclipsepedia

and attached myApp.log to message.

Regards,

Raja


Former Member
0 Kudos

Hi Raja,

I'm able to access the orion root without any problems.

Where am I supposed to configure the path to the JAVA JRE/JDK?

Please find the log file attached

Thanks and regards,

Kai

0 Kudos

Hi Kai,

add the following two line to orion.ini

-vm

C:\Program Files\Java\<javajdk>\bin\javaw.exe

In addition, please clean the cache. it should works as i didn't find any error in log file.

Regards,

Raja

Former Member
0 Kudos

Hi Raja,

I'm afraid this didn't work either.

I've shutdown my computer. As soon as it was up and running again I started the "orion.exe". It launched pretty nicely in the common console window.

To be sure about the plugins I've entered the command "ss com.sap.webide.orionplugin" which resulted in the "ACTIVE" output (as already mentioned above).

After that I opened up the dev tools in Chrome (with disabled cache) and opened up the orion root. This page was displayed just fine.

I tried to navigate to "http://localhost:8080/webide" and "http://localhost:8080/webide/index.html" and both gave me the same error again.


Thanks and regards,

Kai

0 Kudos

Hi Kai,

It's weired. the error you have mean that the bundle is not installed or not started but in orion console you can start the bundles with no errors.

try again to uninstall/reinstall webide plugin with director command

director -uninstallIU com.sap.webide.orionplugin.feature.feature.group -destination c:\SAPWebIDE\eclipse

What enviroment do you use? Mac or Windows and which version of os?

Regards,

Raja

0 Kudos

That is exactly What I suggested, try uninstalling and reinstalling and also updating the proxy port in the .ini file to 9090

Former Member
0 Kudos

If this works you'll get the credits, ok?
Sorry was too busy to test anything in the last couple of days.
I'll edit this post as soon as I've results.

Former Member
0 Kudos

Hi Kai,

Did what Raja and Manickam suggested work for you? It will be great to hear from you if re-installation and proxy port change worked for you.

Regards, Sanjeev

Former Member
0 Kudos

Push.

Anyone?

0 Kudos

Try re-installing since this could be problem with the plugin/ not starting. and also try changing the proxy port to 9090 in the .ini file.

NagaPrakashT
Contributor
0 Kudos

Hi Kai,

Please start the Orion Server before accessing the WebIDE. You can find the "orion.exe" in the folder where you have installed it. Double click to start the server,on successful start you should see the below screen shot. Later the start the WebIDE.

Let me know if this works for you.

Thanks,

Naga.

Former Member
0 Kudos

Hi Naga,

thanks for your reply.

The 404 error is actually thrown by the orion webserver. I've definitely started it.

Edit: Ah, one thing to mention. After a closer look I've discovered a error message which states:

"No server configuration file found at: <pathToWebIDE>\eclipse\serverworkspache\orion.conf"

Regards,

Kai