cancel
Showing results for 
Search instead for 
Did you mean: 

Starting URL for Application

Former Member
0 Kudos

I am new to J2EE and working with Eclipse 3.1 and SAP J2EE Engine 6.20.I am making ear using ANT 1.6 and deploying it using Deploy Tool of J2EE Engine.

Deployment is also successfully done but i am not able to run the application as i dont know the starring URL.Please let me know where i can find it.As per my understanding it must be mentioned in config.xml but when i have gone through it also and could not guess what can be the starting URL.

Please help me on this.

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

The URL is of the form http://<host>:<http_port>/<context-root>; where <context-root> is defined in application.xml.

HTH!

\-- Vladimir

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks guys

Former Member
0 Kudos

Thanks Vladimir,

This is Application.xml

<?xml version="1.0" encoding="utf-8" ?>

- <application>

<display-name>b2c_tmoc</display-name>

- <module>

- <web>

<web-uri>b2c_tmoc.war</web-uri>

<context-root>b2c_tmoc</context-root>

</web>

</module>

</application>

I was doing exactly the same but when i run it as

http:
localhost\b2c_tmoc

This is what i am getting

.. <parent directory>admin [Directory] 25-Jul-2008 15:32 advisor [Directory] 25-Jul-2008 15:32 b2c [Directory] 25-Jul-2008 15:32 catalog [Directory] 25-Jul-2008 15:32 dealerlocator [Directory] 25-Jul-2008 15:32 ecall [Directory] 25-Jul-2008 15:32 ipc [Directory] 25-Jul-2008 15:32 mimes [Directory] 25-Jul-2008 15:32 tmo [Directory] 25-Jul-2008 15:32

Means i am getting a directory structure and when i open any jsp from these directories it gives "Internal Server Error 500".

Vlado
Advisor
Advisor
0 Kudos

The directory listing indicates that you don't have a welcome file in your web app.

Regarding the error 500, you'd need to check the server log files for more information about the root cause.

HTH!

\-- Vladimir