Par file deployment error
Hi
I am trying to deploy the par file from NWDS. First time i was able to deploy with out any error. But after that i get the following error (Taken from sap-plugin.log)
[30.05.06 / 11:05] #ERROR LEVEL# com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1 > No Information
java.io.IOException: Server returned HTTP response code: 500 for URL: http://xxxx:50100/irj/servlet/prt/portal/prteventname/upload/prtroot/com.sap.portal.runtime.system.console.ArchiveUploader?login_submit=on&j_user=xxxxxxxx&j_password=xxxxxxxxx&j_authscheme=default&uidPasswordLogon=Log%20on
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:800)
at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.readResponse(DeployEngine.java:361)
at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.uploadPar(DeployEngine.java:433)
at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.deploy(DeployEngine.java:220)
at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.processUpload(SAPMPWizard.java:404)
I am using the administrator user id for deploying the par. I am using NWDS Version: 7.0.07 (NW 2004s)
Any help on this
Regards
NagaKishore V
Hi
Try upload from portal
Login to Portal using Administrator id or any account having super_admin role.(admin /admin)
Navigate through System Administrator>>Support>>Portal runtime>>"Portal Anywhere" Admin Tools>>Administrator Console
You will see a link for uploadin the par file from there
Cheers
Jawahar Govindaraj
Similar Messages
-
Par file deployment from nwds - sap-plugin.log error
i'm trying to deploy par file
all my setting are right, but i get error that i see in sap-plugin.log file
Server returned HTTP response code: 401 for URL: http://sapepdev:50100
does anyone knows how to fix that problem?
is my "nwds-> preference-? workbench-> proxy " settings should be like the settings in the browser?
thanks
Ronithe error in sap-plugin.log is:
[02.01.07 / 11:05] #ERROR LEVEL# com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1 > No Information
java.io.IOException: Server returned HTTP response code: 401 for URL: http://sapepdev:50100/irj/servlet/prt/portal/prteventname/upload/prtroot/com.sap.portal.runtime.system.console.ArchiveUploader?login_submit=on&j_user=amit-y&j_password=123456&j_authscheme=default&uidPasswordLogon=Log%20on
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:800)
at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.readResponse(DeployEngine.java:363)
at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.uploadPar(DeployEngine.java:435)
at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.deploy(DeployEngine.java:221)
at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.processUpload(SAPMPWizard.java:416)
at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.run(SAPMPWizard.java:350)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard.performFinish(SAPMPWizard.java:531)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at org.eclipse.ui.actions.ExportResourcesAction.run(ExportResourcesAction.java:112)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607) -
Weather magnet PAR File Export Error
I have created a weather application PAR File following this blog: Create a weather magnet using xml feed from weather.com
As far as I can tell I have followed everything correctly however when I select Export to create the file I get the following error:
Nov 11, 2008 11:32:54 AM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[main,5,main]] ERROR: ep_wa: Build failed for myl.com/ep_wa(myl.com_MYLAN_1) in variant "default": The Build terminated with errors
Build log -
Development Component Build (2008-11-11 11:32:54)
Component name: ep_wa
Component vendor: myl.com
SC compartment: myl.com_MYLAN_1
Configuration: JP1_EPPHASE1_D
Location: JP1_EPPHASE1_D
Source code location: http://max-sap50:50000/dtr/ws/EPPHASE1/myl.com_MYLAN/dev/inactive/DCs/myl.com/ep_wa/_comp/
DC root folder: C:Documents and Settingsm100236.dtc3DCsmyl.comep_wa\_comp
DC type: Enterprise Portal
DC subtype: Portal Application Module
Host: 03-M100236
DC Model check:
All used DCs are available locally
validating dependency to build plugin "sap.com/tc/bi/bp/portalapplication"
validating dependency to public part "default" of DC "sap.com/webservices_lib"
validating dependency to public part "default" of DC "sap.com/sapxmltoolkit"
validating dependency to public part "default" of DC "sap.com/com.sapportals.htmlb"
validating dependency to public part "default" of DC "sap.com/epbc.prtapi._api"
validating dependency to public part "default" of DC "sap.com/epbc.prtpars._htmlb"
validating dependency to public part "default" of DC "sap.com/epbc.prtpars._soap"
validating dependency to public part "default" of DC "sap.com/epbc.prtapi._test"
validating dependency to public part "default" of DC "sap.com/servlet"
validating dependency to public part "default" of DC "sap.com/jaxm"
DC model check OK
Start build plugin:
using build plugin: sap.com/tc/bi/bp/portalapplication
starting build plugin from : C:Documents and Settingsm100236.dtc3DCssap.com c i pportalapplication\_compgendefaultpublicdef
Build Plugin 'PortalAppPlugin', Version 7.00 SP 15 (645_VAL_REL, built on 2008-02-16 08:47:10 CET, CL76043)
development component: ep_wa (myl.com)
software component: MYLAN (myl.com)
location: JP1_EPPHASE1_D
type: Enterprise Portal, subtype Portal Application Module
build variant: default
output location: C:Documents and Settingsm100236.dtc3DCsmyl.comep_wa\_compgendefault
generation folder: C:Documents and Settingsm100236.dtc3 EBC1BF499DA88943638C12CB3AD23D86
plugin start time: 2008-11-11 11:32:54 GMT-05:00 (EST)
Java VM: Java HotSpot(TM) Client VM, 1.5.0_07-b03 (Sun Microsystems Inc.)
General options:
convert *.xlf to *.properties: yes
include sources for debugging: yes
Warning: Package folder "src.api" exists but is empty and will be ignored.
Checking path lengths for sources
Path length checks finished in 0.015 seconds
Preparing data context..
No public part descriptor found for component "webservices_lib" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "sapxmltoolkit" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "com.sapportals.htmlb" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "epbc.prtapi._api" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "epbc.prtpars._htmlb" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "epbc.prtpars._soap" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "epbc.prtapi._test" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "servlet" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "jaxm" (vendor "sap.com"), public part "default", using legacy mode.
No 'default' JDK defined, will use running VM.
Data context preparation finished in 0.032 seconds
Creating Ant build file..
Creating output file: C:Documents and Settingsm100236.dtc3DCsmyl.comep_wa\_compgendefaultlogs uild.xml
[Velocity] Error: VM #CreateConfigArchive: error : too few arguments to macro. Wanted 3 got 0
Using macro file: C:Documents and Settingsm100236.dtc3DCssap.com c i pportalapplication\_compgendefaultpublicdefmacros uild.vm
DC specific options:
Portal Application file name: ep_wa.par
Include sources in application: no
Deploy type: online
Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.
Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.
Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.
Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.
Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.
Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.
Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.
Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.
Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.
Build file creation finished in 0.078 seconds
Starting Ant..
Using build file: C:Documents and Settingsm100236.dtc3DCsmyl.comep_wa\_compgendefaultlogs uild.xml
Using build target: build
Using Ant version: 1.6.2
compile:
[echo] Compiling Java sources in src.core
[echo] Starting Java compiler
[echo] Settings:
[echo] debug: on
[echo] optimize: off
[echo] deprecation: default
[echo] verbose: default
[echo] encoding: UTF8
[echo] source: default
[echo] target: default
[echo] source path: C:Documents and Settingsm100236.dtc3DCsmyl.comep_wa\_compsrc.core
[echo] class path:
[echo] C:Documents and Settingsm100236.dtc3DCssap.comwebservices_lib\_compgendefaultpublicdefaultlibjava oot.jar
[echo] C:Documents and Settingsm100236.dtc3DCssap.comwebservices_lib\_compgendefaultpublicdefaultlibjavaiq-lib.jar
[echo] C:Documents and Settingsm100236.dtc3DCssap.comwebservices_lib\_compgendefaultpublicdefaultlibjava c_sec_wssec_lib.jar
[echo] C:Documents and Settingsm100236.dtc3DCssap.comwebservices_lib\_compgendefaultpublicdefaultlibjavautil.jar
[echo] C:Documents and Settingsm100236.dtc3DCssap.comwebservices_lib\_compgendefaultpublicdefaultlibjavawebservices_lib.jar
[echo] C:Documents and Settingsm100236.dtc3DCssap.comepbc.prtapi._test\_compgendefaultpublicdefaultlibjavaprttest.jar
[echo] C:Documents and Settingsm100236.dtc3DCssap.comepbc.prtpars._soap\_compgendefaultpublicdefaultlibjavacom.sap.portal.runtime.application.soap_api.jar
[echo] C:Documents and Settingsm100236.dtc3DCssap.comepbc.prtpars._soap\_compgendefaultpublicdefaultlibjavacom.sap.portal.runtime.application.soap_core.jar
[echo] C:Documents and Settingsm100236.dtc3DCssap.comepbc.prtapi._api\_compgendefaultpublicdefaultlibjavaprtapi.jar
[echo] C:Documents and Settingsm100236.dtc3DCssap.comepbc.prtpars._htmlb\_compgendefaultpublicdefaultlibjavacom.sap.portal.htmlb_api.jar
[echo] C:Documents and Settingsm100236.dtc3DCssap.comjaxm\_compgendefaultpublicdefaultlibjavajaxm-api.jar
[echo] C:Documents and Settingsm100236.dtc3DCssap.comjaxm\_compgendefaultpublicdefaultlibjavasaaj-api.jar
[echo] C:Documents and Settingsm100236.dtc3DCssap.comservlet\_compgendefaultpublicdefaultlibjavaservlet.jar
[echo] C:Documents and Settingsm100236.dtc3DCssap.comsapxmltoolkit\_compgendefaultpublicdefaultlibjavasapxmltoolkit.jar
[echo] C:Documents and Settingsm100236.dtc3DCssap.comcom.sapportals.htmlb\_compgendefaultpublicdefaultlibjavahtmlb.jar
[echo] output dir: C:Documents and Settingsm100236.dtc3 EBC1BF499DA88943638C12CB3AD23D86classessrc.core
[javac] Compiling 1 source file to C:Documents and Settingsm100236.dtc3 EBC1BF499DA88943638C12CB3AD23D86classessrc.core
[javac] ERROR: C:Documents and Settingsm100236.dtc3DCsmyl.comep_wa\_compsrc.corecommylwadisplay.java:23: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
[javac] ERROR: (try -source 1.4 or lower to use 'enum' as an identifier)
[javac] ERROR: import com.sapportals.htmlb.enum.CellHAlign;
[javac] ERROR: ^
[javac] ERROR: C:Documents and Settingsm100236.dtc3DCsmyl.comep_wa\_compsrc.corecommylwadisplay.java:24: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
[javac] ERROR: (try -source 1.4 or lower to use 'enum' as an identifier)
[javac] ERROR: import com.sapportals.htmlb.enum.DropdownListBoxDesign;
[javac] ERROR: ^
[javac] 2 errors
Error: C:Documents and Settingsm100236.dtc3DCsmyl.comep_wa\_compgendefaultlogs uild.xml:104: Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:938)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:116)
at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:58)
at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:99)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:73)
at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:6004)
at com.sap.portal.developmentTools.ideSpecific.eclipse.dcutils.DCBuildWrapper.run(DCBuildWrapper.java:49)
at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.run(SAPMPWizard.java:252)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard.performFinish(SAPMPWizard.java:531)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at org.eclipse.ui.actions.ExportResourcesAction.run(ExportResourcesAction.java:112)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
Ant runtime 0.047 seconds
Ant build finished with ERRORS
Compile failed; see the compiler error output for details.
Error: Build stopped due to an error: Compile failed; see the compiler error output for details.
Build plugin finished at 2008-11-11 11:32:54 GMT-05:00 (EST)
Total build plugin runtime: 0.267 seconds
Build finished with ERRORThanks Harini, That solved my Export error, however I am still having issues withthe Weather Magnet Application. After uploading it and creating a PAR File iView I am getting lots of errors that I can't figure out. (I haven't quite gotten the hang of reading the error logs yet).
#1.5 #C28BB00110020073000004F70015D02200045C10645C2F09#1227125379836#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#m100236#18970##n/a##b52d80f0b67511dd8f12c28bb0011002#SAPEngine_Application_Thread[impl:3]_32##0#0#Error#1#/System/Server#Java###Exception ID:03:09_19/11/08_0083_9333450
[EXCEPTION]
#1#com.sapportals.portal.prt.component.PortalComponentException: Error in init method
Component : ep_wa.display
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:271)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)
at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:488)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
at java.security.AccessController.doPrivileged(AccessController.java:242)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
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(AccessController.java:215)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.myl.wa.display of Portal Component ep_wa.display because: Could not instantiate implementation class
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:269)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)
at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
... 26 more
Caused by: java.lang.UnsupportedClassVersionError: (com/myl/wa/display) bad major version at offset=6
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:224)
at com.sapportals.portal.prt.util.AutoClassLoader.findClassInternal(AutoClassLoader.java:880)
at com.sapportals.portal.prt.util.AutoClassLoader.loadClassLocally(AutoClassLoader.java:1250)
at com.sapportals.portal.prt.util.AutoClassLoader.loadClass(AutoClassLoader.java:1388)
at com.sapportals.portal.prt.util.AutoClassLoader$2.run(AutoClassLoader.java:1465)
at java.security.AccessController.doPrivileged(AccessController.java:215)
at com.sapportals.portal.prt.util.AutoClassLoader.loadClass(AutoClassLoader.java:1461)
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:365)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:152)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
... 30 more
#1.5 #C28BB00110020073000004F90015D02200045C10645C633D#1227125379850#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#m100236#18970##n/a##b52d80f0b67511dd8f12c28bb0011002#SAPEngine_Application_Thread[impl:3]_32##0#0#Error##Java###03:09_19/11/08_0083_9333450
[EXCEPTION]
#1#java.lang.UnsupportedClassVersionError: (com/myl/wa/display) bad major version at offset=6
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:224)
at com.sapportals.portal.prt.util.AutoClassLoader.findClassInternal(AutoClassLoader.java:880)
at com.sapportals.portal.prt.util.AutoClassLoader.loadClassLocally(AutoClassLoader.java:1250)
at com.sapportals.portal.prt.util.AutoClassLoader.loadClass(AutoClassLoader.java:1388)
at com.sapportals.portal.prt.util.AutoClassLoader$2.run(AutoClassLoader.java:1465)
at java.security.AccessController.doPrivileged(AccessController.java:215)
at com.sapportals.portal.prt.util.AutoClassLoader.loadClass(AutoClassLoader.java:1461)
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:365)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:152)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)
at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:271)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)
at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:488)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
at java.security.AccessController.doPrivileged(AccessController.java:242)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
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(AccessController.java:215)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
#1.5 #C28BB00110020070000006010015D02200045C1064C8BAFB#1227125386951#com.sap.portal.SOAPLogger#sap.com/irj#com.sap.portal.SOAPLogger#m100236#18970##n/a##b52d80f0b67511dd8f12c28bb0011002#SAPEngine_Application_Thread[impl:3]_17##0#0#Warning#1#/System/Server#Java###Call failed
[EXCEPTION]
#1#SOAP Fault Exception [Actor [max-sap55] com.sapportals.portal.prt.service.soap.exception.SoapFaultHandler] : The User Authentification is not correct to access to the Portal Service com.sap.portal.prt.soap.Bridge or the service was not found.
<type>java.lang.IllegalAccessError</type> -
Installation of CM fails(par files deployed but connection to database fail
Hi,
I have just installed CM EP6 SP2 on an old sandbox system (which has been upgrade from SP0 I believe), and I have some problems. The installation went fine untill I got the error message "CJS-00276 The upgrade failed. The installation report file cf_installation.report does not exist. Check the log files under the server directory and, if necessary, contact your local support center." But I, at least now, find the file but this is probably from my installation of CM SP2 Patch4 and CM SP2 Patch4 hf8 (I was hoping the installation of them would clear the problem).
I believe the problem is that there are missing some files under the SAPPRT share (
server\SAPPRT\EPS1\global\config\cm), this because it was giving some error messages earlier about it. I was running the portal under localsystem user, which hasn't got the possiblity to have access to share's. (I would get an exception about access denied from the file system when starting it up, but after changing the user I don't).
Under
server\SAPPRT\EPS1\global\config\cm the portal has created the following folders:
Backups
config
etc
reports
<b>Are there any one missing ?</b>
(to resolve the problem I tried create the following folders, but still the same problem:
system/updateQueue/events
system/command
system/deployment/archives
system/deployment/upgrades
utilities/connection_pools/db_type/default)
The property files in \usr\sap\EPS1\j2ee\j2ee_01\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\system\cm
look correct, and also the file under portalapps/com.sap.portal.km.application (or something).
When I went into KM configuration in the portal, I noticed there were no JDBC connection pools, and I therefore created two as described in http://help.sap.com/saphelp_ep60sp2/helpdata/en/eb/d10ef2b6a311d5993900508b6b8b11/content.htm
But that is something which the installer should have done for me. (and still the connection pools won't start)
The main error message I get at startup is the following:
Jun 28, 2005 4:45:17 PM com.sapportals.config.queue.UpdateQueueService [System_Thread_12] Warning": There was a problem initializing the queue service for config manager : configuration plugin for queue service not found (/system/updateQueue/events)
java.lang.RuntimeException: Failed to init. connection pool configuration: Failed to init. connection pool configuration: missing configurable /cm/utilities/connection_pools/db_type/default
at com.sapportals.wcm.util.jdbc.connectionpool.JDBCConnectionPoolManager.initConfig(JDBCConnectionPoolManager.java:566)
at com.sapportals.wcm.util.jdbc.connectionpool.JDBCConnectionPoolManager.getInstance(JDBCConnectionPoolManager.java:99)
at com.sap.workflow.util.config.WorkflowProperties.initProperties(WorkflowProperties.java:188)
at com.sap.workflow.util.config.WorkflowProperties.<init>(WorkflowProperties.java:48)
at com.sap.workflow.util.config.WorkflowProperties.getInstance(WorkflowProperties.java:56)
at com.sap.workflow.es.portal.WFPortalService.init(WFPortalService.java:74)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstance(PortalServiceItem.java:678)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.createServiceInstance(PortalServiceItem.java:519)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:875)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1470)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1426)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startNonCoreApplications(PortalAppBroker.java:1383)
at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:371)
at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:55)
at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:160)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:358)
at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:40)
at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:113)
at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:391)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:3284)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2542)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:765)
at com.inqmy.services.servlets_jsp.server.WebApplicationStarter.run(WebApplicationStarter.java:57)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
java.lang.NullPointerException
at javax.naming.NameImpl.<init>(NameImpl.java:250)
at javax.naming.CompositeName.<init>(CompositeName.java:223)
at com.inqmy.services.jndi.implclient.OffsetClientContext.parse(OffsetClientContext.java:129)
at com.inqmy.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:200)
at javax.naming.InitialContext.lookup(InitialContext.java:345)
at com.sap.workflow.util.ejbfactory.EJBFactory.getUserTransaction(EJBFactory.java:282)
at com.sap.workflow.es.portal.WFPortalService.init(WFPortalService.java:83)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstance(PortalServiceItem.java:678)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.createServiceInstance(PortalServiceItem.java:519)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:875)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1470)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1426)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startNonCoreApplications(PortalAppBroker.java:1383)
at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:371)
at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:55)
at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:160)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:358)
at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:40)
at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:113)
at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:391)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:3284)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2542)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:765)
at com.inqmy.services.servlets_jsp.server.WebApplicationStarter.run(WebApplicationStarter.java:57)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
And if I go to content administration->KM content I get the following stack trace:
java.lang.RuntimeException: Failed to init. connection pool configuration: Failed to init. connection pool configuration: missing configurable /cm/utilities/connection_pools/db_type/default
at com.sapportals.wcm.util.jdbc.connectionpool.JDBCConnectionPoolManager.initConfig(JDBCConnectionPoolManager.java:566)
at com.sapportals.wcm.util.jdbc.connectionpool.JDBCConnectionPoolManager.getInstance(JDBCConnectionPoolManager.java:99)
at com.sapportals.wcm.repository.runtime.CmSystemInfo.createDBConnection(CmSystemInfo.java:221)
at com.sapportals.wcm.repository.runtime.CmSystemInfo.checkDB(CmSystemInfo.java:138)
at com.sapportals.wcm.repository.runtime.CmSystem.startUp(CmSystem.java:226)
at com.sapportals.wcm.repository.runtime.CmSystem.getInstance(CmSystem.java:161)
at com.sapportals.wcm.repository.runtime.CmAdapter.getResource(CmAdapter.java:81)
at com.sapportals.wcm.portal.service.KMServiceImpl.afterInit(KMServiceImpl.java:260)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstanceStep2(PortalServiceItem.java:736)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:909)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1470)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1426)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startNonCoreApplications(PortalAppBroker.java:1383)
at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:371)
at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:55)
at com.sapportals.portal.prt.dispatcher.PortalInitializer.(PortalInitializer.java:129)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:160)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:358)
at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:40)
at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:113)
at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:391)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:3284)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2542)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:765)
at com.inqmy.services.servlets_jsp.server.WebApplicationStarter.run(WebApplicationStarter.java:57)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
com.sapportals.wcm.repository.ResourceException: CM Startup failed: CM startup failed: Failed to init. connection pool configuration: Failed to init. connection pool configuration: missing configurable /cm/utilities/connection_pools/db_type/default
at com.sapportals.wcm.repository.ResourceException.fillInStackTrace(ResourceException.java:401)
at java.lang.Throwable.(Throwable.java:85)
at java.lang.Exception.(Exception.java:33)
at com.sapportals.wcm.WcmException.(WcmException.java:78)
at com.sapportals.wcm.WcmException.(WcmException.java:74)
at com.sapportals.wcm.util.content.ContentException.(ContentException.java:42)
at com.sapportals.wcm.repository.ResourceException.(ResourceException.java:251)
at com.sapportals.wcm.repository.runtime.CmAdapter.makeStartupResourceException(CmAdapter.java:397)
at com.sapportals.wcm.repository.runtime.CmAdapter.getResource(CmAdapter.java:84)
at com.sapportals.wcm.portal.service.KMServiceImpl.afterInit(KMServiceImpl.java:260)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstanceStep2(PortalServiceItem.java:736)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:909)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1470)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1426)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startNonCoreApplications(PortalAppBroker.java:1383)
at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:371)
at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:55)
at com.sapportals.portal.prt.dispatcher.PortalInitializer.(PortalInitializer.java:129)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:160)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:358)
at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:40)
at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:113)
at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:391)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:3284)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2542)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:765)
at com.inqmy.services.servlets_jsp.server.WebApplicationStarter.run(WebApplicationStarter.java:57)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
javax.servlet.ServletException: CM Startup failed: CM startup failed: Failed to init. connection pool configuration: Failed to init. connection pool configuration: missing configurable /cm/utilities/connection_pools/db_type/default
at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:111)
at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:209)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1245)
at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
I appreciate any help !
PS sorry for the unstructured post, but I am hungry and want to go home now.The files under the SAPPRT share had somehow failed (some where there, but a lot of the important ones where missing).
I found out that these files were in .configarchive files in the par files to be deployed, and manually unpacked them using these two commands
$ for file in `ls -1 .par` ; do unzip $file ".configarchive" -d extracted >> logfile.txt ; done
$ for file in `ls -1 *.configarchive` ; do unzip -o $file -d extracted >> logfile.txt ; done
Afterwards I had to make some tiny customization (search for %[a-zA-Z]% , especially for the connection pools.
Then a restart, and most of it seems to work (the system will not live much longer so that is acceptable) -
Par file deployed without code
Hi Experts,
Our portal version is SAP EP 7.02 SP23.
We have a custom par file developed. Now we want to do changes to it.
When I try to download the custom par file. It contains only custom jar file (in that jar file there is only one class file.). how can I customize this par file.
I believe the developer who developed this applicaiton has not deployed the par file with the code. Generally from deploying through NWDS, we need to check the deploy par file with code check box.
Now we don't that code available in NWDS. We have only the par file which is deployed in the portal server.
Can you please throw some lights like is there any possiblity to customize this particular par file. If it is possible please let me know , how to achieve this.
Thank you,
RaghuHi,
To import a par file, from NWDS, select File - Import and choose the PAR file option to import the PAR file into NWDS.
Also, when you import the PAR file into your NWDS, the necessary jar files are not usually copied over. You will have manually import them into your project structure.
If you unzip the original par file, you can find the needed jar files there under the lib folder.
Basically if you do not have the source code, you will need to use a decompilar (search java decompiler in google) in order to decompile the .class files that are inside the jar.
Then modify the code, compile it and pack it back
You will find the .class files in jar files which reside in the following paths in your par files:
\PORTAL-INF\lib
\PORTAL-INF\private\lib
Follow this links to see the stucture and building par files:
http://help.sap.com/saphelp_NW70EHP1/helpdata/en/bb/1bb8428e05c86ae10000000a155106/frameset.htm
http://help.sap.com/saphelp_NW70EHP1/helpdata/en/44/46bae270e20597e10000000a155369/content.htm
Thanks,
Tal -
OAS 10G WAR file deployment error (Errors in named queries)
Hi again,
I setup a 10G 10.1.3.1 Application Server and tried deploying my WAR file. In tomcat the WAR file deployment works fine. however in OAS I get this error and currently I'm clueless as to what causes the error.
[Oct 24, 2007 6:03:37 PM] Operation failed with error: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: org.hibernate.HibernateException: Errors in named queries: Book_List_By_RegisterDate ... (other named queries)
My ApplicationContext.xml file contains this
<bean id="entityManagerFactory"
class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
<property name="persistenceUnitManager" ref="persistenceUnitManager" />
<property name="persistenceUnitName" value="BookStudy" />
<property name="dataSource" ref="dataSource" />
<property name="jpaVendorAdapter">
<bean
class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
<property name="database" value="ORACLE" />
<property name="showSql" value="true" />
</bean>
</property>
</bean>
And a sample named query in the hbm.xml file is this
<query name="Book_List_By_RegisterDate">
from BookData
where to_char(regdate, 'MM/dd/yyyy') = to_char(:regdate, 'MM/dd/yyyy')
order by Author.author_name desc, bookname desc
</query>
Thanks,Uncomment, or add, the following line in your application's orion-web.xml file:
<web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
See njr28's comments @ http://forum.hibernate.org/viewtopic.php?t=951324&highlight=oc4j -
Automatic par file deployed after every AS restart
Dear collegues,
I am not able to understand an EP behaviour. When I restart the AS there is a single par file automatically deployed, even if I undeploy it before restarting.
This is a problem for me because the par in subject is an illegal par file that compromises other applications.
Looking for it in the filesystem for it I found several references. I delete these references but every time I restart the AS I am always in the same situation.
Could you be so kind to help me?
Hoping to receive your support, thanks in advance for your replies.
Regards,
Mirco.Hi Mirco,
Did you undeploy the application from Administration Console?
System Administration-> Support-> Portal Runtime-> Administration Console
Did you find an entry of the application in coreapplication.xml under ...\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\system\xml ?
If so delete the entry in this xml and also delete the par.bak file under
..\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment
Regards,
Praveen Gudapati -
Hi
As we are deploying a CRE application, the application is deployed successfully but it throws some warning. There are two application on one of the servers. I guess this might be because of the application on same server causing intervention between the connection of the libaries. Can you please suggest what can be done in this scenario.
Thanks in advance.
09/09/01 17:37:49 - ***********************************************************
09/09/01 17:37:49 - Applying user role management mappings.
09/09/01 17:37:49 - Start updating EAR-file...
09/09/01 17:37:51 - Temp files deleted...
09/09/01 17:37:51 - Ear-file updated successfully for 2118ms.
09/09/01 17:37:52 - References from loader cre to its loaders were made!
09/09/01 17:37:52 - Start to load additional library library:servlet ...
09/09/01 17:37:52 - Library jar-file(s) deployed to server successfully!
09/09/01 17:37:52 - Start to load additional library library:sap:jco ...
09/09/01 17:37:53 - Library jar-file(s) deployed to server successfully!
09/09/01 17:37:53 - Start deploying ...
09/09/01 17:37:55 - Ear-file uploaded to server for 2004ms.
09/09/01 17:38:13 - Successfuly deployed! Deployment took 17504ms.
09/09/01 17:38:13 - WARNING : Deploy service return folowing WARNINGs:
Error can't load Servlet com.***.cre.ServiceInitiator : java.lang.ClassCastException: com.******.cre.ServiceInitiator
+Error can't load Servlet com.****.cre.framework.servlet.EGfsActionServlet : java.lang.ClassCastException: com.***.cre.framework.servlet.EGfsActionServlet
Deployment took 17504ms.+
09/09/01 17:38:13 - ***********************************************************The file was linked to different server
-
Hi All,
I have registered a Flaf file location and am trying to execute a mapping which writes a flaf file onto the specified location. The job however fails on execution with the error "Invalid Path for target file, check if connector is deployed correctly".
The deployment process of the mapping and the registering of the location was completed succesfully prior to the execution. In the mapping, the function UTL_FILE.FOPEN has the connector name instead of the corresponding Unix path.
Can somebody please throw some light into the issue?Hi
Have you configured the mapping for the target flat file?
http://download-uk.oracle.com/docs/html/B12146_01/configetl.htm#i1115091
Karesz -
Dcmctl war file deployment error
I am getting the following error while deploying the war using the dcmctl utility on the Unix box.
The command used to run the dcmctl is given below
------ Command --
'dcmctl deployApplication -f /export/home/xxx/igcs_app/igcs.ear -a igcs -co igcs'
------- Error -----
ADMN-300075
Nested exception
Base Exception:
java.rmi.RemoteException:EAR file:/var/tmp/dir4036.tmp/igcs.ear does not exists
Can anyone please let me know the possible causes for this error.This part of the stack is a likely cause of the issue, probably a configuration issue in your application resulting in a null pointer during the initialization.
java.lang.NullPointerException
at java.io.File.<init>(File.java:203)
at kgu.util.io.FilePathGrafter.<init>(FilePathGrafter.java:34)
at com.doccenter.server.app.ServletContextListener.contextInitialized(ServletContextListener.java:58) -
Deploying a Par file using ANT
Hi All,
Can anyone tell me the steps how to deploy a PAR file using ant script on netweaver server.Give me some sample ant file.Suggestions will be rewarded.
Thank you in advance.
Regards,
KarthickHi Karthick,
see PAR-File deployment with ANT (EP6)
Hope it helps
Detlev -
Deployed PAR file webservices are not displayed in SOAP admin
Hi,
we were facing the problem with customized PAR file deployment and
associated webservices.We have deployed the the PAR file on two
different versions of EP as given below.
EP6.0(WAS620)-SP2(J2EE and Portal versions are identical)
EP6.0(WAS640)-SP13(J2EE and Portal versions are identical)
The problem was the webservices has been shown in the case of
EP6.0(WAS620)-SP2 under SOAP Administration and not shown in case
of EP6.0(WAS640)-SP13.Is there any specific version made PAR files are
required for each of above portal versions or any other way to
check the webservcies in EP6.0(SP13).
Kindly help us to resolve this issue.Hi Swetha ,
in Bypass scenario if you are fetching a flat file from source to target some time you are not able to view the file in payload .However it does not make any difference as you are simply tunnling the file not doing any transformation with it .
If it is a flat file in sender CC just make 1 .file type as bin or 2 . file type as text and encoding as UTF-8 and then check you can view the file content or not .check with both bin and text ( one by one ) .might be you will able to view payload in MONI with any one of that setting in sender CC .
Regards,
Saurabh -
Recovery from a corrupted par file
The "com.sap.portal.layouts.default" par file in our EP6 SP9 development environment has become corrupted. This renders many of our admin tools useless, including par file deployment.
Is there an easy way (or any way!) to retrieve this par file from a working portal environment and overlay it in the corrupted environment, maybe through a file transfer, without using the portal System Administration tools?
Any suggestions will be greatly appreciated!
Thanks,
MannyRaj,
Thanks for the quick response. Unfortunately, it did not work. Even more unfortunately, I am not the actual system administrator, so I don't have the operating system access to the file system (although I do have admin access via the portal). Therefore, I'm not positive that the person who tried to implement your suggestion did it right.
I downloaded the good version of the par file from a working portal environment and emailed it to our administrator. He took it and placed it in the directory that you mentioned, and restarted the server. Is it possible that something got lost in the translation from the par file getting downloaded, emailed, and detached?
Anyway, the portal is not completely down. I am actually able to go to Content Administration (which I could do before your suggestion as well). When I open a page in the page editor that contains one of the default layout, and go to Page Layout, I get this message:
Error in Layout Jsp component (pageId or jspName not available)
Anyway, I may have our administrator try it again. Our other option at this point is to perform a database & filesystem restore.
Thanks,
Manny -
How to create a .par file from console apart from tools like eclipse,studio
Plz reply me if any body knows how to create .par file from Console i.e command prompt.just like creation of .jar & .war file in java.I have created some iViews and making .par files from tool Eclipse/Netweave rstudio etc..I waqnt to create from console..How it is possible?
Regards
Sridhar RajuHi Sridhar,
I'm unsure for what you'd need this, but in general there are at least two possibilities:
- manually pack everything into the dir structure needed (documented here: http://help.sap.com/saphelp_nw04/helpdata/en/f9/561140d72dc442e10000000a1550b0/frameset.htm ), than create a ZIP with some command line tool (e.g. JAR), naming it to .par.
- use ANT to do this; with this, you can even deploy the file, see PAR-File deployment with ANT (EP6)
Hope it helps
Detlev -
Error while deploying a PAR file from NWDS into an ECC.
Hi all,
I am getting this error while deploying a PAR file from NWDS into an ECC.
Operation Failed: Please make sure the server is running or check the log (sap-plugin.log) for
more detail.
My server is running properly
1 - Where is sap-plugin.log file? I don´t find it.
2 - Could there be another file with another name with information about the error?
3 - Is there another way to deploy the file directly from the ECC?
Regards,Hi,
Just make sure you have maintained correct server setting to check the same open the NWDS and follow this path
Windows/ Prefereces / SAP Enterprise Portal
Check the following enteries
Alias
Host
Port
Login etc.
Regards,
Maybe you are looking for
-
Intermittent hl7 tcpip problem
In order to move our hl7 interfaces from the 4.53 version to the 5.1.2 caps version we have a pass-through in the 4.53 system. This sends along a copy of one of the main feeds from our his system to 5.1.2. The problem is 3 times in the last couple of
-
Fix sync center's errors/conflicts through server
Hi all, Our system relies on folder redirection and roaming profile. I can see some type of errors/conflicts on sync center, such as an error states "cannot access the file because it's being used by another process", a conflict asking delete/keep o
-
dear sir ur watching any command in dropdownlist display name and also letters also for example in mm01 command industry sector: P pharmaceutical and also material type: FERT finished products. how to change this type in normal view. pls tell
-
Mass storage when using desktop computer t charge phone
Ever since the upgrade from GB to ICS my razr now goes into mass storage mode instead of just charging the phone when I plug into the computer Is there a way I can just set the phone up to just charge it while plugged into the computer instead of the
-
Quicktime will play only seconds of file. Solutions?
Last night I downloaded an mpeg of about 250 mb. The file shows as being complete. When I open it and try to play it, it will play about the first 15 seconds, and that's it. How do I get quicktime to play the whole file? I've heard VLC is good, but i