cancel
Showing results for 
Search instead for 
Did you mean: 

Java DC is not deploying

former_member540174
Participant
0 Kudos

We are modifying the authentication into the portal. We are following the article <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/069eaf4b-0901-0010-6e89-d1fcceebcbf1">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/069eaf4b-0901-0010-6e89-d1fcceebcbf1</a>

Our team would like modify it slightly (messages and such). I'm a java novice (was a .Net person before we got SAP). We use NWDI. We created a software component, name space, etc. I created a development component (DC). But I think I might have created the wrong kind of DC. I can get my version to build but it does not show as Deployed. We've been all over NWDI's CMS etc to see where we went wrong. I want to verify that I chose the right kind of Java project and placed my code in a "deployable area".

When I created my DC I chose it of type "Java".

I then went into the src/packages folder and created my package and java class

the other folders created by the wizard are empty.

Here's a list of the folders and their contents

NDI_PORTAL_D~portal~security~iplogon~spiritaero.com
  src/packages
      com.spiritaero.portal.security
          IPHeaderLoginModule.java              
  cfg
  def
      packages
  gen
      default
 logs
     build.log
     build.xml
  src
  test

Where did I go wrong?

Diane

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Diane, a Java DC is, by itself, not a deployable unit of code. Generally speaking, you can only deploy applications (ear's) or libraries to the Java engine (there are other types, but these are the most common). So, to deploy your Java code, you must create a Library DC, and create a DC usage to the Java DC. Build the library DC, and then deploy that to the engine.

Check out this link for more information:

http://help.sap.com/saphelp_nw70/helpdata/en/7a/6fde3f7bc1eb06e10000000a1550b0/frameset.htm

Hope that helps you out!