cancel
Showing results for 
Search instead for 
Did you mean: 

migration

Former Member
0 Kudos

I imported all my WSAD projects into NETweaver studio.

what should I do now?

(my plug in doesn't work)

how can I make it run on the Netweaver app server?

thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

to install the plugin, try the following:

1) Close Developer Studio

2) Copy "com.sap.j2ee.migration.kit*" to "<Folder of your Developer Studio installation>\SAP\JDT\eclipse\plugins"

3) Start Developer Studio

4) Lookout for Menu: File/Import Wizard -> J2EE Migration Project

If you can't find that entry in the import wizard, check your "com.sap.j2ee.migration.kit*"-folder. There must be a file called "plugin.xml", otherwise the plugin won't work.

If your plugin still doesn't work. You have to migrate your application by hand.

Which means:

1) Generate the Developer Studio specific projects according to your WebSphere projects.

2) Copy your source files in the folders in the Developer Studio projects.

For example:

EJB-Module

JavaClasses -> ejbModule

Describtors -> META-INF

...

WEB-Module:

JavaClasses -> source

JSP+HTML -> webContent

Describtors -> WEB-INF

...

3) Find matching nodes from the websphere specific descriptors for the sap specific descriptors

Hope this helps.

Regards,

Johannes

Former Member
0 Kudos

hi

thanks for the reply

I already copied the "com.sap.j2ee.migration.kit.websphere_1.0.2" folder(that I got from SAP) into D:\Program Files\SAP\JDT\eclipse\plugins and it didn't change anything.

I don't have a plugin.xml file although i've fragments.xml and plugin.properties...

any idea???

about the manuel migration

I copied all my WSAD project into NetWeaver Dev , what should I do now? how do I deploy it into the app server?

thanks a lot.

Former Member
0 Kudos

Hi,

you have to copy at least two folders to your plugins-folder:

1) com.sap.j2ee.migration.kit_1.0.X (which MUST contain a plugin.xml)

- the plugin logic

2) com.sap.j2ee.migration.kit.websphere_1.0.X

- WebSphere specific part of the plugin

For deploying J2EE applications on the WebAS check help.sap.com:

http://help.sap.com/saphelp_nw04/helpdata/en/7d/cf0c8abcc34594ba9d3bbd5dd22155/content.htm

Regards,

Johannes

Former Member
0 Kudos

Great!

the plug in is finally working.

I am trying to import my project using the plug in.

I've about 20 java projects and 1 web project (no EJBs)

when I'm importing the web project and press on "guess structure" it import the web contect folder, in the WSAD it used to be a project and not a folder is that alright?

when I'm trying to import all the other projects the "guess structure" button brings nothing..

what should I do next?

Thanks a lot!

Former Member
0 Kudos

'guess structure' just tries to find modules in your migration application's folder. There is no garanty that all modules will be found. That's why you have the 'add/edit/delete module'-button to define your modules, so add your Java-Modules and the plugin will create the projects for you.

Regards,

Johannes

Former Member
0 Kudos

alright

I added all the projects i had in WSAD via the import J2ee plug in..

what now?can I test this with the studio?

how do I make EAR file out of this?

(i've only one web project and many java projects)

p.s.

something is strange , when I am Rebuilding all the projects in wsad it can take one hour , here it take only 2 sec....it seem like it does nothing.

thanks

Former Member
0 Kudos

Hello,

you have to create a Enterprise Application Project and add your web module to the project.

Follow the link "Assembling the application" under:

http://help.sap.com/saphelp_nw04/helpdata/en/7d/cf0c8abcc34594ba9d3bbd5dd22155/content.htm

Regards,

Johannes

Former Member
0 Kudos

hi ,

on which perspective/view do I do that and how?

when I am using the J2EE prespective/J2EE explorere I can see only th web content.

when I am using the packages explorer I can see all the projects i imported.

Thanks a lot!!

Former Member
Former Member
0 Kudos

hi ,

I am sorry but I already tried to build an EAR file.

I've get many Java projects and one Web Project as I said before ,<b> the problem is that when I am trying to add projects/moduls to the EAR file it only "sees" the web module</b>.

what should I do to include all my projects in the EAR file?

thanks

Ohad.

Former Member
0 Kudos

hi

Khan, Imran [i.khan@sap.com] helped me ,

he showed me how to add all the other projects (properties/references)

I finally deployed my application

I've new problem now:

I am getting this page when I am trying to access it via the browser:

403 Forbidden

SAP J2EE Engine/6.40

You are not authorized to view the content of the requested directory.

Details: Directory listing is not allowed on this server.

Former Member
0 Kudos

Hi,

Regards

Former Member
0 Kudos

am unable to find the plugin (com.sap.j2ee.migration.kit*)

in the Plugins folder.

can you please let me know any download location.

Also Ohad can you please share the details that you got from Khan, Imran regarding how to add all the other projects (properties/references).

am sure it will be useful for many others in the forum.

Divakar

Message was edited by: Divakar Salla

Answers (0)