cancel
Showing results for 
Search instead for 
Did you mean: 

how to create a par file?

Former Member
0 Kudos

Hi,

I am required to create a par file. I have an idea on how to work with webdynpro and Portal, but not on creating par file?

Can someone tell me step by step on how to create a par file?

Is it possible to use a webdynpro project in a par file?

Regards

Atul Shrivastava

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

You do not have to do anything manually to create a .par file if you use NWDS.

PAR - Portal Archive files are similar to .ZIP files that wraps all your project/ application (including webdynpro) types ie., war or .ear files into a single deployoable unit.

Try from NWDS and you must have access to a portal server for it to be deployed..

Hope this helps

Cheers

Senthil

Former Member
0 Kudos

Hi Senthil,

What you are saying is absolutely correct. However my question still remains that how to create par files?

and will like to know the steps on how to create it from the NWDS?

Regards

Atul Shrivastava

Former Member
0 Kudos

ok, i found the option of creating par files in NWDS. Also configured the settings in Window->prefrences and then SAP Enterprise Portal details.

Now I get the error :

Operation failed: Please make sure that server (idesecc6:50000) is running or check the log (sap-plugin.log) for more detail.

How to go ahead with this error? where will this log be located?

Regards

Atul

Former Member
0 Kudos

Hi Atul,

Please make sure that the portal server in which u r going to make ur deployment.Also make an entry in the host file for the hostname and ipaddress.

Goto Run>Drivers>etc>hosts> make an entry: ipaddress hostname

Close and open ur NWDS and try deployment.

Regards,

Vinoth.M

Former Member
0 Kudos

Hi vinoth,

that entry is already there, otherwise i would not have been able to run the portal from the browser.

Anything else to try for?

Regards

Atul Shrivastava

Answers (3)

Answers (3)

Former Member
0 Kudos

first configure the host in the host file

goto start->run

drivers

etc

host

open in notepad

IPAddress hostname

now save and close

come back to studio

configure server setting while exporting PAR file

give alias as some name(dosen't matter) host=your hostname(not the IP)

port would normally be 50000 or 51000 like that

login=username

description:==some thing

now set this as default if you don't have more than one(just check the default check box on the left most side

that is it....

Former Member
0 Kudos

already tried these options.

I am able to access the EP server through the URL

http://idesecc6:50200/irj/portal

This entry is also there in the hosts file. I tried using the login as eptrg and password of eptrg.

The port i used is 50200.

Anything else to check?

Regards

Atul Shrivastava

Former Member
Former Member
0 Kudos

this seems fine

port:50200

host:idesecc6

and username : eptrg

and pswd: pswd for that .

sure that you put the default setting...?

Former Member
0 Kudos

still can't figure out.

I am able to login into portal with this id eptrg and its password.

There is only one server and hence it is the default one.

Anything else?

Former Member
0 Kudos

Made some changes.

Different response now.

PAR upload failed.

Please make sure that the server 'EP IDES'(idesecc6:50200) is running.

HTTPS protocol is not supported, please ensure that this server is not using HTTPS.

Any idea on how to correct this? I am using http protocol for accessing the EP portal.

Regards

Atul Shrivastava

Former Member
0 Kudos

finally resolved it.

In window->preferences->workbench->proxy needs to be disabled. When u install NWDS it comes by default.

Just remove that and your issue is resolved.

Regards

Atul Shrivastava

Former Member
0 Kudos

File-New-Other->Portal Application->Create a portal application project->give project name

once the project is created right click->new->other then portal appln.->portal application object->select the project( it willl show all the open projects in studion, but by default the current one would be shown, so do nothing)now select your portal pplicatin (start with abstract portal component under portal component)->under the doContent method give something like

response.write("blah blah blah");

save

build the project

deploy

while deploying configure the server setting(username, hostname, port, pswd).. alias and all give some value.

now goto portal

under content admin

portal content

right click ->new iView ->from PAR(portal component) then find out your PAR file(same as the project name)

that is it......

Former Member
0 Kudos

Hi Steelman,

I am doing the same way and getting the error mentioned above. sap-plugin.log

do not know where this file would be?

anyhow I feel that this error is because of some connection settings only.

Can someone just tell me what to use in parameters.

like userid and password , port alias etc?

In host i am using the IP Address of server.

In Port I am using 3903

In Login i m using eptrg

In password i m giving password of the EP login id eptrg

Can someone just tell me if this settings are correct?

Regards

Atul

Former Member
0 Kudos

hi

In Hostname, try giving the hostname of the system rather than the ip address. Dont include the port number there.

e.g., if the server name is epserver:50000, then in the hostname give it as epserver and in port give it as 50000. Login id and password are the user id of the portal server.

Hope it clears.....

Ganesh N

Former Member
0 Kudos

Hi Ganesh,

no use, still the same error.

Regards

Atul Shrivastava

Former Member
0 Kudos

Hi

Read the following documentation.

http://help.sap.com/saphelp_nw04/helpdata/en/bb/1bb8428e05c86ae10000000a155106/frameset.htm

If you are good in java, its nothing but a java implementation in Eclipse IDE with Portal Development Kit(PDK) plugged in with the Eclipse. When you select EP development, you get to see the various development templates under it say., JSP dynpage, dynpage, Abstract Portal Component, Portal service etc., Need to explore by opening NWDS (NetWeaver Development Development Studio).

You can revert back if you have any queries....

Regards,

Ganesh N