cancel
Showing results for 
Search instead for 
Did you mean: 

URL of Java web application

Former Member
0 Kudos

Hi

I've created a web application (part of a DC in NWDI), and it's been successfully deployed - but I'm not sure what URL to use to navigate to the application.

I've found the application in NWA and it has been started (deployed as an EAR combining EJB & Web modules). Web module name appears in NWA as "g3global.comapweb" - but I can't find where to tell what the URL is to find the app. From what I remember, GlassFish has a nice graphical display where you can get the context root of the app to determine the URL - but I'm not sure where this is in NetWeaver (or if it exists).

Please could someone help?

Thanks

Stuart

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

Hi Stuart,

Just to answer your question:

> GlassFish has a nice graphical display where you can get the context root of the app to determine the URL - but I'm not sure where this is in NetWeaver (or if it exists)

The web module name in NWA is exactly the context root. In addition, you can also find that info in the SAP Management Console - browse to SAP Systems --> <SID> --> <Instance> --> AS Java Aliases. By double clicking the row in the table you can also launch the corresponding app.

HTH!

\-- Vladimir

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi, Stuart,

Take a look at these two threads:

Regards,

Yordan

Former Member
0 Kudos

Hi Yordan

Thanks for your help.

The information that I needed was the name of the jar & war file for my EJB & Web projects. When these are local projects, the name is fairly logical. However, when using DC's in NWDI it's a little less obvious. I eventually figured out that the names need to be "vendor~projectname.war|jar" (replacing all "/" with "~").

So in my case, the war file was named g3global.comapweb.war

Problem all solved, and I'm now able to browse to my web application.

Hopefully this helps someone else later who may be experiencing the same problem.

Thanks again for your help

Stuart

Former Member
0 Kudos

Managed to find an example of an application.xml file to be created in the EAR project - but I get errors when I type the name of the war file.

NWDS 7.0 had nice editors for all the config files, but it seems 7.1 doesn't have them anymore. Any idea when we'll get them? It's quite painful for beginners to figure out what's going on when we have to do everything without proper editors.

So I've figured out where to specify the context root, but I can't supply the war file within the "web-uri" element. Any suggestions? Could it be due to the unusual naming of DC war files (i.e. DN1_AP_D0ap(2fweb~g3global.com.war )?