cancel
Showing results for 
Search instead for 
Did you mean: 

Exception while trying to deploy to portal

Former Member
0 Kudos

Dear all,

I have a serious deploy problem with the SAPNWCE71TrialSP1Preview_DevStudio in combination with SAP WAS...

This is the error message

Reason: Clusterwide exception: server ID 23000550:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application local/Calendar cannot be started. Reason: it has hard reference to resource tc~wd~api with type application, which is not active on the server.

I can not find the resource tcwdapi in my file system... do I need an additional external jar file! I added the com.sap.security.api.jar as external lib

as info: before, I worked with the NWDS 7.0.9 and had no time a deploy problem!?

I have already looked throw related problems, but nor workaround solved my problem...

may be my application-j2ee-engine.xml file is not configured in the right way;

I hope someone can fix my problem

enclosed please find the entire error message:

1.10.2007 08:32:07 /userOut/daView_category (eclipse.UserOutLocation) [Thread[Deploy Thread,5,main]] INFO: 
[001]Additional log information about the deployment 

<!--LOGHEADER[START]/-->
<!--HELP[Manual modification of the header may cause parsing problem!]/-->
<!--LOGGINGVERSION[1.5.3.7185 - 630]/-->
<!--NAME[D:usrsapJ4SJC02SDMprogramlogsdmcl20071031073143.log]/-->
<!--PATTERN[sdmcl20071031073143.log]/-->
<!--FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/-->
<!--ENCODING[Cp1252]/-->
<!--LOGHEADER[END]/-->
Oct 31, 2007 8:31:44 AM  Info: -------------------------- Starting deployment ------------------------
Oct 31, 2007 8:31:44 AM  Info: Error handling strategy: OnErrorStop
Oct 31, 2007 8:31:44 AM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
Oct 31, 2007 8:31:44 AM  Info: Update strategy: UpdateAllVersions
Oct 31, 2007 8:31:44 AM  Info: Starting deployment prerequisites:
Oct 31, 2007 8:31:46 AM  Info: Loading selected archives...
Oct 31, 2007 8:31:46 AM  Info: Loading archive 'D:usrsapJ4SJC02SDMprogramtemptemp16414Calendar.ear'
Oct 31, 2007 8:31:49 AM  Info: Selected archives successfully loaded.
Oct 31, 2007 8:31:49 AM  Info: Actions per selected component:
Oct 31, 2007 8:31:49 AM  Info: Update: Selected development component 'Calendar'/'local'/'LOKAL'/'0.2007.10.31.08.31.30'/'0' updates currently deployed development component 'Calendar'/'local'/'LOKAL'/'0.2007.10.30.18.27.26'/'0'.
Oct 31, 2007 8:31:50 AM  Info: Ending deployment prerequisites. All items are correct.
Oct 31, 2007 8:31:50 AM  Info: Saved current Engine state.
Oct 31, 2007 8:31:50 AM  Info: Starting: Update: Selected development component 'Calendar'/'local'/'LOKAL'/'0.2007.10.31.08.31.30'/'0' updates currently deployed development component 'Calendar'/'local'/'LOKAL'/'0.2007.10.30.18.27.26'/'0'.
Oct 31, 2007 8:31:50 AM  Info: SDA to be deployed: D:usrsapJ4SJC02SDMrootoriginlocalCalendarLOKAL00.2007.10.31.08.31.30temp16414Calendar.ear
Oct 31, 2007 8:31:50 AM  Info: Software type of SDA: J2EE
Oct 31, 2007 8:31:50 AM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
Oct 31, 2007 8:32:02 AM  Info: Begin of log messages of the target system:
07/10/31 08:31:50 -  ***********************************************************
07/10/31 08:31:54 -  Start updating EAR file...
07/10/31 08:31:54 -  start-up mode is lazy
07/10/31 08:31:54 -  EAR file updated successfully for 453ms.
07/10/31 08:31:54 -  Start updating...
07/10/31 08:31:55 -  EAR file uploaded to server for 500ms.
07/10/31 08:32:01 -  Successfully updated. Update took 5813ms.
07/10/31 08:32:01 -  Deploy Service status:
07/10/31 08:32:01 -    Application : local/Calendar
07/10/31 08:32:01 -    
07/10/31 08:32:01 -    webdynpro/resources/local/Calendar  - WEB
07/10/31 08:32:01 -  ***********************************************************
Oct 31, 2007 8:32:02 AM  Info: End of log messages of the target system.
Oct 31, 2007 8:32:02 AM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
Oct 31, 2007 8:32:02 AM  Warning: Finished with warnings: development component 'Calendar'/'local'/'LOKAL'/'0.2007.10.31.08.31.30'/'0':
Caught exception during application startup from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Error occurred while starting application local/Calendar and wait. 
Reason: Clusterwide exception: server ID 23000550:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application local/Calendar cannot be started. Reason: it has hard reference to resource tc~wd~api with type application, which is not active on the server.
	at com.sap.engine.services.deploy.server.ReferenceResolver.processReferenceToApplication(ReferenceResolver.java:597)
	at com.sap.engine.services.deploy.server.ReferenceResolver.processMakeReference(ReferenceResolver.java:399)
	at com.sap.engine.services.deploy.server.ReferenceResolver.beforeStartingApplication(ReferenceResolver.java:328)
	at com.sap.engine.services.deploy.server.application.StartTransaction.beginCommon(StartTransaction.java:162)
	at com.sap.engine.services.deploy.server.application.StartTransaction.begin(StartTransaction.java:136)
	at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
	at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:342)
	at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:126)
	at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:245)
	at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4761)
	at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4666)
	at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4639)
	at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1163)
	at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
	at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
	at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
	at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
	at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
	at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
	at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Exception while starting: sap.com/tc~wd~api', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key Exception while starting: sap.com/tc~wd~api
	at com.sap.portal.prt.sapj2ee.PortalRuntimeContainer.prepareStart(PortalRuntimeContainer.java:527)
	at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationLocalAndWait(DeployServiceImpl.java:4415)
	at com.sap.engine.services.deploy.server.ReferenceResolver.processReferenceToApplication(ReferenceResolver.java:589)
	... 21 more
