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,
Raghu
Hi,
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
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) -
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 VHi
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 -
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) -
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 -
Deploy par files with code from NWDI
Hello Experts,
I have migrated some par files to NWDI and they are deployed via SDM as SDA files.
From eclipse it is possible to deploy the par files with Code. Is this possible from NWDI that the par files are deployed with code to the portal server.
Regards
SundeepHi Satish,
I am using NWDS, and then check in the Portal DC which is then deployed on the runtime system.
My question is during deployment via NWDI is it possible that the par is deployed with code.
Earlier we were using eclipse for par based development, and this was possible in eclips.
With NWDI i dont think it is possible to control if the par should be deployed on the portal server with code included.
Regards
Sundeep -
Empty JAR File : After deployment of PAR file.
Hi friends,
I Migrated the EP Database to different machine and made neccessary changes in the portal to make it point to the new database.
Then i tried to change the custom deployed applications to make it point to new database. so Got the somecomp.par.bak from /<Portal_installation_path>/cluster/server/services/
servlet_jsp/work/jspTemp/irj/root/WEB-INF/deployment/pcd. Imported it into Eclipse, changed connection properties code, built it and coverted to par file. Deployed that file into portal using java developement tab. Even after uploading a new par, application is still pointing to old database.
While deploying, it wrote some log into error_log file as follows:
Jan 13, 2006 9:43:38 AM ...rtal.prt.service.config.ConfigDeploymentService [Client_Thread_14] Warning": An upload sequence w
ill start now. Please do not stop the server or serious deployment issues may arise.
Jan 13, 2006 9:43:39 AM ...rtal.prt.service.config.ConfigDeploymentService [Client_Thread_14] Warning": The upload sequence
is now complete, all the upgrades have been performed.
warning: Jar is empty: /usr/sap/AAA/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/po
rtalapps/SOMECOMP/private/lib/SOMECOMPcore.jar
What may be the cause of this error?
Portal Version:
EP6 SP2 Patch 29
SAPJ2EE 6.20 Patch 29
Regards,
Nilz
Message was edited by: nilzHi Nilz,
> I got confused here
Don't!
In NWDS, if you import a PAR, no JARs which are inside the PAR get imported. That's all (it's enough ).
> The one using which i compiled my code
> like htmlb.jar etc
NO! These are (hopefully) not inside your own PAR but only referenced!!!
> When i imported a PAR file, the source code was there.
Then even with NWDS you shouldn't have any problems as the classes / JARs are compiled/created at PAR creation.
> i am using Eclipse with SP2 plugins
Alltogether in your situation you are not confronted with an error but with a warnung. Obviously you don't have any code in the src.core section.
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance! -
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 -
Hello All,
Can some body plz send the com.sap.portal.navigation.masthead par file for the following version of the portal:
J2EE Engine 6.40 PatchLevel 102141.313
Portal 6.0.16.0.0
KnowledgeManagementCollaboration 6.0.16.3.0 (NW04 SPS16 Patch3)
Thanks and Regards
Manoj kumarHello,
I have access to Portal and I know how to download the par file both at portal level and at the os level. However some body from my team has over written the existing SAP Provided par file with our code. We do not have a back up so I wanted somebody to help me out by sending the par file so that I have a copy and I can upload the same on the portal.
If you have then please send it to the following id:[email protected]
Thanks and Regards
Manoj Kumar -
How to find the PAR file for standard iviews??
HI all,
I am trying to customize some screens provided by the standard EP portal. But i am not understanding which will be the PAR file which has code for these iviews.
For example, in the "Approval screen for New user registration" has an iview which displays the info given by the user(seeing which user admin will either approve or reject the new user). I need to change this.
Also the screen where new user enters his information(when the company feature is enabled,it shows a second screen where Contact info of the user, etc. are asked) , needs to be changed which also some iviews.
Please help me in finding the right PAR file and the JSP which needs to be edited for this purpose (and how to find these in general for any standard screens)
Regards,
NarahariHi Narahari,
--and how to find these in general for any standard screens)
For getting the right par file for any standard iviews, Check out the property named <b>Code link</b>, which is there in the property list of every iview.This will give you a clear cut idea on which PAR file you have to edit to obtain the desired result.
Regards
Rajeev
Do award points for helpful answers in SDN. -
Import .par file into NWDS and Rum it without deploying ?
Hello All,
I'm new to the NWDS and the Portal.
I've many Qns on my Requirement. Hope u guys can help me out in resolving my Issues.
Is this the right forum to place my Query ?
If not then please let me know the right forum .
My Requirement is like this :-
1. I need to create a Portal Application which calls an URL.
2. But before developing this, my Client gave me one 2 options :
a. He gave me a par file and asked me to make changes in it.
b. Create a new Portal Project which calls the URL ( Predefined ).
3. I wanted to check the 1rst option i.e " a ".
4. I tried to Import the .par file into NWDS like this :
* Windows --> Open Perspective --> Enterprise Portal .
* File --> Import --> Par FIle.
* I gave the name of the Project as PortalLogon.
5. I searched in the forum on this scenario and I found that the libraries for this project are not automatically imported.
<b>A .Can any one tell me how to import the libraries and which are all the libraries to be imported ?</b>
<b>B. How to test my PortalLogon Project without deploying ?</b>
Is it possible to test this Project without deploying ?
If yes can anyone tell me hoe to do this ?
Regards,
Deepu.KHi Deepu,
Usually Server will be having all the jar files and If you want to deploy your par file using NWDS you need to give a path to your Jar file location.
So better download all the jar files from your server and keep it in your local desktop.
Create a new folder called "JarFiles" in your desktop and keep all of your jar files inside.
Download Jar finder from IBM Site ( search for "Resolving Java Classpath Issues" in SDN ,you will get a pdf and follow it.).Add it as a plugin to your NWDS path.
Restart NWDS.
Now you can resolve the jar file issues.there are many weblogs /articles/forum QAs regarding this.
If u need more clarification,please let me know.
Thank you.
Regards,
Karthick Eswaran -
Import .par file into NWDS and Run without deployment ?
Hello All,
I'm new to the NWDS and the Portal.
I've many Qns on my Requirement. Hope u guys can help me out in resolving my Issues.
My Requirement is like this :-
1. I need to create a Portal Application which calls an URL.
2. But before developing this, my Client gave me one 2 options :
a. He gave me a par file and asked me to make changes in it.
b. Create a new Portal Project which calls the URL ( Predefined ).
3. I wanted to check the 1rst option i.e " a ".
4. I tried to Import the .par file into NWDS like this :
* Windows --> Open Perspective --> Enterprise Portal .
* File --> Import --> Par FIle.
* I gave the name of the Project as PortalLogon.
5. I searched in the forum on this scenario and I found that the libraries for this project are not automatically imported.
<b>A .Can any one tell me how to import the libraries and which are all the libraries to be imported ?</b>
<b>B. How to test my PortalLogon Project without deploying ?</b>
Is it possible to test this Project without deploying ?
If yes can anyone tell me hoe to do this ?
Regards,
Deepu.Khi Deepu,
for simply displaying a URL, you can use the commonly available URL iView.
your folder->new->create iView->iView from template->URL iView and then enter your URL
for the other think.......
you can create an iView from PAR file.
your folder->new->create iView->Iview from PAR->then select your PAR and create an iView for that.
and the last one.......to see the effect without deploying it on the portal......refer the link
http://help.sap.com/saphelp_nw2004s/helpdata/en/23/c0e240beb0702ae10000000a155106/content.htm
and the usual libraries to be associated are
<b>htmlb.jar</b> and
<b>com.sap.portal.htmlbbridge.zip</b>
Cheers........
Maybe you are looking for
-
How to transfer Signatures from one Mac to another
In Mail, if I go to Preferences > Signatures, I see in the left column *All Signatures*, and signatures for various accounts. How would I transfer the signatures in *All Signatures* from one Mac to another? The names of files in the folder ~/Library/
-
Wifi network failing, but Chrome is fine!
Hi, I've recently started to have terrible problems with my wifi network: i thought perhaps i was losing internet connectivity, but this is not the case. All i can say is that periodically my internet apps lose connection, and then i will notice i've
-
How to know the current Task/Job ID in which a request is waiting for
Hi Team, Is there any table/view in IDM 7.2 that provides current task/job ID number a request is waiting for? Even though the last completed phase of the request can be seen from admin UI that only shows the description of the completed steps but no
-
Not Showing Depression When JButton is Clicked/Selected
To all, I've searched through the forums and the web for a while now and have come up with surpisingly little material on this. I want to create a JButton that, when you click on it, registers a mouse event, etc. but does not look like it's being dep
-
I cannot stop email apple support notifications
I have no receive notifications selected, & selected no to all e-mail notifications in my preferences, but I am receiving in excess of 50 emails per day. how can I stop them?