cancel
Showing results for 
Search instead for 
Did you mean: 

deploying application using j2ee deployment tool, next steps?

Former Member
0 Kudos

hi

i have created a .ear file(which consists of a javascript file, css file and htm file) and have deployed it using j2ee engine.

I want to view this in the portal...what would be the next steps? I have looked at the documentation, but did not find much help.

Accepted Solutions (0)

Answers (2)

Answers (2)

darrell_merryweather
Active Contributor
0 Kudos

When you deploy an .ear file to the J2EE engine it creates a new application. Therefore you should be able to access this application by using http://<yourserver>:<yourport>/<deployedapplication>;

I hope this helps

Darrell

Former Member
0 Kudos

hi

Thank you both for your reply.

Darrell, im struggling to get the

<b><deployedapplication></b> part of it right.

where is this stored? can you give me an example of the <deployedapplication>?

Kind Regards

NB

darrell_merryweather
Active Contributor
0 Kudos

When you deploy an .ear file to the J2EE server you would normally be deploying a web application. This means that it should be deployed in a specific format (look at http://java.sun.com for how to create a web application). If this is a valid web application that you have deployed then you will have a file called application.xml in the following format

<application>

<display-name>

myApp

</display-name>

<module>

<web>

<web-uri>

myApp.war

</web-uri>

<context-root>

myApp

</context-root>

</web>

</module>

</application>

The <deployedapplication> would then relate to the <context-root> in the application.xml file. i.e http://myserver.com/myApp

I hope this helps

D

Former Member
0 Kudos

Hi NB,

You need to oprn application.xml file of you ear

You must have specify you context root under tag <context-root>

Example:

<application>

<display-name>QuickCarRentalEar</display-name>

<description>EAR description</description>

<module>

<ejb>J2EE_QuickCarRentalEjb.jar</ejb>

</module>

<module>

<web>

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

<context-root>QuickCarRental</context-root>

</web>

</module>

</application

Now you can access any jsp by

http://server:50000/QuickCarRental/jspname.jsp

Rgds,

Mukesh

Former Member
0 Kudos

Hi Bilan,

You need to create first iview.. then workset and then role and

For creating iview logon to the portal then Content administrator => Portal Content (Expand this)

here you can create your own folder by (right clinking) as your working area.. then similar to folder create iview (which may be url iview) give complete url of your html page. After that create workset and right click on iview and selct add iview to workset... this will add you iview to workset.. Similarly add worset to role and allocate this role to user whom you want to give access to this iview.

Rgds,

Raj

PS: Please consider rewarding points if the answer was helpful