Caused by: com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Exception while starting: SAPJ2EE::local/NEW', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key Exception while starting: SAPJ2EE::local/NEW
	at com.sap.portal.prt.sapj2ee.SAPJ2EEPortalRuntime.getAndStartSAPJ2EEApplicationItem(SAPJ2EEPortalRuntime.java:886)
	at com.sap.portal.prt.sapj2ee.PortalRuntimeContainer.prepareStart(PortalRuntimeContainer.java:511)
	... 23 more
Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: [ExternalApplicationItem.prepare]: SAPJ2EE::local/NEW
	at com.sapportals.portal.prt.core.broker.ExternalApplicationItem.prepare(ExternalApplicationItem.java:188)
	at com.sapportals.portal.prt.core.broker.SAPJ2EEApplicationItem.prepare(SAPJ2EEApplicationItem.java:232)
	at com.sapportals.portal.prt.core.broker.SAPJ2EEApplicationItem.start(SAPJ2EEApplicationItem.java:192)
	at com.sapportals.portal.prt.service.sapj2ee.Mediator.getAndStartExternalApplication(Mediator.java:132)
	at com.sap.portal.prt.sapj2ee.StartPortalApplication.coreRun(StartPortalApplication.java:59)
	at com.sap.portal.prt.sapj2ee.SAPJ2EEPortalRuntime.getAndStartSAPJ2EEApplicationItem(SAPJ2EEPortalRuntime.java:882)
	... 24 more
Caused by: com.sapportals.portal.prt.core.broker.PortalApplicationNotFoundException: Could not find portal application tc~wd~api
	at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:415)
	at com.sapportals.portal.prt.core.broker.ExternalApplicationItem.prepare(ExternalApplicationItem.java:180)
	... 29 more



 (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Oct 31, 2007 8:32:02 AM  Info: Starting to save the repository
Oct 31, 2007 8:32:04 AM  Info: Finished saving the repository
Oct 31, 2007 8:32:04 AM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
Oct 31, 2007 8:32:04 AM  Warning: ------ At least one of the Deployments finished with warning(s) -------

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

May be of use

1. Open the visual admin at <installdrive>:\usr\sap\J2E\JC00\j2ee\admin\go.bat

2. Login is Administrator + admin-password you defined during installation.

3. Under the Server 0... node select Services->Deploy

4. Select the "Application" radio button at the bottom.

5. Check if there exists an application sap.com/tcwdtools

And the following applications are running

sap.com/tcwdcorecomp

sap.com/tcwddispwda

sap.com/tcwdtools.

Last thing was their any errors in the installation.

Regards

Ayyapparaj

Former Member
0 Kudos

Hi All

I also have the same issue on my portal when attempting to start a small customer developed application.

Although the following applications exits and are started:

sap.com/tcwdcorecomp

sap.com/tcwddispwda

sap.com/tcwdtools

The following is not present in the J2EE engine:

sap.com/tcwdapi

Question is... sap.com/tcwdapi is a standard application? Why is it not in the system?

Regards

Former Member
0 Kudos

Hi,

I have tried a DC component also with the sam effect!

Do you have some other advise for me?

Kind regards,

Peter

Former Member
0 Kudos

no I haven't found a solution until now. I am currently working on my local application server from the CE environment. I will let you know íf I have found a solution!

peter

Former Member
0 Kudos

Hi,

Can you change your WD application to a DC component and give a try.

Regards

Ayyapparaj

Former Member
0 Kudos

Hi experts,

i have the same problem too.

Dear Peter, have you solved the problem yet ? If yes, can you tell me the way ?

Please someone can help to solve it ?

At soon

Felice